Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp295340yba; Sat, 13 Apr 2019 00:55:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqwCrrPW2oeDpMFNyndM4X5oJ4AiNekvvvhQNNvtVrnCxlbf2Dz87TgHBO9+E5w9d+Zjpg4K X-Received: by 2002:a63:100e:: with SMTP id f14mr24765864pgl.192.1555142121836; Sat, 13 Apr 2019 00:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555142121; cv=none; d=google.com; s=arc-20160816; b=Sh8fzen4i+j1eocAXFXEawop36c+jZZ9EBEB9+1t2Y1sLR9giiKluePOXVoBAUfZ1q bjpFp2TQYy2uImdKAShMYD7spDkXC9LSlwqQYzuE2fnyw86FVGbUd4X/NWA9A5/2ugHN yhLktIpcdgaOCkq2+PVmv61bNq/Jy8yt7PcCP8Sms7KRnGqa3pwCiRvLRPjNte6rWOn/ YEuJOlBVJxnW7LVJZ4a+VIxPf0EIgAf1jhOb05P4n8EYE7Ory5WH6lZG4kHlkShJlcMu LxptFRy8asQPqymhqwTBWt3OaG9CN6vTLg4hTz9TskbNqktuk566nEE0j2Iv2rzwg63i 5tsA== 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; bh=OKL2bgXFvu/qx9sw+X/h2Tm3lT/Fyuo+IjvFHTXkV04=; b=u7KfgByolHTKuPFL0jNhYc24aJqKpb2K28VFXTTpBr87keladmxBsp76ULreJbracj SqYSGmd16uDQv2RiwP98kip6BmtkjrujJQT28/8YnvdEz+Lu1S4aijlAkNh2RI23fzyl v1U0+gBPpQ5AfqJOqXpGySAVojeHY+UgFkSOsbOTYAMZqZmJvRI8fil6NFblsBfSsIth G7nUxG3Xn0MUcPmO+MJfQUR1iAogHbYVAGOPqo3rZNONFpR7kx05yfJIJSCfq5pfymFA elSPT4nqP5s7nO5yNswpD39V0ygkzyjYqAedFxDwtVpF7d+ZweeFUZz9HPSkInXsTmAL iZ9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=P1HPZ99D; 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 h40si17654725plb.261.2019.04.13.00.55.05; Sat, 13 Apr 2019 00:55:21 -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=P1HPZ99D; 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 S1727201AbfDMHx6 (ORCPT + 99 others); Sat, 13 Apr 2019 03:53:58 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40074 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726278AbfDMHx6 (ORCPT ); Sat, 13 Apr 2019 03:53:58 -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=OKL2bgXFvu/qx9sw+X/h2Tm3lT/Fyuo+IjvFHTXkV04=; b=P1HPZ99DqYyqOD9J4xGMpOOXf TtX2PZpSo224m4Xu2WTPXlmWuXg28vbKs8L4V5AFwph2UNGuo6M/eaDchvjKjT6zvwPOjL+jsjyBX jSby68JEtkrxRrs1I/FsymBq0Hgf7szsHzV2yf+whpssoIFoV2P/4g+Ks14ROXnZ5k3U8A+xNssRW wGL1k7juwuN+4eDcVTtxOi2pFB3c0NcqsY65QtW/sSTGclcRMRAxfTcArOGeF8sITGilugJWXv5li VOHo6jWFnesftmUkxA+AysQBMGrfP+M0P6gomO4XCjvkRfgpqiiiUD/FZUuggxC5efeIIX5+Pdj3W kWcchCBYA==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hFDU4-00083G-1x; Sat, 13 Apr 2019 07:53:56 +0000 Date: Sat, 13 Apr 2019 00:53:55 -0700 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , "linux-kernel@vger.kernel.org" , Christoph Hellwig , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.org" Subject: Re: [PATCH 1/3] RISC-V: Add separate asm/encoding.h for spec related defines Message-ID: <20190413075355.GA30428@infradead.org> References: <20190413073906.53676-1-anup.patel@wdc.com> <20190413073906.53676-2-anup.patel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190413073906.53676-2-anup.patel@wdc.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 On Sat, Apr 13, 2019 at 07:39:35AM +0000, Anup Patel wrote: > It's better to have all RISC-V spec related defines in one place > so this patch adds separate asm/encoding.h for such defines which > can be included in assembly as well as C code. can be included from assembly just fine already. and we already do that. So I don't really see much of a point in splitting it.