diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-23 22:17:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-23 22:17:27 -0400 |
commit | 0e9e3e306c7e472bdcffa34c4c4584301eda03b3 (patch) | |
tree | ae273fcf6af4b2a0c463cf3f1e836fa3e066b281 /include | |
parent | 3185bd26188223195dc2e659a3d00219cad71a0f (diff) | |
parent | 801e7fb738c1049d93417dd8c2c4bf9cf567b668 (diff) |
Merge tag 'stable/for-linus-3.7-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
Pull xen bug-fixes from Konrad Rzeszutek Wilk:
- Fix mysterious SIGSEGV or SIGKILL in applications due to corrupting
of the %eip when returning from a signal handler.
- Fix various ARM compile issues after the merge fallout.
- Continue on making more of the Xen generic code usable by ARM
platform.
- Fix SR-IOV passthrough to mirror multifunction PCI devices.
- Fix various compile warnings.
- Remove hypercalls that don't exist anymore.
* tag 'stable/for-linus-3.7-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
xen: dbgp: Fix warning when CONFIG_PCI is not enabled.
xen: arm: comment on why 64-bit xen_pfn_t is safe even on 32 bit
xen: balloon: use correct type for frame_list
xen/x86: don't corrupt %eip when returning from a signal handler
xen: arm: make p2m operations NOPs
xen: balloon: don't include e820.h
xen: grant: use xen_pfn_t type for frame_list.
xen: events: pirq_check_eoi_map is X86 specific
xen: XENMEM_translate_gpfn_list was remove ages ago and is unused.
xen: sysfs: fix build warning.
xen: sysfs: include err.h for PTR_ERR etc
xen: xenbus: quirk uses x86 specific cpuid
xen PV passthru: assign SR-IOV virtual functions to separate virtual slots
xen/xenbus: Fix compile warning.
xen/x86: remove duplicated include from enlighten.c
Diffstat (limited to 'include')
-rw-r--r-- | include/xen/grant_table.h | 2 | ||||
-rw-r--r-- | include/xen/interface/grant_table.h | 2 | ||||
-rw-r--r-- | include/xen/interface/memory.h | 24 |
3 files changed, 4 insertions, 24 deletions
diff --git a/include/xen/grant_table.h b/include/xen/grant_table.h index aecee9d112cb..694dcaf266e6 100644 --- a/include/xen/grant_table.h +++ b/include/xen/grant_table.h | |||
@@ -170,7 +170,7 @@ gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr, | |||
170 | unmap->dev_bus_addr = 0; | 170 | unmap->dev_bus_addr = 0; |
171 | } | 171 | } |
172 | 172 | ||
173 | int arch_gnttab_map_shared(unsigned long *frames, unsigned long nr_gframes, | 173 | int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, |
174 | unsigned long max_nr_gframes, | 174 | unsigned long max_nr_gframes, |
175 | void **__shared); | 175 | void **__shared); |
176 | int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, | 176 | int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, |
diff --git a/include/xen/interface/grant_table.h b/include/xen/interface/grant_table.h index f9f8b975ae74..e40fae9bf11a 100644 --- a/include/xen/interface/grant_table.h +++ b/include/xen/interface/grant_table.h | |||
@@ -310,7 +310,7 @@ struct gnttab_setup_table { | |||
310 | uint32_t nr_frames; | 310 | uint32_t nr_frames; |
311 | /* OUT parameters. */ | 311 | /* OUT parameters. */ |
312 | int16_t status; /* GNTST_* */ | 312 | int16_t status; /* GNTST_* */ |
313 | GUEST_HANDLE(ulong) frame_list; | 313 | GUEST_HANDLE(xen_pfn_t) frame_list; |
314 | }; | 314 | }; |
315 | DEFINE_GUEST_HANDLE_STRUCT(gnttab_setup_table); | 315 | DEFINE_GUEST_HANDLE_STRUCT(gnttab_setup_table); |
316 | 316 | ||
diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h index b66d04ce6957..90712e2072d5 100644 --- a/include/xen/interface/memory.h +++ b/include/xen/interface/memory.h | |||
@@ -179,28 +179,8 @@ struct xen_add_to_physmap { | |||
179 | }; | 179 | }; |
180 | DEFINE_GUEST_HANDLE_STRUCT(xen_add_to_physmap); | 180 | DEFINE_GUEST_HANDLE_STRUCT(xen_add_to_physmap); |
181 | 181 | ||
182 | /* | 182 | /*** REMOVED ***/ |
183 | * Translates a list of domain-specific GPFNs into MFNs. Returns a -ve error | 183 | /*#define XENMEM_translate_gpfn_list 8*/ |
184 | * code on failure. This call only works for auto-translated guests. | ||
185 | */ | ||
186 | #define XENMEM_translate_gpfn_list 8 | ||
187 | struct xen_translate_gpfn_list { | ||
188 | /* Which domain to translate for? */ | ||
189 | domid_t domid; | ||
190 | |||
191 | /* Length of list. */ | ||
192 | xen_ulong_t nr_gpfns; | ||
193 | |||
194 | /* List of GPFNs to translate. */ | ||
195 | GUEST_HANDLE(ulong) gpfn_list; | ||
196 | |||
197 | /* | ||
198 | * Output list to contain MFN translations. May be the same as the input | ||
199 | * list (in which case each input GPFN is overwritten with the output MFN). | ||
200 | */ | ||
201 | GUEST_HANDLE(ulong) mfn_list; | ||
202 | }; | ||
203 | DEFINE_GUEST_HANDLE_STRUCT(xen_translate_gpfn_list); | ||
204 | 184 | ||
205 | /* | 185 | /* |
206 | * Returns the pseudo-physical memory map as it was when the domain | 186 | * Returns the pseudo-physical memory map as it was when the domain |