Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3052105imm; Tue, 4 Sep 2018 14:38:44 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbICsNBP3RmWQdUFcGP2zI6z8fNMWeAQo8w7VGVDzzEv9mXniJKcq1qmxN++ILYvKzO8Lb7 X-Received: by 2002:a63:1c1b:: with SMTP id c27-v6mr34067339pgc.48.1536097124531; Tue, 04 Sep 2018 14:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536097124; cv=none; d=google.com; s=arc-20160816; b=V+64DBDjJSXjca1kX1KbuihXliDd3ydShdT2+gZBuqXkNyuLZMBaMWcFK1D4iyIkyx RGOQW1XOC9UwclHug9/FS3NadVlIiF64NuNWdwyTpaq8SkprtB1cr/pFI8AIrKCvCtsb 4ts3tfGpUZCH+wiLnUpZxGhRwJXvF9Hk+YvRkI5lRJtzJ8ColWrqiXQ9ltQU/F8fXhf+ kx0Jed35PLuh654OIHpZw8OBKKQls2SVtyc/dp2bsgt/jwySTrErL4Xno1yATOY4ttCg Z98L3qOazQG5WWj7897dyrnQgxzkt7SJjauIVuN21PP+Qyl562RMh4xSQJvZ/M+sOJic 2qIQ== 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:arc-authentication-results; bh=xNyK8kgZjsF4LDwa4XGMoZ980Hde8h6PyNptYxL8Zsk=; b=pdIPaCTMn4RMraqdIw2SXn0XsHbalDekDrCG8Ldmfv8xhNMSDaznglYuRr4YEQLxk0 9I77iGHSxWi3/ux5X38VKSCWOLx9Wx6XVJ14CG1+qRLYoG4zN2f0Cdr0xqugpAocp9tc eZn7syNjPgrPEnsMzMBbtEoHPEkqmdxFvbJIOl+QQYqXzlBVf2nIX04sW+OU+cy+tuzk Wz0wmIQnavc8CA3HHsOUM5TVaVUc51Lg26zYbqLtR1yK4x1dqLWzHWCbtIqmBmJsT4yV DSn4GKKQhlFfPH0oI/i8QiuHvpjNgRX7YBuqDqGPW60OLsppXceJ/A4InD1iN9UwlExx 3wfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=A2qwhAHd; 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 t4-v6si21833672plo.235.2018.09.04.14.38.28; Tue, 04 Sep 2018 14:38:44 -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=A2qwhAHd; 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 S1727159AbeIECD4 (ORCPT + 99 others); Tue, 4 Sep 2018 22:03:56 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34086 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726170AbeIECD4 (ORCPT ); Tue, 4 Sep 2018 22:03: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-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=xNyK8kgZjsF4LDwa4XGMoZ980Hde8h6PyNptYxL8Zsk=; b=A2qwhAHdnwZzY1aPUkd7dNpYW +dCMZ+uZ5ZKDGIt/GKPMAbUlwLr+sVpQGazDmkYlhGC8WU9IztkYMosqxQ8aXu0JR812h/rEPdaQm VAu834ufd6N1SoaW1JZoP+3YbhNBvvjpcAjiwjdsNtlp0DU6yR4xkOmzR3SQPn7m3qbdIGlr3IPMH BX+PyOgD1pGdHzHkK+sM5iejheXO3RyiEBitrhZJqL51TJSrX4Pms3ksG7sbO/IpvgC0Hhst0oGEQ hcfI1tEnl//Axb0rVGsNhqUvWl9wU5hJFcNnHc3f4yuXPLAYUKbZjZei+Nhs0MgnR4gcdZI+yzwQx 7K1nXR0HQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fxJ0I-0002aZ-Dr; Tue, 04 Sep 2018 21:36:54 +0000 Date: Tue, 4 Sep 2018 14:36:54 -0700 From: Christoph Hellwig To: Atish Patra Cc: Christoph Hellwig , "palmer@sifive.com" , "linux-riscv@lists.infradead.org" , "mark.rutland@arm.com" , "anup@brainfault.org" , "tglx@linutronix.de" , "linux-kernel@vger.kernel.org" , "damein@vger.kernel.org" Subject: Re: [PATCH v2 2/3] RISC-V: Use Linux logical cpu number instead of hartid Message-ID: <20180904213654.GB2078@infradead.org> References: <1535445370-19004-1-git-send-email-atish.patra@wdc.com> <1535445370-19004-3-git-send-email-atish.patra@wdc.com> <20180831061104.GB19292@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 On Tue, Sep 04, 2018 at 01:35:10PM -0700, Atish Patra wrote: > sure. How about this ? That would work, but why not just keep calling sbi_remove_sfence_vma directly from flush_tlb_all?