• S
    target/ppc: Change tlbie invalid fields for POWER9 support · c8830502
    Suraj Jitindar Singh 提交于
    The tlbie[l] instructions are used to invalidate TLB entries used to cache
    address translations.
    
    In ISAv3.00 (POWER9) more fields were added to the tblie[l] instructions
    which were previously invalid. We don't care about any of these new fields
    since we just invalidate the whole world anyway but we need to not
    cause an illegal instruction exception when the instructions are called.
    We also don't want to allow an older processor to have these fields set
    since that would be invalid.
    
    Add a new GEN_HANDLER for the ISAv3 instructions with the correct invalid
    mask. These will only be generated to a POWER9 processor for now based on
    the instruction flag. Also remove the PPC_MEM_TLBIE instruction flag from
    the POWER9 processor definition to ensure the old tlbie isn't generated.
    Signed-off-by: NSuraj Jitindar Singh <sjitindarsingh@gmail.com>
    Reviewed-by: NDavid Gibson <david@gibson.dropbear.id.au>
    Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
    c8830502
translate.c 247.8 KB