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 80926CA0EED for ; Fri, 22 Aug 2025 05:51:31 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1089511.1447037 (Exim 4.92) (envelope-from ) id 1upKgE-0007LK-No; Fri, 22 Aug 2025 05:51:14 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1089511.1447037; Fri, 22 Aug 2025 05:51:14 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1upKgE-0007LD-LK; Fri, 22 Aug 2025 05:51:14 +0000 Received: by outflank-mailman (input) for mailman id 1089511; Fri, 22 Aug 2025 05:51:14 +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 1upKgE-0007L7-1W for xen-devel@lists.xenproject.org; Fri, 22 Aug 2025 05:51:14 +0000 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [2a00:1450:4864:20::634]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id fd1da2d2-7f1b-11f0-b898-0df219b8e170; Fri, 22 Aug 2025 07:51:03 +0200 (CEST) Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-afdf4c4a2beso368023566b.1 for ; Thu, 21 Aug 2025 22:51:03 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-afded309f55sm532730966b.47.2025.08.21.22.51.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Aug 2025 22:51:02 -0700 (PDT) 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: fd1da2d2-7f1b-11f0-b898-0df219b8e170 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1755841863; x=1756446663; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=X15MvuFxe7jtC3+HifH+voBQAhtHjBn3jbdHgH3CiZU=; b=VHzcKfnKNZ3O9ZKq6OhmsezRM3Z1c3EGIwVeg4r31TpMvA7cM853tTIZ+Sc0cudaNT w3kLIX/crRyDKg5Zp+NgsWa+hX9dQBZsJNIXY9V52g+jLeVm+Xfx6+182uD5Eyr7LqDw v8/yKWuLlepBX+9+QZLSM59GEpv5mPOL3r4PTu8goEIQZmMnds0QS4Y4qKgzthTTXhqB KP/uVTTUQ/Rf60CuDM5CAVaS5QldJJYQGpD2Rq5unjZn85giqIjzhMeAV1BK+OLHmDrw X1dQaS3D0NkIYsmydjxASHeZeb9HXJy/SjI/7ib4PeY0isxqwgJdjMfjHkjAJDj6gyDY 3eUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755841863; x=1756446663; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=X15MvuFxe7jtC3+HifH+voBQAhtHjBn3jbdHgH3CiZU=; b=No5GSt0Tsbr6D9FVBzA3dHbq7Vw9F6nmnNI7k5vMZb5qf/wRE5Cy2eH/ausScWhRxT gUin74GZ7NGt6vD2HEkMl9UWgf67dH29Dwp5d03nm30NneJapd2QjdITHIkEc9tcM3GD ip7wH3G1Xx+2omHSzBxlsEyXXBpJkDBLUgJxbfn5+7wA7QVlUt66W8Qohpixohnj5iyk EevPdQFWzX6Ciyi4VxWkgnmtEdf7a8/W/09vUrROU45LncK9t9k71PicdEy3/rqEJW+6 Tm7l1pDygY+GfP4PeBo4uSsWSiCcST0ltqh6lYjqYmHf9vmYJyTxBL0FA6pz1ahL54hN 3S4Q== X-Forwarded-Encrypted: i=1; AJvYcCXrtGWPakh8doWj7crq8PAXmHOXWJW4CTtL8oUhQ/cyPUc78xdrXJfx5Aqs8IF1D4FWOpIErJO4R7M=@lists.xenproject.org X-Gm-Message-State: AOJu0YwWv1WMa2kpdL41qATE69HWCFHYcJSg0LsMm53uIWUYQ+tDZ1A6 OCfazj8gCF0aZ/Y37ZYl8D7mf54i5JlrrezR1X7lbQr9l4FiV1Z4PAfEHtD0tK3pGg== X-Gm-Gg: ASbGncsrA0d2DcrXcpEKbSHoag3OcxPyKwk0xDaPgEFugYAFH3ys7yEv9+AhReGiFeC G63RwLiQeukTLFMTKFQhzm3CN3Ia1JpP+64GBAmI6e6OXpDR/7MvWv/hMmOJX4H+CemrJoNvbUG KQhA5/8DtuhR5930rkY0dxDWIXIxT3suZLnmg6RQTsZCQfnahYYkbX36RuaYGkI1dDvGLJl5WMt M9ClB3g39auJY0WcbrX3SrVir03qs4zAQQghsh1Hy1qIHo4xvqhhrl9lEB3BiUHOdAtV/hJeDXl 7fZpvQwzmLnhMha9lu1sMm6htKBuBh4o2yIJkauYQGhXmbP0oXp9fjWotY0C5cmkm1+IIvZtPLE ooFU1pfQWCLhnAANyOMDigGsbidyhu2+OxsdZg67+jr01+GyuW/xMHGup2+vDxBaZSH4/EOgSsD 6i4TsTMjI= X-Google-Smtp-Source: AGHT+IEPfR0/n/G1Xf0/7G9WphMob771Zrkm2xjWm84DgidBBFt5Ey/HVdS1NuOqBjvVYYx+ub+yvQ== X-Received: by 2002:a17:907:7e8d:b0:ae1:a69c:ea76 with SMTP id a640c23a62f3a-afe0b458e51mr424454766b.23.1755841863027; Thu, 21 Aug 2025 22:51:03 -0700 (PDT) Message-ID: Date: Fri, 22 Aug 2025 07:51:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE To: Stefano Stabellini Cc: "Penny, Zheng" , "Huang, Ray" , Andrew Cooper , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Anthony PERARD , "Orzel, Michal" , Julien Grall , "xen-devel@lists.xenproject.org" , Oleksii Kurochko References: <20250815102728.1340505-1-Penny.Zheng@amd.com> <43f0c9a6-a4f3-44e0-959f-a021ae3b0466@suse.com> Content-Language: en-US From: Jan Beulich Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJuMBS8rnNg22uyfAgmBKNLpLgAGVRMZGaGoJObGf72s6TeIqKJo/LtggAS9qAUiuKVnygo 3wjfkS9A3DRO+SpU7JqWdsveeIQyeyEJ/8PTowmSQLakF+3fote9ybzd880fSmFuIEJldWxp Y2ggPGpiZXVsaWNoQHN1c2UuY29tPsJgBBMRAgAgBQJZN5xEAhsDBgsJCAcDAgQVAggDBBYC AwECHgECF4AACgkQoDSui/t3IH4J+wCfQ5jHdEjCRHj23O/5ttg9r9OIruwAn3103WUITZee e7Sbg12UgcQ5lv7SzsFNBFk3nEQQCACCuTjCjFOUdi5Nm244F+78kLghRcin/awv+IrTcIWF hUpSs1Y91iQQ7KItirz5uwCPlwejSJDQJLIS+QtJHaXDXeV6NI0Uef1hP20+y8qydDiVkv6l IreXjTb7DvksRgJNvCkWtYnlS3mYvQ9NzS9PhyALWbXnH6sIJd2O9lKS1Mrfq+y0IXCP10eS FFGg+Av3IQeFatkJAyju0PPthyTqxSI4lZYuJVPknzgaeuJv/2NccrPvmeDg6Coe7ZIeQ8Yj t0ARxu2xytAkkLCel1Lz1WLmwLstV30g80nkgZf/wr+/BXJW/oIvRlonUkxv+IbBM3dX2OV8 AmRv1ySWPTP7AAMFB/9PQK/VtlNUJvg8GXj9ootzrteGfVZVVT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 22.08.2025 02:10, Stefano Stabellini wrote: > On Thu, 21 Aug 2025, Jan Beulich wrote: >> On 20.08.2025 05:12, Penny, Zheng wrote: >>> [Public] >>> >>>> -----Original Message----- >>>> From: Jan Beulich >>>> Sent: Monday, August 18, 2025 4:31 PM >>>> To: Penny, Zheng ; Oleksii Kurochko >>>> >>>> Cc: Huang, Ray ; Andrew Cooper >>>> ; Roger Pau Monné ; >>>> Anthony PERARD ; Orzel, Michal >>>> ; Julien Grall ; Stefano Stabellini >>>> ; xen-devel@lists.xenproject.org >>>> Subject: Re: [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE >>>> >>>> On 15.08.2025 12:27, Penny Zheng wrote: >>>>> In order to fix CI error of a randconfig picking both >>>>> PV_SHIM_EXCLUSIVE=y and HVM=y results in hvm.c being built, but >>>>> domctl.c not being built, which leaves a few functions, like >>>>> domctl_lock_acquire/release() undefined, causing linking to fail. >>>>> To fix that, we intend to move domctl.o out of the PV_SHIM_EXCLUSIVE >>>>> Makefile /hypercall-defs section, with this adjustment, we also need >>>>> to release redundant vnuma_destroy() stub definition from >>>>> PV_SHIM_EXCLUSIVE guardian, to not break compilation Above change will >>>>> leave dead code in the shim binary temporarily and will be fixed with >>>>> the introduction of domctl-op wrapping. >>>> >>>> Well, "temporarily" is now getting interesting. While v1 of "Introduce >>>> CONFIG_DOMCTL" was submitted in time to still be eligible for taking into 4.21, >>>> that - as indicated elsewhere - is moving us further in an unwanted direction. Hence >>>> I'm not sure this can even be counted as an in-time submission. Plus it looks to be >>>> pretty extensive re-work in some areas. >>>> Hence I'm somewhat weary as to 4.21 here. IOW question, mainly to Oleksii, is >>>> whether to >>>> 1) strive to complete that work in time (and hence take the patch here), >>>> 2) take the patch here, accepting the size regression for the shim, or >>>> 3) revert what has caused the randconfig issues, and retry the effort in >>>> 4.22. >>>> >>>>> Fixes: 568f806cba4c ("xen/x86: remove "depends on >>>>> !PV_SHIM_EXCLUSIVE"") >>>>> Reported-by: Jan Beulich >>>>> Signed-off-by: Penny Zheng >>>> >>>> My earlier question (when the patch still was part of a series) sadly has remained >>>> unanswered: You've run this through a full round of testing this time? >>> >>> Sorry, missed that, yes, it has been tested with both default defconfig and allyesconfig. >> >> I'm sorry if my request was unclear, but with "full round of testing" I in particular >> meant a full CI pipeline, plus (given the issue that's being fixed) some extra >> randconfig testing. > > https://gitlab.com/xen-project/people/sstabellini/xen/-/pipelines/1997431361 > > I ran a few tests myself changing config options on purpose trying to > break it, and so far they were all successful. Should I translate this to Tested-by: then? Jan