summaryrefslogtreecommitdiff
path: root/drivers/misc/cxl/pci.c
diff options
context:
space:
mode:
authorRashmica Gupta <rashmica.g@gmail.com>2017-04-10 12:04:04 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2017-04-12 23:03:32 +1000
commit9e4114b3913cff37be509224116b6f58a2a3918f (patch)
treeb2908e912be6a81fc35c3daeb94e2a749522b14e /drivers/misc/cxl/pci.c
parentaaa229529244a1135b29353fefb001c430db79f0 (diff)
powerpc/mm: Fix hash table dump when memory is not contiguous
The current behaviour of the hash table dump assumes that memory is contiguous and iterates from the start of memory to (start + size of memory). When memory isn't physically contiguous, this doesn't work. If memory exists at 0-5 GB and 6-10 GB then the current approach will check if entries exist in the hash table from 0GB to 9GB. This patch changes the behaviour to iterate over any holes up to the end of memory. Fixes: 1515ab932156 ("powerpc/mm: Dump hash table") Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/misc/cxl/pci.c')
0 files changed, 0 insertions, 0 deletions