Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5423505rdb; Wed, 13 Dec 2023 08:14:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWQm7DI/T1buGUCSvXnYem9YQjGarHm3+qYa6oqCQ1Igm0DAhkqeeZJVHFeNa1Ly/FDrNW X-Received: by 2002:a05:6a20:54a4:b0:188:1df7:9afe with SMTP id i36-20020a056a2054a400b001881df79afemr5001302pzk.30.1702484052631; Wed, 13 Dec 2023 08:14:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702484052; cv=none; d=google.com; s=arc-20160816; b=Zl8h1TmrgCMZqORIEusMDk3yMS5NfAm61BZFJsm2GvMHaap6V5QjUQ4xqOpxjJU5jm unxBq+mGtXjPOuKFGzJPiMmeNE0P27otIOTHGseZ77ryfdzi7yyFw9A7hseNnVVIyeCb EU6dtVehCsDgBMtgDWHh5wW4AllAoiLwiPRYi/eZY6J6rVwSW788bivImDyDMDse2WDT 1z5sYIJPdYv8HQRZ3CF2H4baEvidjoD1sKiQbR+M75E8oPv9vvN7Lz+CVI6FLHiEO0H2 4Y+HaaYYBr9RI+ZYmeeQNM0ZgcAXMkelrCHeag3hO+VPYncjEKcLTpVGFTpwtQ1K229u weIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xCL44VsLcLRSKQBsVwUG5wRYv2o/eZgw3G3t2zQhRZA=; fh=paMSyQm65FVD5p2/+PXiQ1qLMokBbR3AAX7t94HGLME=; b=m0p8IWNIPBx1l52MB+Nv8RWXgvQbFjBknNsgZnB/siLlfFYk08VlK/nDx1fTda2Zsa yExq7ihIK6l/41FX4Qu7D/GQ2QwFpXOg88/Wth8ikAcLxc3opXVsMmcNtqm/86azY78r NhV7tCrpQrqIxZg6/69vkizIuBUyQi7yeE0qhKpFC2YDEzeHBwE7w9PzT+e5cdp1opz8 OHODZgiDV0vyv9ytYcqihoy0rgoJe+nzLJD1yjWUeuYO13vTW1ybYLXJxA8+oZXN4G5d D4/dwz6S8MwHFWp2wWaVsj8q+X+0jSdudxs9rIofgMheD9dOc78aoDHzWh9iqV+dl/wM 7dbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=FdZA5oT7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id o18-20020a656152000000b005c67dd98b13si9464048pgv.314.2023.12.13.08.14.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:14:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@xen0n.name header.s=mail header.b=FdZA5oT7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 965D18032C79; Wed, 13 Dec 2023 08:14:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235433AbjLMQNw (ORCPT + 99 others); Wed, 13 Dec 2023 11:13:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233658AbjLMQNo (ORCPT ); Wed, 13 Dec 2023 11:13:44 -0500 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4F39DC for ; Wed, 13 Dec 2023 08:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1702483992; bh=4XxyHnJEJKkc+5PvBy8tJ98Zzp6SReQrbmR5u3CSVkY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=FdZA5oT75tJH3PJN0bxT2ijMm1wBFi9fAIDpRIiLKEJ8qcv7c86KrC4Caujnwy/Qz h0yWOBpr5j9YQlGHX6bTEdnz+dQUQ431E11+MzKZsjI9OYJQRIedzGgmfPSOvFDP5W xvNwB4vhFx3KjM5C9g2J1KLykNu0MN4NW1kORqlg= Received: from [IPV6:240e:388:8d05:a200:783a:c9a8:595e:71d0] (unknown [IPv6:240e:388:8d05:a200:783a:c9a8:595e:71d0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 E250E600D1; Thu, 14 Dec 2023 00:13:11 +0800 (CST) Message-ID: Date: Thu, 14 Dec 2023 00:13:11 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 06/12] LoongArch: Implement ARCH_HAS_KERNEL_FPU_SUPPORT To: Samuel Holland , linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linuxppc-dev@lists.ozlabs.org, x86@kernel.org, linux-riscv@lists.infradead.org, Christoph Hellwig Cc: linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-arch@vger.kernel.org References: <20231208055501.2916202-1-samuel.holland@sifive.com> <20231208055501.2916202-7-samuel.holland@sifive.com> Content-Language: en-US From: WANG Xuerui In-Reply-To: <20231208055501.2916202-7-samuel.holland@sifive.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 08:14:08 -0800 (PST) On 12/8/23 13:54, Samuel Holland wrote: > LoongArch already provides kernel_fpu_begin() and kernel_fpu_end() in > asm/fpu.h, so it only needs to add kernel_fpu_available() and export > the CFLAGS adjustments. > > Signed-off-by: Samuel Holland > --- > > arch/loongarch/Kconfig | 1 + > arch/loongarch/Makefile | 5 ++++- > arch/loongarch/include/asm/fpu.h | 1 + > 3 files changed, 6 insertions(+), 1 deletion(-) This is all intuitive wrapping, so: Acked-by: WANG Xuerui Thanks! -- WANG "xen0n" Xuerui Linux/LoongArch mailing list: https://lore.kernel.org/loongarch/