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 /include | |
| 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 'include')
| -rw-r--r-- | include/xen/grant_table.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/include/xen/grant_table.h b/include/xen/grant_table.h index 5c1aba154b64..3387465b9caa 100644 --- a/include/xen/grant_table.h +++ b/include/xen/grant_table.h | |||
| @@ -64,24 +64,6 @@ int gnttab_resume(void); | |||
| 64 | 64 | ||
| 65 | int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, | 65 | int gnttab_grant_foreign_access(domid_t domid, unsigned long frame, |
| 66 | int readonly); | 66 | int readonly); |
| 67 | int gnttab_grant_foreign_access_subpage(domid_t domid, unsigned long frame, | ||
| 68 | int flags, unsigned page_off, | ||
| 69 | unsigned length); | ||
| 70 | int gnttab_grant_foreign_access_trans(domid_t domid, int flags, | ||
| 71 | domid_t trans_domid, | ||
| 72 | grant_ref_t trans_gref); | ||
| 73 | |||
| 74 | /* | ||
| 75 | * Are sub-page grants available on this version of Xen? Returns true if they | ||
| 76 | * are, and false if they're not. | ||
| 77 | */ | ||
| 78 | bool gnttab_subpage_grants_available(void); | ||
| 79 | |||
| 80 | /* | ||
| 81 | * Are transitive grants available on this version of Xen? Returns true if they | ||
| 82 | * are, and false if they're not. | ||
| 83 | */ | ||
| 84 | bool gnttab_trans_grants_available(void); | ||
| 85 | 67 | ||
| 86 | /* | 68 | /* |
| 87 | * End access through the given grant reference, iff the grant entry is no | 69 | * End access through the given grant reference, iff the grant entry is no |
| @@ -128,13 +110,6 @@ void gnttab_cancel_free_callback(struct gnttab_free_callback *callback); | |||
| 128 | 110 | ||
| 129 | void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, | 111 | void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid, |
| 130 | unsigned long frame, int readonly); | 112 | unsigned long frame, int readonly); |
| 131 | int gnttab_grant_foreign_access_subpage_ref(grant_ref_t ref, domid_t domid, | ||
| 132 | unsigned long frame, int flags, | ||
| 133 | unsigned page_off, | ||
| 134 | unsigned length); | ||
| 135 | int gnttab_grant_foreign_access_trans_ref(grant_ref_t ref, domid_t domid, | ||
| 136 | int flags, domid_t trans_domid, | ||
| 137 | grant_ref_t trans_gref); | ||
| 138 | 113 | ||
| 139 | void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid, | 114 | void gnttab_grant_foreign_transfer_ref(grant_ref_t, domid_t domid, |
| 140 | unsigned long pfn); | 115 | unsigned long pfn); |
| @@ -170,13 +145,10 @@ gnttab_set_unmap_op(struct gnttab_unmap_grant_ref *unmap, phys_addr_t addr, | |||
| 170 | unmap->dev_bus_addr = 0; | 145 | unmap->dev_bus_addr = 0; |
| 171 | } | 146 | } |
| 172 | 147 | ||
| 173 | int arch_gnttab_init(unsigned long nr_shared, unsigned long nr_status); | 148 | int arch_gnttab_init(unsigned long nr_shared); |
| 174 | int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, | 149 | int arch_gnttab_map_shared(xen_pfn_t *frames, unsigned long nr_gframes, |
| 175 | unsigned long max_nr_gframes, | 150 | unsigned long max_nr_gframes, |
| 176 | void **__shared); | 151 | void **__shared); |
| 177 | int arch_gnttab_map_status(uint64_t *frames, unsigned long nr_gframes, | ||
| 178 | unsigned long max_nr_gframes, | ||
| 179 | grant_status_t **__shared); | ||
| 180 | void arch_gnttab_unmap(void *shared, unsigned long nr_gframes); | 152 | void arch_gnttab_unmap(void *shared, unsigned long nr_gframes); |
| 181 | 153 | ||
| 182 | struct grant_frames { | 154 | struct grant_frames { |
