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

2024-12-22 Thread Michal Orzel
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, while > it doesn't lead to failures because t

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

2024-12-22 Thread Weikang Guo
Mike Rapoport wrote on Monday 23 December 2024 at 15:12 > > 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. T

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

2024-12-22 Thread Mike Rapoport
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 simplify this behavior and reduce repetitive checks, > introduce

[PATCH v3 1/1] libacpi/Makefile: clear ASL warning about PCI0

2024-12-22 Thread Ariel Otilibili
iasl complains _HID and _ADR cannot be used at the same time: ``` iasl -vs -p tools/firmware/hvmloader/dsdt_anycpu.tmp -tc tools/firmware/hvmloader/dsdt_anycpu.asl 2>&1 | grep -B1 HID tools/firmware/hvmloader/dsdt_anycpu.asl 40:Device (PCI0) Warning 3073 -

[PATCH v3 0/1] libacpi/Makefile: clear ASL warning about PCI0

2024-12-22 Thread Ariel Otilibili
Hello, This patch clears out an ASL warning; below is listed my configuration. Your feedback is much appreciated. Thank you, ``` $ iasl -v Intel ACPI Component Architecture ASL+ Optimizing Compiler/Disassembler version 20240927 Copyright (c) 2000 - 2023 Intel Corporation $ gcc --version gcc

[XEN PATCH v2] eclair-analysis: tidy toolchain.ecl configuration and mark Rule 1.1 clean

2024-12-22 Thread Nicola Vetrini
Reformat the list of GNU extensions and non-standard tokens used by Xen in the ECLAIR configuration to make it easier to review any changes to it. The extension "ext_missing_varargs_arg", which captures the GNU extension that allows variadic functions and macros not to require at least one named p

[PATCH v7] mm/memblock: Add memblock_alloc_or_panic interface

2024-12-22 Thread Guo Weikang
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 `memblock_alloc_or_panic`. This function ensures that memory allocati

Re: [Linux-6.12.y] XEN: CVE-2024-53241 / XSA-466 and Clang-kCFI

2024-12-22 Thread Sedat Dilek
On Sat, Dec 21, 2024 at 10:31 PM Andrew Cooper wrote: > > On 21/12/2024 6:25 pm, Sedat Dilek wrote: > > With... > > > > dileks@iniza:~/src/xtf/git$ mv tests/xsa-454 ../ > > dileks@iniza:~/src/xtf/git$ mv tests/xsa-consoleio-write ../ > > That's completely bizzare. There's nothing interestingly d

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

2024-12-22 Thread Weikang Guo
Mike Rapoport wrote on Sunday, 22 December 2024 18:06 > > On Sun, Dec 22, 2024 at 01:43:31PM +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

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

2024-12-22 Thread Mike Rapoport
On Sun, Dec 22, 2024 at 01:43:31PM +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