linux_old1/arch/s390/pci
Yijing Wang 8fb878c5f1 s390/MSI: Use standard mask and unmask funtions
MSI irqchip in s390 has its own mask and unmask MSI irq
functions, zpci_enable_irq() and zpci_disable_irq().
They mask and unmask MSI irq in standard ways, no arch
special. MSI driver provides two global standard functions
mask_msi_irq() and unmask_msi_irq(). Local zpci_enable_irq()
and zpci_disable_irq() are almost the same as the standard
two. the difference is local mask/unmask functions
read the mask status before mask and unmask everytime.
Then change the value and rewrite to hardware. In standard
functions, save the mask status after mask and unmask msi
irq, and use the cached status to change the mask status.
When we mask or unmask a MSI irq, we always cache its
mask status except we know need not to cache it, like in
pci_msi_shutdown. So use the standard functions to replace
the local is safe.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
[sebott: fixed inverted function pointers]
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2014-07-16 10:48:10 +02:00
..
Makefile s390: convert interrupt handling to use generic hardirq 2013-08-22 12:20:04 +02:00
pci.c s390/MSI: Use standard mask and unmask funtions 2014-07-16 10:48:10 +02:00
pci_clp.c s390/pci: add some new arch specific pci attributes 2014-05-20 08:58:50 +02:00
pci_debug.c s390: improve debug feature usage 2014-02-21 08:50:23 +01:00
pci_dma.c s390/pci/dma: use correct segment boundary size 2014-02-21 08:48:27 +01:00
pci_event.c s390/pci: improve state check when processing hotplug events 2014-05-20 08:58:48 +02:00
pci_insn.c s390/pci: cleanup function names 2013-08-22 12:20:03 +02:00
pci_sysfs.c s390/pci: add some new arch specific pci attributes 2014-05-20 08:58:50 +02:00