Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

2020-09-20 Thread Thomas Gleixner
On Sun, Sep 20 2020 at 10:23, Daniel Vetter wrote: > On Sun, Sep 20, 2020 at 08:23:26AM +0200, Thomas Gleixner wrote: >> On Sat, Sep 19 2020 at 12:37, Daniel Vetter wrote: >> > On Sat, Sep 19, 2020 at 12:35 PM Daniel Vetter wrote: >> >> I think it should be the case, but I want to double check: W

[GIT PULL] RISC-V Fixes for 5.9-rc6 (or shortly after)

2020-09-20 Thread Palmer Dabbelt
The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git tags/riscv-for-linus-5.9-rc6 for you to fetch changes up to d5be89a8d

Re: [RFC PATCH] Use feature bit names in clearcpuid=

2020-09-20 Thread Borislav Petkov
On Sun, Sep 20, 2020 at 12:16:28PM -0400, Arvind Sankar wrote: > Allowing 13:24 as input would be icing on the cake :) Well, I'm kinda "meh" on that. Why, you ask? Well, whether the user multiplies two integers or the kernel does it for her/him, I'd prefer the user. But that's not even the probl

Re: ledtrig-cpu: Limit to 4 CPUs

2020-09-20 Thread Marek Behun
On Sun, 20 Sep 2020 18:55:28 +0200 Jacek Anaszewski wrote: > On 9/20/20 5:39 PM, Marek Behun wrote: > > On Sun, 20 Sep 2020 16:15:09 +0200 > > Jacek Anaszewski wrote: > > > >> Hi Pavel, > >> > >> On 9/19/20 11:38 AM, Pavel Machek wrote: > >>> commit 318681d3e019e39354cc6c2155a7fd1bb8e8084d

Re: [PATCH v2] checkpatch: extend author Signed-off-by check for split From: header

2020-09-20 Thread Joe Perches
On Sun, 2020-09-20 at 14:47 +0530, Dwaipayan Ray wrote: > Checkpatch did not handle cases where the author From: header > was split into multiple lines. The author identity could not > be resolved and checkpatch generated a false NO_AUTHOR_SIGN_OFF > warning. > > A typical example is Commit e33bcb

Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

2020-09-20 Thread Thomas Gleixner
On Sun, Sep 20 2020 at 09:57, Linus Torvalds wrote: > On Sun, Sep 20, 2020 at 1:49 AM Thomas Gleixner wrote: > Btw, looking at the stack code, Ithink your new implementation of it > is a bit scary: > >static inline int kmap_atomic_idx_push(void) >{ > - int idx = __this_cpu_inc_retu

Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

2020-09-20 Thread Linus Torvalds
On Sun, Sep 20, 2020 at 10:40 AM Thomas Gleixner wrote: > > I think the more obvious solution is to split the whole exercise: > > schedule() > prepare_switch() > unmap() > > switch_to() > > finish_switch() > map() Yeah, that looks much easier to explain. Ack.

Re: ledtrig-cpu: Limit to 4 CPUs

2020-09-20 Thread Jacek Anaszewski
On 9/20/20 7:33 PM, Marek Behun wrote: On Sun, 20 Sep 2020 18:55:28 +0200 Jacek Anaszewski wrote: On 9/20/20 5:39 PM, Marek Behun wrote: On Sun, 20 Sep 2020 16:15:09 +0200 Jacek Anaszewski wrote: Hi Pavel, On 9/19/20 11:38 AM, Pavel Machek wrote: commit 318681d3e019e39354cc6c2155a7fd1

Re: [PATCH -next v2] crypto: caam: Convert to DEFINE_SHOW_ATTRIBUTE

2020-09-20 Thread Horia Geantă
On 9/18/2020 4:30 AM, Qinglang Miao wrote: > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Qinglang Miao Reviewed-by: Horia Geantă Thanks, Horia

Re: [patch RFC 00/15] mm/highmem: Provide a preemptible variant of kmap_atomic & friends

2020-09-20 Thread Linus Torvalds
On Sun, Sep 20, 2020 at 10:42 AM Linus Torvalds wrote: > > Yeah, that looks much easier to explain. Ack. Btw, one thing that might be a good idea at least initially is to add a check for p->kmap_ctrl.idx being zero at fork, exit and maybe syscall return time (but that last one may be too cumberso

Re: [GIT PULL] TTY/Serial driver fixes for 5.9-rc6

2020-09-20 Thread pr-tracker-bot
The pull request you sent on Sun, 20 Sep 2020 15:28:11 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.9-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f44f3f83d895b830a85f62790cedd5605a399ac4 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] USB/Thunderbolt fixes for 5.9-rc6

2020-09-20 Thread pr-tracker-bot
The pull request you sent on Sun, 20 Sep 2020 15:28:30 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.9-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/d0373c1463ef0cdbf05176eed2fc8f554dc2bd73 Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] EDAC urgent for v5.9-rc6

