Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fe5cfd63 authored by Anton Blanchard's avatar Anton Blanchard Committed by Benjamin Herrenschmidt
Browse files

powerpc/numa: Disable VPHN on dedicated processor partitions



There is no need to start up the timer and monitor topology changes on a
dedicated processor partition, so disable it.

Signed-off-by: default avatarAnton Blanchard <anton@samba.org>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent c0e5e46f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1516,7 +1516,8 @@ int start_topology_update(void)
{
	int rc = 0;

	if (firmware_has_feature(FW_FEATURE_VPHN)) {
	if (firmware_has_feature(FW_FEATURE_VPHN) &&
	    get_lppaca()->shared_proc) {
		vphn_enabled = 1;
		setup_cpu_associativity_change_counters();
		init_timer_deferrable(&topology_timer);