Re: [PATCH 2/5] pci: Skip configuring invalid P2P bridge devices

2021-10-15 Thread Tom Rini
On Thu, Oct 07, 2021 at 02:50:58PM +0200, Pali Rohár wrote: > Function dm_pci_hose_probe_bus() expects that bus is valid PCI device with > Bridge header type (0x01). So add check before touching PCI config space to > prevent misconfiguring some non-standard device. > > Signed-off-by: Pali Rohár

Re: [PATCH 2/5] pci: Skip configuring invalid P2P bridge devices

2021-10-07 Thread Stefan Roese
On 07.10.21 14:50, Pali Rohár wrote: Function dm_pci_hose_probe_bus() expects that bus is valid PCI device with Bridge header type (0x01). So add check before touching PCI config space to prevent misconfiguring some non-standard device. Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese

[PATCH 2/5] pci: Skip configuring invalid P2P bridge devices

2021-10-07 Thread Pali Rohár
Function dm_pci_hose_probe_bus() expects that bus is valid PCI device with Bridge header type (0x01). So add check before touching PCI config space to prevent misconfiguring some non-standard device. Signed-off-by: Pali Rohár --- drivers/pci/pci-uclass.c | 9 + 1 file changed, 9