From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: Re: [PATCH v2 10/21] arm64: KVM: Add patchable function selector Date: Wed, 2 Dec 2015 16:34:56 -0600 Message-ID: <20151202223456.GK3233@hawk.localdomain> References: <1448650215-15218-1-git-send-email-marc.zyngier@arm.com> <1448650215-15218-11-git-send-email-marc.zyngier@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoffer Dall , Alex =?iso-8859-1?Q?Benn=E9e?= , Steve Capper , Ard Biesheuvel , Mark Rutland , Catalin Marinas , linux-arm-kernel@lists.infradead.org, kvm@vger.kernel.org, kvmarm@lists.cs.columbia.edu To: Marc Zyngier Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56075 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754635AbbLBWfD (ORCPT ); Wed, 2 Dec 2015 17:35:03 -0500 Content-Disposition: inline In-Reply-To: <1448650215-15218-11-git-send-email-marc.zyngier@arm.com> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, Nov 27, 2015 at 06:50:04PM +0000, Marc Zyngier wrote: > KVM so far relies on code patching, and is likely to use it more > in the future. The main issue is that our alternative system works > at the instruction level, while we'd like to have alternatives at > the function level. How about setting static-keys at hyp init time? Thanks, drew