From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5D50C3A5A2 for ; Fri, 23 Aug 2019 10:50:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88AB2233A2 for ; Fri, 23 Aug 2019 10:50:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="CxWQdIMr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="k4J1jLt5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 88AB2233A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=5D2sA5INJzKy/kyYMZ7q/Sov7MvwKHVAzfzr5ZEwFPs=; b=CxWQdIMrp/wgmG gyxqaKFeYeOA30/BX1fUU+xUoWThy9dTNhBmVk80E8top0bXsXnsZZkcKfK5qBXRv7D5gsniBo4MZ 67fVtOkC7jfMFs0massHnDsHew/I838FGIN2dz2XBIdPHr/EEmCgusG7FS6YZRvW/F5hawyGXX3kL tlUZ25ZJJ2S3K9xiNKZAu80pdH3lnUJvBL7+huQ44LU7iQ/CSut50JazicxWNT2OyqIzs5QRh72Zc 83dvM7vyICeiZzzc9Da7xbWNM8lDosA8wL6pab/l1MSPKFGfCUgX89FeY9XV9PAbktQVfl5+pXZ2W zjF5sW7fnLtbuJtPQR2g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i179X-0006z7-05; Fri, 23 Aug 2019 10:50:43 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:3201:214:fdff:fe10:1be6]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i179T-0006yE-Tw for linux-arm-kernel@lists.infradead.org; Fri, 23 Aug 2019 10:50:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WkOQCblr80QvbCUn50ub1k7R9QW4QXimQCrstjhJulY=; b=k4J1jLt5xf5Toe+k9bx1wwguJ vYlPNgJrJp7Xj6lXdkaSZp0zW62cVygjuvPjUtNzwK8aaZK1N0u0FadQyAIeqLP0mOGgnYHcLetlG TOo8DaK5OvHqipsTSTfwPqSnjyqWl+QYpdKWm/xKpwlzcWReb+8Q4PWf4j0MW7h5hVZ1mo7Rw5bzR xx9ClQNRWKxgB5LvwGo4YlI3K7mnoDuQ/y8Vv1eTHN8OLb09sX/rsVUl1qEqNPoWsUQxPbJSjzjc/ HFpJ8CYTvTc7S2oWL5Zlul/F72cyK/yPX1BUZPiTX24VSUl4I80o0potbMpKuZ2XFO3sixXngqmB4 35GAnc6Fg==; Received: from shell.armlinux.org.uk ([2002:4e20:1eda:1:5054:ff:fe00:4ec]:55914) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1i179G-0004B2-0g; Fri, 23 Aug 2019 11:50:26 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1i179A-0000B7-JJ; Fri, 23 Aug 2019 11:50:20 +0100 Date: Fri, 23 Aug 2019 11:50:20 +0100 From: Russell King - ARM Linux admin To: Chris Packham Subject: Re: [PATCH v9 1/8] ARM: aurora-l2: add prefix to MAX_RANGE_SIZE Message-ID: <20190823105020.GZ13294@shell.armlinux.org.uk> References: <20190712034904.5747-1-chris.packham@alliedtelesis.co.nz> <20190712034904.5747-2-chris.packham@alliedtelesis.co.nz> <20190823104621.GY13294@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190823104621.GY13294@shell.armlinux.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190823_035039_968915_67812D4D X-CRM114-Status: GOOD ( 20.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, jlu@pengutronix.de, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, james.morse@arm.com, Gregory CLEMENT , bp@alien8.de, mchehab@kernel.org, linux-arm-kernel@lists.infradead.org, patches@armlinux.org.uk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Aug 23, 2019 at 11:46:21AM +0100, Russell King - ARM Linux admin wrote: > On Fri, Jul 12, 2019 at 03:48:57PM +1200, Chris Packham wrote: > > From: Jan Luebbe > > > > The macro name is too generic, so add a AURORA_ prefix. > > > > Signed-off-by: Jan Luebbe > > Reviewed-by: Gregory CLEMENT > > Signed-off-by: Chris Packham > > --- > > arch/arm/include/asm/hardware/cache-aurora-l2.h | 2 +- > > I can't apply this series - this file does not exist in my tree, and > from what git tells me, it never has existed. Maybe it's in someone > elses tree? I think the file is in my tree, just as arch/arm/mm/cache-aurora-l2.h which is where it has been since it was originally submitted in 2012. > > > arch/arm/mm/cache-l2x0.c | 4 ++-- > > 2 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/arch/arm/include/asm/hardware/cache-aurora-l2.h b/arch/arm/include/asm/hardware/cache-aurora-l2.h > > index c86124769831..dc5c479ec4c3 100644 > > --- a/arch/arm/include/asm/hardware/cache-aurora-l2.h > > +++ b/arch/arm/include/asm/hardware/cache-aurora-l2.h > > @@ -41,7 +41,7 @@ > > #define AURORA_ACR_FORCE_WRITE_THRO_POLICY \ > > (2 << AURORA_ACR_FORCE_WRITE_POLICY_OFFSET) > > > > -#define MAX_RANGE_SIZE 1024 > > +#define AURORA_MAX_RANGE_SIZE 1024 > > > > #define AURORA_WAY_SIZE_SHIFT 2 > > > > diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c > > index 428d08718107..83b733a1f1e6 100644 > > --- a/arch/arm/mm/cache-l2x0.c > > +++ b/arch/arm/mm/cache-l2x0.c > > @@ -1352,8 +1352,8 @@ static unsigned long aurora_range_end(unsigned long start, unsigned long end) > > * since cache range operations stall the CPU pipeline > > * until completion. > > */ > > - if (end > start + MAX_RANGE_SIZE) > > - end = start + MAX_RANGE_SIZE; > > + if (end > start + AURORA_MAX_RANGE_SIZE) > > + end = start + AURORA_MAX_RANGE_SIZE; > > > > /* > > * Cache range operations can't straddle a page boundary. > > -- > > 2.22.0 > > > > > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up > According to speedtest.net: 11.9Mbps down 500kbps up -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel