Re: [PATCH v2 2/7] arm: a37xx: pci: Disable bus mastering when unloading driver

2021-05-26 Thread Stefan Roese
On 26.05.21 17:59, Pali Rohár wrote: Disable Root Bridge I/O space, memory space and bus mastering in Aardvark's remove method, which is called before booting Linux kernel. This ensures that PCIe device which was initialized and used by U-Boot cannot do new DMA transfers until Linux initializes

[PATCH v2 2/7] arm: a37xx: pci: Disable bus mastering when unloading driver

2021-05-26 Thread Pali Rohár
Disable Root Bridge I/O space, memory space and bus mastering in Aardvark's remove method, which is called before booting Linux kernel. This ensures that PCIe device which was initialized and used by U-Boot cannot do new DMA transfers until Linux initializes PCI subsystem and loads appropriate dri