diff options
author | Alexander Graf <agraf@suse.de> | 2014-07-13 16:37:12 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-28 15:23:11 +0200 |
commit | 89b68c96a24f6520c8815f88254c8e7d09aeb40e (patch) | |
tree | b44bca648e0a9d770f2eb4f25f62951118f201dc /drivers/watchdog/watchdog_dev.c | |
parent | c01e3f66cd5cdc1f727f4c7b0c10b3e3bdb91ba7 (diff) |
KVM: PPC: Book3S: Make magic page properly 4k mappable
The magic page is defined as a 4k page of per-vCPU data that is shared
between the guest and the host to accelerate accesses to privileged
registers.
However, when the host is using 64k page size granularity we weren't quite
as strict about that rule anymore. Instead, we partially treated all of the
upper 64k as magic page and mapped only the uppermost 4k with the actual
magic contents.
This works well enough for Linux which doesn't use any memory in kernel
space in the upper 64k, but Mac OS X got upset. So this patch makes magic
page actually stay in a 4k range even on 64k page size hosts.
This patch fixes magic page usage with Mac OS X (using MOL) on 64k PAGE_SIZE
hosts for me.
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'drivers/watchdog/watchdog_dev.c')
0 files changed, 0 insertions, 0 deletions