Re: [PATCH] PCIe: limit Max Read Request Size on i.MX to 512 bytes

From: Krzysztof Hałasa
Date: Fri Aug 13 2021 - 14:18:55 EST


Rob,

Rob Herring <robh@xxxxxxxxxx> writes:

>> +++ b/drivers/pci/Kconfig
>> @@ -34,6 +34,9 @@ config PCI_DOMAINS_GENERIC
>> config PCI_SYSCALL
>> bool
>>
>> +config NEED_PCIE_MAX_MRRS
>
> We don't need a config option for this. It's not much code and it will
> effectively always be enabled with multi-platform kernels.

But... non-ARM kernels?
Then perhaps #if CONFIG_ARM?
--
Krzysztof "Chris" Hałasa

Sieć Badawcza Łukasiewicz
Przemysłowy Instytut Automatyki i Pomiarów PIAP
Al. Jerozolimskie 202, 02-486 Warszawa