From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760624AbbBJBPq (ORCPT ); Mon, 9 Feb 2015 20:15:46 -0500 Received: from foss-mx-na.foss.arm.com ([217.140.108.86]:42819 "EHLO foss-mx-na.foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759676AbbBJBPp (ORCPT ); Mon, 9 Feb 2015 20:15:45 -0500 Date: Tue, 10 Feb 2015 01:15:40 +0000 From: Will Deacon To: "riel@redhat.com" 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" Subject: Re: [PATCH -v3 0/6] rcu,nohz,kvm: use RCU extended quiescent state when running KVM guest 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 Content-Disposition: inline In-Reply-To: <1423497884-21615-1-git-send-email-riel@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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