[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 0/4] Add Kconfig option to remove microcode loading support
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>
- Date: Tue, 20 Jan 2026 10:38:45 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- 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=gTHEOSo1GinnsF6MJncYbd12zNvRUUcGZTNdnJimhAk=; b=DnJdIO+1tSFQvZ1sdJGwNSF2z3Q30peUNsNGyog9I/Ob6TSvy5xixiJEEySCCRROYJRaQ5AbFiPifv/SeBpy0jcNRVZNEVrU4NkjXG23ZxNSr8B4pjxwVlnLmOmLZY9iIzy2yIDrSFDPF9YysjzvQhpWAhFJENVIzf+Gh0NA521V/YphTEt1p0uzjoyG3KsdDheXGU1NupL7dOTvgSqnanLy3IR+VFuqBSkeGJc9WplYg4IVwyHlSMQhjeomnGEy1FoPgrid/i62/fDTJ+Sca6mNkB5YekizgfDQc7Xdwzh0+ZXzPzqpJclO9YbghaRpUyDp1MLSI+E7+r+//aomRw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=NY2A7IxOtkKgA3Hn1goGUiv468LLtofv+O0IGtneZ8Ut4PUtSCnE05EhiHrbR60QOpOSrEEiuEZmvdQVRh/sPUUwTN+uBni8Nwabr4pOQ2Q7r/65Zhtl/0tpieBNbNFKkDLzGCuIsLVFgliy3uU/OP+i8W+aI7AdBHPhdIwSqoV0qjwsl25QKKt2+ZnMxf+Uvsl6KXCvbFgQqGae03F/QRlnZnxgbemYCsRVPaMEjkvD++ixDj2grh7qJlQ9Q/tPSS8FxElTofSyEDPj8gU/beRC/lkYxzvJf7gYINFHhmMZVkvzcWvHIyKSu2l9LSYn6pyj4vDOwHRqaBK46I5VpQ==
- Cc: Alejandro Vallejo <alejandro.garciavallejo@xxxxxxx>, 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>, "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>
- Delivery-date: Tue, 20 Jan 2026 09:39:44 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi,
v1:
https://lore.kernel.org/xen-devel/20251112162219.226075-1-alejandro.garciavallejo@xxxxxxx/
v2:
https://lore.kernel.org/xen-devel/20260112150259.74535-1-alejandro.garciavallejo@xxxxxxx/
v3:
https://lore.kernel.org/xen-devel/20260113122109.62399-1-alejandro.garciavallejo@xxxxxxx/
pipeline (red, but see below):
https://gitlab.com/xen-project/people/agvallejo/xen/-/pipelines/2272127547
Pipeline failures are on ARM builds, so clearly unrelated to this. Also has
an eclair run on allcode that shows no new failures in earlycpio.c.
The only dependency here is patch 2 going in before patch 3. Everything else
can be freely rearranged.
Cheers,
Alejandro
Alejandro Vallejo (5):
x86/ucode: Add Kconfig option to remove microcode loading
xen: Allow lib-y targets to also be .init.o
earlycpio: lib-ify earlycpio.c
docs/misra: Remove earlycpio.c from the Eclair exclusion list.
automation: Disable ucode loading on AMD's analysis run
automation/gitlab-ci/analyze.yaml | 1 +
docs/admin-guide/microcode-loading.rst | 2 ++
docs/misc/efi.pandoc | 2 ++
docs/misc/xen-command-line.pandoc | 7 ++++---
docs/misra/exclude-list.json | 4 ----
xen/Rules.mk | 10 +++++-----
xen/arch/x86/Kconfig | 14 ++++++++++++++
xen/arch/x86/cpu/microcode/amd.c | 16 +++++++++-------
xen/arch/x86/cpu/microcode/core.c | 15 ++++++++++++---
xen/arch/x86/cpu/microcode/intel.c | 11 +++++++----
xen/arch/x86/cpu/microcode/private.h | 3 +++
xen/arch/x86/efi/efi-boot.h | 3 ++-
xen/arch/x86/platform_hypercall.c | 10 ++++++++--
xen/common/Makefile | 2 +-
xen/lib/Makefile | 1 +
xen/{common => lib}/earlycpio.c | 0
16 files changed, 71 insertions(+), 30 deletions(-)
rename xen/{common => lib}/earlycpio.c (100%)
base-commit: 7b3e1b4e848d34c9a5b6634009959a7b9dd42104
--
2.43.0
|