Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1310537lqe; Mon, 8 Apr 2024 05:39:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVkUdxZ14RZAroS2DP8UGxGPZOksUzbv5xBNj35rhA5LR4p2fB7RIQQqsyMLRW9jorqh9E5onWL4Swtv5ha7skCEMiYoBOme37V4UdJfw== X-Google-Smtp-Source: AGHT+IGS96XLROQm96sTejtq1JWUozbrdsIqIXcqc/7UGS1gWVfHvUQvQso7e0rIdwQxsX8lyGyc X-Received: by 2002:a05:6a00:1803:b0:6eb:3c2d:76e0 with SMTP id y3-20020a056a00180300b006eb3c2d76e0mr11811379pfa.11.1712579948769; Mon, 08 Apr 2024 05:39:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712579948; cv=pass; d=google.com; s=arc-20160816; b=eR8hneZEZIUr6xExEAfwBG3iEZmKF+JoEAMoBdMWNcGD5fCYrHOI2i8t68K2Mc2afJ CBsG5BG2yl/tTvxi15+igx5zbdtlJL/2tNPTk++3piPhiirP1SbHNuBSYMnJegNL1JPn X8RjiVC7G7sfINz+XbG8P1GkTiliZjuJi5+ILUHkouOE1MTTJTWDNbtS2Aqd1E9gk/P0 /trpELq78qnXaWcPJbGaOiggU1ebBPs28KNJluve4WDrpG1/b0Y2lC5Bv+3ZpNsQiknO 0qoANEhhm2r22xHNwsnMKs4TSaGeRHOZztEL9kCONuRrtU9yXY6X/+L9iL69rVQwwtpq ALPA== 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=zYubcBs7PO4lXAOnesgCFIbPXWNx+mFA4oolZUL8tjc=; fh=/GUFJR374/BfZ9khr2PhY9jOeeSQmoJJbh6hx8K9B9U=; b=yQJrHIl4w5bzxggnqaN8llwPJYXeo2qGDOuSG3DDCrFdxDV1Ir0RUnMwJ0EdYo3GrJ yJ0MucvKT5ad25iSh/oPbNqm5SSMZdIFeADojCMy3dYQvBL5QhLTIuJx27ZDuJI26Pxc E+ugt+hEPXPCuiaiVJvAgwMCAKLdQSYTGEY1pRaLW+wtPNppE2dZhn6E301ltkKuH8xk E/OEkkIdk0Bg4+DVgn+gWkgQG122bTNObegvEGAuTRKWXf9J9F3leVlTbwWWUbsoRxOO FuHjmdENPN8qdYu+N0U0f5bzd7NNU9jf9SovuqYVjl1mTTaFcmkKRiadpi5J8qsYOTda VANg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AjBPIqoq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135319-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i5-20020a056a00004500b006e6c056f450si6132464pfk.213.2024.04.08.05.39.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 05:39:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AjBPIqoq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-135319-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135319-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6981DB21E30 for ; Mon, 8 Apr 2024 12:28:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5B0D26BB23; Mon, 8 Apr 2024 12:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AjBPIqoq" 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 7622A64A9F; Mon, 8 Apr 2024 12:28:38 +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=1712579318; cv=none; b=rHLC5IabbvDw2hQy/fRtp3iKv4NMJ6KVHev4yV/mUZ9mAfECY2pNY0ZVopw8X8770XnD3Rcu5C08t9qP+S6/TYx+dC0qC8jeo4ltd6GFuTllLLmle37n6wipIf8qWuGQS8rStIs26Q3I4Q8teeZbjmBuygbKSYCg1acv0wIQ+5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712579318; c=relaxed/simple; bh=hll3DacUxkX1DG2Z4CS8KDhqm+gORNkbU2vd95sIbds=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VGPDauRaNt2HWQXRC+tmNqpYVfnxFpeCQsZuUraR+P4MCOTGeSbL4Jex3eezoEA1O2oaUp4yosvIHjpMMN8lS0FmSuRpa86dj2ZNqWGtxFMOgNmyDium/s65lFkGlvUapGeySxLsdlHGR8gjSPxcHwL7/NuK+a7q6thQLh+NABI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AjBPIqoq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72DD0C433C7; Mon, 8 Apr 2024 12:28:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712579318; bh=hll3DacUxkX1DG2Z4CS8KDhqm+gORNkbU2vd95sIbds=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AjBPIqoqy4Jryx4KPSeMe1vNPYhMuUTMLOfA8GX1dYUBqdCh0h+PdGXfRpXtlKgG3 roJcAofrtp/jG1lwtGsd8U6Cg4Gj5y7P27tKibdzqCII75Xsd0nDmfuFclj3bNhlM+ hzNsJYinkfVqz/RVoL+K67CDPVu4K2beh9MceRluXYRSZkuFdw9ImcdFDs3+ad/0uQ fRlP1Bhiz1QZBFVmps8qRyfmCoZUo2vPKxeX5BX1w+nhB6PW0mFE4uxKXgRP7Td081 mSDldBHF1k8W5889XPv/c/1c8dZ0cL649jAnAuep43BWWFWgOQka08GBEiehSmXwUh boQMX2ydrYr0A== Date: Mon, 8 Apr 2024 13:28:33 +0100 From: Mark Brown To: Stephen Rothwell Cc: Liam Girdwood , Linux Kernel Mailing List , Linux Next Mailing List , Amadeusz =?utf-8?B?U8WCYXdpxYRza2k=?= , Cezary Rojewski , linux-sound@vger.kernel.org Subject: Re: linux-next: build failure after merge of the sound-asoc tree Message-ID: References: <20240408141216.3eb1128c@canb.auug.org.au> 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="8M0lz2wDOChcIaG7" Content-Disposition: inline In-Reply-To: <20240408141216.3eb1128c@canb.auug.org.au> X-Cookie: Drive defensively. Buy a tank. --8M0lz2wDOChcIaG7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 08, 2024 at 02:12:16PM +1000, Stephen Rothwell wrote: > Hi all, >=20 > After merging the sound-asoc tree, today's linux-next build (powerpc > allyesconfig) failed like this: Copying in Amadeusz and Cezary, this is from the recent AVS changes. >=20 > In file included from include/linux/bits.h:22, > from include/linux/gfp_types.h:5, > from include/linux/gfp.h:5, > from include/linux/slab.h:16, > from sound/soc/intel/avs/icl.c:9: > include/linux/build_bug.h:78:41: error: static assertion failed: "sizeof(= struct avs_icl_memwnd2) =3D=3D 65536" > 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) > | ^~~~~~~~~~~~~~ > include/linux/build_bug.h:77:34: note: in expansion of macro '__static_as= sert' > 77 | #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARG= S__, #expr) > | ^~~~~~~~~~~~~~~ > sound/soc/intel/avs/icl.c:73:1: note: in expansion of macro 'static_asser= t' > 73 | static_assert(sizeof(struct avs_icl_memwnd2) =3D=3D 65536); > | ^~~~~~~~~~~~~ >=20 > Caused by commit >=20 > c2b10acb62c1 ("ASoC: Intel: avs: Add assert_static to guarantee ABI siz= es") >=20 > PAGE_SIZE is 64K for this build. >=20 > I have applied this patch for today: >=20 > From: Stephen Rothwell > Date: Mon, 8 Apr 2024 13:50:53 +1000 > Subject: [PATCH] ASoC: Intel: avs: stop building when PAGE_SIZE =3D=3D 64K >=20 > Signed-off-by: Stephen Rothwell > --- > sound/soc/intel/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig > index 4b9e498e3303..abe5cba82d50 100644 > --- a/sound/soc/intel/Kconfig > +++ b/sound/soc/intel/Kconfig > @@ -211,7 +211,7 @@ config SND_SOC_INTEL_KEEMBAY > =20 > config SND_SOC_INTEL_AVS > tristate "Intel AVS driver" > - depends on X86 || COMPILE_TEST > + depends on X86 > depends on PCI > depends on COMMON_CLK > select SND_SOC_ACPI if ACPI > --=20 > 2.43.0 >=20 > --=20 > Cheers, > Stephen Rothwell --8M0lz2wDOChcIaG7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmYT4vEACgkQJNaLcl1U h9Ayvgf/YAICd/vVUBHM+ODLX0Ene/RRxDnpjoWl4N3GLQpdZy9xAE0OTn8doxRe vUGOPjUnd8cLtOoztpk/6AyfJvfKo45WrsqFPu7yhw+XE/lvBtg7jdNVU5RttxeR znv+nK9ti6vv/jre6ziRDzIGk9eBP+jnitumWX8mVxDDNcwwMJ7T7GxXI8qN8KQu NOxyiyf2CxEGnO3ErDEAX+HcYIu7+ub01Mwvmitqj+8o9q7ErG+g29L29GhdhT2l vjJIcTnbVbprdBjV0ZlIxyhTfh9sBQ5lQ8jlSgD9KIYXORgDoOLlEwNgYkR8xhT7 CAZuu3EfyMS+tiJbag+915R+3OaOeQ== =plHR -----END PGP SIGNATURE----- --8M0lz2wDOChcIaG7--