[PATCH 1/7] KVM: x86: hyper-v: Mention SynDBG CPUID leaves in api.rst

2020-08-07 Thread Vitaly Kuznetsov
We forgot to update KVM_GET_SUPPORTED_HV_CPUID's documentation in api.rst when SynDBG leaves were added. While on it, fix 'KVM_GET_SUPPORTED_CPUID' copy-paste error. Fixes: f97f5a56f597 ("x86/kvm/hyper-v: Add support for synthetic debugger interface") Signed-off-by: Vitaly Kuznetsov ---

[PATCH 4/7] KVM: x86: hyper-v: always advertise HV_STIMER_DIRECT_MODE_AVAILABLE

2020-08-07 Thread Vitaly Kuznetsov
HV_STIMER_DIRECT_MODE_AVAILABLE is the last conditionally set feature bit in KVM_GET_SUPPORTED_HV_CPUID but it doesn't have to be conditional: first, this bit is only an indication to userspace VMM that direct mode stimers are supported, it still requires manual enablement (enabling SynIC) to work

[PATCH v3 1/7] x86/xen: remove 32-bit Xen PV guest support

2020-08-07 Thread Juergen Gross
Xen is requiring 64-bit machines today and since Xen 4.14 it can be built without 32-bit PV guest support. There is no need to carry the burden of 32-bit PV guest support in the kernel any longer, as new guests can be either HVM or PVH, or they can use a 64 bit kernel. Remove the 32-bit Xen PV

[PATCH v3 2/7] x86/xen: eliminate xen-asm_64.S

2020-08-07 Thread Juergen Gross
With 32-bit pv-guest support removed xen-asm_64.S can be merged with xen-asm.S Signed-off-by: Juergen Gross --- arch/x86/xen/Makefile | 3 +- arch/x86/xen/xen-asm.S| 179 +++ arch/x86/xen/xen-asm_64.S | 192 -- 3

[PATCH v3 0/7] Remove 32-bit Xen PV guest support

2020-08-07 Thread Juergen Gross
The long term plan has been to replace Xen PV guests by PVH. The first victim of that plan are now 32-bit PV guests, as those are used only rather seldom these days. Xen on x86 requires 64-bit support and with Grub2 now supporting PVH officially since version 2.04 there is no need to keep 32-bit

[PATCH v3 5/7] x86/paravirt: cleanup paravirt macros

2020-08-07 Thread Juergen Gross
Some paravirt macros are no longer used, delete them. Signed-off-by: Juergen Gross --- arch/x86/include/asm/paravirt.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index dedc89a07826..99da08852df0 100644

[PATCH v3 7/7] x86/entry/32: revert "Fix XEN_PV build dependency"

2020-08-07 Thread Juergen Gross
With 32-bit Xen PV support gone commit a4c0e91d1d65bc58 ("x86/entry/32: Fix XEN_PV build dependency") can be reverted again. Signed-off-by: Juergen Gross --- arch/x86/include/asm/idtentry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/idtentry.h

[PATCH v3 3/7] x86/xen: drop tests for highmem in pv code

2020-08-07 Thread Juergen Gross
With support for 32-bit pv guests gone pure pv-code no longer needs to test for highmem. Dropping those tests removes the need for flushing in some places. Signed-off-by: Juergen Gross --- arch/x86/xen/enlighten_pv.c | 11 ++- arch/x86/xen/mmu_pv.c | 138

[PATCH v3 6/7] x86/paravirt: use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT

2020-08-07 Thread Juergen Gross
There are some code parts using CONFIG_PARAVIRT for Xen pvops related issues instead of the more stringent CONFIG_PARAVIRT_XXL. Signed-off-by: Juergen Gross --- arch/x86/entry/entry_64.S| 4 ++-- arch/x86/include/asm/fixmap.h| 2 +-

[PATCH v3 4/7] x86/paravirt: remove 32-bit support from PARAVIRT_XXL

2020-08-07 Thread Juergen Gross
The last 32-bit user of stuff under CONFIG_PARAVIRT_XXL is gone. Remove 32-bit specific parts. Signed-off-by: Juergen Gross --- arch/x86/entry/vdso/vdso32/vclock_gettime.c | 1 + arch/x86/include/asm/paravirt.h | 92 +++-- arch/x86/include/asm/paravirt_types.h

[PATCH 13/20] media: dvb-frontends: mb86a16.c: remove useless if/else

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/dvb-frontends/mb86a16.c:1455:6-8: WARNING: possible condition with no effect (if == else) Both branches are the same, so remove the if/else altogether. Found using - Coccinelle (http://coccinelle.lip6.fr)

[PATCH 18/20] media: pci: cobalt-i2c.c: fix comparison of 0/1 to bool variable

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/pci/cobalt/cobalt-i2c.c:176:16-21: WARNING: Comparison of 0/1 to bool variable drivers/media/pci/cobalt/cobalt-i2c.c:180:29-33: WARNING: Comparison of 0/1 to bool variable

[PATCH 06/20] media: mtk-vcodec: mtk_vcodec_dec.c: fix comparison to bool

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:197:14-35: WARNING: Comparison to bool drivers/media/platform/mtk-vcodec/mtk_vcodec_dec.c:198:7-29: WARNING: Comparison to bool

[PATCH 20/20] media: mtk-vcodec: vdec_vp9_if.c: fix comparison to bool

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/platform/mtk-vcodec/vdec/vdec_vp9_if.c:963:6-31: WARNING: Comparison to bool Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel W. S. Almeida ---

[PATCH 19/20] media: platform: vpdma.c: fix comparison to bool

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/platform/ti-vpe/vpdma.c:946:5-26: WARNING: Comparison to bool Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel W. S. Almeida --- drivers/media/platform/ti-vpe/vpdma.c | 2 +- 1 file

[PATCH 16/20] media: i2c: imx219.c: fix assignment of 0/1 to bool variable

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/i2c/imx219.c:1191:1-18: WARNING: Assignment of 0/1 to bool variable Replace the assignment to 0 with false instead. Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel W. S. Almeida ---

[PATCH 12/20] media: usb: dib0700_devices.c: remove useless if/else

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/usb/dvb-usb/dib0700_devices.c:1741:1-3: WARNING: possible condition with no effect (if == else) Both branches are the same, so remove the if/else altogether. Found using - Coccinelle (http://coccinelle.lip6.fr)

[PATCH 08/20] media: pci: saa7164.c: Replace if(cond) BUG with BUG_ON

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/pci/saa7164/saa7164-buffer.c:254:3-6: WARNING: Use BUG_ON instead of if condition followed by BUG. drivers/media/pci/saa7164/saa7164-buffer.c:261:3-6: WARNING: Use BUG_ON instead of if condition followed by BUG.

[PATCH 11/20] media: pci: saa7164-core.c: replace if (cond) BUG() with BUG_ON()

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/pci/saa7164/saa7164-core.c:579:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. drivers/media/pci/saa7164/saa7164-core.c:592:3-6: WARNING: Use BUG_ON instead of if condition followed by BUG.

[PATCH 09/20] media: pci: saa7164-dvb.c: replace if(cond) BUG() with BUG_ON()

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/pci/saa7164/saa7164-dvb.c:341:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG drivers/media/pci/saa7164/saa7164-dvb.c:483:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. Found

[PATCH 15/20] media: pci: cx23855-video.c: remove duplicate argument in 'or'

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/pci/cx23885/cx23885-video.c:639:24-44: duplicated argument to & or | V4L2_CAP_VBI_CAPTURE appears twice, remove it. Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel W. S. Almeida ---

[PATCH 07/20] media: vicodec: vicodec-core.c: fix assignment of 0/1 to bool variable

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/test-drivers/vicodec/vicodec-core.c:1674:2-21: WARNING: Assignment of 0/1 to bool variable drivers/media/test-drivers/vicodec/vicodec-core.c:1675:2-26: WARNING: Assignment of 0/1 to bool variable By replacing the

[PATCH 10/20] media: pci: saa7164-vbi.c: replace if (cond) BUG() with BUG_ON()

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/pci/saa7164/saa7164-vbi.c:707:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. drivers/media/pci/saa7164/saa7164-vbi.c:760:2-5: WARNING: Use BUG_ON instead of if condition followed by BUG. Found

RE: [PATCH] ASoC: amd: Replacing component->name with codec_dai->name

2020-08-07 Thread RAVULAPATI, VISHNU VARDHAN RAO
On Thu, Aug 06, 2020 at 03:44:12PM +0530, Ravulapati Vishnu vardhan rao wrote: > Replacing string compare with codec_dai->name instead of comparing > with codec_dai->component->name in hw_params. >Why? Here the component name for codec RT1015 is "i2c-10EC1015:00" and will never be

[PATCH 17/20] media: i2c: tda1997x.c: Fix assignment of 0/1 to bool variable

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle reports: drivers/media/i2c/tda1997x.c:911:6-21: WARNING: Assignment of 0/1 to bool variable drivers/media/i2c/tda1997x.c:939:2-17: WARNING: Assignment of 0/1 to bool variable drivers/media/i2c/tda1997x.c:947:4-19: WARNING: Assignment

[PATCH 05/20] media: cobalt: cobalt-omnitek.c: fix comparison to bool

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/pci/cobalt/cobalt-omnitek.c:119:5-19: WARNING: Comparison to bool By using "!cond" instead of "cond == false" Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel W. S. Almeida ---

[PATCH 14/20] media: dvb-frontends: lgdt3306a.c: remove dead code

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fix the following coccinelle report: drivers/media/dvb-frontends/lgdt3306a.c:718:5-8: Unneeded variable: "ret". Return "0" on line 744 Code was enclosed with #if 0 and thus this variable was not needed. Remove that code altogether. Found using - Coccinelle

[PATCH 01/20] media: sunxi: sun8i-rotate.c: remove useless error message

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" This fixes the following coccinelle report: drivers/media/platform/sunxi/sun8i-rotate/sun8i_rotate.c:751:2-9: line 751 is redundant because platform_get_irq() already prints an error By removing the useless call to dev_err() Found using - Coccinelle

[PATCH 04/20] media: uvc: uvc_v4l2.c: add temp variable for list iteration

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fixes the following coccinelle reports: drivers/media/usb/uvc/uvc_v4l2.c:840:8-13: ERROR: invalid reference to the index variable of the iterator on line 836 drivers/media/usb/uvc/uvc_v4l2.c:851:5-10: ERROR: invalid reference to the index variable of the iterator

[PATCH 03/20] media: usb: uvc_ctrl.c: add temp variable for list iteration

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fixes the following coccinelle report: drivers/media/usb/uvc/uvc_ctrl.c:1860:5-11: ERROR: invalid reference to the index variable of the iterator on line 1854 By introducing a temporary variable to iterate the list. Do not dereference the 'entity' pointer if it is

[PATCH 02/20] media: exynos4-is: media-dev.c: use PTR_ERR_OR_ZERO

2020-08-07 Thread Daniel W. S. Almeida
From: "Daniel W. S. Almeida" Fixes the following coccinelle report: drivers/media/platform/exynos4-is/media-dev.c:1273:1-3: WARNING: PTR_ERR_OR_ZERO can be used By using PTR_ERR_OR_ZERO in place of the existing logic. Found using - Coccinelle (http://coccinelle.lip6.fr) Signed-off-by: Daniel

Re: [PATCH 2/5] dt-bindings: pwm: renesas,pwm-rcar: Add r8a7742 support

2020-08-07 Thread Geert Uytterhoeven
On Thu, Aug 6, 2020 at 8:32 PM Lad Prabhakar wrote: > Document RZ/G1H (R8A7742) SoC bindings. > > Signed-off-by: Lad Prabhakar > Reviewed-by: Marian-Cristian Rotariu > Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots

[RFC PATCH 0/2] move/add display relevant nodes to mt7623n

2020-08-07 Thread Frank Wunderlich
From: Frank Wunderlich based on series from David Woodhouse [1] i moved more display-nodes out of mt7623.dtsi to new mt7623n.dtsi and changed last part from my series [2] to add these nodes to this new dtsi [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=329209 [2]

[PATCH 2/2] arm: dts: mt7623: add display subsystem related device nodes

2020-08-07 Thread Frank Wunderlich
From: Ryder Lee Add display subsystem related device nodes for MT7623. Cc: Chun-Kuang Hu Signed-off-by: chunhui dai Signed-off-by: Bibby Hsieh Signed-off-by: Ryder Lee Signed-off-by: Frank Wunderlich Tested-by: Frank Wunderlich --- changed v4->v5: add nodes to new mt7623n.dtsi to avoid

[PATCH 1/2] arm: dts: mt7623: move more display-related nodes to mt7623n.dtsi

2020-08-07 Thread Frank Wunderlich
From: Frank Wunderlich mt7623a has no graphics support so move nodes from generic mt7623.dtsi to mt7623n.dtsi Signed-off-by: Frank Wunderlich --- arch/arm/boot/dts/mt7623.dtsi | 99 -- arch/arm/boot/dts/mt7623n.dtsi | 99 ++ 2

[no subject]

2020-08-07 Thread Frank Wunderlich
From: Frank Wunderlich Subject: [RFC PATCH 0/2] move/add display relevant nodes to mt7623n based on series from David Woodhouse [1] i moved more display-nodes out of mt7623.dtsi to new mt7623n.dtsi and changed last part from my series [2] to add these nodes to this new dtsi [1]

Re: [PATCH v2 net-next] net/tls: allow MSG_CMSG_COMPAT in sendmsg

2020-08-07 Thread Rouven Czerwinski
On Thu, 2020-08-06 at 11:46 -0700, Jakub Kicinski wrote: > On Thu, 6 Aug 2020 08:49:06 +0200 Rouven Czerwinski wrote: > > Trying to use ktls on a system with 32-bit userspace and 64-bit > > kernel > > results in a EOPNOTSUPP message during sendmsg: > > > > setsockopt(3, SOL_TLS, TLS_TX, …, 40)

Re: [PATCH v7 1/3] leds: move default_state read from fwnode to core

2020-08-07 Thread Pavel Machek
Hi! > Signed-off-by: Denis Osterland-Heim This tells me you: 1) you are probably not copyright owner 2) you want your company to promise not to sue people, in a legally binding way. > The contents of the above mentioned e-mail is not legally > binding. This e-mail contains confidential

Re: [PATCH 2/3] backlight: pwm_bl: Artificially add 0% during interpolation

2020-08-07 Thread daniel
On Mon, Jul 20, 2020 at 09:25:21PM -0700, Alexandru Stan wrote: > Some displays need the low end of the curve cropped in order to make > them happy. In that case we still want to have the 0% point, even though > anything between 0% and 5%(example) would be skipped. > > Signed-off-by: Alexandru

Re: [PATCH v2 2/3] ext4: limit the length of per-inode prealloc list

2020-08-07 Thread brookxu
That is a good suggestion, thanks. thanks. Andreas Dilger wrote on 2020/8/7 16:15: > It would be good to include these performance results in the commit message, > so that the results are available to the patch reviewers and in the future if > this code is changed. > > On Wed, Aug 5, 2020 at

Re: Linux 5.7.14

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index b77b4332a41a..70942a6541d8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 7 -SUBLEVEL = 13 +SUBLEVEL = 14 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git

Linux 5.7.14

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.7.14 kernel. All users of the 5.7 kernel series must upgrade. The updated 5.7.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.7.y and can be browsed at the normal kernel.org git web browser:

Linux 5.4.57

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 5.4.57 kernel. All users of the 5.4 kernel series must upgrade. The updated 5.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.19.138

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index edf1799c08d2..daaa8ab2f550 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 19 -SUBLEVEL = 137 +SUBLEVEL = 138 EXTRAVERSION = NAME = "People's Front" diff --git

Re: Linux 5.4.57

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index c33fb4eebd4d..dd753ef637fd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 4 -SUBLEVEL = 56 +SUBLEVEL = 57 EXTRAVERSION = NAME = Kleptomaniac Octopus diff --git

Linux 4.19.138

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.19.138 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web

Re: [PATCH v2 2/2] leds: pca955x: Add an IBM software implementation of the PCA9552 chip

2020-08-07 Thread Pavel Machek
On Mon 2020-08-03 09:50:55, Eddie James wrote: > IBM created an implementation of the PCA9552 on a PIC16F > microcontroller. The I2C device addresses are different from the > hardware PCA9552, so add a new compatible string and associated > platform data to be able to probe this device. > >

Re: Linux 4.14.193

2020-08-07 Thread Greg Kroah-Hartman
diff --git a/Makefile b/Makefile index 60570fad811e..b30927f29e2b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 192 +SUBLEVEL = 193 EXTRAVERSION = NAME = Petit Gorille diff --git

Linux 4.14.193

2020-08-07 Thread Greg Kroah-Hartman
I'm announcing the release of the 4.14.193 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web

Re: csky: smp_mb__after_spinlock

2020-08-07 Thread peterz
On Fri, Aug 07, 2020 at 08:22:36AM +0800, Guo Ren wrote: > Hi Peter, > > On Thu, Aug 6, 2020 at 3:53 AM wrote: > > > > Hi, > > > > While doing an audit of smp_mb__after_spinlock, I found that csky > > defines it, why? > > > > CSKY only has smp_mb(), it doesn't override __atomic_acquire_fence or

Re: [PATCH] ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged

2020-08-07 Thread Takashi Iwai
On Fri, 07 Aug 2020 10:05:12 +0200, Kai-Heng Feng wrote: > > The jack on Intel NUC 8 Rugged rear panel doesn't work. > > The spec [1] states that the jack supports both headphone and > microphone, so override a Pin Complex which has both Amp-In and Amp-Out > to make the jack work. > > Node 0x1b

RE: [PATCH] ASoC: amd: Replacing component->name with codec_dai->name

2020-08-07 Thread RAVULAPATI, VISHNU VARDHAN RAO
-Original Message- From: Mark Brown Sent: Thursday, August 6, 2020 4:59 PM To: RAVULAPATI, VISHNU VARDHAN RAO Cc: Liam Girdwood ; Jaroslav Kysela ; Takashi Iwai ; Agrawal, Akshu ; Kuninori Morimoto ; YueHaibing ; moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM... ;

Re: 答复: 答复: 答复: 答复: 答复: 答复: 答复: [PATCH] iommu/vt-d:Add support for ACPI device in RMRR

2020-08-07 Thread Lu Baolu
Hi, On 2020/8/7 11:29, FelixCui-oc wrote: Hi baolu, I understand what you mean is that you want to put the following processing code in the acpi_device_create_direct_mappings() into the probe_acpi_namespace_devices() ,right? If you mean it , I think it's OK.

Re: [v4 01/10] crypto: hisilicon/qm - fix wrong release after using strsep

2020-08-07 Thread shenyang (M)
On 2020/8/6 15:23, Markus Elfring wrote: Would you become interested to look if any other software components would be similarly affected? Yeah, I'll check the rest and fix if any and send those in a clean up patch. Thanks, Yang

[PATCH] ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged

2020-08-07 Thread Kai-Heng Feng
The jack on Intel NUC 8 Rugged rear panel doesn't work. The spec [1] states that the jack supports both headphone and microphone, so override a Pin Complex which has both Amp-In and Amp-Out to make the jack work. Node 0x1b fits the requirement, and user confirmed the jack now works with new pin

[PATCH v2] hwmon/pmbus: use simple i2c probe function

2020-08-07 Thread Stephen Kitt
pmbus_do_probe doesn't use the id information provided in its second argument, so this can be removed, which then allows using the single-parameter i2c probe function ("probe_new") for probes. This avoids scanning the identifier tables during probes. Drivers which didn't use the id are converted

Re: [PATCH] ALSA: usb-audio: Fix memleak in scarlett2_add_new_ctl

2020-08-07 Thread Takashi Iwai
On Fri, 07 Aug 2020 09:12:27 +0200, Dinghao Liu wrote: > > When snd_usb_mixer_add_control() fails, elem needs to be > freed just like when snd_ctl_new1() fails. However, current > code is returning directly and ends up leaking memory. No, this would lead to double-free. snd_ctl_add() shows a

Re: [RESEND PATCH] media: atomisp: Replace trace_printk by pr_info

2020-08-07 Thread Mauro Carvalho Chehab
Em Fri, 7 Aug 2020 14:51:12 +0800 Nicolas Boichat escreveu: > On Fri, Aug 7, 2020 at 2:28 PM Greg Kroah-Hartman > wrote: > > > > On Fri, Aug 07, 2020 at 09:50:23AM +0800, Nicolas Boichat wrote: > > > On Fri, Jul 24, 2020 at 8:41 PM Nicolas Boichat > > > wrote: > > > > > > > > On Fri, Jul

RE: [PATCH v5 08/10] net: eth: altera: add support for ptp and timestamping

2020-08-07 Thread Ooi, Joyce
> -Original Message- > From: Richard Cochran > Sent: Monday, July 27, 2020 10:29 PM > To: Ooi, Joyce > Cc: Thor Thayer ; David S . Miller > ; Jakub Kicinski ; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Dalon Westergreen > ; Tan, Ley Foon > ; See, Chin Liang ; > Nguyen, Dinh

Re: [PATCH v2 21/41] ARM: s3c24xx: move irqchip driver back into platform

2020-08-07 Thread Marc Zyngier
On 2020-08-06 19:20, Krzysztof Kozlowski wrote: From: Arnd Bergmann It was a good idea to move it out at first, but the irqchip code is still tightly connected to the s3c24xx platform code and uses multiple internal header files, so just move it back for the time being to avoid those

Re: [PATCH V7 2/4] rpmsg: Guard against null endpoint ops in destroy

2020-08-07 Thread Greg KH
On Wed, Jun 24, 2020 at 10:15:19PM +0530, Deepak Kumar Singh wrote: > From: Chris Lew > > In RPMSG GLINK the chrdev device will allocate an ept as part of the > rpdev creation. This device will not register endpoint ops even though > it has an allocated ept. Protect against the case where the

Re: [PATCH] rtc: max77686: Fix wake-ups for max77620

2020-08-07 Thread Thierry Reding
On Thu, Aug 06, 2020 at 01:54:31PM +0100, Jon Hunter wrote: > Following commit d8f090dbeafd ("rtc: max77686: Do not allow interrupt to > fire before system resume"), RTC wake-ups stopped working on Jetson TX2 > and Jetson Xavier platforms. The Jetson TX2 uses the max77620 PMIC and > the Jetson

FROM SERGEANT KATIE B. TAYLOR ,

2020-08-07 Thread Sergeant Katie Brianna Taylor
I am Sergeant Katie Brianna Taylor, originally from Lake Jackson Texas. I have  personally conducted a special research on the internet and came across your  information. I am writing you this mail from US Military Base Kabul  Afghanistan. I have a secured business proposal for you. If you are 

Re: [PATCH v7 06/13] pwm: add support for sl28cpld PWM controller

2020-08-07 Thread Michael Walle
Am 2020-08-07 09:45, schrieb Uwe Kleine-König: On Fri, Aug 07, 2020 at 09:28:31AM +0200, Michael Walle wrote: Hi Uwe, Hi Lee, Am 2020-08-06 10:40, schrieb Uwe Kleine-König: > On Mon, Aug 03, 2020 at 11:35:52AM +0200, Michael Walle wrote: > > diff --git a/drivers/pwm/Kconfig

[PATCH v3 1/3] dt-bindings: pinctrl: mt8192: add pinctrl file

2020-08-07 Thread Zhiyong Tao
This patch adds pinctrl file for mt8192. Signed-off-by: Zhiyong Tao --- include/dt-bindings/pinctrl/mt8192-pinfunc.h | 1344 ++ 1 file changed, 1344 insertions(+) create mode 100644 include/dt-bindings/pinctrl/mt8192-pinfunc.h diff --git

[PATCH v3 0/3] Mediatek pinctrl patch on mt8192

2020-08-07 Thread Zhiyong Tao
This series includes 3 patches: 1.add pinctrl file on mt8192. 2.add pinctrl binding document on mt8192. 3.add pinctrl driver on MT8192. Changes in patch v3: 1)fix running 'make dt_binding_check' errors. 2)change 'node' to 'pincontroller'. 3)add an actual example. 4)change ref as

[PATCH v3 2/3] dt-bindings: pinctrl: mt8192: add binding document

2020-08-07 Thread Zhiyong Tao
The commit adds mt8192 compatible node in binding document. Signed-off-by: Zhiyong Tao --- .../bindings/pinctrl/pinctrl-mt8192.yaml | 149 ++ 1 file changed, 149 insertions(+) create mode 100755 Documentation/devicetree/bindings/pinctrl/pinctrl-mt8192.yaml diff --git

Re: [PATCH 5.7 0/7] 5.7.14-rc2 review

2020-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 06, 2020 at 01:31:02PM -0600, Shuah Khan wrote: > On 8/5/20 1:59 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.14 release. > > There are 7 patches in this series, all will be posted as a response > > to this one. If anyone has any issues

Re: [PATCH 4.19 0/6] 4.19.138-rc1 review

2020-08-07 Thread Greg Kroah-Hartman
On Fri, Aug 07, 2020 at 09:24:18AM +0200, Pavel Machek wrote: > Hi! > > > This is the start of the stable review cycle for the 4.19.138 release. > > There are 6 patches in this series, all will be posted as a response > > to this one. If anyone has any issues with these being applied, please > >

Re: [PATCH 5.7 0/7] 5.7.14-rc2 review

2020-08-07 Thread Greg Kroah-Hartman
On Thu, Aug 06, 2020 at 11:58:36AM -0700, Guenter Roeck wrote: > On Wed, Aug 05, 2020 at 09:59:33PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.14 release. > > There are 7 patches in this series, all will be posted as a response > > to this one.

