Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4073871rdb; Mon, 11 Dec 2023 08:08:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEtW456J3W5hvP/gOvoT8tzjBooeITFZf/YCoDwQMrvTzb4fijdLcznhStQzky1EQCZ1snn X-Received: by 2002:a05:6a20:d413:b0:18f:bce9:594a with SMTP id il19-20020a056a20d41300b0018fbce9594amr1737061pzb.38.1702310933148; Mon, 11 Dec 2023 08:08:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702310933; cv=none; d=google.com; s=arc-20160816; b=Yr3tD5sPwYC4Gl4p6xn86Azazn3FRGHqJq6rILeot+RP06EYP/Yz30AJyTN1E7YPLh DAH374pVWGP6sbNJeA7ElQadhJl6V3j/1kTEkfaEZn/2Dt0hERJQ/a8k48OhbqhQS7IC V+nrZYX1I0Iyt7vXyfEhMMJ8YU1Jy4SIFm2SnKSAGcazhTBm71KFHM/YNOSYYhLevy7m OzAC9SVfXtpuIMHPS9fjPWJkFtwkyXxWYIidqUQTEMJh2L0Z+u/rCFUZyOcNAoGPm2Qc X2J9kXwBo3FsE3nSoM0dr4zwagF+WnPpxSQML7RZpQaMCLNwdR/7Qi5UxyuFV8p+wFvK 0ImA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rJnz7vJXFXZ+s+GFQzKJTUyedjcYLhX/g9SREbHLG/g=; fh=OevFo9Y8b6VWlN8gOZgHQ5SOL7D8FdqY64kpk8wzQ58=; b=NAVbtnWLEvreHDA1NcAYnAXnz/nkxgevBFx4F12hd4F4B00WSeyJ0wORBCADXMOMVC GVlFnCIYM2if88tY4oP3aRYd0BTKvoNO7UmCAJvVgRyDQytMkN7KIOfGnlEJQ7zLuDwu WlrVJR+Ho4Qvi3HeP+6bKU80JmlTWDATzlq6O2kEDsJAWPzfREhhpaiI4c0tyQ4mVIMg cg8mp6T9q/Y5EoDWc6PwjRb89zEdJ989AkK9TJ6d92wz8mhQp1E7Rn3NaDiwbsy1RbSo 2UEkoUZbxJypI/w6ObSYLIfQDNUi6CN+n4TP8WhpF2byiamS+oc/wBEWVVXkMo1no7B3 kmfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=uiSOGsUE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k14-20020a6568ce000000b005c65bfc76b7si6285115pgt.570.2023.12.11.08.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 08:08:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=uiSOGsUE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 0AA54807C5D6; Mon, 11 Dec 2023 08:08:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344250AbjLKQIa (ORCPT + 99 others); Mon, 11 Dec 2023 11:08:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344235AbjLKQIP (ORCPT ); Mon, 11 Dec 2023 11:08:15 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0C9A10E0; Mon, 11 Dec 2023 08:07:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=rJnz7vJXFXZ+s+GFQzKJTUyedjcYLhX/g9SREbHLG/g=; b=uiSOGsUEndY59UZcDr2nsLhwOC xvo3UYY9rZM2tEcqicOJ3+pK/HBNuqe8cRF/YePTNrlnG4zEVCdK0AQjLk3MzTpYv281FU9lszRTk qm6YETmBLeEz0F19k0Zqua9SNRnhKuRhLxo46IPt3fYZDgibBA6L+ErLtap/OcZnqgF1BlymMVgOc cqM3QsrC/ZEXXIn0sLxNA0LePNNoq3DFdu9Wg+6cZzvuax1t/aFd+/trtecIfsjyJsWT61Bg62uor t9PGL3ktjHrepi3yXR3LcVqoyoHO4LJKUBN/egey8BXily4PDedmA4YzBp/8DmxqoVw7capk9MQAX jCcMos6g==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1rCioq-005epY-0W; Mon, 11 Dec 2023 16:07:44 +0000 Date: Mon, 11 Dec 2023 08:07:44 -0800 From: Christoph Hellwig To: Samuel Holland Cc: 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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, linux-arch@vger.kernel.org Subject: Re: [RFC PATCH 06/12] LoongArch: Implement ARCH_HAS_KERNEL_FPU_SUPPORT Message-ID: References: <20231208055501.2916202-1-samuel.holland@sifive.com> <20231208055501.2916202-7-samuel.holland@sifive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231208055501.2916202-7-samuel.holland@sifive.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 11 Dec 2023 08:08:49 -0800 (PST) On Thu, Dec 07, 2023 at 09:54:36PM -0800, 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. Looks good: Reviewed-by: Christoph Hellwig