Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4266279pxa; Mon, 10 Aug 2020 05:24:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxujroCxCJSsEATT3uWpp7n2wyiVWk2akZ4MiG4LYHz/UBLwERZWDPNmlIwGtuNXHyj5LIf X-Received: by 2002:a05:6402:1c10:: with SMTP id ck16mr20274958edb.151.1597062263281; Mon, 10 Aug 2020 05:24:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597062263; cv=none; d=google.com; s=arc-20160816; b=xgM4zRgJJmqEcHZHs+1ru4uhPE/ccNPrI06ciQzyghflbVw2o/bsS90Np4VWIiyji3 xs2TOCDSsBKQG3oqLLIZ8NnEd08rKjLu/OC4IjFmoueGAZkfOavjib22DkR4WZB2pXJG eZH7A9duhRd0+urqbFjaxwAihnnA4eDGuqKnUJZ5c6Vk7Ku2dU+lgDlglCAL0KDKjUuE WkkGCOjH1AaMgFWaWbFDaG927Vns9Bc66EGjFsUxmtSqeBkveB65Bx+9KVAShZipijPa C8llPMq0YLEdL9bbb5PjS46xaifY+fiZBWpksMn0mdIdug1i97hLN9IXRg3wIUuDBtE2 Pyww== 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=sl+d2n1aLpODUYh3H33bstiUy3fVujEucyOm1iy9PG+fUPdxPJ6CgFWqV/kVyeA2Z6 lyoaxIxrost04IcmZYeyE/CVV6dTXxU5oOGqZV8sIobOOXwDvhgOw4wtOXtPFn/GrasT /NLrd4WxgndXkCHiGaXl6xBvHdEB/s0AIj437N4xbLU3vUnAblcoY70CnTqsQFc74YKG arihV1k2t+3Md7Z9eXys3dybGcBhEdG8QJ2fN6wAejKN6eZIyfEzKejnI6zOA/oS1kIr AxUs8Hx9/3x4trUjmIGKu6oWlUoXD4BOell33X5AUUoLeuM9tVU6TN+33DIPbMKt6bbU MfSw== 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 j9si10293624ejx.438.2020.08.10.05.24.00; Mon, 10 Aug 2020 05:24:23 -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 S1726630AbgHJMW0 (ORCPT + 99 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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, -- 2.20.1