Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1990670imm; Thu, 2 Aug 2018 04:37:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpepmHV15Ech3/kloBVK1uNw8Mbj9PKGpbGv2vFq3jP566+RbNacRJAs5jVIX7KhQDBuUBwy X-Received: by 2002:a17:902:8f8c:: with SMTP id z12-v6mr2042235plo.4.1533209832849; Thu, 02 Aug 2018 04:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533209832; cv=none; d=google.com; s=arc-20160816; b=RlWR/N6YWHvPb7kx1yn77G45wADoxAXWaemdqcHKW3deGzrUC8SqXMb16UAH4+Jo0f Ghtx9rQHGVBFqlSaD2kkJm7xvRI68H6nA0ob8ZeuMrIHGAmSt0kuN+kfuXNiEDLJpUuP bcMX74heLl3EtBM0zKZC3m6+RKll0CZYxjh6akq8QqIHLo19yQN0wRdNn6Qsm7FS25tv OexGmbAfe5yNgDJbdSlPT5zClPdEKMd+m/YNop9S0Kg47Ak/3WJX5gYH8HR0b9CZlh6j 3v8uhp1i07xR6ehhHMU249riLjUqpslukfWw+1pYGDavV8ESfAiywT/EAo1zIKYSbqoj MY6Q== 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=kSqoI4KQ+x3q0ZaH4XnaeOTRbStpd3VdlD+moV8a19Y=; b=xRxCsn3C67d4hmhZdKMf0xQ9Z6hoFHXPZVK7YtXHihuiDIjaeTr665YbRklrw2RQBY gu6JX2llRUCryu+wFHySmZ/1vRRBf/Db2+Xaa4k1w8BMsna3EbYU1UkgFATmcHxqlX4l KvO9HhnRCkOYRV6Xv9Itn0BWTVbhp+1AprXQVqBoQQDOJDjJn5y/gPK8O6Jm2i6l4qOT 5nodn3gGGvUGI3o5r4vCsiY45RdPaWaPKaAqUVy+hrC7KjIUPBSMMgWzHw2E3+EESFbT ddroohvex7Lb6hwLodcyDd4VLkz4le7jld03NJrWXSyQ4KYMCQH71UYpdRwkAdyMMdkz IACw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ZL2eHd1X; 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 t19-v6si1413416plj.334.2018.08.02.04.36.58; Thu, 02 Aug 2018 04:37:12 -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=ZL2eHd1X; 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 S1732235AbeHBN0k (ORCPT + 99 others); Thu, 2 Aug 2018 09:26:40 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46392 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbeHBN0k (ORCPT ); Thu, 2 Aug 2018 09:26:40 -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=kSqoI4KQ+x3q0ZaH4XnaeOTRbStpd3VdlD+moV8a19Y=; b=ZL2eHd1X5G5cyjNYi3b3AnGWb yuNW1m50yVSDUY9XHmjoZkCv/zqBo2pklFmUpwFqBbHoKAs6x3AMTjDgKGBjzOD1QnPdwgR00Q55B bVtafYs+I+64AUCp8CBy3otM20pVPKQftLLxt1x9r276QN9CFMpTUEsy3qFoJooXh5HJjdO6MGbeO YBMULPwOWdSNfwwro4TGmODW0Gcvsety8xcWX8VmsGwICunSGBCWpJNO+fzQttAeW4NKvLFkKaWxH jBS8/Tf2N7pIAHRdbMIasH672Uuc065DxNquJq/8nHuSwOOp28joImxTw54MW50WDuLtpxv90EVfT 0a49XB4pQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1flBtb-0005nt-7Z; Thu, 02 Aug 2018 11:35:55 +0000 Date: Thu, 2 Aug 2018 04:35:55 -0700 From: Christoph Hellwig To: Alan Kao Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Palmer Dabbelt , Albert Ou , Christoph Hellwig , Andrew Waterman , Arnd Bergmann , Darius Rad , Vincent Chen , Zong Li , Nick Hu , Greentime Hu Subject: Re: [PATCH v3 1/4] Extract FPU context operations from entry.S Message-ID: <20180802113555.GA17108@infradead.org> References: <1533188391-5932-1-git-send-email-alankao@andestech.com> <1533188391-5932-2-git-send-email-alankao@andestech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1533188391-5932-2-git-send-email-alankao@andestech.com> 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 > diff --git a/arch/riscv/kernel/fpu.S b/arch/riscv/kernel/fpu.S > new file mode 100644 > index 000000000000..3210ef502e55 > --- /dev/null > +++ b/arch/riscv/kernel/fpu.S > @@ -0,0 +1,105 @@ > +/* > + * Copyright (C) 2012 Regents of the University of California > + * Copyright (C) 2017 SiFive > + * > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License > + * as published by the Free Software Foundation, version 2. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ It would be good to have SPDX headers fo every new file (and eventually switch the other RISC-V code over). Otherwise this looks good: Reviewed-by: Christoph Hellwig