From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 306F61624D5; Thu, 13 Aug 2026 09:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786614077; cv=none; b=hCwfCLGrd7t/dUODBzoJyxIZfZLnEgKbi4IGS+lMLsWpT8NFYqnA8xAhusz2T7TFPkwE+8jF/qYvIOKOYlqxd75FEj8uU/e/Mbsm7L/V23Ls5NV09ExGOQiZQ4miS2qwkVtKLTS3FSRbnvuWozgAjkbP6fK77X5tA2wvVIxaQAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786614077; c=relaxed/simple; bh=N0D9gLz963d/Cp6WvN+6A5yGNir/f9NUe+hy3ZN7HjA=; h=Date:Message-ID:From:To:Cc:Subject:In-Reply-To:References: MIME-Version:Content-Type; b=smxUVROffOy8RM6nvdHrdjw3C42yfE1mTerbMIiY0+oN/pZfef54V4VHkvWMm4KCLjZChAK7wy9AXERD8FegtTkUNUvpYMw9RuVQA2bs8S8qgkSM8wHB7qnnTGRYWlUkKS3b3dowUmYfi5puuhXGNlKc+y8jzMlm4vIquCnOXhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=A8QOStqj; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="A8QOStqj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C73A61F000E9; Thu, 13 Aug 2026 09:41:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1786614075; bh=J/D/nnVPnae3DtSOvXojVGmHq0ESlL55gCDIu3uYmKc=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=A8QOStqjmH+T7ZH81ps3ErugiVOkQZUc/OJUk0cxItu9I4wHc/oiMPl/Fj4DUU32X bAEFRkOZIQFuaSBKOZ3zxuxPziInWTwXBOfY4O+a4oWGSVW/hNpxZ9ljcY0Q4u6UYF TVWKqeEYWCdDiV/dHcBsawdoTPbRsjD5ZglEZMsz1RDoM3N1gAy9/KYTUdERlKu3Ga R42ia6b0elHlJom1On6Tmm4hyYD/3OGgFDWx28GSKY02i0eKXxzKifY9MhP9s58C4Q iZNf5q884PugTL/F5h0TxJbcNvbspN7sM8sezLodbKAaBF7EfAiUnKtX/fXUgGg+F0 NrfFz5ku36Wig== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wuRw1-0000000FH7U-3RpH; Thu, 13 Aug 2026 09:41:13 +0000 Date: Thu, 13 Aug 2026 10:41:13 +0100 Message-ID: <86bjb61hom.wl-maz@kernel.org> From: Marc Zyngier To: Steffen Eiden Cc: kvm@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, Alexander Gordeev , Andreas Grapentin , Arnd Bergmann , Catalin Marinas , Christian Borntraeger , Claudio Imbrenda , David Hildenbrand , Friedrich Welter , Fuad Tabba , Gautam Gala , Hariharan Mari , Heiko Carstens , Hendrik Brueckner , Ilya Leoshkevich , Janosch Frank , Joey Gouly , Nico Boehr , Nina Schoetterl-Glausch , Oliver Upton , Paolo Bonzini , Sean Christopherson , Suzuki K Poulose , Sven Schnelle , Ulrich Weigand , Vasily Gorbik , Will Deacon , Zenghui Yu Subject: Re: [PATCH v6 07/33] KVM: arm64: Access elements of vcpu_gp_regs individually In-Reply-To: <20260812153631.3376090-8-seiden@linux.ibm.com> References: <20260812153631.3376090-1-seiden@linux.ibm.com> <20260812153631.3376090-8-seiden@linux.ibm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: seiden@linux.ibm.com, kvm@vger.kernel.org, kvmarm@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, agordeev@linux.ibm.com, gra@linux.ibm.com, arnd@arndb.de, catalin.marinas@arm.com, borntraeger@linux.ibm.com, imbrenda@linux.ibm.com, david@kernel.org, fritz@linux.ibm.com, tabba@google.com, ggala@linux.ibm.com, hari55@linux.ibm.com, hca@linux.ibm.com, brueckner@linux.ibm.com, iii@linux.ibm.com, frankja@linux.ibm.com, joey.gouly@arm.com, nrb@linux.ibm.com, oss@nina.schoetterlglausch.eu, oupton@kernel.org, pbonzini@redhat.com, seanjc@google.com, suzuki.poulose@arm.com, svens@linux.ibm.com, Ulrich.Weigand@de.ibm.com, gor@linux.ibm.com, will@kernel.org, yuzenghui@huawei.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false On Wed, 12 Aug 2026 16:36:03 +0100, Steffen Eiden wrote: > > While for arm64 the members of vcpu_gp_regs are allocated continuous > this is not necessarily true for other architectures implementing ARM. > > Let vcpu_gp_regs() no longer return the address of the user_pt_regs in > the vcpu context but the address of the gp-register array field in the > user_pt_reg struct. Note, this change semantically excludes pc from the > GPRs. > > No functional change. > > Co-developed-by: Nina Schoetterl-Glausch > Signed-off-by: Nina Schoetterl-Glausch > Signed-off-by: Steffen Eiden Reviewed-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible.