From patchwork Mon Aug 10 12:22:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Tucker X-Patchwork-Id: 247582 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp4812042ilo; Mon, 10 Aug 2020 05:22:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRcJH7MvGjFQpRaaPX7yUVm9L0g/ZrtM7JV0zLSTHlMz7/8WNMgKtQGizRzvo0vGa2o7zC X-Received: by 2002:a17:907:94ca:: with SMTP id dn10mr21084831ejc.110.1597062146810; Mon, 10 Aug 2020 05:22:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597062146; cv=none; d=google.com; s=arc-20160816; b=A5HW6lniJUov+R5lHjkJFpCoyruH/tEz0V9qxiv3nM5bNCcznNXSSEm5L/rZo0ViI9 AlC+54YdKjwJxqR18GYRqM5qXuH2vyEUPN7ImhxzJAYzmoKXdrLKj20+8Ncm+SoJ3BBM 6SlkuAF+Xp+R2SO0SvxPOXgOfIUcDJFzxss5M9+FvNLH1sW2cH8ONszqlsQt5rdRC276 r2fb7Wv/w6AS9KVfWfrpajv7xwAFTfiOSvDLXIeZcXU4o3rcgwj5fl7NbM0awcMV0IX1 Jo/y9z1KwNVqH4i3m5TNj0/j/b/CSkZOrq+Yr+i8Wx/kWv8BFwPwJiaPlT+yplTAgtGY ceRw== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=mn5aigzq4mvgvWv5HRcsByPh1zfxrVxF0GioxLh/dQE=; b=KK7ooHi311ZPmNpLBC4ZRn5XRXlYlziKMXYGUotlcKWXgu2ICN2b1gBDWmGo/bdceL 0hTWrGkHoMCtWtu+x+yqH4GA3MvR+wVuIX1wNZj6LEaMkzhI2A+hla14P5Tn2pe1JvvB JOrShxKyR2BGYYZm6593fROv8cTGeF7WJH232SJhjelF6bn9dMdYlH7QIsuMTChaCpA+ v0mKJ4xS2wUt0Plp4N12iCi8HUVih5Lf+M9Xrjk5ePfMzTjIChUTXOwDRKepWqxsN1JK OnNrfz5rQJrvI8QOK4zm1CH3TU8Fn36oor6l/bkk0738aXuKsYG8Xj3rHljWVz+w5xgf De7g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-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 a23si10235233edx.271.2020.08.10.05.22.26; Mon, 10 Aug 2020 05:22:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-samsung-soc-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-samsung-soc-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-samsung-soc-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 S1726450AbgHJMW0 (ORCPT + 4 others); Mon, 10 Aug 2020 08:22:26 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:45672 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbgHJMWZ (ORCPT ); Mon, 10 Aug 2020 08:22:25 -0400 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: gtucker) with ESMTPSA id 19CC2293517 From: Guillaume Tucker To: Russell King , Kukjin Kim , Krzysztof Kozlowski , Rob Herring Cc: 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: [PATCH v2 4/4] ARM: exynos: clear prefetch bits in default l2c_aux_val Date: Mon, 10 Aug 2020 13:22:08 +0100 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: <267a81e550a0b5d479c82b5908e2a2caa4c9c874.1597061474.git.guillaume.tucker@collabora.com> References: <267a81e550a0b5d479c82b5908e2a2caa4c9c874.1597061474.git.guillaume.tucker@collabora.com> MIME-Version: 1.0 Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Clear the L310_AUX_CTRL_DATA_PREFETCH and L310_AUX_CTRL_INSTR_PREFETCH bits in the l2c_aux_val defaults for Exynos since they can now be set using the standard l2c2x0 devicetree bindings. Signed-off-by: Guillaume Tucker --- Notes: v2: split patch to only clear exynos platform register bits arch/arm/mach-exynos/exynos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index a96f3353a0c1..0e906cc3a48e 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 = 0x38400000, - .l2c_aux_mask = 0xc60fffff, + .l2c_aux_val = 0x08400000, + .l2c_aux_mask = 0xf60fffff, .smp = smp_ops(exynos_smp_ops), .map_io = exynos_init_io, .init_early = exynos_firmware_init,