[GIT PULL] SCSI fixes for 5.8-rc5

2020-07-25 Thread James Bottomley
Small core patch to fix a corner case bug: we forgot to run the queues to handle starvation in the error exit from the scsi_queue_rq routine, which can lead to hangs on error conditions. The patch is available here: git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes The

[PATCH] MAINTAINERS: adjust kprobes.rst entry to new location

2020-07-25 Thread Lukas Bulwahn
Commit 2165b82fde82 ("docs: Move kprobes.rst from staging/ to trace/") moved kprobes.rst, but missed to adjust the MAINTAINERS entry. Hence, ./scripts/get_maintainer.pl --self-test=patterns complains: warning: no file matchesF:Documentation/staging/kprobes.rst Adjust the entry to the

Re: [PATCH v2] net: ipv6: fix use-after-free Read in __xfrm6_tunnel_spi_lookup

2020-07-25 Thread Cong Wang
On Sat, Jul 25, 2020 at 8:09 PM B K Karthik wrote: > @@ -103,10 +103,10 @@ static int __xfrm6_tunnel_spi_check(struct net *net, > u32 spi) > { > struct xfrm6_tunnel_net *xfrm6_tn = xfrm6_tunnel_pernet(net); > struct xfrm6_tunnel_spi *x6spi; > - int index =

Re: [PATCH] scsi: iscsi: Do not put host in iscsi_set_flashnode_param()

2020-07-25 Thread Mike Christie
On 6/15/20 3:12 AM, Jing Xiangfeng wrote: > If scsi_host_lookup() failes we will jump to put_host, which may > cause panic. Jump to exit_set_fnode to fix it. > > Signed-off-by: Jing Xiangfeng > --- > drivers/scsi/scsi_transport_iscsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH] tty: fix pid refcount leak in tty_signal_session_leader

2020-07-25 Thread Xin Xiong
In the loop, every time when p->signal->leader is true, the function tty_signal_session_leader() will invoke get_pid() and return a reference of tty->pgrp with increased refcount to the local variable tty_pgrp or return NULL if it fails. After finishing the loop, the function invokes put_pid() for

[PATCH] [video/fbdev] mbxfb_remove: fix null pointer dereference

2020-07-25 Thread Gaurav Singh
Function mbxfb_debugfs_remove() accesses fbi->par without NULL check, hence do the NULL check in the caller mbxfb_remove(). Signed-off-by: Gaurav Singh --- drivers/video/fbdev/mbx/mbxfb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/video/fbdev/mbx/mbxfb.c

Re: [PATCH v6 3/4] RISC-V: Remove CLINT related code from timer and arch

2020-07-25 Thread Anup Patel
On Sat, Jul 25, 2020 at 10:46 AM Atish Patra wrote: > > On Fri, Jul 24, 2020 at 12:19 AM Anup Patel wrote: > > > > Right now the RISC-V timer driver is convoluted to support: > > 1. Linux RISC-V S-mode (with MMU) where it will use TIME CSR for > >clocksource and SBI timer calls for

[PATCH] [video/fbdev] fb_flashcursor: Remove redundant null check

2020-07-25 Thread Gaurav Singh
ops cannot be NULL as its being accessed later without checks. Remove the redundant NULL check. Signed-off-by: Gaurav Singh --- drivers/video/fbdev/core/fbcon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/core/fbcon.c

[PATCH] fork: fix pid refcount leaks when destroying file

2020-07-25 Thread Xin Xiong
When clone_flags & CLONE_PIDFD is true,the function creates a new file object called pidfile,and invokes get_pid(),which increases the refcnt of pid for pidfile to hold. The reference counting issues take place in the error handling paths. When error occurs after the construction of pidfile, the

[PATCH 7/7] ARM:mstar: Add reboot support

2020-07-25 Thread Daniel Palmer
MStar v7 SoCs support reset by writing a magic value to a register in the "pmsleep" area. This adds a node for using the syscon reboot driver to trigger a reset. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH 0/7] ARM:mstar: DT filling out

2020-07-25 Thread Daniel Palmer
This series adds a few low hanging fruit that are purely DT changes to keep the ball rolling while I work on series for more complicated things like the interrupt controllers. Summary of changes: - Adds the IMI SRAM region and sets the right size for each family - Adds the ARM PMU - Adds a

