[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87sgk4naqh.fsf@nanos.tec.linutronix.de>
Date: Fri, 24 Jan 2020 16:19:02 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: Hans de Goede <hdegoede@...hat.com>,
Mika Westerberg <mika.westerberg@...ux.intel.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Linus Walleij <linus.walleij@...aro.org>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H . Peter Anvin" <hpa@...or.com>
Cc: Hans de Goede <hdegoede@...hat.com>, linux-gpio@...r.kernel.org,
linux-acpi@...r.kernel.org, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject: Re: [RFC v2] x86: Select HARDIRQS_SW_RESEND on x86
Hans,
Hans de Goede <hdegoede@...hat.com> writes:
>
> The Intel GPIO controllers do not allow implementing irq_retrigger without
> emulating it in software, at which point we are better of just using the
> generic HARDIRQS_SW_RESEND mechanism rather then re-implementing software
> emulation for this separately in aprox. 14 different pinctrl drivers.
Indeed.
> I'm sending this out as a RFC since I'm not %100 sure this is the best
> solution and it seems like a somewhat big change to make.
It's not that bad. The only affected interrupt chips on x86 should be
secondary interrupt chips like the GPIO controller.
ioapic/msi/... have irq_retrigger() functionality, so it won't do the
software resend.
I just need to stare at the legacy PIC and the virt stuff.
> Also maybe we should add a Cc: stable@...r.kernel.org ??? This seems like
> somewhat a big change for that but it does solve some real issues...
Yes. Let me stare at the couple of weird irqchips which might get
surprised. I'll teach them not to do that :)
Thanks,
tglx
Powered by blists - more mailing lists