Re: [PATCH v1 8/8] ARM: dts: aspeed: System1: PS, sensor and more

2023-12-14 Thread Ninad Palsule
Hello Krzysztof, On 12/14/23 01:24, Krzysztof Kozlowski wrote: On 13/12/2023 20:49, Ninad Palsule wrote: Hello Krzysztof, On 12/13/23 13:37, Krzysztof Kozlowski wrote: On 13/12/2023 20:02, Ninad Palsule wrote: Hello Krzysztof, On 12/12/23 14:26, Krzysztof Kozlowski wrote: On 12/12/2023 17

Re: [PATCH v1 8/8] ARM: dts: aspeed: System1: PS, sensor and more

2023-12-14 Thread Ninad Palsule
Hello Krzysztof, On 12/12/23 14:26, Krzysztof Kozlowski wrote: On 12/12/2023 17:40, Ninad Palsule wrote: This drop adds following devices in the device tree. - EEPROM/VPD - Power supplies - Humidity, pressure and temperature sensors. - Trusted platform module(TPM) chip Tested: This board

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

2023-12-14 Thread Ninad Palsule
Hello Krzysztof, On 12/12/23 14:20, Krzysztof Kozlowski wrote: On 12/12/2023 17:39, Ninad Palsule wrote: From: Andrew Geissler Add a device tree for IBM system1 BMC board. It uses AST2600 SOC. Tested: This board is tested using the simics simulator. Signed-off-by: Andrew Geissler Sig

Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices

2023-12-14 Thread Ninad Palsule
Hello Conor, On 12/12/23 11:14, Conor Dooley wrote: Hey, On Tue, Dec 12, 2023 at 10:39:58AM -0600, Ninad Palsule wrote: From: Johannes Holland Add a dt schema to support device tree bindings "Add bindings for..." Fixed. for the generic I2C physical layer. Refer to the TCG PC Client Plat

Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices

2023-12-14 Thread Ninad Palsule
Hello Guenter, On 12/12/23 12:20, Guenter Roeck wrote: On Tue, Dec 12, 2023 at 05:14:26PM +, Conor Dooley wrote: Hey, On Tue, Dec 12, 2023 at 10:39:58AM -0600, Ninad Palsule wrote: From: Johannes Holland Add a dt schema to support device tree bindings "Add bindings for..." for the ge

Re: [PATCH v1 5/8] ARM: dts: aspeed: System1: Voltage regulators

2023-12-14 Thread Ninad Palsule
Hello Krzysztof, On 12/12/23 14:22, Krzysztof Kozlowski wrote: On 12/12/2023 17:40, Ninad Palsule wrote: This commit adds different voltage regulators. Tested: This board is tested using the simics simulator. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts

Re: [PATCH][next] platform/chrome: Fix -Warray-bounds warnings

2023-12-14 Thread Kees Cook
On Wed, Mar 29, 2023 at 07:54:02PM -0600, Gustavo A. R. Silva wrote: > GCC-13 (and Clang) does not like having a partially allocated object, > since it cannot reason about it for bounds checking. > > Notice that the compiler is legitimately complaining about accessing > an object (params, in this

Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices

2023-12-14 Thread Conor Dooley
On Thu, Dec 14, 2023 at 09:34:39AM -0600, Ninad Palsule wrote: > Hello Conor, > > On 12/12/23 11:14, Conor Dooley wrote: > > Hey, > > > > On Tue, Dec 12, 2023 at 10:39:58AM -0600, Ninad Palsule wrote: > > > From: Johannes Holland > > > > > > Add a dt schema to support device tree bindings > > "

Re: [PATCH][next] platform/chrome: Fix -Warray-bounds warnings

2023-12-14 Thread Kees Cook
On Wed, Mar 29, 2023 at 07:54:02PM -0600, Gustavo A. R. Silva wrote: > GCC-13 (and Clang) does not like having a partially allocated object, > since it cannot reason about it for bounds checking. > > Notice that the compiler is legitimately complaining about accessing > an object (params, in this

Re: [PATCH net-next 0/6] sctp: fix a plenty of flexible-array-nested warnings

2023-12-14 Thread Kees Cook
On Wed, Apr 19, 2023 at 06:18:24PM -0700, Jakub Kicinski wrote: > On Wed, 19 Apr 2023 11:16:27 -0400 Xin Long wrote: > > Paolo noticed a compile warning in SCTP, > > > > ../net/sctp/stream_sched_fc.c: note: in included file (through > > ../include/net/sctp/sctp.h): > > ../include/net/sctp/structs

Re: [PATCH v7 0/8] soc/tegra: fuse: Add ACPI support

2023-12-14 Thread Thierry Reding
On Tue, Oct 17, 2023 at 10:53:14AM +0530, Kartik wrote: > This series of patches add ACPI support for Tegra194 and Tegra234 in > Tegra fuse and apbmisc drivers. It also adds support for Tegra241 > which uses ACPI boot. > > Kartik (8): > mm/util: Introduce kmemdup_array() > soc/tegra: fuse: Use

Re: [PATCH v2] PCI: Prevent device from doing RPM when it's unplugged

2023-12-14 Thread Bjorn Helgaas
[+cc Rafael, runtime PM expert :)] On Tue, Dec 12, 2023 at 12:38:07PM +0800, Kai-Heng Feng wrote: > When inserting an SD7.0 card to Realtek card reader, the card reader > unplugs itself and morph into a NVMe device. The slot Link down on hot > unplugged can cause the following error: A page fault

Re: [PATCH v1 4/8] ARM: dts: aspeed: System1: Add i2c and muxes

2023-12-14 Thread Ninad Palsule
Hello Krzysztof, On 12/12/23 14:21, Krzysztof Kozlowski wrote: On 12/12/2023 17:40, Ninad Palsule wrote: This commit adds i2c devices and muxes. Tested: This board is tested using the simics simulator. Signed-off-by: Ninad Palsule --- .../dts/aspeed/aspeed-bmc-ibm-system1.dts | 57

Re: [PATCH v7 0/8] soc/tegra: fuse: Add ACPI support

2023-12-14 Thread Arnd Bergmann
On Thu, Dec 14, 2023, at 17:08, Thierry Reding wrote: > On Tue, Oct 17, 2023 at 10:53:14AM +0530, Kartik wrote: >> This series of patches add ACPI support for Tegra194 and Tegra234 in >> Tegra fuse and apbmisc drivers. It also adds support for Tegra241 >> which uses ACPI boot. > > Applied, thanks.

Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices

2023-12-14 Thread Rob Herring
On Thu, Dec 14, 2023 at 10:35 AM Conor Dooley wrote: > > On Thu, Dec 14, 2023 at 09:34:39AM -0600, Ninad Palsule wrote: > > Hello Conor, > > > > On 12/12/23 11:14, Conor Dooley wrote: > > > Hey, > > > > > > On Tue, Dec 12, 2023 at 10:39:58AM -0600, Ninad Palsule wrote: > > > > From: Johannes Holla

Re: [PATCH] lib/string: shrink lib/string.i via IWYU

2023-12-14 Thread Al Viro
On Wed, Dec 06, 2023 at 12:09:17PM +0900, Greg KH wrote: > > slap #include "unaligned.h" into their traps.c and unaligned.c > > (callers and definitions resp.) and strip those from asm/unaligned.h? > > At that point we can remove arch/{arc,parisc}/asm/unaligned.h - everything > > will pick include/

[PATCH v2 0/2] shrink lib/string.i via IWYU

2023-12-14 Thread tanzirh
This patch series changes the include list of string.c to minimize the preprocessing size. The patch series intends to remove kernel.h which causes problems in the sh architecture because kernel.h is not properly declared in asm/word-at-a-time.h --- --- Changes in v2: - Transformed into a patch

[PATCH v2 1/2] sh: Added kernel.h to word-at-a-time

2023-12-14 Thread tanzirh
This patch includes linux/kernel.h in asm/word-at-a-time.h for the sh architecture. WORD_AT_A_TIME_CONSTANTS depends on kernel.h. Making this implicit dependancy explicit allows for later improvements in the lib/string.c inclusion list. Suggested-by: Al Viro --- arch/sh/include/asm/word-at-a-tim

[PATCH v2 2/2] lib/string: shrink lib/string.i via IWYU

2023-12-14 Thread tanzirh
This diff uses an open source tool include-what-you-use (IWYU) to modify the include list changing indirect includes to direct includes. IWYU is implemented using the IWYUScripts github repository which is a tool that is currently undergoing development. These changes seek to improve build times.

Re: [PATCH v2 1/2] sh: Added kernel.h to word-at-a-time

2023-12-14 Thread Kees Cook
lib/string.c inclusion list. > > Suggested-by: Al Viro This patch is missing your Signed-off-by: tag. Also, please double-check your email configs: your full name is missing from your emails (it's just "tanz...@google.com"): https://lore.kernel.org/lkml/20231214-libstringhe

Re: [PATCH v2 2/2] lib/string: shrink lib/string.i via IWYU

2023-12-14 Thread Kees Cook
On Thu, Dec 14, 2023 at 09:06:13PM +, tanz...@google.com wrote: > This diff uses an open source tool include-what-you-use (IWYU) to modify > the include list changing indirect includes to direct includes. > IWYU is implemented using the IWYUScripts github repository which is a tool > that is >

Re: [PATCH v2 1/2] sh: Added kernel.h to word-at-a-time

2023-12-14 Thread Nick Desaulniers
On Thu, Dec 14, 2023 at 1:37 PM Kees Cook wrote: > > Also, please double-check your email configs: your full name is missing > from your emails (it's just "tanz...@google.com"): > https://lore.kernel.org/lkml/20231214-libstringheader-v2-1-0f195dcff...@google.com/ This

Re: [PATCH v1 2/8] dt-bindings: tpm: Add schema for TIS I2C devices

2023-12-14 Thread Ninad Palsule
Hello Rob, On 12/13/23 10:13, Rob Herring wrote: On Tue, Dec 12, 2023 at 10:39:58AM -0600, Ninad Palsule wrote: From: Johannes Holland Add a dt schema to support device tree bindings for the generic I2C physical layer. Refer to the TCG PC Client Platform TPM Profile (PTP) Specification for TP

Re: [PATCH v1 4/8] ARM: dts: aspeed: System1: Add i2c and muxes

2023-12-14 Thread Krzysztof Kozlowski
On 14/12/2023 19:34, Ninad Palsule wrote: >>> chosen { >>> stdout-path = &uart5; >>> bootargs = "console=ttyS4,115200n8 earlycon"; >>> @@ -54,10 +113,12 @@ vga_memory: region@bf00 { >>> reg = <0xbf00 0x0100>; /* 16M */ >>> };