Re: [PATCH v2 2/2] kasan: Add strscpy() test to trigger tag fault on arm64

2025-03-20 Thread Peter Collingbourne
On Thu, Mar 20, 2025 at 10:25 AM Andrey Konovalov wrote: > > On Tue, Mar 18, 2025 at 10:41 PM Peter Collingbourne wrote: > > > > From: Vincenzo Frascino > > > > When we invoke strscpy() with a maximum size of N bytes, it assumes > > that: > > - It can always read N bytes from the source. > > - I

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

2025-03-20 Thread Marc Zyngier
On Thu, 20 Mar 2025 09:52:59 +, Akihiko Odaki wrote: > > On 2025/03/20 18:10, Marc Zyngier wrote: > > On Thu, 20 Mar 2025 06:03:35 +, > > Akihiko Odaki wrote: > >> > >> On 2025/03/20 3:51, Oliver Upton wrote: > >>> On Wed, Mar 19, 2025 at 06:38:38PM +, Marc Zyngier wrote: > On

Re: [PATCH v2 2/2] kasan: Add strscpy() test to trigger tag fault on arm64

2025-03-20 Thread Andrey Konovalov
On Tue, Mar 18, 2025 at 10:41 PM Peter Collingbourne wrote: > > From: Vincenzo Frascino > > When we invoke strscpy() with a maximum size of N bytes, it assumes > that: > - It can always read N bytes from the source. > - It always write N bytes (zero-padded) to the destination. > > On aarch64 with

[PATCH v3 0/2] Add device tree for Nvidia's GB200NVL BMC

2025-03-20 Thread Willie Thai
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-developed-by: Mars Yang Signed-off-by: Mars Yang Cc: Krzysztof Kozlowski Cc: Andrew Lunn Cc: Rob Herring Cc: Paul Menzel Link

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

2025-03-20 Thread Akihiko Odaki
On 2025/03/21 2:14, Marc Zyngier wrote: On Thu, 20 Mar 2025 09:52:59 +, Akihiko Odaki wrote: On 2025/03/20 18:10, Marc Zyngier wrote: On Thu, 20 Mar 2025 06:03:35 +, Akihiko Odaki wrote: On 2025/03/20 3:51, Oliver Upton wrote: On Wed, Mar 19, 2025 at 06:38:38PM +, Marc Zyngier

Re: [RFC PATCH] arm64/mm: Remove randomization of the linear map

2025-03-20 Thread Ryan Roberts
On 20/03/2025 07:57, Ard Biesheuvel wrote: > On Tue, 18 Mar 2025 at 14:50, Ard Biesheuvel wrote: >> >> From: Ard Biesheuvel >> >> Since commit >> >> 97d6786e0669 ("arm64: mm: account for hotplug memory when randomizing the >> linear region") >> >> the decision whether or not to randomize the p

[PATCH v2 0/1] mseal sysmap: add arch-support txt

2025-03-20 Thread jeffxu
From: Jeff Xu Add Documentation/features/core/mseal_sys_mappings/arch-support.txt History: V2: - add hexagon,microblaze,openrisc,sh as N/A (Geert Uytterhoeven) V1: https://lore.kernel.org/all/20250313000623.3192896-1-jef...@google.com/ Jeff Xu (1): mseal sysmap: add arch-support txt ..

[PATCH v2 1/1] mseal sysmap: add arch-support txt

2025-03-20 Thread jeffxu
From: Jeff Xu Add Documentation/features/core/mseal_sys_mappings/arch-support.txt Signed-off-by: Jeff Xu --- .../core/mseal_sys_mappings/arch-support.txt | 30 +++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/features/core/mseal_sys_mappings/arch-support

Re: [PATCH v3 0/2] Add device tree for Nvidia's GB200NVL BMC

2025-03-20 Thread Andrew Jeffery
Hi Willie, On Thu, 2025-03-20 at 13:26 -0500, Rob Herring (Arm) wrote: > > On Thu, 20 Mar 2025 16:46:31 +, Willie Thai wrote: > > The GB200NVL BMC is an Aspeed Ast2600 based BMC > > for Nvidia Blackwell GB200NVL platform. > > Reference to Ast2600 SOC [1]. > > Reference to Blackwell GB200NVL P

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

2025-03-20 Thread Willie Thai
> 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].

Re: [PATCH v2][next] iio: cros_ec: Avoid -Wflex-array-member-not-at-end warning

2025-03-20 Thread Tzung-Bi Shih
On Tue, Mar 18, 2025 at 08:42:41AM -0700, Kees Cook wrote: > > + ((struct ec_params_get_cmd_versions *)buf->data)->cmd = cmd; > > + > > + ret = cros_ec_cmd_xfer_status(ec_dev, buf); > > if (ret >= 0) > > - *mask = buf.resp.version_mask; > > + *mask = ((struct ec_response

[PATCH] ARM: dts: aspeed: Add device tree for Nvidia's GB200NVL BMC

2025-03-20 Thread Willie Thai
Dear Paul, Sorry I respond to your feedback late. > Dear Willie, > > > Thank you for the patch. > > Am 24.01.25 um 06:18 schrieb Willie Thai: >> From: wthai > > Please use your full name. > > $ git config --global user.name "Willie Thai" > $ git commit --amend --author="Willie Th

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

2025-03-20 Thread Akihiko Odaki
On 2025/03/20 18:10, Marc Zyngier wrote: On Thu, 20 Mar 2025 06:03:35 +, Akihiko Odaki wrote: On 2025/03/20 3:51, Oliver Upton wrote: On Wed, Mar 19, 2025 at 06:38:38PM +, Marc Zyngier wrote: On Wed, 19 Mar 2025 11:51:21 +, Akihiko Odaki wrote: What about setting the flag auto

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

2025-03-20 Thread Marc Zyngier
On Wed, 19 Mar 2025 18:51:28 +, Oliver Upton wrote: > > On Wed, Mar 19, 2025 at 06:38:38PM +, Marc Zyngier wrote: > > On Wed, 19 Mar 2025 11:51:21 +, Akihiko Odaki > > wrote: > > > What about setting the flag automatically when a user fails to pin > > > vCPUs to CPUs that are covere

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

2025-03-20 Thread Marc Zyngier
On Thu, 20 Mar 2025 06:03:35 +, Akihiko Odaki wrote: > > On 2025/03/20 3:51, Oliver Upton wrote: > > On Wed, Mar 19, 2025 at 06:38:38PM +, Marc Zyngier wrote: > >> On Wed, 19 Mar 2025 11:51:21 +, Akihiko Odaki > >> wrote: > >>> What about setting the flag automatically when a user f

Re: [PATCH v3 1/2] ARM: dts: aspeed: Add device tree for Nvidia's GB200NVL BMC

2025-03-20 Thread Andrew Lunn
> - Skip mac setting and wait till the delay issue in phy-mode fix from > Aspeed SOC vendor side [Andrew] For this part only: Reviewed-by: Andrew Lunn Andrew

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

2025-03-20 Thread Willie Thai
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-developed-by: Mars Yang Signed-off-by: Mars Yang Link: https://www.aspeedtech.com/s

Re: [PATCH v2] ARM: dts: aspeed: Add device tree for Nvidia's GB200NVL BMC

2025-03-20 Thread Krzysztof Kozlowski
On 19/03/2025 12:24, Willie Thai wrote: >>> + >>> +// Enable Primary flash on FMC for bring up activity >>> +&fmc { >>> + status = "okay"; >>> + flash@0 { >>> + status = "okay"; >> >> Nothing improved. >> >> Respond to comment instead of ignoring it. >> > > The property was disabled