[PATCH 2/7] ARM:mstar: Adjust IMI size of infinity

2020-07-25 Thread Daniel Palmer
infinity has 88KB of SRAM at the IMI region. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/infinity.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/infinity.dtsi b/arch/arm/boot/dts/infinity.dtsi index f68e6d59c328..cd911adef014 100644 ---

[PATCH 6/7] ARM:mstar: Add syscon node for "pmsleep" area

2020-07-25 Thread Daniel Palmer
MStar v7 SoCs contain a region of registers that are in the always on domain that the vendor code calls the "pmsleep" area. This area contains registers for a broad range of functionality and needs to be shared between drivers. This patch adds a syscon node for the pmsleep area so that other

[PATCH 4/7] ARM:mstar: Adjust IMI size for infinity3

2020-07-25 Thread Daniel Palmer
infinity3 has 128KB of SRAM at the IMI region. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/infinity3.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/infinity3.dtsi b/arch/arm/boot/dts/infinity3.dtsi index 2830d064c07d..9b918c802654 100644 ---

[PATCH 3/7] ARM:mstar: Adjust IMI size for mercury5

2020-07-25 Thread Daniel Palmer
mercury5 family chips have 128KB of SRAM in the IMI region. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mercury5.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/mercury5.dtsi b/arch/arm/boot/dts/mercury5.dtsi index f68e6d59c328..a7d0dd9d6132 100644 ---

[PATCH 1/7] ARM:mstar: Add IMI SRAM region

2020-07-25 Thread Daniel Palmer
All MStar v7 SoCs have an internal SRAM region that is between 64KB (infinity2m) and 128KB(infinity3, mercury5). The region is always at the same base address and is used for the second stage loader (MStar IPL or u-boot SPL) and will be used for the DDR self-refresh entry code within the kernel

[PATCH 5/7] ARM:mstar: Add PMU

2020-07-25 Thread Daniel Palmer
Adds the ARM PMU to the base MStar v7 dtsi. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 6bc55fdbee04..a73b1d162dfd 100644 ---

Re: Re: checkpatch: support deprecated terms checking

2020-07-25 Thread Joe Perches
On Sun, 2020-07-26 at 01:35 +0200, SeongJae Park wrote: > On Sat, 25 Jul 2020 10:29:23 -0700 Joe Perches wrote: > > > On Sat, 2020-07-25 at 15:02 +0200, Michał Mirosław wrote: > > > Hello, > > > > > > I see that this patch went into next and is already inciting people to > > > do wrong things

Re: [RFC PATCH] mm: silence soft lockups from unlock_page

2020-07-25 Thread Hugh Dickins
On Sat, 25 Jul 2020, Hugh Dickins wrote: > On Sat, 25 Jul 2020, Linus Torvalds wrote: > > On Sat, Jul 25, 2020 at 3:14 AM Oleg Nesterov wrote: > > > > > > Heh. I too thought about this. And just in case, your patch looks correct > > > to me. But I can't really comment this behavioural change.

[PATCH 2/2] MIPS: BCM47xx: Include bcm47xx_sprom.h

2020-07-25 Thread Florian Fainelli
Now that bcm47xx_sprom.h contains a prototype for bcm47xx_fill_sprom, include that header file directly from bcm47xx.h. Signed-off-by: Florian Fainelli --- arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH 1/2] lockdep: improve current->(hard|soft)irqs_enabled synchronisation with actual irq state

2020-07-25 Thread Nicholas Piggin
Excerpts from Peter Zijlstra's message of July 26, 2020 6:26 am: > On Thu, Jul 23, 2020 at 08:56:14PM +1000, Nicholas Piggin wrote: >> diff --git a/arch/powerpc/include/asm/hw_irq.h >> b/arch/powerpc/include/asm/hw_irq.h >> index 3a0db7b0b46e..35060be09073 100644 >> ---

[PATCH 0/2] firmware: bcm47xx_sprom: Fix -Wmissing-prototypes warnings

2020-07-25 Thread Florian Fainelli
Hi Thomas, This patch series fixes W=1 -Wmissing-prototypes warnings for the bcm47xx_sprom.c firmware file. Thanks! Florian Fainelli (2): firmware: bcm47xx_sprom: Fix -Wmissing-prototypes warnings MIPS: BCM47xx: Include bcm47xx_sprom.h arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 4

[PATCH 1/2] firmware: bcm47xx_sprom: Fix -Wmissing-prototypes warnings

2020-07-25 Thread Florian Fainelli
bcm47xx_sprom.h did not include a prototype for bcm47xx_fill_sprom() therefore add one, and make sure we do include that header to fix -Wmissing-prototypes warnings. Reported-by: kernel test robot Signed-off-by: Florian Fainelli --- drivers/firmware/broadcom/bcm47xx_sprom.c | 1 +

Re: [PATCH v3 0/4] irqchip: Add IRQCHIP_PLATFORM_DRIVER helper macros

2020-07-25 Thread Saravana Kannan
On Sat, Jul 25, 2020 at 7:23 AM Marc Zyngier wrote: > > On Fri, 17 Jul 2020 17:06:33 -0700, Saravana Kannan wrote: > > Made a series out of the previous v2 patch + some example uses of the > > macros. > > > > Not sure if the MTK changes work (just compile tested), but saw that > > Hanks was

hi

2020-07-25 Thread Mrs.Nancy Christopher
-- Dear Beloved, I’m Mrs.Nancy Christopher, 69years old affected with breast cancer, the wife of late Brown Christopher, the Director of High River Gold Mines Ltd Burkina Faso West Africa. I am contacting you because of my health condition,i need a reliable person, who will handle this project

[rcu:dev.2020.07.14a 64/73] include/linux/rculist.h:727:30: error: left-hand operand of comma expression has no effect

2020-07-25 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2020.07.14a head: aace6daf32cce6b644083754c7be6260aae439db commit: 93d62a873f87bf69209a5c29d62b9497888de6d6 [64/73] kvm: mmu: page_track: Fix RCU list API usage config: i386-randconfig-a006-20200726 (attached as

Re: [PATCH v2 05/18] gpiolib: cdev: support GPIO_GET_LINE_IOCTL and GPIOLINE_GET_VALUES_IOCTL

2020-07-25 Thread Kent Gibson
On Sun, Jul 26, 2020 at 09:12:44AM +0800, Kent Gibson wrote: > On Sat, Jul 25, 2020 at 11:51:54PM +0300, Andy Shevchenko wrote: > > On Sat, Jul 25, 2020 at 7:24 AM Kent Gibson wrote: > > > [ snip ] > > > > > +static bool padding_not_zeroed(__u32 *padding, int pad_size) > > > +{ > > > +

Re: WARNING in delete_node (2)

2020-07-25 Thread Matthew Wilcox
On Sat, Jul 25, 2020 at 10:04:15AM -0700, syzbot wrote: > [ cut here ] > WARNING: CPU: 1 PID: 17410 at lib/radix-tree.c:571 delete_node+0x1e7/0x8a0 > lib/radix-tree.c:571 Umm. Interesting. That's WARN_ON_ONCE(!list_empty(>private_list)); That list_head

[PATCH] io: Fix return type of _inb and _inl

2020-07-25 Thread Stafford Horne
The return type of functions _inb, _inw and _inl are all u16 which looks wrong. This patch makes them u8, u16 and u32 respectively. The original commit text for these does not indicate that these should be all forced to u16. Fixes: f009c89df79a ("io: Provide _inX() and _outX()") Signed-off-by:

[PATCH v2] net: ipv6: fix use-after-free Read in __xfrm6_tunnel_spi_lookup

2020-07-25 Thread B K Karthik
__xfrm_tunnel_spi_check used xfrm6_tunnel_spi_has_byspi which returns spi % XFRM6_TUNNEL_SPI_BYSPI_HSIZE. whereas xfrm6_tunnel_spi_hash_byaddr makes a call to ipv6_addr_hash. netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 netdevsim netdevsim0 netdevsim2: set [1, 0] type

[tip:x86/timers] BUILD SUCCESS 898ec52d2ba05915aaedcdb21bff2e944c883cb8

2020-07-25 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/timers branch HEAD: 898ec52d2ba05915aaedcdb21bff2e944c883cb8 x86/xen/time: Set the X86_FEATURE_TSC_KNOWN_FREQ flag in xen_tsc_khz() elapsed time: 721m configs tested: 10 configs skipped: 70 The following configs

[PATCH v2 5/6] stm class: ftrace: enable supported trace export flag

2020-07-25 Thread Tingwei Zhang
Set flags for trace_export. Export function trace, event trace and trace marker to stm. Signed-off-by: Tingwei Zhang --- drivers/hwtracing/stm/ftrace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hwtracing/stm/ftrace.c b/drivers/hwtracing/stm/ftrace.c index

[PATCH v2 2/6] tracing: add flag to control different traces

2020-07-25 Thread Tingwei Zhang
More traces like event trace or trace marker will be supported. Add flag for difference traces, so that they can be controlled separately. Move current function trace to it's own flag instead of global ftrace enable flag. Signed-off-by: Tingwei Zhang --- include/linux/trace.h | 5 +

[PATCH v2 3/6] tracing: add trace_export support for event trace

2020-07-25 Thread Tingwei Zhang
Only function traces can be exported to other destinations currently. This patch exports event trace as well. Move trace export related function to the beginning of file so other trace can call trace_process_export() to export. Signed-off-by: Tingwei Zhang --- include/linux/trace.h | 1 +

[PATCH v2 6/6] stm class: ftrace: use different channel accroding to CPU

2020-07-25 Thread Tingwei Zhang
To avoid mixup of packets from differnt ftrace packets simultaneously, use different channel for packets from different CPU. Signed-off-by: Tingwei Zhang --- drivers/hwtracing/stm/ftrace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/hwtracing/stm/ftrace.c

[PATCH v2 4/6] tracing: add trace_export support for trace_marker

2020-07-25 Thread Tingwei Zhang
Add the support to route trace_marker buffer to other destination via trace_export. Signed-off-by: Tingwei Zhang --- include/linux/trace.h | 1 + kernel/trace/trace.c | 9 + 2 files changed, 10 insertions(+) diff --git a/include/linux/trace.h b/include/linux/trace.h index

[PATCH v2 1/6] stm class: ftrace: change dependency to TRACING

2020-07-25 Thread Tingwei Zhang
We will support copying event trace to STM. Change STM_SOURCE_FTRACE to depend on TRACING since we will support multiple tracers. Signed-off-by: Tingwei Zhang --- drivers/hwtracing/stm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwtracing/stm/Kconfig

[PATCH v2 0/6] tracing: export event trace and trace_marker

2020-07-25 Thread Tingwei Zhang
Ftrace has ability to export trace packets to other destionation. Currently, only function trace can be exported. This series extends the support to event trace and trace_maker. STM is one possible destination to export ftrace. Use seperate channel for each CPU to avoid mixing up packets from

[PATCH v2 4/8] ASoC: sun50i-codec-analog: Make headphone routes stereo

2020-07-25 Thread Samuel Holland
This matches the hardware more accurately, and is necessary for including the (stereo) headphone mute switch in the DAPM graph. Reviewed-by: Chen-Yu Tsai Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun50i-codec-analog.c | 28 +++ 1 file changed, 20 insertions(+),

[PATCH v2 0/8] ASoC: sun50i-codec-analog: Cleanup and power management

2020-07-25 Thread Samuel Holland
This series performs some minor cleanup on the driver for the analog codec in the Allwinner A64, and hooks up the existing mute switches to DAPM widgets, in order to provide improved power management. Changes since v1: - Collected Acked-by/Reviewed-by tags - Used SOC_MIXER_NAMED_CTL_ARRAY to

[PATCH v2 5/8] ASoC: sun50i-codec-analog: Enable DAPM for headphone switch

2020-07-25 Thread Samuel Holland
By including the headphone mute switch to the DAPM graph, both the headphone amplifier and the Mixer/DAC inputs can be powered off when the headphones are muted. The mute switch is between the source selection and the amplifier, as per the diagram in the SoC manual. Reviewed-by: Chen-Yu Tsai

[PATCH v2 8/8] ASoC: sun50i-codec-analog: Enable DAPM for earpiece switch

2020-07-25 Thread Samuel Holland
By including the earpiece mute switch in the DAPM graph, both the earpiece amplifier and the Mixer/DAC inputs can be powered off when the earpiece is muted. While the widget is really just a simple switch, it is represented as a "mixer with named controls" to avoid including the widget name in

[PATCH v2 1/8] ASoC: sun50i-codec-analog: Fix duplicate use of ADC enable bits

2020-07-25 Thread Samuel Holland
The same enable bits are currently used for both the "Left/Right ADC" and the "Left/Right ADC Mixer" widgets. This happens to work in practice because the widgets are always enabled/disabled at the same time, but each register bit should only be associated with a single widget. To keep symmetry

[PATCH v2 3/8] ASoC: sun50i-codec-analog: Group and sort mixer routes

2020-07-25 Thread Samuel Holland
Sort the controls in the same order as the bits in the register. Then group the routes by sink, and sort them in the same order as the controls. This makes it much easier to verify that all mixer inputs are accounted for. Acked-by: Chen-Yu Tsai Signed-off-by: Samuel Holland ---

[PATCH v2 6/8] ASoC: sun50i-codec-analog: Make line out routes stereo

2020-07-25 Thread Samuel Holland
This matches the hardware more accurately, and is necessary for including the (stereo) line out mute switch in the DAPM graph. Reviewed-by: Chen-Yu Tsai Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun50i-codec-analog.c | 18 +++--- 1 file changed, 11 insertions(+), 7

[PATCH v2 7/8] ASoC: sun50i-codec-analog: Enable DAPM for line out switch

2020-07-25 Thread Samuel Holland
By including the line out mute switch in the DAPM graph, the Mixer/DAC inputs can be powered off when the line output is muted. The line outputs have an unusual routing scheme. The left side mute switch is between the source selection and the amplifier, as usual. The right side source selection

[PATCH v2 2/8] ASoC: sun50i-codec-analog: Gate the amplifier clock during suspend

2020-07-25 Thread Samuel Holland
The clock must be running for the zero-crossing mute functionality. However, it must be gated for VDD-SYS to be turned off during system suspend. Disable it in the suspend callback, after everything has already been muted, to avoid pops when muting/unmuting outputs. Acked-by: Chen-Yu Tsai

[Linux-kernel-mentees] [PATCH v2] infiniband: Prevent uninit-value in ucma_accept()

2020-07-25 Thread Peilin Ye
ucma_accept() is reading uninitialized memory when `in_len` is less than `offsetof(struct rdma_ucm_accept, ece)`. Fix it. Reported-and-tested-by: syzbot+086ab5ca9eafd2379...@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?id=0bce3bb68cb383fce92f78444e3ef77c764b60ad

Re: [PATCH v3] This command attaches a description to a file descriptor for troubleshooting purposes. The free string is displayed in the process fdinfo file for that fd /proc/pid/fdinfo/fd.

2020-07-25 Thread Pascal Bouchareine
Sorry about all the noise, please disregard this one. On Sat, Jul 25, 2020 at 7:04 PM Pascal Bouchareine wrote: > > One intended usage is to allow processes to self-document sockets > for netstat and friends to report > > Signed-off-by: Pascal Bouchareine > --- >

[PATCH v3] proc,fcntl: introduce F_SET_DESCRIPTION

2020-07-25 Thread Pascal Bouchareine
This command attaches a description to a file descriptor for troubleshooting purposes. The free string is displayed in the process fdinfo file for that fd /proc/pid/fdinfo/fd. One intended usage is to allow processes to self-document sockets for netstat and friends to report Signed-off-by:

Re: process '/usr/bin/rsync' started with executable stack

2020-07-25 Thread Kees Cook
On Sat, Jul 25, 2020 at 10:27:56PM +0100, Ben Hutchings wrote: > On Thu, 2020-06-25 at 13:20 -0700, Kees Cook wrote: > > On Thu, Jun 25, 2020 at 01:04:29PM +0300, Dan Carpenter wrote: > > > On Wed, Jun 24, 2020 at 12:39:24PM -0700, Kees Cook wrote: > > > > On Wed, Jun 24, 2020 at 07:51:48PM +0300,

[PATCH v3] This command attaches a description to a file descriptor for troubleshooting purposes. The free string is displayed in the process fdinfo file for that fd /proc/pid/fdinfo/fd.

2020-07-25 Thread Pascal Bouchareine
One intended usage is to allow processes to self-document sockets for netstat and friends to report Signed-off-by: Pascal Bouchareine --- Documentation/filesystems/proc.rst | 3 +++ fs/fcntl.c | 19 +++ fs/file_table.c| 2 ++

[PATCH v2] proc,fcntl: introduce F_SET_DESCRIPTION

2020-07-25 Thread Pascal Bouchareine
This command attaches a description to a file descriptor for troubleshooting purposes. The free string is displayed in the process fdinfo file for that fd /proc/pid/fdinfo/fd. One intended usage is to allow processes to self-document sockets for netstat and friends to report Signed-off-by:

Re: [PATCH] proc,fcntl: introduce F_SET_DESCRIPTION

2020-07-25 Thread Pascal Bouchareine
On Sat, Jul 25, 2020 at 3:10 PM Al Viro wrote: > Have you even tried to test it? When will it ever free those things? Thanks for pointing that out, I'll try to address that in the thread I did basic tests against 5.4: set a description, concurrently set it from multiple child processes, read,

[PATCH] [cgroup/testing] cg_read_strcmp: Fix null pointer dereference

2020-07-25 Thread Gaurav Singh
Haven't reproduced this issue. This PR is does a minor code cleanup. Signed-off-by: Gaurav Singh --- tools/testing/selftests/cgroup/cgroup_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/cgroup/cgroup_util.c

[PATCH 2/7] ASoC: sun8i-codec: Fix DAPM to match the hardware topology

2020-07-25 Thread Samuel Holland
The A33/A64 digital codec has 4 physical inputs and 4 physical outputs: 3 AIFs/DAIs and one ADC/DAC pair. Internal routing is accomplished by a 4-channel mixer connected to each output. The analog and digital sides of the ADC/DAC are in separate ASoC components, so card-level DAPM routes

[PATCH 3/7] ASoC: sun8i-codec: Add missing mixer routes

2020-07-25 Thread Samuel Holland
The sun8i-codec driver provides ALSA controls for enabling/disabling each of the inputs to the AIF1 Slot 0 and DAC mixers. For two of these inputs (ADC->DAC and AIF1 DA0->AIF1 AD0), the audio source is implemented, so the mixer inputs can be used. However, because the DAPM routes are missing,

[PATCH 1/7] ASoC: dt-bindings: Add a new compatible for the A64 codec

2020-07-25 Thread Samuel Holland
The audio codecs in the A33 and A64 are both integrated variants of the X-Powers AC100 codec. However, there are some differences between them that merit having a separate compatible: - The A64 has a second DRC block, not present in the AC100 or A33. - The A33 has some extra muxing options for

[PATCH 5/7] ARM: dts: sun8i: a33: Update codec widget names

2020-07-25 Thread Samuel Holland
The sun8i-codec driver introduced a new set of DAPM widgets that more accurately describe the hardware topology. Update the various device trees to use the new widget names. Signed-off-by: Samuel Holland --- arch/arm/boot/dts/sun8i-a33-olinuxino.dts | 4 ++-- arch/arm/boot/dts/sun8i-a33.dtsi

[PATCH 6/7] arm64: dts: allwinner: a64: Update codec widget names

2020-07-25 Thread Samuel Holland
The sun8i-codec driver introduced a new set of DAPM widgets that more accurately describe the hardware topology. Update the various device trees to use the new widget names. Signed-off-by: Samuel Holland --- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 8

[PATCH 4/7] ASoC: sun8i-codec: Add a quirk for LRCK inversion

2020-07-25 Thread Samuel Holland
On the A64, as tested using the PinePhone, the current code causes the left/right channels to be swapped during I2S playback from the CPU on AIF1, and breaks DSP_A communication with the modem on AIF2. Both of these are fixed when LRCK is no longer inverted. Trusting that the comment in the code

[PATCH 0/7] Allwinner A64 digital audio codec fixes

2020-07-25 Thread Samuel Holland
This series fixes a couple of issues with the digital audio codec in the Allwinner A64 SoC: 1) Left/right channels were swapped when playing/recording audio 2) DAPM topology was wrong, breaking some kcontrols This is the minimum set of changes necessary to fix these issues in a

[PATCH 7/7] arm64: dts: allwinner: a64: Update the audio codec compatible

2020-07-25 Thread Samuel Holland
The audio codec in the A64 has some differences from the A33 codec, so it needs its own compatible. Since the two codecs are similar, the A33 codec compatible is kept as a fallback. Using the correct compatible fixes a channel inversion issue and cleans up some DAPM widgets that are no longer

drivers/firmware/broadcom/bcm47xx_sprom.c:563:6: warning: no previous prototype for 'bcm47xx_fill_sprom'

2020-07-25 Thread kernel test robot
Hi Florian, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 04300d66f0a06d572d9f2ad6768c38cabde22179 commit: 5699ad0aaf1091824f22492a708478912c38c7d2 firmware: bcm47xx_nvram: Allow COMPILE_TEST date: 11 months

[tip:core/headers] BUILD SUCCESS d19e789f068b3d633cbac430764962f404198022

2020-07-25 Thread kernel test robot
randconfig-a006-20200724 i386 randconfig-a002-20200724 i386 randconfig-a001-20200724 i386 randconfig-a003-20200725 i386 randconfig-a005-20200725 i386 randconfig-a004-20200725 i386 randconfig

Re: [PATCH v2 05/18] gpiolib: cdev: support GPIO_GET_LINE_IOCTL and GPIOLINE_GET_VALUES_IOCTL

