"Aneesh Kumar K.V" <aneesh.ku...@linux.ibm.com> writes: > Michael Ellerman <m...@ellerman.id.au> writes: > >> "Aneesh Kumar K.V" <aneesh.ku...@linux.ibm.com> writes: >>> Similar to commit: 89c140bbaeee ("pseries: Fix 64 bit logical memory block >>> panic") >>> make sure we update different variables tracking lmb_size are updated >>> to be 64 bit. >> >> That commit went to all stable releases, should this one also? >> > > radix_mem_block_size got added recently and it is not yet upstram. But > the drmem_lmb_info change can be a stable candidate. We also need this > > I will split this as two patches?
Yes, sounds good. cheers > modified arch/powerpc/include/asm/drmem.h > @@ -67,7 +67,7 @@ struct of_drconf_cell_v2 { > #define DRCONF_MEM_RESERVED 0x00000080 > #define DRCONF_MEM_HOTREMOVABLE 0x00000100 > > -static inline u32 drmem_lmb_size(void) > +static inline u64 drmem_lmb_size(void) > { > return drmem_info->lmb_size; > } > > -aneesh