All of lore.kernel.org
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5] ARM: cache-l2x0.c: save the final aux ctrl value for resuming
Date: Thu, 3 May 2012 13:59:55 +0100	[thread overview]
Message-ID: <20120503125955.GE27872@arm.com> (raw)
In-Reply-To: <1336046857-24133-1-git-send-email-ylmao@marvell.com>

On Thu, May 03, 2012 at 01:07:37PM +0100, Yilu Mao wrote:
> There is a bug if l2x0 controller has been enabled when calling
> l2x0_init, the aux ctrl register will not be saved in l2x0_saved_regs.
> Therefore we will use uninitialized l2x0_saved_regs.aux_ctrl for
> resuming later.
> 
> In this patch, the aux ctrl value is read and saved after it is
> initialized. So we have the real value being set for resuming.
> 
> Signed-off-by: Yilu Mao <ylmao@marvell.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

WARNING: multiple messages have this Message-ID (diff)
From: Catalin Marinas <catalin.marinas@arm.com>
To: Yilu Mao <ylmao@marvell.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux@arm.linux.org.uk" <linux@arm.linux.org.uk>,
	"Baohua.Song@csr.com" <Baohua.Song@csr.com>,
	"santosh.shilimkar@ti.com" <santosh.shilimkar@ti.com>,
	"robherring2@gmail.com" <robherring2@gmail.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v5] ARM: cache-l2x0.c: save the final aux ctrl value for resuming
Date: Thu, 3 May 2012 13:59:55 +0100	[thread overview]
Message-ID: <20120503125955.GE27872@arm.com> (raw)
In-Reply-To: <1336046857-24133-1-git-send-email-ylmao@marvell.com>

On Thu, May 03, 2012 at 01:07:37PM +0100, Yilu Mao wrote:
> There is a bug if l2x0 controller has been enabled when calling
> l2x0_init, the aux ctrl register will not be saved in l2x0_saved_regs.
> Therefore we will use uninitialized l2x0_saved_regs.aux_ctrl for
> resuming later.
> 
> In this patch, the aux ctrl value is read and saved after it is
> initialized. So we have the real value being set for resuming.
> 
> Signed-off-by: Yilu Mao <ylmao@marvell.com>

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

  reply	other threads:[~2012-05-03 12:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-03 12:07 [PATCH v5] ARM: cache-l2x0.c: save the final aux ctrl value for resuming Yilu Mao
2012-05-03 12:07 ` Yilu Mao
2012-05-03 12:59 ` Catalin Marinas [this message]
2012-05-03 12:59   ` Catalin Marinas
2012-05-03 13:02   ` Yilu Mao
2012-05-03 13:02     ` Yilu Mao

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=20120503125955.GE27872@arm.com \
    --to=catalin.marinas@arm.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.