From: Jan Beulich <jbeulich@suse.com>
To: Stefano Stabellini <sstabellini@kernel.org>
Cc: "Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
ray.huang@amd.com, "Andrew Cooper" <andrew.cooper3@citrix.com>,
"Roger Pau Monné" <roger.pau@citrix.com>,
"Anthony PERARD" <anthony.perard@vates.tech>,
"Michal Orzel" <michal.orzel@amd.com>,
"Julien Grall" <julien@xen.org>,
xen-devel@lists.xenproject.org,
"Penny Zheng" <Penny.Zheng@amd.com>
Subject: Re: [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE
Date: Mon, 25 Aug 2025 16:20:16 +0200 [thread overview]
Message-ID: <49416df6-83c8-4fa3-bf81-2d1e504ef31b@suse.com> (raw)
In-Reply-To: <alpine.DEB.2.22.394.2508181646220.923618@ubuntu-linux-20-04-desktop>
On 19.08.2025 01:51, Stefano Stabellini wrote:
> On Mon, 18 Aug 2025, Jan Beulich wrote:
>> On 18.08.2025 15:28, Oleksii Kurochko wrote:
>>> On 8/18/25 10:31 AM, Jan Beulich wrote:
>>>> 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.
>>>
>>> Do you mean that specifically this patch or the whole patch series is moving us
>>> in unwanted direction? (1)
>>
>> That series. We said we don't want individual CONFIG_SYSCTL, CONFIG_DOMCTL, etc.
>> Instead a single umbrella option wants introducing. Which means there series
>> doesn't need re-doing from scratch, but it may end up being a significant re-
>> work, especially considering that CONFIG_SYSCTL is already in the codebase and
>> hence now also needs replacing.
>
> I would not characterize this series as "moving us in an unwanted
> direction". Yes, it introduces a separate CONFIG_DOMCTL, which we
> agreed we do not want. However, simplifying it to reuse a single
> CONFIG is a minor improvement that can be addressed in v2. The main
> challenge in this series is adding the #ifdef in the appropriate
> places, and using a single CONFIG for domctl and sysctl would
> actually help.
Well, when are we going to see a v2 then which does this? Of the three
options I mentioned in the earlier reply, Oleksii favored the revert
path, leaving open the get-everything-in one. For the latter, however,
we need to see relatively constant progress now, or else time will run
out. Whether to commit the patch here really depends on what route we
settle on for 4.21.
Jan
next prev parent reply other threads:[~2025-08-25 14:20 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-15 10:27 [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE Penny Zheng
2025-08-15 19:23 ` Stefano Stabellini
2025-08-18 8:31 ` Jan Beulich
2025-08-18 13:28 ` Oleksii Kurochko
2025-08-18 13:34 ` Jan Beulich
2025-08-18 23:51 ` Stefano Stabellini
2025-08-25 14:20 ` Jan Beulich [this message]
2025-08-26 2:57 ` Stefano Stabellini
2025-08-27 0:33 ` Stefano Stabellini
2025-08-27 2:09 ` Stefano Stabellini
2025-08-27 7:13 ` Jan Beulich
2025-08-28 0:52 ` Stefano Stabellini
2025-08-28 6:17 ` Jan Beulich
2025-08-28 23:41 ` Stefano Stabellini
2025-08-29 7:27 ` Jan Beulich
2025-09-02 22:16 ` Domctl series as a fix to PV_SHIM_EXCLUSIVE, was: " Stefano Stabellini
2025-09-03 14:41 ` Oleksii Kurochko
2025-08-20 3:12 ` Penny, Zheng
2025-08-21 7:18 ` Jan Beulich
2025-08-22 0:10 ` Stefano Stabellini
2025-08-22 5:51 ` Jan Beulich
2025-08-22 14:53 ` Stefano Stabellini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49416df6-83c8-4fa3-bf81-2d1e504ef31b@suse.com \
--to=jbeulich@suse.com \
--cc=Penny.Zheng@amd.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=oleksii.kurochko@gmail.com \
--cc=ray.huang@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.