From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20246 invoked from network); 31 May 2022 20:41:32 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 31 May 2022 20:41:32 -0000 Received: (qmail 31908 invoked by uid 550); 31 May 2022 20:41:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 31863 invoked from network); 31 May 2022 20:41:28 -0000 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== X-Gm-Message-State: AOAM5318Ec9XTVbvG/0PnlA8Cbc8fDYssx3oRxyEZJSimxXYEd3q50Lv LawuxyE7hpzIWFO84CHrgBwB/nRmbOUHhl8lkO4= X-Google-Smtp-Source: ABdhPJxXa52JB96dEGmMMbjyWZgKzuSGhmh2BklKLjs5FBCGtGzMkaptgm5Aoiqqleh0v4fR3TR1BO1ls94gmjh98Ck= 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: 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" Subject: Re: [musl] Re: [GIT PULL] asm-generic changes for 5.19 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