Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5976049rwb; Tue, 22 Nov 2022 07:17:48 -0800 (PST) X-Google-Smtp-Source: AA0mqf4FnhNP2K9SjF1Rvt3hrT0ypWQT72QBhVHGMCbA1xdwf4txulyM8WY14a5N7/fPwPvAK+LK X-Received: by 2002:aa7:dd43:0:b0:467:4595:fc5c with SMTP id o3-20020aa7dd43000000b004674595fc5cmr21033453edw.114.1669130267851; Tue, 22 Nov 2022 07:17:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669130267; cv=none; d=google.com; s=arc-20160816; b=qaASKon+PIZb6u4W3N5QC2/uxnsqMlL5j8d01Yl8DBs4a3VAOg47yHDHAD7/nCfVU8 psSAKlnWUNVZQlAm61JdHaCAvQIbAff4Yb1Tuc17Ho3Yzz20hcR4CVNaXENf5m9VFTOd sL7+FWJwOqK1UhWe5Ecum87rEtimaqCNPJFb7CRyVxGwqJfbjw4WJn+n1pM/wrjOaXSt 18j52TdSIchZn0IhXeD7HXLrfTyKOkQiFfd3fSJFP8eCXZW80rR02yw0z2M1UgVeRO7H cnyF9Aimcd5jkFfMgaxMvNWRDN8McRtnlICMCwbDWIbZnMJEFqviq2fhQiMNNeD+OesN 6krQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=+NFpLSd8ScOHEVd4DHTztoyZ+UkB3J/9rUIzBb7GyY0=; b=f1hZk0g1pBXgrMECL5/P7xEDRybMJzZuaxZp3iFl9nd54UQSWFYvQ3sY9yKynFNlBH KrVIcDQsxc0X039EmtPVVqdZWvjXwiCjjRRSjPSeaHPttpxDRpR5GQ1x4r03n2hMwW8W 8v0ssCuWqWLTlGkNkyEneXVLw3FLHlewP0zM/mZKh0Wgy5NOYim4nyLxfMEfSeNR7f+6 iPASzGCX8wpqBbQptwhSSODg2rijOscaD/rPs+ovoKTCsf5O6K77OjFGR8K2NurdvsKs eLdwsvvPBzuldOYd3/mpd4EcKz7jkZIEXq5DbqvqjY3lyT1zS4nb1b2suk7okf/fg9OO kOdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=M4XN9XK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xd9-20020a170907078900b007addbdb9fbbsi8706632ejb.558.2022.11.22.07.17.24; Tue, 22 Nov 2022 07:17:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=M4XN9XK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233894AbiKVPCa (ORCPT + 90 others); Tue, 22 Nov 2022 10:02:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234301AbiKVPCD (ORCPT ); Tue, 22 Nov 2022 10:02:03 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57F2718B0B; Tue, 22 Nov 2022 07:00:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=+NFpLSd8ScOHEVd4DHTztoyZ+UkB3J/9rUIzBb7GyY0=; t=1669129239; x=1670338839; b=M4XN9XK1W5a0FSbzeMQpJI7YfGc4KLqku3aIDcoSTviF46U Tjum65SNwV7blxEtkrq70yR1nrlawSGN8RPBRrlaCaQfmfCeBussv6sdgC16zA/JACLvFXglfLGti tyZWeutUSS1t1EL/sf6k/2f4VDe8Kz8dJ8mXHOXIChu2IoRZdI6mxvfX7y6tK8d55o0udNvYnB48l 2jkzWhsLco2GCmx3+5zD1AIW1CD/OoEJYSFfeNj5THvmhRamLOzBGllFz3UNBwfvpUOIuD+tQ210r +ftThAwGnUT1rqyknPaGbddy03l14pUZgPE9iJw1rvEzPUXEM/k62gNvbQwIgisQ==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1oxUlH-006Ngc-2Z; Tue, 22 Nov 2022 16:00:35 +0100 Message-ID: <021efb6c9295402cf05406bb319c441c0b0229b3.camel@sipsolutions.net> Subject: Re: Build regressions/improvements in v6.1-rc6 From: Johannes Berg To: Alex Deucher , Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, linux-staging@lists.linux.dev, linux-um@lists.infradead.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org Date: Tue, 22 Nov 2022 16:00:34 +0100 In-Reply-To: References: <20221122105054.4062213-1-geert@linux-m68k.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2022-11-22 at 08:55 -0500, Alex Deucher wrote: > >=20 > > + /kisskb/src/arch/um/include/asm/processor-generic.h: error: called= object is not a function or function pointer: =3D> 94:18 > > + /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: e= rror: control reaches end of non-void function [-Werror=3Dreturn-type]: = =3D> 1934:1 > >=20 > > um-x86_64/um-all{mod,yes}config (in kfd_cpumask_to_apic_id()) >=20 > Presumably cpu_data is not defined on um-x86_64? Does it even make > sense to build drivers on um-x86_64? Drivers in general yes ;-) This driver, probably not. But the issue is that a lot of drivers "depends on X86_64" or such, where only "X86" is the arch symbol. You could add "X86 && X86_64" to really build on x86 64-bit only. I didn't check this driver, but this has mostly popped up since UM got PCI support some time ago (which I added.) johannes