Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1274869lfc; Wed, 1 Jun 2022 13:53:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzetnLwm1owatbMchByL+eQPC17LoL2ru8SWh7Nh71dWE74ZKbsKf4EUfOiNRK0W6NIiMF4 X-Received: by 2002:a17:903:230e:b0:166:3781:1e50 with SMTP id d14-20020a170903230e00b0016637811e50mr1313139plh.20.1654116780618; Wed, 01 Jun 2022 13:53:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654116780; cv=none; d=google.com; s=arc-20160816; b=AjIcalISsCXN+nlnRtR0+Pt0X6ubdvq/MgvXHqLBJ1OH/GW0jV0GMkQwMxgOVdX1iV PBKrAJzu6Z+SIxT91EP+uNiey0lhmqXXf0JYMahJiVZFQ0hUSHBDXiQQEVk52SrkHxMw 5b7cXpnPQiAcZml06ocGByrVWu/cBROPYiOKzWsRngCQ+iy+j0T4fa8X9ThJcP0KdqPp JlIMR4CxVY1ugVZuQoy7+KzufBYmdo2NO45vJEabz0iNE7SdW4YwukOo8fP1uhrdo4Xm x4ASFvplgXP/O9w2Bx22CyhZUoR96+hpBZNOCKvT3PkHngId2Dq1TNqyIkNtmHXSDr3H VGoA== 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=Kb54ZY3npTqw3Tk6yAvpT+t8IGWUYiCViBv6TSeV7e4=; b=vPdY1mTSuc82hYnrZ4ZVPT0Nv1KOGm1QvJ8UowbOIuB6EmUqLahQLf+gTinqecV7RT Z1p/aZ8ajVY8by+EOMXZdxQNWhS3DqWvYRqySERcFJfEZwiZAVUFpTzXFE9FTqJv16Ab ZvIYuST8MUqgt7DIgzzqZ7n1R3eMbZQN12s2UPMbxOYDD5vOFuiXmq1hc4XiTtXDs2qF 6JtSXhk3/wuA2FDjJDRxc0MPW3c821JN3MnJVZoiSlVctU2mXn2Vz4TfA/qoJP1iYUUU PEvyOQNUmT+MGk1WRXcKnJ5XdxC0NfMfUnWBkSigoK4ajOFWQ2eWcYGOKDdd5/fydzi3 5bXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="dgYj/Yzu"; 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 h13-20020a170902f70d00b00163783a3464si3571935plo.427.2022.06.01.13.52.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 13:53:00 -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="dgYj/Yzu"; 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 411E22A90C6; Wed, 1 Jun 2022 12:59:15 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238666AbiE3QBL (ORCPT + 99 others); Mon, 30 May 2022 12:01:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243044AbiE3QAf (ORCPT ); Mon, 30 May 2022 12:00:35 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2C526AD4; Mon, 30 May 2022 08:56:04 -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 7E407B80E2E; Mon, 30 May 2022 15:56:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40FBDC341C5; Mon, 30 May 2022 15:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1653926162; bh=vZNOahuquc61LYGJE+zDOh1Tfc1eF8K3ftYrqLR3Jlg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dgYj/Yzu6xQgvbDr+aTMPj3JC11vuXrprxRvhYSLFKVR2F8er+ja/ylKcZNMSUjkT WGMwvpDTgm8oxIMmajdhHZfNdq8Wm9Bi7f9UP9icxcb6p6BvkjZZIwu+kLGCiKbXZd 39HUgv2IbaKQ1xEbQG9jYq0t18S9YjJKZGMtS7q80RHTpBZ1ZIm5oGDK7FiufTCUr/ U3+enbtWDaCLOR8mx60jcCGOXkqTnSOfG0Po2CrZysqy1vXk7emgiIsopVywnfNwnl fDEDzpuI4HVb4MMGALQW4bQRnPTk1+1hSmuGQ5xhW1ulVyCcy9FnGjXTY7D+7fXsPc IuUCHkGo1VgWw== Received: by mail-yb1-f181.google.com with SMTP id p13so8111378ybm.1; Mon, 30 May 2022 08:56:02 -0700 (PDT) X-Gm-Message-State: AOAM530imDYHVcD/QI/7M9b+VMF2w1U3ti959Q5LTQVXhWPhavEKL2As tzyfJEKXKVj4El0JsgLEgXIuN1M7jxrdQJpso0U= X-Received: by 2002:a25:4f0a:0:b0:64f:6a76:3d8f with SMTP id d10-20020a254f0a000000b0064f6a763d8fmr43939287ybb.134.1653926161185; Mon, 30 May 2022 08:56:01 -0700 (PDT) MIME-Version: 1.0 References: <358025d1-28e6-708b-d23d-3f22ae12a800@xen0n.name> In-Reply-To: <358025d1-28e6-708b-d23d-3f22ae12a800@xen0n.name> From: Arnd Bergmann Date: Mon, 30 May 2022 17:55:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [musl] Re: [GIT PULL] asm-generic changes for 5.19 To: musl@lists.openwall.com Cc: Huacai Chen , 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 Mon, May 30, 2022 at 5:00 PM WANG Xuerui wrote: > On 5/30/22 21:01, Huacai Chen wrote: > > Thanks for the recognition from both of you; it is my honor and pleasure > to contribute to the LoongArch port and to Linux in general. > > As I'm still not entirely satisfied with my kernel development skills, > plus my day job is not kernel-related nor Loongson/LoongArch-related at > all, listing me as reviewer should be enough for now. I will take care > of the arch as long as I have the hardware. Thanks, sounds good to me. > BTW, there were already several breakages when rebasing the previous > revision (I believe it's commit 215da6d2dac0 ("MAINTAINERS: Add > maintainer information for LoongArch")) on top of linus' tree. Right, at least most of these should be fairly easy to address by disabling the corresponding features. For the allmodconfig build, I see some warnings that are introduced in gcc-12.1 across all architectures, and those can be ignored for now. Some of the errors already have fixes on top of the 215da6d2dac0 commit, but some of the other commits look like we should leave them out here. I also see some conflicts between local symbol definitions and device drivers such as arch/loongarch/include/asm/loongarch.h:240:29: note: previous definition of 'csr_writel' with type 'void(u32, u32)' {aka 'void(unsigned int, unsigned int)'} 240 | static __always_inline void csr_writel(u32 val, u32 reg) | ^~~~~~~~~~ drivers/media/platform/amphion/vpu_core.h:10:5: error: conflicting types for 'csr_readl'; have 'u32(struct vpu_core *, u32)' {aka 'unsigned int(struct vpu_core *, unsigned int)'} and drivers/usb/cdns3/cdns3-imx.c:85: error: "PS_MASK" redefined [-Werror] I would suggest renaming the loongarch specific symbols here, though we may want to also change those drivers to use less generic identifiers. > Now I see > the loongarch-next HEAD is already rebased on top of what I believe to > be the current main branch, however I vaguely remember that it's not > good to base one's patches on top of "some random commit", so I wonder > whether the current branch state is appropriate for a PR? You are correct, a pull request should always be based on an -rc, orat least have the minimum set of dependencies. The branch was previously based on top of the spinlock implementation, which is still the best place to start here. Arnd