public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 18/23] ARM: Implement non-cached memory support
Date: Thu, 18 Dec 2014 21:17:49 +0100	[thread overview]
Message-ID: <20141218211749.66b77fb0@lilith> (raw)
In-Reply-To: <CAPnjgZ1nqFtFDdxiQW1MiU0u1DqH92gFQPf7-Qf3q=9N6K82hg@mail.gmail.com>

Hello Simon,

On Wed, 10 Dec 2014 08:03:29 -0700, Simon Glass <sjg@chromium.org>
wrote:
> Hi Albert,
> 
> On 9 December 2014 at 22:25, Simon Glass <sjg@chromium.org> wrote:
> > From: Thierry Reding <treding@nvidia.com>
> >
> > Implement an API that can be used by drivers to allocate memory from a
> > pool that is mapped uncached. This is useful if drivers would otherwise
> > need to do extensive cache maintenance (or explicitly maintaining the
> > cache isn't safe).
> >
> > The API is protected using the new CONFIG_SYS_NONCACHED_MEMORY setting.
> > Boards can set this to the size to be used for the non-cached area. The
> > area will typically be right below the malloc() area, but architectures
> > should take care of aligning the beginning and end of the area to honor
> > any mapping restrictions. Architectures must also ensure that mappings
> > established for this area do not overlap with the malloc() area (which
> > should remain cached for improved performance).
> >
> > While the API is currently only implemented for ARM v7, it should be
> > generic enough to allow other architectures to implement it as well.
> >
> > Signed-off-by: Thierry Reding <treding@nvidia.com>
> > Signed-off-by: Simon Glass <sjg@chromium.org>
> > ---
> >
> > Changes in v4: None
> > Changes in v3:
> > - Avoid build error with noncached_init() when the dcache is disabled
> >
> >  README                        | 19 +++++++++++++++++++
> >  arch/arm/include/asm/system.h |  5 +++++
> >  arch/arm/lib/cache.c          | 44 +++++++++++++++++++++++++++++++++++++++++++
> >  common/board_r.c              | 11 +++++++++++
> >  4 files changed, 79 insertions(+)
> 
> I think you have applied the other cache patches. Are you OK with this
> one? I would like to get this series applied very soon (after DM I2C)
> as it's been around since August.

This is delegated to Tom Warren in Patchwork. I'm delegating it to
myself and applying it; if Tom has applied it too, this should not
cause a major merge issue.

Amicalement,
-- 
Albert.

  reply	other threads:[~2014-12-18 20:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10  5:25 [U-Boot] [PATCH v4 0/23] ARM: tegra: Add PCIe support Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 01/23] power: Add AMS AS3722 PMIC support Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 02/23] ARM: tegra: Implement tegra_plle_enable() Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 03/23] ARM: tegra: Provide PCIEXCLK reset ID Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 04/23] ARM: tegra: Implement powergate support Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 05/23] ARM: tegra: Implement XUSB pad controller Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 06/23] ARM: tegra: Add XUSB pad controller on Tegra124 Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 07/23] ARM: tegra: Enable XUSB pad controller on Jetson TK1 Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 08/23] pci: tegra: Add Tegra PCIe driver Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 09/23] ARM: tegra: Add Tegra20 PCIe device tree node Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 10/23] ARM: tegra: Enable PCIe on TrimSlice Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 11/23] ARM: tegra: Add GIC for Tegra30 Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 12/23] ARM: tegra: Add Tegra30 PCIe device tree node Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 13/23] ARM: tegra: Enable PCIe on Cardhu Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 14/23] ARM: tegra: Enable PCIe on Beaver Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 15/23] ARM: tegra: Add GIC for Tegra124 Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 16/23] ARM: tegra: Add Tegra124 PCIe device tree node Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 17/23] ARM: tegra: Enable PCIe on Jetson TK1 Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 18/23] ARM: Implement non-cached memory support Simon Glass
2014-12-10 15:03   ` Simon Glass
2014-12-18 20:17     ` Albert ARIBAUD [this message]
2014-12-18 20:39       ` Simon Glass
     [not found]         ` <8e4d45a0266245de9bad5dde5f1d24bd@HQMAIL103.nvidia.com>
2014-12-19  7:02           ` Albert ARIBAUD
2014-12-29 19:39             ` Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 19/23] ARM: tegra: Enable non-cached memory Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 20/23] net: rtl8169: Honor CONFIG_SYS_RX_ETH_BUFFER Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 21/23] net: rtl8169: Properly align buffers Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 22/23] net: rtl8169: Use non-cached memory if available Simon Glass
2014-12-10  5:25 ` [U-Boot] [PATCH v4 23/23] net: rtl8169: Add support for RTL-8168/8111g Simon Glass
2014-12-17  2:10 ` [U-Boot] [PATCH v4 0/23] ARM: tegra: Add PCIe support Simon Glass

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=20141218211749.66b77fb0@lilith \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /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