Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2096939pxa; Mon, 3 Aug 2020 07:25:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZS3lADHpAAMjurf3AOv7Z47fzL1JpixIKG/bJnuAORwn7iMAkpVXoJoM/FZq6z0G4LNpO X-Received: by 2002:a05:6402:206d:: with SMTP id bd13mr16248669edb.57.1596464733781; Mon, 03 Aug 2020 07:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596464733; cv=none; d=google.com; s=arc-20160816; b=g8Qhb25fkeCvb0OeO6sFp7rPGzuHqOJTPqx3TvVdZ06Eb798uQskY37d973RzbS6QT dColYy2C5agHfMwp0T79OqKOd30rV4/hQLocXZ23SsK4BxEvANfls2NQ6uSLXtjb3j/6 gO1IvlVPQkYAkT1MFvPKbeknocBmJ5T2ehMc2YV8Sx3WU0PP+ttMvXbKPA0XoFv0ESlR w40HB+vFpRUNR9RiVg8OJoo+j5TIo5XRU+SCkn0xrvti4JdIEV8sv1RQKXfUzAGCY2v1 gHtKwNbyYz4uVGOM+TnlIE5RWQLXCJlk0F9X8Bc0iWIO1peQmiBkCn+zobjj25KeRyD3 sjgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=j2YFIam7494qTnawoI5t1lPh5O713n3GMls1dHCPXuo=; b=ruY14/QiWNetjmTDHwejinf71bRFC6Jd/b628i3YWMUoP47pwG6NBp7QfTQyq06Lt/ zhQw7/VUUIECkBmhNhQRjPq2qhTe4phQhZo77Go4gUZMvxwokK/lTMa65NJ1BawFR+jT 848IB3EFzGvrtebxKZC3C63D4Q+g2zc6LS8H8fBU5LUD2wjsg7bUSY4gz5bHbZYw48DJ 1R5rf1XLMWsMT1oIE68mm0Wmdq2EAmLQu8HuuIssl+rGl6NRXUVMQaHC6Tk4oWni0dbw CEZ+Yl2BJzABthoSFxTtOIpDG7YLoynBi0U08BrMoYoU6HHXxX+pqgqR+VT0CYPKsecB vjJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=RsMZkts9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qc15si2655351ejb.658.2020.08.03.07.25.11; Mon, 03 Aug 2020 07:25:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=RsMZkts9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728189AbgHCOWs (ORCPT + 99 others); Mon, 3 Aug 2020 10:22:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbgHCOWs (ORCPT ); Mon, 3 Aug 2020 10:22:48 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A555AC06174A; Mon, 3 Aug 2020 07:22:47 -0700 (PDT) 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=j2YFIam7494qTnawoI5t1lPh5O713n3GMls1dHCPXuo=; b=RsMZkts9WY+1FGSehXFi1VUhA uAHprLNgD2y2iMK2QdcWMXML3fYnbOHpXir2T8oJPcvLMMkS44Rl+9GJa+/04KVxu97aFil56BN0R ey8yQBLTBlNk4xZWEWQrwcOc4cOGTVEcn8ILOHHsv2HsMwT78++K+t1kMluqwh1wUEQgZV0SLA+UD wIFZafthZEFovFFkMDtHWL/8pUKkaY1ZAjJjRDY2j/dbJxVcHNguZ4JGNsRJCTq8cELNT5D9RTVSo MBVK7Fq6QAZgR42Hqv0BP26U1dJCj442YakkjGsKP8L9IjaMY/emfnqxjf5CPtzQgu5BkA78faX8q TMGlafSCQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47824) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k2bMS-0001bs-Mj; Mon, 03 Aug 2020 15:22:44 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1k2bMS-00039a-8c; Mon, 03 Aug 2020 15:22:44 +0100 Date: Mon, 3 Aug 2020 15:22:44 +0100 From: Russell King - ARM Linux admin To: Krzysztof Kozlowski Cc: Guillaume Tucker , Kukjin Kim , Rob Herring , kernel@collabora.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] ARM: exynos: clear L220_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val Message-ID: <20200803142244.GO1551@shell.armlinux.org.uk> References: <860eb8a1eed879e55daf960c96acdac514cbda93.1596028601.git.guillaume.tucker@collabora.com> <20200803133439.GB476@kozik-lap> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200803133439.GB476@kozik-lap> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 03, 2020 at 03:34:39PM +0200, Krzysztof Kozlowski wrote: > On Wed, Jul 29, 2020 at 02:47:31PM +0100, Guillaume Tucker wrote: > > The L220_AUX_CTRL_NS_LOCKDOWN flag is set during the L2C enable > > sequence. There is no need to set it in the default register value, > > this was done before support for it was implemented in the code. It > > is not set in the hardware initial value either. > > > > Clean this up by removing this flag from the default l2c_aux_val, and > > add it to the l2c_aux_mask to print an alert message if it was already > > set before the kernel initialisation. > > > > Signed-off-by: Guillaume Tucker > > --- > > arch/arm/mach-exynos/exynos.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > Makes sense. I'll take it after the merge window. Yes, because platforms actually have no control over this bit through these values. Please fix the description to use the right define, it's L310_AUX_CTRL_NS_LOCKDOWN not L220_AUX_CTRL_NS_LOCKDOWN. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!