Re: [PATCH] sh: Avoid using IRQ0 on SH3 and SH4

From: John Paul Adrian Glaubitz
Date: Wed Jul 12 2023 - 11:51:44 EST


Hi!

On Wed, 2023-07-12 at 08:38 -0700, Guenter Roeck wrote:
> >
> > Not only x86, IIRC.
> > Have you seen the commit below?
> >
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce753ad1549cbe9ccaea4c06a1f5fa47432c8289
> >
>
> Quoting:
>
> using IRQ0 is considered invalid (according to Linus) outside the arch/ code
> ^^^^^^^^^^^^^^^^^^^^^^
>
> The changes here were made _in_ the arch code. While there may be valid
> arguments for doing that, quoting the above commit as reason isn't really
> sufficient.

Well, the changes we made inside arch/sh were necessary to achieve the desired
effects in the code in drivers such as the SM501 controller or the SH companion
chips.

Adrian

--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913