Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp987099rbb; Sun, 25 Feb 2024 13:41:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX1RHk9FFYGhgAfJnEGKP8MiACBmVDxj6qqXUG1qUGGLF4dQjUvLNdaQUtpieD/4gpo1nUn0wvXf6uQRQzzokzfiv1wbOmGnfDy5vUHdw== X-Google-Smtp-Source: AGHT+IHm2vcUeGDgdzyp13jxy9ukUGVULm6fshvsHMvtpEi2bIfOyXhQmF3E+TpZPSHNTCWxCMcV X-Received: by 2002:a05:6a20:6aa9:b0:1a0:d7ce:920 with SMTP id bi41-20020a056a206aa900b001a0d7ce0920mr5995700pzb.34.1708897295396; Sun, 25 Feb 2024 13:41:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708897295; cv=pass; d=google.com; s=arc-20160816; b=fyrpmko/iT36cGCplqngTAGkakHt1WtRfJy1SsPi+hfldgJWPugQkmi6n4jOf2niz4 Ah3tDbBGYIi5qWAcCi+tPCpIvyz+xIYhT/5NyNmutMkDRAujD6pjQ0S13ll+pY5W7tCX YxL4BJt34tRpTpoKo5FwBZpH3rFEDSxsRZ+DFs8ipCdxQTAfLiWTqta7995PWsPevikw ncB4kiTBLhZI4QBQ9dByXM22CHoBbz7EYQDXhHrIB5VUV/x9xWx7HxHr3/hLc8z1+LSo JMwycBAKI6lI31jJabxWpD9qWqnptq+VTMtK/0s7I3YQaXzJrc9zzpW+2uePjuBpM/Oe +3Ng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=5+ZKEJt2lEuyeGEsKA+q6VLLnaKfdfonhOD+op5DBFs=; fh=cyqZEIy1JO0oCjXNHhinkKIknbxf+nHR5i5ZyCjcZBA=; b=KvDzjUTS3y/qpuU/kq9wNguRj+zOkd8dMVCNaSAlVuVAHzjEMH/4U+7ljBEJGbQIse CNG+dMO7EnNyGyFdFaV12Uq8ayLX+7mMwtCcg/j7g2Ws5mEaKpn/ikithpYd/f1KeVZe cZVbNL9w61sJ3avbtWXorEc3DtzYdOgaI7mBFCUOqvoWN3acDOY31w81BXzukd5Rf6pW OeFfu+4fnGiUCvGajTd1e5xvqApYz/HJ7/fZC0mPJ3jUQrwJ4Dy8u2rh0E8rzkx72c56 hq3G/x0latxAtBF8BcYQi3KOzKEGMpRwU7y+0ve04Bbk0BfzslfY06+/jrDZxeAX4jtI K60w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=iQAV4WGH; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-80313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id e20-20020a631e14000000b005cddfe0c82bsi2566219pge.211.2024.02.25.13.41.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 13:41:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=iQAV4WGH; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-80313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 AFA8FB20DF0 for ; Sun, 25 Feb 2024 21:41:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 971B61B962; Sun, 25 Feb 2024 21:41:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="iQAV4WGH" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 2DF201C11; Sun, 25 Feb 2024 21:41:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708897282; cv=none; b=OALYETm//tsuEEDA4N7ro5eB2GGAu78Y2II0RzDeHNLwVXWDy747a40xwlfQ6/T3RiUI2Ot7lSSOKmAQtC2UcSAPf4gxo5oGUdYmcwwK5YSbDzNszfQWulFrmAe2u2TCo0tFXUI3Kla0xxB1ME+56CslKBESBOVz6KucLs++abs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708897282; c=relaxed/simple; bh=YwpjBPpU5r3u7l7biBeUr66zMvlrd3TckSoNXnLS+xI=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JlFSPgLh5XUGmn5GDi3FVDtlJPn2jE4AMcG4KS6WHyqv0K5jBZYFah2RARQUn3V/bov2McBsAwTujN2ZvYxwcdm5Zm2Of/1HIvlWpjMA9ZgGLVKxOuE0GyYPnOeWsP6yfAJ4Nryyx4iNszlCTSghdT1co4xLpHFHn5FlpSZmMOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=iQAV4WGH; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1708897278; bh=5+ZKEJt2lEuyeGEsKA+q6VLLnaKfdfonhOD+op5DBFs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iQAV4WGHDyVkBbDLR31KKV9X/vZb+b0VGWmVbJX7XPo7rwLJ5ETdF3aoU/e4jMXjG Jo4P9qTtu5cXqNW/SWU+DOmxyyxvh8d5UYFgfZEZRJP5evBAmdcrLohHoAMLKFj7zF nin2V18GwMgm9kZC/Z16EHLS7uhDb9B+II5boLuOrgYOUpfcwxcwQCMYd7R12Wqa45 38NWSCSlsg7Z5yqLmHscFsoO8TiZwAkzaMgoafbFAVpHSD+g6AO2F/oRq2FxjB/Zw4 eWCbFyly0dnsh4GQCnqJqcFoWJEfD+HYzxqWlWXKLSfAH063MVj5nTDpKSakqG7kft 217ihrmUMP9RA== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Tjcd907Xjz4wcD; Mon, 26 Feb 2024 08:41:16 +1100 (AEDT) Date: Mon, 26 Feb 2024 08:41:16 +1100 From: Stephen Rothwell To: Jani Nikula Cc: Daniel Vetter , Christian =?UTF-8?B?S8O2bmln?= , Somalapuram Amaranath , Intel Graphics , DRI , Linux Kernel Mailing List , Linux Next Mailing List , zack.rusin@broadcom.com, tzimmermann@suse.de, thomas.hellstrom@linux.intel.com, Joonas Lahtinen , Tvrtko Ursulin Subject: Re: linux-next: build failure after merge of the drm-misc tree Message-ID: <20240226084116.4a41527d@canb.auug.org.au> In-Reply-To: <20240220084821.1c852736@canb.auug.org.au> References: <20240206152850.333f620d@canb.auug.org.au> <87y1bp962d.fsf@intel.com> <20240220084821.1c852736@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; boundary="Sig_/.dDX5vFifkGrhZOnmdXK3G+"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/.dDX5vFifkGrhZOnmdXK3G+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Tue, 20 Feb 2024 08:48:21 +1100 Stephen Rothwell = wrote: >=20 > On Mon, 12 Feb 2024 15:15:54 +0200 Jani Nikula wrote: > > > > On Tue, 06 Feb 2024, Stephen Rothwell wrote: =20 > > > > > > After merging the drm-misc tree, today's linux-next build (i386 defco= nfig) > > > failed like this: > > > > > > In function 'i915_ttm_placement_from_obj', > > > inlined from 'i915_ttm_get_pages' at drivers/gpu/drm/i915/gem/i91= 5_gem_ttm.c:847:2: > > > drivers/gpu/drm/i915/gem/i915_gem_ttm.c:165:18: error: 'places[0].fla= gs' is used uninitialized [-Werror=3Duninitialized] > > > 165 | places[0].flags |=3D TTM_PL_FLAG_DESIRED; > > > | ~~~~~~~~~^~~~~~ > > > drivers/gpu/drm/i915/gem/i915_gem_ttm.c: In function 'i915_ttm_get_pa= ges': > > > drivers/gpu/drm/i915/gem/i915_gem_ttm.c:837:26: note: 'places' declar= ed here > > > 837 | struct ttm_place places[I915_TTM_MAX_PLACEMENTS + 1]; > > > | ^~~~~~ > > > > > > Caused by commit > > > > > > a78a8da51b36 ("drm/ttm: replace busy placement with flags v6") =20 > >=20 > > Cc: more people. > > =20 > > > > > > I applied the following hack for today: > > > > > > From: Stephen Rothwell > > > Date: Tue, 6 Feb 2024 15:17:54 +1100 > > > Subject: [PATCH] drm/ttm: initialise places > > > > > > Signed-off-by: Stephen Rothwell > > > --- > > > drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm.c b/drivers/gpu/dr= m/i915/gem/i915_gem_ttm.c > > > index 80c6cafc8887..34e699e67c25 100644 > > > --- a/drivers/gpu/drm/i915/gem/i915_gem_ttm.c > > > +++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm.c > > > @@ -834,7 +834,7 @@ static int __i915_ttm_get_pages(struct drm_i915_g= em_object *obj, > > > =20 > > > static int i915_ttm_get_pages(struct drm_i915_gem_object *obj) > > > { > > > - struct ttm_place places[I915_TTM_MAX_PLACEMENTS + 1]; > > > + struct ttm_place places[I915_TTM_MAX_PLACEMENTS + 1] =3D {}; > > > struct ttm_placement placement; > > > =20 > > > /* restricted by sg_alloc_table */ > > > --=20 > > > 2.43.0 =20 >=20 > I am still applying the above patch ... Any progress? --=20 Cheers, Stephen Rothwell --Sig_/.dDX5vFifkGrhZOnmdXK3G+ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmXbs/wACgkQAVBC80lX 0GzVNAf+NA5dVgLq87RWtvqT6p13nZ1XBU+lhzY1TyrQ6HnAk4MxDUyrgsuG1x9S isf4VzgO4JJ82ryYBxBOeEpWqZjCRJm0rFJ/Bopbc+9nO9oaxMF/2QuXM7fheOQU FkmZjf9k3fqrkhzO7EpnERgPYPaEODOwLHq0tbl9sqagNW3xN0vwq7QgSJ/quN43 z3xEJ/2sGJz3F73adPCnYUhWMUHH477OjWB8Mqgjguov5scDu77zS0gEr/PTnOYA pNDGC/sh0jJAeVh5Yt6w+mbGSCjWRKKy25Yszh/yKGsaeZE5sP7gy9cH/QrfL8Ig GYpWdXwnhA7Hk0DlVVNaDvWnibdhjQ== =FX83 -----END PGP SIGNATURE----- --Sig_/.dDX5vFifkGrhZOnmdXK3G+--