From: Arnd Bergmann <arnd@arndb.de>
To: linux-arm-kernel@lists.infradead.org
Cc: "Nicolas Pitre" <nicolas.pitre@linaro.org>,
"Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>,
"Måns Rullgård" <mans@mansr.com>,
"Russell King" <linux@arm.linux.org.uk>,
linux-arm-msm@vger.kernel.org,
"Stephen Boyd" <sboyd@codeaurora.org>
Subject: Re: [PATCH] ARM: Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv()
Date: Fri, 11 Dec 2015 23:48:45 +0100 [thread overview]
Message-ID: <5144827.9Y9WomU3im@wuerfel> (raw)
In-Reply-To: <alpine.LFD.2.20.1512111652330.26920@knanqh.ubzr>
On Friday 11 December 2015 17:00:50 Nicolas Pitre wrote:
> You seem to have a good grasp of the problem space. I'd suggest you make
> a patch! ;-)
Yes, I can do that once all the ARMv6/v7 multiplatform work is done, that
should at least reduce the number of special cases.
> > > > #ifdef CONFIG_CPU_PJ4B
> > > > .type __v7_pj4b_proc_info, #object
> > > > __v7_pj4b_proc_info:
> > > > .long 0x560f5800
> > > > .long 0xff0fff00
> > > > __v7_proc __v7_pj4b_proc_info, __v7_pj4b_setup, proc_fns = pj4b_processor_functions
> > > > .size __v7_pj4b_proc_info, . - __v7_pj4b_proc_info
> > > > #endif
> > > >
> > > >
> > > > Can someone have a look and tell me that I'm wrong when I read this
> > > > as matching both PJ4 and PJ4B (and PJ4B-MP)?
> > > >
> > > > Either I'm misreading this, or we do the wrong thing in configurations
> > > > that include both PJ4B (berlin, mvebu) and PJ4 (MMP2/dove).
> > >
> > > I don't have the relevant documentation to validate it. And I'd prefer
> > > if this was sorted out in a separate patch. Maybe I should just drop
> > > the PJ4 variants from this patch for now.
> >
> > To clarify: that point had nothing to do with your patch, I just think
> > I found an existing kernel bug that will cause pj4b_processor_functions
> > to be used on PJ4 (Dove, MMP2) in a kernel that includes both PJ4 and
> > PJ4B (Armada 370/XP, Berlin).
>
> OK. I'd suggest starting another thread about this to get the right
> people's attention.
I've done a preliminary patch now, will send that out.
Arnd
next prev parent reply other threads:[~2015-12-11 22:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-11 6:26 [PATCH] ARM: Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv() Nicolas Pitre
2015-12-11 9:24 ` Arnd Bergmann
2015-12-11 17:10 ` Nicolas Pitre
2015-12-11 17:22 ` Nicolas Pitre
2015-12-11 22:26 ` Arnd Bergmann
2015-12-11 23:57 ` Nicolas Pitre
2016-01-05 1:23 ` Stephen Boyd
2016-01-05 1:42 ` Nicolas Pitre
2016-01-08 2:44 ` Stephen Boyd
2016-01-12 19:09 ` Nicolas Pitre
2015-12-11 21:50 ` Arnd Bergmann
2015-12-11 22:00 ` Nicolas Pitre
2015-12-11 22:48 ` Arnd Bergmann [this message]
2015-12-11 22:34 ` Russell King - ARM Linux
2015-12-11 22:51 ` Arnd Bergmann
2015-12-12 0:01 ` Nicolas Pitre
2015-12-12 0:04 ` Arnd Bergmann
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=5144827.9Y9WomU3im@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mans@mansr.com \
--cc=nicolas.pitre@linaro.org \
--cc=sboyd@codeaurora.org \
--cc=thomas.petazzoni@free-electrons.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox