Re: Limited/Broken functionality of ASLR for Libs >= 2MB

2024-01-16 Thread Ard Biesheuvel
(cc Kees, LAKML) https://lkml.kernel.org/r/69fa6015256613ed10aee996e181ebd4%40horotw.com On Mon, 15 Jan 2024 at 21:46, Matthew Wilcox wrote: > ... > Yeah, I don't know either. Outside my scope of expertise. > > I received a suggestion off-list that we only do the PMD alignment on > 64-bit, whic

[PATCH] perf/x86/amd/uncore: Use kcalloc*() instead of kzalloc*()

2024-01-16 Thread Erick Archer
As noted in the "Deprecated Interfaces, Language Features, Attributes, and Conventions" documentation [1], size calculations (especially multiplication) should not be performed in memory allocator (or similar) function arguments due to the risk of them overflowing. This could lead to values wrappin

Re: [PATCH] perf/x86/amd/uncore: Use kcalloc*() instead of kzalloc*()

2024-01-16 Thread Gustavo A. R. Silva
On 1/16/24 06:58, Erick Archer wrote: As noted in the "Deprecated Interfaces, Language Features, Attributes, and Conventions" documentation [1], size calculations (especially multiplication) should not be performed in memory allocator (or similar) function arguments due to the risk of them ove

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

2024-01-16 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 v4 1/3] dt-bindings: arm: aspeed: add IBM system1-bmc

2024-01-16 Thread Ninad Palsule
Document the new compatibles used on IBM system1-bmc Acked-by: Krzysztof Kozlowski 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/Documentat

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

2024-01-16 Thread Ninad Palsule
Infineon DPS310 is a barometric pressure and temperature sensor. Acked-by: Krzysztof Kozlowski 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/

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

2024-01-16 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/

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

2024-01-16 Thread Bjorn Helgaas
On Tue, Jan 16, 2024 at 12:37:34PM -0600, Ninad Palsule wrote: > From: Andrew Geissler > > Add a device tree for IBM system1 BMC board. It uses AST2600 SOC. > - Added base board s/Added/Add/ to match first sentence. > - Added i2c devices and muxes. > - Added different voltage regulators. > - Ad