Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp13843033rwd; Sat, 24 Jun 2023 07:23:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7P3WktchUa39L7Gg7+AoxQXPwK+K6DZmG5Z82kIZRsxu5DFLPgtCWCDql1ilWkEROudtVH X-Received: by 2002:a05:6808:1788:b0:39e:a94e:11e with SMTP id bg8-20020a056808178800b0039ea94e011emr33694400oib.51.1687616633440; Sat, 24 Jun 2023 07:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687616633; cv=none; d=google.com; s=arc-20160816; b=Y1mvwnhfjGQb+/b9Vi0O8msae0NnajZgS49oTZK+4BsehA/86jR1TGRpeg7pguZ8xG ece5W8mxWdPII3BRS5AGNoCxBUNdfOoX4IvE51fDWuxyY10fZyItiyV0ql5Vi4f1tc/W d9pzDCY/8A0n6R0BL/PJF/KGv1wyOhSnYseFJThp1AuAEZE3Yx7d7fiENbO5I9niqWpY F/6AGP+IElkndD6BIh/utsOVn7SxdXB6z1u+klKR4k3ovuFWEFljJVQVeOTjIXnpWXL1 ef3hn5aB/hX6pQLbTrRfmRq223xmoqWyUkXW3Nouapic3lyc5c1DG4CXO4oGJ9EyI7eQ IPRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=Ihz6/bi511oP4d526TPPtM1blBZt4arV1NypQDvLup8=; fh=nOl8QevVhh3mWbbW7vsUGdQGJIEiW0fpOw8NkqzGvVU=; b=gjfh7D74zP0QScxsrp+IOjwa4WyOXlEjA0K6aKDGusqP3pkY/Ehw2WozSikL7t/6TS oVwec3xIFPfNupHmaPNWz+OWRcD4/MXXLjA8kVgU0mQ4c+aBX5gYl90l4oOHeUX8WBhH ToXUOoOHvpVAuZR8fOlOy2zU8+OyOutB0htUUWg9MNYLfs2l4WMS8dIQihMzsOoUTrIW RlBDCAkIkSou1tfRPYERii1/yTWS940NK0/0MUySaX3t6oM4iiUdUcGhu4pfRX28efxV TfasowrwO0NgxFziW5sD/keaQUryBrS9xWNiuu1ONg7FztexqknJlAaEBdQaOmaPTdOI Ct2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm1 header.b=Owr1gNHl; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=VK5TgDjV; 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 c30-20020a634e1e000000b0054f78775084si1534299pgb.125.2023.06.24.07.23.40; Sat, 24 Jun 2023 07:23:53 -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=@arndb.de header.s=fm1 header.b=Owr1gNHl; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=VK5TgDjV; 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 S233083AbjFXOWV (ORCPT + 99 others); Sat, 24 Jun 2023 10:22:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbjFXOWU (ORCPT ); Sat, 24 Jun 2023 10:22:20 -0400 Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 979561BDB; Sat, 24 Jun 2023 07:22:18 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 9D1445801DE; Sat, 24 Jun 2023 10:22:17 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Sat, 24 Jun 2023 10:22:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1687616537; x=1687623737; bh=Ih z6/bi511oP4d526TPPtM1blBZt4arV1NypQDvLup8=; b=Owr1gNHl98uY/LqghJ ew6TAsiUgTWjuGMsxDEW7dPPnLV3e7dQ48EjTdP5xHC8mtn8gOYupnCSHk4hfivP 2548A0+ELQQlya9a+Jj0JkYOlxNPXvbMtrvZE4ZYuMEg0oeEVRQxH3fZk7dq7fcR K2FnnRvxLC2ctHogIIPsu5AzKYi/b1l8LHXlg+nhxQKDQbQ2GgNgOE7o0SLx/lJl ZJl/F2RHs+ZN1HfuzBUUYja0J54XdNJ5XYphhB2SZMV3SOmTcHA6JZT0U9/SAmVC 9c8VJBDM16nnBrphov+n9ifuK0VIrDEcUy1gZSuUHvkasNoYZlMz0wEqqeUYovQg 985w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1687616537; x=1687623737; bh=Ihz6/bi511oP4 d526TPPtM1blBZt4arV1NypQDvLup8=; b=VK5TgDjVEpiEaunZZwRRAQPsTnjFp zkoDEEdhdFioqudleRGZjNuek0JsRnk3YrU4OgaJsTS63QgF8QOtf7vg2z1azqmX zbJgS5KJT8RVEJGWIcWXoccJV7DsEUPIM7fQrw314Non4B0AcKCTS2tiu4ftIj8G sBy+JyOj8lBXvLnjyDAYLzzz21cS9Rw6GZ1k8qjXXnVcAj+7YV4car/+OJ2Hz1Vy XzKWDBO3QquHdDPcc9ZnIK0trCu+0GLImpYfYIOCCwLguVtAkJf4TryNcTfPhMob qjIlOfgux2mxV3SnTy++07Z7K6tSNSgFgk6q7BXZ1w+17nZskwCf6fCwA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrgeegjedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id B8029B60086; Sat, 24 Jun 2023 10:22:16 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-499-gf27bbf33e2-fm-20230619.001-gf27bbf33 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20230417125651.25126-18-tzimmermann@suse.de> <55130a50-d129-4336-99ce-3be4229b1c7d@app.fastmail.com> Date: Sat, 24 Jun 2023 16:21:47 +0200 From: "Arnd Bergmann" To: "Guenter Roeck" , "Thomas Zimmermann" Cc: "Daniel Vetter" , "Helge Deller" , "Javier Martinez Canillas" , "Greg Kroah-Hartman" , Linux-Arch , 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 Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 Sat, Jun 24, 2023, at 15:26, Guenter Roeck wrote: > On 6/24/23 02:27, Arnd Bergmann wrote: >> On Sat, Jun 24, 2023, at 03:55, Guenter Roeck wrote: >>> >>> 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: "__xchg_called_with_bad_pointer" [lib/atomic64_test.ko] >>> undefined! >> >> These all look like old bugs that would be trivially fixed if >> anyone cared about sparc. >> > > Odd argument, given that this _is_ a sparc patch. Those may be old > bugs, but at least in 6.4-rc7 sparc64:allmodconfig does at least compile. The first three are non-fatal warnings even with CONFIG_WERROR=y, I'm sure they have been there for years. I don't immediately see what caused the __xchg_called_with_bad_pointer error, but it does not look related to the fbdev patch. I would guess that this is a second regression that happened to come in at the same time. > Sure, I can stop build testing it if that is where things are going. I think we clearly want to fix the fbdev regression you found, and maybe bisect the atomic64_test as well to see if that was caused by a recent patch to get it into a working state again. Regarding whether to continue build testing: if every kernel build warns about a missing syscall for almost four years (clone3 was added in 5.3 and requires a minimal review to hook it up to asm code), it shows that the architecture is seriously neglected already. Arnd