[PATCH 00/59] dma: Convert to platform remove callback returning void

2023-09-19 Thread Uwe Kleine-König
Hello, this series convert nearly all platform drivers below drivers/dma to use .remove_new(). The motivation is to get rid of an integer return code that is (mostly) ignored by the platform driver core and error prone on the driver side. See commit 5c5a7680e67b ("platform: Provide a remove

Re: [PATCH v10 13/15] PCI/AER: Forward RCH downstream port-detected errors to the CXL.mem dev handler

2023-09-19 Thread Terry Bowman
Hi Dan, On 8/31/23 15:35, Dan Williams wrote: > Terry Bowman wrote: >> From: Robert Richter >> >> In Restricted CXL Device (RCD) mode a CXL device is exposed as an >> RCiEP, but CXL downstream and upstream ports are not enumerated and >> not visible in the PCIe hierarchy. [1] Protocol and link

Re: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-19 Thread Peter Lafreniere
Hi Geert, On Tue, Sep 19, 2023 at 12:02, Geert Uytterhoeven wrote: > > Hi Peter, > > On Tue, Sep 19, 2023 at 5:58 PM Peter Lafreniere pe...@n8pjl.ca wrote: > > > 2) Stops building an obsolete and largely-unused filesystem unnecessarily. > > Some hobbyist targets like m68k and alpha may prefer

Re: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-19 Thread Geert Uytterhoeven
Hi Peter, On Tue, Sep 19, 2023 at 5:58 PM Peter Lafreniere wrote: > 2) Stops building an obsolete and largely-unused filesystem unnecessarily. > Some hobbyist targets like m68k and alpha may prefer to keep all > filesystems > available until total removal, but others like arm and UML

Re: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-19 Thread Peter Lafreniere
On Tue, Sep 19, 2023 at 11:16, Segher Boessenkool wrote: > > On Tue, Sep 19, 2023 at 12:00:34AM +, Peter Lafreniere wrote: > > > On Monday, September 18th, 2023 at 19:41, Segher Boessenkool > > seg...@kernel.crashing.org wrote: > > > > > On Mon, Sep 18, 2023 at 05:56:09PM +, Peter

Re: [PATCH 0/7] arch/*: config: Remove ReiserFS from defconfig

2023-09-19 Thread Segher Boessenkool
On Tue, Sep 19, 2023 at 12:00:34AM +, Peter Lafreniere wrote: > On Monday, September 18th, 2023 at 19:41, Segher Boessenkool > wrote: > > On Mon, Sep 18, 2023 at 05:56:09PM +, Peter Lafreniere wrote: > > > > > ReiserFS has been considered deprecated for 19 months since commit > > >

[PATCH v5] drivers/net: process the result of hdlc_open() and add call of hdlc_close() in uhdlc_close()

2023-09-19 Thread Alexandra Diupina
Process the result of hdlc_open() and call uhdlc_close() in case of an error. It is necessary to pass the error code up the control flow, similar to a possible error in request_irq(). Also add a hdlc_close() call to the uhdlc_close() because the comment to hdlc_close() says it must be called by

[PATCH 15/59] dma: fsldma: Convert to platform remove callback returning void

2023-09-19 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is ignored (apart from emitting a warning) and this typically results in resource leaks. To improve

Re: [RFC PATCH v3 6/9] media: v4l2: Add audio capture and output support

2023-09-19 Thread Sakari Ailus
Hi Shengjiu, On Tue, Sep 19, 2023 at 06:31:09PM +0800, Shengjiu Wang wrote: ... > > > +* > > > +V4L2_AUDIO_FMT_LPCM ('LPCM') > > > +* Something to fix here, too...? > > > + > > > +Linear Pulse-Code Modulation (LPCM) > > > + > > > + > > >

Re: [PATCH v8 23/24] iommu: Convert simple drivers with DOMAIN_DMA to domain_alloc_paging()

2023-09-19 Thread 吴勇
On Wed, 2023-09-13 at 10:43 -0300, Jason Gunthorpe wrote: > > External email : Please do not click links or open attachments until > you have verified the sender or the content. > These drivers are all trivially converted since the function is only > called if the domain type is going to

Re: [PATCH v2] hwmon: (ibmpowernv) refactor deprecated strncpy

2023-09-19 Thread Michael Ellerman
Justin Stitt writes: > `strncpy` is deprecated for use on NUL-terminated destination strings [1]. > > A suitable replacement is `memcpy` as we've already precisely calculated > the number of bytes to copy while `buf` has been explicitly > zero-initialized: > | char buf[8] = { 0 }; > > Link:

Re: [RFC PATCH v3 6/9] media: v4l2: Add audio capture and output support

2023-09-19 Thread Shengjiu Wang
On Thu, Sep 14, 2023 at 6:17 PM Sakari Ailus wrote: > > Hi Shenjiu, > > Thanks for the update. > > On Thu, Sep 14, 2023 at 01:54:02PM +0800, Shengjiu Wang wrote: > > Audio signal processing has the requirement for memory to > > memory similar as Video. > > > > This patch is to add this support in

[PATCH] ASoC: fsl_sai: Don't disable bitclock for i.MX8MP

2023-09-19 Thread Shengjiu Wang
On i.MX8MP, the BCE and TERE bit are binding with mclk enablement, if BCE and TERE are cleared the MCLK also be disabled on output pin, that cause the external codec (wm8960) in wrong state. Codec (wm8960) is using the mclk to generate PLL clock, if mclk is disabled before disabling PLL, the

Re: [PATCH] powerpc: add `cur_cpu_spec` symbol to vmcoreinfo

2023-09-19 Thread Michael Ellerman
Aditya Gupta writes: > On Thu, Sep 14, 2023 at 11:22:01PM +1000, Michael Ellerman wrote: >> Aditya Gupta writes: >> > Presently, while reading a vmcore, makedumpfile uses >> > `cur_cpu_spec.mmu_features` to decide whether the crashed system had >> > RADIX MMU or not. >> > >> > Currently,

Re: [PATCH v2 2/2] powerpc: Replace GPL 2.0+ README.legal boilerplate with SPDX

2023-09-19 Thread Michael Ellerman
Geert Uytterhoeven writes: > Hi Michael, > > On Tue, Sep 19, 2023 at 4:13 AM Michael Ellerman wrote: >> Geert Uytterhoeven writes: >> > Upstream Linux never had a "README.legal" file, but it was present >> > in early source releases of Linux/m68k. It contained a simple copyright >> > notice

Re: [PATCH] powerpc: add `cur_cpu_spec` symbol to vmcoreinfo

2023-09-19 Thread Aditya Gupta
On Thu, Sep 14, 2023 at 11:22:01PM +1000, Michael Ellerman wrote: > Aditya Gupta writes: > > Presently, while reading a vmcore, makedumpfile uses > > `cur_cpu_spec.mmu_features` to decide whether the crashed system had > > RADIX MMU or not. > > > > Currently, makedumpfile fails to get the

Re: [PATCH] powerpc: add `cur_cpu_spec` symbol to vmcoreinfo

2023-09-19 Thread Aditya Gupta
Hello mpe, On Fri, Sep 15, 2023 at 11:16:08AM +1000, Michael Ellerman wrote: > Sachin Sant writes: > >> On 14-Sep-2023, at 6:52 PM, Michael Ellerman wrote: > >> > >> Sachin Sant writes: > On 11-Sep-2023, at 2:44 PM, Aditya Gupta wrote: > > Presently, while reading a vmcore,

Re: [RFC PATCH v12 14/33] KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory

2023-09-19 Thread Binbin Wu
On 9/14/2023 9:55 AM, Sean Christopherson wrote: [...] + +static void kvm_gmem_invalidate_begin(struct kvm_gmem *gmem, pgoff_t start, + pgoff_t end) +{ + struct kvm_memory_slot *slot; + struct kvm *kvm = gmem->kvm; + unsigned long index; +

Re: [PATCH v2 2/2] powerpc: Replace GPL 2.0+ README.legal boilerplate with SPDX

2023-09-19 Thread Geert Uytterhoeven
Hi Michael, On Tue, Sep 19, 2023 at 4:13 AM Michael Ellerman wrote: > Geert Uytterhoeven writes: > > Upstream Linux never had a "README.legal" file, but it was present > > in early source releases of Linux/m68k. It contained a simple copyright > > notice and a link to a version of the