2020-09-20 Thread pr-tracker-bot
The pull request you sent on Sun, 20 Sep 2020 11:24:56 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras.git > tags/edac_urgent_for_v5.9_rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/aac5925b49956f7bf0f5d0ef3477e419f3ee2f78 Thank you! -- Deet-doot

Re: [git pull] Input updates for v5.9-rc5

2020-09-20 Thread pr-tracker-bot
The pull request you sent on Sat, 19 Sep 2020 21:09:59 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/376566ca87257b9116ac5205f0efaa3c0f29103b Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] Kbuild fixes for v5.9-rc6

2020-09-20 Thread pr-tracker-bot
The pull request you sent on Sun, 20 Sep 2020 13:01:27 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-fixes-v5.9-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c7948fe9bada1b335de1cbe8a1fd02e2ccecaa6b Thank you! --

Re: [GIT PULL] RISC-V Fixes for 5.9-rc6 (or shortly after)

2020-09-20 Thread pr-tracker-bot
The pull request you sent on Sun, 20 Sep 2020 10:26:34 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux.git > tags/riscv-for-linus-5.9-rc6 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/bdcf11de8f776152c82d2197b255c2d04603f976 Thank you! --

[PATCH v3 02/19] ASoC: sun4i-i2s: Change set_chan_cfg params

2020-09-20 Thread Clément Péron
As slots and slot_width can be overwritter in case set_tdm() is called. Avoid to have this logic in set_chan_cfg(). Instead pass the required values as params to set_chan_cfg(). This also fix a bug when i2s->slot_width is set for TDM but not properly used in set_chan_cfg(). Suggested-by: Samuel

[PATCH v3 01/19] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-20 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to that in H3, except it supports up to 16 channels. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- sound/soc/sunxi/sun4i-i2s.c | 218 1 file changed, 218 insertions(

[PATCH v3 06/19] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-20 Thread Clément Péron
The FIFO TX reg is volatile and sun8i i2s register mapping is different from sun4i. Even if in this case it's doesn't create an issue, Avoid setting some regs that are undefined in sun8i. Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 15 +++

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Al Viro
On Sun, Sep 20, 2020 at 04:15:10PM +0100, Matthew Wilcox wrote: > On Fri, Sep 18, 2020 at 02:45:25PM +0200, Christoph Hellwig wrote: > > Add a flag to force processing a syscall as a compat syscall. This is > > required so that in_compat_syscall() works for I/O submitted by io_uring > > helper thr

[PATCH v3 10/19] arm: dts: sunxi: h3/h5: Add HDMI audio

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boo

[PATCH v3 00/19] Add Allwinner H3/H5/H6/A64 HDMI audio

2020-09-20 Thread Clément Péron
Hi, New test done by Maxime using TDM show that's LRCK is indeed inverted so I drop the patch reverted in v2. And HDMI requires an inverted LRCK so let's readd the frame-inversion in the device-tree. I have also added a patch to change set_chan_cfg. Please note that I can't test TDM and only ha

[PATCH v3 04/19] ASoC: sun4i-i2s: Set sign extend sample

2020-09-20 Thread Clément Péron
From: Marcus Cooper On the newer SoCs such as the H3 and A64 this is set by default to transfer a 0 after each sample in each slot. However the A10 and A20 SoCs that this driver was developed on had a default setting where it padded the audio gain with zeros. This isn't a problem while we have o

[PATCH v3 16/19] arm64: dts: allwinner: Enable HDMI audio on Orange Pi PC 2

2020-09-20 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h5-orangep

[PATCH v3 05/19] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-09-20 Thread Clément Péron
From: Marcus Cooper Extend the functionality of the driver to include support of 20 and 24 bits per sample. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard --- sound/soc/sunxi/sun4i-i2s.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) dif

[PATCH v3 19/19] arm64: defconfig: Enable Allwinner i2s driver

2020-09-20 Thread Clément Péron
Enable Allwinner I2S driver for arm64 defconfig. Signed-off-by: Clément Péron --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 63003ec116ee..9a3c3bbe60e4 100644 --- a/arch/arm64/configs/defconfi

[PATCH] mm: Fix typos in page-lock unfairness text

2020-09-20 Thread Sedat Dilek
Fix some small typos I have seen (for details see Link). Cc: Linus Torvalds Fixes: 5ef64cc8987a ("mm: allow a controlled amount of unfairness in the page lock") Link: https://marc.info/?t=15997828843&r=1&w=2 Signed-off-by: Sedat Dilek --- mm/filemap.c | 4 ++-- 1 file changed, 2 insertions

[PATCH v3 03/19] dt-bindings: ASoC: sun4i-i2s: Add H6 compatible

2020-09-20 Thread Clément Péron
From: Jernej Skrabec H6 I2S is very similar to H3, except that it supports up to 16 channels and thus few registers have fields on different position. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron Acked-by: Maxime Ripard Acked-by: Rob Herring --- .

[PATCH v3 08/19] arm64: dts: allwinner: h6: Enable HDMI sound for Beelink GS1

2020-09-20 Thread Clément Péron
Now that HDMI sound node is available in the SoC dtsi. Enable it for this board. Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts b/arch/ar

[PATCH v3 09/19] arm: dts: sunxi: h3/h5: Add DAI node for HDMI

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/b

[PATCH v3 17/19] ARM: dts: sun8i-h3: Enable HDMI audio on Orange Pi PC/One

2020-09-20 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 8 arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 8 2 files changed, 16 insertions(+) diff --git a/

[PATCH v3 13/19] arm: sun8i: h3: Add HDMI audio to Orange Pi 2

2020-09-20 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Orange Pi 2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts b/arch/arm/boot/dts/sun8i-h3

[PATCH v3 15/19] arm64: dts: allwinner: a64: Add HDMI audio to Pine64

2020-09-20 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on Pine64. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot

[PATCH v3 11/19] arm64: dts: allwinner: a64: Add DAI node for HDMI

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add the new DAI block for I2S2 which is used for HDMI audio. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i

[PATCH v3 18/19] arm64: dts: sun50i-h6-orangepi-3: Enable HDMI audio

2020-09-20 Thread Clément Péron
From: Ondrej Jirman The board has HDMI output, enable audio on it. Signed-off-by: Ondrej Jirman Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-

[PATCH v3 07/19] arm64: dts: allwinner: h6: Add HDMI audio node

2020-09-20 Thread Clément Péron
From: Jernej Skrabec Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 33 1 file changed, 33 insertions(+) diff --git a/a

[PATCH v3 12/19] arm64: dts: allwinner: a64: Add HDMI audio

2020-09-20 Thread Clément Péron
From: Marcus Cooper Add a simple-soundcard to link audio between HDMI and I2S. Signed-off-by: Jernej Skrabec Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 +++ 1 file changed, 20 insertions(+) diff --git a/ar

[PATCH v3 14/19] arm: sun8i: h3: Add HDMI audio to Beelink X2

2020-09-20 Thread Clément Péron
From: Marcus Cooper Enable HDMI audio on the Beelink X2. Signed-off-by: Marcus Cooper Signed-off-by: Clément Péron --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Al Viro
On Sun, Sep 20, 2020 at 09:59:36AM -0700, Andy Lutomirski wrote: > As one example, look at __sys_setsockopt(). It's called for the > native and compat versions, and it contains an in_compat_syscall() > check. (This particularly check looks dubious to me, but that's > another story.) If this wer

[PATCH v3] dmaengine: qcom: Add ADM driver

2020-09-20 Thread Jonathan McDowell
Add the DMA engine driver for the QCOM Application Data Mover (ADM) DMA controller found in the MSM8x60 and IPQ/APQ8064 platforms. The ADM supports both memory to memory transactions and memory to/from peripheral device transactions. The controller also provides flow control capabilities for tran

Re: [CRM114spam]: drivers/hwmon/w83627ehf.c:2417 w83627ehf_probe() warn: 'res->start' not released on lines: 2412.

2020-09-20 Thread Dr. David Alan Gilbert
* Dan Carpenter (dan.carpen...@oracle.com) wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 5925fa68fe8244651b3f78a88c4af99190a88f0d > commit: 266cd5835947d08b7c963b6d9d9f15d9e481bd0a hwmon: (w83627ehf) convert > to with_info interface > confi

Re: ledtrig-cpu: Limit to 4 CPUs

2020-09-20 Thread Pavel Machek
Hi! > >* > >* It can be bound to any LED just like other triggers using either a > >* board file or via sysfs interface. > >* > >* An API named ledtrig_cpu is exported for any user, who want to add CPU > > - * activity indication in their code > > + * activity indication in the

