Re: [PATCH 3/6] powerpc/85xx: Fix virt_to_phys() off-by-one in smp_85xx_start_cpu()

2022-05-15 Thread Michael Ellerman
On Thu, 7 Apr 2022 00:57:59 +1000, Michael Ellerman wrote: > In smp_85xx_start_cpu() we are passed an address but we're unsure if > it's a real or virtual address, so there's a check to determine that. > > [...] Applied to powerpc/next. [3/6] powerpc/85xx: Fix virt_to_phys() off-by-one in smp_85

[PATCH 3/6] powerpc/85xx: Fix virt_to_phys() off-by-one in smp_85xx_start_cpu()

2022-04-06 Thread Michael Ellerman
In smp_85xx_start_cpu() we are passed an address but we're unsure if it's a real or virtual address, so there's a check to determine that. The check has an off-by-one in that it tests if the address is greater than high_memory, but high_memory is the first address of high memory, so the check shou