[PATCH 00/15] drivers: usb: misc: update to use usb_control_msg_{send|recv}()

2020-11-29 Thread Anant Thazhemadam
The new usb_control_msg_{send|recv}() API provides an improved way of using usb_control_msg(). Using this, short reads/writes are considered as errors, data can be used off the stack, and the need for the calling function to create a raw usb pipe is eliminated. This patch series aims to update

Re: [PATCH] hwmon: corsair-psu: update supported devices

2020-11-29 Thread Wilken Gottwalt
On Sun, 29 Nov 2020 05:00:49 -0800 Guenter Roeck wrote: > On Sun, Nov 29, 2020 at 07:36:18AM +0100, Wilken Gottwalt wrote: > > On Sat, 28 Nov 2020 17:21:40 -0300 > > Jonas Malaco wrote: > > > > > On Sat, Nov 28, 2020 at 7:35 AM Wilken Gottwalt > > > wrote: > > > > > > > > On Sat, 28 Nov 2020

Re: [PATCH v12 07/10] secretmem: add memcg accounting

2020-11-29 Thread Shakeel Butt
On Wed, Nov 25, 2020 at 1:51 AM Mike Rapoport wrote: > > From: Mike Rapoport > > Account memory consumed by secretmem to memcg. The accounting is updated > when the memory is actually allocated and freed. > > Signed-off-by: Mike Rapoport > Acked-by: Roman Gushchin > --- > mm/filemap.c | 3

[PATCH] mwl8k: switch from 'pci_' to 'dma_' API

2020-11-29 Thread Christophe JAILLET
he wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'mwl8k_rxq_init()' and 'mwl8k_txq_init()' GFP_KERNEL

Re: [PATCH v2] char: tpm: add i2c driver for cr50

2020-11-29 Thread Ezequiel Garcia
On Sun, 2020-11-29 at 05:29 +0200, Jarkko Sakkinen wrote: > On Thu, Nov 26, 2020 at 03:19:24AM -0300, Ezequiel Garcia wrote: > > On Thu, 2020-11-26 at 05:30 +0200, Jarkko Sakkinen wrote: > > > On Tue, 2020-11-24 at 10:14 -0300, Ezequiel Garcia wrote: > > > > Hi Jarkko, > > > > > > > > Thanks for

[PATCH] ARM: dts: OMAP3: disable AES on N950/N9

2020-11-29 Thread Aaro Koskinen
AES needs to be disabled on Nokia N950/N9 as well (HS devices), otherwise kernel fails to boot. Fixes: c312f066314e ("ARM: dts: omap3: Migrate AES from hwmods to sysc-omap2") Signed-off-by: Aaro Koskinen --- arch/arm/boot/dts/omap3-n950-n9.dtsi | 8 1 file changed, 8 insertions(+)

Re: [PATCH] exit: fix a race in release_task when flushing the dentry

2020-11-29 Thread Wen Yang
在 2020/11/29 下午2:05, Greg Kroah-Hartman 写道: On Sat, Nov 28, 2020 at 11:28:53PM +0800, Wen Yang wrote: 在 2020/11/28 下午10:05, Greg Kroah-Hartman 写道: On Sat, Nov 28, 2020 at 09:59:09PM +0800, Wen Yang wrote: 在 2020/11/28 下午4:06, Greg Kroah-Hartman 写道: On Sat, Nov 28, 2020 at 02:47:22PM

Alert-02

2020-11-29 Thread Trustees
We have been trying to reach you as regards the estate of Late George Brumley, you were made one of the beneficiaries of his estate. Do get back to me at your earliest convenience. The Trustees

[PATCH v9 7/7] i3c: master: mastership handover, defslvs processing in cdns controller driver

2020-11-29 Thread Parshuram Thombare
Added I3C bus mastership handover and DEFSLVS message handling code to Cadence's I3C master controller driver. Signed-off-by: Parshuram Thombare --- drivers/i3c/master/i3c-master-cdns.c | 329 +++--- 1 files changed, 306 insertions(+), 23 deletions(-) diff --git

[PATCH v9 6/7] i3c: master: sysfs key for acquire bus

2020-11-29 Thread Parshuram Thombare
Added support to acquire I3C bus through sysfs interface. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/i3c/master.c b/drivers/i3c/master.c index c01ba00..beb7495 100644 ---

[PATCH v9 5/7] i3c: master: add defslvs processing

2020-11-29 Thread Parshuram Thombare
Added defslvs processing code to the I3C master subsystem. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 68 ++- include/linux/i3c/master.h |7 2 files changed, 73 insertions(+), 2 deletions(-) diff --git

