Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12487432rwd; Fri, 23 Jun 2023 06:52:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XmBGbQI4gmNPVPkpKVXTp/DeaXRlVrkhc5WbSya7LPsGZ6ddArpOfttc5Zsohvoc40N5v X-Received: by 2002:a17:902:8e89:b0:1ac:7245:ba5a with SMTP id bg9-20020a1709028e8900b001ac7245ba5amr9262598plb.61.1687528374922; Fri, 23 Jun 2023 06:52:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687528374; cv=none; d=google.com; s=arc-20160816; b=oCxRyKPAZhTm4Bob13qZYpAkNWBFCjpg/wEps5VAv5KP8Zxi34fGIaUzgoFzMl27hr q9x0YA2V2b01h0vjs/lRGYdrufSOCJs1DoMFNZ7tUkFksoCe4nfqcMZoaVwKl+jnf1ch PBcjpYEhmcUnIixIcvLxTuL9KSQKpszNoJbsedfxjdll8ZL9BUiiwUhNJBTkCP84Y+PS e9WB6y8hllEZKqaOqjzQBF0KbRgphiaEDhfuKpcjvxlOeITU1wa+7x5prU3SiHTYITmo Q5dpvGd3hIg8MGRMdmHOWLX1CRUjnw5rLWgK/ZsBQC5FrIIhPTh27SHBkRXFGhMXE1nH N6Aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4cCw9VEUj7nZdNJMWuvGQjtewFQlAJlf5WY+Da2rt7w=; b=pGTWVqSNhZwzpqDgP2njfjyfk9UU2kHWinbwcGqUsNQYNbgyspnY19yYSohW27w+Z2 5OjCnRG9ZRvd2RsTzLaw5ZGy3XaAlIOoKKgBqmYs7ZTAlMM56nl85Mrw0Y9eRf/I5wjO CbNlnzFkYAIJanhDhyuif3LIwWCIwDEgy+YKbqY6wH1pGaTWmpZ8qroH1Oi1tTqcyP9a MBA0vRXpw9Uut6Y2mxwxY/ZVadtrJNO4KPAjNq0+kxMNLQvPWnl9d75dB8CF57uEwL0B 3aQvIp006eCcMV1Mvfexgc9Ku1LOH0MF78pwuIqAwmo42o+Zwouhss26fMTIQWLLACP1 QOjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=CjTUhw+2; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902e54800b001b3ca91e3c6si2392262plf.14.2023.06.23.06.52.42; Fri, 23 Jun 2023 06:52:54 -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=@xen0n.name header.s=mail header.b=CjTUhw+2; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231889AbjFWNou (ORCPT + 99 others); Fri, 23 Jun 2023 09:44:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231881AbjFWNoe (ORCPT ); Fri, 23 Jun 2023 09:44:34 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CACE226BD; Fri, 23 Jun 2023 06:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1687527858; bh=A/+xsnM5BmDYFUpJ1w+uRG48h4f/gI8zKnMGjRgeidc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CjTUhw+2wYJEO4aFkjXMrZWLdyXKMr06aCIb9So6lhCFu6m/TZAv6HBWx8i3reXur 7UPdVIMipxJQKanw4OrOCJi5+Tg57YV8zBuIM7lHjONv3TypbpUj8BLfatdj8jWaHQ IOshJ+oGJdDY+lIF0hd7KGMVMvHgDaXA+cKI46mQ= Received: from ld50.lan (unknown [101.88.25.181]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id B6473605FA; Fri, 23 Jun 2023 21:44:17 +0800 (CST) From: WANG Xuerui To: Huacai Chen Cc: WANG Rui , Xi Ruoyao , loongarch@lists.linux.dev, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org, WANG Xuerui Subject: [PATCH 9/9] LoongArch: Mark Clang LTO as working Date: Fri, 23 Jun 2023 21:43:51 +0800 Message-Id: <20230623134351.1898379-10-kernel@xen0n.name> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230623134351.1898379-1-kernel@xen0n.name> References: <20230623134351.1898379-1-kernel@xen0n.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 From: WANG Xuerui Confirmed working with QEMU system emulation. Signed-off-by: WANG Xuerui --- 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