Re: [RFC PATCH] xen/kconfig: allow LATE_HWDOM config for ARM

2024-12-23 Thread Sergiy Kibrik
19.12.24 09:55, Jan Beulich: On 18.12.2024 11:00, Sergiy Kibrik wrote: 17.12.24 15:02, Jan Beulich: On 17.12.2024 12:47, Sergiy Kibrik wrote: Allow to build ARM configuration with support for initializing hardware domain. On ARM it is only possible to start hardware domain in multiboot mode, s

Re: [RFC PATCH] xen/kconfig: allow LATE_HWDOM config for ARM

2024-12-23 Thread Sergiy Kibrik
18.12.24 12:38, Julien Grall: Are you sure this patch is sufficient to use the late hwdom feature? Looking at the code, to enable the late hwdom, the user needs to provide a domid on the command line. But AFAICT, there is no way to provide a domain ID in the DOM0LESS case... I append "har

Re: [RFC PATCH] xen/kconfig: allow LATE_HWDOM config for ARM

2024-12-23 Thread Sergiy Kibrik
18.12.24 12:05, Julien Grall: On 18/12/2024 09:52, Sergiy Kibrik wrote: hi Julien, 17.12.24 14:42, Julien Grall: Hi, Can you clarify why this is an RFC? The code for LATE_HWDOM support on ARM seems to be already in place and working, yet I'm not sure that such configuration is ready to

Re: [PATCH] xen/arm: Initialise memory type for struct kernel_info

2024-12-23 Thread Julien Grall
Hi Michal, On 23/12/2024 11:43, Michal Orzel wrote: On 23/12/2024 11:45, Julien Grall wrote: Hi, On 23/12/2024 10:42, Michal Orzel wrote: On 23/12/2024 11:06, Julien Grall wrote: Hi Michal, On 23/12/2024 07:58, Michal Orzel wrote: On 20/12/2024 16:19, Luca Fancellu wrote: Comm

Re: [PATCH v7] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-23 Thread Xi Ruoyao
On Mon, 2024-12-23 at 09:12 +0200, Mike Rapoport wrote: > On Sun, Dec 22, 2024 at 07:15:37PM +0800, Guo Weikang wrote: > > Before SLUB initialization, various subsystems used memblock_alloc to > > allocate memory. In most cases, when memory allocation fails, an immediate > > panic is required. To s

Re: [PATCH v6] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-23 Thread Xi Ruoyao
On Sun, 2024-12-22 at 13:43 +0800, Guo Weikang wrote: > Before SLUB initialization, various subsystems used memblock_alloc to > allocate memory. In most cases, when memory allocation fails, an immediate > panic is required. To simplify this behavior and reduce repetitive checks, > introduce `memblo

[XEN PATCH 1/1] tools/libxl: search PATH for QEMU if `QEMU_XEN_PATH` is not absolute

2024-12-23 Thread Hongbo
`QEMU_XEN_PATH` will be configured as `qemu-system-i386` with no clue where, if `--with-system-qemu` is set without giving a path (as matched in the case `yes` but not `*`). However, the existence of the executable is checked by `access()`, that will not look for anywhere in $PATH but the current d

Re: Xen Security Advisory 466 v3 (CVE-2024-53241) - Xen hypercall page unsafe against speculative attacks

2024-12-23 Thread David Woodhouse
On Tue, 2024-12-17 at 12:18 +, Xen.org security team wrote: > Xen Security Advisory CVE-2024-53241 / XSA-466 >     version 3 > > Xen hypercall page unsafe against speculative attacks > > UPDATES IN VERSION 3 > > > Update

[PATCH for 4.21 v1 1/1] xen/riscv: identify specific ISA supported by cpu

2024-12-23 Thread Oleksii Kurochko
Supported ISA extensions are specified in the device tree within the CPU node, using two properties: `riscv,isa-extensions` and `riscv,isa`. Currently, Xen does not support the `riscv,isa-extensions` property, as all available device tree source (DTS) files in the Linux kernel (v6.12-rc3) and DTBs

Re: [PATCH] xen/arm: Initialise memory type for struct kernel_info

2024-12-23 Thread Michal Orzel
On 23/12/2024 11:45, Julien Grall wrote: > > > Hi, > > On 23/12/2024 10:42, Michal Orzel wrote: >> >> >> On 23/12/2024 11:06, Julien Grall wrote: >>> >>> >>> Hi Michal, >>> >>> On 23/12/2024 07:58, Michal Orzel wrote: On 20/12/2024 16:19, Luca Fancellu wrote: > > >

Re: [PATCH] xen/arm: Initialise memory type for struct kernel_info

2024-12-23 Thread Julien Grall
Hi, On 23/12/2024 10:42, Michal Orzel wrote: On 23/12/2024 11:06, Julien Grall wrote: Hi Michal, On 23/12/2024 07:58, Michal Orzel wrote: On 20/12/2024 16:19, Luca Fancellu wrote: Commit a14593e3995a ("xen/device-tree: Allow region overlapping with /memreserve/ ranges") introduced a

Code freeze date for Xen 4.20 is January 17, 2025

2024-12-23 Thread Oleksii Kurochko
Hello everyone, The code freeze date for Xen 4.20 is January 17, 2025. Straightforward bug fixes may continue to be accepted by maintainers beyond this point. ( No release acknowledgment is needed until the start of the hard code freeze which is going to start after January 17 ) Thanks and have

Re: [PATCH v3] x86/spec-ctrl: Support for SRSO_U/S_NO and SRSO_MSR_FIX

2024-12-23 Thread Oleksii Kurochko
On 12/20/24 8:34 PM, Andrew Cooper wrote: AMD have updated the SRSO whitepaper[1] with further information. These features exist on AMD Zen5 CPUs and are necessary for Xen to use. The two features are in principle unrelated: * SRSO_U/S_NO is an enumeration saying that SRSO attacks can't cro

Re: [PATCH] xen/arm: Initialise memory type for struct kernel_info

2024-12-23 Thread Luca Fancellu
Hi Julien and Michal, > On 23 Dec 2024, at 10:45, Julien Grall wrote: > > Hi, > > On 23/12/2024 10:42, Michal Orzel wrote: >> On 23/12/2024 11:06, Julien Grall wrote: >>> >>> >>> Hi Michal, >>> >>> On 23/12/2024 07:58, Michal Orzel wrote: On 20/12/2024 16:19, Luca Fancellu w

Re: [PATCH] xen/arm: Initialise memory type for struct kernel_info

2024-12-23 Thread Michal Orzel
On 23/12/2024 11:06, Julien Grall wrote: > > > Hi Michal, > > On 23/12/2024 07:58, Michal Orzel wrote: >> >> >> On 20/12/2024 16:19, Luca Fancellu wrote: >>> >>> >>> Commit a14593e3995a ("xen/device-tree: Allow region overlapping with >>> /memreserve/ ranges") introduced a type in the 'struct

Re: [PATCH] xen/arm: Initialise memory type for struct kernel_info

2024-12-23 Thread Julien Grall
Hi Michal, On 23/12/2024 07:58, Michal Orzel wrote: On 20/12/2024 16:19, Luca Fancellu wrote: Commit a14593e3995a ("xen/device-tree: Allow region overlapping with /memreserve/ ranges") introduced a type in the 'struct membanks_hdr' but forgot to update the 'struct kernel_info' initialiser,

Re: [PATCH v7] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-23 Thread Borislav Petkov
On Mon, Dec 23, 2024 at 03:32:01PM +0800, Weikang Guo wrote: > First of all, thank you for your reminder and patience. In fact, this > is the first time I received a patch discussion when submitting a > patch. > About Reviewed-by or Acked-by tags, I will not add it myself in the > future. Regarding