aboutsummaryrefslogtreecommitdiff
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorKonrad Dybcio <konrad.dybcio@somainline.org>2024-09-01 11:40:07 +0800
committerThomas Gleixner <tglx@linutronix.de>2024-09-04 20:43:30 +0200
commit59fc20ba70294d2c5f620ad6206aa661ce7718d6 (patch)
tree8614ccd0e1642e410d65ef8545e16f4305cafe4c /net/unix/garbage.c
parenta845342e6e5fb4937564f93cc88e00c732286fe3 (diff)
irqchip/apple-aic: Only access system registers on SoCs which provide them
Starting from the A11 (T8015) SoC, Apple introuced system registers for fast IPI and UNCORE PMC control. These sysregs do not exist on earlier A7-A10 SoCs and trying to access them results in an instant crash. Restrict sysreg access within the AIC driver to configurations where use_fast_ipi is true to allow AIC to function properly on A7-A10 SoCs. Co-developed-by: Nick Chan <towinchenmi@gmail.com> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Nick Chan <towinchenmi@gmail.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Sven Peter <sven@svenpeter.dev> Link: https://lore.kernel.org/all/20240901034143.12731-5-towinchenmi@gmail.com
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions