• Aneesh Kumar K.V's avatar
    powerpc/pseries: Skip using reserved virtual address range · 82228e36
    Aneesh Kumar K.V authored
    Now that we use all the available virtual address range, we need to make
    sure we don't generate VSID such that it overlaps with the reserved vsid
    range. Reserved vsid range include the virtual address range used by the
    adjunct partition and also the VRMA virtual segment. We find the context
    value that can result in generating such a VSID and reserve it early in
    boot.
    
    We don't look at the adjunct range, because for now we disable the
    adjunct usage in a Linux LPAR via CAS interface.
    Signed-off-by: default avatarAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
    [mpe: Rewrite hash__reserve_context_id(), move the rest into pseries]
    Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
    82228e36
kvm_book3s_64.h 9.45 KB