HomeFreeBSD

MFC 346066: Refine r330113 to honor the ProducerConsumer flag most of the time.

Description

MFC 346066: Refine r330113 to honor the ProducerConsumer flag most of the time.

While it is true that the ACPI spec says that the flag is only valid
on Extended Address Space Descriptors, examples of other descriptors
in the spec use the ProducerConsumer flag explicitly, and real
hardware uses it as well. In fact, even in the ASL of the Thunder X2
for which r330113 was a workaround, some devices use this flag on
non-Extended Address Space Descriptors correctly. Instead, only
ignore the flag for resources associated with the UART devices on the
Thunder X2 using the "ARMH0011" HID to identify these devices.

This should fix regressions from ignoring this flag in other contexts
such as Hyper-V.

PR: 235876

Details

Provenance
jhbAuthored on
Parents
rS346999: MFC 346063: Don't pre-reserve resources for CPU devices when they are set.
Branches
Unknown
Tags
Unknown