[RFC v7 18/19] locking/selftest: Add test cases for queued_read_lock()

2020-08-07 Thread Boqun Feng
Add two self test cases for the following case: P0: P1: P2: spin_lock_irq() read_lock() write_lock_irq() read_lock() spin_lock() ,

[RFC v7 17/19] Revert "locking/lockdep/selftests: Fix mixed read-write ABBA tests"

2020-08-07 Thread Boqun Feng
This reverts commit d82fed75294229abc9d757f08a4817febae6c4f4. Since we now could handle mixed read-write deadlock detection well, the self tests could be detected as expected, no need to use this work-around. Signed-off-by: Boqun Feng --- lib/locking-selftest.c | 8 1 file changed, 8

[RFC v7 19/19] lockdep/selftest: Introduce recursion3

2020-08-07 Thread Boqun Feng
Add a test case shows that USED_IN_*_READ and ENABLE_*_READ can cause deadlock too. Signed-off-by: Boqun Feng --- lib/locking-selftest.c | 55 ++ 1 file changed, 55 insertions(+) diff --git a/lib/locking-selftest.c b/lib/locking-selftest.c index

[RFC v7 15/19] lockdep/selftest: Unleash irq_read_recursion2 and add more

2020-08-07 Thread Boqun Feng
Now since we can handle recursive read related irq inversion deadlocks correctly, uncomment the irq_read_recursion2 and add more testcases. Signed-off-by: Boqun Feng --- lib/locking-selftest.c | 59 +- 1 file changed, 47 insertions(+), 12 deletions(-)

