Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3779781ybe; Mon, 16 Sep 2019 00:45:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGmupBPdh8mJ5QmcZfrIoN2gnKSRxEsvGxl8zluAubY2RgW7dgFBWs5FHo9e3KbmjLaBy5 X-Received: by 2002:a17:906:bb0f:: with SMTP id jz15mr49395305ejb.264.1568619918422; Mon, 16 Sep 2019 00:45:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568619918; cv=none; d=google.com; s=arc-20160816; b=tG03ksEMc0or6iUW8eeb3ZnOtuQaJB3LaZLlvFJUSgQEZX+L2oHXWpoZIFLGbs1jGT RUZpOlFZwYp30ZW99E1Cwd1+9nuTMyCl+NQuZOaRYQaLazpdJjG7QNjnLiZLaX2l9teA FonFkoRl32m/iTBswQJygGhOc2SOMAStr8w+2TrZfqhOAR43v5Fvaa8r5b0BvcSXOXJu lS/WkHbVDBsHRLhcRArpQ/9av/NnUrwRZBhJCGLIfOfWgSgt+ifI9u55Rv0vJ3he5cxd xs1ayKqcooTNP8OA6ih0THtkUFSiaoSp8tZHMmN6Ju6/RdBQMk14nuD+3jxXbVVqbMiU w7Pg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tzJaBa6Gl/RcQrlmqurINpm8pLuFnjXV7rYhSXYeAPQ=; b=rjbalYSXYOmQmfIryMNj+Vq/PaGPe42OyF3zTT0ayu9tcTaI7apPyn1uA26nCXnxSp TJoIs/1dZjAwQ/xCTosd/UfRo+2VzNN/Qj067DXo3VT0gfHlD8PAU0CPUQQUf2kFjy2l yaUd+8dG6UJqzkjHmEv6fRMkvNjjQ2WOCkftXdUljT/skcVQOshAmg+IubvXKSfCoQVd rQ/sLLXwuiqThAPOEJ8gUqt0ZAj6vlp/xBXDywekIxRxdyKVDNaDqgwW3oF8CPvA/Sew aWX8/Rfl20T+v06bdhCDSUaQXRD5Ae6+VIQgwMOqYB6l7zl2HFxBb/odV7z6krhHW+MR 3PDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=d1i2F+MK; 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 g22si3065712edf.398.2019.09.16.00.44.54; Mon, 16 Sep 2019 00:45:18 -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=d1i2F+MK; 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 S1730124AbfIPGy4 (ORCPT + 99 others); Mon, 16 Sep 2019 02:54:56 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:43640 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725798AbfIPGy4 (ORCPT ); Mon, 16 Sep 2019 02:54:56 -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-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To: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=tzJaBa6Gl/RcQrlmqurINpm8pLuFnjXV7rYhSXYeAPQ=; b=d1i2F+MKu4saF+Nr3xihbotUo1 y1lc4O5GDtQo/dHrmpmcCoo0bXKBRTn3YCupZhoRmj0riSBdJHuZfJcJAwl01Xr2kmklngp9jO4fl QnFCDSg4rBf7URrMtHEQ92tu533lYqup2/HQVpI42pP1MeTVGtOf5OSQSht7uj4UOj4UV51O4V2CN YKD3Eq7XoeGIu3L089du9pKsuQxjQt2HmPP4txbVl/+0G+/lPULsuNLaAA6z6jXAA6jEiuGf3itJW WfGm/7Fk6t3ASc/MZOUvsdcN2a4Kpqh5HDw6HU+4ac+T/e9iPzUV5DAEF6wS+PBqiZ4ocg4OU8Rcf N/K7mi6g==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.2 #3 (Red Hat Linux)) id 1i9kuM-0001r7-Cu; Mon, 16 Sep 2019 06:54:46 +0000 Date: Sun, 15 Sep 2019 23:54:46 -0700 From: "hch@infradead.org" To: Palmer Dabbelt Cc: "hch@infradead.org" , Atish Patra , "aou@eecs.berkeley.edu" , "alankao@andestech.com" , "gregkh@linuxfoundation.org" , "anup@brainfault.org" , "linux-kernel@vger.kernel.org" , "rppt@linux.ibm.com" , "alexios.zavras@intel.com" , "gary@garyguo.net" , "paul.walmsley@sifive.com" , "linux-riscv@lists.infradead.org" , "tglx@linutronix.de" Subject: Re: [RFC PATCH 0/2] Add support for SBI version to 0.2 Message-ID: <20190916065446.GA6566@infradead.org> References: <20190826233256.32383-1-atish.patra@wdc.com> <20190827144624.GA18535@infradead.org> <20190829105919.GB8968@infradead.org> <4bd0a62ba36587661574e1bf8b094b0a28ec8941.camel@wdc.com> <20190903073845.GA1170@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 Fri, Sep 13, 2019 at 08:54:27AM -0700, Palmer Dabbelt wrote: > On Tue, Sep 3, 2019 at 12:38 AM hch@infradead.org wrote: > > > On Fri, Aug 30, 2019 at 11:13:25PM +0000, Atish Patra wrote: > > > If I understood you clearly, you want to call it legacy in the spec and > > > just say v0.1 extensions. > > > > > > The whole idea of marking them as legacy extensions to indicate that it > > > would be obsolete in the future. > > > > > > But I am not too worried about the semantics here. So I am fine with > > > just changing the text to v0.1 if that avoids confusion. > > > > So my main problems is that we are lumping all the "legacy" extensions > > together. While some of them are simply a bad idea and shouldn't > > really be implemented for anything new ever, others like the sfence.vma > > and ipi ones are needed until we have hardware support to avoid them > > and possibly forever for virtualization. > > > > So either we use different markers of legacy for them, or we at least > > define new extensions that replace them at the same time. What I > > want to avoid is the possibŃ–ly of an implementation using the really > > legacy bits and new extensions at the same time. > > > > Nominally we've got to replace these as well because we didn't include > the length of the hart mask. Well, let's do that as part of definining the first real post-0.1 SBI then, and don't bother defining the old ones as legacy at all. Just two different specs that don't interact except that we reserve extension space in the new one for the old one so that one SBI spec can implement both.