Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7305EB26E8 for ; Tue, 10 Feb 2026 16:40:24 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1226709.1533218 (Exim 4.92) (envelope-from ) id 1vpqmY-0003yI-P6; Tue, 10 Feb 2026 16:40:10 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1226709.1533218; Tue, 10 Feb 2026 16:40:10 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vpqmY-0003yB-MT; Tue, 10 Feb 2026 16:40:10 +0000 Received: by outflank-mailman (input) for mailman id 1226709; Tue, 10 Feb 2026 16:40:09 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1vpqmX-0003y5-HF for xen-devel@lists.xenproject.org; Tue, 10 Feb 2026 16:40:09 +0000 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [2a00:1450:4864:20::429]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 26743446-069f-11f1-9ccf-f158ae23cfc8; Tue, 10 Feb 2026 17:40:04 +0100 (CET) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-43591b55727so3842821f8f.3 for ; Tue, 10 Feb 2026 08:40:04 -0800 (PST) Received: from [192.168.1.6] (user-109-243-67-101.play-internet.pl. [109.243.67.101]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43629756bc3sm32676169f8f.39.2026.02.10.08.40.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 Feb 2026 08:40:03 -0800 (PST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 26743446-069f-11f1-9ccf-f158ae23cfc8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770741603; x=1771346403; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=COrjMK8OEYgsjTwS51atPufdJANAHpQy+jQ5A3f66oI=; b=Dr/TkF3KeCn2okThI/iCowURGhgss0Imyre2Hr76Llf3NGDm4XcO01tTyNfn1mvwZ5 nRFS012++cTcoe/9xdxotAGKLmhbSP+o2hpUANX5U63wAP0cKW42/SmIlvqMFpK/5tWd K5xHxSmcWfMO7XAgpCB24skEK3DYoIxeGG8NZ17xx9wr4cHkQQA8tJTh4elL01RGuNvV KXLTgk9bEB/mMPwlWQcnzlnXYSyt2mo7d2DG522lF2UaXZRiGQpkhThecBCidOhVGM+i BHf2DDWwC7FUYCms98n5ThCUcInw8pY7aO13zH2sXJARAAHobvzi0z371WkgRuhMhUt0 CM4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770741603; x=1771346403; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=COrjMK8OEYgsjTwS51atPufdJANAHpQy+jQ5A3f66oI=; b=Cf+eAIpZp4oqD/H2ZyxtDAZ2hhN6XlHvVU6btUY9ziwW+NXX3IoLBCrKDUwGHcQGCJ yNf2qJsF+LMqpczquTx6vIHRozXGL+mX6FFNtuS8jErrhr7mQYJ8KzFvjGdvRpexUWMR 9Tb+3gj7zqryEoRYp5eMI5664ccTZK6/yweFxJMdcZESWJpL/HBoFjByEVQsLRXcq5mp UcEMGTcyqHdiotJo4vAjowaHmMfltMhf2uIgBzKggVwf/e6vb/3y3hILjcqdZ6y8oUm5 Mvdpw/X5WwpaFt7lrlA/a+jbmh9jcXe3s+pvPvtB78c+WGjMiz8L8mj+CN4HmtP9BUgz cZdQ== X-Forwarded-Encrypted: i=1; AJvYcCXU2e10TGKPXQLNpRnLPeVwuRCYH2VTWGZ4JTlUf2YAhFSLiKIuJ7Gj1T+XvvftY4Fdu7QAsj64emQ=@lists.xenproject.org X-Gm-Message-State: AOJu0YxZZRJ1X+/iCb+RCM09zpZgN/B/UHxBiikRRGNO/8+Qsm8ukic1 ZyYq3QUVOrU1PDzUJCqfyn8ZJN/u0YJ64pTmCLsCd/avtD6Gva0Rshwh X-Gm-Gg: AZuq6aKEv46FCReVWdRod35I0EaJM8/GRjtCCDOFsdth3745fAK38G64LojVBRSsTYX kRG8r6ElUHFW5YR4644I9lqq8NiqJGmaDXhyquXhPl6zpyEqCuSrpmz+F8p4RhMCA/9M9d0AFiz 6qJezOKMqzMOveH4AuRg2Lxylxd9ZwrOPmE9T9wNX2ZvqWMNkTBEvBToMmv7pxrbBpSytR6/21G 3RGep228pyqrWsht7EO/0h3s+79LQdBYTdlobyq/gzjB51+j5kjgVNG7NPEjtVAUQ74+gFPbheu LZrnwNezTDmuDU1wfgMHRXt0vNallxlTth2OVJNH6bPs/gw5hAFmX2nQOYhQ7cuPqEeTYOmxl9n xBrgT66jltHaayNHCf/DK2X3Pc7cq7JdZ1jUbBBwQ65/c64krRhNJc/Jx3WTHWJ1Ng861tBmxib 4kb6HoHTO9bNgCOoIlVSErv699kQ8Dxn/vKR/QvJ6zCO2JqxzOpgX9RhXKA4BB5OwlXtorlO0SC cA= X-Received: by 2002:a5d:64c3:0:b0:437:677d:42d with SMTP id ffacd0b85a97d-437677d05edmr15758012f8f.63.1770741603380; Tue, 10 Feb 2026 08:40:03 -0800 (PST) Message-ID: <9cfd188d-b515-4d5e-8268-3ad51ee6b7e4@gmail.com> Date: Tue, 10 Feb 2026 17:40:02 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] xen: Strip vcpu_switch_to_aarch64_mode() from PPC and RISC-V stubs To: Andrew Cooper , Xen-devel Cc: Timothy Pearson , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Stefano Stabellini References: <20260210163445.2796291-1-andrew.cooper3@citrix.com> Content-Language: en-US From: Oleksii Kurochko In-Reply-To: <20260210163445.2796291-1-andrew.cooper3@citrix.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2/10/26 5:34 PM, Andrew Cooper wrote: > This is absolutely too much copy&paste from ARM. All other stubs look > somewhat reasonable. > > No functional change. > > Signed-off-by: Andrew Cooper > --- > CC: Oleksii Kurochko > CC: Timothy Pearson > CC: Anthony PERARD > CC: Michal Orzel > CC: Jan Beulich > CC: Julien Grall > CC: Roger Pau Monné > CC: Stefano Stabellini > --- > xen/arch/ppc/stubs.c | 5 ----- > xen/arch/riscv/stubs.c | 5 ----- > 2 files changed, 10 deletions(-) > > diff --git a/xen/arch/ppc/stubs.c b/xen/arch/ppc/stubs.c > index f7f6e7ed97af..a333f06119a0 100644 > --- a/xen/arch/ppc/stubs.c > +++ b/xen/arch/ppc/stubs.c > @@ -162,11 +162,6 @@ void arch_vcpu_destroy(struct vcpu *v) > BUG_ON("unimplemented"); > } > > -void vcpu_switch_to_aarch64_mode(struct vcpu *v) > -{ > - BUG_ON("unimplemented"); > -} > - > int arch_sanitise_domain_config(struct xen_domctl_createdomain *config) > { > BUG_ON("unimplemented"); > diff --git a/xen/arch/riscv/stubs.c b/xen/arch/riscv/stubs.c > index acbfde79b5a7..d071c8b86d07 100644 > --- a/xen/arch/riscv/stubs.c > +++ b/xen/arch/riscv/stubs.c > @@ -126,11 +126,6 @@ void arch_vcpu_destroy(struct vcpu *v) > BUG_ON("unimplemented"); > } > > -void vcpu_switch_to_aarch64_mode(struct vcpu *v) > -{ > - BUG_ON("unimplemented"); > -} > - These changes looks good to me: Reviewed-by: Oleksii Kurochko Thanks for cleaning it up. ~ Oleksii