Re: [RFC PATCH] Use feature bit names in clearcpuid=

2020-09-20 Thread Arvind Sankar
On Sun, Sep 20, 2020 at 07:29:54PM +0200, Borislav Petkov wrote: > On Sun, Sep 20, 2020 at 12:16:28PM -0400, Arvind Sankar wrote: > > Allowing 13:24 as input would be icing on the cake :) > > Well, I'm kinda "meh" on that. Why, you ask? > > Well, whether the user multiplies two integers or the ke

[PATCH v2 1/7] crypto: sun4i-ss: linearize buffers content must be kept

2020-09-20 Thread Corentin Labbe
When running the non-optimized cipher function, SS produce partial random output. This is due to linearize buffers being reseted after each loop. Fixes: 8d3bcb9900ca ("crypto: sun4i-ss - reduce stack usage") Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c |

[PATCH v2 0/7] crypto: sun4i-ss: prevent always fallback for ciphers

2020-09-20 Thread Corentin Labbe
Hello For help testing on "crypto: sun4i-ss - Fix sparse endianness markers", I have added "stats" support like other allwinner's crypto drivers. Seeing stats showed a clear problem, the ciphers function were not used at all. This is due to the not-inialized need_fallback which is "init" as true e

[PATCH v2 6/7] crypto: sun4i-ss: enabled stats via debugfs

2020-09-20 Thread Corentin Labbe
This patch enable to access usage stats for each algorithm. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/Kconfig | 9 .../allwinner/sun4i-ss/sun4i-ss-cipher.c | 21 .../crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 54 +++ .../crypto/a

[PATCH v2 7/7] crypto: sun4i-ss: add SPDX header and remove blank lines

2020-09-20 Thread Corentin Labbe
This patchs fixes some remaining style issue. Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 3 --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/crypto/allwinner/sun4i-ss/

[PATCH v2 4/7] crypto: sun4i-ss: handle BigEndian for cipher

2020-09-20 Thread Corentin Labbe
Ciphers produce invalid results on BE. Key and IV need to be written in LE. Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 12 ++-- 1 file changed,

[PATCH v2 2/7] crypto: sun4i-ss: checking sg length is not sufficient

2020-09-20 Thread Corentin Labbe
The optimized cipher function need length multiple of 4 bytes. But it get sometimes odd length. This is due to SG data could be stored with an offset. So the fix is to check also if the offset is aligned with 4 bytes. Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System crypto

[PATCH v2 5/7] crypto: sun4i-ss: initialize need_fallback

2020-09-20 Thread Corentin Labbe
The need_fallback is never initialized and seem to be always true at runtime. So all hardware operations are always bypassed. Fixes: 0ae1f46c55f87 ("crypto: sun4i-ss - fallback when length is not multiple of blocksize") Cc: Signed-off-by: Corentin Labbe --- drivers/crypto/allwinner/sun4i-ss/su

[PATCH v2 3/7] crypto: sun4i-ss: IV register does not work on A10 and A13

2020-09-20 Thread Corentin Labbe
Allwinner A10 and A13 SoC have a version of the SS which produce invalid IV in IVx register. Instead of adding a variant for those, let's convert SS to produce IV directly from data. Fixes: 6298e948215f2 ("crypto: sunxi-ss - Add Allwinner Security System crypto accelerator") Cc: Signed-off-by: C

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Al Viro
On Sun, Sep 20, 2020 at 07:07:42PM +0100, Al Viro wrote: > /proc/bus/input/devices (fucked bitmap-to-text representation) To illustrate the, er, beauty of that stuff: ; cat32 /proc/bus/input/devices >/tmp/a ; cat /proc/bus/input/devices >/tmp/b ; diff -u /tmp/a /tmp/b|grep '^[-+]' --- /tmp/a

Re: [PATCH v3 01/19] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-20 Thread Samuel Holland
On 9/20/20 1:07 PM, Clément Péron wrote: > From: Jernej Skrabec > > H6 I2S is very similar to that in H3, except it supports up to 16 > channels. > > Signed-off-by: Jernej Skrabec > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > --- > sound/soc/sunxi/sun4i-i2s.c | 218

Re: [PATCH v3 05/19] ASoc: sun4i-i2s: Add 20 and 24 bit support

2020-09-20 Thread Samuel Holland
On 9/20/20 1:07 PM, Clément Péron wrote: > From: Marcus Cooper > > Extend the functionality of the driver to include support of 20 and > 24 bits per sample. > > Signed-off-by: Marcus Cooper > Signed-off-by: Clément Péron > Acked-by: Maxime Ripard > --- > sound/soc/sunxi/sun4i-i2s.c | 11