[PATCH v9 1/7] i3c: master: master initialization flow document

2020-11-29 Thread Parshuram Thombare
Document describing master initialization, mastership handover and DEFSLVS handling processes. Signed-off-by: Parshuram Thombare --- Documentation/driver-api/i3c/index.rst |1 + .../driver-api/i3c/master-initialization-flow.rst | 187 2 files changed, 188

[PATCH v9 3/7] i3c: master: add i3c_secondary_master_register

2020-11-29 Thread Parshuram Thombare
add i3c_secondary_master_register which is used to register secondary masters. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 154 +++- include/linux/i3c/master.h |3 + 2 files changed, 156 insertions(+), 1 deletions(-) diff

[PATCH v9 4/7] i3c: master: add mastership handover support

2020-11-29 Thread Parshuram Thombare
Added mastership acquire and yield functions. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 183 +--- include/linux/i3c/master.h |6 ++ 2 files changed, 177 insertions(+), 12 deletions(-) diff --git a/drivers/i3c/master.c

[PATCH v9 2/7] i3c: master: use i3c_master_register only for main master

2020-11-29 Thread Parshuram Thombare
Removed last argument 'secondary' and restructured i3c_master_register to move code that can be common to i3c_secondary_master_register to separate function i3c_master_init. Signed-off-by: Parshuram Thombare --- drivers/i3c/master.c | 78 -

[PATCH v2 2/2] Input: add driver for power button on Dell Wyse 3020

2020-11-29 Thread Lubomir Rintel
This adds support for the power button attached to the Embedded Controller on a Dell Wyse 3020 "Ariel" board. The Embedded Controller's SPI interface is actually capable sending and receiving the PS/2 keyboard and mouse protocol data, which looks like a good fit for a serio driver. Howerver, I

[PATCH v2 1/2] dt-bindings: input: Add Dell Wyse 3020 Power Button binding

2020-11-29 Thread Lubomir Rintel
Add binding document for the Dell Wyse 3020 a.k.a. "Ariel" Power Button. Signed-off-by: Lubomir Rintel Reviewed-by: Rob Herring --- Changes since v1: - Collect Rob's R-b .../bindings/input/ariel-pwrbutton.yaml | 53 +++ 1 file changed, 53 insertions(+) create mode

[PATCH v2 0/2] Add driver for power button on Dell Wyse 3020

2020-11-29 Thread Lubomir Rintel
please consider applying the patches chained to this message. It's a rather simple driver for a power button on Dell Ariel board along with the Device Tree binding document. Compared to previous version, endianness issues are fixed and I connected a Reviewed-by for the binding doc that I failed

[RESEND PATCH v9 0/7] I3C mastership handover support

2020-11-29 Thread Parshuram Thombare
Main changes between v8 and v9 are: - Fix NULL dereference issue in current_master_show when cat'ing sysfs key current_master for secondary master before primary master gets initialized. Main changes between v7 and v8 are: - Document format changed from table to DOT diagram - Appropriate

Re: WARNING in close_fs_devices (3)

2020-11-29 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:6174f052 Add linux-next specific files for 20201127 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=141c955350 kernel config:

[PATCH] genirq/irqdomain: Don't try to free an interrupt that has no mapping

2020-11-29 Thread Marc Zyngier
When an interrupt allocation fails for N interrupts, it is pretty common for the error handling code to free the same number of interrupts, no matter how many interrupts have actually been allocated. This may result in the domain freeing code to be unexpectedly called for interrupts that have no

[PATCH] irqchip/alpine-msi: Fix freeing of interrupts on allocation error path

2020-11-29 Thread Marc Zyngier
The alpine-msi driver has an interesting allocation error handling, where it frees the same interrupts repeatedly. Hilarity follows. This code is probably never executed, but let's fix it nonetheless. Fixes: e6b78f2c3e14 ("irqchip: Add the Alpine MSIX interrupt controller") Cc: Tsahee Zidenberg

[PATCH 1/3] platform-msi: Track shared domain allocation

2020-11-29 Thread Marc Zyngier
We have two flavours of platform-MSI: - MSIs generated by devices for themselves (the usual case) - MSIs generated on behalf of other devices, as the generating device is some form of bridge (either a wire-to-MSI bridge, or even a non-transparent PCI bridge that repaints the PCI requester

[PATCH 2/3] irqchip/gic-v3-its: Tag ITS device as shared if allocating for a proxy device

2020-11-29 Thread Marc Zyngier
The ITS already has some notion of "shared" devices. Let's map the MSI_ALLOC_FLAGS_PROXY_DEVICE flag onto this internal property. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/irqchip/irq-gic-v3-its.c

[PATCH 3/3] irqchip/gic-v3-its: Flag device allocation as proxied if behind a PCI bridge

2020-11-29 Thread Marc Zyngier
An aliasing PCI bridge is another case where we should flag the corresponding allocation as "proxied", as MSIs are coming with the bridge's RID, and not the originating device's. Signed-off-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its-pci-msi.c | 11 --- 1 file changed, 8

[PATCH 0/3] MSI: Track device proxying when allocating MSIs

2020-11-29 Thread Marc Zyngier
This series aims to plug a gap found with John's "managed interrupts for platform devices" series. We have a couple of cases where we allocate MSIs for a device, but the endpoint generating the actual interrupts (let's call it the "logical device") isn't the one being seen generating the MSIs

[GIT pull] locking/urgent for v5.10-rc6

2020-11-29 Thread Thomas Gleixner
Linus, please pull the latest locking/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2020-11-29 up to: 6e1d2bc675bd: intel_idle: Fix intel_idle() vs tracing Yet two more places which invoke tracing from RCU disabled regions in the idle path.

[GIT pull] irq/urgent for v5.10-rc6

2020-11-29 Thread Thomas Gleixner
Linus, please pull the latest irq/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2020-11-29 up to: 7032908cd584: Merge tag 'irqchip-fixes-5.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent Two fixes for

Re: [PATCH 2/2] net: dsa: ksz8795: adjust CPU link to host interface

2020-11-29 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jean-Pihet/net-dsa-ksz-pad-frame-to-64-bytes-for-transmission/20201129-182750 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem

Re: [PATCH AUTOSEL 5.7 03/30] ima: extend boot_aggregate with kernel measurements

