Merge "post_boot: set the default IRQ affinity for SDM660/SDM630/SDM845"

This commit is contained in:
Linux Build Service Account 2017-07-06 22:31:33 -07:00 committed by Gerrit - the friendly Code Review server
commit 03bb851709
1 changed files with 11 additions and 0 deletions

View File

@ -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