Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13245269rwd; Fri, 23 Jun 2023 19:05:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Tz/YYnfpHrj0nVbj+dw6sU/8wnnS30y5whcIqbxc3OzgpgNdG99LF9JT4et+toUAGo8gQ X-Received: by 2002:a05:6a20:12c8:b0:11e:e9c4:a37b with SMTP id v8-20020a056a2012c800b0011ee9c4a37bmr28441682pzg.18.1687572355517; Fri, 23 Jun 2023 19:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687572355; cv=none; d=google.com; s=arc-20160816; b=pLY0eDwPlRnWy/Jr/n/X7KQsLMykcSB/7E58D7ntZ8k3iVzMSyTzdtX9/yBK5btem2 gp3nBN2zH12bjKTqMou6xrgspJdRkPkzLnQev45DvlrHjMX8/ApK+vIrRjYKg9t/9NYI hbaV/3gohlWRGVFpdng8Mmy1XM4bOQKmc+GV7/b227qSnmLWmAaM0UQoj0q068d0rGmg WeoyW4XJsmhF0SQl9boyg861A7u6565YD6qEh/az075EOsMXgqmySFW8vLMDLv5QUXEU mBXPLgzReJ3pWkWhUDXPGNcxBsJ99ADXY7IzW6CO+p93BtM31Dk/9e4DdnJN98U6X18H L1Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=QARueVM5NgEI8ly6kngoX66nkjJ1HIAQ25yUVJM/M7k=; fh=kF9RQqY6lS304rz2d1/umb5+2gngxq45EjdQQt7DuN4=; b=mWXt+xaCo8aGYy3+NsG1lL7Es4v2D0vnJZ7MKzP/pypl3O+UEuhMNKo80qEcugBo6Q KK/gJ8x4vKX91t/Cc1Hh5ZN1hmppogI0Hh32eA+Fo52pUg5jWYO2cDSvJu/qNpILHm3e ZgM7KR1oM9DNgPCQRhVKYPknxlItGaPxTkwfWZltf2DRudFIg/1P3CAivLAhOdNASGUG 1Q6F259HKV46jg7Wf3hLfx9oTj08VAIgNv6L0VYWlh6qutfMRlkPnJcjuBhrrwUXNqHX rOjiZ+bYFK7USNpbs7RmsU0UGvqLVuwOms4mGWpd6bKD5p5Sj9Xay84HxuUU2qgBFPdf Xv2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=jnZC2ybL; 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 g10-20020a63520a000000b00542d3727da9si644956pgb.464.2023.06.23.19.05.43; Fri, 23 Jun 2023 19:05:55 -0700 (PDT) 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=@gmail.com header.s=20221208 header.b=jnZC2ybL; 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 S232158AbjFXBzf (ORCPT + 99 others); Fri, 23 Jun 2023 21:55:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232108AbjFXBzd (ORCPT ); Fri, 23 Jun 2023 21:55:33 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BBDB273E; Fri, 23 Jun 2023 18:55:32 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1b52bf6e669so9913995ad.2; Fri, 23 Jun 2023 18:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687571732; x=1690163732; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=QARueVM5NgEI8ly6kngoX66nkjJ1HIAQ25yUVJM/M7k=; b=jnZC2ybL2QP1QYE4yr+wvqkrseWiA9e6NoqP59ZFdonp0a0kyhkp+nxwBRo6v1Y6Z/ YBydA7V4cijiWmqQJyW4qnDfnVFc68PWFrCyQW3WfyV83ZcXiNsnDb36P/IPvxrgawFQ PdsKZv5Qeij8R+FWyRTJSBaFp39sDmm1TEDZXejL81ABXEvWRWyW8842SfLapBaR16sF vD+ELtc/pHAw+pFteF4AqHPumHwOHQ8Xukac1UTuqCAW8wrP8Mwv7RW0ehQhkTSuQINb 3rHDLxwqMxX1Ty8DNYaLL6kO4Y4zAIst7+KWnQ3JQ6oIvuvnGT2NsAhP5/RdOvdpuSiy 65Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687571732; x=1690163732; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QARueVM5NgEI8ly6kngoX66nkjJ1HIAQ25yUVJM/M7k=; b=SGFDTHtNBzrFI1rAqzLPj4AxcZnjGEWr9Ly5TOrMTfIk6Mz/+kLUHQA6nuIIYo1hGc JY/e5CFVlKngxo459jOPqzho64957EUGAJeXfLGEem8A4DAVvhnImpy84HYkElvJ0huQ KyB7qSVzf/oHrCLlIhh/tSXsC6WlLdR2QBrxiH7rQsZTuJvdMR1MVjZZDuWj4M8buYgR IBLmLwRynO0uc4xA4hgiJkqc+CKjuezuZR5MpVtHjGRy3Flu+rHajWrAc7iFmKwy3xME L0fUaJr5fvUK9BsSUCVC3BdkUETI8ujVfWwK6Vc3QX6UT9NMSewr9JO5GyJKquIyIIFe QRjQ== X-Gm-Message-State: AC+VfDw2bUm5UUsTZ4uih77FefgKRjy/7u3t3DJ0cjJd5t3W8+Ikv42a Bb9IA88yMAhCIwqt8DrYgfOPC3+2QiM= X-Received: by 2002:a17:902:d50c:b0:1b0:4a37:9ccc with SMTP id b12-20020a170902d50c00b001b04a379cccmr736136plg.62.1687571731937; Fri, 23 Jun 2023 18:55:31 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id jn16-20020a170903051000b001b53472353csm172067plb.211.2023.06.23.18.55.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 18:55:31 -0700 (PDT) Sender: Guenter Roeck Date: Fri, 23 Jun 2023 18:55:29 -0700 From: Guenter Roeck To: Thomas Zimmermann Cc: arnd@arndb.de, daniel.vetter@ffwll.ch, deller@gmx.de, javierm@redhat.com, gregkh@linuxfoundation.org, linux-arch@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, linux-sh@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, linux-m68k@lists.linux-m68k.org, loongarch@lists.linux.dev, sparclinux@vger.kernel.org, linux-snps-arc@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" , linux-arm-kernel@lists.infradead.org Subject: Re: [v3,17/19] arch/sparc: Implement fb_is_primary_device() in source file Message-ID: References: <20230417125651.25126-18-tzimmermann@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230417125651.25126-18-tzimmermann@suse.de> X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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 Hi, On Mon, Apr 17, 2023 at 02:56:49PM +0200, Thomas Zimmermann wrote: > Other architectures implment fb_is_primary_device() in a source > file. Do the same on sparc. No functional changes, but allows to > remove several include statement from . > > v2: > * don't include in header file > > Signed-off-by: Thomas Zimmermann > Cc: "David S. Miller" This patch results (or appears to result) in the following build error when trying to build sparc64:allmodconfig. Error log: :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: drivers/cpufreq/sparc-us2e-cpufreq: section mismatch in reference: cpufreq_us2e_driver+0x20 (section: .data) -> us2e_freq_cpu_init (section: .init.text) WARNING: modpost: drivers/cpufreq/sparc-us3-cpufreq: section mismatch in reference: cpufreq_us3_driver+0x20 (section: .data) -> us3_freq_cpu_init (section: .init.text) ERROR: modpost: missing MODULE_LICENSE() in arch/sparc/video/fbdev.o ERROR: modpost: "__xchg_called_with_bad_pointer" [lib/atomic64_test.ko] undefined! Bisect log attached. Note that I suspect that there are several problems, but that is difficult to determine since this patch can not easily be reverted. Guenter --- # bad: [8d2be868b42c08290509c60515865f4de24ea704] Add linux-next specific files for 20230623 # good: [45a3e24f65e90a047bef86f927ebdc4c710edaa1] Linux 6.4-rc7 git bisect start 'HEAD' 'v6.4-rc7' # good: [a5838c78db6a3a02e8d221e588c948f792e7f256] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next.git git bisect good a5838c78db6a3a02e8d221e588c948f792e7f256 # bad: [cca41cc0b5485a0ec20707316c1a00082c01a2af] Merge branch 'for-next' of git://git.kernel.dk/linux-block.git git bisect bad cca41cc0b5485a0ec20707316c1a00082c01a2af # bad: [901bdf5ea1a836400ee69aa32b04e9c209271ec7] Merge tag 'amd-drm-next-6.5-2023-06-09' of https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect bad 901bdf5ea1a836400ee69aa32b04e9c209271ec7 # good: [c2d2588c702364ff53916ddd97e2b26fd4f4a317] drm/amdkfd: add send exception operation git bisect good c2d2588c702364ff53916ddd97e2b26fd4f4a317 # bad: [1b842f73edbb1f8513ef4a89389176c628dc014a] drm/i915/guc: Remove some obsolete definitions git bisect bad 1b842f73edbb1f8513ef4a89389176c628dc014a # bad: [b8887e796e06b1de4db899f49d531d220f94f393] Merge tag 'drm-misc-next-2023-05-24' of git://anongit.freedesktop.org/drm/drm-misc into drm-next git bisect bad b8887e796e06b1de4db899f49d531d220f94f393 # bad: [bfdede3a58ea970333d77a05144a7bcec13cf515] drm/rockchip: cdn-dp: call drm_connector_update_edid_property() unconditionally git bisect bad bfdede3a58ea970333d77a05144a7bcec13cf515 # good: [b50f6d465ac1fb37cab7bfb39ac6c9fb9d8e3716] arch/powerpc: Implement with generic helpers git bisect good b50f6d465ac1fb37cab7bfb39ac6c9fb9d8e3716 # bad: [322d716a3e8a74fb75cd0f657647be4df253fd2f] drm/vkms: isolate pixel conversion functionality git bisect bad 322d716a3e8a74fb75cd0f657647be4df253fd2f # bad: [55b24786b74863b8f10e4d262e642749911cb3bb] drm/display: Add missing OLED Vesa brightnesses definitions git bisect bad 55b24786b74863b8f10e4d262e642749911cb3bb # bad: [1c9da7db8899fa0e891997118d75b46d38102497] drm/armada: Include git bisect bad 1c9da7db8899fa0e891997118d75b46d38102497 # bad: [db76f19a607d6cf4a9d5868d05675c355e99809c] arch/sparc: Implement with generic helpers git bisect bad db76f19a607d6cf4a9d5868d05675c355e99809c # bad: [4eec0b3048fcd74b504c2a6828a07f133a8ab508] arch/sparc: Implement fb_is_primary_device() in source file git bisect bad 4eec0b3048fcd74b504c2a6828a07f133a8ab508 # good: [b6cf29637be638a6846d2d297d80cf7c6fb74faf] arch/sh: Implement with generic helpers git bisect good b6cf29637be638a6846d2d297d80cf7c6fb74faf # first bad commit: [4eec0b3048fcd74b504c2a6828a07f133a8ab508] arch/sparc: Implement fb_is_primary_device() in source file