From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: linux-next: manual merge of the arm-soc tree with the tree Date: Tue, 27 May 2014 10:49:32 -0700 Message-ID: <20140527174932.GB18063@atomide.com> References: <20140527104526.5c6f819e@canb.auug.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:51554 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751372AbaE0Rto (ORCPT ); Tue, 27 May 2014 13:49:44 -0400 Content-Disposition: inline In-Reply-To: <20140527104526.5c6f819e@canb.auug.org.au> Sender: linux-next-owner@vger.kernel.org List-ID: To: Stephen Rothwell Cc: Olof Johansson , Arnd Bergmann , linux-arm-kernel@lists.infradead.org, Russell King , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Victor Kamensky , Taras Kondratiuk * Stephen Rothwell [140526 17:46]: > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > arch/arm/mach-omap2/omap-mpuss-lowpower.c between commit 4e4bb5c72f6b > ("ARM: l2c: omap2: avoid reading directly from the L2 registers in > platform code") from the arm tree and commit edfaf05c2fcb ("ARM: > OMAP2+: raw read and write endian fix") from the arm-soc tree. > > I fixed it up (see below) and can carry the fix as necessary (no action > is required). OK thanks. FYI, looks like for this one the subject is missing which tree it conflicts with. Regards, Tony > --- a/arch/arm/mach-omap2/omap-mpuss-lowpower.c > +++ b/arch/arm/mach-omap2/omap-mpuss-lowpower.c > @@@ -187,15 -187,19 +187,15 @@@ static void l2x0_pwrst_prepare(unsigne > * in every restore MPUSS OFF path. > */ > #ifdef CONFIG_CACHE_L2X0 > -static void save_l2x0_context(void) > +static void __init save_l2x0_context(void) > { > - __raw_writel(l2x0_saved_regs.aux_ctrl, > - sar_base + L2X0_AUXCTRL_OFFSET); > - __raw_writel(l2x0_saved_regs.prefetch_ctrl, > - sar_base + L2X0_PREFETCH_CTRL_OFFSET); > - u32 val; > - void __iomem *l2x0_base = omap4_get_l2cache_base(); > - if (l2x0_base) { > - val = readl_relaxed(l2x0_base + L2X0_AUX_CTRL); > - writel_relaxed(val, sar_base + L2X0_AUXCTRL_OFFSET); > - val = readl_relaxed(l2x0_base + L2X0_PREFETCH_CTRL); > - writel_relaxed(val, sar_base + L2X0_PREFETCH_CTRL_OFFSET); > - } > ++ writel_relaxed(l2x0_saved_regs.aux_ctrl, > ++ sar_base + L2X0_AUXCTRL_OFFSET); > ++ writel_relaxed(l2x0_saved_regs.prefetch_ctrl, > ++ sar_base + L2X0_PREFETCH_CTRL_OFFSET); > } > #else > -static void save_l2x0_context(void) > +static void __init save_l2x0_context(void) > {} > #endif >