Re: [PATCH] powerpc/fadump: handle crash memory ranges array overflow

2018-08-06 Thread Michael Ellerman
Hari Bathini writes: > On Monday 06 August 2018 09:52 AM, Mahesh Jagannath Salgaonkar wrote: >> On 07/31/2018 07:26 PM, Hari Bathini wrote: >>> Crash memory ranges is an array of memory ranges of the crashing kernel >>> to be exported as a dump via /proc/vmcore file. The size of the array >>> is s

Re: [PATCH] powerpc/fadump: handle crash memory ranges array overflow

2018-08-05 Thread Hari Bathini
On Monday 06 August 2018 09:52 AM, Mahesh Jagannath Salgaonkar wrote: On 07/31/2018 07:26 PM, Hari Bathini wrote: Crash memory ranges is an array of memory ranges of the crashing kernel to be exported as a dump via /proc/vmcore file. The size of the array is set based on INIT_MEMBLOCK_REGIONS

Re: [PATCH] powerpc/fadump: handle crash memory ranges array overflow

2018-08-05 Thread Mahesh Jagannath Salgaonkar
On 07/31/2018 07:26 PM, Hari Bathini wrote: > Crash memory ranges is an array of memory ranges of the crashing kernel > to be exported as a dump via /proc/vmcore file. The size of the array > is set based on INIT_MEMBLOCK_REGIONS, which works alright in most cases > where memblock memory regions co

[PATCH] powerpc/fadump: handle crash memory ranges array overflow

2018-07-31 Thread Hari Bathini
Crash memory ranges is an array of memory ranges of the crashing kernel to be exported as a dump via /proc/vmcore file. The size of the array is set based on INIT_MEMBLOCK_REGIONS, which works alright in most cases where memblock memory regions count is less than INIT_MEMBLOCK_REGIONS value. But th