Re: [PATCH] mm/shmem.c: Fix the missing unaccount on the failed path

2020-09-20 Thread Hugh Dickins
On Mon, 21 Sep 2020, Tianjia Zhang wrote: > In function __shmem_file_setup(), shmem_unacct_size() is forgotten > on the failed path, so add it. > > Fixes: 93dec2da7b234 ("... and switch shmem_file_setup() to > alloc_file_pseudo()") > Cc: Al Viro > Signed-off-by: Tianjia Zhang > --- > mm/shmem

Re: [PATCH v3 06/19] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-20 Thread Samuel Holland
On 9/20/20 1:07 PM, Clément Péron wrote: > The FIFO TX reg is volatile and sun8i i2s register > mapping is different from sun4i. > > Even if in this case it's doesn't create an issue, > Avoid setting some regs that are undefined in sun8i. > > Signed-off-by: Clément Péron > Acked-by: Maxime Ripar

libnvdimm fixes 5.9-rc6

2020-09-20 Thread Dan Williams
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-5.9-rc6 ...to receive a handful of fixes to address a string of mistakes in the mechanism for device-mapper to determine if its component devices are dax capable. You will notice that th

Re: [RFC PATCH] Use feature bit names in clearcpuid=

2020-09-20 Thread Borislav Petkov
On Sun, Sep 20, 2020 at 02:35:27PM -0400, Arvind Sankar wrote: > Thanks. Maybe also mention in the documentation that names can now be > used. Already did it as an incremental ontop. Will merge later: --- diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/ke

{standard input}:7540: Error: operand out of range (512 is not between -512 and 511)

2020-09-20 Thread kernel test robot
-20200920 (attached as .config) compiler: arceb-elf-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 8ba75b2028496777a7d595ed5ba03cc85f86bdbb

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Matthew Wilcox
On Sun, Sep 20, 2020 at 07:07:42PM +0100, Al Viro wrote: > 2) a few drivers are really fucked in head. They use different > *DATA* layouts for reads/writes, depending upon the calling process. > IOW, if you fork/exec a 32bit binary and your stdin is one of those, > reads from stdin in parent

Re: [PATCH v3 00/14] Adding GAUDI NIC code to habanalabs driver

2020-09-20 Thread Oded Gabbay
On Sun, Sep 20, 2020 at 11:47 AM Greg Kroah-Hartman wrote: > > On Sat, Sep 19, 2020 at 04:22:35PM -0300, Jason Gunthorpe wrote: > > On Sat, Sep 19, 2020 at 07:27:30PM +0200, Greg Kroah-Hartman wrote: > > > > It's probably heresy, but why do I need to integrate into the RDMA > > > > subsystem ? >

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Al Viro
On Sun, Sep 20, 2020 at 08:01:59PM +0100, Matthew Wilcox wrote: > On Sun, Sep 20, 2020 at 07:07:42PM +0100, Al Viro wrote: > > 2) a few drivers are really fucked in head. They use different > > *DATA* layouts for reads/writes, depending upon the calling process. > > IOW, if you fork/exec a 32b

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Andy Lutomirski
On Sun, Sep 20, 2020 at 11:07 AM Al Viro wrote: > > On Sun, Sep 20, 2020 at 04:15:10PM +0100, Matthew Wilcox wrote: > > On Fri, Sep 18, 2020 at 02:45:25PM +0200, Christoph Hellwig wrote: > > > Add a flag to force processing a syscall as a compat syscall. This is > > > required so that in_compat_s

Re: [PATCH v3] USB: hub.c: decrease the number of attempts of enumeration scheme

2020-09-20 Thread Alan Stern
On Sat, Sep 19, 2020 at 12:00:10AM +0900, yasushi asano wrote: > Dear Alan, > Could you please proceed with your proposal(Kconfig option)? > After all, Customer products need to get USB certification. > Thank you for considering my request. The patch is below. It is simpler than what we were look

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

