From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755373AbcIFGg4 (ORCPT ); Tue, 6 Sep 2016 02:36:56 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:35471 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752565AbcIFGgx (ORCPT ); Tue, 6 Sep 2016 02:36:53 -0400 Date: Tue, 6 Sep 2016 08:39:20 +0200 From: Christoffer Dall To: Punit Agrawal Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Mark Rutland , Marc Zyngier , Steven Rostedt , Ingo Molnar , Will Deacon Subject: Re: [RFC v2 PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper Message-ID: <20160906063920.GD30513@cbox> References: <1473093097-30932-1-git-send-email-punit.agrawal@arm.com> <1473093097-30932-6-git-send-email-punit.agrawal@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1473093097-30932-6-git-send-email-punit.agrawal@arm.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 05, 2016 at 05:31:35PM +0100, Punit Agrawal wrote: > From: Mark Rutland > > Now that we have a __tlbi() helper, make use of this in the arm64 KVM hyp > code to get rid of asm() boilerplate. At the same time, we simplify > __tlb_flush_vm_context by using __flush_icache_all(), as this has the > appropriate instruction cache maintenance and barrier. > > Signed-off-by: Mark Rutland > Cc: Marc Zyngier > [ rename tlbi -> __tlbi, convert additional sites, update commit log ] > Signed-off-by: Punit Agrawal Acked-by: Christoffer Dall