From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965498AbcJFJn6 (ORCPT ); Thu, 6 Oct 2016 05:43:58 -0400 Received: from fw-tnat.cambridge.arm.com ([217.140.96.140]:57660 "EHLO cam-smtp0.cambridge.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S942148AbcJFJnz (ORCPT ); Thu, 6 Oct 2016 05:43:55 -0400 From: Punit Agrawal To: Matthias Brugger Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Marc Zyngier , Will Deacon , Steven Rostedt , Ingo Molnar Subject: Re: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper References: <1473761769-30572-1-git-send-email-punit.agrawal@arm.com> <1473761769-30572-6-git-send-email-punit.agrawal@arm.com> <07921948-8692-67c1-8ae9-a68f0cc387c8@suse.com> Date: Thu, 06 Oct 2016 10:43:14 +0100 In-Reply-To: <07921948-8692-67c1-8ae9-a68f0cc387c8@suse.com> (Matthias Brugger's message of "Wed, 5 Oct 2016 18:41:02 +0200") Message-ID: <87eg3tyfrh.fsf@e105922-lin.cambridge.arm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthias Brugger writes: > On 13/09/16 12:16, 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 >> --- > > Reviewed-by: Matthias Brugger Thanks for reviewing the patch. I'll re-spin a new version with the tag after the merge window. Punit [...] From mboxrd@z Thu Jan 1 00:00:00 1970 From: Punit Agrawal Subject: Re: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper Date: Thu, 06 Oct 2016 10:43:14 +0100 Message-ID: <87eg3tyfrh.fsf@e105922-lin.cambridge.arm.com> References: <1473761769-30572-1-git-send-email-punit.agrawal@arm.com> <1473761769-30572-6-git-send-email-punit.agrawal@arm.com> <07921948-8692-67c1-8ae9-a68f0cc387c8@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Marc Zyngier , Will Deacon , linux-kernel@vger.kernel.org, Steven Rostedt , Ingo Molnar , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org To: Matthias Brugger Return-path: In-Reply-To: <07921948-8692-67c1-8ae9-a68f0cc387c8@suse.com> (Matthias Brugger's message of "Wed, 5 Oct 2016 18:41:02 +0200") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu List-Id: kvm.vger.kernel.org Matthias Brugger writes: > On 13/09/16 12:16, 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 >> --- > > Reviewed-by: Matthias Brugger Thanks for reviewing the patch. I'll re-spin a new version with the tag after the merge window. Punit [...] From mboxrd@z Thu Jan 1 00:00:00 1970 From: punit.agrawal@arm.com (Punit Agrawal) Date: Thu, 06 Oct 2016 10:43:14 +0100 Subject: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper In-Reply-To: <07921948-8692-67c1-8ae9-a68f0cc387c8@suse.com> (Matthias Brugger's message of "Wed, 5 Oct 2016 18:41:02 +0200") References: <1473761769-30572-1-git-send-email-punit.agrawal@arm.com> <1473761769-30572-6-git-send-email-punit.agrawal@arm.com> <07921948-8692-67c1-8ae9-a68f0cc387c8@suse.com> Message-ID: <87eg3tyfrh.fsf@e105922-lin.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Matthias Brugger writes: > On 13/09/16 12:16, 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 >> --- > > Reviewed-by: Matthias Brugger Thanks for reviewing the patch. I'll re-spin a new version with the tag after the merge window. Punit [...]