2020-09-20 Thread Borislav Petkov
Hi Linus, please pull the x86/urgent pile accumulated so far. Thx. --- The following changes since commit f4d51dffc6c01a9e94650d95ce0104964f8ae822: Linux 5.9-rc4 (2020-09-06 17:11:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Matthew Wilcox
On Sun, Sep 20, 2020 at 08:10:31PM +0100, Al Viro wrote: > IMO it's much saner to mark those and refuse to touch them from io_uring... Simpler solution is to remove io_uring from the 32-bit syscall list. If you're a 32-bit process, you don't get to use io_uring. Would any real users actually care

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Andy Lutomirski
On Sun, Sep 20, 2020 at 12:23 PM Matthew Wilcox wrote: > > On Sun, Sep 20, 2020 at 08:10:31PM +0100, Al Viro wrote: > > IMO it's much saner to mark those and refuse to touch them from io_uring... > > Simpler solution is to remove io_uring from the 32-bit syscall list. > If you're a 32-bit process,

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

2020-09-20 Thread Borislav Petkov
Hi Linus, please pull a single EFI/urgent fix. I'm simply forwarding Ard's tag, I hope that's ok. Thx. --- The following changes since commit fb1201aececc59990b75ef59fca93ae4aa1e1444: Documentation: efi: remove description of efi=old_map (2020-08-20 11:18:36 +0200) are available in the Git

Re: [PATCH] lib/scatterlist: Fix memory leak in sgl_alloc_order()

2020-09-20 Thread Douglas Gilbert
On 2020-09-20 1:09 p.m., Markus Elfring wrote: Noticed that when sgl_alloc_order() failed with order > 0 that free memory on my machine shrank. That function shouldn't call sgl_free() on its error path since that is only correct when order==0 . * Would an imperative wording become helpful for t

Re: [PATCH v3 01/19] ASoC: sun4i-i2s: Add support for H6 I2S

2020-09-20 Thread Clément Péron
Hi Samuel, On Sun, 20 Sep 2020 at 20:39, Samuel Holland wrote: > > On 9/20/20 1:07 PM, Clément Péron wrote: > > From: Jernej Skrabec > > > > H6 I2S is very similar to that in H3, except it supports up to 16 > > channels. > > > > Signed-off-by: Jernej Skrabec > > Signed-off-by: Marcus Cooper >

Re: [PATCH v2 01/13] dt-bindings: gpio: add common schema for GPIO controllers

2020-09-20 Thread Krzysztof Kozlowski
On Fri, Sep 18, 2020 at 08:30:02AM -0600, Rob Herring wrote: > On Thu, Sep 17, 2020 at 10:53 AM Krzysztof Kozlowski wrote: > > > > Convert parts of gpio.txt bindings into common dtschema file for GPIO > > controllers. The schema enforces proper naming of GPIO controller nodes > > and GPIO hogs. >

[GIT PULL] locking/urgent for v5.9-rc6

2020-09-20 Thread Borislav Petkov
Hi Linus, please pull two fixes from the locking/urgent pile. Thx. --- The following changes since commit fc3abb53250a90ba2150eebd182137c136f4d25a: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid (2020-09-02 12:55:46 -0700) are available in the Git reposi

linux-next: Signed-off-by missing for commit in the net tree

2020-09-20 Thread Stephen Rothwell
Hi all, Commit 097930e85f90 ("batman-adv: bla: fix type misuse for backbone_gw hash indexing") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpKH07OmYJpP.pgp Description: OpenPGP digital signature

[GIT PULL] objtool/urgent for v5.9-rc6

2020-09-20 Thread Borislav Petkov
Hi Linus, please pull a single objtool fix. Thx. --- The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/objtool_urgen

[PATCH v3 2/3] arm64: dts: imx8mq-librem5: align GPIO hog names with dtschema

2020-09-20 Thread Krzysztof Kozlowski
dtschema expects GPIO hogs to end with 'hog' suffix. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. None, split from previous patchset using common GPIO schema --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH v3 1/3] arm64: dts: imx8mq-librem5: correct GPIO hog property

2020-09-20 Thread Krzysztof Kozlowski
Correct the name of property for GPIO specifier in GPIO hog. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. None, split from previous patchset using common GPIO schema --- arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 3/3] ARM: dts: imx: align GPIO hog names with dtschema

2020-09-20 Thread Krzysztof Kozlowski
dtschema for GPIO controllers expects GPIO hogs to end with 'hog' suffix. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. None, split from previous patchset using common GPIO schema --- arch/arm/boot/dts/imx51-zii-rdu1.dts| 2 +- arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

[PATCH v3 4/4] dt-bindings: gpio: gpio-vf610: fix iMX 7ULP compatible matching

2020-09-20 Thread Krzysztof Kozlowski
The i.MX 7ULP DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae: compatible: ['fsl,imx7ulp-gpio', 'fsl,vf610-gpio'] is too long arch/arm/boot/dts/imx7ulp-com.dt.yaml: gpio@40ae: compatible: Additio

[PATCH v3 2/4] dt-bindings: gpio: fsl-imx-gpio: add i.MX ARMv6 and ARMv7 compatibles

