Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6194949rwb; Tue, 22 Nov 2022 09:57:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf4QyVQRM+O1XTTYr4zzl1lbus3DKjL5g2nAl6gMyzJKNfOkUIDLpTzgqMrHzHuWFymedXB3 X-Received: by 2002:a17:90b:3696:b0:214:1df2:b566 with SMTP id mj22-20020a17090b369600b002141df2b566mr27445200pjb.147.1669139871706; Tue, 22 Nov 2022 09:57:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669139871; cv=none; d=google.com; s=arc-20160816; b=kXdx9HfkWXErXmkT5iK/i8yy808wGq8Nri4T6yOdkeHuN3wwLriX+5brkKTrA5sO7o Y4Cc8sy+4buGDSfjO7TQcNXtiEa8vgEtEhCnrnqXNuCRM3OzdmpQnA6x/Q8mTSvH4VlU 7eY8VJcSEHwVu4btd/BSbqDl2WiKHY6g8fqK8svOdkw079p+s9SZJZdFiy8Zz3ZDrC8D f0r566blVy3jWQHzVF63F7bbIawSNUZbkWndHyTmp1wJVlWAz18FNO10Xtg1P3550MHe 9xX06YdddzT2dv+newKC0hRpbe/BXcsCqrG7BnIKZeDC2TgmaVVM5mSsBJ/tu6vmsUqw ZLYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Z2J/AOx23miWElPmE+7zDiqIr927sWbMxM+vCpv8Szo=; b=TnE6vyO9phB1XixYFkicYDZigTuJmVlR+UIFZL6rnwrjw32aesFVXmbjTOKUfIcK5Z z4DlfSetPaOyFnTB2JNn071LqaRHi+c3baodFegCoxZXZY47dmSfO/dO1ukofo9+XtdH PDB36MI54Ex148Fb6G9WbP3/0sxzcN2dUio826SBAIDER80D1nErutJgexcusXx5f/pL 4JE8gtLHK0+lu4aL6teOr4OHuc61HZkobORON/pwwmwlpTpjrvPWfR7BaZG1SEwkSlld yZ46EKlPpoSu0Vf9E0lhetyFIRM0s46Vj8IOe+WwXw+vcMKnLXdu7tjqZYHhHo0O61xM OseQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=wTtbG4Qh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f14-20020a63f10e000000b0047688fc8acdsi15010838pgi.474.2022.11.22.09.57.35; Tue, 22 Nov 2022 09:57:51 -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=@infradead.org header.s=bombadil.20210309 header.b=wTtbG4Qh; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231174AbiKVQ6X (ORCPT + 90 others); Tue, 22 Nov 2022 11:58:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234369AbiKVQ6Q (ORCPT ); Tue, 22 Nov 2022 11:58:16 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27D1C1ADB9; Tue, 22 Nov 2022 08:57:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=Z2J/AOx23miWElPmE+7zDiqIr927sWbMxM+vCpv8Szo=; b=wTtbG4QhN7bfXNkk5Lo4RVfuaq ZxHvocPeWadBgn/JFrjJ2RElxv3AzRYNQwycazhkpATW1uTxbxStM0GmQ75nLVgGlZ+O+ym+klS0z Cm9hG4G7V3+oqlbQblo8aNmQAqb78/oJYjH+sm+dpW9fYGLmocYm4+/9C+OGUvQ3917A8vlXDUlNM 4J8zQwm5A5iQNa7QHsUQnL1/lP4SOdG91Loikz90io5tazIE1JHT9oBaJL1ADokpG8e1tCsfdoBAG EQuJTM8rGkMDHns0UrOsUAN0q6J3+xOfXjZuFXdRweMyPeaHLg4Bx8clpx07A1I1AW5QjgDBpTDfs AwAq39vQ==; Received: from [2601:1c2:d80:3110::a2e7] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxWao-00AtEM-BC; Tue, 22 Nov 2022 16:57:54 +0000 Message-ID: <5e27ba9e-69a1-bf70-941e-88637b4f5a3c@infradead.org> Date: Tue, 22 Nov 2022 08:57:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: Build regressions/improvements in v6.1-rc6 Content-Language: en-US To: Johannes Berg , 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 References: <20221122105054.4062213-1-geert@linux-m68k.org> <021efb6c9295402cf05406bb319c441c0b0229b3.camel@sipsolutions.net> From: Randy Dunlap In-Reply-To: <021efb6c9295402cf05406bb319c441c0b0229b3.camel@sipsolutions.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE 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 11/22/22 07:00, Johannes Berg wrote: > On Tue, 2022-11-22 at 08:55 -0500, Alex Deucher wrote: >>> >>> + /kisskb/src/arch/um/include/asm/processor-generic.h: error: called object is not a function or function pointer: => 94:18 >>> + /kisskb/src/drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_topology.c: error: control reaches end of non-void function [-Werror=return-type]: => 1934:1 >>> >>> um-x86_64/um-all{mod,yes}config (in kfd_cpumask_to_apic_id()) >> >> 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.) I have patches for lots of these issues, but some people said that they would want to build DRM drivers for use with KUNIT (i.e. UML), so I thought that meant my patches were not needed. -- ~Randy