Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142706346
D17356.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D17356.diff
View Options
Index: head/sys/powerpc/powernv/opal_pci.c
===================================================================
--- head/sys/powerpc/powernv/opal_pci.c
+++ head/sys/powerpc/powernv/opal_pci.c
@@ -95,8 +95,6 @@
*/
static void opalpic_pic_enable(device_t dev, u_int irq, u_int vector);
static void opalpic_pic_eoi(device_t dev, u_int irq);
-static void opalpic_pic_mask(device_t dev, u_int irq);
-static void opalpic_pic_unmask(device_t dev, u_int irq);
/*
* Commands
@@ -143,8 +141,6 @@
/* PIC interface for MSIs */
DEVMETHOD(pic_enable, opalpic_pic_enable),
DEVMETHOD(pic_eoi, opalpic_pic_eoi),
- DEVMETHOD(pic_mask, opalpic_pic_mask),
- DEVMETHOD(pic_unmask, opalpic_pic_unmask),
DEVMETHOD_END
};
@@ -650,7 +646,10 @@
static void
opalpic_pic_enable(device_t dev, u_int irq, u_int vector)
{
+ struct opalpci_softc *sc = device_get_softc(dev);
+
PIC_ENABLE(root_pic, irq, vector);
+ opal_call(OPAL_PCI_MSI_EOI, sc->phb_id, irq);
}
static void opalpic_pic_eoi(device_t dev, u_int irq)
@@ -662,21 +661,3 @@
PIC_EOI(root_pic, irq);
}
-
-static void opalpic_pic_mask(device_t dev, u_int irq)
-{
- PIC_MASK(root_pic, irq);
-}
-
-static void opalpic_pic_unmask(device_t dev, u_int irq)
-{
- struct opalpci_softc *sc;
-
- sc = device_get_softc(dev);
-
- PIC_UNMASK(root_pic, irq);
-
- opal_call(OPAL_PCI_MSI_EOI, sc->phb_id, irq);
-}
-
-
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 23, 12:16 PM (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27881927
Default Alt Text
D17356.diff (1 KB)
Attached To
Mode
D17356: powerpc64/powernv: Don't mask MSIs in OPAL
Attached
Detach File
Event Timeline
Log In to Comment