[PATCH 0/6] phase out CONFIG_VIRT_TO_BUS

2022-06-06 Thread Arnd Bergmann
From: Arnd Bergmann The virt_to_bus/bus_to_virt interface has been deprecated for decades. After Jakub Kicinski put a lot of work into cleaning out the network drivers using them, there are only a couple of other drivers left, which can all be removed or otherwise cleaned up, to remove the old in

[PATCH 1/6] vme: remove ca91cx42 Universe-II support

2022-06-06 Thread Arnd Bergmann
From: Arnd Bergmann This is one of four remaining drivers using the ancient virt_to_bus() interface instead of the dma-mapping interface, making it incompatible with most modern machines. As nobody has cleaned this up, there is a high chance that this driver has no actual users. The chip was int

[PATCH 2/6] vme: move back to staging

2022-06-06 Thread Arnd Bergmann
From: Arnd Bergmann The VME subsystem graduated from staging into a top-level subsystem in 2012, with commit db3b9e990e75 ("Staging: VME: move VME drivers out of staging") stating: The VME device drivers have not moved out yet due to some API questions they are still working through, tha

[PATCH 3/6] media: sta2x11: remove VIRT_TO_BUS dependency

2022-06-06 Thread Arnd Bergmann
From: Arnd Bergmann This driver does not use the virt_to_bus() function, though it depends on x86 specific fixups in the swiotlb code, which was last rewritten in commit e380a0394c36 ("x86/PCI: sta2x11: use default DMA address translation"). It is possible that the driver still fails to build on

[PATCH 4/6] scsi: dpt_i2o: drop stale VIRT_TO_BUS dependency

2022-06-06 Thread Arnd Bergmann
From: Arnd Bergmann The dpt_i2o driver was fixed to stop using virt_to_bus() in 2008 but it a stale reference in a broken error handling code path that could never work. Fix it up to build without VIRT_TO_BUS and remove the Kconfig dependency. The alternative to this would be to just remove the

[PATCH 6/6] arch/*/: remove CONFIG_VIRT_TO_BUS

2022-06-06 Thread Arnd Bergmann
From: Arnd Bergmann All architecture-independent users of virt_to_bus() and bus_to_virt() have been fixed to use the dma mapping interfaces or have been removed now. This means the definitions on most architectures, and the CONFIG_VIRT_TO_BUS symbol are now obsolete and can be removed. The only

Re: [PATCH] ASoC: imx-audmux: remove unnecessary check of clk_disable_unprepare

2022-06-06 Thread Shengjiu Wang
On Thu, Jun 2, 2022 at 3:14 PM wrote: > From: Minghao Chi > > Because clk_disable_unprepare already checked NULL clock > parameter, so the additional checks are unnecessary, just remove them. > > Reported-by: Zeal Robot > Signed-off-by: Minghao Chi > --- > sound/soc/fsl/imx-audmux.c | 6 ++---

Re: [PATCH 2/3] ASoC: fsl_sai: convert to dev_err_probe

2022-06-06 Thread Shengjiu Wang
On Wed, Jun 1, 2022 at 5:23 PM Marco Felsch wrote: > Make use of the new macro to get device defered information for free > and to cleanup the code a bit. No functional changes. > > Signed-off-by: Marco Felsch > --- > sound/soc/fsl/fsl_sai.c | 33 +++-- > 1 file chan

Re: [PATCH V4] ASoC: fsl_xcvr:Fix unbalanced pm_runtime_enable in fsl_xcvr_probe

2022-06-06 Thread Shengjiu Wang
On Thu, Jun 2, 2022 at 3:18 PM zhangqilong wrote: > a) Add missing pm_runtime_disable() when probe error out. It could > avoid pm_runtime implementation complains when removing and probing > again the driver. > b) Add remove for missing pm_runtime_disable(). > > Fix:c590fa80b3928 ("ASoC: fsl_xcvr

Re: [PATCH 1/3] ASoC: fsl_sai: use local device pointer

2022-06-06 Thread Shengjiu Wang
On Wed, Jun 1, 2022 at 5:23 PM Marco Felsch wrote: > Use a local variable to dereference the device pointer once and use the > local variable in further calls. No functional changes. > > Signed-off-by: Marco Felsch > Acked-by: Shengjiu Wang Best regards Wang shengjiu > --- > sound/soc/fsl/f

Re: [PATCH 3/3] ASoC: fsl_sai: add error message in case of missing imx-pcm-dma support

2022-06-06 Thread Shengjiu Wang
On Wed, Jun 1, 2022 at 5:23 PM Marco Felsch wrote: > If the imx-pcm-dma is required we need to have the module enabled. For > all NXP/FSL sound cards using the ASoC architecture this is the case but > in case of using the simple-audio-card sound card this isn't the case. > > In such case the driv

Re: Build regressions/improvements in v5.19-rc1

2022-06-06 Thread Geert Uytterhoeven
On Mon, 6 Jun 2022, Geert Uytterhoeven wrote: Below is the list of build error/warning regressions/improvements in v5.19-rc1[1] compared to v5.18[2]. Summarized: - build errors: +9/-10 [1] http://kisskb.ellerman.id.au/kisskb/branch/linus/head/f2906aa863381afb0015a9eb7fefad885d4e5a56/ (all

Re: [PATCH 0/6] phase out CONFIG_VIRT_TO_BUS

2022-06-06 Thread Greg Kroah-Hartman
On Mon, Jun 06, 2022 at 10:41:03AM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The virt_to_bus/bus_to_virt interface has been deprecated for > decades. After Jakub Kicinski put a lot of work into cleaning out the > network drivers using them, there are only a couple of other drivers > l

Re: [PATCH 5/6] scsi: remove stale BusLogic driver

2022-06-06 Thread Maciej W. Rozycki
On Mon, 6 Jun 2022, Arnd Bergmann wrote: > This was in turn fixed in commit 56f396146af2 ("scsi: BusLogic: Fix > 64-bit system enumeration error for Buslogic"), 8 years later. > > The fact that this was found at all is an indication that there are > users, and it seems that Maciej, Matt and Khali

Re: [PATCH v1] kernel/reboot: Change registration order of legacy power-off handler

2022-06-06 Thread Michael Ellerman
Dmitry Osipenko writes: > Hi Michael, > > On 6/5/22 05:01, Michael Ellerman wrote: >> Dmitry Osipenko writes: >>> We're unconditionally registering sys-off handler for the legacy >>> pm_power_off() callback, this causes problem for platforms that don't >>> use power-off handlers at all and should

Re: [PATCH v1] kernel/reboot: Change registration order of legacy power-off handler

2022-06-06 Thread Dmitry Osipenko
On 6/6/22 16:06, Michael Ellerman wrote: > Dmitry Osipenko writes: >> Hi Michael, >> >> On 6/5/22 05:01, Michael Ellerman wrote: >>> Dmitry Osipenko writes: We're unconditionally registering sys-off handler for the legacy pm_power_off() callback, this causes problem for platforms that d

[Bug 209277] powerpc: obsolete driver: Marvell MV64X60 MPSC

2022-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209277 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|NEW |RESOLVED

[Bug 209277] powerpc: obsolete driver: Marvell MV64X60 MPSC

2022-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209277 Michael Ellerman (mich...@ellerman.id.au) changed: What|Removed |Added Status|RESOLVED|CLOSED -- Yo

Re: [FSL P50x0] Keyboard and mouse don't work anymore after the devicetree updates for 5.19

2022-06-06 Thread Rob Herring
On Fri, May 27, 2022 at 9:23 AM Rob Herring wrote: > > On Fri, May 27, 2022 at 3:33 AM Christian Zigotzky > wrote: > > > > On 27 May 2022 at 10:14 am, Prabhakar Mahadev Lad wrote: > > > Hi, > > > > > >> -Original Message- > > >> From: Christian Zigotzky > > >> > > >> On 27 May 2022 at 09

Re: [PATCH 5/6] scsi: remove stale BusLogic driver

2022-06-06 Thread Arnd Bergmann
On Mon, Jun 6, 2022 at 12:40 PM Maciej W. Rozycki wrote: > > On Mon, 6 Jun 2022, Arnd Bergmann wrote: > > > This was in turn fixed in commit 56f396146af2 ("scsi: BusLogic: Fix > > 64-bit system enumeration error for Buslogic"), 8 years later. > > > > The fact that this was found at all is an indic

Re: [PATCH 0/6] phase out CONFIG_VIRT_TO_BUS

2022-06-06 Thread Arnd Bergmann
On Mon, Jun 6, 2022 at 11:25 AM Greg Kroah-Hartman wrote: > > I'll take patches 1 and 2 right now through my staging tree if that's > ok. Yes, that's perfect, as there are no actual interdependencies with the other drivers -- applying the last patch first would just hide the driver I'm removing h

[FSL P50x0] Keyboard and mouse don't work anymore after the devicetree updates for 5.19

2022-06-06 Thread Christian Zigotzky
On 06 June 2022 at 04:58 pm, Rob Herring wrote: On Fri, May 27, 2022 at 9:23 AM Rob Herring wrote: On Fri, May 27, 2022 at 3:33 AM Christian Zigotzky wrote: On 27 May 2022 at 10:14 am, Prabhakar Mahadev Lad wrote: Hi, -Original Message- From: Christian Zigotzky On 27 May 2022 at

[PATCH v1] kernel/reboot: Fix powering off using a non-syscall code paths

2022-06-06 Thread Dmitry Osipenko
There are other methods of powering off machine than the reboot syscall. Previously we missed to coved those methods and it created power-off regression for some machines, like the PowerPC e500. Fix this problem by moving the legacy sys-off handler registration to the latest phase of power-off proc

Re: [FSL P50x0] Keyboard and mouse don't work anymore after the devicetree updates for 5.19

2022-06-06 Thread Rob Herring
On Mon, Jun 6, 2022 at 11:14 AM Christian Zigotzky wrote: > > On 06 June 2022 at 04:58 pm, Rob Herring wrote: > > On Fri, May 27, 2022 at 9:23 AM Rob Herring wrote: > >> On Fri, May 27, 2022 at 3:33 AM Christian Zigotzky > >> wrote: > >>> On 27 May 2022 at 10:14 am, Prabhakar Mahadev Lad wrote:

Re: [PATCH 0/2] Disabling NMI watchdog during LPM's memory transfer

2022-06-06 Thread Nathan Lynch
Laurent Dufour writes: > On 02/06/2022, 19:58:31, Nathan Lynch wrote: >> Laurent Dufour writes: >>> When a partition is transferred, once it arrives at the destination node, >>> the partition is active but much of its memory must be transferred from the >>> start node. >>> >>> It depends on the a

Re: [PATCH 5/6] scsi: remove stale BusLogic driver

2022-06-06 Thread Khalid Aziz
On 6/6/22 02:41, Arnd Bergmann wrote: From: Arnd Bergmann The BusLogic driver is the last remaining driver that relies on the deprecated bus_to_virt() function, which in turn only works on a few architectures, and is incompatible with both swiotlb and iommu support. Before commit 391e2f25601e (

Re: outside array bounds error on ppc64_defconfig, GCC 12.1.0

2022-06-06 Thread Michael Ellerman
Bagas Sanjaya writes: > Hi, > > I'm trying to verify Drop ppc_inst_as_str() patch on [1] by performing > ppc64_defconfig build with powerpc64-unknown-linux-gnu-gcc (GCC 12.1.0). > The patch is applied on top of powerpc tree, next branch. Yeah I see it too. > I got outside array bounds error: > >

[Bug 216090] New: GCC12: printk.h:446:44: error: using a dangling pointer to '__str'

2022-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216090 Bug ID: 216090 Summary: GCC12: printk.h:446:44: error: using a dangling pointer to '__str' Product: Platform Specific/Hardware Version: 2.5 Kernel Version: 5.17.13 Hard