2020-09-20 Thread Krzysztof Kozlowski
Several DTSes with ARMv6 and ARMv7 i.MX SoCs introduce their own compatibles so add them to fix dtbs_check warnings like: arch/arm/boot/dts/imx35-pdk.dt.yaml: gpio@53fa4000: compatible: ['fsl,imx35-gpio', 'fsl,imx31-gpio'] is not valid under any of the given schemas arch/arm/boot/dts/imx

[PATCH v3 1/4] dt-bindings: gpio: pl061: add gpio-line-names

2020-09-20 Thread Krzysztof Kozlowski
Describe common "gpio-line-names" property to fix dtbs_check warnings like: arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dt.yaml: gpio@e8a0b000: 'gpio-line-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. Common GPIO

linux-next: Fixes tag needs some work in the net tree

2020-09-20 Thread Stephen Rothwell
Hi all, In commit 2369e8270469 ("batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh") Fixes tag Fixes: 279e89b2281a ("batman-adv: add broadcast duplicate check") has these problem(s): - Subject does not match target commit subject Did you mean: Fixes: 279e89b228

[PATCH v3 3/4] dt-bindings: gpio: fsl-imx-gpio: add gpio-line-names

2020-09-20 Thread Krzysztof Kozlowski
Describe common "gpio-line-names" property to fix dtbs_check warnings like: arch/arm/boot/dts/imx53-m53menlo.dt.yaml: gpio@53f84000: 'gpio-line-names' does not match any of the regexes: '^(hog-[0-9]+|.+-hog(-[0-9]+)?)$', 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski --- Changes si

linux-next: Signed-off-by missing for commit in the kvm-fixes tree

2020-09-20 Thread Stephen Rothwell
Hi all, Commit d5eff360a675 ("Revert "KVM: Check the allocation of pv cpu mask"") is missing a Signed-off-by from its author. -- Cheers, Stephen Rothwell pgpd9ntXetgfk.pgp Description: OpenPGP digital signature

[GIT PULL] core/urgent for v5.9-rc6

