Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1557432yba; Thu, 25 Apr 2019 01:40:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqwB0TMSGvtWSTrPj9Bs+hvQq3FdHfplK4dREIcdz1uDkk7WU0ijb9atsq5k4/wHI7dx1kXK X-Received: by 2002:a65:5181:: with SMTP id h1mr14149223pgq.167.1556181607209; Thu, 25 Apr 2019 01:40:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556181607; cv=none; d=google.com; s=arc-20160816; b=dL6khGZZhN5gt2ylvTQLuYBhsnvJQzUce+YGrk/tuoqbFcunZyDOrZo9IlEGgupGGD ML7jUbt1BLtB5M8vaFC1JdQwUXdFUjtLcSz6c1YqJHdsxIg+ARzn9zTa9SC3eMttQ28s lBfDMHBIvaYeS7VUlNZaLqOWvASClOCpCwf9wtPtrFYbodHaJXuQ4sw2GgAJY6pOGK42 T2f0lHkfE0sRnR0War99lea4M/7Uf932RycMFNIu7CrvvHfBH2Jp8kE/n58a3Y84vcoX vJICfaN8SaCf0wtT4/Sa7NunPuQnRCSTdwCSih85iFIHjBYLk36cgC/YmiPpHTiB0r2F sv4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=y/BUPD6d+UtQII/yZuGbxt7S/zR1HCXjPhQ5wZe2CYQ=; b=VB5Dlg4uTNWvFY4e+LAFmBqH7y0VKPo0tVKdZP687QiN0V+SstPxSSvc+xwfgUeDOz RFZe6d/8cIbNaRGJ8IQWXzzESKEhIIv6g3hQmga1pMDM87/8Un7/K6Ma6+zDZY8XIvEF KqS/pj2GdyU4qp+d3o7iny6k96BYIGW6/Zm521PEcDjAANSph2c0ug0M7iD6cFvsiI6w ogLwZ5mm/ld6bXq5SlBe4IiCRDvIrrWwGroqllF3Rq6p+6IQhkj3WXMAGsQZ56O1yWaF dT6GC6/Y2jBPaTHgqnH5k0NqtPKUNPwrMmlK4NVWzoBvkivGNE0tRfs6OXlOMATkSlPN z2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=14TjjWey; 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 w12si18811770pld.438.2019.04.25.01.39.52; Thu, 25 Apr 2019 01:40: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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=14TjjWey; 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 S2389229AbfDYHRG (ORCPT + 99 others); Thu, 25 Apr 2019 03:17:06 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35701 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387416AbfDYHRG (ORCPT ); Thu, 25 Apr 2019 03:17:06 -0400 Received: by mail-wm1-f67.google.com with SMTP id y197so8940186wmd.0 for ; Thu, 25 Apr 2019 00:17:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=y/BUPD6d+UtQII/yZuGbxt7S/zR1HCXjPhQ5wZe2CYQ=; b=14TjjWeyO/+ZcGiUgm+nysR7uM0YIFldzaounkys1ZvpchAKEeBY3LpuiTZsBZ61vb siXfUnNUmUoA6cb4iZYESWz1Kg2cK4y+b3hxG7jD8Q2KI7wNBGMgTK5GfsFfY7+1lNqA WH5TTVe24dMgp2Jp+e/L2tdeSgMYnlIm4nI1MbBU4C2jf4by0pwr9LF955Cn417Vq1zW MpLE8AnaB44adbYXviK2SH7rb94DFzDBiPd8X6pQ3v8sIrmXK8X9cuw0qAemCgb5pS/V qGXFoWr78/vxeuW4ePOKaNiy+UfwxcCWItis6tzBNDAF1DxaPhNtEf1CwU5HhuRP+geJ yphw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=y/BUPD6d+UtQII/yZuGbxt7S/zR1HCXjPhQ5wZe2CYQ=; b=ZQVooYYVMG48MSQ8VXpSim/PMUyHatpKGb/RIZxfj4aX1S08R8dfvg/aEovHcsMT5x lzK0rmlQeb0el0p4c1Lf97Y8ou1xdH07EGIoYxClRLtNb96bDzE4051B8IsX/fT/byEw 7K6p0ZRicJ7icQOnboAPL3kAVnHCyC9sEJpkxGsf/9tsUXirwKXjBrzbmqXPt9TzRBBV fQ2jGiY9+8FQrbSXT0Vp9Jd9c9wAJeUBB+NLERmH6+tb1R1onBz1WVUWkdgJk5iGmT8z JdZI/PuASrfx0FdacyyQNujOTEkA3PiH/7ovEKZ2ct4Y2D0CF8y0oOnXxh4b2vAVfU2P xP8g== X-Gm-Message-State: APjAAAVlg+ahUw1mbf5PLZNyQ73en/8ioavI8PD3g7z5qGvQZiV/t+zb +Xso3gFwyfr2VxbgvDDaqHUP5YjQERm31zOmOQcof3nj X-Received: by 2002:a1c:a907:: with SMTP id s7mr2404626wme.153.1556176624209; Thu, 25 Apr 2019 00:17:04 -0700 (PDT) MIME-Version: 1.0 References: <20190425055015.45487-1-anup.patel@wdc.com> <20190425055015.45487-3-anup.patel@wdc.com> <20190425055757.GA30545@infradead.org> In-Reply-To: <20190425055757.GA30545@infradead.org> From: Anup Patel Date: Thu, 25 Apr 2019 12:46:52 +0530 Message-ID: Subject: Re: [PATCH v4 2/3] RISC-V: Add interrupt related SCAUSE defines in asm/csr.h To: Christoph Hellwig Cc: Anup Patel , Palmer Dabbelt , Albert Ou , Atish Patra , Paul Walmsley , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 25, 2019 at 11:28 AM Christoph Hellwig wrote: > > > +#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.. Sure, will do. Regards, Anup