Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2061767pxa; Mon, 3 Aug 2020 06:35:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHv8VQLslwNErNxcz1snJDNsn4TtDNjUWJZfSb50AtMk0EMfExqHfPlK2oMCZ/ZMCF5dwe X-Received: by 2002:aa7:d85a:: with SMTP id f26mr11775297eds.363.1596461718852; Mon, 03 Aug 2020 06:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596461718; cv=none; d=google.com; s=arc-20160816; b=PS/tD6RG8dxKK2RifiZzZ5ZUtfYAQZUsYgor3coKxpTFmH49cFURjfqoO+0J2HF0kw FBQ5dTjUX6ZCtu68PS1Pi9ZJE6DgwBA2Jwmm9Dpt2Lb+OYwjgJLnJCo6Zg1oVOxvCEGp SzvGmMfHBFa51LAlkMQXM8wZKpAnUbGYHbNFTzFqxJ7Ry8FZJ9N677mAl/v6pfqfMo9d AgvoMhfERhZEGpE8FmKr/rpxssnfBN4sV2IJTKT6KEVJ/Qa0lxyyEvDb1W4kRs5WbBjf X6SaRgQktz8TowdW0iQ1CgxeOWSJV5ij15sPsCBicaJCwvauPOq0XnGifocBWuoTWb4W FHmA== 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; bh=i2n3wIwb+hcZxYRuwftBDgqPr+Mdz9q2nSbmotV8e58=; b=IUobGHDjD2Ye9s6cMVS9QP243RDB4ZtGtYDZIN3ffWOwQwgr7GORurv+TuOAo+EAp4 pT8ME5n1RB4phI0nblO7+zQriHykz+u4vcVSoxiracnNXhCd6/cYLwEcFY9iSW6TmglO gatQ5rBc5QUxUaiF+7Oili9qAxPEpJiCJxYBU4ss7b9r8tyw2LRWnJtvPBI3et94OnkY I3p7iqdpdFiILgZjYu2fXQHIgJdP1fKHxX65dk4FSIh4KnJ2J392pfkrqAmVHa0hpHfl v2Xxzltd6jYz4MzyY1wxuBzx/YtJ9yj/x6LuCEhLQK8/BkBiWCkmGiH+pR6Z4yRroBI6 PjRg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c3si3809442edl.567.2020.08.03.06.34.55; Mon, 03 Aug 2020 06:35:18 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726862AbgHCNep (ORCPT + 99 others); Mon, 3 Aug 2020 09:34:45 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:46877 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726398AbgHCNep (ORCPT ); Mon, 3 Aug 2020 09:34:45 -0400 Received: by mail-ed1-f66.google.com with SMTP id q4so24008628edv.13; Mon, 03 Aug 2020 06:34:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=i2n3wIwb+hcZxYRuwftBDgqPr+Mdz9q2nSbmotV8e58=; b=gC/3QIUoaqK3FGyp1lVRgfHLd3X3hq6r7nS3meJD6wwWElaJCOKqDpxX8+lChbPQzS j4cQRYM5g1EztdseoI1OnY17tUavY4XS9YFDpAATKrrRabiG3RJniOcWlFuMqEVbA9Zr KSEeha3XR/s0DDzpt3vcrn+AlTmr75oaDq3hQFbK+zf1UyDNCA18ADMkHC4xo+Kdhw62 CpzBht2LRom6aSSN0dQk/yfPX4+ReL2TKk3fQdMqqqXNI2VPs+P/kCtveZ1MMR1pIAeu i7/EnEFKWuz75P9+QAk11k16zq+i7d+82v1UXHhRygP+IxR5cwBI4Jy1ZrZXResZAV0C ok/w== X-Gm-Message-State: AOAM531T47GP7SQmmMeQE2QdrWNAkjbTR70zuZF1Q5PvPcEsymmc96fY 61Xx8jF76kQyuxk8yC6poew/+61ZDJU= X-Received: by 2002:a05:6402:38c:: with SMTP id o12mr16286914edv.271.1596461682835; Mon, 03 Aug 2020 06:34:42 -0700 (PDT) Received: from kozik-lap ([194.230.155.117]) by smtp.googlemail.com with ESMTPSA id m20sm16177431ejk.90.2020.08.03.06.34.41 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Aug 2020 06:34:42 -0700 (PDT) Date: Mon, 3 Aug 2020 15:34:39 +0200 From: Krzysztof Kozlowski To: Guillaume Tucker Cc: Russell King , 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: <20200803133439.GB476@kozik-lap> References: <860eb8a1eed879e55daf960c96acdac514cbda93.1596028601.git.guillaume.tucker@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <860eb8a1eed879e55daf960c96acdac514cbda93.1596028601.git.guillaume.tucker@collabora.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best regards, Krzysztof