Re: [PATCH RFC] KVM: arm64: PMU: Use multiple host PMUs

2025-04-04 Thread Oliver Upton
On Thu, Mar 20, 2025 at 09:19:02AM +, Marc Zyngier wrote: > On Wed, 19 Mar 2025 18:51:28 +, Oliver Upton > wrote: > > I'm at least willing to plug my nose and do the following: > > > > 1) When the VMM does not specify a vPMU type: > > > >- We continue to present the 'default' PMU (

[PATCH v3 0/2] Add wcslen()

2025-04-04 Thread Nathan Chancellor
Hi all, A recent LLVM change [1] introduces a call to wcslen() in fs/smb/client/smb2pdu.c through UniStrcat() via alloc_path_with_tree_prefix(). Similar to the bcmp() and stpcpy() additions that happened in 5f074f3e192f and 1e1b6d63d634, add wcslen() to fix the linkage failure. [1]: https://gith

Re: [PATCH v3 2/2] dt-bindings: arm: aspeed: add Nvidia's GB200NVL BMC

2025-04-04 Thread Andrew Jeffery
Hi Willie, On Thu, 2025-03-20 at 16:46 +, Willie Thai wrote: > This patch adds a binding for GB200NVL BMC. > > The GB200NVL BMC is an Aspeed Ast2600 based BMC for Nvidia Blackwell > GB200NVL platform. > Reference to Ast2600 SOC [1]. > Reference to Blackwell GB200NVL Platform [2]. > > Co-deve

[PATCH v5 1/2] string: Add load_unaligned_zeropad() code path to sized_strscpy()

2025-04-04 Thread Peter Collingbourne
The call to read_word_at_a_time() in sized_strscpy() is problematic with MTE because it may trigger a tag check fault when reading across a tag granule (16 bytes) boundary. To make this code MTE compatible, let's start using load_unaligned_zeropad() on architectures where it is available (i.e. arch

Re: [PATCH 5/5] [DEBUG] slab: Report number of NULLings

2025-04-04 Thread Christoph Lameter (Ampere)
On Fri, 21 Mar 2025, Kees Cook wrote: > diff --git a/include/linux/slab.h b/include/linux/slab.h > index 2717ad238fa2..a4740c8b6ccb 100644 > --- a/include/linux/slab.h > +++ b/include/linux/slab.h > @@ -469,6 +469,8 @@ void __kfree(const void *objp); > void __kfree_sensitive(const void *objp); >

Re: (subset) [PATCH v2][next] leds: Avoid -Wflex-array-member-not-at-end warning

2025-04-04 Thread Lee Jones
On Mon, 31 Mar 2025 11:01:38 -0600, Gustavo A. R. Silva wrote: > -Wflex-array-member-not-at-end was introduced in GCC-14, and we are > getting ready to enable it, globally. > > Replace an on-stack definition of a flexible structure with a call > to utility function cros_ec_cmd(). > > So, with the

Re: cross compile fails with GCC_PLUGIN_LATENT_ENTROPY

2025-04-04 Thread Kees Cook
On Tue, Apr 01, 2025 at 05:34:05PM -0400, Tadhg McDonald-Jensen wrote: > Hello, > > When cross compiling the linux kernel with > `CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y` it tries to compile the plugin for > the target platform instead of for the host machine causing the > compilation to fail. > > I'v