[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <836653f04f526333e8dbd45361329731f8dfe2ea.camel@alliedtelesis.co.nz>
Date: Mon, 26 Aug 2019 00:46:44 +0000
From: Chris Packham <Chris.Packham@...iedtelesis.co.nz>
To: "linux@...linux.org.uk" <linux@...linux.org.uk>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"robh+dt@...nel.org" <robh+dt@...nel.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"james.morse@....com" <james.morse@....com>,
"mchehab@...nel.org" <mchehab@...nel.org>,
"mark.rutland@....com" <mark.rutland@....com>,
"gregory.clement@...e-electrons.com"
<gregory.clement@...e-electrons.com>,
"jlu@...gutronix.de" <jlu@...gutronix.de>,
"bp@...en8.de" <bp@...en8.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"patches@...linux.org.uk" <patches@...linux.org.uk>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>
Subject: Re: [PATCH v9 1/8] ARM: aurora-l2: add prefix to MAX_RANGE_SIZE
Hi Russell,
On Fri, 2019-08-23 at 11:50 +0100, Russell King - ARM Linux admin
wrote:
> On Fri, Aug 23, 2019 at 11:46:21AM +0100, Russell King - ARM Linux
> admin wrote:
> > On Fri, Jul 12, 2019 at 03:48:57PM +1200, Chris Packham wrote:
> > > From: Jan Luebbe <jlu@...gutronix.de>
> > >
> > > The macro name is too generic, so add a AURORA_ prefix.
> > >
> > > Signed-off-by: Jan Luebbe <jlu@...gutronix.de>
> > > Reviewed-by: Gregory CLEMENT <gregory.clement@...e-electrons.com>
> > > Signed-off-by: Chris Packham <chris.packham@...iedtelesis.co.nz>
> > > ---
> > > arch/arm/include/asm/hardware/cache-aurora-l2.h | 2 +-
> >
> > I can't apply this series - this file does not exist in my tree,
> > and
> > from what git tells me, it never has existed. Maybe it's in
> > someone
> > elses tree?
>
> I think the file is in my tree, just as arch/arm/mm/cache-aurora-l2.h
> which is where it has been since it was originally submitted in 2012.
>
Sorry there is a missing patch that moves it next to the
hardware/cache-*.h. I can send the missing patch or I can re-send the
whole series. If I do send the whole series do you want me to rebase it
against a particular tag/tree?
> >
> > > arch/arm/mm/cache-l2x0.c | 4 ++--
> > > 2 files changed, 3 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/arch/arm/include/asm/hardware/cache-aurora-l2.h
> > > b/arch/arm/include/asm/hardware/cache-aurora-l2.h
> > > index c86124769831..dc5c479ec4c3 100644
> > > --- a/arch/arm/include/asm/hardware/cache-aurora-l2.h
> > > +++ b/arch/arm/include/asm/hardware/cache-aurora-l2.h
> > > @@ -41,7 +41,7 @@
> > > #define AURORA_ACR_FORCE_WRITE_THRO_POLICY \
> > > (2 << AURORA_ACR_FORCE_WRITE_POLICY_OFFSET)
> > >
> > > -#define MAX_RANGE_SIZE 1024
> > > +#define AURORA_MAX_RANGE_SIZE 1024
> > >
> > > #define AURORA_WAY_SIZE_SHIFT 2
> > >
> > > diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c
> > > index 428d08718107..83b733a1f1e6 100644
> > > --- a/arch/arm/mm/cache-l2x0.c
> > > +++ b/arch/arm/mm/cache-l2x0.c
> > > @@ -1352,8 +1352,8 @@ static unsigned long
> > > aurora_range_end(unsigned long start, unsigned long end)
> > > * since cache range operations stall the CPU pipeline
> > > * until completion.
> > > */
> > > - if (end > start + MAX_RANGE_SIZE)
> > > - end = start + MAX_RANGE_SIZE;
> > > + if (end > start + AURORA_MAX_RANGE_SIZE)
> > > + end = start + AURORA_MAX_RANGE_SIZE;
> > >
> > > /*
> > > * Cache range operations can't straddle a page boundary.
> > > --
> > > 2.22.0
> > >
> > >
> >
> > --
> > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> > FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down
> > 622kbps up
> > According to speedtest.net: 11.9Mbps down 500kbps up
>
>
Powered by blists - more mailing lists