mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not bind to CPUs with SMT, which use a different CPU numbering convention
that does not play well with this driver. MFC after: 2 weeks
This commit is contained in:
parent
25449e73a1
commit
763864aa95
1 changed files with 4 additions and 0 deletions
|
|
@ -191,6 +191,10 @@ ofw_cpu_probe(device_t dev)
|
|||
if (type == NULL || strcmp(type, "cpu") != 0)
|
||||
return (ENXIO);
|
||||
|
||||
/* Skip SMT CPUs, which we can't reasonably represent with this code */
|
||||
if (OF_hasprop(ofw_bus_get_node(dev), "ibm,ppc-interrupt-server#s"))
|
||||
return (ENXIO);
|
||||
|
||||
device_set_desc(dev, "Open Firmware CPU");
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue