Re: [PATCH v2 2/2] VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()

2024-01-11 Thread Dan Carpenter
On Thu, Jan 11, 2024 at 10:13:44AM -0800, Kees Cook wrote: > On Thu, Jan 11, 2024 at 10:15:40AM +0300, Dan Carpenter wrote: > > On Wed, Jan 10, 2024 at 04:03:28PM -0800, Kees Cook wrote: > > (I wrote a patch for this a few months back but didn't send it because > > of the merge window. I forgot ab

Re: [PATCH 2/2] arm64: defconfig: Enable PSTORE_RAM

2024-01-11 Thread David
Useful stuff! Reviewed-by: David Heidelberg On 10/01/2024 22:05, Nícolas F. R. A. Prado wrote: Enable PSTORE_RAM, that is the ramoops driver, in the defconfig, to allow logging and retrieving panics and oopses to/from RAM automatically for platforms that have a ramoops reserved memory node in

Re: [PATCH v3 2/3] dt-bindings: Add DPS310 as trivial device

2024-01-11 Thread Ninad Palsule
Hello Krzysztof, On 1/11/24 13:40, Krzysztof Kozlowski wrote: On 11/01/2024 19:12, Ninad Palsule wrote: Infineon DPS310 is a barometric pressure and temperature sensor. Signed-off-by: Ninad Palsule This is a friendly reminder during the review process. It looks like you received a tag and f

Re: [PATCH v3 1/3] dt-bindings: arm: aspeed: add IBM system1-bmc

2024-01-11 Thread Ninad Palsule
Hi Krzysztof, On 1/11/24 13:40, Krzysztof Kozlowski wrote: On 11/01/2024 19:12, Ninad Palsule wrote: Document the new compatibles used on IBM system1-bmc Signed-off-by: Ninad Palsule --- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+) This is

Re: [PATCH v3 2/3] dt-bindings: Add DPS310 as trivial device

2024-01-11 Thread Krzysztof Kozlowski
On 11/01/2024 19:12, Ninad Palsule wrote: > Infineon DPS310 is a barometric pressure and temperature sensor. > > Signed-off-by: Ninad Palsule This is a friendly reminder during the review process. It looks like you received a tag and forgot to add it. If you do not know the process, here is a

Re: [PATCH v3 1/3] dt-bindings: arm: aspeed: add IBM system1-bmc

2024-01-11 Thread Krzysztof Kozlowski
On 11/01/2024 19:12, Ninad Palsule wrote: > Document the new compatibles used on IBM system1-bmc > > Signed-off-by: Ninad Palsule > --- > Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + > 1 file changed, 1 insertion(+) This is a friendly reminder during the review process. It l

Re: [PATCH 2/2] arm64: defconfig: Enable PSTORE_RAM

2024-01-11 Thread Kees Cook
On Wed, Jan 10, 2024 at 06:05:03PM -0300, Nícolas F. R. A. Prado wrote: > Enable PSTORE_RAM, that is the ramoops driver, in the defconfig, to > allow logging and retrieving panics and oopses to/from RAM automatically > for platforms that have a ramoops reserved memory node in DT. > > Signed-off-by

Re: [PATCH 1/2] pstore/ram: Register to module device table

2024-01-11 Thread Kees Cook
On Wed, Jan 10, 2024 at 06:05:02PM -0300, Nícolas F. R. A. Prado wrote: > Register the compatible for this module on the module device table so > it can be automatically loaded when a matching DT node is present, > allowing logging of panics and oopses without any intervention. > > Signed-off-by:

[PATCH v3 3/3] ARM: dts: aspeed: System1: IBM system1 BMC board

2024-01-11 Thread Ninad Palsule
From: Andrew Geissler Add a device tree for IBM system1 BMC board. It uses AST2600 SOC. - Added base board - Added i2c devices and muxes. - Added different voltage regulators. - Added GPIO pin assignements, GPIO expansion devices - Added LED brinker devices - Added Fan controllers - Added EEPROM/

[PATCH v3 0/3] Add device tree for IBM system1 BMC

2024-01-11 Thread Ninad Palsule
This patchset adds device tree for IBM system1 bmc board. Change log: v1: - Added device binding for IBM system1-bmc - Added device binding for TIS I2C devices - Added device tree for IBM system1 BMC board - Added i2c and muxes - Added voltage regulators - Added GPIO, Fan ctrl, Led - Added

[PATCH v3 1/3] dt-bindings: arm: aspeed: add IBM system1-bmc

2024-01-11 Thread Ninad Palsule
Document the new compatibles used on IBM system1-bmc Signed-off-by: Ninad Palsule --- Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/aspeed/aspeed.yaml b/Documentation/devicetree/bindings/arm/asp

[PATCH v3 2/3] dt-bindings: Add DPS310 as trivial device

2024-01-11 Thread Ninad Palsule
Infineon DPS310 is a barometric pressure and temperature sensor. Signed-off-by: Ninad Palsule --- Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindin

Re: [PATCH v2 2/2] VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()

2024-01-11 Thread Kees Cook
On Thu, Jan 11, 2024 at 10:15:40AM +0300, Dan Carpenter wrote: > On Wed, Jan 10, 2024 at 04:03:28PM -0800, Kees Cook wrote: > > > > Oops, yes, thanks for fixing my confusion. Right, this is a direct write > > across members into the flex array, not a composite destination. Yay > > all the corner c

Re: [PATCH] ARM: unwind: Add missing "Call trace:" line

2024-01-11 Thread Mark Brown
On Wed, Jan 10, 2024 at 01:56:01PM -0800, Kees Cook wrote: > Every other architecture in Linux includes the line "Call trace:" before > backtraces. In some cases ARM would print "Backtrace:", but this was > only via 1 specific call path, and wasn't included in CPU Oops nor things > like KASAN, UBSA

Re: [PATCH v2 2/2] VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()

2024-01-11 Thread kovalev
Hello, I was also working on solving this problem https://lore.kernel.org/lkml/20240110104042.31865-1-kova...@altlinux.org/T/#t. Please note that there are 2 such places in the code, and by analogy with your version of the changes, including changes in the approach to calculating the size of the a

Re: [PATCH] ARM: unwind: Add missing "Call trace:" line

2024-01-11 Thread AngeloGioacchino Del Regno
Il 10/01/24 22:56, Kees Cook ha scritto: Every other architecture in Linux includes the line "Call trace:" before backtraces. In some cases ARM would print "Backtrace:", but this was only via 1 specific call path, and wasn't included in CPU Oops nor things like KASAN, UBSAN, etc that called dump_

Re: [PATCH 1/2] pstore/ram: Register to module device table

2024-01-11 Thread AngeloGioacchino Del Regno
Il 10/01/24 22:05, Nícolas F. R. A. Prado ha scritto: Register the compatible for this module on the module device table so it can be automatically loaded when a matching DT node is present, allowing logging of panics and oopses without any intervention. Signed-off-by: Nícolas F. R. A. Prado