Page MenuHomeFreeBSD

pcib_request_feature
ClosedPublic

Authored by imp on Feb 22 2017, 4:53 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 3:20 AM
Unknown Object (File)
Nov 11 2023, 2:30 AM
Unknown Object (File)
Nov 6 2023, 12:34 PM
Unknown Object (File)
Oct 18 2023, 3:49 PM
Unknown Object (File)
Oct 10 2023, 1:27 AM
Unknown Object (File)
Oct 5 2023, 11:32 AM
Unknown Object (File)
Aug 3 2023, 2:47 AM
Unknown Object (File)
Jul 16 2023, 7:02 AM
Subscribers

Details

Reviewers
jhb
vangyzen
Summary

Create pcib_request_feature to allow drivers to request
the firmware (ACPI) release certain features it may be using. ACPI normally
manages things like hot plug, advanced error reporting and other features and
the OS must request ACPI relenquish that use before it can use them.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 7619

Event Timeline

imp retitled this revision from to pcib_request_feature.
imp updated this object.
imp edited the test plan for this revision. (Show Details)
imp added a reviewer: jhb.
imp set the repository for this revision to rS FreeBSD src repository - subversion.
vangyzen added a reviewer: vangyzen.
vangyzen added a subscriber: vangyzen.
vangyzen added inline comments.
FreeBSD/sys/dev/pci/pci_pci.c
2839

"over, or"

2849

It's -> Its

This revision is now accepted and ready to land.Feb 22 2017, 9:39 PM
jhb edited edge metadata.
jhb added inline comments.
FreeBSD/sys/dev/pci/pcib_if.m
49

The default kobjmethod already fails with ENXIO, so I think you don't need this.

URL: https://svnweb.freebsd.org/changeset/base/314248

Log:

Create pcib_request_feature.

pcib_request_feature allows drivers to request the firmware (ACPI)
release certain features it may be using. ACPI normally manages things
like hot plug, advanced error reporting and other features until the
OS requests ACPI to relenquish control since it is taking over.

Sponsored by: Netflix

Modified:

head/sys/dev/pci/pci_if.m
head/sys/dev/pci/pci_pci.c
head/sys/dev/pci/pcib_if.m