All of lore.kernel.org
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: CACHE-L2X0: filter start address can be 0 and is often 0
Date: Tue, 13 Sep 2011 08:50:56 -0500	[thread overview]
Message-ID: <4E6F5FC0.20806@gmail.com> (raw)
In-Reply-To: <1315895573-30765-1-git-send-email-Baohua.Song@csr.com>

On 09/13/2011 01:32 AM, Barry Song wrote:
> Cc: Rob Herring <robherring2@gmail.com>
> Cc: Shawn Guo <shawn.guo@linaro.org>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Barry Song <Baohua.Song@csr.com>

Acked-by: Rob Herring <rob.herring@calxeda.com>

> ---
>  arch/arm/mm/cache-l2x0.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c
> index a780448..0d85d22 100644
> --- a/arch/arm/mm/cache-l2x0.c
> +++ b/arch/arm/mm/cache-l2x0.c
> @@ -437,7 +437,7 @@ static void __init pl310_of_setup(const struct device_node *np,
>  
>  	of_property_read_u32_array(np, "arm,filter-ranges",
>  				   filter, ARRAY_SIZE(filter));
> -	if (filter[0] && filter[1]) {
> +	if (filter[1]) {
>  		writel_relaxed(ALIGN(filter[0] + filter[1], SZ_1M),
>  			       l2x0_base + L2X0_ADDR_FILTER_END);
>  		writel_relaxed((filter[0] & ~(SZ_1M - 1)) | L2X0_ADDR_FILTER_EN,

      reply	other threads:[~2011-09-13 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-13  6:32 [PATCH] ARM: CACHE-L2X0: filter start address can be 0 and is often 0 Barry Song
2011-09-13 13:50 ` Rob Herring [this message]

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=4E6F5FC0.20806@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.