From: daniel.thompson@linaro.org (Daniel Thompson)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3.17-rc4 v7 0/6] arm: Implement arch_trigger_all_cpu_backtrace
Date: Tue, 04 Nov 2014 17:05:25 +0000 [thread overview]
Message-ID: <54590755.1070204@linaro.org> (raw)
In-Reply-To: <543F90ED.5030005@linaro.org>
On 16/10/14 10:33, Daniel Thompson wrote:
>> The blocker on this work right now is the annoying Versatile Express
>> platform, which pretty much means that we currently can't push the
>> code into the GIC to support FIQs. As long as adding FIQ support to
>> the GIC results in the Versatile Express becoming non-bootable, the
>> idea of using FIQs is a total non-starter.
>>
>> Or we decide that we dump the platform completely (which will upset
>> a number of developers.)
>>
>> I have patches I'm using for trigger_all_cpu_backtrace() which I'm
>> maintaining privately in my tree until we can get the FIQ situation
>> sorted.
>
> I do hope to gain (remote) access to a vexpress at some point just to
> pick at this issue a little.
This week with the help of one of my colleagues (thanks Tixy) I have
been able to run some tests and figure out what it going on on vexpress-a9.
The summary is that on some GICv1 implementations the bit to enable
group 1 interrupts cannot be accessed using secure memory accesses. More
specifically the presence/absence of the EnableGrp1 bit in the secure
version GICD_CTRL register is implementation defined.
My original patches overlooked this and as a result the existing code
will migrate all interrupts to group but then cannot enable delivery of
group 1 interrupts.
I'm planning to respin the code so it will automatically disable FIQ
support when the EnableGrp1 bit is not implemented. This means
vexpress-a9 will not benefit from FIQ support but will also not be
harmed by it.
WARNING: multiple messages have this Message-ID (diff)
From: Daniel Thompson <daniel.thompson@linaro.org>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>,
Daniel Drake <drake@endlessm.com>
Cc: linaro-kernel@lists.linaro.org, patches@linaro.org,
Linux Kernel <linux-kernel@vger.kernel.org>,
John Stultz <john.stultz@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
Sumit Semwal <sumit.semwal@linaro.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
Jon Medhurst <tixy@linaro.org>,
Marc Zyngier <marc.zyngier@arm.com>
Subject: Re: [PATCH 3.17-rc4 v7 0/6] arm: Implement arch_trigger_all_cpu_backtrace
Date: Tue, 04 Nov 2014 17:05:25 +0000 [thread overview]
Message-ID: <54590755.1070204@linaro.org> (raw)
In-Reply-To: <543F90ED.5030005@linaro.org>
On 16/10/14 10:33, Daniel Thompson wrote:
>> The blocker on this work right now is the annoying Versatile Express
>> platform, which pretty much means that we currently can't push the
>> code into the GIC to support FIQs. As long as adding FIQ support to
>> the GIC results in the Versatile Express becoming non-bootable, the
>> idea of using FIQs is a total non-starter.
>>
>> Or we decide that we dump the platform completely (which will upset
>> a number of developers.)
>>
>> I have patches I'm using for trigger_all_cpu_backtrace() which I'm
>> maintaining privately in my tree until we can get the FIQ situation
>> sorted.
>
> I do hope to gain (remote) access to a vexpress at some point just to
> pick at this issue a little.
This week with the help of one of my colleagues (thanks Tixy) I have
been able to run some tests and figure out what it going on on vexpress-a9.
The summary is that on some GICv1 implementations the bit to enable
group 1 interrupts cannot be accessed using secure memory accesses. More
specifically the presence/absence of the EnableGrp1 bit in the secure
version GICD_CTRL register is implementation defined.
My original patches overlooked this and as a result the existing code
will migrate all interrupts to group but then cannot enable delivery of
group 1 interrupts.
I'm planning to respin the code so it will automatically disable FIQ
support when the EnableGrp1 bit is not implemented. This means
vexpress-a9 will not benefit from FIQ support but will also not be
harmed by it.
next prev parent reply other threads:[~2014-11-04 17:05 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-17 16:10 [PATCH 3.17-rc4 v7 0/6] arm: Implement arch_trigger_all_cpu_backtrace Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-09-17 16:10 ` [PATCH 3.17-rc4 v7 1/6] ARM: remove unused do_unexp_fiq() function Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-09-17 16:10 ` [PATCH 3.17-rc4 v7 2/6] arm: fiq: Replace default FIQ handler Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-09-17 16:10 ` [PATCH 3.17-rc4 v7 3/6] arm64: Introduce dummy version of asm/fiq.h Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-09-22 9:16 ` Catalin Marinas
2014-09-22 9:16 ` Catalin Marinas
2014-09-17 16:10 ` [PATCH 3.17-rc4 v7 4/6] irqchip: gic: Add support for IPI FIQ Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-09-17 18:51 ` Russell King - ARM Linux
2014-09-17 18:51 ` Russell King - ARM Linux
2014-09-17 20:12 ` Daniel Thompson
2014-09-17 20:12 ` Daniel Thompson
2014-09-17 21:07 ` Russell King - ARM Linux
2014-09-17 21:07 ` Russell King - ARM Linux
2014-09-18 7:48 ` Russell King - ARM Linux
2014-09-18 7:48 ` Russell King - ARM Linux
2014-09-18 21:46 ` Marc Zyngier
2014-09-18 21:46 ` Marc Zyngier
2014-09-18 8:17 ` Russell King - ARM Linux
2014-09-18 8:17 ` Russell King - ARM Linux
2014-09-18 21:20 ` Daniel Thompson
2014-09-18 21:20 ` Daniel Thompson
2014-09-17 16:10 ` [PATCH 3.17-rc4 v7 5/6] ARM: add basic support for on-demand backtrace of other CPUs Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-09-17 16:10 ` [PATCH 3.17-rc4 v7 6/6] arm: smp: Handle ipi_cpu_backtrace() using FIQ (if available) Daniel Thompson
2014-09-17 16:10 ` Daniel Thompson
2014-10-14 22:37 ` [PATCH 3.17-rc4 v7 0/6] arm: Implement arch_trigger_all_cpu_backtrace Daniel Drake
2014-10-14 22:37 ` Daniel Drake
2014-10-14 23:31 ` Russell King - ARM Linux
2014-10-14 23:31 ` Russell King - ARM Linux
2014-10-16 9:33 ` Daniel Thompson
2014-10-16 9:33 ` Daniel Thompson
2014-11-04 17:05 ` Daniel Thompson [this message]
2014-11-04 17:05 ` Daniel Thompson
2014-11-04 17:19 ` Russell King - ARM Linux
2014-11-04 17:19 ` Russell King - ARM Linux
2014-10-16 9:23 ` Daniel Thompson
2014-10-16 9:23 ` Daniel Thompson
2014-10-16 12:23 ` Russell King - ARM Linux
2014-10-16 12:23 ` Russell King - ARM Linux
2014-10-16 13:15 ` Daniel Thompson
2014-10-16 13:15 ` Daniel Thompson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54590755.1070204@linaro.org \
--to=daniel.thompson@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.