Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1496523

Re: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper

Path csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From Punit Agrawal <punit.agrawal@arm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper
Date Thu, 06 Oct 2016 11:50:02 +0200
Message-ID <spdto-6Li-5@gated-at.bofh.it> (permalink)
References <sgSYN-tp-5@gated-at.bofh.it> <sgSYO-tp-19@gated-at.bofh.it> <soXyh-3sY-7@gated-at.bofh.it>
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)
MIME-Version 1.0
Content-Type text/plain
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 26
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org, Marc Zyngier <marc.zyngier@arm.com>, Will Deacon <will.deacon@arm.com>, Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@redhat.com>
X-Original-Date Thu, 06 Oct 2016 10:43:14 +0100
X-Original-Message-ID <87eg3tyfrh.fsf@e105922-lin.cambridge.arm.com>
X-Original-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>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1496523

Show key headers only | View raw


Matthias Brugger <mbrugger@suse.com> writes:

> On 13/09/16 12:16, Punit Agrawal wrote:
>> From: Mark Rutland <mark.rutland@arm.com>
>>
>> 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 <mark.rutland@arm.com>
>> Cc: Marc Zyngier <marc.zyngier@arm.com>
>> [ rename tlbi -> __tlbi, convert additional sites, update commit log ]
>> Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
>> Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
>> ---
>
> Reviewed-by: Matthias Brugger <mbrugger@suse.com>

Thanks for reviewing the patch. I'll re-spin a new version with the tag
after the merge window.

Punit


[...]

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper Matthias Brugger <mbrugger@suse.com> - 2016-10-05 18:50 +0200
  Re: [PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper Punit Agrawal <punit.agrawal@arm.com> - 2016-10-06 11:50 +0200

csiph-web