diff options
author | Fabien Chouteau <chouteau@adacore.com> | 2012-05-21 06:11:06 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-06-24 01:04:44 +0200 |
commit | 77c2cf33fe8d272e5375b55c588202a18af0e27c (patch) | |
tree | f7f5bb5d7e0cff6c717adddf7dc6db04caeb3715 /target-ppc/kvm.c | |
parent | c8f803e77a39584af30082b7ba11e69a9f046224 (diff) |
booke_206_tlbwe: Discard invalid bits in MAS2
The size of EPN field in MAS2 depends on page size. This patch adds a
mask to discard invalid bits in EPN field.
Definition of EPN field from e500v2 RM:
EPN Effective page number: Depending on page size, only the bits
associated with a page boundary are valid. Bits that represent offsets
within a page are ignored and should be cleared.
There is a similar (but more complicated) definition in PowerISA V2.06.
Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/kvm.c')
0 files changed, 0 insertions, 0 deletions