Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1263482lfc; Wed, 1 Jun 2022 13:29:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx04bUlkScIqQ/tI7touGbsOJoE0DcsmqraGcpnVnIZB9uAilkUN+Jvu9ZLXCuKtUwUdfJQ X-Received: by 2002:a63:7d4a:0:b0:398:dad:6963 with SMTP id m10-20020a637d4a000000b003980dad6963mr962507pgn.329.1654115392908; Wed, 01 Jun 2022 13:29:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654115392; cv=none; d=google.com; s=arc-20160816; b=ipa5XwHyhX2R2E9ALv4/7kcSi1p4uqH5cmCHvpvEAjJCF0sdcfrFV2U/ja3/7l2nd8 ScuE854RqbXB4GeJE2opNkhK8J/W/iid84rls5PGn5yKeWcrgJd8i+2hvJyLEFaBZLDs tM1EPVEyy5bCXkXVal2BzzOZozAzFJhNUUccgoDxmmMnZaYuKZGsmgS0T6wgcpQgJ2cn jYSO8iXNipBYx++yFljbUQSuQJNL4moHSafT/cS7N7z++q4BsUu/xC08m3UoaTkhKxwq LRTPcrhrMv+SsBqEXyHdGM8ML/WuY/gkq/ZQajgBN9fNORQyqmqg3uuxv3PSQn8Bv6p0 AqtA== 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=eBQJ9bkDnWhm7i6FJSmiZ7U/oEVtpHUgcewGDRbXsJw=; b=NGRajtI615FMZbePlqqfVJJYsHK8B6lMiD49aZb2DVLfQYinfhgFQDca8zshNqHq+6 UAco85uNc4XCxPjkY7AGdqaMjp47JhOgSYjQWJX1MC+e6bZU+iURUcvVAc/Aqpjck2el 8MnVWtPlYOyVcqmjTStV5MxlzKVYqUqYHewPTGc16ERi7DTxDpOBX0Xfdti/iuYudo1P cfBS5RKNk043S3+wFVrr4/+1ZMywz2PjPLFBc8/nbmOnFZpkoRZLwW/6Vol9txAV3tpN Zd7U7t9WXPt9hoJczoZ3bB8pOh7O3tztPCmKwcTYE/m5g0kaOjjNcUsLSJZzsshydWvm FlVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f38QWAmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k18-20020a63d852000000b003f9dd67d2b7si3465007pgj.34.2022.06.01.13.29.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:29:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=f38QWAmT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 E9301259F7A; Wed, 1 Jun 2022 12:39:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350349AbiFAHmG (ORCPT + 99 others); Wed, 1 Jun 2022 03:42:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346393AbiFAHly (ORCPT ); Wed, 1 Jun 2022 03:41:54 -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 423EC65B9; Wed, 1 Jun 2022 00:41:52 -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 0504CB8184A; Wed, 1 Jun 2022 07:41:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90A7FC36AE2; Wed, 1 Jun 2022 07:41:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654069309; bh=x4AIh+8q3rwHWHDzV5VGJkJYLLDH7ynhZZhfLnEb+8g=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=f38QWAmT3Lba2A3sBJrOOy+sbERvR52YnVrVyOkc70a+cykluMt/EwKYPWff9s4Q7 fQb/vRHE7IhLBYWrF4Usip+yBpvWX5/ORzxQtuAb+tO+Ne3eAhJ1tdUojRy+fUqRPg 3U2kltQxqVSIIt4GjUq8U8/lO2FOapPQCBsQDNPgDRYael1JXUlQ+iYOEzaWtTUVwD 8Nm7VufhCXSC3v3giaD9D8v08nhbhzlICHQjufyUzGNPjA5Whbb8OJvMgxDJBTzCe9 2XKbLDTOozmfFVp4SrJw0LqKPSQBG+RzNmRevVR8J4WoJD28DG3PBt9y1yjig3m1Ba B3ZkVzVvXhK0Q== Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-2ec42eae76bso9118007b3.10; Wed, 01 Jun 2022 00:41:49 -0700 (PDT) X-Gm-Message-State: AOAM5309uqVIFwxbfTPDYvjqvJBugjzv7RPlQYus9Sy+FhSlDc5IOVEz yshUDsDikQ/xXC8U6fcyivEQ5WM/kPkjYPdXbT0= X-Received: by 2002:a81:6d8c:0:b0:30f:777:3eab with SMTP id i134-20020a816d8c000000b0030f07773eabmr1979670ywc.135.1654069308563; Wed, 01 Jun 2022 00:41:48 -0700 (PDT) MIME-Version: 1.0 References: <358025d1-28e6-708b-d23d-3f22ae12a800@xen0n.name> <832c3ae8-6c68-db2c-2c7f-0a5cd3071543@xen0n.name> In-Reply-To: <832c3ae8-6c68-db2c-2c7f-0a5cd3071543@xen0n.name> From: Arnd Bergmann Date: Wed, 1 Jun 2022 09:41:31 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [musl] Re: [GIT PULL] asm-generic changes for 5.19 To: WANG Xuerui Cc: Huacai Chen , linux-arch , GNU C Library , Yoshinori Sato , Peter Zijlstra , Marc Zyngier , Masahiro Yamada , musl@lists.openwall.com, Linux Kernel Mailing List , Jiaxun Yang , ACPI Devel Maling List , Jianmin Lv , linux-pci , Linus Torvalds , 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 Wed, Jun 1, 2022 at 7:52 AM WANG Xuerui 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 " 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