Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b56758fa authored by Sudarshan Rajagopalan's avatar Sudarshan Rajagopalan Committed by Swathi Sridhar
Browse files

soc: qcom: mem-offline: Update end pfn calculation



On a 6GB target with 0x80000000 as the base address, the
dram end address becomes 0x200000000. Now doing a phys_to_pfn
on this address gives a PFN which sits on this end address, which
is not a valid one. Hence, update the calculation of getting
the end PFN of the system.

Change-Id: Iada40892bf12dd450193b2ae3741c59c6295f604
Signed-off-by: default avatarSudarshan Rajagopalan <sudaraja@codeaurora.org>
parent 1c21ebac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment