Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4268850pxa; Mon, 10 Aug 2020 05:28:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyaueQs0+p+EvxX5RRK3yH/w/1y7kPeZJYTKGX4AQVCtGxC+NkeIp0eHLZr6WCC/QAiEWPo X-Received: by 2002:a17:906:2cc2:: with SMTP id r2mr20917003ejr.482.1597062517909; Mon, 10 Aug 2020 05:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597062517; cv=none; d=google.com; s=arc-20160816; b=GQXQIGFNHrizzQSY+YpnEkpcSItHR/PWr/tzqagh46z+149WJyuin+tAul9Mmpkxrz UQnQLPX/9Iw6crFlKyWlxxoCRDQ6Uvez6kHo3GMwpvEmuJp5QOwln2LiATUClEHxygOp 1enUfX8y7VWgEBlZp4PLJ2pXJRegTmTA8H64u3hWXQlYC98HK5wxZkHl3/zMEttvFQaR CR0flBXkRk6EOnC4L4AnEiwgmY+PQUgiI8lTRRab1x/70XSXTgupvlLmxlvUKll9fgMz l83pqBySXSI0wFWHZZYd2SGvYgLbGFh/evC3elS5jDoKq71dHsTAqDpvW+v4shW+e3lN sanA== 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:from:references:cc:to:subject; bh=Szu91OUs3/ATgmJIMVAKar2RXNPIR8b28JQZTdobSSI=; b=DsQtkKeBBfQWP6wfvgFC5W1jmtihfTW59s0lTCoaoOZBvuVBlA7yTZqv6LFJz9AX7d U4uUEUEOHzG9jg4LXowTI8UnlXM8P4CFre4tbu0jSAmqBhVWRn9DoCtk9zzFvvtQvq0/ GqdUvppcDoKtfLaube8h9J4622U4K1FOQlmeuyuLDLFzbjSUv0o6mBepGxD1Q3S98g4N EeBdSPSDCJsFCSJIcgr9QCAdUZT/OtKbeWcXXoDuTOZuxsPTFFDuS8O7AHhtY6hcGU/J gG4ZfptQOnsUz8h2U8XPp00bMUOF5CQ+VJfD1OBs+9DDBpJce2qxlvCkhNnW+TIgJvtz YVqg== 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 bj23si10835790ejb.94.2020.08.10.05.28.13; Mon, 10 Aug 2020 05:28:37 -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 S1726729AbgHJMZc (ORCPT + 99 others); Mon, 10 Aug 2020 08:25:32 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:45738 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbgHJMZb (ORCPT ); Mon, 10 Aug 2020 08:25:31 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id 0840B2935C0 Subject: Re: [PATCH 1/3] ARM: exynos: clear L220_AUX_CTRL_NS_LOCKDOWN in default l2c_aux_val To: Russell King - ARM Linux admin , 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: <860eb8a1eed879e55daf960c96acdac514cbda93.1596028601.git.guillaume.tucker@collabora.com> <20200803133439.GB476@kozik-lap> <20200803142244.GO1551@shell.armlinux.org.uk> From: Guillaume Tucker Message-ID: <875ad268-d65c-673e-6f5a-76d48c24f478@collabora.com> Date: Mon, 10 Aug 2020 13:25:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200803142244.GO1551@shell.armlinux.org.uk> 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 On 03/08/2020 15:22, Russell King - ARM Linux admin wrote: > 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. Thanks, fixed in v2. Guilaume