svn commit: r349347 - head/sys/arm64/arm64
Jayachandran C.
jchandra at FreeBSD.org
Mon Jun 24 21:13:46 UTC 2019
Author: jchandra
Date: Mon Jun 24 21:13:45 2019
New Revision: 349347
URL: https://svnweb.freebsd.org/changeset/base/349347
Log:
arm64 gicv3_its: enable all ITS blocks for a CPU
We now support multiple ITS blocks raising interrupts to a CPU.
Add all available CPUs to the ITS when no NUMA information is
available.
This reverts the check added in r340602, at that tim we did not
suppport multiple ITS blocks for a CPU.
Differential Revision: https://reviews.freebsd.org/D20417
Modified:
head/sys/arm64/arm64/gicv3_its.c
Modified: head/sys/arm64/arm64/gicv3_its.c
==============================================================================
--- head/sys/arm64/arm64/gicv3_its.c Mon Jun 24 21:05:14 2019 (r349346)
+++ head/sys/arm64/arm64/gicv3_its.c Mon Jun 24 21:13:45 2019 (r349347)
@@ -747,9 +747,7 @@ gicv3_its_attach(device_t dev)
if (domain < MAXMEMDOM)
CPU_COPY(&cpuset_domain[domain], &sc->sc_cpus);
} else {
- /* XXX : cannot handle more than one ITS per cpu */
- if (device_get_unit(dev) == 0)
- CPU_COPY(&all_cpus, &sc->sc_cpus);
+ CPU_COPY(&all_cpus, &sc->sc_cpus);
}
/* Allocate the command circular buffer */
More information about the svn-src-all
mailing list