[PATCH] ARM: mm: reduce maximum number of CPUs if DEBUG_KMAP_LOCAL is enabled

Thomas Gleixner tglx at linutronix.de
Thu Feb 18 09:06:51 EST 2021


On Wed, Feb 17 2021 at 08:08, Ard Biesheuvel wrote:
> On Wed, 17 Feb 2021 at 00:06, Peter Robinson <pbrobinson at gmail.com> wrote:
>> > So let's limit the supported number of CPUs to 16 when
>> > CONFIG_DEBUG_KMAP_LOCAL is in effect.
>> >
>> > Reported-by: Peter Robinson <pbrobinson at gmail.com>
>> > Signed-off-by: Ard Biesheuvel <ardb at kernel.org>
>> Tested-by: Peter Robinson <pbrobinson at gmail.com>
>>
>> Tested with both a LPAE and non LPAE kernel.
>>
>
> Thanks Peter.
>
> Note that this patch should probably carry
>
> Fixes: 2a15ba82fa6ca3f3 ("ARM: highmem: Switch to generic kmap atomic")
>
> given that the ARM specific kmap implementation did not suffer from
> this issue, and the DT remapping change (7a1be318f579) does not make
> any difference here.

Makes sense.

Thanks,

        tglx



More information about the linux-arm-kernel mailing list