Re: [PATCH for-4.21 0/6] tools/{lib,}xl: Coverity falllout from the json-c switch

2025-10-15 Thread Oleksii Kurochko
ch in the series switches thegithub triggered Coverity build to use json-c. All should be considered for 4.21. Agree, we could consider that to have that in 4.21 as it fixes some minor problems and isn't too intrusive: Release-Acked-by: Oleksii Kurochko Thanks. ~ Oleksii Thanks, Roger.

Re: [PATCH] x86/boot: Fix edd=off to skip mbr

2025-10-15 Thread Oleksii Kurochko
-by: Jason Andryuk Release-Acked-By: Oleksii Kurochko Thanks. ~ Oleksii --- xen/arch/x86/boot/edd.S | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/xen/arch/x86/boot/edd.S b/xen/arch/x86/boot/edd.S index 3df712bce1..02437511b2 100644 --- a/xen/arch/x86/boot/e

Re: [PATCH 1/1] tools/libs/light: fix BAR memory address truncation

2025-10-13 Thread Oleksii Kurochko
cc: Juergen Gross cc: Oleksii Kurochko --- tools/libs/light/libxl_pci.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) With getting proper Ack(s) from maintainers, the patch could be considered to be in 4.21: Release-Acked-by: Oleksii Kurochko Thanks. ~ Oleksii diff --gi

Re: [PATCH v4 12/18] xen/riscv: Implement p2m_pte_from_mfn() and support PBMT configuration

2025-10-10 Thread Oleksii Kurochko
On 10/9/25 2:06 PM, Jan Beulich wrote: On 09.10.2025 11:21, Oleksii Kurochko wrote: On 10/7/25 3:09 PM, Jan Beulich wrote: On 29.09.2025 15:30, Oleksii Kurochko wrote: On 9/22/25 6:28 PM, Jan Beulich wrote: On 17.09.2025 23:55, Oleksii Kurochko wrote: @@ -318,11 +331,87 @@ static inline

Re: [PATCH v2] MAINTAINERS: Add myself as an AMD SVM & IOMMU reviewer

2025-10-09 Thread Oleksii Kurochko
On 10/9/25 2:36 PM, Jan Beulich wrote: On 08.10.2025 22:11, Jason Andryuk wrote: --- a/MAINTAINERS +++ b/MAINTAINERS @@ -220,6 +220,23 @@ F: xen/drivers/acpi/ F:xen/include/acpi/ F:tools/libacpi/ +AMD IOMMU +M: Jan Beulich +M: Andrew Cooper +M: Roger Pau Monné +R:

Re: [PATCH for-4.21] x86/hvm: fix reading from 0xe9 IO port if port E9 hack is active

2025-10-03 Thread Oleksii Kurochko
On 10/2/25 3:38 PM, Roger Pau Monné wrote: On Thu, Oct 02, 2025 at 11:37:36AM +0100, Andrew Cooper wrote: On 02/10/2025 11:22 am, Roger Pau Monne wrote: Reading from the E9 port if the emergency console is active should return 0xe9 according to the documentation from Bochs: https://bochs.sour

Re: [PATCH v2] xen: Strip xen.efi by default

2025-10-03 Thread Oleksii Kurochko
h this wanting to be considered for 4.21. ... but if it is not clear at the moment how to instruct the EFI loader to load below 4G, then I am okay with this solution and it should be part of 4.21: Release-Acked-By: Oleksii Kurochko Thanks. ~ Oleksii ~Andrew (Retaining full patch for those

Re: [PATCH v2] Support LLVM raw profile versions 8, 9, and 10

2025-10-03 Thread Oleksii Kurochko
should be considered for 4.21 at this point. Coverage is an optional feature, off-by-default, but Xen does support GCC and Clang (older Clang at least), and right now newer Clang simply malfunctions. In this case, I agree that it should be considered for 4.21: Release-Acked-By: Oleksii Kurochko

Re: [PATCH v4 13/18] xen/riscv: implement p2m_next_level()

2025-10-02 Thread Oleksii Kurochko
On 9/22/25 7:35 PM, Jan Beulich wrote: On 17.09.2025 23:55, Oleksii Kurochko wrote: Implement the p2m_next_level() function, which enables traversal and dynamic allocation of intermediate levels (if necessary) in the RISC-V p2m (physical-to-machine) page table hierarchy. To support this, the

Re: [PATCH for-4.21] vpci/msix: improve handling of bogus MSI-X capabilities

2025-10-02 Thread Oleksii Kurochko
On 9/30/25 2:46 PM, Roger Pau Monné wrote: On Mon, Sep 29, 2025 at 05:59:00PM +0200, Oleksii Kurochko wrote: On 9/29/25 10:41 AM, Roger Pau Monne wrote: I've had the luck to come across a PCI card that exposes a MSI-X capability where the BIR of the vector and PBA tables points at a BAR

Re: [PATCH for-4.21] vpci/msix: improve handling of bogus MSI-X capabilities

2025-09-29 Thread Oleksii Kurochko
Pau Monné --- Cc: Stewart Hildebrand Cc: Jan Beulich Cc: Oleksii Kurochko While not strictly a bugfix, I consider this a worthy improvement so that PVH dom0 has a chance to boot on hardware that exposes such broken MSI-X capabilities. Based on your commit description it looks like a bug as witho

Re: [XEN PATCH v2 0/8] Allow to build libxl and other tools with json-c instead of yajl

2025-09-29 Thread Oleksii Kurochko
On 9/29/25 2:07 PM, Anthony PERARD wrote: From: Anthony PERARD Patch series available in this git branch: https://xenbits.xenproject.org/git-http/people/aperard/xen-unstable.git br.libxl-libjsonc-v2 changes in v2: - introduce $(XEN_JSON_LIBS) to have either -lyajl or -ljson-c or both (for a

[PATCH v2] CHANGELOG.md: Update for 4.21 release cycle

2025-09-26 Thread Oleksii Kurochko
Signed-off-by: Oleksii Kurochko --- Chnages in v2: - Drop the following items: - Allow to unflatten DTs. - Basic kexec support to Mini-OS for running in PVH mode. --- CHANGELOG.md | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md

Re: [PATCH v4 10/18] xen/riscv: implement p2m_set_range()

2025-09-26 Thread Oleksii Kurochko
On 9/26/25 9:07 AM, Jan Beulich wrote: On 25.09.2025 22:08, Oleksii Kurochko wrote: On 9/20/25 1:36 AM, Jan Beulich wrote: On 17.09.2025 23:55, Oleksii Kurochko wrote: +static pte_t *p2m_get_root_pointer(struct p2m_domain *p2m, gfn_t gfn) +{ +unsigned long root_table_indx

Re: [PATCH v4 01/18] xen/riscv: detect and initialize G-stage mode

2025-09-26 Thread Oleksii Kurochko
On 9/25/25 3:46 PM, Jan Beulich wrote: On 24.09.2025 17:00, Oleksii Kurochko wrote: On 9/24/25 1:31 PM, Oleksii Kurochko wrote: --- a/xen/arch/riscv/setup.c +++ b/xen/arch/riscv/setup.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include

Re: [PATCH v4 02/18] xen/riscv: introduce VMID allocation and manegement

2025-09-25 Thread Oleksii Kurochko
On 9/19/25 11:26 PM, Jan Beulich wrote: On 17.09.2025 23:55, Oleksii Kurochko wrote: @@ -151,6 +152,8 @@ void __init noreturn start_xen(unsigned long bootcpu_id, gstage_mode_detect(); +vmid_init(); Like for the earlier patch, I'm not convinced this is a function good to

Re: [PATCH for-4.21] x86/cpu: populate CPUID 0x1.edx features early for self-snoop detection

2025-09-25 Thread Oleksii Kurochko
On 9/25/25 10:11 AM, Roger Pau Monné wrote: On Thu, Sep 25, 2025 at 09:41:43AM +0200, Jan Beulich wrote: On 25.09.2025 09:40, Roger Pau Monné wrote: On Thu, Sep 25, 2025 at 09:37:46AM +0200, Jan Beulich wrote: On 25.09.2025 09:34, Roger Pau Monné wrote: On Thu, Sep 25, 2025 at 09:03:06AM +02

Re: Ping: [PATCH] symbols: discard stray file symbols

2025-09-25 Thread Oleksii Kurochko
Beulich May I please ask for feedback here, so that hopefully we can have this sorted in 4.21? It is okay for me to have this change in 4.21: Release-Acked-by: Oleksii Kurochko ~ Oleksii Jan --- Factor 2 may in principle still be too small: We zap what looks like real file symbols already

Re: [PATCH] CHANGELOG.md: Update for 4.21 release cycle

2025-09-25 Thread Oleksii Kurochko
On 9/25/25 8:26 AM, Jan Beulich wrote: On 24.09.2025 11:36, Oleksii Kurochko wrote: --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - Debian Trixie added to CI. Debian Bullseye retired from CI for RISC

Re: [PATCH] docs/xentop: Add documentation for physical CPU monitoring feature

2025-09-24 Thread Oleksii Kurochko
cs patch for a new feature so ought to be considered. It is okay with me to have this docs patch in Xen 4.21: Release-Acked-by: Oleksii Kurochko Thanks. ~ Oleksii

Re: [PATCH v4 05/18] xen/riscv: add root page table allocation

2025-09-24 Thread Oleksii Kurochko
On 9/20/25 12:14 AM, Jan Beulich wrote: On 17.09.2025 23:55, Oleksii Kurochko wrote: +{ +return MASK_INSR(mfn_x(page_to_mfn(p2m->root)), HGATP_PPN) | + MASK_INSR(gstage_mode, HGATP_MODE_MASK) | + MASK_INSR(vmid, HGATP_VMID_MASK); +} + +static int p2m_alloc_root_ta

Re: [PATCH v4 01/18] xen/riscv: detect and initialize G-stage mode

2025-09-24 Thread Oleksii Kurochko
On 9/24/25 1:31 PM, Oleksii Kurochko wrote: --- a/xen/arch/riscv/setup.c +++ b/xen/arch/riscv/setup.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -148,6 +149,8 @@ void __init noreturn start_xen(unsigned long bootcpu_id

Re: [PATCH v4 01/18] xen/riscv: detect and initialize G-stage mode

2025-09-24 Thread Oleksii Kurochko
On 9/18/25 5:54 PM, Jan Beulich wrote: On 17.09.2025 23:55, Oleksii Kurochko wrote: --- /dev/null +++ b/xen/arch/riscv/p2m.c @@ -0,0 +1,91 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include +#include +#include + +#include +#include +#include + +unsigned long

[PATCH] CHANGELOG.md: Update for 4.21 release cycle

2025-09-24 Thread Oleksii Kurochko
Signed-off-by: Oleksii Kurochko --- CHANGELOG.md | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ca1b43b940..5a0902cc3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog

Re: [PATCH v10 8/8] CHANGELOG.md: add amd-cppc/amd-cppc-epp cpufreq driver support

2025-09-23 Thread Oleksii Kurochko
obe). + - New amd-cppc/amd-cppc-epp cpufreq driver. LGTM: Acked-by: Oleksii Kurochko Thanks. ~ Oleksii - On Arm: - Ability to enable stack protector

Re: [PATCH for-4.21 0/5] CI: Add Debian Trixie

2025-09-17 Thread Oleksii Kurochko
On 9/9/25 11:53 PM, Stefano Stabellini wrote: On Tue, 9 Sep 2025, Marek Marczykowski-Górecki wrote: On Sat, Aug 09, 2025 at 11:12:01PM +0100, Andrew Cooper wrote: I know it's past the last-post deadline, but Trixie was only released today. In terms of backports, we should at least go back to

[PATCH v4 13/18] xen/riscv: implement p2m_next_level()

2025-09-17 Thread Oleksii Kurochko
pointing to next-level page tables with correct attributes. - p2m_alloc_page(): Allocates page table pages, supporting both hardware and guest domains. - p2m_create_table(): Allocates and initializes a new page table page and installs it into the hierarchy. Signed-off-by: Oleksii Kurochko

Re: [PATCH v6 00/15] x86: introduce NS16550-compatible UART emulator

2025-09-17 Thread Oleksii Kurochko
On 9/8/25 11:04 AM, Mykola Kvach wrote: Hi Denis and Stefano I’d like to acknowledge the significant effort that went into this patch series -- it’s clear that a lot of work has been invested. On Sat, Sep 6, 2025 at 5:02 AM Stefano Stabellini wrote: Oleksii and all, I would like to conside

[PATCH v4 14/18] xen/riscv: Implement superpage splitting for p2m mappings

2025-09-17 Thread Oleksii Kurochko
walk logic has been adjusted, as ARM uses the opposite level numbering compared to RISC-V. Signed-off-by: Oleksii Kurochko --- Changes in V4: - s/number of levels/level numbering in the commit message. - s/permissions/attributes. - Remove redundant comment in p2m_split_superpage() about page

[PATCH v4 16/18] xen/riscv: implement mfn_valid() and page reference, ownership handling helpers

2025-09-17 Thread Oleksii Kurochko
resolve these errors, the following functions have also been introduced, based on their Arm counterparts: - page_get_owner_and_reference() and its variant to safely acquire a reference to a page and retrieve its owner. - Implement page_is_offlinable() to return false for RISC-V. Signed-off-by: Oleksii Kur

[PATCH v4 15/18] xen/riscv: implement put_page()

2025-09-17 Thread Oleksii Kurochko
Implement put_page(), as it will be used by p2m_put_*-related code. Although CONFIG_STATIC_MEMORY has not yet been introduced for RISC-V, a stub for PGC_static is added to avoid cluttering the code of put_page() with #ifdefs. Signed-off-by: Oleksii Kurochko --- Changes in V4: - Update the

[PATCH v4 17/18] xen/riscv: add support of page lookup by GFN

2025-09-17 Thread Oleksii Kurochko
which corresponds to Arm's THIRD_MASK. - Replaced open-coded bit shifts with the BIT() macro. - Other minor changes, such as using RISC-V-specific functions to validate P2M PTEs, and replacing Arm-specific GUEST_* macros with their RISC-V equivalents. Signed-off-by: Oleksi

[PATCH v4 18/18] xen/riscv: introduce metadata table to store P2M type

2025-09-17 Thread Oleksii Kurochko
e original superpage is invalidated. Also, update p2m_{get,set}_type to work with P2M types which don't fit into PTE bits. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko --- Changes in V4: - Add Suggested-by: Jan Beulich . - Update the comment above declation of md structure inside s

[PATCH v4 11/18] xen/riscv: Implement p2m_free_subtree() and related helpers

2025-09-17 Thread Oleksii Kurochko
a 2MB superpage. - p2m_get_type(): Extracts the stored p2m_type from the PTE bits. - p2m_free_page(): Returns a page to a domain's freelist. - Introduce p2m_is_foreign() and connected to it things. Defines XEN_PT_ENTRIES in asm/page.h to simplify loops over page table entries. Signed

[PATCH v4 12/18] xen/riscv: Implement p2m_pte_from_mfn() and support PBMT configuration

2025-09-17 Thread Oleksii Kurochko
a possible page-fault if A and D bits aren't set. PBMT type encoding support: - Introduces an enum pbmt_type_t to represent the PBMT field values. - Maps types like p2m_mmio_direct_dev to p2m_mmio_direct_io, others default to pbmt_pma. Signed-off-by: Oleksii Kurochko --

[PATCH v4 05/18] xen/riscv: add root page table allocation

2025-09-17 Thread Oleksii Kurochko
some pages before allocate 16 KiB pages for root page table. - Allocate root p2m table after p2m pool is initialized. - Add construct_hgatp() to construct the hgatp register value based on p2m->root, p2m->hgatp_mode and VMID. Signed-off-by: Oleksii Kurochko --- Changes in V4:

[PATCH v4 07/18] xen/riscv: add new p2m types and helper macros for type classification

2025-09-17 Thread Oleksii Kurochko
device memory. - Introduce p2m_first_external for detection for relational operations with p2m type which is stored outside P2M's PTE bits. Signed-off-by: Oleksii Kurochko --- Changes in V4: - Drop underscode in p2m_to_mask()'s argument and for other similar helpers. -

[PATCH v4 09/18] xen/riscv: implement function to map memory in guest p2m

2025-09-17 Thread Oleksii Kurochko
guest_physmap_add_entry() unnecessary. Signed-off-by: Oleksii Kurochko --- Changes in V4: - Update the comment above declaration of map_regions_p2mt(): s/guest p2m/guest's hostp2m. - Add const for p2m_force_tlb_flush_sync()'s local variable `d`. - Stray 'w' i

[PATCH v4 02/18] xen/riscv: introduce VMID allocation and manegement

2025-09-17 Thread Oleksii Kurochko
larify the VMIDLEN value, rename stuff connected to VMID enable/disable to "VMID use enable/disable". Signed-off-by: Oleksii Kurochko --- Changes in V4: - s/guest's virtual/guest-physical in the comment inside vmid.c and in commit message. - Drop x86-related numbers in the com

[PATCH v4 01/18] xen/riscv: detect and initialize G-stage mode

2025-09-17 Thread Oleksii Kurochko
Introduce gstage_mode_detect() to probe supported G-stage paging modes at boot. The function iterates over possible HGATP modes (Sv32x4 on RV32, Sv39x4/Sv48x4/Sv57x4 on RV64) and selects the first valid one by programming CSR_HGATP and reading it back. The selected mode is stored in gstage_mode (m

[PATCH v4 10/18] xen/riscv: implement p2m_set_range()

2025-09-17 Thread Oleksii Kurochko
ff-by: Oleksii Kurochko --- Changes in V4: - Introduce gstage_root_level and use it for defintion of P2M_ROOT_LEVEL. - Introduce P2M_LEVEL_ORDER() macros and P2M_PAGETABLE_ENTRIES(). - Add the TODO comment in p2m_write_pte() about possible perfomance optimization. - Use compound literal for

[PATCH v4 06/18] xen/riscv: introduce pte_{set,get}_mfn()

2025-09-17 Thread Oleksii Kurochko
Introduce helpers pte_{set,get}_mfn() to simplify setting and getting of mfn. Also, introduce PTE_PPN_MASK and add BUILD_BUG_ON() to be sure that PTE_PPN_MASK remains the same for all MMU modes except Sv32. Signed-off-by: Oleksii Kurochko Acked-by: Jan Beulich --- Changes in V4: - Nothing

[PATCH v4 08/18] xen/dom0less: abstract Arm-specific p2m type name for device MMIO mappings

2025-09-17 Thread Oleksii Kurochko
ports (e.g. RISC-V or PowerPC). No functional changes — the definition is preserved via a static inline function for Arm. Suggested-by: Jan Beulich Signed-off-by: Oleksii Kurochko --- Changes in V4: - Introduce arch_dt_passthrough_p2m_type() instead of re-defining of p2m_mmio_direct

[PATCH v4 00/18 for 4.22] xen/riscv: introduce p2m functionality

2025-09-17 Thread Oleksii Kurochko
roduce guest domain's VMID allocation and manegement. - Add patches necessary to implement p2m lookup: - xen/riscv: implement mfn_valid() and page reference, ownership handling helpers - xen/riscv: add support of page lookup by GFN - Re-sort patch series. - All other changes are patch-spe

[PATCH v4 03/18] xen/riscv: introduce things necessary for p2m initialization

2025-09-17 Thread Oleksii Kurochko
. Signed-off-by: Oleksii Kurochko --- Changes in V4: - Move an introduction of clean_pte member of p2m_domain structure to the patch where it is started to be used: xen/riscv: add root page table allocation - Add prototype of p2m_init() to asm/p2m.h. --- Changes in V3: - s/p2m_type/p2m_types

[PATCH v4 04/18] xen/riscv: construct the P2M pages pool for guests

2025-09-17 Thread Oleksii Kurochko
implementation of paging_freelist_adjust() and paging_domain_init(). Signed-off-by: Oleksii Kurochko Acked-by: Jan Beulich --- Changes in V4: - s/paging_freelist_init/paging_freelist_adjust. - Add empty line between definiton of paging_freelist_adjust() and paging_domain_init(). - Update commit

Re: [XEN][PATCH 2/2] x86: hvm: svm: fix runtime svm presence check for !CONFIG_AMD_SVM case

2025-09-16 Thread Oleksii Kurochko
On 9/16/25 12:32 PM, Grygorii Strashko wrote: From: Grygorii Strashko Since commit b99227347230 ("x86: Fix AMD_SVM and INTEL_VMX dependency") the AMD-V support can be gracefully disabled, but it still keeps SVM code partially built-in, because HVM code uses mix of: - "cpu_has_svm" macro, which

Re: [PATCH v3] releases: use newer compression methods for tarballs

2025-09-15 Thread Oleksii Kurochko
> On 14 Sep 2025, at 10:57, Jan Beulich wrote: > > On 14.09.2025 18:59, Oleksii Kurochko wrote: >> >>> On 9/14/25 3:43 PM, Jan Beulich wrote: >>> On 12.09.2025 23:23, Julien Grall wrote: >>>> On 11/09/2025 09:14, Jan Beulich wrote: >>>

Re: [PATCH v3] releases: use newer compression methods for tarballs

2025-09-14 Thread Oleksii Kurochko
On 9/14/25 3:43 PM, Jan Beulich wrote: On 12.09.2025 23:23, Julien Grall wrote: On 11/09/2025 09:14, Jan Beulich wrote: Other projects have long switched to xz and/or lzip. Tidy things some as well: With the removal of qemu from the tarball, intermediately extracting the tarball again has bec

Re: [PATCH v9 1/4] xen/arm: add generic SCI subsystem

2025-09-13 Thread Oleksii Kurochko
dy agreed that it is fine to have this patch series in 4-21. Just to be sure: Release-Acked-by: Oleksii Kurochko Thanks. ~ Oleksii CCing Oleksii Kurochko to keep track. Cheers,

Re: [PATCH v4 1/8] CI: Use the Debian Trixie container for RISC-V test jobs

2025-09-13 Thread Oleksii Kurochko
On 9/12/25 4:44 PM, Andrew Cooper wrote: This was missed when introducing Trixie. Fixes: aad6ebf0596f ("CI: Update riscv64 to use Debian Trixie") Signed-off-by: Andrew Cooper Reviewed-by: Denis Mukhin Reviewed-by: Oleksii Kurochko ~ Oleksii --- CC: Anthony PERARD CC: Michal Orz

Re: [PATCH][for-4.21] xen/arm: Reorder SCI resource cleanup in domain destruction

2025-09-13 Thread Oleksii Kurochko
On 9/13/25 12:30 PM, Oleksii Moisieiev wrote: Move the SCI (System Control and Management Interface) resource cleanup earlier in the domain_relinquish_resources() sequence to ensure proper cleanup ordering during domain destruction. The SCI cleanup is now performed before TEE (Trusted Execution

Re: [PATCH v9 0/4] xen/arm: scmi: introduce SCI SCMI SMC single-agent support

2025-09-12 Thread Oleksii Kurochko
Hello Oleksii, On 9/8/25 4:21 PM, Oleksii Moisieiev wrote: On 08/09/2025 17:11, Oleksii Kurochko wrote: Hello everyone, Based on the message from the previous version, the MISRA issues have been fixed, and aside from one remaining documentation patch ("docs: arm: add docs for SCMI ove

Re: [PATCH 1/2] x86/IO-APIC: drop setup_ioapic_ids_from_mpc()

2025-09-11 Thread Oleksii Kurochko
stification on its own, the additional context helps clarify why we're committing this change now, rather than waiting until after the release. It also highlights the additional benefit of improving MISRA compliance by removing this dead code. Anyway, I am okay with having these patches merged now

Code freeze is Fri Oct 03, 2025

2025-09-11 Thread Oleksii Kurochko
Hello everyone, I would like to inform you that the release schedule has been updated due to an extension of the Feature Freeze. The Code Freeze is now scheduled for*Friday, October 3, 2025*. You can find the updated schedule here: https://wiki.xenproject.org/wiki/Xen_Project_X.YY_Release_Note

Re: [PATCH v2 3/3] CHANGELOG: Notes about distro changes in CI

2025-09-11 Thread Oleksii Kurochko
On 9/11/25 12:23 AM, Andrew Cooper wrote: Also state the RISC-V baseline now it's been set, as it's the reason why RISC-V Bullseye got dropped. Signed-off-by: Andrew Cooper LGTM: Acked-by: Oleksii Kurochko Thanks. ~ Oleksii --- CC: Anthony PERARD CC: Michal Orzel CC: Jan

Re: [PATCH v6 00/15] x86: introduce NS16550-compatible UART emulator

2025-09-08 Thread Oleksii Kurochko
Hello Everyone, On 9/8/25 11:04 AM, Mykola Kvach wrote: Hi Denis and Stefano I’d like to acknowledge the significant effort that went into this patch series -- it’s clear that a lot of work has been invested. On Sat, Sep 6, 2025 at 5:02 AM Stefano Stabellini wrote: Oleksii and all, I would

Re: [PATCH v7 00/12] Introduce eSPI support

2025-09-08 Thread Oleksii Kurochko
On 9/6/25 2:17 AM, Stefano Stabellini wrote: Hi Leonid, I was about to commit this but unfortunately it is introducing MISRA regressions. See: https://gitlab.com/xen-project/people/sstabellini/xen/-/tree/ppp6?ref_type=heads https://gitlab.com/xen-project/people/sstabellini/xen/-/jobs/112650051

Re: [PATCH v9 0/4] xen/arm: scmi: introduce SCI SCMI SMC single-agent support

2025-09-08 Thread Oleksii Kurochko
Hello everyone, Based on the message from the previous version, the MISRA issues have been fixed, and aside from one remaining documentation patch ("docs: arm: add docs for SCMI over SMC calls forwarding driver"), the patch series appears to be ready. I believe we can consider including it in 4

Re: Domctl series as a fix to PV_SHIM_EXCLUSIVE, was: [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE

2025-09-03 Thread Oleksii Kurochko
Hello Stefano, On 9/3/25 12:16 AM, Stefano Stabellini wrote: Hi Oleksii, We previously discussed the PV_SHIM_EXCLUSIVE build issue on Matrix and agreed on resolving it after the feature freeze as a fix. This conversation took place before the feature freeze was rescheduled to September 5. I am

Re: [RESEND PATCH v2 1/3] xen: Define xen_domain_handle_t encoding and formatting

2025-09-03 Thread Oleksii Kurochko
On 9/1/25 5:55 PM, Jan Beulich wrote: On 29.08.2025 11:58, Teddy Astie wrote: --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) - For x86, GCC 5.1 and Binutils 2.25, or Clang/LLVM 11 - For ARM32 and

Re: [RESEND PATCH v2 3/3] CHANGELOG.md: Add SMBIOS 2.6 update statement

2025-09-03 Thread Oleksii Kurochko
On 8/29/25 11:58 AM, Teddy Astie wrote: Signed-off-by: Teddy Astie --- v2: - introduced --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c4435c181..80a8273d7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,7 @@ The format is

Re: [RESEND PATCH v2 1/3] xen: Define xen_domain_handle_t encoding and formatting

2025-09-01 Thread Oleksii Kurochko
correctly in a way consistent with existing users (at least with XAPI, xl, libvirt, hvmloader and Linux). Fixes: 30ce2a9295a5 ("Store an opaque handle (tools uuid) in the domain structure") Suggested-by: Andrew Cooper Signed-off-by: Teddy Astie LGTM: Acked-by: Oleksii Kuroch

Re: [PATCH] Optimise restore memory allocation

2025-08-28 Thread Oleksii Kurochko
win back, without the complexity of trying to guess at 1G pages. Therefore I'd like to request that it be considered for 4.21 at this juncture. Such a significant performance increase is a good reason to include this in 4.21. We also still have enough time to test it properly. If there are

Re: [Reminder] Feature Freeze is Fri Aug 29, 2025

2025-08-28 Thread Oleksii Kurochko
. ~ Oleksii On 8/25/25 5:50 PM, Oleksii Kurochko wrote: Hello community, I’d like to remind everyone that the Feature Freeze deadline is approaching, and we still have some outstanding requests from the community for patch series to be merged into 4.21: 1. Enable guest suspend/resume support on ARM via

Re: [Reminder] Feature Freeze is Fri Aug 29, 2025

2025-08-28 Thread Oleksii Kurochko
On 8/26/25 9:12 PM, Andrew Cooper wrote: On 25/08/2025 4:50 pm, Oleksii Kurochko wrote: Hello community, I’d like to remind everyone that the Feature Freeze deadline is approaching, and we still have some outstanding requests from the community for patch series to be merged into 4.21: 1

Re: [PATCH v3 11/11] CHANGELOG.md: add mention of GICv3.1 eSPI support

2025-08-28 Thread Oleksii Kurochko
: - Ability to enable stack protector +- GICv3.1 eSPI support For clarity, I think it would be helpful to add a brief explanation of what eSPI is (as you did in the commit message) and also mention “for Xen and guest domains” or something similar. With that: Acked-by: Oleksii Kurochko Thanks

Re: [Reminder] Feature Freeze is Fri Aug 29, 2025

2025-08-26 Thread Oleksii Kurochko
+ Penny Zheng On 8/26/25 7:55 AM, Jan Beulich wrote: On 25.08.2025 17:50, Oleksii Kurochko wrote: Hello community, I’d like to remind everyone that the Feature Freeze deadline is approaching, and we still have some outstanding requests from the community for patch series to be merged into

[Reminder] Feature Freeze is Fri Aug 29, 2025

2025-08-25 Thread Oleksii Kurochko
Hello community, I’d like to remind everyone that the Feature Freeze deadline is approaching, and we still have some outstanding requests from the community for patch series to be merged into 4.21: 1. Enable guest suspend/resume support on ARM via vPSCI [1] 2. Introduce SCI SCMI SMC multi-agent

Re: [PATCH v5 4/4] CHANGELOG.md: add new SMBIOS tables (7, 8, 9, 26, 27, 28)

2025-08-25 Thread Oleksii Kurochko
On 8/24/25 12:26 AM, Petr Beneš wrote: From: Petr Beneš Signed-off-by: Petr Beneš Acked-by: Oleksii Kurochko Thanks. ~ Oleksii --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 271ac73a0a..2fd65b90a9 100644 --- a/CHANGELOG.md +++ b

Re: [PATCH v3 19/20] xen/riscv: add support of page lookup by GFN

2025-08-22 Thread Oleksii Kurochko
On 8/11/25 3:25 PM, Jan Beulich wrote: + * The page_order will correspond to the order of the mapping in the page + * table (i.e it could be a superpage). + * + * If the entry is not present, INVALID_MFN will be returned and the + * page_order will be set according to the order of the invalid ra

Re: [PATCH v3 9/9] CHANGELOG.md: add xenstorepvh-stubdom live update

2025-08-21 Thread Oleksii Kurochko
in Cirrus CI. +   - PVH xenstore-stubdom now supports Live Update. LGTM: Acked-by: Oleksii Kurochko Thanks. ~ Oleksii      - On Arm:   - Ability to enable stack protector

Re: [PATCH] tools/xl: hide xenstore-features behind option

2025-08-18 Thread Oleksii Kurochko
On 8/18/25 9:42 AM, Jan Beulich wrote: On 15.08.2025 16:35, Juergen Gross wrote: + Release Manager While this surely doesn't hurt, my understanding is that bug fixes don't require release-acks just yet. Yes, your understanding is correct. ~ Oleksii On 15.08.25 16:32, Juergen Gross wrote:

Re: [PATCH v2 1/2] Arm: drop assertion from page_is_ram_type()

2025-08-18 Thread Oleksii Kurochko
ch --- v2: Rename the function used in common code. --- The new name is chosen such that, down the road, offlining of non-RAM could in principle also become possible. I think it could be useful to put in commit message. LGTM: Reviewed-by: Oleksii Kurochko ~ Oleksii --- a/xen/arch/arm/mm.c +++

Re: [PATCH] xen/x86: move domctl.o out of PV_SHIM_EXCLUSIVE

2025-08-18 Thread Oleksii Kurochko
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() undefi

Re: [PATCH v3 12/20] xen/riscv: implement p2m_set_range()

2025-08-18 Thread Oleksii Kurochko
On 8/15/25 2:50 PM, Jan Beulich wrote: On 15.08.2025 11:52, Oleksii Kurochko wrote: On 8/5/25 6:04 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: +static inline void p2m_write_pte(pte_t *p, pte_t pte, bool clean_pte) +{ +write_pte(p, pte); +if ( clean_pte

Re: [PATCH v3 13/20] xen/riscv: Implement p2m_free_subtree() and related helpers

2025-08-18 Thread Oleksii Kurochko
On 8/14/25 5:17 PM, Jan Beulich wrote: On 14.08.2025 17:09, Oleksii Kurochko wrote: On 8/6/25 5:55 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: +/* Put any references on the page referenced by pte. */ +static void p2m_put_page(const pte_t pte, unsigned int level

Re: [PATCH v3 12/20] xen/riscv: implement p2m_set_range()

2025-08-15 Thread Oleksii Kurochko
On 8/5/25 6:04 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: This patch introduces p2m_set_range() and its core helper p2m_set_entry() for Nit: This patch doesn't introduce p2m_set_range(); it merely fleshes it out. --- a/xen/arch/riscv/include/asm/p2m.h +++ b/xen

Re: [PATCH v3 13/20] xen/riscv: Implement p2m_free_subtree() and related helpers

2025-08-14 Thread Oleksii Kurochko
On 8/6/25 5:55 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: --- a/xen/arch/riscv/include/asm/p2m.h +++ b/xen/arch/riscv/include/asm/p2m.h @@ -79,10 +79,20 @@ typedef enum { p2m_ext_storage,/* Following types'll be stored outsude PTE

Re: [PATCH for-4.21?] x86: drop detection of ld supporting SORT_BY_INIT_PRIORITY()

2025-08-13 Thread Oleksii Kurochko
ines to be fair game in the short term. Agree with that. Release-Acked-By: Oleksii Kurochko ~ Oleksii

Re: [PATCH v3 20/20] xen/riscv: introduce metadata table to store P2M type

2025-08-12 Thread Oleksii Kurochko
On 8/11/25 5:44 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: RISC-V's PTE has only two available bits that can be used to store the P2M type. This is insufficient to represent all the current RISC-V P2M types. Therefore, some P2M types must be stored outside the PTE

Re: [PATCH v3 19/20] xen/riscv: add support of page lookup by GFN

2025-08-12 Thread Oleksii Kurochko
On 8/11/25 3:25 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: Introduce helper functions for safely querying the P2M (physical-to-machine) mapping: - add p2m_read_lock(), p2m_read_unlock(), and p2m_is_locked() for managing P2M lock state. - Implement p2m_get_entry

Re: [PATCH v3 18/20] xen/riscv: implement mfn_valid() and page reference, ownership handling helpers

2025-08-11 Thread Oleksii Kurochko
On 8/11/25 2:50 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: Implement the mfn_valid() macro to verify whether a given MFN is valid by checking that it falls within the range [start_page, max_page). These bounds are initialized based on the start and end addresses of RAM

Re: [PATCH v3 17/20] xen/riscv: implement put_page()

2025-08-11 Thread Oleksii Kurochko
On 8/11/25 2:43 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: Implement put_page(), as it will be used by p2m_put_code(). I would have ack-ed the code change, but the description is irritating: Who or what is p2m_put_code() (going to be)? It should be p2m_put_*-related

Re: [PATCH 3/5] CI: Update riscv64 to use Debian Trixie

2025-08-11 Thread Oleksii Kurochko
On 8/11/25 11:56 AM, Andrew Cooper wrote: On 11/08/2025 9:43 am, Oleksii Kurochko wrote: On 8/10/25 12:12 AM, Andrew Cooper wrote: Everything works fine with Debian 13. Provide two new build jobs, and update both the randconfig the test jobs. Signed-off-by: Andrew Cooper --- CC: Anthony

Re: [PATCH v3 16/20] xen/riscv: Implement superpage splitting for p2m mappings

2025-08-11 Thread Oleksii Kurochko
On 8/11/25 1:59 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: Add support for down large memory mappings ("superpages") in the RISC-V p2m mapping so that smaller, more precise mappings ("finer-grained entries") can be inserted into lower levels of the

Re: [PATCH v3 14/20] xen/riscv: Implement p2m_pte_from_mfn() and support PBMT configuration

2025-08-11 Thread Oleksii Kurochko
On 8/11/25 1:36 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: --- a/xen/arch/riscv/p2m.c +++ b/xen/arch/riscv/p2m.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -197,6 +198,18 @@ static pte_t *p2m_get_root_pointer(struct p2m_domain *p2m, gfn_t gfn

Re: [PATCH v3 11/20] xen/riscv: implement function to map memory in guest p2m

2025-08-11 Thread Oleksii Kurochko
On 8/11/25 9:28 AM, Jan Beulich wrote: On 08.08.2025 15:46, Oleksii Kurochko wrote: On 8/5/25 5:20 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: +/* Unlock the flush and do a P2M TLB flush if necessary */ +void p2m_write_unlock(struct p2m_domain *p2m

Re: [PATCH for-4.21 0/5] CI: Add Debian Trixie

2025-08-11 Thread Oleksii Kurochko
On 8/10/25 12:12 AM, Andrew Cooper wrote: I know it's past the last-post deadline, but Trixie was only released today. Lets consider it for 4.21: Release-Acked-by: Oleksii Kurochko Thanks. ~ Oleksii In terms of backports, we should at least go back to the bugfix branches. Andrew C

Re: [PATCH 3/5] CI: Update riscv64 to use Debian Trixie

2025-08-11 Thread Oleksii Kurochko
Stabellini CC: Shawn Anastasio CC: Oleksii Kurochko CC: Doug Goldstein CC: Marek Marczykowski-Górecki CC: Victor Lira https://gitlab.com/xen-project/hardware/xen-staging/-/pipelines/1975929387 --- automation/gitlab-ci/build.yaml | 22 ++ automation/gitlab-ci/test.yaml | 2 +- 2

Re: [XEN PATCH 11/11] Update CHANGELOG and README with dependency on json-c

2025-08-11 Thread Oleksii Kurochko
On 8/8/25 4:56 PM, Anthony PERARD wrote: From: Anthony PERARD Signed-off-by: Anthony PERARD LGTM: Acked-by: Oleksii Kurochko With one question ... --- CHANGELOG.md | 2 ++ README | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md

Re: [PATCH v3 11/20] xen/riscv: implement function to map memory in guest p2m

2025-08-08 Thread Oleksii Kurochko
On 8/5/25 5:20 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: Implement map_regions_p2mt() to map a region in the guest p2m with a specific p2m type. The memory attributes will be derived from the p2m type. This function is going to be called from dom0less common code. s

Re: [PATCH v3 06/20] xen/riscv: add root page table allocation

2025-08-08 Thread Oleksii Kurochko
On 8/7/25 5:57 PM, Jan Beulich wrote: On 07.08.2025 15:35, Oleksii Kurochko wrote: On 8/5/25 12:43 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: +static int p2m_alloc_root_table(struct p2m_domain *p2m) +{ +struct domain *d = p2m->domain; +struct page_info *p

Re: [PATCH v3 10/20] xen/riscv: introduce page_{get,set}_xenheap_gfn()

2025-08-08 Thread Oleksii Kurochko
On 8/5/25 4:11 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: --- a/xen/arch/riscv/include/asm/mm.h +++ b/xen/arch/riscv/include/asm/mm.h @@ -12,6 +12,7 @@ #include #include +#include #include #include @@ -247,9 +248,17 @@ static inline bool

Re: Xen 4.21 Development Update [June-July]

2025-08-07 Thread Oleksii Kurochko
On 8/6/25 10:12 AM, Jan Beulich wrote: On 06.08.2025 09:45, Oleksii Kurochko wrote: On 8/6/25 8:05 AM, Jan Beulich wrote: Overall: There are very many items on this list, and it seems entirely clear to me that not all of them will make it. I think it would be quite helpful to strip down the

Re: [PATCH v3 06/20] xen/riscv: add root page table allocation

2025-08-07 Thread Oleksii Kurochko
On 8/7/25 5:30 PM, Jan Beulich wrote: On 07.08.2025 14:00, Oleksii Kurochko wrote: On 8/5/25 12:37 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: +/* + * Return back nr_root_pages to assure the root table memory is also + * accounted against the P2M pool of

Re: [PATCH v3 08/20] xen/riscv: add new p2m types and helper macros for type classification

2025-08-07 Thread Oleksii Kurochko
On 8/4/25 4:16 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: - Extended p2m_type_t with additional types: p2m_mmio_direct, p2m_grant_map_{rw,ro}. - Added macros to classify memory types: P2M_RAM_TYPES, P2M_GRANT_TYPES. - Introduced helper predicates: p2m_is_ram

Re: [PATCH v3 09/20] xen/dom0less: abstract Arm-specific p2m type name for device MMIO mappings

2025-08-07 Thread Oleksii Kurochko
On 8/4/25 4:11 PM, Jan Beulich wrote: On 31.07.2025 17:58, Oleksii Kurochko wrote: Rename `p2m_mmio_direct_dev` to a more architecture-neutral alias `p2m_mmio_direct` to avoid leaking Arm-specific naming into common Xen code, such as dom0less passthrough property handling. This helps reduce

Re: [PATCH v3 03/20] xen/riscv: introduce VMID allocation and manegement

2025-08-07 Thread Oleksii Kurochko
On 8/7/25 12:11 PM, Jan Beulich wrote: +unsigned long old; + +/* Figure-out number of VMID bits in HW */ +old = csr_read(CSR_HGATP); + +csr_write(CSR_HGATP, old | HGATP_VMID_MASK); +vmid_bits = csr_read(CSR_HGATP); +vmid_bits = MASK_EXTR(vmid_bits, HGATP_VMID_MASK); Nit

Re: Xen 4.21 Development Update [June-July]

2025-08-07 Thread Oleksii Kurochko
On 8/7/25 2:50 PM, Mykola Kvach wrote: Hi Oleksii, Hello Mykola, === ARM === * [4.21?] MPU mm subsistem skeleton - Luca Fancellu - https://lore.kernel.org/xen-devel/20250312135258.1815706-1-luca.fance...@arm.com/ -https://patchew.org/Xen/20250312135258.1815706-1-luca.fance...@a

  1   2   3   4   5   6   7   8   9   10   >