[PATCH] drm: tilcdc: don't use devm_pinctrl_get_select_default() in probe

2023-09-22 Thread Wolfram Sang
Since commit ab78029ecc34 ("drivers/pinctrl: grab default handles from device core"), we can rely on device core for setting the default pins. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/tilcdc/tilcdc_panel.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/

[PATCH v2] drm: renesas: rcar-du: use proper naming for R-Car

2023-09-21 Thread Wolfram Sang
Not RCAR, but R-Car. Signed-off-by: Wolfram Sang Reviewed-by: Kieran Bingham --- Changes since v1: * rebased to 6.6-rc2 * added tag from Kieran (Thanks!) drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

Re: [Openipmi-developer] [PATCH] dt-bindings: Drop remaining unneeded quotes

2023-08-23 Thread Wolfram Sang
On Wed, Aug 23, 2023 at 01:28:47PM -0500, Rob Herring wrote: > Cleanup bindings dropping the last remaining unneeded quotes. With this, > the check for this can be enabled in yamllint. > > Signed-off-by: Rob Herring Acked-by: Wolfram Sang # for AT24/I2C signature.asc Desc

[PATCH] drm: renesas: rcar-du: use proper naming for R-Car

2023-08-16 Thread Wolfram Sang
Not RCAR, but R-Car. Signed-off-by: Wolfram Sang --- drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.h b/drivers/gpu/drm/renesas/rcar-du/rcar_du_plane.h index f9893d7d6dfc

Re: [PATCH] I2C: Explicitly include correct DT includes

2023-08-14 Thread Wolfram Sang
On Fri, Jul 14, 2023 at 11:46:16AM -0600, Rob Herring wrote: > The DT of_device.h and of_platform.h date back to the separate > of_platform_bus_type before it as merged into the regular platform bus. > As part of that merge prepping Arm DT support 13 years ago, they > "temporarily" include each oth

Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-15 Thread Wolfram Sang
> > Without of_node, devm_clk_get() and friends falls back to registered > > clkdevs. So you could call clk_register_clkdev() from within the > > PMIC driver, and can keep on using devm_clk_get_optional() in the > > ISL1208 driver. > > Seriously, how many hacks are we piling ? :-) For this parti

Bug#1037955: egctl: New version 0.3 available

2023-06-14 Thread Wolfram Sang
Package: egctl Version: 1:0.1-1.1 Severity: wishlist Dear Maintainer, upstream has now version 0.3 available. It adds support for the WLAN variant of the device which is the mainly available one these days. Also, the README now mentions how to overload PREFIX, so the Debian patch could be dropped

Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-12 Thread Wolfram Sang
Hi everyone, > Perhaps we should first think through what an ancillary device really > is. My understanding is that it is used to talk to secondary addresses > of a multi-address I2C slave device. As I mentioned somewhere before, this is not the case. Ancillary devices are when one *driver* hand

Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-12 Thread Wolfram Sang
Hi Geert, > > Would this binding allow to not use the RTC if the second reg is > > missing? What are the advantages of not enabling RTC? Saving power? > > It doesn't work if there is no clock? Maybe I am confusing something now, but if the RTC _needs_ to be enabled, then why we don't do it uncon

Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-12 Thread Wolfram Sang
Hi Biju, > DT-Maintainers suggestion: > [1] > raa215300: pmic@12 { > compatible = "renesas,raa215300"; > reg = <0x12>, <0x6f>; > reg-names = "main", "rtc"; > > clocks = <&x2>; > clock-names = "xin"; > /* Add Optional shared IRQ resource and share it to child an

Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-07 Thread Wolfram Sang
Hi all, sorry for not being able to chime in earlier. > In Biju's particular use case, the i2c device responds to two addresses, > which is the standard i2c ancillary use case. However, what's special Not quite. ancillary is used when a *driver* needs to take care of two addresses. We already h

Re: [PATCH 00/89] i2c: Convert to platform remove callback returning void

2023-06-05 Thread Wolfram Sang
On Thu, Jun 01, 2023 at 03:54:50PM +0200, Wolfram Sang wrote: > > > I wonder how this series will go in. My expectation was that Wolfram > > picks up the whole series via his tree?! > > Will do. I am currently super-busy, though. Whole series applied to for-next. I squashed

Re: [PATCH v5 01/11] i2c: Enhance i2c_new_ancillary_device API

2023-06-05 Thread Wolfram Sang
> Wolfram: time to chime in ;-) I'll have a look this week. signature.asc Description: PGP signature

[PATCH v2] drm: rcar-du: remove R-Car H3 ES1.* workarounds

2023-05-09 Thread Wolfram Sang
: Wolfram Sang Reviewed-by: Kieran Bingham --- This is the last ES1 bit remaining, would be awesome if it could go soon. Changes since v1: * rebased to 6.4-rc1 (no code updates needed) * added Kieran's tag (thanks!) * mention in commit message that ES1 doesn't even boot anymore drive

Bug#1035620: picocom: New upstream and new release

2023-05-06 Thread Wolfram Sang
Package: picocom Version: 3.1-2+b1 Severity: normal Dear Maintainer, after 5 years of silence, I took over maintainership for picocom, collected bugfixes and pull requests and released a new version. Please find more information here: https://gitlab.com/wsakernel/picocom/-/releases I hope this

[PATCH 2/2] defconfigs: usb-a9g20: update to a working version

2023-04-27 Thread Wolfram Sang
have to go. Signed-off-by: Wolfram Sang --- arch/arm/configs/usb_a9g20_defconfig | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/arm/configs/usb_a9g20_defconfig b/arch/arm/configs/usb_a9g20_defconfig index 20b1f27b9e..56f78ba7a8 100644 --- a/arch/arm

[PATCH 0/2] ARM: at91: usb-a9g20: make it work out of the box again

2023-04-27 Thread Wolfram Sang
Here are the remaining two patches to make a (for me) useable barebox with the defconfig and no other patches. Comments welcome! Wolfram Sang (2): ARM: at91: usb-a926x: remove nand partitions from config defconfigs: usb-a9g20: update to a working version .../boards/usb-a926x/defaultenv-usb

[PATCH 1/2] ARM: at91: usb-a926x: remove nand partitions from config

2023-04-27 Thread Wolfram Sang
, remove it from the config file. Signed-off-by: Wolfram Sang --- Or shall I rather remove it from the board file? arch/arm/boards/usb-a926x/defaultenv-usb-a926x/config | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/boards/usb-a926x/defaultenv-usb-a926x/config b/arch/arm/boards/usb

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-04-27 Thread Wolfram Sang
Hi Sascha, > Anyway, what's really missing is DT support. I scribbled a patch to get > you started in case you are motivated. Basically it's: Compile in the > device tree, throw away all the device registration from the board code, > see where it gets you and fix the fallout ;) So, I tried this p

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-04-27 Thread Wolfram Sang
> > I accidently erased it, so my journey for unbricking the device began. > > at91bootstrap, openocd, barebox - they all once supported A9G20, but > > nowadays all of them were broken. Well, I fixed openocd and barebox > > mostly so far, the bootstrap is still the missing piece. > > You may be h

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Wolfram Sang
Hi, > > It is a direct replacement for at91bootstrap and loads barebox as the > > next step bootloader. > The above is entirely correct - as the barebox variant supports booting from > SD card only, where at91bootstrap support additional boot sources. So, I quickly built the bootstrap for A9263 a

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-21 Thread Wolfram Sang
Hi Sascha! > Nice to hear from you here ;) Yeah, it has been only 10 years... :) > I have no idea how the SDRAM setup is done on the USB-A9G20. There seems > to be SDRAM setup code for the USB-A9263, but not for the USB-A9G20. Is > there some AT91Bootstrap required? Yes. There is a bootstrap re

Re: [PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-19 Thread Wolfram Sang
Hi Sam, > It is only a few weeks ago I argued that there was no users of the older > at91sam* boards, and then you prove me wrong here. At your service ;) > I will try to remember that you may be able to test should someone > decide to move the barebox support for qil_a9g20 to DT and add PBL > s

[PATCH 3/3] mtd: nand: atmel: legacy: remove superfluous code

2023-03-19 Thread Wolfram Sang
54bcca always populates 'ecc_mode' but forgot to remove the code which overwrote the previously hardcoded 'NAND_ECC_SOFT' when needed. This is obsolete now. Fixes: 54bcca ("mtd: atmel_nand: retrieve ecc_mode from pdata") Signed-off-by: Wolfram Sang --- d

[PATCH 1/3] mtd: nand: atmel: legacy: add 'algo' to use

2023-03-19 Thread Wolfram Sang
Fixes "WARNING: Unsupported ECC algorithm!" on my USB-A9G20. Fixes: b6bcd96de5 ("mtd: nand: Update to Linux-5.9") Signed-off-by: Wolfram Sang --- Or maybe we should make HAMMING the default fallback in nand_base.c? drivers/mtd/nand/atmel/legacy.c | 4 1 file c

[PATCH 0/3] mtd: nand: atmel: legacy: fix boot on USB-A9G20

2023-03-19 Thread Wolfram Sang
While trying to unbrick my Calao USB-A9G20, barebox couldn't read the NAND BB tables unlike the binary-only barebox from 2013. The first two patches fix that. The third one is a cleanup. Happy hacking! Wolfram Sang (3): mtd: nand: atmel: legacy: add 'algo' to use mtd: nand

[PATCH 2/3] mtd: nand: atmel: legacy: use proper ecc_shift

2023-03-19 Thread Wolfram Sang
193 ("mtd: atmel_nand: Add per board ECC setup") Signed-off-by: Wolfram Sang --- The other option is to revert babffbb193. I don't see any user. The code was obviously not enough tested as well. drivers/mtd/nand/atmel/legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] commands: edit: fix typo in Kconfig help text

2023-03-19 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- commands/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Kconfig b/commands/Kconfig index ec15f4e543..27769950d9 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1383,7 +1383,7 @@ config CMD_EDIT depends on

[PATCH] commands: nand: add missing parameters to help

2023-03-19 Thread Wolfram Sang
Signed-off-by: Wolfram Sang --- commands/Kconfig | 4 +++- commands/nand.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/Kconfig b/commands/Kconfig index 27769950d9..76dfca2dfd 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1950,12 +1950,14 @@ config

[PATCH 00/11] tree-wide: remove support for Renesas R-Car H3 ES1

2023-03-07 Thread Wolfram Sang
cking! Wolfram Sang (11): iommu/ipmmu-vmsa: remove R-Car H3 ES1.* handling drm: rcar-du: remove R-Car H3 ES1.* workarounds media: rcar-vin: remove R-Car H3 ES1.* handling media: rcar-vin: csi2: remove R-Car H3 ES1.* handling media: renesas: fdp1: remove R-Car H3 ES1.* handling th

[PATCH 02/11] drm: rcar-du: remove R-Car H3 ES1.* workarounds

2023-03-07 Thread Wolfram Sang
: Wolfram Sang --- Please apply individually per subsystem. There are no dependencies and the SoC doesn't boot anymore since v6.3-rc1. drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 37 ++-- drivers/gpu/drm/rcar-du/rcar_du_drv.c | 48 -- drivers/gpu/drm/rc

Re: [PATCH] dt-bindings: Fix SPI and I2C bus node names in examples

2023-02-28 Thread Wolfram Sang
{/' > > With this, a few errors in examples were exposed and fixed. > > Signed-off-by: Rob Herring Acked-by: Wolfram Sang signature.asc Description: PGP signature

Re: remove arch/sh

2023-02-08 Thread Wolfram Sang
> Yes, that's the plan. We're collecting the various patches people have sent > in for arch/sh, review and test them and apply them. > > My test board is running the latest kernel now, so I can test new patches, > too. I am just witnessing this development, but I want to say thanks for your eff

Re: [Openipmi-developer] [PATCH 000/606] i2c: Complete conversion to i2c_probe_new

2022-11-19 Thread Wolfram Sang
Hi Uwe, > This series completes all drivers to this new callback (unless I missed > something). It's based on current next/master. Thanks for this work, really, but oh my poor inbox... > I don't think it's feasable to apply this series in one go, so I ask the > maintainers of the changed files t

Re: [PATCH 000/606] i2c: Complete conversion to i2c_probe_new

2022-11-19 Thread Wolfram Sang
Hi Uwe, > This series completes all drivers to this new callback (unless I missed > something). It's based on current next/master. Thanks for this work, really, but oh my poor inbox... > I don't think it's feasable to apply this series in one go, so I ask the > maintainers of the changed files t

Re: [PATCH v4] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-11-12 Thread Wolfram Sang
On Sat, Nov 05, 2022 at 07:56:49AM -0400, Arminder Singh wrote: > This patch adds IRQ support to the PASemi I2C controller driver to > increase the performace of I2C transactions on platforms with PASemi I2C > controllers. While primarily intended for Apple silicon platforms, this > patch should al

Re: [PATCH v3] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-11-01 Thread Wolfram Sang
> > +complete(&smbus->irq_completion); > > I only realized just now that you also want to disable the interrupt > right here by writing to IMASK. This is a level sensitive interrupt at > AIC level so the moment this handler returns it will fire again until > you reach the write above after th

Re: [Openipmi-developer] [PATCH v10 3/3] i2c: aspeed: Assert NAK when slave is busy

2022-10-06 Thread Wolfram Sang
> Thank you for your patience with me through many versions. You are welcome. In the end, I think the update of the target interface is an improvement, in deed. So, thank you for that! signature.asc Description: PGP signature ___ Openipmi-developer m

Re: [Openipmi-developer] [PATCH v10 3/3] i2c: aspeed: Assert NAK when slave is busy

2022-10-05 Thread Wolfram Sang
On Tue, Oct 04, 2022 at 04:31:06PM +0700, Quan Nguyen wrote: > On I2C_SLAVE_WRITE_REQUESTED event, Slave already ACK'ed on the address > phase. But as the backend driver is busy and unable to process any > request from Master, issue RxCmdLast for Slave to auto send NACK on > next incoming byte. >

Re: [PATCH v2] i2c-pasemi: PASemi I2C controller IRQ enablement

2022-10-05 Thread Wolfram Sang
> Does fixing the alignment issues and the commit description justify a v3 > of the patch or should the minor fixes go out as a "resend"? Just not sure > in this particular case as the fixes seem to be very minor ones. Yes, please send a v3. Since you are only fixing whitespace issues, you can ad

Re: [PATCH v2] i2c/pasemi: PASemi I2C controller IRQ enablement

2022-10-02 Thread Wolfram Sang
Hi, some comments from me. Thanks for the patch and review! > > This version of the patch has been tested on an M1 Ultra Mac Studio, > > as well as an M1 MacBook Pro, and userspace launches successfully > > while using the IRQ path for I2C transactions. > > > > Tested-by: Arminder Singh > > I t

Re: [Openipmi-developer] [PATCH v9 3/3] i2c: aspeed: Assert NAK when slave is busy

2022-10-01 Thread Wolfram Sang
> + if (ret == -EBUSY) Since we documented this: "+ 'ret': 0 if the backend is ready, otherwise some errno" the code above should be '(ret < 0)' signature.asc Description: PGP signature ___ Openipmi-developer mailing list Openipmi-deve

Re: [PATCH] macintosh/ams: Adapt declaration of ams_i2c_remove() to earlier change

2022-09-17 Thread Wolfram Sang
On Fri, Sep 16, 2022 at 11:08:02AM +0200, Uwe Kleine-König wrote: > Commit ed5c2f5fd10d ("i2c: Make remove callback return void") changed > the prototype of ams_i2c_remove() but failed to adapt the declaration. > Catch up and fix the declaration accordingly. > > Fixes: ed5c2f5fd10d ("i2c: Make rem

Re: [PATCH] macintosh/ams: Adapt declaration of ams_i2c_remove() to earlier change

2022-09-16 Thread Wolfram Sang
> I don't know how to proceed with this fix. Squashing into the broken > commit is out of the game as the commit is on a stable branch that is > already merged in a few trees. Maybe let it go in via the i2c tree? I think it would be simplest if I put it on top of my for-next branch. The other opt

Re: [PATCH] net: move from strlcpy with unused retval to strscpy

2022-08-30 Thread Wolfram Sang
> Unfortunately looks like patchwork was unable to ingest this change :( > Not sure why. vger rejected this mail because the header was too big. I updated my scripts to estimate that before sending out. > Would you mind splitting it into 3 chunks - wireless, ethernet, > everything else, and rese

[PATCH v2 2/3] net: wireless: move from strlcpy with unused retval to strscpy

2022-08-30 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

Re: [Cluster-devel] [PATCH] gfs2: move from strlcpy with unused retval to strscpy

2022-08-24 Thread Wolfram Sang
Hi Andy. > > - strlcpy(sdp->sd_proto_name, proto, GFS2_FSNAME_LEN); > > - strlcpy(sdp->sd_table_name, table, GFS2_FSNAME_LEN); > > + strscpy(sdp->sd_proto_name, proto, GFS2_FSNAME_LEN); > > + strscpy(sdp->sd_table_name, table, GFS2_FSNAME_LEN); > > Perhaps the size should be changed to GF

[PATCH 0/2] spi: remove "spidev" nodes from DTs

2022-08-24 Thread Wolfram Sang
There were two DTs left specifying "spidev" directly. Remove them. Wolfram Sang (2): ARM: dts: stm32: argon: remove spidev node powerpc/82xx: remove spidev node from mgcoge arch/arm/boot/dts/stm32mp157c-emstamp-argon.dtsi | 6 -- arch/powerpc/boot/dts/mgcoge.dts

[PATCH 2/2] powerpc/82xx: remove spidev node from mgcoge

2022-08-24 Thread Wolfram Sang
t;powerpc/82xx: add SPI support for mgcoge") Cc: Heiko Schocher Signed-off-by: Wolfram Sang --- Please take it via your platform tree. arch/powerpc/boot/dts/mgcoge.dts | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/powerpc/boot/dts/mgcoge.dts b/arch/powerpc/boot/dts/mgcoge.dts

[Bridge] [PATCH] bridge: move from strlcpy with unused retval to strscpy

2022-08-20 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[ovs-dev] [PATCH] openvswitch: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[Intel-gfx] [PATCH] gpu: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] gpu: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[Cluster-devel] [PATCH 09/14] gfs2: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[Cluster-devel] [PATCH] dlm: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[Cluster-devel] [PATCH] gfs2: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[Cluster-devel] [PATCH 10/14] dlm: move from strlcpy with unused retval to strscpy

2022-08-19 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] xen: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] video: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] macintosh: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] cpuidle: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] dma-buf: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] block: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] gpu: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] powerpc: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] hostfs: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH 08/14] hostfs: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] tty: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] soc: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] scsi: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

[PATCH] um: move from strlcpy with unused retval to strscpy

2022-08-18 Thread Wolfram Sang
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=v6a6g1ouzcprm...@mail.gmail.com/ Signed-off-by: Wo

Re: [PATCH v2 0/6] i2c: Make remove callback return void

2022-08-16 Thread Wolfram Sang
> As some conflicts are expected I sent this early after -rc1 such that it > can be included early into next and be put on an immutable branch for > subsystems to resolve merge conflicts. I pushed the series out now, so it should hit -next tomorrow. The immutable branch is here: git://git.kerne

Re: [PATCH v2 1/6] drm/i2c/sil164: Drop no-op remove function

2022-08-16 Thread Wolfram Sang
On Mon, Aug 15, 2022 at 10:02:25AM +0200, Uwe Kleine-König wrote: > A remove callback that just returns 0 is equivalent to no callback at all > as can be seen in i2c_device_remove(). So simplify accordingly. > > Signed-off-by: Uwe Kleine-König Applied to an immutable branch, thanks! signature

Re: [PATCH] i2c: qcom-geni: Fix GPI DMA buffer sync-back

2022-08-11 Thread Wolfram Sang
On Sun, Aug 07, 2022 at 11:04:54PM +0900, Robin Reckmann wrote: > Fix i2c transfers using GPI DMA mode for all message types that do not set > the I2C_M_DMA_SAFE flag (e.g. SMBus "read byte"). > > In this case a bounce buffer is returned by i2c_get_dma_safe_msg_buf(), > and it has to synced back t

Re: [PATCH] i2c: qcom-geni: Fix GPI DMA buffer sync-back

2022-08-07 Thread Wolfram Sang
On Sun, Aug 07, 2022 at 11:04:54PM +0900, Robin Reckmann wrote: > Fix i2c transfers using GPI DMA mode for all message types that do not set > the I2C_M_DMA_SAFE flag (e.g. SMBus "read byte"). > > In this case a bounce buffer is returned by i2c_get_dma_safe_msg_buf(), > and it has to synced back t

Bug#1016715: modem-manager-gui: Assertion when XDG_CURRENT_DESKTOP is not set

2022-08-05 Thread Wolfram Sang
ons of packages modem-manager-gui recommends: ii modem-manager-gui-help 0.0.20-4 pn yelp Versions of packages modem-manager-gui suggests: pn evolution-data-server pn libindicate5 | libmessaging-menu0 ii libnotify4 0.8.1-1 From: Wol

Bug#1004258: improvements to the bugfix

2022-08-04 Thread Wolfram Sang
: Patrizio Tufarolo Date: Wed, 25 May 2022 08:11:36 +0200 Subject: fix_segfault_on_DNS_entries Slightly edited by Wolfram Sang --- src/modules/nm09.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/nm09.c b/src/modules/nm09.c index 2b3098b..02d0e20 100644 --- a

Re: [Openipmi-developer] [PATCH v7 3/3] i2c: aspeed: Assert NAK when slave is busy

2022-06-16 Thread Wolfram Sang
Hi Quan, > On the first occurrence of I2C_SLAVE_WRITE_REQUESTED, the address is already > received with ACK. So if slave return -EBUSY, the NAK will occur on the next > Rx byte (on I2C_SLAVE_WRITE_RECEIVED event). This is exactly why I2C_SLAVE_WRITE_RECEIVED allows for an error code. From the doc

Re: [Openipmi-developer] [PATCH v7 3/3] i2c: aspeed: Assert NAK when slave is busy

2022-06-15 Thread Wolfram Sang
Hi Quan, > When tested with ast2500, it is observed that there's always a > I2C_SLAVE_WRITE_REQUESTED comes first then other I2C_SLAVE_WRITE_RECEIVED's > follow for all transactions. Yes, that's the design of the interface :) > In case slave is busy, the NAK will be asserted on the first occurre

Re: [Openipmi-developer] [PATCH v7 3/3] i2c: aspeed: Assert NAK when slave is busy

2022-05-14 Thread Wolfram Sang
On Fri, Apr 22, 2022 at 11:08:03AM +0700, Quan Nguyen wrote: > When processing I2C_SLAVE_WRITE_REQUESTED event, if slave returns > -EBUSY, i2c controller should issue RxCmdLast command to assert NAK > on the bus. That should be I2C_SLAVE_WRITE_RECEIVED and it should be NAKed on all errnos. Have yo

Re: [PATCH] i2c: powermac: Prepare cleanup of powerpc's asm/prom.h

2022-05-04 Thread Wolfram Sang
On Sat, Apr 02, 2022 at 12:06:59PM +0200, Christophe Leroy wrote: > powerpc's asm/prom.h brings some headers that it doesn't > need itself. > > In order to clean it up, first add missing headers in > users of asm/prom.h > > Signed-off-by: Christophe Leroy Applied to for-next, thanks! signatu

Re: [PATCH v1 2/4] powerpc/mpc5xxx: Switch mpc5xxx_get_bus_frequency() to use fwnode

2022-05-04 Thread Wolfram Sang
On Wed, May 04, 2022 at 04:44:47PM +0300, Andy Shevchenko wrote: > Switch mpc5xxx_get_bus_frequency() to use fwnode in order to help > cleaning up other parts of the kernel from OF specific code. > > No functional change intended. > > Signed-off-by: Andy Shevchenko Acke

Re: [PATCH v1 1/4] powerpc/52xx: Remove dead code, i.e. mpc52xx_get_xtal_freq()

2022-05-04 Thread Wolfram Sang
Wow, MPC5200, that was a long time ago for me... > It seems mpc52xx_get_xtal_freq() is not used anywhere. Remove dead code. Looks like it. Reviewed-by: Wolfram Sang signature.asc Description: PGP signature

Re: [PATCH 2/7] dt-bindings: i2c: renesas,rcar-i2c: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
On Mon, May 02, 2022 at 03:34:54PM +0200, Geert Uytterhoeven wrote: > Despite the name, R-Car V3U is the first member of the R-Car Gen4 > family. I2C on R-Car V3U also supports some extra features (e.g. Slave > Clock Stretch Select), which are supported by other R-Car Gen4 SoCs, but > not by any o

Re: [PATCH 7/7] dt-bindings: watchdog: renesas,wdt: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
On Mon, May 02, 2022 at 03:34:59PM +0200, Geert Uytterhoeven wrote: > Despite the name, R-Car V3U is the first member of the R-Car Gen4 > family. Hence move its compatible value to the R-Car Gen4 section. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang s

Re: [PATCH 6/7] dt-bindings: serial: renesas,scif: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
On Mon, May 02, 2022 at 03:34:58PM +0200, Geert Uytterhoeven wrote: > Despite the name, R-Car V3U is the first member of the R-Car Gen4 > family. Hence move its compatible value to the R-Car Gen4 section. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang s

Re: [PATCH 5/7] dt-bindings: serial: renesas,hscif: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
On Mon, May 02, 2022 at 03:34:57PM +0200, Geert Uytterhoeven wrote: > Despite the name, R-Car V3U is the first member of the R-Car Gen4 > family. Hence move its compatible value to the R-Car Gen4 section. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang s

Re: [PATCH 3/7] dt-bindings: iommu: renesas, ipmmu-vmsa: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
On Mon, May 02, 2022 at 03:34:55PM +0200, Geert Uytterhoeven wrote: > Despite the name, R-Car V3U is the first member of the R-Car Gen4 > family. Hence move its compatible value to the R-Car Gen4 section. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang s

Re: [PATCH 2/7] dt-bindings: i2c: renesas,rcar-i2c: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
; not by any other R-Car Gen3 SoC. > > Hence move its compatible value to the R-Car Gen4 section. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Wolfram Sang signature.asc Description: PGP signature ___ iommu mailing list iommu@li

Re: [PATCH 1/7] dt-bindings: gpio: renesas,rcar-gpio: R-Car V3U is R-Car Gen4

2022-05-04 Thread Wolfram Sang
On Mon, May 02, 2022 at 03:34:53PM +0200, Geert Uytterhoeven wrote: > Despite the name, R-Car V3U is the first member of the R-Car Gen4 > family. Hence move its compatible value to the R-Car Gen4 section. > > Signed-off-by: Geert Uytterhoeven > --- Reviewed-by: Wolfram Sang

Re: [PATCH] i2c: pasemi: Wait for write xfers to finish

2022-04-15 Thread Wolfram Sang
On Tue, Mar 29, 2022 at 08:38:17PM +0200, Martin Povišer wrote: > Wait for completion of write transfers before returning from the driver. > At first sight it may seem advantageous to leave write transfers queued > for the controller to carry out on its own time, but there's a couple of > issues wi

[PATCH 1/3] mmc: core: improve API to make clear mmc_hw_reset is for cards

2022-04-08 Thread Wolfram Sang
To make it unambiguous that mmc_hw_reset() is for cards and not for controllers, we make the function argument mmc_card instead of mmc_host. Also, all users are converted. Suggested-by: Ulf Hansson Signed-off-by: Wolfram Sang --- Ulf prefers one cross-subsystem patch to have all users

[PATCH 0/3] mmc: improve API to make clear {h|s}w_reset is for cards

2022-04-08 Thread Wolfram Sang
el/git/wsa/linux.git renesas/mmc/reset-api-v2 Looking forward to comments. Happy hacking, Wolfram [1] https://lore.kernel.org/all/20200916090121.2350-1-wsa+rene...@sang-engineering.com/ Wolfram Sang (3): mmc: core: improve API to make clear mmc_hw_reset is for cards mmc: core: improve A

Re: [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards

2022-04-01 Thread Wolfram Sang
> I tested it with my Renesas boards, so far no regressions. Buildbots are Wishful thinking, the patches crash now when booting. Still checking what is the difference to when I send the patches out. Still, looking forward to comments on the general approach. signature.asc Description: PGP sig

Re: [Openipmi-developer] [PATCH] ipmi: use simple i2c probe function

2022-03-30 Thread Wolfram Sang
g the identifier tables during probes. > > Signed-off-by: Stephen Kitt Looks good and builds fine: Reviewed-by: Wolfram Sang signature.asc Description: PGP signature ___ Openipmi-developer mailing list Openipmi-developer@lists.sourceforge.net

Re: [RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards

2022-03-21 Thread Wolfram Sang
> I tested it with my Renesas boards, so far no regressions. Buildbots are > currently checking the series. Update: buildbots are happy \o/ signature.asc Description: PGP signature ___ ath10k mailing list ath10k@lists.infradead.org http://lists.infra

[RFC PATCH 02/10] ath10k: sdio: update to new MMC API for resetting cards

2022-03-21 Thread Wolfram Sang
No functional change, only the name and the argument type change to avoid confusion between resetting a card and a host controller. Signed-off-by: Wolfram Sang --- RFC, please do not apply yet. drivers/net/wireless/ath/ath10k/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[RFC PATCH 00/10] mmc: improve API to make clear {h|s}w_reset is for cards

2022-03-21 Thread Wolfram Sang
next as of yesterday. A branch is here: git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/mmc/reset-api Looking forward to comments. Happy hacking, Wolfram [1] https://lore.kernel.org/all/20200916090121.2350-1-wsa+rene...@sang-engineering.com/ Wolfram Sang (10): mmc:

Re: [sane-devel] Proposal to remove kernel build of plustek_pp

2022-03-15 Thread Wolfram Sang
> Any objections? More the opposite, I am all for it! signature.asc Description: PGP signature

Re: [Openipmi-developer] [PATCH v6 3/4] ipmi: ssif_bmc: Return -EFAULT if copy_from_user() fails

2022-03-10 Thread Wolfram Sang
On Thu, Mar 10, 2022 at 06:41:18PM +0700, Quan Nguyen wrote: > From: Dan Carpenter > > The copy_from_user() function returns the number of bytes remaining to > be copied but we should return -EFAULT here. > > Fixes: 501c25b59508 ("ipmi: ssif_bmc: Add SSIF BMC driver") > Signed-off-by: Dan Carpen

<    1   2   3   4   5   6   7   8   9   10   >