diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 14:33:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-08-07 14:33:15 -0400 |
commit | e306e3be1cbe5b11d0f8a53a557c205cf27e4979 (patch) | |
tree | 0c872d9513794f48b80bab8d32e6dd7e6d5fbb26 /arch/arm/xen | |
parent | 7f0d32e0c1a7a23216a0f2694ec841f60e9dddfd (diff) | |
parent | 8b63c998b31c69fff2c8c8c7e543e3142d9eea71 (diff) |
Merge tag 'stable/for-linus-3.17-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip
Pull Xen updates from David Vrabel:
- remove unused V2 grant table support
- note that Konrad is xen-blkkback/front maintainer
- add 'xen_nopv' option to disable PV extentions for x86 HVM guests
- misc minor cleanups
* tag 'stable/for-linus-3.17-rc0-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
xen-pciback: Document the 'quirks' sysfs file
xen/pciback: Fix error return code in xen_pcibk_attach()
xen/events: drop negativity check of unsigned parameter
xen/setup: Remove Identity Map Debug Message
xen/events/fifo: remove a unecessary use of BM()
xen/events/fifo: ensure all bitops are properly aligned even on x86
xen/events/fifo: reset control block and local HEADs on resume
xen/arm: use BUG_ON
xen/grant-table: remove support for V2 tables
x86/xen: safely map and unmap grant frames when in atomic context
MAINTAINERS: Make me the Xen block subsystem (front and back) maintainer
xen: Introduce 'xen_nopv' to disable PV extensions for HVM guests.
Diffstat (limited to 'arch/arm/xen')
-rw-r--r-- | arch/arm/xen/enlighten.c | 6 | ||||
-rw-r--r-- | arch/arm/xen/grant-table.c | 6 |
2 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 1e632430570b..98544c5f86e9 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c | |||
@@ -181,8 +181,7 @@ static void xen_restart(enum reboot_mode reboot_mode, const char *cmd) | |||
181 | struct sched_shutdown r = { .reason = SHUTDOWN_reboot }; | 181 | struct sched_shutdown r = { .reason = SHUTDOWN_reboot }; |
182 | int rc; | 182 | int rc; |
183 | rc = HYPERVISOR_sched_op(SCHEDOP_shutdown, &r); | 183 | rc = HYPERVISOR_sched_op(SCHEDOP_shutdown, &r); |
184 | if (rc) | 184 | BUG_ON(rc); |
185 | BUG(); | ||
186 | } | 185 | } |
187 | 186 | ||
188 | static void xen_power_off(void) | 187 | static void xen_power_off(void) |
@@ -190,8 +189,7 @@ static void xen_power_off(void) | |||
190 | struct sched_shutdown r = { .reason = SHUTDOWN_poweroff }; | 189 | struct sched_shutdown r = { .reason = SHUTDOWN_poweroff }; |
191 | int rc; | 190 | int rc; |
192 | rc = HYPERVISOR_sched_op(SCHEDOP_shutdown, &r); | 191 | rc = HYPERVISOR_sched_op(SCHEDOP_shutdown, &r); |
193 | if (rc) | 192 | BUG_ON(rc); |
194 | BUG(); | ||
195 | } | 193 | } |
196 | 194 | ||
197 | static int xen_cpu_notification(struct notifier_block *self, | 195 | static int xen_cpu_notification(struct notifier_block *self, |
diff --git a/arch/arm/xen/grant-table.c b/arch/arm/xen/grant-table.c index 91cf08ba1e95..2c4041c9bac5 100644 --- a/arch/arm/xen/grant-table.c +++ b/arch/arm/xen/grant-table.c | |||
@@ -45,11 +45,9 @@ void arch_gnttab_unmap(void *shared, unsigned long nr_gframes) | |||
45 | return; | 45 | return; |
46 | } | 46 | } |
47 | 47 | ||
48 | int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, | 48 | int arch_gnttab_init(unsigned long nr_shared) |
49 | unsigned long max_nr_gframes, | ||
50 | grant_status_t **__shared) | ||
51 | { | 49 | { |
52 | return -ENOSYS; | 50 | return 0; |
53 | } | 51 | } |
54 | 52 | ||
55 | int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status) | 53 | int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status) |