From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH -v3 0/6] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest Date: Tue, 10 Feb 2015 01:15:40 +0000 Message-ID: <20150210011540.GA17955@arm.com> References: <1423497884-21615-1-git-send-email-riel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "paulmck@linux.vnet.ibm.com" , "linux-kernel@vger.kernel.org" , Catalin Marinas , "fweisbec@gmail.com" , "kvm@vger.kernel.org" , "mtosatti@redhat.com" , "borntraeger@de.ibm.com" , "mingo@kernel.org" , "oleg@redhat.com" , "lcapitulino@redhat.com" , "pbonzini@redhat.com" To: "riel@redhat.com" Return-path: Content-Disposition: inline In-Reply-To: <1423497884-21615-1-git-send-email-riel@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hi Rik, On Mon, Feb 09, 2015 at 04:04:38PM +0000, riel@redhat.com wrote: > Apologies to Catalin and Will for not fixing up ARM. I am not > familiar with ARM assembly, and not sure how to pass a constant > argument to a function from assembly code on ARM :) It's a bit of a faff getting enum values into asm -- we actually have to duplicate the definitions using #defines to get at the constants. Perhaps it would be cleaner to leave context_tracking_user_{enter,exit} intact as C wrappers around context_tracking_{enter,exit} passing the appropriate constant? That way we don't actually need to change the arch code at all. Will