diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-12 16:05:36 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-12 16:05:36 -0500 |
commit | c9bed1cf51011c815d88288b774865d013ca78a8 (patch) | |
tree | 77e205b9442338a3d11567d4abcdb8df616979cf /arch/x86/xen/enlighten.c | |
parent | 75777c1855e10c010c9c3a21611d95dd9be01ab1 (diff) | |
parent | a4cdb556cae05cd3e7b602b3a44c01420c4e2258 (diff) |
Merge tag 'for-linus-4.5-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull xen updates from David Vrabel:
"Xen features and fixes for 4.5-rc0:
- Stolen ticks and PV wallclock support for arm/arm64
- Add grant copy ioctl to gntdev device"
* tag 'for-linus-4.5-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xen/gntdev: add ioctl for grant copy
x86/xen: don't reset vcpu_info on a cancelled suspend
xen/gntdev: constify mmu_notifier_ops structures
xen/grant-table: constify gnttab_ops structure
xen/time: use READ_ONCE
xen/x86: convert remaining timespec to timespec64 in xen_pvclock_gtod_notify
xen/x86: support XENPF_settime64
xen/arm: set the system time in Xen via the XENPF_settime64 hypercall
xen/arm: introduce xen_read_wallclock
arm: extend pvclock_wall_clock with sec_hi
xen: introduce XENPF_settime64
xen/arm: introduce HYPERVISOR_platform_op on arm and arm64
xen: rename dom0_op to platform_op
xen/arm: account for stolen ticks
arm64: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops
arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops
missing include asm/paravirt.h in cputime.c
xen: move xen_setup_runstate_info and get_runstate_snapshot to drivers/xen/time.c
Diffstat (limited to 'arch/x86/xen/enlighten.c')
-rw-r--r-- | arch/x86/xen/enlighten.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c index 23063923e364..d09e4c9d7cc5 100644 --- a/arch/x86/xen/enlighten.c +++ b/arch/x86/xen/enlighten.c | |||
@@ -415,7 +415,7 @@ static bool __init xen_check_mwait(void) | |||
415 | 415 | ||
416 | set_xen_guest_handle(op.u.set_pminfo.pdc, buf); | 416 | set_xen_guest_handle(op.u.set_pminfo.pdc, buf); |
417 | 417 | ||
418 | if ((HYPERVISOR_dom0_op(&op) == 0) && | 418 | if ((HYPERVISOR_platform_op(&op) == 0) && |
419 | (buf[2] & (ACPI_PDC_C_C1_FFH | ACPI_PDC_C_C2C3_FFH))) { | 419 | (buf[2] & (ACPI_PDC_C_C1_FFH | ACPI_PDC_C_C2C3_FFH))) { |
420 | cpuid_leaf5_ecx_val = cx; | 420 | cpuid_leaf5_ecx_val = cx; |
421 | cpuid_leaf5_edx_val = dx; | 421 | cpuid_leaf5_edx_val = dx; |
@@ -1365,7 +1365,7 @@ static void __init xen_boot_params_init_edd(void) | |||
1365 | info->params.length = sizeof(info->params); | 1365 | info->params.length = sizeof(info->params); |
1366 | set_xen_guest_handle(op.u.firmware_info.u.disk_info.edd_params, | 1366 | set_xen_guest_handle(op.u.firmware_info.u.disk_info.edd_params, |
1367 | &info->params); | 1367 | &info->params); |
1368 | ret = HYPERVISOR_dom0_op(&op); | 1368 | ret = HYPERVISOR_platform_op(&op); |
1369 | if (ret) | 1369 | if (ret) |
1370 | break; | 1370 | break; |
1371 | 1371 | ||
@@ -1383,7 +1383,7 @@ static void __init xen_boot_params_init_edd(void) | |||
1383 | op.u.firmware_info.type = XEN_FW_DISK_MBR_SIGNATURE; | 1383 | op.u.firmware_info.type = XEN_FW_DISK_MBR_SIGNATURE; |
1384 | for (nr = 0; nr < EDD_MBR_SIG_MAX; nr++) { | 1384 | for (nr = 0; nr < EDD_MBR_SIG_MAX; nr++) { |
1385 | op.u.firmware_info.index = nr; | 1385 | op.u.firmware_info.index = nr; |
1386 | ret = HYPERVISOR_dom0_op(&op); | 1386 | ret = HYPERVISOR_platform_op(&op); |
1387 | if (ret) | 1387 | if (ret) |
1388 | break; | 1388 | break; |
1389 | mbr_signature[nr] = op.u.firmware_info.u.disk_mbr_signature.mbr_signature; | 1389 | mbr_signature[nr] = op.u.firmware_info.u.disk_mbr_signature.mbr_signature; |
@@ -1690,7 +1690,7 @@ asmlinkage __visible void __init xen_start_kernel(void) | |||
1690 | xen_start_info->console.domU.mfn = 0; | 1690 | xen_start_info->console.domU.mfn = 0; |
1691 | xen_start_info->console.domU.evtchn = 0; | 1691 | xen_start_info->console.domU.evtchn = 0; |
1692 | 1692 | ||
1693 | if (HYPERVISOR_dom0_op(&op) == 0) | 1693 | if (HYPERVISOR_platform_op(&op) == 0) |
1694 | boot_params.kbd_status = op.u.firmware_info.u.kbd_shift_flags; | 1694 | boot_params.kbd_status = op.u.firmware_info.u.kbd_shift_flags; |
1695 | 1695 | ||
1696 | /* Make sure ACS will be enabled */ | 1696 | /* Make sure ACS will be enabled */ |