[RFC v7 16/19] lockdep/selftest: Add more recursive read related test cases

2020-08-07 Thread Boqun Feng
Add those four test cases: 1. X --(ER)--> Y --(ER)--> Z --(ER)--> X is deadlock. 2. X --(EN)--> Y --(SR)--> Z --(ER)--> X is deadlock. 3. X --(EN)--> Y --(SR)--> Z --(SN)--> X is not deadlock. 4. X --(ER)--> Y --(SR)--> Z --(EN)--> X is not deadlock. Those self testcases

[RFC v7 14/19] lockdep: Take read/write status in consideration when generate chainkey

2020-08-07 Thread Boqun Feng
Currently, the chainkey of a lock chain is a hash sum of the class_idx of all the held locks, the read/write status are not taken in to consideration while generating the chainkey. This could result into a problem, if we have: P1() { read_lock(B);

[RFC v7 11/19] lockdep: Fix recursive read lock related safe->unsafe detection

2020-08-07 Thread Boqun Feng
Currently, in safe->unsafe detection, lockdep misses the fact that a LOCK_ENABLED_IRQ_*_READ usage and a LOCK_USED_IN_IRQ_*_READ usage may cause deadlock too, for example: P1 P2 write_lock(l1);

[RFC v7 13/19] lockdep/selftest: Add a R-L/L-W test case specific to chain cache behavior

2020-08-07 Thread Boqun Feng
As our chain cache doesn't differ read/write locks, so even we can detect a read-lock/lock-write deadlock in check_noncircular(), we can still be fooled if a read-lock/lock-read case(which is not a deadlock) comes first. So introduce this test case to test specific to the chain cache behavior on

Re: [PATCH v7 06/13] pwm: add support for sl28cpld PWM controller

2020-08-07 Thread Uwe Kleine-König
On Fri, Aug 07, 2020 at 09:28:31AM +0200, Michael Walle wrote: > Hi Uwe, Hi Lee, > > Am 2020-08-06 10:40, schrieb Uwe Kleine-König: > > On Mon, Aug 03, 2020 at 11:35:52AM +0200, Michael Walle wrote: > > > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > > > index

[PATCH v2 2/2] powerpc/topology: Override cpu_smt_mask

2020-08-07 Thread Srikar Dronamraju
On Power9, a pair of SMT4 cores can be presented by the firmware as a SMT8 core for backward compatibility reasons, with the fusion of two SMT4 cores. Powerpc allows LPARs to be live migrated from Power8 to Power9. Existing software developed/configured for Power8, expects to see a SMT8 core. In

[PATCH v2 1/2] sched/topology: Allow archs to override cpu_smt_mask

2020-08-07 Thread Srikar Dronamraju
cpu_smt_mask tracks topology_sibling_cpumask. This would be good for most architectures. One of the users of cpu_smt_mask(), would be to identify idle-cores. On Power9, a pair of SMT4 cores can be presented by the firmware as a SMT8 core for backward compatibility reasons. Powerpc allows LPARs to

[RFC v7 12/19] lockdep: Add recursive read locks into dependency graph

2020-08-07 Thread Boqun Feng
Since we have all the fundamental to handle recursive read locks, we now add them into the dependency graph. Signed-off-by: Boqun Feng --- kernel/locking/lockdep.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/kernel/locking/lockdep.c

[RFC v7 10/19] lockdep: Adjust check_redundant() for recursive read change

2020-08-07 Thread Boqun Feng
check_redundant() will report redundancy if it finds a path could replace the about-to-add dependency in the BFS search. With recursive read lock changes, we certainly need to change the match function for the check_redundant(), because the path needs to match not only the lock class but also the

[RFC v7 07/19] lockdep: Extend __bfs() to work with multiple types of dependencies

2020-08-07 Thread Boqun Feng
Now we have four types of dependencies in the dependency graph, and not all the pathes carry real dependencies (the dependencies that may cause a deadlock), for example: Given lock A and B, if we have: CPU1CPU2 = ==

[RFC v7 09/19] lockdep: Support deadlock detection for recursive read locks in check_noncircular()

2020-08-07 Thread Boqun Feng
Currently, lockdep only has limit support for deadlock detection for recursive read locks. This patch support deadlock detection for recursive read locks. The basic idea is: We are about to add dependency B -> A in to the dependency graph, we use check_noncircular() to find whether we have a

[RFC v7 06/19] lockdep: Introduce lock_list::dep

2020-08-07 Thread Boqun Feng
To add recursive read locks into the dependency graph, we need to store the types of dependencies for the BFS later. There are four types of dependencies: * Exclusive -> Non-recursive dependencies: EN e.g. write_lock(prev) held and try to acquire write_lock(next) or

[RFC v7 08/19] lockdep: Make __bfs(.match) return bool

2020-08-07 Thread Boqun Feng
The "match" parameter of __bfs() is used for checking whether we hit a match in the search, therefore it should return a boolean value rather than an integer for better readability. This patch then changes the return type of the function parameter and the match functions to bool. Suggested-by:

[RFC v7 04/19] lockdep: Make __bfs() visit every dependency until a match

2020-08-07 Thread Boqun Feng
Currently, __bfs() will do a breadth-first search in the dependency graph and visit each lock class in the graph exactly once, so for example, in the following graph: A -> B |^ || +--> C a __bfs() call starts at A, will

[RFC v7 03/19] lockdep: Demagic the return value of BFS

2020-08-07 Thread Boqun Feng
__bfs() could return four magic numbers: 1: search succeeds, but none match. 0: search succeeds, find one match. -1: search fails because of the cq is full. -2: search fails because a invalid node is found. This patch cleans things up by using a enum type for the

[RFC v7 05/19] lockdep: Reduce the size of lock_list::distance

2020-08-07 Thread Boqun Feng
lock_list::distance is always not greater than MAX_LOCK_DEPTH (which is 48 right now), so a u16 will fit. This patch reduces the size of lock_list::distance to save space, so that we can introduce other fields to help detect recursive read lock deadlocks without increasing the size of lock_list

[RFC v7 02/19] lockdep/Documention: Recursive read lock detection reasoning

2020-08-07 Thread Boqun Feng
This patch add the documentation piece for the reasoning of deadlock detection related to recursive read lock. The following sections are added: * Explain what is a recursive read lock, and what deadlock cases they could introduce. * Introduce the notations for different

[RFC v7 00/19] lockdep: Support deadlock detection for recursive read locks

2020-08-07 Thread Boqun Feng
Hi Peter and Waiman, As promised, this is the updated version of my previous lockdep patchset for recursive read lock support. It's based on v5.8. Previous versions can be found at: V1: https://marc.info/?l=linux-kernel=150393341825453 V2: https://marc.info/?l=linux-kernel=150468649417950 V3:

[RFC v7 01/19] locking: More accurate annotations for read_lock()

2020-08-07 Thread Boqun Feng
On the archs using QUEUED_RWLOCKS, read_lock() is not always a recursive read lock, actually it's only recursive if in_interrupt() is true. So change the annotation accordingly to catch more deadlocks. Note we used to treat read_lock() as pure recursive read locks in lib/locking-seftest.c, and

[PATCH v4] arm64: dts: qcom: sc7180: Add Display Port dt node

2020-08-07 Thread Tanmay Shah
Add DP device node on sc7180. Changes in v2: - Add assigned-clocks and assigned-clock-parents - Remove cell-index and pixel_rcg - Change compatible to qcom,sc7180-dp Changes in v3: - Update commit text - Make DP child node of MDSS - Remove data-lanes property from SOC dts - Disable DP node in

[PATCH v7 1/2] hwmon: shtc1: add support for device tree bindings

2020-08-07 Thread Chris Ruehl
Add support for DTS bindings for the sensirion shtc1,shtw1 and shtc3. Signed-off-by: Chris Ruehl Reviewed-by: Guenter Roeck --- drivers/hwmon/shtc1.c | 25 ++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/shtc1.c b/drivers/hwmon/shtc1.c

[PATCH v7 2/2] devicetree: hwmon: shtc1: add sensirion,shtc1.yaml

2020-08-07 Thread Chris Ruehl
Add documentation for the newly added DTS support in the shtc1 driver. To align with the drivers logic to have high precision by default a boolean sensirion,low_precision is used to switch to low precision. Signed-off-by: Chris Ruehl --- .../bindings/hwmon/sensirion,shtc1.yaml | 59

[PATCH v7 0/2] shtc1: add support for device tree bindings

2020-08-07 Thread Chris Ruehl
Add support for DTS bindings to the shtc driver The patches add the compatible table and of_property_read_bool to the shtc1.c. Newly created Yaml document has been released to the Documentation/devicetree/hwmon/sensirion,shtc1.yaml Signed-off-by: Chris Ruehl --- Version 7 make

[PATCH 2/2] exfat: write only modified part of dir-entry set

2020-08-07 Thread Tetsuhiro Kohada
Currently exfat_free_dentry_set() writes all of dir-entry set. Change it to write only the modified part of dir-entry set. And, Integrate exfat_free_dentry_set() and exfat_update_dir_chksum_with_entry_set() as exfat_put_dentry_set(). ** This patch depends on: '[PATCH v3] exfat: integrates

[PATCH 1/2] exfat: add dir-entry set checksum validation

2020-08-07 Thread Tetsuhiro Kohada
Add checksum validation for dir-entry set when getting it. exfat_calc_dir_chksum_with_entry_set() also validates entry-type. ** This patch depends on: '[PATCH v3] exfat: integrates dir-entry getting and validation' Signed-off-by: Tetsuhiro Kohada --- fs/exfat/dir.c | 34

WARNING: refcount bug in l2tp_session_free

2020-08-07 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:04300d66 Merge tag 'riscv-for-linus-5.8-rc7' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17beee2890 kernel config: https://syzkaller.appspot.com/x/.config?x=f3bc31881f1ae8a7

<    4   5   6   7   8   9   10   >