Merge "post_boot: set the default IRQ affinity for SDM660/SDM630/SDM845"
This commit is contained in:
commit
03bb851709
|
@ -1617,6 +1617,11 @@ esac
|
|||
case "$target" in
|
||||
"sdm660")
|
||||
|
||||
# Set the default IRQ affinity to the primary cluster. When a
|
||||
# CPU is isolated/hotplugged, the IRQ affinity is adjusted
|
||||
# to one of the CPU from the default IRQ affinity mask.
|
||||
echo f > /proc/irq/default_smp_affinity
|
||||
|
||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||
else
|
||||
|
@ -2345,6 +2350,12 @@ esac
|
|||
|
||||
case "$target" in
|
||||
"sdm845")
|
||||
|
||||
# Set the default IRQ affinity to the silver cluster. When a
|
||||
# CPU is isolated/hotplugged, the IRQ affinity is adjusted
|
||||
# to one of the CPU from the default IRQ affinity mask.
|
||||
echo f > /proc/irq/default_smp_affinity
|
||||
|
||||
if [ -f /sys/devices/soc0/soc_id ]; then
|
||||
soc_id=`cat /sys/devices/soc0/soc_id`
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue