[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] xen: Drop xenoprofile support


  • To: Jason Andryuk <jason.andryuk@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 5 Jan 2026 21:20:06 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Vzxh0RagYBCAW8uT4wSRqZj7umkm7gk019GzWqknGGY=; b=gkpFhFOlpWCBTbeMl+7E6i739hMu+CIwYcj+8M5+hWkDUB6PXCYYeYfdnYV/TBWXG1X+8b62qNdUZ+q1uX1DjPcD8azvvB/4BxRJXZROMpkVOJ5KT17HWIuRV0JeCKTLpjUHFbX5csQtKj5vWw3djKfNV/1VOLvY8wk7ZuIHDTDVot74q/Dh7S6ZNuVQ2egkwExx5sDLeF6ZuZXlxIn/mPofOGg+MGm/pRKBxabmaRjB6UvLJbMUF8R5aA9lPwKRT6F66WVXRyRu8ouo2QG4WtORDN4DlyWTIdCenZqdorYR7M4iB/lOgVICiWmDJy8vyYWUcoaK82DVz9jYennaJQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sa1lq9B+Fsqc6LNIdUx3tY7UXgtdUDKvBOE9iQDCkhzQsr5IhKFfXAhqEyCioEUYCyLw3lCjUareRWQ43zAaKQkyjuCMh0PUEF4Qk/ydICruefs/r6VTPC8QE46qWUc1Eeo7kmoFGP76XECdU5NI/3y7wfmtygIbEKxaVZQCIa8HdzvdmFjbdbgoIOkKT4/z/a6JXSvgdzimaTvbgqLDTGB0S8QyuFz9EADfn/LdmqL+/dMGhqQsMhxHQNtG8/hnU4NP4sRkbsRSpoRF4iG1f7CdUkq0ILdReLV/1YNwFB1WSMGCjXqHJxqPhPqMqRoKbkmUVwI5cVbm2j0JoBlsvg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Julien Grall <julien@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, "Daniel P . Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 05 Jan 2026 21:20:20 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 05/01/2026 9:17 pm, Jason Andryuk wrote:
> On 2026-01-05 14:57, Andrew Cooper wrote:
>> The most recent xenoprof change was 300ef0cb4fde ("x86: Add Xenoprofile
>> support for AMD Family16h") in 2013, despite there being 42 changes
>> worth of
>> other cleanup/rearranging since then.
>>
>> Oprofile themselves dropped Xen support in commit 0c142c3a096d ("Remove
>> opcontrol and the GUI and processor models dependent on it") in 2014,
>> as part
>> of releasing version 1.0 and switching over to using operf based on
>> the Linux
>> perf_event subsystem.  Linux's version of this patch was merged in
>> commit
>> 24880bef417f ("Merge tag 'oprofile-removal-5.12'") in 2021.
>>
>> Drop xenoprof and all supporting infrastructure, including the
>> hypercall, the
>> XSM hook and flask vectors which lose their only caller, and even
>> shrinks
>> struct domain by one pointer which wasn't properly excluded in
>> !CONFIG_XENOPROF builds.
>>
>> Retain the public xenoprof.h header as it is ABI, but note that the
>> functionality is removed.
>>
>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>
> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>

Thanks.

>
> VPMU_PASSIVE_DOMAIN_ALLOCATED could be dropped as well - maybe in a
> follow up to re-number the remaining VPMU_ flags?

Oh - so it can.  I'll fold in the deletion, but I'll leave the
renumbering for later.

~Andrew



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.