Re: [PATCH] ARM: Re-enable TRACE_IRQFLAGS_SUPPORT on ARMv7-M

From: Joachim Eastwood
Date: Wed Jun 10 2015 - 10:08:47 EST


Hi Daniel,

On 9 June 2015 at 19:37, Daniel Thompson <daniel.thompson@xxxxxxxxxx> wrote:
> On 09/06/15 16:01, Russell King - ARM Linux wrote:
>>
>> On Tue, Jun 09, 2015 at 12:41:50PM +0100, Daniel Thompson wrote:
>>>
>>> Does the following patch, which makes the arch_irqs_disabled()
>>> implementation from asm-generic available on arm, fix the build for you?
>>
>>
>> Yes, this is exactly the kind of fix for this I'm looking for. Once
>> everyone's happy with it, it can find it's way to the patch system.
>
>
> From my side, using v4.1-rc6 plus the patch, I can build all defconfigs and
> both versatile_defconfig and multi_v7_defconfig remain bootable (so both
> ways through the arch #ifdef in irqflag.h).
>
> Similarly working on linux-next-20150608 plus the patch I am able to build
> and boot Maxime's stm32 code (and show that without the patch it doesn't
> build).
>
> From my side I think that makes it good to go.

Since next didn't build for me either I applied this and it works for
the LPC18xx (Cortex-M4) platform.

Tested-by: Joachim Eastwood <manabian@xxxxxxxxx>

regards,
Joachim Eastwood
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/