Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2201C19F2B for ; Thu, 4 Aug 2022 11:05:40 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 57AE584828; Thu, 4 Aug 2022 13:05:38 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="CO1eAr98"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B629F84223; Thu, 4 Aug 2022 13:05:35 +0200 (CEST) Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D41A084223 for ; Thu, 4 Aug 2022 13:05:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2b.google.com with SMTP id u8so12794051qvv.1 for ; Thu, 04 Aug 2022 04:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=STsYmUGQvpVzWgWqeCPYUt8zNsDqDJlYYvLNKdP+7Rc=; b=CO1eAr98I3oSqTqwts2ItshUG0qbu41QpXN8zASRlQhxzZU+W4PVWKymRKsHuclbYY jBHzGbGis9ZVUuudaejA7C5HyBsrE1l1c+Gf/BinEphOdkzhTkWAwbQM6ejrjS70azey ZYqdpGgq9kCx5+l4sdRdarOBM+rZNgOabJ8ps= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=STsYmUGQvpVzWgWqeCPYUt8zNsDqDJlYYvLNKdP+7Rc=; b=FsogCaykAXrZjBkm1ppEYmjY7+9++G4DbEhm/5c5rq84BXnjqdwCWLrqcSLLEhHxYx K288WAVb3+AMkIEcH0AARlo4y03eWhTobTsmAXb2gQlZifYWoGZKmi5WTE41FzKRU9QW cAk8fmdrHSg0GxdOKtLAKy993nrQ76UuSLPqjXXxywwH8XRX3QHJpGYcg1UWYeJyOa1X gZGWF0QQtbxgPyqdwUg52imvTJmwWvagzb6/hRnQj5tmBHXLobvNAMNPeK9gDo5WzRoU /VRXWwXYr3NAiarxwDgeiU6ZzYwTQsFUmwCyd4a0i1uzSSlQgDPvFxgfw5GoT4HyOe8z r8YA== X-Gm-Message-State: ACgBeo3LH4FUkMFBlfaRuT/NXi9kVwsTc/lE0dhMRbRcVGFonsUTjIIB bcHOm7NAT3O5Y5HYPWxqGttBTA== X-Google-Smtp-Source: AA6agR4vbk6QfAQh7F8ROpU+Ur0JVycBUDslVz9iKy+3AEyGpzOKZq5NA2Z8LZ2r443z8Au7ulG3MA== X-Received: by 2002:a0c:8d8e:0:b0:473:6406:9dbb with SMTP id t14-20020a0c8d8e000000b0047364069dbbmr948007qvb.80.1659611130573; Thu, 04 Aug 2022 04:05:30 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id q15-20020ac8734f000000b0031bf5677d96sm419423qtp.84.2022.08.04.04.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 04:05:29 -0700 (PDT) Date: Thu, 4 Aug 2022 07:05:27 -0400 From: Tom Rini To: Philip Oberfichtner Cc: u-boot@lists.denx.de, Christoph Niedermaier , Marek Vasut , Stefano Babic , Dzmitry Sankouski , Sean Anderson , Stefan Roese Subject: Re: [PATCH v2 1/2] ARM: cache: Allow SPL to build cache-pl310.c Message-ID: <20220804110527.GY1146598@bill-the-cat> References: <20220804105646.2285428-1-pro@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8SD/dYhWteWtUABB" Content-Disposition: inline In-Reply-To: <20220804105646.2285428-1-pro@denx.de> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --8SD/dYhWteWtUABB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 04, 2022 at 12:56:45PM +0200, Philip Oberfichtner wrote: > Before this commit, the SPL could enable the PL310 L2 cache [1], but the > cache maintenance functions from cache-pl310.c were only useable for > non-SPL builds. >=20 > After enabling the cache one must be able to flush it, too. Thus this > commit allows cache-pl310.c to be included in the SPL build. >=20 > [1] See for example arch/arm/mach-imx/cache.c: v7_outer_cache_enable() >=20 > Signed-off-by: Philip Oberfichtner It should be rather direct to migrate this to Kconfig, please do that first, and introduce CONFIG_SPL_SYS_L2_PL310. Thanks! --=20 Tom --8SD/dYhWteWtUABB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLrp/cACgkQFHw5/5Y0 tyxa0gv/d5iC1Z54LeDtJCDMpBYOJrLDIvFhBdZSVQSLPY6PZU8uldICPMUih0Xj mbdK7dNd4RWIGUrAGYHtOKRLwKETN3u8cQUHGv5NdEAehhCXjoXVhqnmjtYh/f2t CM0FiJV2HJK24GrE+6qR93kgX0sWA819hyrv0Z2tWibwvdbflNqs4aCy2PnlnBY3 YnipOhAOK8oTcw+ab9VJoxYyHHPFQkKBSBbmRaWK9EsNg8Uyzbv0we6CX25tye2c +k5e0fDpbr1fc0VxmYhVgO2vHm/fc+77mT4j/MNYc/26BQ7gybqcEjcoUf5vdXvb 947NGkhlJrskr9HiFX/BdfhRxtaR7XTr74PF/aCqkvSVbUu05Qe4/bVowWZKjVX1 HHAfTcV9euGe5uA159UmECA73RqqZvY9VqIrm48u4TOOwAayg07crHT0SJEe+gCO 0qFdb/+zQUt9EJc3KCuSEKPLbyDN1msBLAFy1wi2vmAf7AqH0gRJuMX2097h+IOw cd2daMjD =ka9H -----END PGP SIGNATURE----- --8SD/dYhWteWtUABB--