[PATCH 12/13] KVM: PPC: Book3S PR: Do dcbz32 patching with big endian instructions

2014-04-24 Thread Alexander Graf
When the host CPU we're running on doesn't support dcbz32 itself, but the guest wants to have dcbz only clear 32 bytes of data, we loop through every executable mapped page to search for dcbz instructions and patch them with a special privileged instruction that we emulate as dcbz32. The only

[PATCH 12/13] KVM: PPC: Book3S PR: Do dcbz32 patching with big endian instructions

2014-04-24 Thread Alexander Graf
When the host CPU we're running on doesn't support dcbz32 itself, but the guest wants to have dcbz only clear 32 bytes of data, we loop through every executable mapped page to search for dcbz instructions and patch them with a special privileged instruction that we emulate as dcbz32. The only