Received: by 2002:a05:7208:820a:b0:81:e143:7c29 with SMTP id q10csp572222rbf; Wed, 10 Apr 2024 13:06:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWI2WOpe5dg7NeVUz3rYWy03Vy+/11zVTeYcqQqKO8KwNH3iO+h2zv9y/cgC9dtsHPQNi/ZzsjqPcTfJ5Ztqwze/spFJHBqY2xy41xv5w== X-Google-Smtp-Source: AGHT+IEFZ4optvNHdsIrLScB8QVio1OlFKLrznCgi4LRSgG+FqaI9ptJxZD7SFFv28I84PRbRnNQ X-Received: by 2002:a05:6a20:9f8d:b0:1a7:5721:7011 with SMTP id mm13-20020a056a209f8d00b001a757217011mr4150738pzb.41.1712779423236; Wed, 10 Apr 2024 13:03:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712779423; cv=pass; d=google.com; s=arc-20160816; b=MNcjNpuUEN/bxJJZl6o7dZ41GB6TvaZGLBX/MqG3CJGplCihlc0nCW1vwbCQFmbrbu HBo8mdDrCaqEJd8sBQHHK+LKKAviZxarx8O+4L8FAUuYRSMVNw7rivXU0bPDkeVkfB71 ys9j9k3A6Gc6KyIjOwssK8SaHmBLuSyZYN4fZIfu1BOWwMR6XIdo2vH/GlWaqxfyMC+j 0o1PFylKw8+kdsF/Zme1cigVT0iHDym7o7MBvMmkWOPfqq3/iJKoooLa+JIayV3perd8 CCu/hZKNk2gQVlq3/NFOPmOvjMiLK9Ci/kni1/+UuTNTn7HKcXSY2P2RSxBaMlVB/ZvM 5bAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/CJ16CoNGGKC5IacXni6LHjbJaRcEPSp/zN3uuela/k=; fh=DaRc1I0aerNJ1m1jRSV9Ru1kzcZ7wqFTnEdNluRjXVs=; b=PBW2pNjCLVn7VeuXWOi1UH35Sq8sUnU0XMBCbtxbsst/QU8XAW68ulbCtwTYXpz54W SLrblW7Euw3KnXvBuLldfoaSA8PDhWHdw0nkjG1VTEZaAA3Da2AgKglEowwFl7LffFEL 5MEzmbAFp0sTFV4yngaG8yyuAp8p6gK4hh7tobwAOYP7hVyzLOBPogTEqqk2HNwN48/S 0ZBmY9y+9vgweUGkja/Nj1a7V1CfCXJgzbDq1q3ykYstXnaEvf3qSwA0oPM/sf257l0Q xqeSCtprcngeVeUIMIIlidPV0/6LrNYr6kfc+gHs4HPINGjn2nXi3fuS/oDGtjKHQGly REhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c7aByR5K; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139288-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id gd1-20020a17090b0fc100b002a50f66351bsi2075383pjb.91.2024.04.10.13.03.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 13:03:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c7aByR5K; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-139288-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139288-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id F2F8F28A9C3 for ; Wed, 10 Apr 2024 20:03:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79F42181B96; Wed, 10 Apr 2024 20:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c7aByR5K" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 932E628FD; Wed, 10 Apr 2024 20:03:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712779402; cv=none; b=ltR169iKRMzkS+22Om09Do37qo2G8h0hw6nDpDsylbmSYodHPqrHhQ6tA5RO6Alp3R5YUT+HXPq6o/7D73BeVqPq1zr2QR+FCWk815aGK24qFvtzbPphligDYacEmMnj/h18XA7nDwWyoKADy6oHBs7yunIdH8gxYDM9zItz7G0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712779402; c=relaxed/simple; bh=OQZjFvx3Au1OHLYkCyOKCIW526eMMbQD5hbmY4kRkZI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Fbd0rCY82kl6hlxblCAGAphF7O9eEm4Kw59QGaFRrTX/cz0QR7r4Pr2ItdqoyvvULefPQwsfmEzE5pK5OQZatUJFsAFBpYj2cPLzb9lp1DpP1jvd91YB8DEqNFmPvAKWl+Lm7gH7EeOWyijI0t1TpRIV/b4RKujL3qydJ9/Xpe8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c7aByR5K; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ABA9C433C7; Wed, 10 Apr 2024 20:03:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712779402; bh=OQZjFvx3Au1OHLYkCyOKCIW526eMMbQD5hbmY4kRkZI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c7aByR5KjH2/wHYQghVF8YUXXkVjxKI32XD4S6NRrAk2pXOx+19xgkLxiSMEr8+55 iz5OOzQq2kF93WIuCQCJ5+Qzshs1fB10OzsXibnp436RkhbIxxL7hXElUzDu9LqoTR Ku18U3A0y+MRAVF2+p0u/PbnfMiUclRH6cjaT6W5EAnaGTZu7bbPeZTPYQJjYhVFLR 1Whji84ZVMxTuHDnrYSzefDAJjxDXV7aKhQcvdyWaGW4bSfm+5cq8cKPTkoMYh6JMB HfuFdFYHgzwxT0Bos7/X2RASdJhxKOBaCnVS/xQinY+uS567eBPdLawPAFfHod5xn7 M7QcJkoKBFCQg== Date: Wed, 10 Apr 2024 21:03:14 +0100 From: Mark Brown To: =?iso-8859-1?Q?Th=E9o?= Lebrun Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vaishnav Achath , Thomas Bogendoerfer , Rob Herring , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , Thomas Petazzoni , Tawfik Bayouk Subject: Re: [PATCH v3 4/9] spi: cadence-qspi: allow FIFO depth detection Message-ID: <161eebc1-9417-4ab0-ad8c-c1b17be119b4@sirena.org.uk> References: <20240410-cdns-qspi-mbly-v3-0-7b7053449cf7@bootlin.com> <20240410-cdns-qspi-mbly-v3-4-7b7053449cf7@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BRtEqc5sxDPHJ2tk" Content-Disposition: inline In-Reply-To: <20240410-cdns-qspi-mbly-v3-4-7b7053449cf7@bootlin.com> X-Cookie: Jenkinson's Law: --BRtEqc5sxDPHJ2tk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 10, 2024 at 11:29:07AM +0200, Th=C3=A9o Lebrun wrote: > If FIFO depth DT property is provided, check it matches what hardware > reports and warn otherwise. Else, use hardware provided value. >=20 > Hardware exposes FIFO depth indirectly because > CQSPI_REG_SRAMPARTITION is partially read-only. This breaks an allmodconfig build: /build/stage/linux/drivers/spi/spi-cadence-quadspi.c: In function =E2=80=98= cqspi_of_get_ pdata=E2=80=99: /build/stage/linux/drivers/spi/spi-cadence-quadspi.c:1506:45: error: unused= vari able =E2=80=98ddata=E2=80=99 [-Werror=3Dunused-variable] 1506 | const struct cqspi_driver_platdata *ddata =3D cqspi->ddata; | ^~~~~ /build/stage/linux/drivers/spi/spi-cadence-quadspi.c: In function =E2=80=98= cqspi_control ler_detect_fifo_depth=E2=80=99: /build/stage/linux/drivers/spi/spi-cadence-quadspi.c:1582:45: error: unused= vari able =E2=80=98ddata=E2=80=99 [-Werror=3Dunused-variable] 1582 | const struct cqspi_driver_platdata *ddata =3D cqspi->ddata; | ^~~~~ cc1: all warnings being treated as errors --BRtEqc5sxDPHJ2tk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYW8IEACgkQJNaLcl1U h9AP3Qf9HrV26p6I6pNjiy1Rr+g3QMlk44F2HNPvnj7jvAfZmd1M6+sG/WykOdPX Wnkq1igLy45LZzQB/smyw3eFOzlDyZHs7diTtDOKsx7hC1KLYzbX1n7s8IVzx2FD UDJYdBzop0PAQT6Sk1VrHPgC5TCWwRNlwTs+WKqo+/aLndCxKlS+4ZVZeyGV+FYJ gE1YZe/Z9EZZoVm86tEd9Os57oQUfq0T6gU29g7H9cDMu0TJy4uwPnnOxbf74GCO z1qBAffTfUAERgs7anH+e3xNyvejRwTM9spESFKPxeNiH8s0eg9N+tzcGTa5GsAl I2Dx4GjIaTHoao5epVvxs6ODnuTk5w== =sDD9 -----END PGP SIGNATURE----- --BRtEqc5sxDPHJ2tk--