Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170913116
D25545.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
924 B
Referenced Files
None
Subscribers
None
D25545.diff
View Options
Index: head/sys/powerpc/powernv/xive.c
===================================================================
--- head/sys/powerpc/powernv/xive.c
+++ head/sys/powerpc/powernv/xive.c
@@ -507,6 +507,7 @@
sc = device_get_softc(dev);
+ xive_cpud = DPCPU_PTR(xive_cpu_data);
for (;;) {
ack = xive_read_2(sc, XIVE_TM_SPC_ACK);
cppr = (ack & 0xff);
@@ -515,19 +516,17 @@
if (he == TM_QW3_NSR_HE_NONE)
break;
- switch (he) {
- case TM_QW3_NSR_HE_NONE:
- goto end;
- case TM_QW3_NSR_HE_POOL:
- case TM_QW3_NSR_HE_LSI:
+
+ else if (__predict_false(he != TM_QW3_NSR_HE_PHYS)) {
+ /*
+ * We don't support TM_QW3_NSR_HE_POOL or
+ * TM_QW3_NSR_HE_LSI interrupts.
+ */
device_printf(dev,
"Unexpected interrupt he type: %d\n", he);
goto end;
- case TM_QW3_NSR_HE_PHYS:
- break;
}
- xive_cpud = DPCPU_PTR(xive_cpu_data);
xive_write_1(sc, XIVE_TM_CPPR, cppr);
for (;;) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 8, 1:11 PM (1 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38517950
Default Alt Text
D25545.diff (924 B)
Attached To
Mode
D25545: [PowerPC] XIVE dispatch tweaks
Attached
Detach File
Event Timeline
Log In to Comment