Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1266510lfc; Wed, 1 Jun 2022 13:35:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoj19yHUtemoQL1YVHg/Xp3Mlychu/oMPBddwfsuVA+MigOKrKeRh7sQCEqnElbuuPAYVA X-Received: by 2002:a17:90a:1911:b0:1df:b08a:e252 with SMTP id 17-20020a17090a191100b001dfb08ae252mr36305445pjg.215.1654115739621; Wed, 01 Jun 2022 13:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654115739; cv=none; d=google.com; s=arc-20160816; b=McJ+2XR33Fvk+1Fj1pMFHKyus52IApBYbs/OBD98dBf5SmwKZleI/gl4WMTWQ/aN+O dwaihntE7/Rl401AuJBzMQm6bcn8zkBHZr2zkuwnKhYbsms9eW5+geYEFfMUXgZrGP4M 9M5Z511CFw8/AIrzY/HKOt3XGsEEzLAJk0O8oQlXE3rmOV77N1NrxZPMj5kAsbrYwdU2 TWmclttVTu4tfzgtleMriELBMzEVfygCDHkge1dtx9kAWqEIwzEXJYrQvKw+AWR+4hLv EX5vuIhq0btxDf+QqhhDah8u5aYJrafwnmaqBE+686yjE+z813g16v0wbb4HDP5AeM4q JUTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=K1tW/XOLBYiNTswRwofz7qzBljyC8VEyS8m1eIRY/rs=; b=Km0TOPtgj0lmqcRz0id+VbQ8otp0KOSwNyraoQCPeuhZ158sEPq7gvWmtewx01omYT pCSLRtV32dZNTkflYlel1ySEaW4+Vm1cdz600xo+GTQZ5+ZtN0UOEj2+t2WILJ91jmVf j8ssNGFzJHQ22RCOA72iGPDSv4ozTD52zPwHDV3v+fAjqb3hiKix1Q8KcE9Sx7aNFzfp Lxs+FJ4QvEBIatDvIR97hzFQ1QuHO1BiNqZLvPDArrlo1VrxoZN+IYbc+rV13NCZGx7k 7pO7Ux/H5LBwrRjmSVezMGgAeBYDm9W8bbP4IXxkGtptz08Ti9wXIzrYl48DyvycbfdI TgpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VWcfGezU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x75-20020a62864e000000b005188f12e783si2600475pfd.343.2022.06.01.13.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:35:39 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VWcfGezU; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7E8A281877; Wed, 1 Jun 2022 12:45:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347808AbiEaUlX (ORCPT + 99 others); Tue, 31 May 2022 16:41:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237511AbiEaUlU (ORCPT ); Tue, 31 May 2022 16:41:20 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EDAB2A7; Tue, 31 May 2022 13:41:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9C9EBB80FB3; Tue, 31 May 2022 20:41:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EB82C341C6; Tue, 31 May 2022 20:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654029676; bh=pJkA28MYtLxRIxdBNIGyaIzZMHuixKblkEVeOXjCztQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=VWcfGezUwRb/Zeq9RJ8smztfHBwzyZ1MsKlThN8toiLSmD4YS2YZDI6zDF+nAytnF WayKbiamfjtPPDyhJAZmH6zzZUDLkGKX9QihnTbUQEDkSWMtvkztUHmBwSYWCGozg3 K36CM/wriFIpVrmtk6+QnmNan8mZs5G+SoHv2jZ3SNDJQ3ikRNGKJIZ4SGFu8sUHFe pASO8hYwSZ+HCLZmxCZCy+i1h5uvPjW2nUYF/RsHvDRY2CImnb9KSORB4t/3AvhtPG VyOLv69ZL/kplDjJCqp4HG4pBmdmUNzEZJgmb/cnwtQSGNLzSj5YQa/bOPud1qtw/w bnLvmGyk3nGmg== Received: by mail-yw1-f181.google.com with SMTP id 00721157ae682-2f83983782fso152892057b3.6; Tue, 31 May 2022 13:41:16 -0700 (PDT) X-Gm-Message-State: AOAM532dObBDBH2J2JR9TBO36aLggL9p+w435Q6W0VRL2wDwgJaEP/Zb Mxpw7YQNgDUaj9q9DC+YfOXKPECjlwL79aMIwQM= X-Received: by 2002:a81:ad7:0:b0:2e6:84de:3223 with SMTP id 206-20020a810ad7000000b002e684de3223mr67745984ywk.209.1654029675316; Tue, 31 May 2022 13:41:15 -0700 (PDT) MIME-Version: 1.0 References: <358025d1-28e6-708b-d23d-3f22ae12a800@xen0n.name> In-Reply-To: From: Arnd Bergmann Date: Tue, 31 May 2022 22:40:58 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [musl] Re: [GIT PULL] asm-generic changes for 5.19 To: Huacai Chen Cc: musl@lists.openwall.com, WANG Xuerui , Linus Torvalds , linux-arch , GNU C Library , Yoshinori Sato , Peter Zijlstra , Marc Zyngier , Masahiro Yamada , Linux Kernel Mailing List , Jiaxun Yang , ACPI Devel Maling List , Jianmin Lv , linux-pci , Ard Biesheuvel , Huacai Chen Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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, May 31, 2022 at 10:07 PM Arnd Bergmann wrote: > > On Tue, May 31, 2022 at 6:01 PM Huacai Chen wrote: > > On Tue, May 31, 2022 at 7:15 PM Arnd Bergmann wrote: > > > On Tue, May 31, 2022 at 10:17 AM Huacai Chen wrote: > > > https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git/log/?h=loongarch-next > > has been updated. Now this branch droped irqchip drivers and pci > > drivers. But the existing irqchip drivers need some small adjustment > > to avoid build errors [1], and I hope Marc can give an Acked-by. > > Ok, glad you got that working. > From an allmodconfig build, I see two more things that could be addressed first: drivers/pci/probe.c: In function 'pci_scan_bridge_extend': drivers/pci/probe.c:1298:44: error: implicit declaration of function 'pcibios_assign_all_busses' [-Werror=implicit-function-declaration] 1298 | if ((secondary || subordinate) && !pcibios_assign_all_busses() && | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/pci/setup-res.c: In function '__pci_assign_resource': drivers/pci/setup-res.c:257:46: error: 'PCIBIOS_MIN_IO' undeclared (first use in this function) 257 | min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM; | ^~~~~~~~~~~~~~ drivers/pci/setup-res.c:257:46: note: each undeclared identifier is reported only once for each function it appears in drivers/pci/setup-res.c:257:63: error: 'PCIBIOS_MIN_MEM' undeclared (first use in this function) 257 | min = (res->flags & IORESOURCE_IO) ? PCIBIOS_MIN_IO : PCIBIOS_MIN_MEM; | ^~~~~~~~~~~~~~~ drivers/pci/quirks.c: In function 'quirk_isa_dma_hangs': drivers/pci/quirks.c:252:14: error: 'isa_dma_bridge_buggy' undeclared (first use in this function) 252 | if (!isa_dma_bridge_buggy) { | ^~~~~~~~~~~~~~~~~~~~ I think you accidentally dropped the asm/pci.h header, so adding that one back should make it build again. lib/test_printf.c:215: warning: "PTR" redefined 215 | #define PTR ((void *)0xffff0123456789abUL) | In file included from /git/arm-soc/arch/loongarch/include/asm/vdso/vdso.h:9, from /git/arm-soc/arch/loongarch/include/asm/vdso/gettimeofday.h:13, from /git/arm-soc/include/vdso/datapage.h:137, from /git/arm-soc/arch/loongarch/include/asm/vdso.h:11, from /git/arm-soc/arch/loongarch/include/asm/elf.h:13, from /git/arm-soc/include/linux/elf.h:6, from /git/arm-soc/include/linux/module.h:19, from /git/arm-soc/lib/test_printf.c:10: /git/arm-soc/arch/loongarch/include/asm/asm.h:182: note: this is the location of the previous definition 182 | #define PTR .dword | Not sure what the best fix is for this, maybe the contents of asm/asm.h could just be hidden in an "#idef __ASSEMBLER__" check. This can be a follow-up patch when the branch is merged. Arnd