Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1540975yba; Thu, 25 Apr 2019 01:18:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnDv8yi2VMiCXfmuYTN4180BTs7BYvOI1xHVPMauqk5rpS7aqgb8N1cCKX4nmtZ+6FMqaX X-Received: by 2002:a63:fc5a:: with SMTP id r26mr33450279pgk.97.1556180314232; Thu, 25 Apr 2019 01:18:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556180314; cv=none; d=google.com; s=arc-20160816; b=qwKSFSJr3hv5hgs6lHJKF8lrcb2TaLJxx4ekvDsPyP9egJGapIOBO46BN3S5Y5qyXu 1qr5M1IqPh5ZMqpeC7qvCrV5Y55uAEPvn2Ehq+8mcSh5IOGS9BFZO6LfqZ9Lrj9oIq0t 0XN0a09i/5D62n4OpYq00zr/kOJugCO93ft8zxvrlmJ7mnLn9mrVWwz68B/61Pdj9BP2 tADmNg3PYNLAythVcINUZ4cL58nIaGbgKyTh0cIAU6fLE1Z046+KHQWi8fGnbWGFrB0u +XPpbPDRZV7C2wE7kfijXnqfY2betL+JTi6n9ilKxJrfcbbv9xHmgsGpl0qhHcFLGSlj Xigg== 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=dqlO5xC3jgd6JcMW3gbShXX91yBJ7bUlgkRL7ygAY6k=; b=dShJI72RzBNXeiMonAzaChX9TksQRoHU/g7txuOG7hpbN1IiYymt+viSZl5fTnZJkt eRq4ZOpcf+JtevjO1gtuzS6WfYcoSzpjj9TMPhfzVi3jctf5etG/Ggt+rGSODEuxyP6A eOJy3VtvqT58GdxNFM3tDuvBzgT7sp8JB4sm9/Cbs5K+I2xrHDBZB1rl02OcmdouonUO 2I4hOoGL9iFqiowXX1SDRwb+zTuFrWgyU3adP5FHw9DuFZezPb6y4/fnaBvpGCAHDJfm jcQEMJ6IRE2J2XXZg8YmPWGgP/cHjaQUWSXqygUMaz+loO6QRz5oVdYd1Z0HuIYojz6E R9Ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=BJv9MwPX; 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 w12si21648132plz.67.2019.04.25.01.18.18; Thu, 25 Apr 2019 01:18:34 -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=BJv9MwPX; 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 S1727438AbfDYF6A (ORCPT + 99 others); Thu, 25 Apr 2019 01:58:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:33166 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726790AbfDYF57 (ORCPT ); Thu, 25 Apr 2019 01:57:59 -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=dqlO5xC3jgd6JcMW3gbShXX91yBJ7bUlgkRL7ygAY6k=; b=BJv9MwPX/Tt6lE2BfW7BTNfLF rhuUhK9ojT72h+i6Ep84s08/BQkyy9faIuYpEiXcn1P4jQX5dTK4gO9X1KgfG43BFsRx1+csGdufd AVmMQVNXIJZMjd8Q5h4xvpJ6+keDaSy2diHhCUueF2/31UDb9t0n2wNgAZAG/Up3G/NwsYmCzMXPh U1ejZsv5a0UKZHC9onfr8yYEg5z1wUtv/gSmWNYDafw8nYGUnGV188zaotfZ5OS9aCajkCprG41Jz KBqA5LJkAWGgZfj40ZQ99rcBaL4uBxi6G6xW8MgxO0WWPObPcb0OpxjXLea2ddUCrQgr9ll1jFVkj zEAQJOKBQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJXOP-0007xp-PK; Thu, 25 Apr 2019 05:57:57 +0000 Date: Wed, 24 Apr 2019 22:57:57 -0700 From: Christoph Hellwig To: Anup Patel Cc: Palmer Dabbelt , Albert Ou , Atish Patra , Paul Walmsley , Christoph Hellwig , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h Message-ID: <20190425055757.GA30545@infradead.org> References: <20190425055015.45487-1-anup.patel@wdc.com> <20190425055015.45487-3-anup.patel@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190425055015.45487-3-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 > +#ifdef CONFIG_64BIT > +#define SCAUSE_IRQ_FLAG _AC(0x8000000000000000, UL) > +#else > +#define SCAUSE_IRQ_FLAG _AC(0x80000000, UL) > +#endif Please keep the existing defintion that doesn't need an ifdef..