Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1576612
| From | Marc Zyngier <marc.zyngier@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] irqchip/mips-gic: Fix local interrupts |
| Date | 2017-02-08 15:20 +0100 |
| Message-ID | <t8Bgd-1nA-7@gated-at.bofh.it> (permalink) |
| References | <t3wqR-2KV-3@gated-at.bofh.it> |
| Organization | ARM Ltd |
On Wed, Jan 25 2017 at 2:08:25 pm GMT, Marcin Nowakowski <marcin.nowakowski@imgtec.com> wrote:
> Some local interrupts are not initialised properly at the moment and
> cannot be used since the domain's alloc method is never called for them.
>
> This has been observed earlier and partially fixed in commit
> e875bd66dfb ("irqchip/mips-gic: Fix local interrupts"), but that change
> still relied on the interrupt to be requested by an external driver (eg.
> drivers/clocksource/mips-gic-timer.c).
>
> This does however not solve the issue for interrupts that are not
> referenced by any driver through the device tree and results in
> request_irq() calls returning -ENOSYS. It can be observed when attempting
> to use perf tool to access hardware performance counters.
>
> Fix this by explicitly calling irq_create_fwspec_mapping() for local
> interrupts.
>
> Fixes: e875bd66dfb ("irqchip/mips-gic: Fix local interrupts")
> Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
> Cc: Paul Burton <paul.burton@imgtec.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Jason Cooper <jason@lakedaemon.net>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: linux-mips@linux-mips.org
Queued, thanks.
M.
--
Jazz is not dead, it just smell funny.
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 1/1] irqchip/mips-gic: Fix local interrupts Marc Zyngier <marc.zyngier@arm.com> - 2017-02-08 15:20 +0100
csiph-web