[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <alpine.LFD.2.00.1103011858370.6799@xanadu.home>
Date: Tue, 01 Mar 2011 19:02:27 -0500 (EST)
From: Nicolas Pitre <nico@...xnic.net>
To: Saravana Kannan <skannan@...eaurora.org>
Cc: Will Deacon <will.deacon@....com>,
David Brown <davidb@...eaurora.org>,
Russell King - ARM Linux <linux@....linux.org.uk>,
linux-arm-msm@...r.kernel.org, Stephen Boyd <sboyd@...eaurora.org>,
lkml <linux-kernel@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/4] msm: scm: Fix improper register assignment
On Tue, 1 Mar 2011, Saravana Kannan wrote:
> On 03/01/2011 02:37 AM, Will Deacon wrote:
> > Perhaps a more robust fix would be to remove the register int
> > declarations and handle the parameter marshalling in the same asm block
> > that contains the smc?
>
> I was thinking the same, but the opposing idea I heard was that not doing it
> inside the asm block would allow GCC to be make better use of the registers.
Indeed. And a significant body of code out there does rely on this gcc
feature, so it has to minimally work.
> Didn't have a strong opinion either way, so we went with the implementation
> that was sent out.
ACK.
Nicolas
--
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