[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150623214818.GF7557@n2100.arm.linux.org.uk>
Date: Tue, 23 Jun 2015 22:48:18 +0100
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Paul Osmialowski <pawelo@...g.net.pl>
Cc: Arnd Bergmann <arnd@...db.de>, Olof Johansson <olof@...om.net>,
Uwe Kleine-Koenig <u.kleine-koenig@...gutronix.de>,
Catalin Marinas <catalin.marinas@....com>,
Dave Martin <Dave.Martin@....com>,
Mark Rutland <mark.rutland@....com>,
Pawel Moll <pawel.moll@....com>, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Yuri Tikhonov <yur@...raft.com>,
Sergei Poselenov <sposelenov@...raft.com>,
Dmitry Cherkassov <d_cherkasov@...raft.com>,
Alexander Potashev <aspotashev@...raft.com>
Subject: Re: [PATCH 1/9] arm: select different compiler flags for ARM CortexM3
On Tue, Jun 23, 2015 at 11:19:39PM +0200, Paul Osmialowski wrote:
> This one is inspired by two commits published on Emcraft git repo:
>
> https://github.com/EmcraftSystems/linux-emcraft.git
>
> 1) 6302b692f570ff9d5645a6e72c11f87b0c1aa409
> RT #62654. Fixed kernel crashes while running httpd by enabling
> "-mfix-cortex-m3-ldrd" compiler option, which prevents compiler from
> generating code like 'ldrd Ra, Rb, [Ra, #Imm]' - according to the 602117
> Cortex-M3 Errata it may result in incorrect base register when interrupted
> or faulted.
>
> by: Yuri Tikhonov <yur@...raft.com>
>
> 2) 359d3cda84c01c0f3fae1a519b97a31f318f57ab
> RT #62654. Removed "--march=..." leaving only "-mcpu=cortex-m3" to make
> sure only the correct instructions will be generated.
>
> by: Sergei Poselenov <sposelenov@...raft.com>
>
> I reworked these patches to make them less intrusive.
>
> Signed-off-by: Paul Osmialowski <pawelo@...g.net.pl>
NAK.
The EFM32 code already added core support for Cortex-M3 cores, under
the symbol CPU_V7M. Rather than implementing a whole new set of
Cortex-M3 support alongside the existing code, please work with the
EFM32 maintainer (Uwe Kleine-König) to come up with a common set of
core changes that you can all agree on for Cortex-M3.
Please also try to be a little smarter with whom you're sending your
patches to, the Cc list looks to be excessively long - having soo many
recipients on your message is a good way to get your message rejected
by mailing lists as spam.
--
FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists