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
d/ +X: xen/arch/x86/hvm/svm/ +X: xen/arch/x86/cpu/vpmu_amd.c Didn't the v1 discussion result in there being no need for these X: entries? As long as there's agreement, I'd be happy to make adjustments while committing. Oleksii - I take it that ./MAINTAINERS changes can still

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
t Alejandro to (also?) use the port 0xe9 hack for printing from XTF, which should work for both Xen and QEMU. CC-ing Oleksii as you've tagged this for 4.21. I was told that bugfixes didn't need a release-ack until hard code freeze, which is the 31st of October? I meant until the

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

2025-10-03 Thread Oleksii Kurochko
default. IMO, it should be preferable solution then stripping ... I don't think making Xen.efi safe to operate above the 4G boundary is a viable option at this point. As Xen's defaults are broken on modern systems, this is also a bugfix candidate for 4.21, so CC Oleksii. I agree wit

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

2025-10-03 Thread Oleksii Kurochko
2- Initialized llvm_profile_header for all versions based on llvm source code in `compiler-rt/include/profile/InstrProfData.inc` for each version. 3- We tested this patch for all clang versions from 14 through 20 on both ARM and X86 platform Signed-off-by: Saman Dehghan CC-ing Oleksii.  This

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
be used by `xl` to call libxl_domain_config_gen_json(). It was exposed via the "libxl_json.h" headers. This functions and others won't be available when libxl is build against json-c. ... that some API trying to use API exposed by YAJL we just can't drop support of yajl? ~ Oleks

Re: [PATCH v2] xen/arm: Reorder SCI resource cleanup in domain destruction

2025-09-28 Thread Oleksii Moisieiev
On 27/09/2025 20:07, Julien Grall wrote: > > > On 24/09/2025 09:54, Oleksii Moisieiev wrote: >> Hi Julien, >> >> On 22/09/2025 20:42, Julien Grall wrote: >>> (+ Release manager) >>> >>> Hi, >>> >>> On 14/09/2025 14:26, O

[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] xen/arm, xen/common: Add Kconfig option to control Dom0 boot

2025-09-26 Thread Oleksii Moisieiev
On 25/09/2025 19:03, Jan Beulich wrote: > On 25.09.2025 16:56, Oleksii Moisieiev wrote: >> This commit introduces a new Kconfig option, `CONFIG_DOM0_BOOT`, to >> allow for building Xen without support for booting a regular domain (Dom0). >> This functionality is primarily

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
arly come "too early".) Yeah, I was about to do it, but it's not strictly needed for c_early_init, and it's done anyway just after the call to c_early_init. I can set that field also, but then I would need to tweak the comment ahead, something like: Sure, i.e. fine with me. O

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

[PATCH v4] xen/arm, xen/common: Add Kconfig option to control Dom0 boot

2025-09-25 Thread Oleksii Moisieiev
ompile out the Dom0 creation code on ARM. This is useful for embedded or dom0less-only scenarios to reduce binary size and complexity. The ARM boot path has been updated to panic if it detects a non-dom0less configuration while `CONFIG_DOM0_BOOT` is disabled, preventing an invalid boot. Signed-off-b

Re: [PATCH v3] xen/arm, xen/common: Add Kconfig option to control Dom0 boot

2025-09-25 Thread Oleksii Moisieiev
On 25/09/2025 12:22, Grygorii Strashko wrote: > > > On 24.09.25 19:00, Oleksii Moisieiev wrote: >> This commit introduces a new Kconfig option, `CONFIG_DOM0_BOOT`, to >> allow for building Xen without support for booting a regular domain >> (Dom0). >> This fu

Re: [PATCH v3] xen/arm, xen/common: Add Kconfig option to control Dom0 boot

2025-09-25 Thread Oleksii Moisieiev
On 25/09/2025 09:34, Jan Beulich wrote: > On 24.09.2025 18:00, Oleksii Moisieiev wrote: >> --- a/xen/common/Kconfig >> +++ b/xen/common/Kconfig >> @@ -26,6 +26,14 @@ config DOM0LESS_BOOT >>Xen boot without the need of a control domain (Dom0), which could

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

2025-09-24 Thread Oleksii Kurochko
es include: - Add '-p' flag to SYNOPSIS section - Document '--pcpus' option with description - Maintain consistency with existing documentation style Signed-off-by: Jahan Murudi Acked-by: Andrew Cooper This needs a release ack now for Xen 4.21 (CC Oleksii), but it's a do

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
series for the feature freeze last Friday and we have a couple of series still to process. Maybe gitlab-related series could be committed also past the feature freeze. It makes sense to me. And I think we had such conversation somewhere else. ~ Oleksii

[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

[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: [PATCH v9 0/4] xen/arm: scmi: introduce SCI SCMI SMC single-agent support

2025-09-17 Thread Oleksii Moisieiev
Hi Oleksii, 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 > over SMC calls forward

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

2025-09-16 Thread Oleksii Kurochko
b_flags 71 62 -9 init_speculation_mitigations 10024 10011 -13 hvm_set_efer 364 288 -76 Total: Before=3656835, After=3656737, chg -0.00% It doesn't seem critical for the current release stage, so let's c

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
copy & sign all the tarballs once this is merged. Acked-by: Julien Grall Tested-by: Julien Grall Thanks. Is this intended for Xen 4.21? IMO, it would be nice to have that in Xen 4.21. So far it was, but I'm increasingly unsure, seeing that it still hasn't gone in. Cc-ing O

[PATCH v2] xen/arm: Reorder SCI resource cleanup in domain destruction

2025-09-14 Thread Oleksii Moisieiev
potential issues during domain destruction on ARM platforms with SCI support. Fixes: e2cc10867b (xen/arm: add generic SCI subsystem, 2025-09-04) Signed-off-by: Oleksii Moisieiev --- Changes in v2: - rearrange enum by placing PROG_sci before PROG_tee - add "Fixes:" tag xen/arch/arm/dom

[PATCH v2] xen/domctl: Fix double domid_free in XEN_DOMCTL_createdomain error path

2025-09-14 Thread Oleksii Moisieiev
ix ensures domid_free() is called exactly once per allocated domain ID, maintaining proper resource cleanup semantics. Fixes: 2d5065060710 ("xen/domain: unify domain ID allocation") Signed-off-by: Oleksii Moisieiev --- Changes in v2: - add "Fixes:" section to the commit descrip

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

2025-09-13 Thread Oleksii Kurochko
On 9/12/25 11:38 PM, Julien Grall wrote: (+ Release manager) On 10/09/2025 15:49, Oleksii Moisieiev wrote: Hi Julien, Thank you for your observations. You're absolutely right about this. Currently, the sci_relinquish_resources call doesn't perform any operations because the si

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

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

2025-09-13 Thread Oleksii Moisieiev
potential issues during domain destruction on ARM platforms with SCI support. Signed-off-by: Oleksii Moisieiev --- xen/arch/arm/domain.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xen/arch/arm/domain.c b/xen/arch/arm/domain.c index 1a8585d02b..0ac381a5a5 100644 --- a

[PATCH] xen/domctl: Fix double domid_free in XEN_DOMCTL_createdomain error path

2025-09-13 Thread Oleksii Moisieiev
ix ensures domid_free() is called exactly once per allocated domain ID, maintaining proper resource cleanup semantics. Signed-off-by: Oleksii Moisieiev --- xen/common/domctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/common/domctl.c b/xen/common/domctl.c index 71e712c1f3..954d790

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
The first paragraph is plenty of justification to make the change, irrespective of anything else. Well. I wouldn't have added the other parts if we weren't where we are in the release cycle. Strictly speaking, with them dropped I can't put these two patches in right now. Oleksii, m

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

2025-09-11 Thread Oleksii Moisieiev
On 08/09/2025 17:31, Oleksii Kurochko wrote: > 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 >

Code freeze is Fri Oct 03, 2025

2025-09-11 Thread Oleksii Kurochko
/Xen_Project_X.YY_Release_Notes Have a good evening. Best regards, Oleksii

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 v9 1/4] xen/arm: add generic SCI subsystem

2025-09-10 Thread Oleksii Moisieiev
implementation and prepare a patch for this change. -- Oleksii On 09/09/2025 12:55, Julien Grall wrote: > Hi Oleksii, > > While going through the list of recently committed patches, I noticed > some changes in the relinquish code. > > > On 04/09/2025 15:21, Oleksii Moisi

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
one 18.1 but I haven't looked closely into those. Please address them. Oleksii, Technically, the series is fully acked and ready to be committed. From a risk perspective, I would be comfortable committing it now with the outstanding MISRA regressions, leaving Leonid to fix them over the

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

2025-09-08 Thread Oleksii Kurochko
ding it in 4.21. We should have sufficient time to address any bugs that may arise. By the way, it would also be good to prepare a CHANGELOG patch. Does anyone have any objections? Best regards, Oleksii On 9/4/25 4:21 PM, Oleksii Moisieiev wrote: Inroducing V9 patch series on top of the Xen ve

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

2025-09-07 Thread Oleksii Moisieiev
Hi Stefano, I fixed MISRA rules violation and now Pipeline passes with no regressions: https://gitlab.com/xen-project/people/dimaprkp4k/xen/-/pipelines/2022022013 I will send V9 with updates. BR, Oleksii On 04/09/2025 00:24, Stefano Stabellini wrote: > Hi Oleksii, > > It is still no

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

2025-09-04 Thread Oleksii Moisieiev
domain_relinquish_resources() - sci_domain_destroy() called from arch_domain_destroy() - sci_handle_call() called from vsmccc_handle_call() - sci_dt_handle_node() - sci_dt_finalize() called from handle_node() (Dom0 DT) Signed-off-by: Oleksii Moisieiev Signed-off-by: Grygorii Strashko Reviewed-by

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

2025-09-04 Thread Oleksii Moisieiev
le agent docs: arm: add docs for SCMI over SMC calls forwarding driver Oleksii Moisieiev (1): xen/arm: add generic SCI subsystem MAINTAINERS | 6 + .../arm/firmware/arm-scmi.rst | 180 docs/hypervisor-guide

[PATCH v9 2/4] xen/arm: scmi-smc: update to be used under sci subsystem

2025-09-04 Thread Oleksii Moisieiev
From: Grygorii Strashko The introduced SCI (System Control Interface) subsystem provides unified interface to integrate in Xen SCI drivers which adds support for ARM firmware (EL3, SCP) based software interfaces (like SCMI) that are used in system management. The SCI subsystem allows to add drive

[PATCH v9 3/4] xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent

2025-09-04 Thread Oleksii Moisieiev
abling SCMI with "arm_sci" xl.cfg option. Note that "arm,scmi-smc" and "arm,scmi-shmem" nodes will be removed from dom0/hwdom DT when "scmi-smc-passthrough" cmdline parameter was provided. Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev Acked-by

[PATCH v9 4/4] docs: arm: add docs for SCMI over SMC calls forwarding driver

2025-09-04 Thread Oleksii Moisieiev
From: Grygorii Strashko Add documentation section for Simple Arm SCMI over SMC calls forwarding driver (EL3). Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev --- (no changes since v7) Changes in v7: - fixed typos Changes in v6: - add link to the scmi bindings used in the

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
ChangeLog. ~ Oleksii --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -973,6 +973,13 @@ typedef struct dom0_vga_console_info { #define xen_vga_console_info dom0_vga_console_info #define xen_vga_console_info_t dom0_vga_console_info_t +/* + * The domain handle is chosen by

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

2025-09-03 Thread Oleksii Moisieiev
Hi Stefano, Sorry for that. I've regenerated {types,helpers}.gen.go without unneded option and sent in V8. -- Oleksii On 02/09/2025 23:57, Stefano Stabellini wrote: > I was going to commit this series but this patch breaks compilation on > x86: > > https://gitlab.com/x

[PATCH v8 3/4] xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent

2025-09-03 Thread Oleksii Moisieiev
abling SCMI with "arm_sci" xl.cfg option. Note that "arm,scmi-smc" and "arm,scmi-shmem" nodes will be removed from dom0/hwdom DT when "scmi-smc-passthrough" cmdline parameter was provided. Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev Acked-by:

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

2025-09-03 Thread Oleksii Moisieiev
domain_relinquish_resources() - sci_domain_destroy() called from arch_domain_destroy() - sci_handle_call() called from vsmccc_handle_call() - sci_dt_handle_node() - sci_dt_finalize() called from handle_node() (Dom0 DT) Signed-off-by: Oleksii Moisieiev Signed-off-by: Grygorii Strashko Reviewed-by

[PATCH v8 2/4] xen/arm: scmi-smc: update to be used under sci subsystem

2025-09-03 Thread Oleksii Moisieiev
SCI driver: - convert to DT device; - convert to SCI Xen interface. There are no functional changes in general, the driver is just adopted to the SCI interface. Signed-off-by: Grygorii Strashko Reviewed-by: Stefano Stabellini Signed-off-by: Oleksii Moisieiev --- (no changes since v7) Cha

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

2025-09-03 Thread Oleksii Moisieiev
ygorii Strashko (3): xen/arm: scmi-smc: update to be used under sci subsystem xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent docs: arm: add docs for SCMI over SMC calls forwarding driver Oleksii Moisieiev (1): xen/arm: add generic SCI subsystem MAINTAINERS

[PATCH v8 4/4] docs: arm: add docs for SCMI over SMC calls forwarding driver

2025-09-03 Thread Oleksii Moisieiev
From: Grygorii Strashko Add documentation section for Simple Arm SCMI over SMC calls forwarding driver (EL3). Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev --- (no changes since v7) Changes in v7: - fixed typos Changes in v6: - add link to the scmi bindings used in the

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

2025-09-03 Thread Oleksii Kurochko
. Generally looks good to me, but I think it would be nice to add a short explanation why it was done. Something like: - Update SMBIOS to 2.6 to fix UUID endianness mismatch with OVMF and ensure consistent Linux guest UUIDs. Does it make sense? ~ Oleksii - On Arm: - Ability to enable

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

2025-09-01 Thread Oleksii Moisieiev
domain_relinquish_resources() - sci_domain_destroy() called from arch_domain_destroy() - sci_handle_call() called from vsmccc_handle_call() - sci_dt_handle_node() - sci_dt_finalize() called from handle_node() (Dom0 DT) Signed-off-by: Oleksii Moisieiev Signed-off-by: Grygorii Strashko Reviewed-by

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

2025-09-01 Thread Oleksii Moisieiev
xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent docs: arm: add docs for SCMI over SMC calls forwarding driver Oleksii Moisieiev (1): xen/arm: add generic SCI subsystem MAINTAINERS | 6 + .../arm/firmware/arm-scmi.rst

[PATCH v7 2/4] xen/arm: scmi-smc: update to be used under sci subsystem

2025-09-01 Thread Oleksii Moisieiev
From: Grygorii Strashko The introduced SCI (System Control Interface) subsystem provides unified interface to integrate in Xen SCI drivers which adds support for ARM firmware (EL3, SCP) based software interfaces (like SCMI) that are used in system management. The SCI subsystem allows to add drive

[PATCH v7 4/4] docs: arm: add docs for SCMI over SMC calls forwarding driver

2025-09-01 Thread Oleksii Moisieiev
From: Grygorii Strashko Add documentation section for Simple Arm SCMI over SMC calls forwarding driver (EL3). Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev --- Changes in v7: - fixed typos Changes in v6: - add link to the scmi bindings used in the doc - remove mentions

[PATCH v7 3/4] xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent

2025-09-01 Thread Oleksii Moisieiev
abling SCMI with "arm_sci" xl.cfg option. Note that "arm,scmi-smc" and "arm,scmi-shmem" nodes will be removed from dom0/hwdom DT when "scmi-smc-passthrough" cmdline parameter was provided. Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev Ack

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 v6 2/4] xen/arm: scmi-smc: update to be used under sci subsystem

2025-09-01 Thread Oleksii Moisieiev
On 29/08/2025 17:42, Oleksandr Tyshchenko wrote: > > > On 28.08.25 19:40, Oleksii Moisieiev wrote: > > > Hello Oleksii > > the patch lgtm, just some comments > >> From: Grygorii Strashko >> >> The introduced SCI (System Control Interface) subsystem

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

2025-08-29 Thread Oleksii Moisieiev
On 29/08/2025 16:42, Oleksandr Tyshchenko wrote: > > > On 28.08.25 19:40, Oleksii Moisieiev wrote: > > Hello Oleksii > > >> This patch adds the basic framework for ARM SCI mediator. SCI is System >> Control Interface, which is designed to redirect requests from t

Re: [PATCH v6 3/4] xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent

2025-08-29 Thread Oleksii Moisieiev
On 29/08/2025 10:23, Jan Beulich wrote: > On 28.08.2025 18:40, Oleksii Moisieiev wrote: >> --- a/docs/misc/xen-command-line.pandoc >> +++ b/docs/misc/xen-command-line.pandoc >> @@ -1097,6 +1097,15 @@ affinities to prefer but be not limited to the >> specified node(s)

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

2025-08-28 Thread Oleksii Moisieiev
On 29/08/2025 00:31, Stefano Stabellini wrote: > On Thu, 28 Aug 2025, Oleksii Moisieiev wrote: >> This patch adds the basic framework for ARM SCI mediator. SCI is System >> Control Interface, which is designed to redirect requests from the Domains >> to ARM specific Firmw

[PATCH v6 2/4] xen/arm: scmi-smc: update to be used under sci subsystem

2025-08-28 Thread Oleksii Moisieiev
From: Grygorii Strashko The introduced SCI (System Control Interface) subsystem provides unified interface to integrate in Xen SCI drivers which adds support for ARM firmware (EL3, SCP) based software interfaces (like SCMI) that are used in system management. The SCI subsystem allows to add drive

[PATCH v6 4/4] docs: arm: add docs for SCMI over SMC calls forwarding driver

2025-08-28 Thread Oleksii Moisieiev
From: Grygorii Strashko Add documentation section for Simple Arm SCMI over SMC calls forwarding driver (EL3). Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev --- Changes in v6: - add link to the scmi bindings used in the doc - remove mentions about HVC calls from doc

[PATCH v6 3/4] xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent

2025-08-28 Thread Oleksii Moisieiev
SCMI with "arm_sci" xl.cfg option. Note that "arm,scmi-smc" and "arm,scmi-shmem" nodes will be removed from dom0/hwdom DT in case of Signed-off-by: Grygorii Strashko Signed-off-by: Oleksii Moisieiev Acked-by: Anthony PERARD # tools --- Changes in v6: - added gene

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

2025-08-28 Thread Oleksii Moisieiev
t; - add SCMI passthrough for dom0less case Grygorii Strashko (3): xen/arm: scmi-smc: update to be used under sci subsystem xen/arm: scmi-smc: passthrough SCMI SMC to domain, single agent docs: arm: add docs for SCMI over SMC calls forwarding driver Oleksii Moisieiev (1): xen/arm: add generic SC

  1   2   3   4   5   6   7   8   9   10   >