On Mon, 16 Jun 2025 11:46:35 +0200 Eric Auger <eric.au...@redhat.com> wrote:
> acpi_dsdt_add_pci_osc() name is confusing as it gives the impression > it appends the _OSC method but in fact it also appends the _DSM method > for the host bridge. Let's split the function into two separate ones > and let them return the method Aml pointer instead. This matches the > way it is done on x86 (build_q35_osc_method). In a subsequent patch > we will replace the gpex method by the q35 implementation that will > become shared between ARM and x86. > > acpi_dsdt_add_host_bridge_methods is a new top helper that generates > both the _OSC and _DSM methods. > > We take the opportunity to move SUPP and CTRL in the _osc method > that use them. > > Signed-off-by: Eric Auger <eric.au...@redhat.com> Reviewed-by: Jonathan Cameron <jonathan.came...@huawei.com>