Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp631135imm; Fri, 29 Jun 2018 03:56:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpegdtEhY2s6SDXchHt076EyBLu64qvbTgv8mFENKV2ZUVsqoEpLYCsr3t0rxvgaFrxELwoK X-Received: by 2002:a62:5991:: with SMTP id k17-v6mr14063526pfj.94.1530269767505; Fri, 29 Jun 2018 03:56:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530269767; cv=none; d=google.com; s=arc-20160816; b=tZkGlvVsx6lVTQnmPqg+vFag7STH5Q6+qAFVleIhk0SKyd7rKwCtfaNDRj14GeBvuH LNDmNH+5Ulk9Rw3uQVB+eisTpNRzvIrVCq2rtylrdIrKPtSOLhdKMn0LEerNd41oqfRO LbZDHABQDj/ktaEXwQ1m7OLZepZ3lEK4vqLFLMLjPv3Z8WUEjQz9Or4L2BPTWsneJ0Be a956PGuM3pSeWtXqeW2f0R4qLbnoO4vHlL5E794FmKTGJRIy+RCQoGivoUI2z5TzDRrR QkMtxVOlMk25qRgL/N9HvCzPKhsHfV9rk/UiRLPrJKXDOJ1q4P6WKBtX6ORIUAI4epFW wdYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=n1a4F8W6G1/MNeqRryFlLXpWiJqWV6lNGZZU1CPtY8Q=; b=EYSGSW9fRsvLmfo1hXsKv3inRiIzpJ9jfgoVTxru3Hz+AlS4OkpyYIxMkFQA4OLk8a OZFd6P9lCKrIrN2Vy9iye2uMgZY1n6cViUXU9G+U457iSo6QeRqGxrLmlhTC6iSta6yJ 0nvc95p1bm4iM8in+5FnTcVVVuIxin5dSFJlzLsMIPYU5zK+zWjRcfdSdHV2YtJP9WkF drmy2Leij1LkMfYALXDnDta2aZHQV1kDcMBGjeAG7om0Rn2t20xFWcy7nesVyPQ0tlzC pX5+rNdDEFVF06BZpe3unrdCefdpzzV/5gObTkgr9y+dps6vqoE1ogWC0BF5QAiFOeIy Ry5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=d3nE2tn0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h18-v6si8411987pfn.158.2018.06.29.03.55.52; Fri, 29 Jun 2018 03:56:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=d3nE2tn0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933582AbeF2H0m (ORCPT + 99 others); Fri, 29 Jun 2018 03:26:42 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47346 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932266AbeF2H0l (ORCPT ); Fri, 29 Jun 2018 03:26:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; 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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n1a4F8W6G1/MNeqRryFlLXpWiJqWV6lNGZZU1CPtY8Q=; b=d3nE2tn0We90U7K0J4HYf3UPv 5ho/eyq9XTau0VtJur1robWHXUNqtg3d8HejRNSiFLA9OJ4GxP+sYuO+KT1SXn+PEI37c4dyAVf/E ATupT2Pa/pbPjM4fxDuAjdMWKths8QDohjW25vq7qXMPG+MV3YHRsLKDwRNVYPhLpsduscgfPL1LU Ud4DzBdktcPXO0F1CubqMh+X2fHar3hXTPWqtuzJSqas2717LtUxq8jn+NjSllNyY81LaRUJWTdSP OUOaDkcCN8ViYmqIKzwCd6ZwSCBr/rAdvbMEqXzITYf7ChCpIW6tchktnOGXJ7aeIFm0seiibD12H do27FP4XA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fYnng-0003Hp-VK; Fri, 29 Jun 2018 07:26:36 +0000 Date: Fri, 29 Jun 2018 00:26:36 -0700 From: Christoph Hellwig To: Alan Kao Cc: Zong Li , Andrew Waterman , Arnd Bergmann , Greentime , Darius Rad , Palmer Dabbelt , linux-kernel@vger.kernel.org, Christoph Hellwig , Albert Ou , linux-riscv@lists.infradead.org Subject: Re: [PATCH v2] riscv: Add support to no-FPU systems Message-ID: <20180629072636.GA4416@infradead.org> References: <1530073346-5341-1-git-send-email-alankao@andestech.com> <20180629072229.GE12956@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180629072229.GE12956@infradead.org> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Btw, I wonder if we just just move __restore_d_state/__save_d_state to assembly. They just call assembly routines to start with, so they might be a natural fit for the new fpu.S file.