Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12784230rwd; Fri, 23 Jun 2023 10:35:29 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7sjIzfi4C11OpIHPBETg/ALTXvYXY43/lBtLxmlMC4gDvMMg20d8s9y2Q3SJaJiEYIT3sE X-Received: by 2002:a17:902:cecd:b0:1b7:cbc5:8750 with SMTP id d13-20020a170902cecd00b001b7cbc58750mr1285910plg.63.1687541728734; Fri, 23 Jun 2023 10:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687541728; cv=none; d=google.com; s=arc-20160816; b=NK/QWUMdfcp+9O8teQxBEbruk1xJPS7Ht966v6BYnKBY8weQ6y9g/US4gx9cC2989A JWs7UWMwwERgMNEeHmop/lhmHnl6vkG+M/Crz1Ew9avsAXmUZEtQ/OCX3Q+iHYMA+t+n CC9RYnnIqrx8I9hDBFv2bBYK68jyq28Vp54NH3ZZjPs6C7vHV/0yeIBvUdRMJxjAETYI rOgWpjzLOius7zUElbKvUA3aCXstHvqETuX7qOh0lrpMevXIBFVIvkYxe3OdoTUmMnB4 pbpCsWYbmypEcU5/mXRzZuLQih0mZ82/dxiuCIbB3cnNscWNZ0bxjj/UgUczX19pj6ct 1GvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=zvDD70EfgKKb2T0PMEOiIeKl/5XEghNuRS0dwmrmHco=; b=mWqVmwGrJEJGYYQ5ksScIJH0Wwz5oJOXBxVHcZwcRvNstWtqOCmwEfKB4VR3AOKkNT CWlj1xprKrwMBGDwwXrLLO3TjPZAcKtQio3RtozrykgcOnIV2G405AcmRHAPsJZJGmpj fpHOGi27kfEETbiWAz6+tq080oZXymY2wLhrbju3jhkqSZSce7M4piDre7sHXUltQLG3 U7ko41CPZXYGStIhK5fpwdQAUjGNX4z9FFSZkcgcXf51S7joE7ZYmKNd7rnCF7rNvdua gBE36DUNQNFqNkA3MPHL7fRnR/pJuybkm2Pn5/zi0nNg86ZTRzKeFJWA4cuHtm/53i5Y ZlpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Qy05BsLf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t20-20020a170902e1d400b001ae5eb838easi8496558pla.292.2023.06.23.10.35.17; Fri, 23 Jun 2023 10:35:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Qy05BsLf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232413AbjFWQwy (ORCPT + 99 others); Fri, 23 Jun 2023 12:52:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232626AbjFWQwl (ORCPT ); Fri, 23 Jun 2023 12:52:41 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30371296C for ; Fri, 23 Jun 2023 09:52:40 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6346da05fb8so446296d6.1 for ; Fri, 23 Jun 2023 09:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687539159; x=1690131159; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zvDD70EfgKKb2T0PMEOiIeKl/5XEghNuRS0dwmrmHco=; b=Qy05BsLfj+WBYkdgrGWb9VBYQ5m+HxVaLFz5WcI7qfgagHahWVymgtmku3jMvC371S G53c+YlybCdhISIN+SdNRPQbH++Jov39YcYFhTAYyiO1JO4+PMeGo6ldpnmLjTfGo5VC ToBbbeP/7GUeZMPSGH3nQ9OsOGnB+PMZCYuKaCJ6RyT3qCHAEu17/cWtJq5rlYxc8n0Z yXRg8OMaHKL6QaD4oHE67UIKbkdhqcrDvFNVYmZvNvKHbw/hVVltyGJsWGRYH21eCUrU O+93tGccodGvME6XhBZkgoTOeyWL0zBu+JklecNtMzlx1MHYRq19+yLFmCxknN/bYHCw FgOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687539159; x=1690131159; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zvDD70EfgKKb2T0PMEOiIeKl/5XEghNuRS0dwmrmHco=; b=ZkQwMwjnv4Gu42kVC6m0NnDChuv2q1doOxbKjMIQYC4Pk+RFtBERQ62KzarmshAHWN 0FXi7V0xDljqVCHo0x0waujqRJgXltKU6pwbKaO1HWi1qU9dbfSsjuS+X3OKpeF5Idnq onJB5dYb92O3RtpPEiGpUTRkJkn2VcxycCTkP2bnRUSw5G8mBF+DB9Tb9Eie1FHoSXCc Mjomi61smPpWE+/CDDpyyxLUca7yG/RR21aNcPn+pCY5XLFMGH5oWl3I4ycjO2jKTXFc kJiim9+UhpiOLo3G7ciBN6BG9xvjxD6OfdBCiCQjo0AYhVA31iX/zb2RQyI80LMwI+pS Lypw== X-Gm-Message-State: AC+VfDxiuPU405LuXH79yQtQXTdvxi2sP2xFwh9bpGfqi9XYyzJMWcI/ oI9Fvel870brbqO74OAnyQzkvM7khcoZFtYvXbsVog== X-Received: by 2002:a05:6214:23ca:b0:625:83ab:8a42 with SMTP id hr10-20020a05621423ca00b0062583ab8a42mr24076302qvb.46.1687539159150; Fri, 23 Jun 2023 09:52:39 -0700 (PDT) MIME-Version: 1.0 References: <20230623134351.1898379-1-kernel@xen0n.name> <20230623134351.1898379-10-kernel@xen0n.name> In-Reply-To: <20230623134351.1898379-10-kernel@xen0n.name> From: Nick Desaulniers Date: Fri, 23 Jun 2023 09:52:28 -0700 Message-ID: Subject: Re: [PATCH 9/9] LoongArch: Mark Clang LTO as working To: WANG Xuerui Cc: Huacai Chen , WANG Rui , Xi Ruoyao , loongarch@lists.linux.dev, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, WANG Xuerui Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 Fri, Jun 23, 2023 at 6:44=E2=80=AFAM WANG Xuerui wro= te: > > From: WANG Xuerui > > Confirmed working with QEMU system emulation. > > Signed-off-by: WANG Xuerui Acked-by: Nick Desaulniers Untested though. > --- > arch/loongarch/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig > index c8e4f8b03c55..7c5d562b2623 100644 > --- a/arch/loongarch/Kconfig > +++ b/arch/loongarch/Kconfig > @@ -51,6 +51,8 @@ config LOONGARCH > select ARCH_SUPPORTS_ACPI > select ARCH_SUPPORTS_ATOMIC_RMW > select ARCH_SUPPORTS_HUGETLBFS > + select ARCH_SUPPORTS_LTO_CLANG > + select ARCH_SUPPORTS_LTO_CLANG_THIN > select ARCH_SUPPORTS_NUMA_BALANCING > select ARCH_USE_BUILTIN_BSWAP > select ARCH_USE_CMPXCHG_LOCKREF > -- > 2.40.0 > > --=20 Thanks, ~Nick Desaulniers