linux_dsm_epyc7002/arch/powerpc
Anton Blanchard 5de1669910 powerpc/numa: Only use active VPHN count fields
VPHN supports up to 8 distance fields but the number of entries in
ibm,associativity-reference-points signifies how many are in use.
Don't look at all the VPHN counts, only distance_ref_points_depth
worth.

Since we already cap our distance metrics at MAX_DISTANCE_REF_POINTS,
use that to size the VPHN arrays and add a BUILD_BUG_ON to avoid it growing
larger than the VPHN maximum of 8.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-02-07 13:05:59 +11:00
..
boot powerpc/boot/dts: Install dts from the right directory 2011-01-21 14:08:38 +11:00
configs Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-01-21 13:23:52 -08:00
include/asm powerpc/book3e: Protect complex macro args in mmu-book3e.h 2011-02-07 12:47:56 +11:00
kernel powerpc: Fix some 6xx/7xxx CPU setup functions 2011-02-07 12:57:11 +11:00
kvm KVM: Clean up vm creation and release 2011-01-12 11:29:09 +02:00
lib powerpc: Ensure the else case of feature sections will fit 2011-01-21 14:08:33 +11:00
math-emu powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
mm powerpc/numa: Only use active VPHN count fields 2011-02-07 13:05:59 +11:00
oprofile tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
platforms Merge branch 'devicetree/merge' of git://git.secretlab.ca/git/linux-2.6 2011-01-21 13:24:16 -08:00
sysdev powerpc/mpic: Fix mask/unmask timeout message 2011-01-21 14:08:39 +11:00
xmon powerpc/Makefiles: Change to new flag variables 2010-10-13 16:19:22 +11:00
Kconfig powerpc: Use generic irq Kconfig 2011-01-21 11:55:33 +01:00
Kconfig.debug powerpc: Unconditionally enabled irq stacks 2010-06-15 15:02:37 +10:00
Makefile powerpc: Fix typo in uImage target 2010-08-24 15:26:32 +10:00
relocs_check.pl powerpc: Check for unsupported relocs when using CONFIG_RELOCATABLE 2009-09-24 15:31:40 +10:00