summaryrefslogtreecommitdiffstats
path: root/block/partitions/mac.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2017-11-10 05:55:07 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2017-11-20 09:28:25 +0100
commit7a06c66835f75fe2be4f154a93cc30cb81734b81 (patch)
tree947b1a6b42761db78af50abbc5572c191229274b /block/partitions/mac.h
parentpowerpc/64s: Fix Power9 DD2.0 workarounds by adding DD2.1 feature (diff)
downloadlinux-7a06c66835f75fe2be4f154a93cc30cb81734b81.tar.xz
linux-7a06c66835f75fe2be4f154a93cc30cb81734b81.zip
powerpc/64s/slice: Use addr limit when computing slice mask
While computing slice mask for the free area we need make sure we only search in the addr limit applicable for this mmap. We update the slb_addr_limit after we request for a mmap above 128TB. But the following mmap request with hint addr below 128TB should still limit its search to below 128TB. ie. we should not use slb_addr_limit to compute slice mask in this case. Instead, we should derive high addr limit based on the mmap hint addr value. Fixes: f4ea6dcb08ea ("powerpc/mm: Enable mappings above 128TB") Cc: stable@vger.kernel.org # v4.12+ Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'block/partitions/mac.h')
0 files changed, 0 insertions, 0 deletions