Re: [PATCH] PCI: decline to resize resources if boot config must be preserved

2021-01-13 Thread Ard Biesheuvel
On Tue, 12 Jan 2021 at 23:49, Bjorn Helgaas wrote: > > On Sat, Jan 09, 2021 at 10:53:53AM +0100, Ard Biesheuvel wrote: > > The _DSM #5 method in the ACPI host bridge object tells us whether the > > OS is permitted to deviate from the resource assignment configured by > > the firmware. If this is

Re: [PATCH] PCI: decline to resize resources if boot config must be preserved

2021-01-12 Thread Bjorn Helgaas
On Sat, Jan 09, 2021 at 10:53:53AM +0100, Ard Biesheuvel wrote: > The _DSM #5 method in the ACPI host bridge object tells us whether the > OS is permitted to deviate from the resource assignment configured by > the firmware. If this is not the case, we should not permit drivers to > resize BARs on

[PATCH] PCI: decline to resize resources if boot config must be preserved

2021-01-09 Thread Ard Biesheuvel
The _DSM #5 method in the ACPI host bridge object tells us whether the OS is permitted to deviate from the resource assignment configured by the firmware. If this is not the case, we should not permit drivers to resize BARs on the fly. So make pci_resize_resource() take this into account. Cc: #