Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

alpha: Fix Eiger NR_IRQS to 128

Eiger machine vector definition has nr_irqs 128, and working 2.6.26
boot shows SCSI getting IRQ-s 64 and 65. Current kernel boot fails
because Symbios SCSI fails to request IRQ-s and does not find the disks.
It has been broken at least since 3.18 - the earliest I could test with
my gcc-5.

The headers have moved around and possibly another order of defines has
worked in the past - but since 128 seems to be correct and used, fix
arch/alpha/include/asm/irq.h to have NR_IRQS=128 for Eiger.

This fixes 4.19-rc7 boot on my Force Flexor A264 (Eiger subarch).

Cc: stable@vger.kernel.org # v3.18+
Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Matt Turner <mattst88@gmail.com>

authored by

Meelis Roos and committed by
Matt Turner
bfc91368 842fc0f5

+3 -3
+3 -3
arch/alpha/include/asm/irq.h
··· 56 56 57 57 #elif defined(CONFIG_ALPHA_DP264) || \ 58 58 defined(CONFIG_ALPHA_LYNX) || \ 59 - defined(CONFIG_ALPHA_SHARK) || \ 60 - defined(CONFIG_ALPHA_EIGER) 59 + defined(CONFIG_ALPHA_SHARK) 61 60 # define NR_IRQS 64 62 61 63 62 #elif defined(CONFIG_ALPHA_TITAN) 64 63 #define NR_IRQS 80 65 64 66 65 #elif defined(CONFIG_ALPHA_RAWHIDE) || \ 67 - defined(CONFIG_ALPHA_TAKARA) 66 + defined(CONFIG_ALPHA_TAKARA) || \ 67 + defined(CONFIG_ALPHA_EIGER) 68 68 # define NR_IRQS 128 69 69 70 70 #elif defined(CONFIG_ALPHA_WILDFIRE)