2020-11-29 Thread Mimi Zohar
Hi Sasha, On Wed, 2020-07-08 at 21:27 -0400, Sasha Levin wrote: > On Wed, Jul 08, 2020 at 12:13:13PM -0400, Mimi Zohar wrote: > >Hi Sasha, > > > >On Wed, 2020-07-08 at 11:40 -0400, Sasha Levin wrote: > >> From: Maurizio Drocco > >> > >> [ Upstream commit 20c59ce010f84300f6c655d32db2610d3433f85c

Re: [RESEND] [PATCH 1/2] iio: adc: qcom-spmi-vadc: Use right ratiometric range for 8998,660,845

2020-11-29 Thread Jonathan Cameron
On Sat, 26 Sep 2020 19:18:34 +0200 khol...@gmail.com wrote: > From: AngeloGioacchino Del Regno > > The ratiometric range for MSM8998, SDM630/636/660 and SDM845 is 1875mV > instead of the standard 1800mV: address this by adding a new compatible > "qcom,spmi-vadc-8998" and assigning the different

Re: [RESEND PATCH 1/2] iio:core: Introduce unlocked version of iio_map_array_unregister()

2020-11-29 Thread Jonathan Cameron
On Sat, 28 Nov 2020 15:22:16 +0100 Lino Sanfilippo wrote: > Hi Jonathan, > > On 28.11.20 at 14:54, Jonathan Cameron wrote: > > > A few notes to make it harder for people to do that in future. > > 1. Don't send patch series (or new versions of older patches) in reply > >to an existing

Re: [PATCH v3 00/10] iio: adc: at91_adc: cleanup DT bindings

2020-11-29 Thread Jonathan Cameron
On Sat, 28 Nov 2020 23:28:08 +0100 Alexandre Belloni wrote: > Hello, > > This series cleans up the at91_adc devicetree bindings. This mainly > moves back the resolution options and names and the triggers description > back in the driver. > Applied 1-7 to the togreg branch of iio.git and

Re: [PATCH] hwmon: corsair-psu: update supported devices

2020-11-29 Thread Guenter Roeck
On Sun, Nov 29, 2020 at 07:36:18AM +0100, Wilken Gottwalt wrote: > On Sat, 28 Nov 2020 17:21:40 -0300 > Jonas Malaco wrote: > > > On Sat, Nov 28, 2020 at 7:35 AM Wilken Gottwalt > > wrote: > > > > > > On Sat, 28 Nov 2020 02:37:38 -0300 > > > Jonas Malaco wrote: > > > > > > > On Thu, Nov 26,

Re: [RFC PATCH v6 2/8] drivers: thermal: tsens: Add VER_0 tsens version

2020-11-29 Thread Amit Kucheria
On Thu, Nov 26, 2020 at 2:16 AM Ansuel Smith wrote: > > > }; > > > @@ -441,6 +442,10 @@ enum regfield_ids { > > > CRIT_THRESH_14, > > > CRIT_THRESH_15, > > > > > > + /* VER_0 MIN MAX THRESH */ > > > + MIN_THRESH_0, > > > + MAX_THRESH_0, > > > + > > > > Consider

[PATCH] vdpa: ifcvf: Use dma_set_mask_and_coherent to simplify code

2020-11-29 Thread Christophe JAILLET
'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by an equivalent 'dma_set_mask_and_coherent()' which is much less verbose. While at it, fix a typo (s/confiugration/configuration) Signed-off-by: Christophe JAILLET --- drivers/vdpa/ifcvf/ifcvf_main.c | 11 ++- 1

Re: [PATCH 2/2] net: dsa: ksz8795: adjust CPU link to host interface

2020-11-29 Thread kernel test robot
submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jean-Pihet/net-dsa-ksz-pad-frame-to-64-bytes-for-transmission/20201129-182750 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem

[RFC PATCH] net: dsa: ksz8795: ksz8795_adjust_link() can be static

2020-11-29 Thread kernel test robot
Reported-by: kernel test robot Signed-off-by: kernel test robot --- ksz8795.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dsa/microchip/ksz8795.c b/drivers/net/dsa/microchip/ksz8795.c index 09c1173cc6073c..834a8dc251adba 100644 ---

Re: [PATCH 1/1] mm: compaction: avoid fast_isolate_around() to set pageblock_skip on reserved pages

2020-11-29 Thread Mike Rapoport
Hello Andrea, On Thu, Nov 26, 2020 at 07:46:05PM +0200, Mike Rapoport wrote: > On Thu, Nov 26, 2020 at 11:05:14AM +0100, David Hildenbrand wrote: > > Let's try to merge init_unavailable_memory() into memmap_init(). > Than it'll be able to set zone/nid for those nasty pfns that BIOS > decided to

[PATCH v2] media: saa7146: switch from 'pci_' to 'dma_' API

2020-11-29 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'saa7146_pgtable_alloc()' GFP_KERNEL can be used

RE: [PATCH 2/2] mmc: core: MMC_CAP2_HS200_1_8V_SDR with mmc-hs400-1_8v

2020-11-29 Thread Avri Altman
> This patch remove the MMC_CAP2_HS200_1_8V_SDR capacity from > host->cap2 when the dt property mmc-hs400-1v8 set. It cause > error and occasionally hang on boot and reboot. > Board with this issue: rk3399 with SanDisk DG4008 eMMC. > > This patch did not change the mmc-hs400-1_2v host->cap2 >

RE: [PATCH] mmc: core: MMC_CAP2_HS200_1_8V_SDR with mmc-hs400-1_8v

2020-11-29 Thread Avri Altman
> This patch remove the MMC_CAP2_HS200_1_8V_SDR capacity from > host->cap2 when the dt property mmc-hs400-1v8 set. It cause > error and occasionally hang on boot and reboot. > Board with this issue: rk3399 with SanDisk DG4008 eMMC. > > This patch did not change the mmc-hs400-1_2v host->cap2 >

Re: [PATCH NACK] media: saa7146: switch from 'pci_' to 'dma_' API

2020-11-29 Thread Christophe JAILLET
Le 29/11/2020 à 08:38, Christophe JAILLET a écrit : When memory is allocated in 'saa7146_vv_init()' GFP_KERNEL can be used because this function already uses GFP_KERNEL and no lock is taken in the between. When memory is allocated in 'vbi_workaround()' GFP_KERNEL can be used because it is only

Re: KASAN: use-after-free Read in idr_for_each (2)

2020-11-29 Thread Matthew Wilcox
On Sun, Nov 29, 2020 at 07:34:29PM +0800, Hillf Danton wrote: > > radix_tree_next_slot include/linux/radix-tree.h:422 [inline] > > idr_for_each+0x206/0x220 lib/idr.c:202 > > io_destroy_buffers fs/io_uring.c:8275 [inline] > > Matthew, can you shed any light on the link between the use of idr >

Re: [PATCH v3 04/10] dt-bindings:iio:adc:atmel,sama9260-adc: conversion to yaml from at91_adc.txt

2020-11-29 Thread Jonathan Cameron
On Sat, 28 Nov 2020 23:28:12 +0100 Alexandre Belloni wrote: > From: Jonathan Cameron > > There are a few things we would do differently in an ADC binding if we > were starting from scratch but we are stuck with what we have (which > made sense back when this was written!) > > We may be able

Re: [BISECTED REGRESSION] Broken USB/GPIO on OMAP1 OSK

2020-11-29 Thread Aaro Koskinen
Hi, On Sun, Nov 29, 2020 at 01:51:54AM +0200, Aaro Koskinen wrote: > I tried to upgrade my OMAP1 OSK board to v5.9, but the rootfs cannot > be accessed anymore due to broken USB. It fails to probe with the > following logs: > > [9.219940] ohci ohci: cannot find GPIO chip i2c-tps65010,

Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

2020-11-29 Thread Guido Günther
Hi Pavel, On Sat, Nov 28, 2020 at 09:58:48PM +0100, Pavel Machek wrote: > Hi! > > > > > This series enables components found on Purism's Librem 5 > > > > that are available in mainline. > > > > > > > > - changes from v1 > > > > - As per review comments from Krzysztof Kozlowski > > > > > >

[PATCH 8/8] ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT

2020-11-29 Thread Cezary Rojewski
From: Mateusz Gorski commit 2d744ecf2b98405723a2138a547e5c75009bc4e5 upstream. Automatically choose DMIC pipeline format configuration depending on information included in NHLT. Change the access rights of appropriate kcontrols to read-only in order to prevent user interference. Signed-off-by:

[PATCH 7/8] ASoC: Intel: Multiple I/O PCM format support for pipe

2020-11-29 Thread Cezary Rojewski
From: Mateusz Gorski commit 1b450791d517d4dab9ab6d9a20c8819e3572 upstream. For pipes supporting multiple input/output formats, kcontrol is created and selection of pipe input and output configuration is done based on control set. If more than one configuration is supported, then this patch

[PATCH 5/8] ASoC: Intel: Allow for ROM init retry on CNL platforms

2020-11-29 Thread Cezary Rojewski
commit 024aa45f55ccd40704cfdef61b2a8b6d0de9cdd1 upstream. Due to unconditional initial timeouts, firmware may fail to load during its initialization. This issue cannot be resolved on driver side as it is caused by external sources such as CSME but has to be accounted for nonetheless. Fixes:

[PATCH 6/8] ASoC: Intel: Skylake: Await purge request ack on CNL

2020-11-29 Thread Cezary Rojewski
commit 7693cadac86548b30389a6e11d78c38db654f393 upstream. Each purge request is sent by driver after master core is powered up and unresetted but before it is unstalled. On unstall, ROM begins processing the request and initializing environment for FW load. Host should await ROM's ack before

[PATCH 3/8] ASoC: Intel: Skylake: Enable codec wakeup during chip init

2020-11-29 Thread Cezary Rojewski
commit e603f11d5df8997d104ab405ff27640b90baffaa upstream. Follow the recommendation set by hda_intel.c and enable HDMI/DP codec wakeup during bus initialization procedure. Disable wakeup once init completes. Signed-off-by: Cezary Rojewski Reviewed-by: Pierre-Louis Bossart Link:

[PATCH 4/8] ASoC: Intel: Skylake: Shield against no-NHLT configurations

2020-11-29 Thread Cezary Rojewski
commit 9e6c382f5a6161eb55115fb56614b9827f2e7da3 upstream. Some configurations expose no NHLT table at all within their /sys/firmware/acpi/tables. To prevent NULL-dereference errors from occurring, adjust probe flow and append additional safety checks in functions involved in NHLT lifecycle.

[PATCH 0/8] ASoC: Intel: Skylake: Fix HDAudio and DMIC for v5.4

2020-11-29 Thread Cezary Rojewski
First six of the backport address numerous problems troubling HDAudio configuration users for Skylake driver. Upstream series: "ASoC: Intel: Skylake: Fix HDaudio and Dmic" [1] provides the explanation and reasoning behind it. These have been initialy pushed into v5.7-rc1 via: "sound updates for

[PATCH 2/8] ASoC: Intel: Skylake: Select hda configuration permissively

2020-11-29 Thread Cezary Rojewski
commit a66f88394a78fec9a05fa6e517e9603e8eca8363 upstream. With _reset_link removed from the probe sequence, codec_mask at the time skl_find_hda_machine() is invoked will always be 0, so hda machine will never be chosen. Rather than reorganizing boot flow, be permissive about invalid mask.

[PATCH 1/8] ASoC: Intel: Skylake: Remove superfluous chip initialization

2020-11-29 Thread Cezary Rojewski
commit 2ef81057d80456870b97890dd79c8f56a85b1242 upstream. Skylake driver does the controller init operation twice: - first during probe (only to stop it just before scheduling probe_work) - and during said probe_work where the actual correct sequence is executed To properly complete boot

Re: scheduling while atomic in z3fold

2020-11-29 Thread Mike Galbraith
On Sun, 2020-11-29 at 12:29 +0100, Oleksandr Natalenko wrote: > > Ummm so do compressors explode under non-rt kernel in your tests as > well, or it is just -rt that triggers this? I only tested a non-rt kernel with z3fold, which worked just fine. -Mike

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-11-29 Thread Hans de Goede
Hi All, On 11/29/20 4:23 AM, Jarkko Sakkinen wrote: > On Tue, Nov 24, 2020 at 10:45:01PM +0100, Hans de Goede wrote: >> Hi, >> >> On 11/24/20 6:52 PM, Jerry Snitselaar wrote: >>> >>> Jarkko Sakkinen @ 2020-11-23 20:26 MST: >>> On Wed, Nov 18, 2020 at 11:36:20PM -0700, Jerry Snitselaar wrote:

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-29 Thread Russell King - ARM Linux admin
On Sun, Nov 29, 2020 at 10:52:45AM +, Russell King - ARM Linux admin wrote: > There are other issues too. This is also wrong: + if (port->ndev && port->ndev->phydev) + status->link = port->ndev->phydev->link; phylink already deals with that situation. --

Re: scheduling while atomic in z3fold

2020-11-29 Thread Oleksandr Natalenko
On Sun, Nov 29, 2020 at 11:56:55AM +0100, Mike Galbraith wrote: > On Sun, 2020-11-29 at 10:21 +0100, Mike Galbraith wrote: > > On Sun, 2020-11-29 at 08:48 +0100, Mike Galbraith wrote: > > > On Sun, 2020-11-29 at 07:41 +0100, Mike Galbraith wrote: > > > > On Sat, 2020-11-28 at 15:27 +0100,

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-29 Thread Russell King - ARM Linux admin
On Sun, Nov 29, 2020 at 10:52:45AM +, Russell King - ARM Linux admin wrote: > On Sat, Nov 28, 2020 at 10:28:28PM +, Russell King - ARM Linux admin > wrote: > > On Sat, Nov 28, 2020 at 08:06:16PM +0100, Andrew Lunn wrote: > > > > +static void sparx5_phylink_mac_config(struct phylink_config

Re: [PATCH v5] arm64: dts: marvell: add DT for ESPRESSObin-Ultra

2020-11-29 Thread Gregory CLEMENT
Hi Vladimir, > This adds support for ESPRESSObin-Ultra from Globalscale. > > Specifications are similar to the base ESPRESSObin board, with main > difference being being WAN port with PoE capability and 2 additional ethernet > ports. > > Full specifications: > > 1x Marvell 64 bit Dual Core ARM

Re: [PATCH] arm64: dts: marvell: espressobin: Add support for LED2

2020-11-29 Thread Gregory CLEMENT
Hi Pali, > LED2 is connected to MPP1_2 pin. It is working only on V7 boards. > V5 boards have hw bug which cause that LED2 is non-working. > > So enable LED2 only for Espressobin V7 boards. > > Note that LED1 is connected to LED_WLAN# pin on miniPCIe card and LED3 to > power supply. Therefore on

[PATCH v4 5/5] ARM: mstar: Fill in GPIO controller properties for infinity

2020-11-29 Thread Daniel Palmer
Fill in the properties needed to use the GPIO controller in the infinity and infinity3 chips. Signed-off-by: Daniel Palmer Acked-by: Linus Walleij --- arch/arm/boot/dts/mstar-infinity.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity.dtsi

[PATCH v4 1/5] dt-bindings: gpio: Add a binding header for the MSC313 GPIO driver

2020-11-29 Thread Daniel Palmer
Header adds defines for the gpio number of each pad from the driver view. The gpio block seems to have enough registers for 128 lines but what line is mapped to a physical pin depends on the chip. The gpio block also seems to contain some registers that are not related to gpio but needed

[PATCH v4 4/5] ARM: mstar: Add gpio controller to MStar base dtsi

2020-11-29 Thread Daniel Palmer
The GPIO controller is at the same address in all of the currently known chips so create a node for it in the base dtsi. Some extra properties are needed to actually use it so disable it by default. Signed-off-by: Daniel Palmer Acked-by: Linus Walleij --- arch/arm/boot/dts/mstar-v7.dtsi | 10

[PATCH v4 2/5] dt-bindings: gpio: Binding for MStar MSC313 GPIO controller

2020-11-29 Thread Daniel Palmer
Add a binding description for the MStar/SigmaStar GPIO controller found in the MSC313 and later ARMv7 SoCs. Signed-off-by: Daniel Palmer --- .../bindings/gpio/mstar,msc313-gpio.yaml | 59 +++ MAINTAINERS | 1 + 2 files changed, 60

[PATCH v4 3/5] gpio: msc313: MStar MSC313 GPIO driver

2020-11-29 Thread Daniel Palmer
This adds a driver that supports the GPIO block found in MStar/SigmaStar ARMv7 SoCs. The controller seems to have enough register for 128 lines but where they are wired up differs between chips and no currently known chip uses anywhere near 128 lines so there needs to be some per-chip data to

[PATCH v4 0/5] Add GPIO support for MStar/SigmaStar ARMv7

2020-11-29 Thread Daniel Palmer
At the moment the MStar/SigmaStar support is only really capable of shell from an initramfs and not much else. Most of the interesting drivers are blocked on clock and pinctrl drivers and those are going to take me a little while to get cleaned up. Clock and pinctrl aren't needed for basic GPIO

Re: [PATCH v2 1/1] arm64: dts: marvell: Add a device tree for the IEI Puzzle-M801 board

2020-11-29 Thread Gregory CLEMENT
Luka Kovacic writes: > Add initial support for the IEI Puzzle-M801 1U Rackmount Network > Appliance board. > > The board is based on the quad-core Marvell Armada 8040 SoC and supports > up to 16 GB of DDR4 2400 MHz ECC RAM. It has a PCIe x16 slot (x2 lanes > only) and an M.2 type B slot. > >

Re: [PATCH] MAINTAINERS: Move Jason Cooper to CREDITS

2020-11-29 Thread Gregory CLEMENT
Marc Zyngier writes: > Jason's email address has now been bouncing for weeks, and no > reply was received when trying to reach out on other addresses. > > We really hope he is OK. But until we hear of his whereabouts, > let's move him to the CREDITS file so that people stop Cc-ing > him. > > Cc:

WARNING: suspicious RCU usage in get_counters

2020-11-29 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:127c501a Merge tag '5.10-rc5-smb3-fixes' of git://git.samb.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17f4912d50 kernel config: https://syzkaller.appspot.com/x/.config?x=6d1e98d0b97781e4

Re: scheduling while atomic in z3fold

2020-11-29 Thread Mike Galbraith
On Sun, 2020-11-29 at 10:21 +0100, Mike Galbraith wrote: > On Sun, 2020-11-29 at 08:48 +0100, Mike Galbraith wrote: > > On Sun, 2020-11-29 at 07:41 +0100, Mike Galbraith wrote: > > > On Sat, 2020-11-28 at 15:27 +0100, Oleksandr Natalenko wrote: > > > > > > > > > > Shouldn't the list manipulation

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-29 Thread Russell King - ARM Linux admin
On Sat, Nov 28, 2020 at 10:28:28PM +, Russell King - ARM Linux admin wrote: > On Sat, Nov 28, 2020 at 08:06:16PM +0100, Andrew Lunn wrote: > > > +static void sparx5_phylink_mac_config(struct phylink_config *config, > > > + unsigned int mode, > > > +

[GIT PULL] efi/urgent for v5.10-rc6

2020-11-29 Thread Borislav Petkov
Hi Linus, please pull more forwarded EFI urgent fixes. Thx. --- The following changes since commit c2fe61d8be491ff8188edaf22e838f81146b: efi/x86: Free efi_pgd with free_pages() (2020-11-10 19:18:11 +0100) are available in the Git repository at:

[GIT PULL] x86/urgent for v5.10-rc6

2020-11-29 Thread Borislav Petkov
Hi Linus, please pull a couple of urgent fixes which accumulated this last week. Thx. --- The following changes since commit 418baf2c28f3473039f2f7377760bd8f6897ae18: Linux 5.10-rc5 (2020-11-22 15:36:08 -0800) are available in the Git repository at:

[PATCH 2/2] net: dsa: ksz8795: adjust CPU link to host interface

2020-11-29 Thread Jean Pihet
Add support for RGMII in 100 and 1000 Mbps. Adjust the CPU port based on the host interface settings: interface MII type, speed, duplex. Signed-off-by: Jean Pihet --- drivers/net/dsa/microchip/ksz8795.c | 93 ++--- 1 file changed, 57 insertions(+), 36 deletions(-) diff

[PATCH 1/2] net: dsa: ksz: pad frame to 64 bytes for transmission

2020-11-29 Thread Jean Pihet
Some ethernet controllers (e.g. TI CPSW) pad the frames to a minimum of 64 bytes before the FCS is appended. This causes an issue with the KSZ tail tag which could not be the last byte before the FCS. Solve this by padding the frame to 64 bytes minus the tail tag size, before the tail tag is added

Re: [PATCH v2 net-next 3/3] nfc: s3fwrn5: extract the common phy blocks

2020-11-29 Thread Bongsu Jeon
On Sat, Nov 28, 2020 at 9:49 PM Krzysztof Kozlowski wrote: > > On Fri, Nov 27, 2020 at 08:22:18PM +0900, bongsu.je...@gmail.com wrote: > > From: Bongsu Jeon > > > > Extract the common phy blocks to reuse it. > > The UART module will use the common blocks. > > > > Signed-off-by: Bongsu Jeon > >

Re: [PATCH v2 1/2] KVM: SVM: Move asid to vcpu_svm

2020-11-29 Thread Ashish Kalra
From: Ashish Kalra This patch breaks SEV guests. The patch stores current ASID in struct vcpu_svm and only moves it to VMCB in svm_vcpu_run(), but by doing so, the ASID allocated for SEV guests and setup in vmcb->control.asid by pre_sev_run() gets over-written by this ASID stored in struct

Re: scheduling while atomic in z3fold

2020-11-29 Thread Mike Galbraith
On Sun, 2020-11-29 at 08:48 +0100, Mike Galbraith wrote: > On Sun, 2020-11-29 at 07:41 +0100, Mike Galbraith wrote: > > On Sat, 2020-11-28 at 15:27 +0100, Oleksandr Natalenko wrote: > > > > > > > > Shouldn't the list manipulation be protected with > > > > > local_lock+this_cpu_ptr instead of

Re: [PATCH v7] checkpatch: add fix option for LOGICAL_CONTINUATIONS

2020-11-29 Thread Aditya
On 23/11/20 3:58 pm, Aditya Srivastava wrote: > Currently, checkpatch warns if logical continuations are placed at the > start of a line and not at the end of previous line. > > E.g., running checkpatch on commit 3485507fc272 ("staging: > bcm2835-camera: Reduce length of enum names") reports: >

Re: [RFC PATCH v0 00/19] x86/insn: Add an insn_decode() API

2020-11-29 Thread Masami Hiramatsu
On Fri, 27 Nov 2020 09:45:39 -0800 Andy Lutomirski wrote: > On Tue, Nov 24, 2020 at 9:46 AM Borislav Petkov wrote: > > > > On Tue, Nov 24, 2020 at 11:19:33AM +0100, Borislav Petkov wrote: > > > In any case, at least the case where I give it > > > > > > 0x48 0xcf 0x48 0x83 > > > > > > and say

[PATCH] Input: Fix a ref counting issue

2020-11-29 Thread Christophe JAILLET
In case of a managed resource, 'devm_input_device_release()' already has a 'input_put_device(dev)' call. Avoid a double reference decrement by explicitly calling 'input_put_device()' only on non-managed input device. Fixes: 2be975c6d920 ("Input: introduce managed input devices (add devres

[PATCH] HID: elan: Fix some error handling path

2020-11-29 Thread Christophe JAILLET
'input' is a managed resource allocated earlier in the function by: input = devm_input_allocate_device(>dev); There is no need to explicitly free it. This would lead to a double reference decrement. Fixes: b7429ea53d6c ("HID: elan: Fix memleak in elan_input_configured") Fixes: 9a6a4193d65b

Re: [PATCH v2 3/4] input: touchscreen: usbtouchscreen: Remove unused variable 'ret'

2020-11-29 Thread Lee Jones
On Sat, 28 Nov 2020, Dmitry Torokhov wrote: > Hi Lee, > > On Thu, Nov 26, 2020 at 01:36:06PM +, Lee Jones wrote: > > Fixes the following W=1 kernel build warning(s): > > > > drivers/input/touchscreen/usbtouchscreen.c: In function ‘nexio_read_data’: > >

<    1   2   3   4