Re: [RESEND PATCH] bus: fsl-mc: Use strscpy() instead of strscpy_pad()

2025-04-29 Thread Ioana Ciornei
nation buffer has a fixed length, strscpy() automatically > determines its size using sizeof() when the argument is omitted. This > makes the explicit size arguments unnecessary. > > No functional changes intended. > > Signed-off-by: Thorsten Blum Reviewed-by: Ioana Ciornei Ch

[PATCH 2/6] bus: fsl-mc: do not add a device-link for the UAPI used DPMCP device

2025-04-10 Thread Ioana Ciornei
cated for the root DPRC's usage. Fixes: afb77422819f ("bus: fsl-mc: automatically add a device_link on fsl_mc_[portal,object]_allocate") Signed-off-by: Ioana Ciornei Cc: sta...@vger.kernel.org --- drivers/bus/fsl-mc/mc-io.c | 19 +-- 1 file changed, 13 insert

[PATCH 1/6] bus: fsl-mc: fix double-free on mc_dev

2025-04-09 Thread Ioana Ciornei
plify couple of deallocations") Signed-off-by: Ioana Ciornei --- drivers/bus/fsl-mc/fsl-mc-bus.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index a8be8cf246fb..0c3a38d7f335 100644 --- a/drivers/bus/

[PATCH 4/6] bus: fsl-mc: add the dprc_get_mem() command to the whitelist

2025-04-08 Thread Ioana Ciornei
Add a new MC command to the list of accepted firmware commands. The DPRC_GET_MEM command can be used to gather information on the internal memory characteristics. Signed-off-by: Ioana Ciornei --- drivers/bus/fsl-mc/fsl-mc-uapi.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers

Re: [PATCH] soc: fsl: Do not enable DPAA2_CONSOLE by default during compile testing

2025-04-08 Thread Ioana Ciornei
On Fri, Apr 04, 2025 at 01:24:07PM +0200, Krzysztof Kozlowski wrote: > Enabling the compile test should not cause automatic enabling of such > drivers. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Ioana Ciornei

[PATCH 3/6] bus: fsl-mc: fix GET/SET_TAILDROP command ids

2025-04-08 Thread Ioana Ciornei
ie Signed-off-by: Ioana Ciornei Cc: sta...@vger.kernel.org --- drivers/bus/fsl-mc/fsl-mc-uapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-uapi.c b/drivers/bus/fsl-mc/fsl-mc-uapi.c index 9c4c1395fcdb..a376ec661653 100644 --- a/drivers/bus/fsl

[PATCH 5/6] bus: fsl-mc: drop useless cleanup

2025-04-08 Thread Ioana Ciornei
From: Laurentiu Tudor This cleanup is actually a no-op because the resources are freed when the device objects are removed from the allocator at driver remove time. Remove the fsl_mc_cleanup_all_resource_pools() function and its call site. Signed-off-by: Laurentiu Tudor Signed-off-by: Ioana

[PATCH 0/6] bus: fsl-mc: cleanup and fixes

2025-04-08 Thread Ioana Ciornei
This patch set is a combination of small fixes and some cleanup. Some of the patches were already submitted in the past years but were lost in the process due to an uncertain maintenance path. Ioana Ciornei (3): bus: fsl-mc: fix double-free on mc_dev bus: fsl-mc: do not add a device-link for

[PATCH 6/6] bus: fsl-mc: increase MC_CMD_COMPLETION_TIMEOUT_MS value

2025-04-08 Thread Ioana Ciornei
aking more time. Signed-off-by: Laurentiu Tudor Signed-off-by: Ioana Ciornei --- drivers/bus/fsl-mc/mc-sys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/fsl-mc/mc-sys.c b/drivers/bus/fsl-mc/mc-sys.c index f2052cd0a051..b22c59d57c8f 100644 --- a/drivers/bus

[PATCH v2 0/3] MAINTAINERS: updates for the fsl-mc bus entry

2025-04-05 Thread Ioana Ciornei
-u9vpgjjvn6...@mail.gmail.com/ Ioana Ciornei (3): MAINTAINERS: add myself as maintainer for the fsl-mc bus MAINTAINERS: fix nonexistent dtbinding file name MAINTAINERS: add the linuppc-dev list to the fsl-mc bus entry MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

[PATCH v2 1/3] MAINTAINERS: add myself as maintainer for the fsl-mc bus

2025-04-05 Thread Ioana Ciornei
Both Laurentiu and Stuart left the company and are no longer involved with the fsl-mc bus. Remove them and add myself as maintainer. Signed-off-by: Ioana Ciornei --- Changes in v2: - also removed Stuart from the MAINTAINERS file https://lore.kernel.org/linuxppc-dev

Re: [PATCH] bus: fsl-mc: Remove deadcode

2025-03-21 Thread Ioana Ciornei
but was never used. > > Remove it. > > fsl_mc_portal_reset() was added in 2015 by > commit 197f4d6a4a00 ("staging: fsl-mc: fsl-mc object allocator driver") > but was never used. > > Remove it. > > fsl_mc_portal_reset() was the only caller of dpmcp_reset(). > > Remove it. > > Signed-off-by: Dr. David Alan Gilbert Acked-by: Ioana Ciornei

[PATCH v2 3/3] MAINTAINERS: add the linuppc-dev list to the fsl-mc bus entry

2025-03-20 Thread Ioana Ciornei
-9d3dbc75a...@csgroup.eu Signed-off-by: Ioana Ciornei Acked-by: Christophe Leroy --- Changes in v2: - none MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 012a3fbf884c..23a12b4362ba 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19639,6 +19639,7 @@ F

[PATCH v2 2/3] MAINTAINERS: fix nonexistent dtbinding file name

2025-03-20 Thread Ioana Ciornei
t;) Signed-off-by: Ioana Ciornei Reviewed-by: Christophe Leroy --- Changes in v2: - none MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 95cf8b1a40d5..012a3fbf884c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19642,7 +19

Re: [PATCH 1/3] MAINTAINERS: add myself as maintainer for the fsl-mc bus

2025-03-19 Thread Ioana Ciornei
On Wed, Mar 19, 2025 at 05:45:19AM -0500, Stuart Yoder wrote: > On Wed, Mar 19, 2025 at 4:43 AM Ioana Ciornei wrote: > > > Laurentiu left the company and is no longer involved with the fsl-mc > > bus. Remove him and add myself as maintainer. > > > >

[PATCH 2/3] MAINTAINERS: fix nonexistent dtbinding file name

2025-03-19 Thread Ioana Ciornei
t;) Signed-off-by: Ioana Ciornei --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 76b6db4074ce..1e6aac2962dd 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19637,7 +19637,7 @@ M: Ioana Ciornei L: linux-ker...@vger.ker

[PATCH 3/3] MAINTAINERS: add the linuppc-dev list to the fsl-mc bus entry

2025-03-19 Thread Ioana Ciornei
-9d3dbc75a...@csgroup.eu Signed-off-by: Ioana Ciornei --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1e6aac2962dd..cfa6db4b6ce2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -19634,6 +19634,7 @@ F: include/linux/qnx6_fs.h QORIQ DPAA2 FSL-MC BUS

[PATCH 1/3] MAINTAINERS: add myself as maintainer for the fsl-mc bus

2025-03-19 Thread Ioana Ciornei
Laurentiu left the company and is no longer involved with the fsl-mc bus. Remove him and add myself as maintainer. Signed-off-by: Ioana Ciornei --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ebf7fa9a814d..76b6db4074ce 100644

[PATCH 0/3] MAINTAINERS: updates for the fsl-mc bus entry

2025-03-19 Thread Ioana Ciornei
This patch set updates the fsl-mc bus driver MAINTAINERS entry. Since there are small separate changes, I put each of them into a separate patch. Ioana Ciornei (3): MAINTAINERS: add myself as maintainer for the fsl-mc bus MAINTAINERS: fix nonexistent dtbinding file name MAINTAINERS: add the

Re: Maintenance path for the fsl-mc bus

2025-03-18 Thread Ioana Ciornei
On Tue, Mar 18, 2025 at 02:46:55PM +0100, Christophe Leroy wrote: > Hi Ioana, > > Le 18/03/2025 à 11:40, Ioana Ciornei a écrit : > > [Vous ne recevez pas souvent de courriers de ioana.cior...@nxp.com. > > D?couvrez pourquoi ceci est important ? > > https://aka.ms/Lea

Re: [PATCH] bus: fsl-mc: Remove deadcode

2025-03-13 Thread Ioana Ciornei
On Thu, Mar 13, 2025 at 02:37:56PM +0100, Christophe Leroy wrote: > > > Le 13/03/2025 à 14:21, Dr. David Alan Gilbert a écrit : > > [Vous ne recevez pas souvent de courriers de li...@treblig.org. Découvrez > > pourquoi ceci est important à https://aka.ms/LearnAboutSenderIdentification > > ] > >

Re: [PATCH v14 00/15] phy: Add support for Lynx 10G SerDes

2023-08-22 Thread Ioana Ciornei
On Mon, Aug 21, 2023 at 02:46:53PM -0400, Sean Anderson wrote: > On 8/21/23 14:13, Ioana Ciornei wrote: > > On Mon, Aug 21, 2023 at 01:45:44PM -0400, Sean Anderson wrote: > >> Well, we have two pieces of information we need > >> > >> - What values do we need

Re: [PATCH v14 00/15] phy: Add support for Lynx 10G SerDes

2023-08-21 Thread Ioana Ciornei
On Mon, Aug 21, 2023 at 01:45:44PM -0400, Sean Anderson wrote: > Well, we have two pieces of information we need > > - What values do we need to program in the PCCRs to select a particular > mode? This includes whether to e.g. set the KX bits. > - Implied by the above, what protocols are support

Re: [PATCH v12 13/13] arm64: dts: ls1088ardb: Add serdes descriptions

2023-03-28 Thread Ioana Ciornei
On Mon, Mar 27, 2023 at 02:15:47PM -0400, Sean Anderson wrote: > On 3/24/23 09:17, Ioana Ciornei wrote: > > On Tue, Mar 21, 2023 at 04:13:12PM -0400, Sean Anderson wrote: > >> This adds serdes support to the LS1088ARDB. I have tested the QSGMII > >> ports as well as the

Re: [PATCH v12 13/13] arm64: dts: ls1088ardb: Add serdes descriptions

2023-03-24 Thread Ioana Ciornei
On Tue, Mar 21, 2023 at 04:13:12PM -0400, Sean Anderson wrote: > This adds serdes support to the LS1088ARDB. I have tested the QSGMII > ports as well as the two 10G ports. The SFP slot is now fully supported, > instead of being modeled as a fixed-link. > > Linux hangs around when the serdes is ini

Re: [PATCH 0/6] bus: fsl-mc: Make remove function return void

2023-03-13 Thread Ioana Ciornei
s: fsl-mc: fsl-mc-allocator: Improve error reporting > soc: fsl: dpio: Suppress duplicated error reporting on device remove > bus: fsl-mc: Make remove function return void > Reviewed-by: Ioana Ciornei Tested-by: Ioana Ciornei # sanity checks

Re: [PATCH v2][net-next] soc: fsl: dpio: Unsigned compared against 0 in qbman_swp_set_irq_coalescing()

2021-10-19 Thread Ioana Ciornei
ving the comparisons altogether as they are incorrect. Zero is > a possible value in either case. Also fix a minor comment typo and update the > 2 pr_err() calls to use %u formatting as well as be more precise regarding > the exact error. > > Fixes: ed1d2143fee5 ("soc: fsl: dpio

Re: [PATCH][linux-next] soc: fsl: dpio: Unsigned compared against 0 in

2021-10-19 Thread Ioana Ciornei
> > Subject: [PATCH][linux-next] soc: fsl: dpio: Unsigned compared against 0 in > > Coverity complains of unsigned compare against 0. There are 2 cases in > this function: > > 1821itp = (irq_holdoff * 1000) / p->desc->qman_256_cycles_per_ns; > > CID 121131 (#1 of 1): Unsigned compared a

Re: [PATCH v4] dt-bindings: misc: convert fsl,qoriq-mc from txt to YAML

2020-11-24 Thread Ioana Ciornei
; > Signed-off-by: Ionut-robert Aron > [laurentiu.tu...@nxp.com: update MINTAINERS, updates & fixes in schema] > Signed-off-by: Laurentiu Tudor Acked-by: Ioana Ciornei > --- > Changes in v4: > - use $ref to point to fsl,qoriq-mc-dpmac binding > > Changes in v3: >

RE: [PATCH] driver core: device: add BUS_ATTR_WO macro

2018-10-02 Thread Ioana Ciornei
> > Add BUS_ATTR_WO macro to make it easier to add attributes without > > auditing the mode settings. Also, use the newly added macro where > > appropriate. > > > > Signed-off-by: Ioana Ciornei > > --- > > arch/powerpc/platforms/pseries/ibmebu

[PATCH] driver core: device: add BUS_ATTR_WO macro

2018-10-01 Thread Ioana Ciornei
Add BUS_ATTR_WO macro to make it easier to add attributes without auditing the mode settings. Also, use the newly added macro where appropriate. Signed-off-by: Ioana Ciornei --- arch/powerpc/platforms/pseries/ibmebus.c | 12 drivers/block/rbd.c | 48