Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5636697pxb; Thu, 20 Jan 2022 01:11:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSKJJPl1LTWKQ3aprsM4HQgWQ/dtUeOOIKVxIDO3HhQSO/wmpil/XSTr4hvxS+Q4H5+qr5 X-Received: by 2002:a63:8c4c:: with SMTP id q12mr31072050pgn.149.1642669893824; Thu, 20 Jan 2022 01:11:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642669893; cv=none; d=google.com; s=arc-20160816; b=tokvh326POpm+Fp7TI6HyXpslgWt3hknKCKkVPsDnYCtAwkwXBkm4kexXxl3N1COt6 MY/cieOkHHUGPDVdT3pVy9G8qxmWBx7ypc3CBKpuz3ChVBv1c42ziaAm5yHK8OZ4j52s QdySKF1LxMbDMGHzT4mqSE3Dt0g/B/ZltduST1hQJhcEif2A11JZxOSZz2uHOxPzLAlm KkNrK+BRmue2f3UBjI3jBQSP7xF1liwJM2snLecorVZ65SSB61FSrYMYjVUutiuSXLBQ oaHq+Yg+Bbrc95bQ5ACgHQY0iKUSEgfKhk4UpDzozPFiYpuoSnx/LH+qJ9UjgYmuXgXY i8/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=MEzOBXtUeeAq7x9YNyfnp27Ttbbvo3t8qaxbXqvLb6k=; b=jAoenB7fIDRD2jOK3L3p2Z6dJUM9IWU/ZlDEBDHDJLG8PgiZjMPgGpKS1ODjVdO5Di TNco1G6O8cFInwhkNlkWUxbJiJHyqlVvAy9ETuv97kk147xOhw7vi7z2FCilEorX+BbO ZGZd81H/Y8nuZFXRObY1Svz62jnkpCsEsOd0g2eVW1/KAg0pHjDpwur++j9GYyYuyse4 cUKQRYv1/ke1BsVCX30x/SbVhxsy7ECwuLNG0iYIBQQ88xlXUCuo9kU85PhZQaCqGK4F BR+ZDPLcdh5zfkcLmqXMsW8lCqS2oKQ8pPJ+GXuwHk4xF09khhaXD9eTJ5vSlzhCGaUA D6XQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c15si2639252pgk.651.2022.01.20.01.11.21; Thu, 20 Jan 2022 01:11:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241418AbiARNBw (ORCPT + 99 others); Tue, 18 Jan 2022 08:01:52 -0500 Received: from foss.arm.com ([217.140.110.172]:56050 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241134AbiARNBv (ORCPT ); Tue, 18 Jan 2022 08:01:51 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CD4B21FB; Tue, 18 Jan 2022 05:01:50 -0800 (PST) Received: from C02TD0UTHF1T.local (unknown [10.57.37.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6A0B43F73D; Tue, 18 Jan 2022 05:01:45 -0800 (PST) Date: Tue, 18 Jan 2022 13:01:42 +0000 From: Mark Rutland To: Sean Christopherson Cc: linux-kernel@vger.kernel.org, aleksandar.qemu.devel@gmail.com, alexandru.elisei@arm.com, anup.patel@wdc.com, aou@eecs.berkeley.edu, atish.patra@wdc.com, benh@kernel.crashing.org, borntraeger@linux.ibm.com, bp@alien8.de, catalin.marinas@arm.com, chenhuacai@kernel.org, dave.hansen@linux.intel.com, david@redhat.com, frankja@linux.ibm.com, frederic@kernel.org, gor@linux.ibm.com, hca@linux.ibm.com, imbrenda@linux.ibm.com, james.morse@arm.com, jmattson@google.com, joro@8bytes.org, kvm@vger.kernel.org, maz@kernel.org, mingo@redhat.com, mpe@ellerman.id.au, nsaenzju@redhat.com, palmer@dabbelt.com, paulmck@kernel.org, paulus@samba.org, paul.walmsley@sifive.com, pbonzini@redhat.com, suzuki.poulose@arm.com, tglx@linutronix.de, tsbogend@alpha.franken.de, vkuznets@redhat.com, wanpengli@tencent.com, will@kernel.org Subject: Re: [PATCH 1/5] kvm: add exit_to_guest_mode() and enter_from_guest_mode() Message-ID: <20220118130142.GB17938@C02TD0UTHF1T.local> References: <20220111153539.2532246-1-mark.rutland@arm.com> <20220111153539.2532246-2-mark.rutland@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 14, 2022 at 04:11:06PM +0000, Sean Christopherson wrote: > On Fri, Jan 14, 2022, Mark Rutland wrote: > > I'd like to keep this somewhat orthogonal to the x86 changes (e.g. as other > > architectures will need backports to stable at least for the RCU bug fix), so > > I'd rather use a name that isn't immediately coupled with x86 changes. > > Ah, gotcha. > > > Does the guest_context_{enter,exit}_irqoff() naming above work for you? > > Yep, thanks! I just realised that I already have guest_context_{enter,exit}_irqoff() for the context-tracking bits alone, and so I'll need to use a different name. For bisectability I can't use guest_{enter,exit}_irqoff() immediately, so for now I'll go with guest_state_{enter,exit}_irqoff(). Once the conversion is complete and the deprecated bits are removed we can rename those to guest_{enter,exit}_irqoff(). Thanks, Mark.