Re: [PATCH] powerpc/pseries: Fix maximum memory value

2019-06-27 Thread Aravinda Prasad
On Thursday 27 June 2019 04:06 AM, Nathan Lynch wrote: > Aravinda Prasad writes: >> Calculating the maximum memory based on the number of lmbs >> and lmb size does not account for the RMA region. Hence >> use drmem_lmb_memory_max(), which already accounts for the >> RMA region, to fetch the max

Re: [PATCH] powerpc/pseries: Fix maximum memory value

2019-06-26 Thread Nathan Lynch
Aravinda Prasad writes: > Calculating the maximum memory based on the number of lmbs > and lmb size does not account for the RMA region. Hence > use drmem_lmb_memory_max(), which already accounts for the > RMA region, to fetch the maximum memory value. > > Fixes: 772b039fd9a7: ("powerpc/pseries: E

[PATCH] powerpc/pseries: Fix maximum memory value

2019-06-26 Thread Aravinda Prasad
Calculating the maximum memory based on the number of lmbs and lmb size does not account for the RMA region. Hence use drmem_lmb_memory_max(), which already accounts for the RMA region, to fetch the maximum memory value. Fixes: 772b039fd9a7: ("powerpc/pseries: Export maximum memory value") Signed-