diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-01-30 21:21:39 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-31 19:11:46 +1100 |
commit | 16ed141677c5a1a796408e74ccd0a6f6554c3f21 (patch) | |
tree | a7ac68e587e3081144399fa80e714000b8ebf81a /drivers/fpga/fpga-bridge.c | |
parent | ba9b399aee6fb70cbe988f0750d6dd9f6677293b (diff) |
powerpc/64: Make type of partition table flush depend on partition type
When changing a partition table entry on POWER9, we do a particular
form of the tlbie instruction which flushes all TLBs and caches of
the partition table for a given logical partition ID (LPID).
This instruction has a field in the instruction word, labelled R
(radix), which should be 1 if the partition was previously a radix
partition and 0 if it was a HPT partition. This implements that
logic.
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions