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
This commit is contained in:
Jayachandran C. 2019-06-24 21:13:45 +00:00
parent 73701bbe9d
commit c66524f07d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349347

View File

@ -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 */