2020-07-25 Thread Kent Gibson
On Sat, Jul 25, 2020 at 11:51:54PM +0300, Andy Shevchenko wrote: > On Sat, Jul 25, 2020 at 7:24 AM Kent Gibson wrote: > > > > Add support for requesting lines using the GPIO_GET_LINE_IOCTL, and > > returning their current values using GPIOLINE_GET_VALUES_IOCTL. > > ... > > > +struct line { > >

drivers/net/dsa/microchip/ksz9477_i2c.c:77:34: warning: unused variable 'ksz9477_dt_ids'

2020-07-25 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 04300d66f0a06d572d9f2ad6768c38cabde22179 commit: 20e03777d70923fe7eae0d7f043ef9488393ab95 net: dsa: microchip: add KSZ9477 I2C driver date: 11 months ago config: x86_64-randconfig-r006-20200726 (attached

[ANNOUNCE] 4.14.189-rt88

2020-07-25 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.14.189-rt88 stable release. This is strictly a backport of the stable update with no changes to PREEMPT_RT code. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v4.14-rt

[PATCH 0/3] x86: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop repeated words in arch/x86/ header files. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org arch/x86/include/asm/cmpxchg_32.h |2 +- arch/x86/include/asm/uv/uv_hub.h |2 +- arch/x86/include/uapi/asm/bootparam.h |2 +- 3 files changed, 3

[PATCH 3/3] x86: uv: uv_hub.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "the". Signed-off-by: Randy Dunlap Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org --- arch/x86/include/asm/uv/uv_hub.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/x86/include/asm/uv/uv_hub.h

[PATCH 1/3] x86: bootparam.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "for". Signed-off-by: Randy Dunlap Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org --- arch/x86/include/uapi/asm/bootparam.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 2/3] x86: cmpxchg_32.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "you". Signed-off-by: Randy Dunlap Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org --- arch/x86/include/asm/cmpxchg_32.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 2/5] ia64: perfmon.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "of". Signed-off-by: Randy Dunlap Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org --- arch/ia64/include/asm/perfmon.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/ia64/include/asm/perfmon.h +++

