Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3056620imm; Tue, 4 Sep 2018 14:44:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaIk+YGMZ2gMtU9HRu8hjwst8b0lKSy8nwvsUedp/frnqmcEAfn34q4ltWbP2l2L0LqwOv2 X-Received: by 2002:a63:2e09:: with SMTP id u9-v6mr32092326pgu.294.1536097477162; Tue, 04 Sep 2018 14:44:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536097477; cv=none; d=google.com; s=arc-20160816; b=ZfNKInyQzjt/CXyUM3lARMwTmdPYdfex/g8jfq9jn6JXFTUvvPbj1YzQKsu7w+Ulhu DrFrsA6edJ5aIsk+2sgNAwqnQsrR7QdrRVW2PburLHMojej0ViFqUX2vz8PBLXH1I/QY xiTdFcQhTB1AJ+SpUPwOeoJEAx4tvZcRLbvqrBxtvaEUGcSD9vhdz4foZJfw+lb5cySh f5XnRQ/rCJkn58F7UCEG9E2yErMul2sXP52YBAGFL6YVapi8LqSjJijJ+bVIhDKx3rdm AcXzFDrcEB76t6aSSqaPkBIypPJyMWsNqN76PBEjR9k1v0mDKD/AeZPX8HRo/s6zLIfy vH5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=yFGJbZSba6XlGWbEWdw0aBgyYNREXUvnlakudi78j/E=; b=ercLMVdNHzd3r6SkP8nsjW1ayD7T7k9vP7RDo9bHafm747gfopPyFWI0qrD0o7ii+B iezi/hKsGYPbiNLREGtJBdE2z1n1jMdF8qCHxqF8c+eUdywD1MYASx3wretZqg7NHtoz fVu99qsdabdaD0wYvV7JKCQQiqvrRHcMW/J5pA/7fqFqu8+DGLK71Gf5JRTp5z7JfvOF +qskNgRXvhz5aUNX1CHY0WlhtnwKJ1dmHuz97W2BZKPTNqb331H/4/4fZKMcfJy6K1hY O2dj/UY1+2W2funklMgvzFZydPqS9XtaHluyQedQJH2njr+g1SzGU3gf94IPdf63xu5y w+JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="Qv7/RTvL"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s59-v6si22670893plb.341.2018.09.04.14.44.21; Tue, 04 Sep 2018 14:44:37 -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=@wdc.com header.s=dkim.wdc.com header.b="Qv7/RTvL"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbeIECKQ (ORCPT + 99 others); Tue, 4 Sep 2018 22:10:16 -0400 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:13043 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726528AbeIECKQ (ORCPT ); Tue, 4 Sep 2018 22:10:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1536097396; x=1567633396; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=CH8kUEjCOKxcIunxSfUkZn7BzJobc/mJAdG1xBXg8jk=; b=Qv7/RTvLdEC1fLcs8fyXoakY4vwCupmNWSaYR3Yz+hr4udVCd0vJOirJ V1ws79s+LXuhJB03SzXzwdO+boTKOqd/CBZKQDRkGYjb1Z8wZD+u24Zkt 0FhF+mK0vR8u1kMyzKDjt+pTNqPQEXrUAN8VuBhYn1nWlw4LKtpKIIl+y eVdNdqjp4G2+w0pyytrap9aguJpeI4Gldz9pYmZ0Oxhno4pkVsCDJ9m/y 3hqr7x92zYOfeCNigJBqCxr5CFnz+VEDqy4oljkN0M8dHXJvPK2VSFKST qFIs5925OVNtDRLZe3bHODvdjbIvDcjbxxgO3YS2ZM/OBIoEp63XxQgvr A==; X-IronPort-AV: E=Sophos;i="5.53,330,1531756800"; d="scan'208";a="193175022" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 05 Sep 2018 05:43:15 +0800 Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep01.wdc.com with ESMTP; 04 Sep 2018 14:30:00 -0700 Received: from use204589.ad.shared (HELO [10.86.59.178]) ([10.86.59.178]) by uls-op-cesaip01.wdc.com with ESMTP; 04 Sep 2018 14:43:15 -0700 Subject: Re: [PATCH v2 2/3] RISC-V: Use Linux logical cpu number instead of hartid To: Christoph Hellwig Cc: "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" 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> <20180904213654.GB2078@infradead.org> From: Atish Patra Message-ID: Date: Tue, 4 Sep 2018 14:43:13 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180904213654.GB2078@infradead.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/4/18 2:36 PM, Christoph Hellwig wrote: > 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? > I guess that's fine too. I just wanted to keep all flush_tlb_* same format to make it more coherent. Regards, Atish