RE: [PATCH] sh: Avoid using IRQ0 on SH3 and SH4
David Laight <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
From: John Paul Adrian Glaubitz > Sent: 09 July 2023 00:13 .... > Looking at arch/sh/boards/mach-r2d/irq.c, there is some IRQ translation going > on and maybe that's the part where we need to correct the offset by 16? Would it be less problematic to use (say) 16 for IRQ_0 leaving IRQ_1+ as 1+ ? At least that would only cause issues for code that needed to use IRQ_0. (It has to be said that making IRQ 0 invalid seemed wrong to me. x86 (IBM PC) gets away with it because IRQ 0 is always assigned to platform specific hardware.) David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)