2020-09-20 Thread Borislav Petkov
Hi Linus, please pull a single syscall tracing fix. Thx. --- The following changes since commit 856deb866d16e29bd65952e0289066f6078af773: Linux 5.9-rc5 (2020-09-13 16:06:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/core_

Re: [PATCH v3 06/19] ASoC: sun4i-i2s: Fix sun8i volatile regs

2020-09-20 Thread Clément Péron
Hi Samuel, On Sun, 20 Sep 2020 at 20:52, Samuel Holland wrote: > > On 9/20/20 1:07 PM, Clément Péron wrote: > > The FIFO TX reg is volatile and sun8i i2s register > > mapping is different from sun4i. > > > > Even if in this case it's doesn't create an issue, > > Avoid setting some regs that are u

linux-next: Signed-off-by missing for commit in the gfs2 tree

2020-09-20 Thread Stephen Rothwell
Hi all, Commit aa4796e18397 ("gfs2: Fix bad comment for trans_drain") is missing a Signed-off-by from its committer. One of the traps of rebasing ... -- Cheers, Stephen Rothwell pgpSMvmBFRMD7.pgp Description: OpenPGP digital signature

linux-next: Signed-off-by missing for commits in the leds tree

2020-09-20 Thread Stephen Rothwell
Hi all, Commits 258a8388d0ec ("leds: ns2: use struct led_init_data when registering") d444232bbbdd ("leds: ns2: remove unneeded variable") 29c44f2b51a8 ("leds: ns2: register LED immediately after parsing DT properties") 925533c5a040 ("leds: ns2: cosmetic change: use helper variable") 4

Re: [PATCH] soc: fsl: dpio: remove set but not used 'addr_cena'

2020-09-20 Thread Krzysztof Kozlowski
On Thu, 10 Sep 2020 at 16:57, Jason Yan wrote: > > This addresses the following gcc warning with "make W=1": > > drivers/soc/fsl/dpio/qbman-portal.c: In function > ‘qbman_swp_enqueue_multiple_direct’: > drivers/soc/fsl/dpio/qbman-portal.c:650:11: warning: variable > ‘addr_cena’ set but not used [-

possible deadlock in xfrm_policy_delete

2020-09-20 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:5fa35f24 Add linux-next specific files for 20200916 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1122e2d990 kernel config: https://syzkaller.appspot.com/x/.config?x=6bdb7e39caf48f53 dashboard

[PATCH] soc: fsl: qbman: Fix return value on success

2020-09-20 Thread Krzysztof Kozlowski
On error the function was meant to return -ERRNO. This also fixes compile warning: drivers/soc/fsl/qbman/bman.c:640:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] Fixes: 0505d00c8dba ("soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootup") Sign

[PATCH] soc: actions: include header to fix missing prototype

2020-09-20 Thread Krzysztof Kozlowski
Include the header with prototype of owl_sps_set_pg to fix: drivers/soc/actions/owl-sps-helper.c:16:5: warning: no previous prototype for 'owl_sps_set_pg' [-Wmissing-prototypes] Signed-off-by: Krzysztof Kozlowski --- drivers/soc/actions/owl-sps-helper.c | 1 + 1 file changed, 1 insertion(+)

[PATCH] dt-bindings: iio: vishay,vcnl4000: add interrupts property

2020-09-20 Thread Krzysztof Kozlowski
The dtschema should list all properties, including the common ones like interrupts. This fixes dtbs_check warnings like: arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dt.yaml: prox@60: 'interrupt-parent', 'interrupts' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzy

[PATCH] gpio: gpio-amd-fch: Fix typo on define of AMD_FCH_GPIO_REG_GPIO55_DEVSLP0

2020-09-20 Thread Ed Wildgoose
Schematics show that the GPIO number is 55 (not 59). Trivial typo. Signed-off-by: Ed Wildgoose --- drivers/platform/x86/pcengines-apuv2.c | 2 +- include/linux/platform_data/gpio/gpio-amd-fch.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/p

[PATCH] gpio: gpio-amd-fch: Correct logic of GPIO_LINE_DIRECTION

2020-09-20 Thread Ed Wildgoose
The original commit appears to have the logic reversed in amd_fch_gpio_get_direction. Also confirmed by observing the value of "direction" in the sys tree. Signed-off-by: Ed Wildgoose --- drivers/gpio/gpio-amd-fch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio

[PATCH leds] leds: regulator: remove driver

2020-09-20 Thread Marek Behún
The leds-regulator driver only supports the old platform data binding and no in-tree code uses it. It also seems that no OpenWRT board uses it. Remove this driver. Signed-off-by: Marek Behún --- drivers/leds/Kconfig | 7 -- drivers/leds/Makefile | 1 - drivers/leds/leds-r

Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag

2020-09-20 Thread Arnd Bergmann
On Sun, Sep 20, 2020 at 9:28 PM Andy Lutomirski wrote: > On Sun, Sep 20, 2020 at 12:23 PM Matthew Wilcox wrote: > > > > On Sun, Sep 20, 2020 at 08:10:31PM +0100, Al Viro wrote: > > > IMO it's much saner to mark those and refuse to touch them from > > > io_uring... > > > > Simpler solution is to

[PATCH] mmc: davinci: Drop pointer to mmc_host from mmc_davinci_host

2020-09-20 Thread Amey Narkhede
The TI DaVinci MMC host driver uses a pointer to get from the private mmc_davinci_host structure to generic mmc_host structure. However mmc_host always immediately precedes mmc_davinci_host in memory hence get the address of that mmc_host structure using mmc_from_priv() which performs subtraction(w

[PATCH] MIPS: SGI-IP30: Move irq bits to better header files

2020-09-20 Thread Thomas Bogendoerfer
Move HEART specific parts of mach-ip30/irq.h to asm/sgi/heart.h and IP30 specific parts to sgi-ip30/ip30-common.h. Signed-off-by: Thomas Bogendoerfer --- arch/mips/include/asm/mach-ip30/irq.h | 87 --- arch/mips/include/asm/sgi/heart.h | 51 +++

Re: [PATCH] 6lowpan: Add missing locking

2020-09-20 Thread Pavel Machek
On Sun 2020-09-20 16:14:22, Markus Elfring wrote: > > I believe set_lock should be taken in exit function, too. > > * Would an imperative wording become helpful for the change description? > > * How do you think about to add the tag “Fixes” to the commit message? Hi, This is the semi-friendly n

[PATCH 2/2] MIPS: alchemy: remove unused ALCHEMY_GPIOINT_AU1000

2020-09-20 Thread Thomas Bogendoerfer
Remove unused config option ALCHEMY_GPIOINT_AU1000. Signed-off-by: Thomas Bogendoerfer --- arch/mips/alchemy/Kconfig | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/mips/alchemy/Kconfig b/arch/mips/alchemy/Kconfig index 827256bbe6b8..69734120ada1 100644 --- a/arch/mips/alchemy/Kco

<    1   2   3   4   5   >