From: Russell King - ARM Linux <linux@arm.linux.org.uk>
To: Stephen Warren <swarren@wwwdotorg.org>
Cc: Andrew Lunn <andrew@lunn.ch>,
kernel@stlinux.com, Linus Walleij <linus.walleij@linaro.org>,
Gregory Clement <gregory.clement@free-electrons.com>,
Thierry Reding <thierry.reding@gmail.com>,
Heiko Stuebner <heiko@sntech.de>, Rob Herring <robh@kernel.org>,
linux-samsung-soc@vger.kernel.org,
Michal Simek <michal.simek@xilinx.com>,
bcm-kernel-feedback-list@broadcom.com,
Shawn Guo <shawn.guo@freescale.com>,
Dinh Nguyen <dinguyen@altera.com>,
Alessandro Rubini <rubini@unipv.it>,
Jason Cooper <jason@lakedaemon.net>,
Hauke Mehrtens <hauke@hauke-m.de>,
Matt Porter <mporter@linaro.org>,
Kukjin Kim <kgene.kim@samsung.com>,
linux-tegra@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Maxime Coquelin <maxime.coquelin@st.com>,
Barry Song <baohua@kernel.org>,
Srinivas Kandagatla <srinivas.kandagatla@gmail.com>,
Christian Daudt <bcm@fixthebug.org>,
Patrice Chotard <patrice.chotard@>
Subject: Re: [PATCH 00/16] Another 16 L2C patches
Date: Mon, 28 Apr 2014 18:39:43 +0100 [thread overview]
Message-ID: <20140428173943.GN26756@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <535E8F6D.9000803@wwwdotorg.org>
On Mon, Apr 28, 2014 at 11:27:09AM -0600, Stephen Warren wrote:
> On 04/28/2014 11:12 AM, Stephen Warren wrote:
> > On 04/28/2014 10:56 AM, Russell King - ARM Linux wrote:
> >> So, in response to Matt Porter's complaint about breaking prima2, here's
> >> another 16 patches which changes the way the L2 cache is initialised on
> >> many platforms. This series moves towards a situation where the generic
> >> code initialises the L2 cache itself, with as little help as possible
> >> from board specific code.
> >>
> >> A number of platforms are left alone because they're more complex -
> >> these should still eventually be converted.
> >>
> >> At some point in the near future, I will see about sorting out their
> >> ordering wrt the previous patch set. For the time being, they apply
> >> on top of the existing l2c changes.
> >
> > Are "the existing l2c changes" in next-20140428? If not, is there a git
> > branch I can pull to test the whole thing, rather than tracking down and
> > applying "the existing l2c changes" first?
>
> I guess they must be in linux-next, since this series applies cleanly on
> top of it.
>
> So, patches 2/16 ("ARM: l2c: add platform independent core L2 cache
> initialisation") and 7/16 ("ARM: l2c: convert tegra to generic l2c
> initialisation"),
>
> Tested-by: Stephen Warren <swarren@nvidia.com>
>
> (On an NVIDIA Tegra20 Seaboard/Springbank board, on top of next-20140428)
>
> I do see one error in dmesg during boot, but it doesn't appear to
> negatively affect operation in brief testing, and is present in
> linux-next without this series anyway. Is this message a problem?
>
> > [ 0.000000] L2C: platform modifies aux control register: 0x02080000 -> 0x3e480001
> > [ 0.000000] L2C: DT/platform modifies aux control register: 0x02080000 -> 0x3e480001
> > [ 0.000000] L2C-310 errata 727915 769419 enabled
> > [ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
> > [ 0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
> ^^^^^^ this is logged at error level
Correct, it's an error because on Tegra you explicitly set bit 0 in the
auxiliary control register, which is pointless unless the feature is
also enabled in the Cortex-A9 control register as well.
Rather than trying to track down everyone who does this, and then end
up in a long discussion about it, I'm just going to make the kernel
print an error message as a result, it's just wrong to set random bits
in device control registers without first properly understanding what
they're doing.
--
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
next prev parent reply other threads:[~2014-04-28 17:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-28 16:56 [PATCH 00/16] Another 16 L2C patches Russell King - ARM Linux
2014-04-28 16:58 ` [PATCH 14/16] ARM: l2c: convert exynos to generic l2c initialisation (and thereby fix it) Russell King
2014-04-28 17:12 ` [PATCH 00/16] Another 16 L2C patches Stephen Warren
2014-04-28 17:27 ` Stephen Warren
2014-04-28 17:39 ` Russell King - ARM Linux [this message]
2014-04-28 19:00 ` Heiko Stübner
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=20140428173943.GN26756@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=andrew@lunn.ch \
--cc=baohua@kernel.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=bcm@fixthebug.org \
--cc=dinguyen@altera.com \
--cc=gregory.clement@free-electrons.com \
--cc=hauke@hauke-m.de \
--cc=heiko@sntech.de \
--cc=jason@lakedaemon.net \
--cc=kernel@stlinux.com \
--cc=kgene.kim@samsung.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=maxime.coquelin@st.com \
--cc=michal.simek@xilinx.com \
--cc=mporter@linaro.org \
--cc=robh@kernel.org \
--cc=rubini@unipv.it \
--cc=shawn.guo@freescale.com \
--cc=srinivas.kandagatla@gmail.com \
--cc=swarren@wwwdotorg.org \
--cc=thierry.reding@gmail.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