Page MenuHomeFreeBSD

acpi_bus: Fix acpi_get_flag error.
ClosedPublic

Authored by aokblast on Sun, Mar 1, 8:51 PM.
Tags
None
Referenced Files
F146738142: D55609.diff
Thu, Mar 5, 4:20 AM
Unknown Object (File)
Thu, Mar 5, 12:25 AM
Unknown Object (File)
Wed, Mar 4, 9:48 PM
Unknown Object (File)
Mon, Mar 2, 6:09 PM
Unknown Object (File)
Mon, Mar 2, 4:50 PM
Unknown Object (File)
Mon, Mar 2, 4:49 PM
Unknown Object (File)
Sun, Mar 1, 9:16 PM
Subscribers

Details

Reviewers
obiwac
delphij
Summary

Witness is not happy on acpi_get_flags failure in acpi_wake_set_sysctl.
The kernel panic when a acpi pci device read ivar in PCI-PCI bus.
We extend acpi_pcib_{read,write}_ivar to let it be happy.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71132
Build 68015: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mon, Mar 2, 4:28 PM

Does this need MFC?

For the commit message: The kernel panic"S" when a"n" acpi pci device read"s" ivar in PCI-PCI bus.

This is actually not correct, please see my other stack of reviews. We are adding this node twice for some PCI buses, and this just ensures we add it twice for every bus. In particular, see the description in D55563.

jhb@'s patch is much better.