Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp4037153ybn; Fri, 27 Sep 2019 15:24:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXSdXYP6cRaJVhgqcnxqvbCmkQuotyhT3Mq1UAB+zV2lMaqaKyTknF0rtjQ5op3l3OpQYb X-Received: by 2002:a17:907:211c:: with SMTP id qn28mr9894213ejb.244.1569623070570; Fri, 27 Sep 2019 15:24:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569623070; cv=none; d=google.com; s=arc-20160816; b=xAbIogWgybRFko9Rvy5TWRnpnS2wzVD1gT3MkwFVMcrT8eyp3VNvijbKM8i/dSUeOt 3iF4q8XurqDFRMAg1HWp6VxMSa7gG4NBfmJNfcMGPGYhUiHo8Tln+C63WLjo8nSEP4/R LauaHoeB8XQaqf/CU4E2JiqRGuNEOeA2JwBRaYvWX/BZIoz5sfSghJokcG4s1AGng2r+ yvom+de9RoO5NmdpXIeP86lumQStKBDB0xU3Xl+Bxwn5dGcLkoZK4XAUxdEsgF1ihNi5 fRkEhu+nfeQWPyFOKwsqDnCgXM2BRHSSrKXF5GkeliyXCC1ySOmLXR/hHps8kjSdrEzo mNUQ== 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=ZKFeHyvETC+38UTlXHyc0JEWdr9e5XA2y4WeMp+VK6k=; b=QikOdPYgnHowXTR6x0rgZXNk7WuLmt++aI53spxKF368DWmKXop2rVAt4+4dVTAzk1 Qxv2wwbeesAcEXVsPq5Q8YNHvQvj3eh3sdZZrU38lEFmSw/a6K2IszRaVvRtiFu1uGD5 +D9VbORYyFBKBW39bvIUMLFz45kCiJk6ItG+EoZiJIHuv+2YNkMMa8iwmaRJsdrXxxGj R/Jzb295+YudIyPcaRrK6Sho4GpluPF/bH+rjuHJ9+IkfXLocxnFSxHF9lYiH2w7utpU XjN++A235wD77oDuNSdOmoQA9BKHdwr/kmwK+ISXAVC/7WYLexEC0IzyPVIKnxAhCwdX CzKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=GE8yIbd6; 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 r17si3458315ejz.381.2019.09.27.15.24.05; Fri, 27 Sep 2019 15:24:30 -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=GE8yIbd6; 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 S1728479AbfI0WVJ (ORCPT + 99 others); Fri, 27 Sep 2019 18:21:09 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:46026 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725990AbfI0WVJ (ORCPT ); Fri, 27 Sep 2019 18:21:09 -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=ZKFeHyvETC+38UTlXHyc0JEWdr9e5XA2y4WeMp+VK6k=; b=GE8yIbd6tVtE1/iLSYLHoIDj6 kDyEgPrCoSDNeFV75qh4oh8xzxLXioF6zfm5FWlSaSIbNmBXCIoQv97mV7Qa6yC2ZiKixD0EAbXik /7UbL4EoqQZXS8uaF70jrdB3XEsehoQCRg6JmicnJNIgqF9TQ8v702qIobKHa9JpTNzrV7OCrVkW7 134q7NfGHWJx54tXVZ8uC2+YkRaHxhn6Owt2OVPPqJSFx82aHs6HD6PgtSeZJF7XTNByakXCQn/TI +iAuNJPThjGOxgtyuPKloSY+MiV6hrWFn1qRyqOUWd7U2h693FLbmuOxDvsShojGnmi9Hipn0o3I0 WWKm0r5qg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1iDybs-0002ih-0Z; Fri, 27 Sep 2019 22:21:08 +0000 Date: Fri, 27 Sep 2019 15:21:07 -0700 From: Christoph Hellwig To: Atish Patra Cc: linux-kernel@vger.kernel.org, Albert Ou , Alan Kao , Anup Patel , Palmer Dabbelt , Mike Rapoport , Paul Walmsley , Gary Guo , Greg Kroah-Hartman , linux-riscv@lists.infradead.org, Thomas Gleixner , Allison Randal Subject: Re: [PATCH v2 3/3] RISC-V: Move SBI related macros under uapi. Message-ID: <20190927222107.GC4700@infradead.org> References: <20190927000915.31781-1-atish.patra@wdc.com> <20190927000915.31781-4-atish.patra@wdc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190927000915.31781-4-atish.patra@wdc.com> User-Agent: Mutt/1.12.1 (2019-06-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 Thu, Sep 26, 2019 at 05:09:15PM -0700, Atish Patra wrote: > All SBI related macros can be reused by KVM RISC-V and userspace tools > such as kvmtool, qemu-kvm. SBI calls can also be emulated by userspace > if required. Any future vendor extensions can leverage this to emulate > the specific extension in userspace instead of kernel. Just because userspace can use them that doesn't mean they are a userspace API. Please don't do this as this limits how we can ever remove previously existing symbols. Just copy over the current version of the file into the other project of your choice instead of creating and API we need to maintain.