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

Commit 393a3e68 authored by Sabyasachi Singh's avatar Sabyasachi Singh
Browse files

drivers/base: cpu: Add node for core control isolation



This cpu node can be used to check the isolated cores
which are made unavailable for scheduler and exempted
from waking up on interrupts or from running timers at
the given time based on the load. All the runnable tasks,
timers and hrtimers should have migrated to other online
running cores.

Change-Id: I32fed6cc131288b9c318f0dea65e2e59396225ca
Signed-off-by: default avatarSabyasachi Singh <sssingh@codeaurora.org>
parent 9af69213
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -393,6 +393,7 @@ static struct cpu_attr cpu_attrs[] = {
	_CPU_ATTR(online, &cpu_online_mask),
	_CPU_ATTR(possible, &cpu_possible_mask),
	_CPU_ATTR(present, &cpu_present_mask),
	_CPU_ATTR(core_ctl_isolated, &cpu_isolated_mask),
};

/*
@@ -627,6 +628,7 @@ static struct attribute *cpu_root_attrs[] = {
	&cpu_attrs[0].attr.attr,
	&cpu_attrs[1].attr.attr,
	&cpu_attrs[2].attr.attr,
	&cpu_attrs[3].attr.attr,
	&dev_attr_kernel_max.attr,
	&dev_attr_offline.attr,
	&dev_attr_isolated.attr,