diff options
author | Alexey Kardashevskiy <[email protected]> | 2016-02-15 12:55:08 +1100 |
---|---|---|
committer | Paul Mackerras <[email protected]> | 2016-02-16 13:44:26 +1100 |
commit | 5ee7af18642ce38c79b35927872f13d292cc3e27 (patch) | |
tree | ac51c3752cbd75533a8edd2ce0dc4552e4200711 /arch/powerpc/kvm/powerpc.c | |
parent | 462ee11e58c96b81707d98fb1d02a8a3e84290ce (diff) |
KVM: PPC: Move reusable bits of H_PUT_TCE handler to helpers
Upcoming multi-tce support (H_PUT_TCE_INDIRECT/H_STUFF_TCE hypercalls)
will validate TCE (not to have unexpected bits) and IO address
(to be within the DMA window boundaries).
This introduces helpers to validate TCE and IO address. The helpers are
exported as they compile into vmlinux (to work in realmode) and will be
used later by KVM kernel module in virtual mode.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'arch/powerpc/kvm/powerpc.c')
0 files changed, 0 insertions, 0 deletions