diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 15:20:25 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 15:20:25 -0400 |
| commit | e22057c8599373e5caef0bc42bdb95d2a361ab0d (patch) | |
| tree | 04e9f51835f4d5c08aada38597c30de1113c03d9 /include/xen/interface | |
| parent | 496b919b3bdd957d4b1727df79bfa3751bced1c1 (diff) | |
| parent | df7a3ee29b775edd1c2d75cf0b128b174bd4091e (diff) | |
Merge tag 'stable/for-linus-3.4-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
Pull more xen updates from Konrad Rzeszutek Wilk:
"One tiny feature that accidentally got lost in the initial git pull:
* Add fast-EOI acking of interrupts (clear a bit instead of
hypercall)
And bug-fixes:
* Fix CPU bring-up code missing a call to notify other subsystems.
* Fix reading /sys/hypervisor even if PVonHVM drivers are not loaded.
* In Xen ACPI processor driver: remove too verbose WARN messages, fix
up the Kconfig dependency to be a module by default, and add
dependency on CPU_FREQ.
* Disable CPU frequency drivers from loading when booting under Xen
(as we want the Xen ACPI processor to be used instead).
* Cleanups in tmem code."
* tag 'stable/for-linus-3.4-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
xen/acpi: Fix Kconfig dependency on CPU_FREQ
xen: initialize platform-pci even if xen_emul_unplug=never
xen/smp: Fix bringup bug in AP code.
xen/acpi: Remove the WARN's as they just create noise.
xen/tmem: cleanup
xen: support pirq_eoi_map
xen/acpi-processor: Do not depend on CPU frequency scaling drivers.
xen/cpufreq: Disable the cpu frequency scaling drivers from loading.
provide disable_cpufreq() function to disable the API.
Diffstat (limited to 'include/xen/interface')
| -rw-r--r-- | include/xen/interface/physdev.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/xen/interface/physdev.h b/include/xen/interface/physdev.h index 0c28989007fb..9ce788d8cf49 100644 --- a/include/xen/interface/physdev.h +++ b/include/xen/interface/physdev.h | |||
| @@ -39,6 +39,27 @@ struct physdev_eoi { | |||
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | /* | 41 | /* |
| 42 | * Register a shared page for the hypervisor to indicate whether the guest | ||
| 43 | * must issue PHYSDEVOP_eoi. The semantics of PHYSDEVOP_eoi change slightly | ||
| 44 | * once the guest used this function in that the associated event channel | ||
| 45 | * will automatically get unmasked. The page registered is used as a bit | ||
| 46 | * array indexed by Xen's PIRQ value. | ||
| 47 | */ | ||
| 48 | #define PHYSDEVOP_pirq_eoi_gmfn_v1 17 | ||
| 49 | /* | ||
| 50 | * Register a shared page for the hypervisor to indicate whether the | ||
| 51 | * guest must issue PHYSDEVOP_eoi. This hypercall is very similar to | ||
| 52 | * PHYSDEVOP_pirq_eoi_gmfn_v1 but it doesn't change the semantics of | ||
| 53 | * PHYSDEVOP_eoi. The page registered is used as a bit array indexed by | ||
| 54 | * Xen's PIRQ value. | ||
| 55 | */ | ||
| 56 | #define PHYSDEVOP_pirq_eoi_gmfn_v2 28 | ||
| 57 | struct physdev_pirq_eoi_gmfn { | ||
| 58 | /* IN */ | ||
| 59 | unsigned long gmfn; | ||
| 60 | }; | ||
| 61 | |||
| 62 | /* | ||
| 42 | * Query the status of an IRQ line. | 63 | * Query the status of an IRQ line. |
| 43 | * @arg == pointer to physdev_irq_status_query structure. | 64 | * @arg == pointer to physdev_irq_status_query structure. |
| 44 | */ | 65 | */ |
