Re: [PATCH 1/1] powerpc: fix off by one in max_zone_pfn initialization for ZONE_DMA

2019-07-18 Thread Michael Ellerman
On Tue, 2019-06-25 at 14:17:27 UTC, Andrea Arcangeli wrote: > 25078dc1f74be16b858e914f52cc8f4d03c2271a first introduced an off by > one error in the ZONE_DMA initialization of PPC_BOOK3E_64=y and since > 9739ab7eda459f0669ec9807e0d9be5020bab88c the off by one applies to > PPC32=y too. This simply c

Re: [PATCH 1/1] powerpc: fix off by one in max_zone_pfn initialization for ZONE_DMA

2019-06-25 Thread Christoph Hellwig
Thanks. This looks good and seems to match what I couple of other random architectures I checked do: Reviewed-by: Christoph Hellwig

[PATCH 1/1] powerpc: fix off by one in max_zone_pfn initialization for ZONE_DMA

2019-06-25 Thread Andrea Arcangeli
25078dc1f74be16b858e914f52cc8f4d03c2271a first introduced an off by one error in the ZONE_DMA initialization of PPC_BOOK3E_64=y and since 9739ab7eda459f0669ec9807e0d9be5020bab88c the off by one applies to PPC32=y too. This simply corrects the off by one and should resolve crashes like below: [ 6