Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109849296
D3753.id9705.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
739 B
Referenced Files
None
Subscribers
None
D3753.id9705.diff
View Options
Index: head/sys/arm64/arm64/gic_v3_its.c
===================================================================
--- head/sys/arm64/arm64/gic_v3_its.c
+++ head/sys/arm64/arm64/gic_v3_its.c
@@ -59,6 +59,8 @@
#include "gic_v3_reg.h"
#include "gic_v3_var.h"
+#define GIC_V3_ITS_QUIRK_THUNDERX_PEM_BUS_OFFSET 144
+
#include "pic_if.h"
/* Device and PIC methods */
@@ -1475,8 +1477,8 @@
bsf = PCI_RID(pci_get_bus(pci_dev), pci_get_slot(pci_dev),
pci_get_function(pci_dev));
- /* ECAM is on bus=0 */
- if (bus == 0) {
+ /* Check if accessing internal PCIe (low bus numbers) */
+ if (bus < GIC_V3_ITS_QUIRK_THUNDERX_PEM_BUS_OFFSET) {
return ((pci_get_domain(pci_dev) << PCI_RID_DOMAIN_SHIFT) |
bsf);
/* PEM otherwise */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 11, 7:57 AM (11 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16591383
Default Alt Text
D3753.id9705.diff (739 B)
Attached To
Mode
D3753: Fix bus numbering in ThunderX ITS quirk
Attached
Detach File
Event Timeline
Log In to Comment