diff options
author | Juergen Gross <jgross@suse.com> | 2018-11-07 18:01:00 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-11-09 08:16:55 +0100 |
commit | 1457d8cf7664f34c4ba534c1073821a559a2f6f9 (patch) | |
tree | cb6435f561fe83789ecd108c5812e1e5667ae900 /drivers/iommu | |
parent | 6cc4a0863c9709c512280c64e698d68443ac8053 (diff) |
x86/xen: fix pv boot
Commit 9da3f2b7405440 ("x86/fault: BUG() when uaccess helpers fault on
kernel addresses") introduced a regression for booting Xen PV guests.
Xen PV guests are using __put_user() and __get_user() for accessing the
p2m map (physical to machine frame number map) as accesses might fail
in case of not populated areas of the map.
With above commit using __put_user() and __get_user() for accessing
kernel pages is no longer valid. So replace the Xen hack by adding
appropriate p2m access functions using the default fixup handler.
Fixes: 9da3f2b7405440 ("x86/fault: BUG() when uaccess helpers fault on kernel addresses")
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions