[PATCH 2/2] ALSA: usb-audio: Check connector value on resume

2021-03-24 Thread Kai-Heng Feng
Rear Mic on Lenovo P620 cannot record after S3, despite that there's no error and the other two functions of the USB audio, Line In and Line Out, work just fine. The mic starts to work again after running userspace app like "alsactl store". Following the lead, the evidence shows that as soon as co

Re: [PATCH 08/14] irqchip: Add driver for WPCM450 interrupt controller

2021-03-24 Thread Marc Zyngier
On Sat, 20 Mar 2021 18:16:04 +, Jonathan Neuschäfer wrote: > > The WPCM450 AIC ("Advanced Interrupt Controller") is the interrupt > controller found in the Nuvoton WPCM450 SoC and other Winbond/Nuvoton > SoCs. > > The list of registers if based on the AMI vendor kernel and the > Nuvoton W90N

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-24 Thread Alex Williamson
On Wed, 24 Mar 2021 17:13:56 +0200 Leon Romanovsky wrote: > On Wed, Mar 24, 2021 at 08:37:43AM -0600, Alex Williamson wrote: > > On Wed, 24 Mar 2021 12:03:00 +0200 > > Leon Romanovsky wrote: > > > > > On Mon, Mar 22, 2021 at 11:10:03AM -0600, Alex Williamson wrote: > > > > On Sun, 21 Mar 20

Re: [PATCH v5 05/19] arm64: Add support for trace synchronization barrier

2021-03-24 Thread Catalin Marinas
On Wed, Mar 24, 2021 at 05:06:58PM +, Suzuki K Poulose wrote: > On 24/03/2021 16:30, Marc Zyngier wrote: > > On Wed, 24 Mar 2021 16:25:12 +, > > Suzuki K Poulose wrote: > > > > > > On 24/03/2021 16:16, Marc Zyngier wrote: > > > > On Wed, 24 Mar 2021 15:51:14 +, > > > > Suzuki K Poulos

[RFC patch] vsprintf: Allow %pe to print non PTR_ERR %pe uses as decimal

2021-03-24 Thread Joe Perches
On Wed, 2021-03-24 at 09:52 -0700, Joe Perches wrote: > On Wed, 2021-03-24 at 17:42 +0100, Arnd Bergmann wrote: > > On Wed, Mar 24, 2021 at 3:20 PM Joe Perches wrote: > [] > > > > diff --git a/drivers/gpu/drm/imx/imx-ldb.c > > > > b/drivers/gpu/drm/imx/imx-ldb.c > > > [] > > > > @@ -197,6 +197,12

Re: [PATCH v5 2/8] usb: dwc3: of-simple: bail probe if no dwc3 child node

2021-03-24 Thread Johan Jonker
On 3/24/21 5:41 PM, Heiko Stübner wrote: > Hi Greg, Felipe, > > Am Dienstag, 9. Februar 2021, 20:23:44 CET schrieb Johan Jonker: >> For some of the dwc3-of-simple compatible SoCs we >> don't want to bind this driver to a dwc3 node, >> but bind that node to the 'snps,dwc3' driver instead. >> The ke

Re: [RFC PATCH v2 04/11] PCI/P2PDMA: Introduce pci_p2pdma_should_map_bus() and pci_p2pdma_bus_offset()

2021-03-24 Thread Jason Gunthorpe
On Mon, Mar 15, 2021 at 10:27:08AM -0600, Logan Gunthorpe wrote: > In this case the WARN_ON is just to guard against misuse of the > function. It should never happen unless a developer changes the code in > a way that is incorrect. So I think that's the correct use of WARN_ON. > Though I might cha

Re: [PATCH 10/11] drm/i915: avoid stringop-overread warning on pri_latency

2021-03-24 Thread Ville Syrjälä
On Wed, Mar 24, 2021 at 05:30:24PM +0200, Jani Nikula wrote: > On Mon, 22 Mar 2021, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > gcc-11 warns about what appears to be an out-of-range array access: > > > > In function ‘snb_wm_latency_quirk’, > > inlined from ‘ilk_setup_wm_latency’ at

[PATCH] ALSA: usb-audio: Fix missing return assignment

2021-03-24 Thread Muhammad Usama Anjum
Return value of usb_driver_claim_interface should not be ignored. Instead it should be stored in err variable and returned from this function. Signed-off-by: Muhammad Usama Anjum --- sound/usb/quirks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/usb/quirks.c b/s

[GIT PULL] platform-drivers-x86 for 5.12-2

2021-03-24 Thread Hans de Goede
Hi Linus, Here is a set of bug-fixes and some model specific quirks for platform-drivers-x86 for 5.12. Regards, Hans The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: git://git

Re: [GIT PULL] cachefiles, afs: mm wait fixes

2021-03-24 Thread Linus Torvalds
On Wed, Mar 24, 2021 at 1:21 AM David Howells wrote: > > - I've included these together since they are an excerpt from a patch >series of Willy's, but I can send the first separately from the other >two if you'd prefer since they touch different modules. It's small enough and related eno

Re: [PATCH 2/2] remoteproc: k3-r5: Extend support to R5F clusters on AM64x SoCs

2021-03-24 Thread Suman Anna
Hi Mathieu, On 3/24/21 11:46 AM, Mathieu Poirier wrote: > Good day Suman, > > On Thu, Mar 18, 2021 at 04:58:42PM -0500, Suman Anna wrote: >> The K3 AM64x SoC family has a revised R5F sub-system and contains a >> subset of the R5F clusters present on J721E SoCs. The K3 AM64x SoCs >> only have two

Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-03-24 Thread Rob Herring
On Wed, Mar 24, 2021 at 11:01 AM Christophe Leroy wrote: > > > > Le 09/03/2021 à 22:29, Daniel Walker a écrit : > > On Tue, Mar 09, 2021 at 08:47:09AM +0100, Christophe Leroy wrote: > >> > >> > >> Le 09/03/2021 à 01:02, Daniel Walker a écrit : > >>> This is a scripted mass convert of the config fi

Re: [PATCH net-next] net: ipa: avoid 64-bit modulus

2021-03-24 Thread Alex Elder
On 3/24/21 12:12 PM, David Laight wrote: I think 'count' is also required to be a power of 2. so you could have checked 'addr & (size - 1)'. It is required to be, and that is checked elsewhere (in gsi_channel_data_valid()). And yes, size would therefore be a power-of-2, and so your clever test

Re: [RFC patch] vsprintf: Allow %pe to print non PTR_ERR %pe uses as decimal

2021-03-24 Thread Rasmus Villemoes
On 24/03/2021 18.20, Joe Perches wrote: > On Wed, 2021-03-24 at 09:52 -0700, Joe Perches wrote: >> On Wed, 2021-03-24 at 17:42 +0100, Arnd Bergmann wrote: >>> On Wed, Mar 24, 2021 at 3:20 PM Joe Perches wrote: >> [] > diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c >

[PATCH 00/25] Rid W=1 warnings from HID

2021-03-24 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (25): HID: intel-ish-hid: Remove unused variable 'err' HID: ishtp-hid-client: Move variable to where it's actually used HID: intel-i

[PATCH 01/25] HID: intel-ish-hid: Remove unused variable 'err'

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ishtp/client.c: In function ‘ishtp_cl_disconnect’: drivers/hid/intel-ish-hid/ishtp/client.c:266:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: Benja

[PATCH 06/25] HID: usbhid: Repair a formatting issue in a struct description

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/usbhid/usbkbd.c:66: warning: bad line: should be on Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: message to Cc: linux-...@vger.kernel.org Cc: linux-in...@vger.kernel.org Signed-off-by: Lee Jones --- drivers/hid/usbhi

[PATCH 05/25] HID: intel-ish: Fix a naming disparity and a formatting error

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ishtp/hbm.c:409: warning: expecting prototype for ishtp_client_disconnect_request(). Prototype was for ishtp_hbm_fw_disconnect_req() instead drivers/hid/intel-ish-hid/ishtp/hbm.c:433: warning: wrong kernel-doc identifi

[PATCH 07/25] HID: intel-ish-hid: Fix a little doc-rot

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ishtp/client.c:121: warning: Function parameter or member 'cl_device' not described in 'ishtp_cl_allocate' drivers/hid/intel-ish-hid/ishtp/client.c:121: warning: Excess function parameter 'dev' description in 'ishtp_cl_

[PATCH 11/25] HID: hid-core: Fix incorrect function name in header

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-core.c:2142: warning: expecting prototype for store_new_id(). Prototype was for new_id_store() instead Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: Vojtech Pavlik Cc: Michael Haboustak Cc: linux-in...@vger.kernel.org Signed-off-

[PATCH 08/25] HID: usbhid: hid-pidff: Demote a couple kernel-doc abuses

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/usbhid/hid-pidff.c:512: warning: Function parameter or member 'dev' not described in 'pidff_playback' drivers/hid/usbhid/hid-pidff.c:512: warning: Function parameter or member 'effect_id' not described in 'pidff_playback' drivers/hi

[PATCH 04/25] HID: intel-ish: Supply some missing param descriptions

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ishtp/bus.c:173: warning: Function parameter or member 'fw_client' not described in 'ishtp_get_fw_client_id' drivers/hid/intel-ish-hid/ishtp/bus.c:845: warning: Function parameter or member 'device' not described in 'is

[PATCH 16/25] HID: hid-logitech-hidpp: Fix conformant kernel-doc header and demote abuses

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-logitech-hidpp.c:275: warning: Function parameter or member 'hidpp' not described in 'hidpp_send_message_sync' drivers/hid/hid-logitech-hidpp.c:275: warning: Function parameter or member 'message' not described in 'hidpp_send_mes

[PATCH 14/25] HID: hid-kye: Fix incorrect function name for kye_tablet_enable()

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-kye.c:666: warning: expecting prototype for Enable fully(). Prototype was for kye_tablet_enable() instead Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Signed-off-by: Lee Jones --- drivers/hid/hid-kye.

[PATCH 03/25] HID: intel-ish-hid: pci-ish: Remove unused variable 'ret'

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ipc/pci-ish.c: In function ‘ish_resume_handler’: drivers/hid/intel-ish-hid/ipc/pci-ish.c:264:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: Benjamin

[PATCH 17/25] HID: hid-uclogic-rdesc: Kernel-doc is for functions and structs

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-uclogic-rdesc.c:645: warning: wrong kernel-doc identifier on line: Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: linux-in...@vger.kernel.org Signed-off-by: Lee Jones --- drivers/hid/hid-uclogic-rdesc.c | 2 +- 1 file changed, 1 i

[PATCH 09/25] HID: hid-alps: Correct struct misnaming

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-alps.c:113: warning: expecting prototype for struct u1_data. Prototype was for struct alps_dev instead Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: Henrik Rydberg Cc: Masaki Ota Cc: linux-in...@vger.kernel.org Signed-off-by: Lee

[PATCH 13/25] HID: ishtp-hid-client: Fix incorrect function name report_bad_packet()

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ishtp-hid-client.c:36: warning: expecting prototype for report_bad_packets(). Prototype was for report_bad_packet() instead Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: Daniel Drubin Cc: linux-i

[PATCH 02/25] HID: ishtp-hid-client: Move variable to where it's actually used

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/hid/intel-ish-hid/ishtp-hid.c:11: drivers/hid/intel-ish-hid/ishtp-hid.h:24:21: warning: ‘hid_ishtp_guid’ defined but not used [-Wunused-const-variable=] Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: Benjamin Tis

[PATCH 12/25] HID: intel-ish-hid: ipc: Correct fw_reset_work_fn() function name in header

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/intel-ish-hid/ipc/ipc.c:553: warning: expecting prototype for ish_fw_reset_work_fn(). Prototype was for fw_reset_work_fn() instead Cc: Srinivas Pandruvada Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: Zhang Lixu Cc: "Krzysztof Wilczy

[PATCH 10/25] HID: intel-ish-hid: Fix potential copy/paste error

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): In file included from drivers/hid/intel-ish-hid/ishtp-hid.c:11: drivers/hid/intel-ish-hid/ishtp-hid.c:263: warning: expecting prototype for ishtp_hid_probe(). Prototype was for ishtp_hid_remove() instead Cc: Srinivas Pandruvada Cc: Jiri Kosina

[PATCH 18/25] HID: hid-thrustmaster: Demote a bunch of kernel-doc abuses

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-thrustmaster.c:23: warning: Incorrect use of kernel-doc format: * These interrupts are used to prevent a nasty crash when initializing the drivers/hid/hid-thrustmaster.c:26: warning: cannot understand function prototype: 'const

[PATCH 15/25] HID: hid-picolcd_core: Remove unused variable 'ret'

2021-03-24 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-picolcd_core.c: In function ‘picolcd_raw_event’: drivers/hid/hid-picolcd_core.c:332:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: "Bruno Prémont" Cc: Jiri Kosina Cc: Benjamin Tissoires Cc: "L. Vin

[syzbot] UBSAN: shift-out-of-bounds in vhci_hub_control (2)

2021-03-24 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:84196390 Merge tag 'selinux-pr-20210322' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12ea778ad0 kernel config: https://syzkaller.appspot.com/x/.config?x=5adab0bdee099d7a das

Re: [PATCH] static_call: fix function type mismatch

2021-03-24 Thread Peter Zijlstra
On Wed, Mar 24, 2021 at 05:45:52PM +0100, Rasmus Villemoes wrote: > Sorry, I think I misread the code. The static calls are indeed > initialized with a function with the right prototype. Try adding > "preempt=full" on the command line so that we exercise these lines > >static_call_

Re: [PATCH v4 1/1] mfd: intel_quark_i2c_gpio: enable MSI interrupt

2021-03-24 Thread Lee Jones
On Wed, 24 Mar 2021, Andy Shevchenko wrote: > Allow interrupts to be MSI if supported by hardware. > > Signed-off-by: Andy Shevchenko > --- > v4: rebased on clean for-mfd-next branch (Lee) > drivers/mfd/intel_quark_i2c_gpio.c | 22 -- > 1 file changed, 16 insertions(+), 6 de

[PATCH] x86/kprobes: Remove dead code

2021-03-24 Thread Muhammad Usama Anjum
The condition in switch statement `opcode & 0xf0` cannot evaluate to 0xff. So this case statement will never execute. Remove it. Fixes: 6256e668b7 ("x86/kprobes: Use int3 instead of debug trap for single-step") Signed-off-by: Muhammad Usama Anjum --- arch/x86/kernel/kprobes/core.c | 3 --- 1 fi

Re: Is s390's new generic-using syscall code actually correct?

2021-03-24 Thread Vasily Gorbik
Hi Andy, On Sat, Mar 20, 2021 at 08:48:34PM -0700, Andy Lutomirski wrote: > Hi all- > > I'm working on my kentry patchset, and I encountered: > > commit 56e62a73702836017564eaacd5212e4d0fa1c01d > Author: Sven Schnelle > Date: Sat Nov 21 11:14:56 2020 +0100 > > s390: convert to generic en

Re: [PATCH v3 01/11] pagemap: Introduce ->memory_failure()

2021-03-24 Thread Christoph Hellwig
On Wed, Mar 24, 2021 at 09:37:01AM -0700, Dan Williams wrote: > > Eww. As I said I think the right way is that the file system (or > > other consumer) can register a set of callbacks for opening the device. > > How does that solve the problem of the driver being notified of all > pfn failure even

Re: [PATCH v5 05/19] arm64: Add support for trace synchronization barrier

2021-03-24 Thread Marc Zyngier
On Wed, 24 Mar 2021 17:19:36 +, Catalin Marinas wrote: > > On Wed, Mar 24, 2021 at 05:06:58PM +, Suzuki K Poulose wrote: > > On 24/03/2021 16:30, Marc Zyngier wrote: > > > > > > OK, so we definitely do need these patches, don't we? Both? Just one? > > > Please have a look at kvmarm/fixes

Re: [PATCH 1/3] dt-bindings: serial: amlogic, meson-uart: add amlogic, uart-fifosize property

2021-03-24 Thread Rob Herring
On Tue, Mar 23, 2021 at 10:33:15PM +0100, Martin Blumenstingl wrote: > Hi Neil, > > On Mon, Mar 15, 2021 at 9:37 AM Neil Armstrong > wrote: > > > > On most of the Amlogic SoCs, the first UART controller in the > > "Everything-Else" > > power domain has 128bytes of RX & TX FIFO, so add an optio

Re: [PATCH] arm64: move --fix-cortex-a53-843419 linker test to Kconfig

2021-03-24 Thread Nathan Chancellor
On Wed, Mar 24, 2021 at 04:11:28PM +0900, Masahiro Yamada wrote: > $(call ld-option, --fix-cortex-a53-843419) in arch/arm64/Makefile is > evaluated every time even for Make targets that do not need the linker, > such as "make ARCH=arm64 install". > > Recently, the Kbuild tree queued up a patch to

Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning

2021-03-24 Thread Rob Herring
On Fri, Mar 19, 2021 at 07:13:27PM +0800, dillon min wrote: > Hi Alexandre, > > Thanks for the reply. > > On Fri, Mar 19, 2021 at 4:38 PM Alexandre TORGUE > wrote: > > > > Hi Dillon > > > > On 3/19/21 5:28 AM, dillon min wrote: > > > No changes, Just loop lkp in. > > > > > > > > > Hi lkp, > > >

Re: [PATCH 3/3] mm/devmap: Remove pgmap accounting in the get_user_pages_fast() path

2021-03-24 Thread Dan Williams
On Thu, Mar 18, 2021 at 3:02 AM Joao Martins wrote: > > On 3/18/21 4:08 AM, Dan Williams wrote: > > Now that device-dax and filesystem-dax are guaranteed to unmap all user > > mappings of devmap / DAX pages before tearing down the 'struct page' > > array, get_user_pages_fast() can rely on its trad

Re: [RFC Part2 PATCH 06/30] x86/fault: dump the RMP entry on #PF

2021-03-24 Thread Andy Lutomirski
On Wed, Mar 24, 2021 at 10:04 AM Brijesh Singh wrote: > > If hardware detects an RMP violation, it will raise a page-fault exception > with the RMP bit set. To help the debug, dump the RMP entry of the faulting > address. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Borislav Petkov > Cc: Joe

Re: [PATCH] docs: rbtree.rst: Fix a typo

2021-03-24 Thread Randy Dunlap
On 3/24/21 1:00 AM, Bhaskar Chowdhury wrote: > > s/maintanence/maintenance/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Documentation/core-api/rbtree.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/core-api/rbtree.rst > b/D

Re: [PATCH] sfc-falcon: Fix a typo

2021-03-24 Thread Randy Dunlap
On 3/24/21 12:52 AM, Bhaskar Chowdhury wrote: > > s/maintaning/maintaining/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/ethernet/sfc/falcon/net_driver.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/sfc/falc

Re: [PATCH] x86/apic: Rudimentary typo fixes

2021-03-24 Thread Randy Dunlap
On 3/24/21 6:41 AM, Bhaskar Chowdhury wrote: > > s/preferrable/preferable/ > s/serivced/serviced/ > s/distributon/distribution/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/x86/kernel/apic/apic.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > d

Re: [PATCH] x86/kprobes: Remove dead code

2021-03-24 Thread Colin Ian King
On 24/03/2021 17:36, Muhammad Usama Anjum wrote: > The condition in switch statement `opcode & 0xf0` cannot evaluate to > 0xff. So this case statement will never execute. Remove it. > > Fixes: 6256e668b7 ("x86/kprobes: Use int3 instead of debug trap for > single-step") > Signed-off-by: Muhammad U

Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-24 Thread Rob Herring
On Tue, Mar 16, 2021 at 07:22:56PM +0100, Michael Walle wrote: > Am 2021-03-16 19:06, schrieb Pratyush Yadav: > > On 16/03/21 06:45PM, Michael Walle wrote: > > > Am 2021-03-15 19:30, schrieb Pratyush Yadav: > > > > > > .. > > > > > +patternProperties: > > > > > + "@[0-9a-f]+": > > > > > > Should

Re: [PATCH] ALSA: pcm: A typo fix

2021-03-24 Thread Randy Dunlap
On 3/23/21 11:56 PM, Bhaskar Chowdhury wrote: > > s/unconditonally/unconditionally/ > > Signed-off-by: Bhaskar Chowdhury > --- > sound/core/pcm_native.c | 80 - > 1 file changed, 40 insertions(+), 40 deletions(-) > > diff --git a/sound/core/pcm_native.c

Re: [PATCH] sparc/traps_64.c: Mundane typo fixes

2021-03-24 Thread Randy Dunlap
On 3/23/21 11:02 PM, Bhaskar Chowdhury wrote: > s/conditon/condition/ > s/periof/period/ > > Signed-off-by: Bhaskar Chowdhury > --- > arch/sparc/kernel/traps_64.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/arch/sparc/kernel/traps_64.c b/arch/sparc/ke

Re: [PATCH 5.10 000/150] 5.10.26-rc3 review

2021-03-24 Thread Naresh Kamboju
On Wed, 24 Mar 2021 at 15:10, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.10.26 release. > There are 150 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH] arc/kernel/signal.c: Fix couple of typos

2021-03-24 Thread Randy Dunlap
On 3/23/21 10:52 PM, Bhaskar Chowdhury wrote: > > s/unconditonally/unconditionally/ > s/gaurantees/guarantees/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/arc/kernel/signal.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arc/k

Re: [PATCH v3 01/11] pagemap: Introduce ->memory_failure()

2021-03-24 Thread Dan Williams
On Wed, Mar 24, 2021 at 10:39 AM Christoph Hellwig wrote: > > On Wed, Mar 24, 2021 at 09:37:01AM -0700, Dan Williams wrote: > > > Eww. As I said I think the right way is that the file system (or > > > other consumer) can register a set of callbacks for opening the device. > > > > How does that so

Re: [RFC Part2 PATCH 05/30] x86: define RMP violation #PF error code

2021-03-24 Thread Dave Hansen
> diff --git a/arch/x86/include/asm/trap_pf.h b/arch/x86/include/asm/trap_pf.h > index 10b1de500ab1..107f9d947e8d 100644 > --- a/arch/x86/include/asm/trap_pf.h > +++ b/arch/x86/include/asm/trap_pf.h > @@ -12,6 +12,7 @@ > * bit 4 ==1: fault was an instruction > f

Re: [patch V5 2/2] signal: Allow tasks to cache one sigqueue struct

2021-03-24 Thread Oleg Nesterov
On 03/23, Thomas Gleixner wrote: > > include/linux/sched.h |1 + > include/linux/signal.h |1 + > kernel/exit.c |1 + > kernel/fork.c |1 + > kernel/signal.c| 44 ++-- > 5 files changed, 46 insertions(+), 2 deleti

Re: [RFT PATCH v3 01/27] arm64: Cope with CPUs stuck in VHE mode

2021-03-24 Thread Will Deacon
On Fri, Mar 05, 2021 at 06:38:36AM +0900, Hector Martin wrote: > From: Marc Zyngier > > It seems that the CPU known as Apple M1 has the terrible habit > of being stuck with HCR_EL2.E2H==1, in violation of the architecture. > > Try and work around this deplorable state of affairs by detecting > t

Re: Is s390's new generic-using syscall code actually correct?

2021-03-24 Thread Andy Lutomirski
On Wed, Mar 24, 2021 at 10:39 AM Vasily Gorbik wrote: > > Hi Andy, > > On Sat, Mar 20, 2021 at 08:48:34PM -0700, Andy Lutomirski wrote: > > Hi all- > > > > I'm working on my kentry patchset, and I encountered: > > > > commit 56e62a73702836017564eaacd5212e4d0fa1c01d > > Author: Sven Schnelle > > D

[PATCH] media: em28xx: fix memory leak

2021-03-24 Thread Muhammad Usama Anjum
If some error occurs, URB buffers should also be freed. If they aren't freed with the dvb here, the em28xx_dvb_fini call doesn't frees the URB buffers as dvb is set to NULL. The function in which error occurs should do all the cleanup for the allocations it had done. Tested the patch with the repr

Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-24 Thread Rob Herring
On Tue, Mar 16, 2021 at 12:00:52AM +0530, Pratyush Yadav wrote: > +Cc mtd list > > Hi, > > On 15/03/21 05:45PM, Kuldeep Singh wrote: > > Convert the Freescale DSPI binding to DT schema format using json-schema. > > > > Signed-off-by: Kuldeep Singh > > --- > > Hi Rob, > > This patch is checked w

Re: [PATCH V3] exit: trigger panic when global init has exited

2021-03-24 Thread Oleg Nesterov
Hi, On 03/23, qianli zhao wrote: > > Hi,Oleg > > > You certainly don't understand me :/ > > > Please read my email you quoted below. I didn't mean the current logic. > > I meant the logic after your patch which moves atomic_dec_and_test() and > > panic() before exit_signals(). > > Sorry, I think I

Re: [RFT PATCH v3 08/27] asm-generic/io.h: Add a non-posted variant of ioremap()

2021-03-24 Thread Will Deacon
On Fri, Mar 05, 2021 at 06:38:43AM +0900, Hector Martin wrote: > ARM64 currently defaults to posted MMIO (nGnRnE), but some devices > require the use of non-posted MMIO (nGnRE). Introduce a new ioremap() > variant to handle this case. ioremap_np() is aliased to ioremap() by > default on arches that

Re: [RFT PATCH v3 05/27] arm64: cputype: Add CPU implementor & types for the Apple M1 cores

2021-03-24 Thread Will Deacon
On Fri, Mar 05, 2021 at 06:38:40AM +0900, Hector Martin wrote: > The implementor will be used to condition the FIQ support quirk. > > The specific CPU types are not used at the moment, but let's add them > for documentation purposes. > > Signed-off-by: Hector Martin > --- > arch/arm64/include/a

Re: [EXT] Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-24 Thread Rob Herring
On Tue, Mar 16, 2021 at 12:15:06PM +0200, Vladimir Oltean wrote: > On Tue, Mar 16, 2021 at 06:08:17AM +, Kuldeep Singh wrote: > > Compatible entries in conjugation require enum and const pair. > > For example, ls1012a.dtsi uses compatible = > > "fsl,ls1012a-dspi","fsl,ls1021a-v1.0-dspi"; > > S

Re: [PATCH] script: get_abi.pl: escape "<" and ">" characters

2021-03-24 Thread Mauro Carvalho Chehab
Em Wed, 24 Mar 2021 11:12:37 -0600 Jonathan Corbet escreveu: > Mauro Carvalho Chehab writes: > > > After merging the akpm-current tree, today's linux-next build (htmldocs) > > produced this warning: > > > > Documentation/ABI/testing/sysfs-kernel-mm-cma:2: WARNING: Inline > > interpreted te

Re: [RFT PATCH v3 11/27] arm64: Implement ioremap_np() to map MMIO as nGnRnE

2021-03-24 Thread Will Deacon
On Fri, Mar 05, 2021 at 06:38:46AM +0900, Hector Martin wrote: > This is used on Apple ARM platforms, which require most MMIO > (except PCI devices) to be mapped as nGnRnE. > > Signed-off-by: Hector Martin > --- > arch/arm64/include/asm/io.h | 1 + > 1 file changed, 1 insertion(+) > > diff --gi

Re: [PATCH] dt-bindings: spi: Convert Freescale DSPI to json schema

2021-03-24 Thread Rob Herring
On Mon, Mar 15, 2021 at 05:45:18PM +0530, Kuldeep Singh wrote: > Convert the Freescale DSPI binding to DT schema format using json-schema. > > Signed-off-by: Kuldeep Singh > --- > Hi Rob, > This patch is checked with following commands with no warnings observed. > make distclean; make allmodconfi

Re: [PATCH v9 1/1] fpga: dfl: afu: harden port enable logic

2021-03-24 Thread Moritz Fischer
On Tue, Mar 23, 2021 at 03:46:50PM -0700, Russ Weight wrote: > Port enable is not complete until ACK = 0. Change > __afu_port_enable() to guarantee that the enable process > is complete by polling for ACK == 0. > > Signed-off-by: Russ Weight > Reviewed-by: Tom Rix > Reviewed-by: Matthew Gerlach

Re: [PATCH v5 0/6] KVM: arm64: Add VLPI migration support on GICv4.1

2021-03-24 Thread Marc Zyngier
On Mon, 22 Mar 2021 14:01:52 +0800, Shenming Lu wrote: > In GICv4.1, migration has been supported except for (directly-injected) > VLPI. And GICv4.1 Spec explicitly gives a way to get the VLPI's pending > state (which was crucially missing in GICv4.0). So we make VLPI migration > capable on GICv4.1

Re: [PATCH 1/3] dt-bindings: add vendor prefix for Siliconfile Technologies lnc.

2021-03-24 Thread Rob Herring
On Mon, 15 Mar 2021 13:44:21 +0100, Krzysztof Kozlowski wrote: > Add vendor prefix for Siliconfile Technologies lnc. > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Applied, thanks!

Re: [PATCH] perf data: export to JSON

2021-03-24 Thread Jiri Olsa
On Wed, Mar 24, 2021 at 09:06:50AM -0400, Nicholas Fraser wrote: > This adds preliminary support to dump the contents of a perf.data file to > human-readable JSON. > > The "perf data" command currently only supports exporting to Common Trace > Format and it doesn't do symbol resolution among other

Re: [PATCH 2/3] dt-bindings: add vendor prefix for YIC System Co., Ltd

2021-03-24 Thread Rob Herring
On Mon, 15 Mar 2021 13:44:22 +0100, Krzysztof Kozlowski wrote: > Add vendor prefix for YIC System Co., Ltd (http://www.yicsystem.com). > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Applied, than

Re: [PATCH 3/3] dt-bindings: add vendor prefix for AESOP

2021-03-24 Thread Rob Herring
On Mon, 15 Mar 2021 13:44:23 +0100, Krzysztof Kozlowski wrote: > Add vendor prefix for AESOP Embedded Forum (http://www.aesop.or.kr). > > Signed-off-by: Krzysztof Kozlowski > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Applied, thank

Re: [PATCH v3 04/21] x86/insn: Add an insn_decode() API

2021-03-24 Thread Ian Rogers
On Wed, Mar 24, 2021 at 6:54 AM Borislav Petkov wrote: > > On Wed, Mar 24, 2021 at 10:43:20AM -0300, Arnaldo Carvalho de Melo wrote: > > Borislav, was this addressed? Ian? > > Yap: > > https://git.kernel.org/tip/0705ef64d1ff52b817e278ca6e28095585ff31e1 Tested on PPC and ARM64 fwiw. Thanks, Ian >

[PATCH] x86/sgx: Remove unnecessary kmap() from sgx_ioc_enclave_init()

2021-03-24 Thread ira . weiny
From: Ira Weiny kmap is inefficient and is being replaced by kmap_local_page(), if possible. That said, there is no readily apparent reason why initp_page needs to be allocated and kmap'ed() except that 'sigstruct' needs to be page aligned and 'token' 512 byte aligned. Rather than change this k

Re: [PATCH v4 4/5] ASoC: dt-bindings: wsa881x: add bindings for port mapping

2021-03-24 Thread Rob Herring
On Mon, 15 Mar 2021 16:56:49 +, Srinivas Kandagatla wrote: > WSA881x SoundWire device ports are statically assigned to master ports > at design time. So add bindings required to specify these mappings! > > Signed-off-by: Srinivas Kandagatla > --- > .../devicetree/bindings/sound/qcom,wsa881x.

Re: [RFT PATCH v3 14/27] arm64: move ICH_ sysreg bits from arm-gic-v3.h to sysreg.h

2021-03-24 Thread Will Deacon
On Fri, Mar 05, 2021 at 06:38:49AM +0900, Hector Martin wrote: > These definitions are in arm-gic-v3.h for historical reasons which no > longer apply. Move them to sysreg.h so the AIC driver can use them, as > it needs to peek into vGIC registers to deal with the GIC maintentance > interrupt. > >

Re: [PATCH v5] x86: Remove unnecessary kmap() from sgx_ioc_enclave_init()

2021-03-24 Thread Ira Weiny
On Wed, Mar 24, 2021 at 10:47:20AM +0100, Borislav Petkov wrote: > On Fri, Mar 05, 2021 at 04:20:58PM -0800, ira.we...@intel.com wrote: > > > Subject: Re: [PATCH v5] x86: Remove unnecessary kmap() from > > sgx_ioc_enclave_init() > > The tip tree preferred format for patch subject prefixes is >

Re: [PATCHv2] dt-bindings: mailbox: qcom-ipcc: Add compatible for SC7280

2021-03-24 Thread Rob Herring
On Tue, 16 Mar 2021 00:14:10 +0530, Sai Prakash Ranjan wrote: > Add IPCC compatible for SC7280 SoC. > > Cc: Manivannan Sadhasivam > Cc: Jassi Brar > Signed-off-by: Sai Prakash Ranjan > Reviewed-by: Manivannan Sadhasivam > Reviewed-by: Stephen Boyd > --- > Documentation/devicetree/bindings/ma

[GIT PULL] clk fixes for v5.12-rc4

2021-03-24 Thread Stephen Boyd
The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linus for you to fetch changes up to 148ddaa89d4a

Re: [mm, net-next v2] mm: net: memcg accounting for TCP rx zerocopy

2021-03-24 Thread Shakeel Butt
On Tue, Mar 23, 2021 at 11:42 AM Arjun Roy wrote: > [...] > > To summarize then, it seems to me that we're on the same page now. > I'll put together a tentative v3 such that: > 1. It uses pre-charging, as previously discussed. > 2. It uses a page flag to delineate pages of a certain networking sor

[PATCH] iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol

2021-03-24 Thread Alexandru Ardelean
Because a dependency on HAS_IOMEM and OF was added for the ADI AXI ADC driver, this makes the AD9467 driver have some build/dependency issues when OF is disabled (typically on ACPI archs like x86). This is because the selection of the AD9467 enforces the ADI_AXI_ADC symbol which is blocked by the

Re: [PATCH v2 1/2] dt-bindings: gpio: Binding for Realtek Otto GPIO

2021-03-24 Thread Rob Herring
On Mon, Mar 15, 2021 at 08:08:05PM +0100, Sander Vanheule wrote: > Add a binding description for Realtek's GPIO controller found on several > of their MIPS-based SoCs (codenamed Otto), such as the RTL838x and > RTL839x series of switch SoCs. > > A fallback binding 'realtek,otto-gpio' is provided f

[PATCH] usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable

2021-03-24 Thread Wesley Cheng
Ensure that dep->flags are cleared until after stop active transfers is completed. Otherwise, the ENDXFER command will not be executed during ep disable. Fixes: f09ddcfcb8c5 ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers") Reported-and-tested-by: Andy Shevchenko Tested-by: Mar

Re: [RFC PATCH 1/2] mm,drm/ttm: Block fast GUP to TTM huge pages

2021-03-24 Thread Christian König
Am 24.03.21 um 17:38 schrieb Jason Gunthorpe: On Wed, Mar 24, 2021 at 04:50:14PM +0100, Thomas Hellström (Intel) wrote: On 3/24/21 2:48 PM, Jason Gunthorpe wrote: On Wed, Mar 24, 2021 at 02:35:38PM +0100, Thomas Hellström (Intel) wrote: In an ideal world the creation/destruction of page ta

Re: [RFC PATCH v2 04/11] PCI/P2PDMA: Introduce pci_p2pdma_should_map_bus() and pci_p2pdma_bus_offset()

2021-03-24 Thread Christian König
Am 24.03.21 um 18:21 schrieb Jason Gunthorpe: On Mon, Mar 15, 2021 at 10:27:08AM -0600, Logan Gunthorpe wrote: In this case the WARN_ON is just to guard against misuse of the function. It should never happen unless a developer changes the code in a way that is incorrect. So I think that's the c

RE: [PATCH] hpsa: fix boot on ia64 (atomic_t alignment)

2021-03-24 Thread Don.Brace
-Original Message- From: Sergei Trofimovich [mailto:sly...@gentoo.org] Subject: [PATCH] hpsa: fix boot on ia64 (atomic_t alignment) The failure initially observed as boot failure on rx3600 ia64 machine with RAID bus controller: Hewlett-Packard Company Smart Array P600: kernel unalig

Re: [GIT PULL] clk fixes for v5.12-rc4

2021-03-24 Thread pr-tracker-bot
The pull request you sent on Wed, 24 Mar 2021 11:24:53 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-fixes-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4ee998b0ef8b6d7b1267cd4d953182224929abba Thank you! -- Deet-doot-

Re: [GIT PULL] cachefiles, afs: mm wait fixes

2021-03-24 Thread pr-tracker-bot
The pull request you sent on Wed, 24 Mar 2021 08:21:21 +: > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > tags/afs-cachefiles-fixes-20210323 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8a9d2e133e2fb6429d7503eb1d382ca4049219d7 Thank you!

Re: [GIT PULL] platform-drivers-x86 for 5.12-2

2021-03-24 Thread pr-tracker-bot
The pull request you sent on Wed, 24 Mar 2021 17:52:03 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git > tags/platform-drivers-x86-v5.12-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/a0a4df6a9e406939b3d3218ebd30c8862343d199 Th

[PATCH v2 00/13] Driver of Intel(R) Gaussian & Neural Accelerator

2021-03-24 Thread Maciej Kwapulinski
Dear kernel maintainers, This submission is a kernel driver to support Intel(R) Gaussian & Neural Accelerator (Intel(R) GNA). Intel(R) GNA is a PCI-based neural co-processor available on multiple Intel platforms. AI developers and users can offload continuous inference workloads to an Intel(R) GNA

[PATCH v2 01/13] intel_gna: add driver module

2021-03-24 Thread Maciej Kwapulinski
From: Tomasz Jankowski Add a new PCI driver for Intel(R) Gaussian & Neural Accelerator with basic support like module loading and unloading. The full function of the driver will be added by further changes. Signed-off-by: Tomasz Jankowski Tested-by: Savo Novakovic Co-developed-by: Jianxun Zhan

[PATCH v2 02/13] intel_gna: add component of hardware operation

2021-03-24 Thread Maciej Kwapulinski
From: Tomasz Jankowski Add definitions and utilities to interact with the hardware device. Signed-off-by: Tomasz Jankowski Tested-by: Savo Novakovic Co-developed-by: Jianxun Zhang Signed-off-by: Jianxun Zhang Co-developed-by: Maciej Kwapulinski Signed-off-by: Maciej Kwapulinski --- driver

[PATCH v2 03/13] intel_gna: read hardware info in the driver

2021-03-24 Thread Maciej Kwapulinski
From: Tomasz Jankowski Get the hardware information from register MMIO_IBUFFS Signed-off-by: Tomasz Jankowski Tested-by: Savo Novakovic Co-developed-by: Jianxun Zhang Signed-off-by: Jianxun Zhang Co-developed-by: Maciej Kwapulinski Signed-off-by: Maciej Kwapulinski --- drivers/misc/intel/

[PATCH v2 04/13] intel_gna: add memory handling

2021-03-24 Thread Maciej Kwapulinski
From: Tomasz Jankowski Patch adds memory handling - mapping, DMA, pinning. The GNA driver maps and unmaps the physical pages for 64-byte aligned buffer allocated by user space program. The pages of mapped memory are being locked only during actual computation. Patch adds configuration of the DMA

Re: [RFT PATCH v3 13/27] arm64: Add Apple vendor-specific system registers

2021-03-24 Thread Will Deacon
On Fri, Mar 05, 2021 at 06:38:48AM +0900, Hector Martin wrote: > Apple ARM64 SoCs have a ton of vendor-specific registers we're going to > have to deal with, and those don't really belong in sysreg.h with all > the architectural registers. Make a new home for them, and add some > registers which ar

[PATCH v2 07/13] intel_gna: add request component

2021-03-24 Thread Maciej Kwapulinski
From: Tomasz Jankowski The scoring work submitted to the GNA driver is implemented as a list of requests that will be processed by the hardware. Signed-off-by: Tomasz Jankowski Tested-by: Savo Novakovic Co-developed-by: Anisha Dattatraya Kulkarni Signed-off-by: Anisha Dattatraya Kulkarni Co

[PATCH v2 06/13] intel_gna: add hardware ids

2021-03-24 Thread Maciej Kwapulinski
From: Tomasz Jankowski Add PCI ids of Intel(R) Gaussian & Neural Accelerator on supported platforms. Signed-off-by: Tomasz Jankowski Tested-by: Savo Novakovic Co-developed-by: Jianxun Zhang Signed-off-by: Jianxun Zhang Co-developed-by: Maciej Kwapulinski Signed-off-by: Maciej Kwapulinski -

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