Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp483341ybl; Wed, 21 Aug 2019 00:21:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxF8vymhyLr8Y2JX9HVqE71iqoMYDTyXJ1VML/1sYhdwh/p55vv9yqTlRPaFkRlfnsOibox X-Received: by 2002:a17:90a:8d85:: with SMTP id d5mr3752663pjo.137.1566372090861; Wed, 21 Aug 2019 00:21:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566372090; cv=none; d=google.com; s=arc-20160816; b=NsnYlwoVJLuAwMkcxUiFFEMBfjW/Re6RHCNH0sDGL+FXFHLr+m7BefXQpLZpBeghGn xOraS/k8b15pFJ0BE1SMJ6PYQ36OmUidfDYqDvo1Pyq55B9Yd6AGyt3qg9LfagRjg/Yn 9a1C8RujazcUwTacdum4O6BwYAq/O8lZBtHUQA2J+lPcfuTNWg2GekerjlaQh+fEfvBQ +vr3TQ2Lcm0SAV/sEKci3nzyulQVYHYvZJNJ+LMXgDbBI57kXdsvrHvlJfWTnu0IAcxo THqNwR3OZAUXo3NBpQ9SIvceBY/FjD+W9LlFxow/4bSgN/MXvlUPXX15Mce5BG9P23Gi jxpg== 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=Wg093CFP8rWbJ5T0bFIIG6yDkp8tCiGp/vtNNNDB0ho=; b=QpaIfkRhrYu5+y9PvkJDE/56/SJ4q7HpTm+VFX8oy7ZTgZYbyecIJ2GQJqIv7w0pN5 psmVdSI0AriqSJFknAaIEMQH+BgP1aeBuh6Kngor4XVJJMACAOSwMmFkfdwa7zRpCsQo v5xpoyrGdSKC8A5E1GOF1bEYBiBbdYtUSxxeNoUOQ80fcqAbNI0rp0sSoQfOS8E+4Waa HA0P8skwQFLw+v21q4LzIZj3VF/SdRg/7i+jlSEwHZVVveqO3twhzJK/A/maVphrItL6 0WSq2uUIFs9XdeD1RQlTdn/8fKGuF84RQST1ML4K1lxOgogiEGFmddlPYvmho0nVWWsj L64w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=XlfBb6l6; 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 o21si13747983pgm.453.2019.08.21.00.21.15; Wed, 21 Aug 2019 00:21: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=XlfBb6l6; 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 S1727758AbfHUHTC (ORCPT + 99 others); Wed, 21 Aug 2019 03:19:02 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:56008 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727504AbfHUHTB (ORCPT ); Wed, 21 Aug 2019 03:19:01 -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=Wg093CFP8rWbJ5T0bFIIG6yDkp8tCiGp/vtNNNDB0ho=; b=XlfBb6l6Fi1ORNmTRRnKPiEd3 K54YEt5Bi3CfgH02N8OJQvSGdsl5vjs0iwV/ROeu5NlnelDDjhOkziKIS6WSwlQQhS6UqubSEUfwI oisS1oibc0LvP3G5bwVOl1voNx0JB3Hn6UNq63jZflgO4n5WgbTuQzj5d48+07Mi8KAFECv1mtRlF yceioRfR9FjCoPkAe9qsB4qMyzZrCIWc4tTC+M6ZCYPI7yRdy8iSGPHs4Ds1vsfst7IMuQiWdt/Rq CkIwKgFHRCenCvDKg2STzvkOdgCL+f4ao095g9FvJA+9R3KzIBaEtCjaQ8usOh+L5xAg1yD1YODYv jQOC+l7Tw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1i0KtT-0008Oa-8j; Wed, 21 Aug 2019 07:18:55 +0000 Date: Wed, 21 Aug 2019 00:18:55 -0700 From: "hch@infradead.org" To: Anup Patel Cc: "hch@infradead.org" , Alan Kao , Atish Patra , "aou@eecs.berkeley.edu" , "palmer@sifive.com" , "linux-kernel@vger.kernel.org" , "schwab@linux-m68k.org" , "paul.walmsley@sifive.com" , "linux-riscv@lists.infradead.org" , "allison@lohutok.net" Subject: Re: [v2 PATCH] RISC-V: Optimize tlb flush path. Message-ID: <20190821071855.GA32145@infradead.org> References: <20190820004735.18518-1-atish.patra@wdc.com> <20190820092207.GA26271@infradead.org> <76467815b464709f4c899444c957d921ebac87db.camel@wdc.com> <20190821012921.GA30187@andestech.com> <20190821014052.GA25550@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) 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 Wed, Aug 21, 2019 at 09:22:48AM +0530, Anup Patel wrote: > I agree that IPI mechanism should be standardized for RISC-V but I > don't support the idea of mandating CLINT as part of the UNIX > platform spec. For example, the AndesTech SOC does not use CLINT > instead they have PLMT for per-HART timer and PLICSW for per-HART > IPIs. The point is not really mandating a CLINT as know right now. The point is to mandate one way to issue IPIs from S-mode to S-mode, one way to read the time counter and one way to write the timer threshold.