freebsd-skq/sys/powerpc
Leandro Lupori f2c7768cce [PPC] Avoid underflows in NUMA domains
On POWER8 systems with only one memory domain, the "ibm,associativity"
number that corresponds to it is 0, unlike POWER9 systems with two
or more domains, in which the minimum value is 1.

In POWER8 case, subtracting 1 causes an underflow on the unsigned domain
variable and a subsequent index out-of-bounds access.

Reviewed by:	jhibbits
Tested by:	bdragon, luporl
2019-10-22 18:28:58 +00:00
..
aim [PPC64] Add minidump support to PowerNV 2019-10-21 11:56:57 +00:00
amigaone powerpc: Add AmigaOne platform, a subclass of MPC85xx 2019-10-16 00:38:50 +00:00
booke powerpc/booke: Don't zero MAS8, it's unnecessary 2019-10-20 15:50:33 +00:00
conf Split out a more generic debugnet(4) from netdump(4) 2019-10-17 16:23:03 +00:00
cpufreq powerpc: Fix cpufreq statement scoping 2019-03-08 03:59:53 +00:00
fpu powerpc: Apply r178139 from sparc64 to powerpc's fpu_sqrt 2019-04-03 03:54:30 +00:00
include Fix assert in PowerPC pmaps after introduction of object busy. 2019-10-16 07:09:15 +00:00
mambo sys/powerpc: further adoption of SPDX licensing ID tags. 2017-11-27 15:09:59 +00:00
mikrotik - Allow different slicers for different flash types to be registered 2017-02-22 10:21:39 +00:00
mpc85xx powerpc/mpc85xx: Replace global PCI config mutex with per-controller mutex 2019-10-19 01:07:35 +00:00
ofw [PPC] Avoid underflows in NUMA domains 2019-10-22 18:28:58 +00:00
powermac Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
powernv powerpc64/powernv: Add opal NVRAM driver for PowerNV systems 2019-09-14 03:30:34 +00:00
powerpc Remove page locking from pmap_mincore(). 2019-10-16 22:03:27 +00:00
ps3 Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:33 +00:00
pseries Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:37 +00:00
psim add snps IP uart support / genaralize UART 2018-08-19 21:10:21 +00:00