Re: [Bug Report] A compilation failure occurs when landlock and RANDSTRUCT are combined with GCC 14.2.0.

2025-04-10 Thread WangYuli
Hi Günther and Mickaël Salaün, On 2025/4/11 01:05, Mickaël Salaün wrote: This is in my understanding a duplicate of the discussion in https://lore.kernel.org/all/20250407-kbuild-disable-gcc-plugins-v1-1-5d46ae583...@kernel.org/ Yes, a new patch has been submitted: https://lore.kernel.org/all/20

[PATCH v11 nf-next 0/2] Add nf_flow_encap_push() for xmit direct

2025-04-10 Thread Eric Woudstra
Patch to add nf_flow_encap_push(), see patch message. Added patch to eliminate array of flexible structures warning. Changed in v11: - Only push when tuple.out.ifidx == tuple.out.hw_ifidx - No changes in nft_dev_path_info() v10 split from patch-set: bridge-fastpath and related improvements v9 E

Re: [PATCH][next] w1: Avoid -Wflex-array-member-not-at-end warnings

2025-04-10 Thread Kees Cook
On Thu, Mar 27, 2025 at 10:59:04AM -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. > > Use the `DEFINE_RAW_FLEX()` helper for on-stack definitions of > a flexible structure where the size of the flexibl

Re: [PATCH 02/28] mfd: zl3073x: Register itself as devlink device

2025-04-10 Thread Andrew Lunn
On Mon, Apr 07, 2025 at 07:28:29PM +0200, Ivan Vecera wrote: > Use devlink_alloc() to alloc zl3073x_dev structure and register > the device as a devlink device. Follow-up patches add support for > devlink device info reporting and devlink flash interface will > be later used for flashing firmware a

Re: [PATCH 1/2] lib/string: Improve strstarts() performance

2025-04-10 Thread Zijun Hu
On 2025/4/8 00:17, Kees Cook wrote: >> strstarts() is frequently invoked to test if a string has another string >> as prefix, but its performance is degraded by the strlen() loop contained. >> >> Improve its performance by eliminating the strlen() loop. > So, as Andy already said: no, this is very

Re: [PATCH] EISA: Increase length of device names

2025-04-10 Thread Kees Cook
On Sat, Mar 15, 2025 at 09:27:36AM -0500, Alex Elder wrote: > On 3/10/25 5:24 PM, Kees Cook wrote: > > GCC 15's -Wunterminated-string-initialization warned about truncated > > name strings. Instead of marking them with the "nonstring" attribute[1], > > increase their length to correctly include eno

Re: [PATCH v6 0/6] Maxim Integrated MAX77759 PMIC MFD-based drivers

2025-04-10 Thread Lee Jones
On Tue, 25 Mar 2025, André Draszik wrote: > Hi, > > This series improves support for the Maxim Integrated MAX77759 > companion PMIC for USB Type-C applications using the MFD framework. > > This series must be applied in-order, due to interdependencies of some > of the patches: > * to avoid use o

Re: [PATCH v2 00/14] Add Microchip ZL3073x support (part 1)

2025-04-10 Thread Jakub Kicinski
On Thu, 10 Apr 2025 11:18:24 +0200 Ivan Vecera wrote: > On 10. 04. 25 2:17 dop., Jakub Kicinski wrote: > > On Wed, 9 Apr 2025 16:42:36 +0200 Ivan Vecera wrote: > >> Add support for Microchip Azurite DPLL/PTP/SyncE chip family that > >> provides DPLL and PTP functionality. This series bring first

[PATCH 04/28] mfd: zl3073x: Add macros for device registers access

2025-04-10 Thread Ivan Vecera
Add several macros to access device registers. These macros defines a couple of static inline functions to ease an access device registers. There are two types of registers, the 1st type is a simple one that is defined by an address and size and the 2nd type is indexed register that is defined by b

Re: [PATCH v2 07/14] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Andrew Lunn
On Thu, Apr 10, 2025 at 08:44:43PM +0200, Ivan Vecera wrote: > > > On 10. 04. 25 7:41 odp., Andrew Lunn wrote: > > > > > + /* Take device lock */ > > > > > > > > What is a device lock? Why do you need to comment standard > > > > guards/mutexes? > > > > > > Just to inform code reader, this

[PATCH 28/28] dpll: zl3073x: Add support to get fractional frequency offset on input pins

2025-04-10 Thread Ivan Vecera
This adds support to get fractional frequency offset for input pins. Implement the appropriate callback that performs reference frequency measurement and reports the frequency offset between the DPLL and the reference. Reviewed-by: Michal Schmidt Co-developed-by: Prathosh Satish Signed-off-by: P

Re: [PATCH] USB: gadget: Replace deprecated strncpy() with strscpy()

2025-04-10 Thread Kees Cook
On Thu, Mar 20, 2025 at 05:56:44PM +0100, Thorsten Blum wrote: > strncpy() is deprecated for NUL-terminated destination buffers; use > strscpy() instead. Since kzalloc() already zeroes out the destination > buffer, the potential NUL-padding by strncpy() is unnecessary. strscpy() > copies only the r

Re: [PATCH 01/28] mfd: Add Microchip ZL3073x support

2025-04-10 Thread Ivan Vecera
On 07. 04. 25 7:53 odp., Krzysztof Kozlowski wrote: On 07/04/2025 19:28, Ivan Vecera wrote: This adds base MFD driver for Microchip Azurite ZL3073x chip family. Please do not use "This commit/patch/change", but imperative mood. See longer explanation here: https://elixir.bootlin.com/linux/v

[PATCH 22/28] dpll: zl3073x: Add support to get/set frequency on input pins

2025-04-10 Thread Ivan Vecera
Add support to get/set frequency from/to input pins. The frequency for input pins (references) is computed in the device according this formula: freq = base_freq * multiplier * (nominator / denominator) where the base_freq comes from the list of supported base frequencies and other parameters ar

Re: [PATCH 02/28] mfd: zl3073x: Register itself as devlink device

2025-04-10 Thread Ivan Vecera
On 07. 04. 25 10:57 odp., Andrew Lunn wrote: On Mon, Apr 07, 2025 at 07:28:29PM +0200, Ivan Vecera wrote: Use devlink_alloc() to alloc zl3073x_dev structure and register the device as a devlink device. Follow-up patches add support for devlink device info reporting and devlink flash interface wi

[PATCH v2 10/14] mfd: zl3073x: Add functions to work with register mailboxes

2025-04-10 Thread Ivan Vecera
Registers present in page 10 and higher are organized in so-called register mailboxes. These mailboxes are used to read and write configuration of particular object (dpll, output, reference & synth). Each of these register pages contains mask register that is used by the driver to indicate an inde

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Andrew Lunn
On Thu, Apr 10, 2025 at 08:33:31PM +0200, Ivan Vecera wrote: > > > On 10. 04. 25 7:36 odp., Andrew Lunn wrote: > > > Prathosh, could you please bring more light on this? > > > > > > > Just to clarify, the original driver was written specifically with > > > > 2-channel > > > > chips in mind (ZL3

[PATCH v2 01/14] dt-bindings: dpll: Add device tree bindings for DPLL device and pin

2025-04-10 Thread Ivan Vecera
Add a common DT schema for DPLL device and associated pin. The DPLL (device phase-locked loop) is a device used for precise clock synchronization in networking and telecom hardware. The device itself is equipped with one or more DPLLs (channels) and one or more physical input and output pins. Eac

Re: [PATCH] scsi: elx: sli4: Replace deprecated strncpy() with strscpy()

2025-04-10 Thread Thorsten Blum
On 7. Apr 2025, at 20:28, Kees Cook wrote: > On Wed, Feb 26, 2025 at 07:55:26PM +0100, Thorsten Blum wrote: >> strncpy() is deprecated for NUL-terminated destination buffers; use >> strscpy() instead. >> >> Compile-tested only. >> >> Link: https://github.com/KSPP/linux/issues/90 >> Cc: linux-hard

Re: [PATCH v2 06/14] mfd: zl3073x: Add macros for device registers access

2025-04-10 Thread Krzysztof Kozlowski
On 09/04/2025 16:42, Ivan Vecera wrote: > Add several macros to access device registers. These macros > defines a couple of static inline functions to ease an access > device registers. There are two types of registers, the 1st type > is a simple one that is defined by an address and size and the 2

[PATCH v2 03/14] mfd: Add Microchip ZL3073x support

2025-04-10 Thread Ivan Vecera
Add base MFD driver for Microchip Azurite ZL3073x chip family. These chips provide DPLL and PHC (PTP) functionality and they can be connected over I2C or SPI bus. The MFD driver provide basic communication and synchronization over the bus and common functionality that are used by the DPLL driver (

[PATCH v2 00/14] Add Microchip ZL3073x support (part 1)

2025-04-10 Thread Ivan Vecera
Add support for Microchip Azurite DPLL/PTP/SyncE chip family that provides DPLL and PTP functionality. This series bring first part that adds the common MFD driver that provides an access to the bus that can be either I2C or SPI. The next series will bring the DPLL driver that will covers DPLL fun

Re: [PATCH v2 07/14] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 7:41 odp., Andrew Lunn wrote: + /* Take device lock */ What is a device lock? Why do you need to comment standard guards/mutexes? Just to inform code reader, this is a section that accesses device registers that are protected by this zl3073x device lock. I didn't see

Re: [PATCH v2 03/14] mfd: Add Microchip ZL3073x support

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 7:50 odp., Andrew Lunn wrote: On Thu, Apr 10, 2025 at 09:52:39AM +0200, Ivan Vecera wrote: On 10. 04. 25 9:19 dop., Krzysztof Kozlowski wrote: On 09/04/2025 17:43, Andy Shevchenko wrote: +/* + * Regmap range configuration + * + * The device uses 7-bit addressing and has 16 r

RE: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Prathosh.Satish
Hi Ivan, yes you are right, the only difference is the number of channels. Prathosh -Original Message- From: Ivan Vecera Sent: Thursday 10 April 2025 18:36 To: Prathosh Satish - M66066 ; co...@kernel.org Cc: k...@kernel.org; net...@vger.kernel.org; vadim.fedore...@linux.dev; arkadiusz

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 7:36 odp., Andrew Lunn wrote: Prathosh, could you please bring more light on this? Just to clarify, the original driver was written specifically with 2-channel chips in mind (ZL30732) with 10 input and 20 outputs, which led to some confusion of using zl3073x as compatible. How

[PATCH v2] EISA: Increase length of device names

2025-04-10 Thread Kees Cook
GCC 15's -Wunterminated-string-initialization warned about truncated name strings. Instead of marking them with the "nonstring" attribute[1], increase their length to correctly include enough space for the terminating NUL character, as they are used with %s format specifiers when showing resource a

[PATCH v2 11/14] mfd: zl3073x: Add clock_id field

2025-04-10 Thread Ivan Vecera
Add .clock_id to zl3073x_dev structure that will be used by later commits introducing DPLL driver. The clock ID is necessary for DPLL device registration. To generate such ID use chip ID read during device initialization for this. For the case where are multiple zl3073x based chips the chip ID is

[PATCH v2 09/14] mfd: zl3073x: Add macro to wait for register value bits to be cleared

2025-04-10 Thread Ivan Vecera
Sometimes in communication with the device is necessary to set certain bit(s) in certain register and then the driver has to wait until these bits are cleared by the device. Add the macro for this functionality, it will be used by later commits. Signed-off-by: Ivan Vecera --- v1->v2: * fixed mac

Re: [PATCH 1/2] lib/string: Improve strstarts() performance

2025-04-10 Thread Andy Shevchenko
On Mon, Apr 07, 2025 at 10:33:34PM +0800, Zijun Hu wrote: > On 2025/4/7 21:51, Andy Shevchenko wrote: > > First of all, this function is supposed to be run against constant string > > literals. > > for strstarts(s, "prefix"), strlen("prefix") should *NOT* be compile > time constant. it is a loop

Re: [PATCH 15/28] dt-bindings: dpll: Add device tree bindings for DPLL device and pin

2025-04-10 Thread Michal Schmidt
On Mon, Apr 7, 2025 at 8:02 PM Krzysztof Kozlowski wrote: > On 07/04/2025 19:31, Ivan Vecera wrote: > > This adds DT bindings schema for DPLL (device phase-locked loop) > > Reviewed-by: Michal Schmidt > > Did this really happen? We have been through several iterations of the patchset internally.

Re: [PATCH v2 06/14] mfd: zl3073x: Add macros for device registers access

2025-04-10 Thread Andy Shevchenko
On Thu, Apr 10, 2025 at 11:21 AM Ivan Vecera wrote: > On 10. 04. 25 9:17 dop., Krzysztof Kozlowski wrote: > > On 09/04/2025 16:42, Ivan Vecera wrote: ... > >> +WARN_ON(idx >= (_num)); \ > > > > No need to cause panic reboots. Either review your code so

Re: [PATCH v2 07/14] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Andy Shevchenko
On Wed, Apr 9, 2025 at 5:43 PM Ivan Vecera wrote: > > Add register definitions for components versions and report them > during probe. JFYI: disabling regmap lock (independently of having an additional one or not) is not recommended. With that you actually disable the useful debugging feature of

Re: [PATCH v2 03/14] mfd: Add Microchip ZL3073x support

2025-04-10 Thread Andrew Lunn
On Thu, Apr 10, 2025 at 09:52:39AM +0200, Ivan Vecera wrote: > > > On 10. 04. 25 9:19 dop., Krzysztof Kozlowski wrote: > > On 09/04/2025 17:43, Andy Shevchenko wrote: > > > > +/* > > > > + * Regmap range configuration > > > > + * > > > > + * The device uses 7-bit addressing and has 16 register pa

Re: [PATCH 05/28] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Krzysztof Kozlowski
On 09/04/2025 08:44, Ivan Vecera wrote: > On 07. 04. 25 11:09 odp., Andrew Lunn wrote: >> On Mon, Apr 07, 2025 at 07:28:32PM +0200, Ivan Vecera wrote: >>> Add register definitions for components versions and report them >>> during probe. >>> >>> Reviewed-by: Michal Schmidt >>> Signed-off-by: Ivan

Re: [PATCH 05/28] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Krzysztof Kozlowski
On 10/04/2025 12:23, Ivan Vecera wrote: > > > On 10. 04. 25 9:11 dop., Krzysztof Kozlowski wrote: >> On 09/04/2025 08:44, Ivan Vecera wrote: >>> On 07. 04. 25 11:09 odp., Andrew Lunn wrote: On Mon, Apr 07, 2025 at 07:28:32PM +0200, Ivan Vecera wrote: > Add register definitions for compon

Re: [PATCH v2 07/14] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Andrew Lunn
> > > + /* Take device lock */ > > > > What is a device lock? Why do you need to comment standard guards/mutexes? > > Just to inform code reader, this is a section that accesses device registers > that are protected by this zl3073x device lock. I didn't see a reply to my question about the big p

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Andrew Lunn
> Prathosh, could you please bring more light on this? > > > Just to clarify, the original driver was written specifically with > > 2-channel > > chips in mind (ZL30732) with 10 input and 20 outputs, which led to some > > confusion of using zl3073x as compatible. > > However, the final version

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 7:07 odp., prathosh.sat...@microchip.com wrote: -Original Message- From: Ivan Vecera Sent: Thursday 10 April 2025 14:36 To: Conor Dooley ; Prathosh Satish - M66066 Cc: Krzysztof Kozlowski ; net...@vger.kernel.org; Vadim Fedorenko ; Arkadiusz Kubalewski ; Jiri Pirko ;

Re: [PATCH v2 00/14] Add Microchip ZL3073x support (part 1)

2025-04-10 Thread Andrew Lunn
> Btw. I would be interesting to see a NIC that just exposes an access to I2C > bus (implements I2C read/write by NIC firmware) instead of exposing complete > DPLL API from the firmware. Just an idea. The mellanox driver does expose an standard Linux I2C bus, with the firmware wiggling the bits on

Re: [Bug Report] A compilation failure occurs when landlock and RANDSTRUCT are combined with GCC 14.2.0.

2025-04-10 Thread Mickaël Salaün
On Thu, Apr 10, 2025 at 05:33:21PM +0200, Günther Noack wrote: > Hello! > > On Thu, Apr 10, 2025 at 04:11:15PM +0800, WangYuli wrote: > > [ Compilation failure log: ] > > > > *** WARNING *** there are active plugins, do not report this as a bug unless > > you can reproduce it without enabling an

RE: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Prathosh.Satish
-Original Message- From: Ivan Vecera Sent: Thursday 10 April 2025 14:36 To: Conor Dooley ; Prathosh Satish - M66066 Cc: Krzysztof Kozlowski ; net...@vger.kernel.org; Vadim Fedorenko ; Arkadiusz Kubalewski ; Jiri Pirko ; Rob Herring ; Krzysztof Kozlowski ; Conor Dooley ; Prathosh Sat

Re: [PATCH v2 00/14] Add Microchip ZL3073x support (part 1)

2025-04-10 Thread Lee Jones
On Wed, 09 Apr 2025, Ivan Vecera wrote: > Add support for Microchip Azurite DPLL/PTP/SyncE chip family that > provides DPLL and PTP functionality. This series bring first part > that adds the common MFD driver that provides an access to the bus > that can be either I2C or SPI. > > The next series

Re: [Bug Report] A compilation failure occurs when landlock and RANDSTRUCT are combined with GCC 14.2.0.

2025-04-10 Thread Günther Noack
Hello! On Thu, Apr 10, 2025 at 04:11:15PM +0800, WangYuli wrote: > [ Compilation failure log: ] > > *** WARNING *** there are active plugins, do not report this as a bug unless > you can reproduce it without enabling an > y plugins. > Event    | Plugins > PLUGIN_FINISH_TYP

Re: [PATCH 16/28] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Krzysztof Kozlowski
On 09/04/2025 09:19, Ivan Vecera wrote: >>> + >>> +maintainers: >>> + - Ivan Vecera >>> + >>> +properties: >>> + compatible: >>> +enum: >>> + - microchip,zl3073x-i2c >>> + - microchip,zl3073x-spi >> >> 1. No, you do not get two compatibles. Only one. > > Will split to two files, o

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Conor Dooley
On Thu, Apr 10, 2025 at 09:45:47AM +0200, Ivan Vecera wrote: > > > On 10. 04. 25 9:06 dop., Krzysztof Kozlowski wrote: > > On Wed, Apr 09, 2025 at 04:42:38PM GMT, Ivan Vecera wrote: > > > Add DT bindings for Microchip Azurite DPLL chip family. These chips > > > provides 2 independent DPLL channel

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 3:18 odp., Conor Dooley wrote: On Thu, Apr 10, 2025 at 09:45:47AM +0200, Ivan Vecera wrote: On 10. 04. 25 9:06 dop., Krzysztof Kozlowski wrote: On Wed, Apr 09, 2025 at 04:42:38PM GMT, Ivan Vecera wrote: Add DT bindings for Microchip Azurite DPLL chip family. These chips prov

[PATCH v3][next] w1: Avoid -Wflex-array-member-not-at-end warnings

2025-04-10 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end was introduced in GCC-14, and we are getting ready to enable it, globally. Use the `DEFINE_RAW_FLEX()` helper for on-stack definitions of a flexible structure where the size of the flexible-array member is known at compile-time, and refactor the rest of the code, acc

Re: [PATCH 16/28] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 2:19 odp., Krzysztof Kozlowski wrote: On 10/04/2025 12:28, Ivan Vecera wrote: 2. What is 'x'? Wildcard? If so, drop and use specific compatibles. Microchip refers to the ZL3073x as a family of compatible DPLL chips with the same features. There is no need to introduce separa

Re: [PATCH 16/28] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Krzysztof Kozlowski
On 10/04/2025 12:28, Ivan Vecera wrote: > 2. What is 'x'? Wildcard? If so, drop and use specific compatibles. >>> >>> Microchip refers to the ZL3073x as a family of compatible DPLL chips >>> with the same features. There is no need to introduce separate >>> compatible string for each of them.

Re: [PATCH 05/28] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 12:42 odp., Krzysztof Kozlowski wrote: On 10/04/2025 12:23, Ivan Vecera wrote: On 10. 04. 25 9:11 dop., Krzysztof Kozlowski wrote: On 09/04/2025 08:44, Ivan Vecera wrote: On 07. 04. 25 11:09 odp., Andrew Lunn wrote: On Mon, Apr 07, 2025 at 07:28:32PM +0200, Ivan Vecera wrot

Re: [PATCH 05/28] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 9:11 dop., Krzysztof Kozlowski wrote: On 09/04/2025 08:44, Ivan Vecera wrote: On 07. 04. 25 11:09 odp., Andrew Lunn wrote: On Mon, Apr 07, 2025 at 07:28:32PM +0200, Ivan Vecera wrote: Add register definitions for components versions and report them during probe. Reviewed-by:

Re: [PATCH 16/28] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 9:01 dop., Krzysztof Kozlowski wrote: On 09/04/2025 09:19, Ivan Vecera wrote: + +maintainers: + - Ivan Vecera + +properties: + compatible: +enum: + - microchip,zl3073x-i2c + - microchip,zl3073x-spi 1. No, you do not get two compatibles. Only one. Will split

Re: [PATCH v2 00/14] Add Microchip ZL3073x support (part 1)

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 2:17 dop., Jakub Kicinski wrote: On Wed, 9 Apr 2025 16:42:36 +0200 Ivan Vecera wrote: Add support for Microchip Azurite DPLL/PTP/SyncE chip family that provides DPLL and PTP functionality. This series bring first part that adds the common MFD driver that provides an access to t

Re: [PATCH v2 07/14] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Krzysztof Kozlowski
On 09/04/2025 16:42, Ivan Vecera wrote: > Add register definitions for components versions and report them > during probe. > > Signed-off-by: Ivan Vecera > --- > drivers/mfd/zl3073x-core.c | 36 > 1 file changed, 36 insertions(+) > > diff --git a/drivers/mfd

Re: [PATCH v2 03/14] mfd: Add Microchip ZL3073x support

2025-04-10 Thread Krzysztof Kozlowski
On 09/04/2025 17:43, Andy Shevchenko wrote: >> +/* >> + * Regmap range configuration >> + * >> + * The device uses 7-bit addressing and has 16 register pages with >> + * range 0x00-0x7f. The register 0x7f in each page acts as page >> + * selector where bits 0-3 contains currently selected page. >>

Re: [PATCH v2 07/14] mfd: zl3073x: Add components versions register defs

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 9:13 dop., Krzysztof Kozlowski wrote: On 09/04/2025 16:42, Ivan Vecera wrote: Add register definitions for components versions and report them during probe. Signed-off-by: Ivan Vecera --- drivers/mfd/zl3073x-core.c | 36 1 file changed, 36

[Bug Report] A compilation failure occurs when landlock and RANDSTRUCT are combined with GCC 14.2.0.

2025-04-10 Thread WangYuli
[ Compilation failure log: ] *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling an y plugins. Event    | Plugins PLUGIN_FINISH_TYPE   | randomize_layout_plugin PLUGIN_FINISH_DECL   |

Re: [PATCH v2 06/14] mfd: zl3073x: Add macros for device registers access

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 9:17 dop., Krzysztof Kozlowski wrote: On 09/04/2025 16:42, Ivan Vecera wrote: Add several macros to access device registers. These macros defines a couple of static inline functions to ease an access device registers. There are two types of registers, the 1st type is a simple on

Re: [PATCH] gcc-plugins: Disable GCC plugins for compile test builds

2025-04-10 Thread Arnd Bergmann
On Tue, Apr 8, 2025, at 22:37, Kees Cook wrote: > On April 8, 2025 2:22:52 AM PDT, Arnd Bergmann wrote: >>> >>> indicates that Talos 1.9.1 uses latent_entropy (but we didn't check how >>> accurate that survey is). > > The early RNG for small machines remains pretty bad, so I can > understand want

Re: [PATCH v2 03/14] mfd: Add Microchip ZL3073x support

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 9:19 dop., Krzysztof Kozlowski wrote: On 09/04/2025 17:43, Andy Shevchenko wrote: +/* + * Regmap range configuration + * + * The device uses 7-bit addressing and has 16 register pages with + * range 0x00-0x7f. The register 0x7f in each page acts as page + * selector where bits 0

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Ivan Vecera
On 10. 04. 25 9:06 dop., Krzysztof Kozlowski wrote: On Wed, Apr 09, 2025 at 04:42:38PM GMT, Ivan Vecera wrote: Add DT bindings for Microchip Azurite DPLL chip family. These chips provides 2 independent DPLL channels, up to 10 differential or single-ended inputs and up to 20 differential or 20

Re: [PATCH v2 02/14] dt-bindings: dpll: Add support for Microchip Azurite chip family

2025-04-10 Thread Krzysztof Kozlowski
On Wed, Apr 09, 2025 at 04:42:38PM GMT, Ivan Vecera wrote: > Add DT bindings for Microchip Azurite DPLL chip family. These chips > provides 2 independent DPLL channels, up to 10 differential or > single-ended inputs and up to 20 differential or 20 single-ended outputs. > It can be connected via I2C