[PATCH 1/5] ia64: pal.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "to". Signed-off-by: Randy Dunlap Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org --- arch/ia64/include/asm/pal.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/ia64/include/asm/pal.h +++

[PATCH 5/5] ia64: kernel: perfmon_m*.h: delete duplicated words

2020-07-25 Thread Randy Dunlap
Delete the repeated word "the" in two places. Signed-off-by: Randy Dunlap Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org --- arch/ia64/kernel/perfmon_mckinley.h |2 +- arch/ia64/kernel/perfmon_montecito.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---

[PATCH 0/5] ia64: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop repeated words in arch/ia64/ header files. Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org arch/ia64/include/asm/pal.h |2 +- arch/ia64/include/asm/perfmon.h |2 +- arch/ia64/include/asm/spinlock.h |2 +- arch/ia64/include/asm/uv/uv_hub.h|

[PATCH 3/5] ia64: spinlock.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "the". Signed-off-by: Randy Dunlap Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org --- arch/ia64/include/asm/spinlock.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/ia64/include/asm/spinlock.h +++

[PATCH 4/5] ia64: uv: uv_hub.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "the". Signed-off-by: Randy Dunlap Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org --- arch/ia64/include/asm/uv/uv_hub.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/ia64/include/asm/uv/uv_hub.h +++

[PATCH 4/9] powerpc: epapr_hcalls.h: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop the repeated words "file" and "the". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/epapr_hcalls.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---

