From: Arnd Bergmann <arnd@kernel.org>
To: WANG Xuerui <kernel@xen0n.name>
Cc: Huacai Chen <chenhuacai@kernel.org>,
linux-arch <linux-arch@vger.kernel.org>,
GNU C Library <libc-alpha@sourceware.org>,
Yoshinori Sato <ysato@users.sourceforge.jp>,
Peter Zijlstra <peterz@infradead.org>,
Marc Zyngier <maz@kernel.org>,
Masahiro Yamada <masahiroy@kernel.org>,
musl@lists.openwall.com,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Jiaxun Yang <jiaxun.yang@flygoat.com>,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
Jianmin Lv <lvjianmin@loongson.cn>,
linux-pci <linux-pci@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
Ard Biesheuvel <ardb@kernel.org>,
Huacai Chen <chenhuacai@loongson.cn>
Subject: Re: [musl] Re: [GIT PULL] asm-generic changes for 5.19
Date: Wed, 1 Jun 2022 09:41:31 +0200 [thread overview]
Message-ID: <CAK8P3a1Mg=Mr6aig25Kk9+Qf_E6DPMs0Yd-ozcvmY11kvCU74Q@mail.gmail.com> (raw)
In-Reply-To: <832c3ae8-6c68-db2c-2c7f-0a5cd3071543@xen0n.name>
On Wed, Jun 1, 2022 at 7:52 AM WANG Xuerui <kernel@xen0n.name> wrote:
> On 6/1/22 00:01, 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.
> > Thanks.
> >
> > This branch can be built with defconfig and allmodconfig (except
> > drivers/platform/surface/aggregator/controller.c, because it requires
> > 8bit/16bit cmpxchg, which I was told to remove their support).
> >
> > [1] https://lore.kernel.org/lkml/e7cf33a170d0b4e98e53744f60dbf922@kernel.org/T/#t
>
> I see the loongarch-next HEAD has been updated and it's now purely arch
> changes aside from the two trivial irqchip cleanups. Some other changes
> to the v11 patchset [1] are included, but arguably minor enough to not
> invalidate previous Reviewed-by tags.
Very nice! I don't see exactly how the previous build bugs were addressed,
but I can confirm that this version builds. Regarding the two irqchip patches,
621e7015b529 ("irqchip/loongson-liointc: Fix build error for LoongArch") is
a good way to work around the mips oddity, and I have no problem taking
that through the asm-generic tree. The other one, f54b4a166023 ("irqchip:
Adjust Kconfig for Loongson"), looks mostly unnecessary, and I think only
the LOONGSON_HTPIC change should be included here, while I would
leave out the COMPILE_TEST changes and instead have the driver
changes take care of making it possible to keep building it on x86, possibly
doing
depends on MACH_LOONGSON64 || (COMPILE_TEST && ACPI)
in the future, after the loongarch64 ACPI support is merged.
> After some small tweaks:
>
> - adding "#include <asm/irqflags.h>" to arch/loongarch/include/asm/ptrace.h,
> - adding an arch/loongarch/include/uapi/asm/bpf_perf_event.h with the
> same content as arch/arm64's, and
> - adding "depends on ARM64 || X86" to
> drivers/platform/surface/aggregator/Kconfig,
>
> the current loongarch-next HEAD (commit
> 36552a24f70d21b7d63d9ef490561dbdc13798d7) now passes allmodconfig build
> (with CONFIG_WERROR disabled; my Gentoo-flavored gcc-12 seems to emit
> warnings on a few drivers).
The only one of these issues that I see is the surface aggregator one.
I think we can address all three as follow-up fixes after -rc1 if the port
gets merged and these are still required.
> The majority of userspace ABI has been stable for a few months already,
> after the addition of orig_a0 and removal of newfstatat; the necessary
> changes to switch to statx are already reviewed [2] / merged [3], and
> have been integrated into the LoongArch port of Gentoo for a while. Eric
> looked at the v11 and gave comments, and changes were made according to
> the suggestions, but it'd probably better to get a proper Reviewed-by.
Right.
> Among the rest of patches, I think maybe the EFI/boot protocol part
> still need approval/ack from the EFI maintainer. However because the
> current port isn't going to be able to run on any real hardware, maybe
> that part could be done later; I'm not sure if the unacknowledged EFI
> bits should be removed as well.
Ard, do you have any last comments on this?
> Arnd, what do you think about the current branch's status? Do Huacai
> need to send a quick final v12 to gather tags?
I think that would be good, yes.
Arnd
next prev parent reply other threads:[~2022-06-01 7:42 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-26 15:00 [GIT PULL] asm-generic changes for 5.19 Arnd Bergmann
2022-05-26 18:20 ` pr-tracker-bot
2022-05-29 11:24 ` Arnd Bergmann
2022-05-29 13:10 ` WANG Xuerui
2022-05-30 8:20 ` Arnd Bergmann
2022-05-30 13:01 ` Huacai Chen
2022-05-30 15:00 ` WANG Xuerui
2022-05-30 15:55 ` [musl] " Arnd Bergmann
2022-05-31 7:50 ` Huacai Chen
2022-05-31 8:09 ` Arnd Bergmann
2022-05-31 8:17 ` Huacai Chen
2022-05-31 11:15 ` Arnd Bergmann
2022-05-31 16:01 ` Huacai Chen
2022-05-31 20:07 ` Arnd Bergmann
2022-05-31 20:40 ` Arnd Bergmann
2022-06-01 0:41 ` WANG Xuerui
2022-06-01 1:13 ` WANG Xuerui
2022-06-01 5:52 ` WANG Xuerui
2022-06-01 7:41 ` Arnd Bergmann [this message]
2022-06-01 16:01 ` Ard Biesheuvel
2022-06-01 16:44 ` WANG Xuerui
2022-06-02 10:02 ` Huacai Chen
2022-05-29 13:21 ` Marc Zyngier
2022-05-30 6:28 ` Huacai Chen
2022-05-30 8:36 ` [musl] " Arnd Bergmann
2022-05-30 8:23 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAK8P3a1Mg=Mr6aig25Kk9+Qf_E6DPMs0Yd-ozcvmY11kvCU74Q@mail.gmail.com' \
--to=arnd@kernel.org \
--cc=ardb@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=jiaxun.yang@flygoat.com \
--cc=kernel@xen0n.name \
--cc=libc-alpha@sourceware.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-arch@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=lvjianmin@loongson.cn \
--cc=masahiroy@kernel.org \
--cc=maz@kernel.org \
--cc=musl@lists.openwall.com \
--cc=peterz@infradead.org \
--cc=torvalds@linux-foundation.org \
--cc=ysato@users.sourceforge.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).