Thread (4 messages) flat view 4 messages, 2 authors, 2020-08-07

Re: [PATCH] powerpc/book3s64/radix: Make radix_mem_block_size 64bit

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2020-08-07 01:13:20

"Aneesh Kumar K.V" [off-list ref] writes:
Michael Ellerman [off-list ref] writes:
quoted
"Aneesh Kumar K.V" [off-list ref] writes:
quoted
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
quoted hunk ↗ jump to hunk
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help