[PATCH 8/9] powerpc: smu.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/smu.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 9/9] powerpc: powernv: pci.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "for". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/platforms/powernv/pci.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 5/9] powerpc: hw_breakpoint.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/hw_breakpoint.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 6/9] powerpc: ppc_asm.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "in". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/ppc_asm.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 1/9] powerpc: book3s: mmu-hash.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "below". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/book3s/64/mmu-hash.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 3/9] powerpc: cputime.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "use". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/cputime.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 7/9] powerpc: reg.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "a". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/reg.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 2/9] powerpc: book3s: radix-4k.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "per". Signed-off-by: Randy Dunlap Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/book3s/64/radix-4k.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 0/9] powerpc: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop duplicated words in arch/powerpc/ header files. Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-...@lists.ozlabs.org arch/powerpc/include/asm/book3s/64/mmu-hash.h |2 +- arch/powerpc/include/asm/book3s/64/radix-4k.h |2 +-

[PATCH 0/6] mips: delete duplicated words

2020-07-25 Thread Randy Dunlap
Delete duplicated words in arch/mips/ header files. Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org arch/mips/include/asm/io.h |2 +- arch/mips/include/asm/octeon/cvmx-l2c.h |2 +- arch/mips/include/asm/octeon/cvmx-pip.h |2 +-

[PATCH 1/6] mips: io.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "on". Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- arch/mips/include/asm/io.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/mips/include/asm/io.h +++

[PATCH 2/6] mips: octeon: cvmx-l2c.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "Returns". Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- arch/mips/include/asm/octeon/cvmx-l2c.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/mips/include/asm/octeon/cvmx-l2c.h +++

[PATCH 6/6] mips: octeon: octeon.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "as". Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- arch/mips/include/asm/octeon/octeon.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/mips/include/asm/octeon/octeon.h +++

[PATCH 5/6] mips: octeon: cvmx-pow.h: fix duplicated words

2020-07-25 Thread Randy Dunlap
Delete the repeated words "Returns" and convert to kernel-doc notation by adding a ':'. Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- arch/mips/include/asm/octeon/cvmx-pow.h |8 1 file changed, 4 insertions(+), 4 deletions(-) ---

[PATCH 3/6] mips: octeon: cvmx-pip.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Delete the repeated word "the". Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- arch/mips/include/asm/octeon/cvmx-pip.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/mips/include/asm/octeon/cvmx-pip.h +++

[PATCH 4/6] mips: octeon: cvmx-pkoh: fix duplicated words

2020-07-25 Thread Randy Dunlap
Delete the repeated word "command". Delete the repeated words "returns" and convert to kernel-doc notation by adding a ':'. Signed-off-by: Randy Dunlap Cc: Thomas Bogendoerfer Cc: linux-m...@vger.kernel.org --- arch/mips/include/asm/octeon/cvmx-pko.h |7 +++ 1 file changed, 3

[PATCH 0/3] arm64: delete duplicated words

2020-07-25 Thread Randy Dunlap
Delete duplicated words in arch/arm64/ header files. Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org arch/arm64/include/asm/pgtable-hwdef.h |4 ++-- arch/arm64/include/asm/ptrace.h |2 +- arch/arm64/include/uapi/asm/sigcontext.h |2 +- 3

[PATCH 2/3] arm64: ptrace.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64/include/asm/ptrace.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/arm64/include/asm/ptrace.h +++

[PATCH 1/3] arm64: pgtable-hwdef.h: delete duplicated words

2020-07-25 Thread Randy Dunlap
Drop the repeated words "at" and "the". Signed-off-by: Randy Dunlap Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64/include/asm/pgtable-hwdef.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---

[PATCH 3/3] arm64: sigcontext.h: delete duplicated word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "the". Signed-off-by: Randy Dunlap Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org --- arch/arm64/include/uapi/asm/sigcontext.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH] arm: mach-omap1: mux.h: delete duplicate word

2020-07-25 Thread Randy Dunlap
Drop the repeated word "is". Signed-off-by: Randy Dunlap Cc: Aaro Koskinen Cc: Tony Lindgren Cc: linux-o...@vger.kernel.org --- arch/arm/mach-omap1/include/mach/mux.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200720.orig/arch/arm/mach-omap1/include/mach/mux.h

  1   2   3   4   5   >