diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-11 19:19:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-11 19:19:30 -0400 |
commit | 607eeb0b836aa24a6972a460a213c4f87902d403 (patch) | |
tree | a3435442118d31e9a9e538333df205c6489c65de /drivers/xen | |
parent | 4c4445013f792f82855079ac377bf5d75af4581c (diff) | |
parent | 7c86617dde0015112de566a4619a9b06871580c1 (diff) |
Merge tag 'stable/for-linus-3.10-rc0-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen
Pull Xen bug-fixes from Konrad Rzeszutek Wilk:
- More fixes in the vCPU PVHVM hotplug path.
- Add more documentation.
- Fix various ARM related issues in the Xen generic drivers.
- Updates in the xen-pciback driver per Bjorn's updates.
- Mask the x2APIC feature for PV guests.
* tag 'stable/for-linus-3.10-rc0-tag-two' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen:
xen/pci: Used cached MSI-X capability offset
xen/pci: Use PCI_MSIX_TABLE_BIR, not PCI_MSIX_FLAGS_BIRMASK
xen: clear IRQ_NOAUTOEN and IRQ_NOREQUEST
xen: mask x2APIC feature in PV
xen: SWIOTLB is only used on x86
xen/spinlock: Fix check from greater than to be also be greater or equal to.
xen/smp/pvhvm: Don't point per_cpu(xen_vpcu, 33 and larger) to shared_info
xen/vcpu: Document the xen_vcpu_info and xen_vcpu
xen/vcpu/pvhvm: Fix vcpu hotplugging hanging.
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/Kconfig | 2 | ||||
-rw-r--r-- | drivers/xen/events.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/xen/Kconfig b/drivers/xen/Kconfig index dd4d9cb86243..f03bf501527f 100644 --- a/drivers/xen/Kconfig +++ b/drivers/xen/Kconfig | |||
@@ -141,7 +141,7 @@ config XEN_GRANT_DEV_ALLOC | |||
141 | 141 | ||
142 | config SWIOTLB_XEN | 142 | config SWIOTLB_XEN |
143 | def_bool y | 143 | def_bool y |
144 | depends on PCI | 144 | depends on PCI && X86 |
145 | select SWIOTLB | 145 | select SWIOTLB |
146 | 146 | ||
147 | config XEN_TMEM | 147 | config XEN_TMEM |
diff --git a/drivers/xen/events.c b/drivers/xen/events.c index d8cc8127f19c..6a6bbe4ede92 100644 --- a/drivers/xen/events.c +++ b/drivers/xen/events.c | |||
@@ -167,6 +167,8 @@ static void xen_irq_info_common_init(struct irq_info *info, | |||
167 | info->cpu = cpu; | 167 | info->cpu = cpu; |
168 | 168 | ||
169 | evtchn_to_irq[evtchn] = irq; | 169 | evtchn_to_irq[evtchn] = irq; |
170 | |||
171 | irq_clear_status_flags(irq, IRQ_NOREQUEST|IRQ_NOAUTOEN); | ||
170 | } | 172 | } |
171 | 173 | ||
172 | static void xen_irq_info_evtchn_init(unsigned irq, | 174 | static void xen_irq_info_evtchn_init(unsigned irq, |
@@ -874,7 +876,6 @@ int bind_evtchn_to_irq(unsigned int evtchn) | |||
874 | struct irq_info *info = info_for_irq(irq); | 876 | struct irq_info *info = info_for_irq(irq); |
875 | WARN_ON(info == NULL || info->type != IRQT_EVTCHN); | 877 | WARN_ON(info == NULL || info->type != IRQT_EVTCHN); |
876 | } | 878 | } |
877 | irq_clear_status_flags(irq, IRQ_NOREQUEST|IRQ_NOAUTOEN); | ||
878 | 879 | ||
879 | out: | 880 | out: |
880 | mutex_unlock(&irq_mapping_update_lock); | 881 | mutex_unlock(&irq_mapping_update_lock); |