Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1737570pxk; Tue, 1 Sep 2020 06:42:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxr2FWe5v2CRBGmZSbpKCZJoWnDPW9QS4v5le6foGrNjfgpf9JwPVWDANKVDXGc0io6Hsy X-Received: by 2002:a17:906:fcc7:: with SMTP id qx7mr1627512ejb.254.1598967727806; Tue, 01 Sep 2020 06:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598967727; cv=none; d=google.com; s=arc-20160816; b=KSgIKoMZkw9onU4TK4ONPGfWmKmDXicuu+kB9a6maqr8xjSCj8CHVf9c23Qou7oQLa MqwoG+zWKY8pH32YwPbAUXGEb1T/PBgyHxGFB4ut1mGAk9pBQxHDIr2TF8Z4vzBtzADJ Kw/QxB8YW11FzUnjx77iVNUBQFfDKGaelOR+Jr4HoxrcSd1khOj1LTj8pz9CgRq2u9jc owhkeiAy0T6biuaXb7STfjpSmr6jYyh5s2FB3tNr00eWMkGCS1s2UCgf+LexBdH2aeC3 RuSOygPa9NXe+0IRgIxtRv/k9YvCjhsVLELrI5l6vcL1KgzCWv77HasRJIxXcfZw2e3I q96g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:from:subject; bh=aTV3chKLe6D7zsvN6uqy7IPoy157mkNTjjx5aJF/VEU=; b=HRR/Q8NBGBHhv0DY9T/78/zaWQMv7I4R7gVDd5yM6eU8lj1pi7qNZWQekZk7xo9m7m xwDdrtBIMSjbfQrNIojCXVzndGZkSb6OU22lVUVNVeY0SYNKgrAdn299SiIl5OhKmGOG fiEbMiXDfehM6uh4ep+wi2nqK4ZcvxShK4mr+gBC2FWA3rN4h7WgnPYHgOCzGHASjm6x XzXbWaXSyYsGl7GxWEP7prBmXUB0CRQig5fD2rOGZAW826lnVhjSHoG4xBrEIDY1/le6 38/xBJW35GMX+Ta/midSZbwY0+Tv099i5fn98zCL1wdqmwsDzsWHEAhvWR3qm+Aaahqe roUg== ARC-Authentication-Results: i=1; mx.google.com; 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=collabora.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si515532edn.316.2020.09.01.06.41.44; Tue, 01 Sep 2020 06:42:07 -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; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727109AbgIANgH (ORCPT + 99 others); Tue, 1 Sep 2020 09:36:07 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:55092 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728235AbgIANeq (ORCPT ); Tue, 1 Sep 2020 09:34:46 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id BDFD8281E3A Subject: Re: [PATCH v2 1/4] ARM: exynos: clear L310_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val From: Guillaume Tucker To: Russell King , Krzysztof Kozlowski Cc: 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 References: <267a81e550a0b5d479c82b5908e2a2caa4c9c874.1597061474.git.guillaume.tucker@collabora.com> Message-ID: Date: Tue, 1 Sep 2020 14:34:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <267a81e550a0b5d479c82b5908e2a2caa4c9c874.1597061474.git.guillaume.tucker@collabora.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, Russell, On 10/08/2020 13:22, Guillaume Tucker wrote: > The L310_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 > --- > > Notes: > v2: fix flag name L310_AUX_CTRL_NS_LOCKDOWN > > arch/arm/mach-exynos/exynos.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) I believe this v2 series has addressed all previous comments and you were waiting for the 5.9 merge window to end. The patches all still apply cleanly on v5.9-rc3. Do you want me to resend the series anyway or is there anything else needed at this point? Maybe one thing that wasn't completely clear in v1 was whether patch 2/4 was the right approach. I've explained the reason behind it but didn't get a final reply from Russell[1]. Best wishes, Guillaume [1] https://lore.kernel.org/lkml/46fa1159-fcd6-b528-b8e8-2fba048236b2@collabora.com/ > diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c > index 36c37444485a..a96f3353a0c1 100644 > --- a/arch/arm/mach-exynos/exynos.c > +++ b/arch/arm/mach-exynos/exynos.c > @@ -193,8 +193,8 @@ static void __init exynos_dt_fixup(void) > } > > DT_MACHINE_START(EXYNOS_DT, "Samsung Exynos (Flattened Device Tree)") > - .l2c_aux_val = 0x3c400000, > - .l2c_aux_mask = 0xc20fffff, > + .l2c_aux_val = 0x38400000, > + .l2c_aux_mask = 0xc60fffff, > .smp = smp_ops(exynos_smp_ops), > .map_io = exynos_init_io, > .init_early = exynos_firmware_init, >