Re: [PATCH] PCI: Allow drivers to claim exclusive access to config regions

2021-03-25 Thread Greg Kroah-Hartman
On Wed, Mar 24, 2021 at 06:23:54PM -0700, Dan Williams wrote: > The PCIE Data Object Exchange (DOE) mailbox is a protocol run over > configuration cycles. It assumes one initiator at a time is > reading/writing the data registers. That sounds like a horrible protocol for a multi-processor system.

[PATCH RESEND v5 10/12] arm: dts: mt7629: harmonize node names and compatibles

2021-03-25 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm/boot/dts/mt7629.dtsi | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/mt7629.dtsi b/arch/arm/boot/dts/mt7629.dtsi index

[PATCH RESEND v5 07/12] arm64: dts: mediatek: mt8516: harmonize node names and compatibles

2021-03-25 Thread Chunfeng Yun
This is used to fix dtbs_check warning: harmonize node names and compatibles; add property "usb-role-switch" for connector dependence. Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 9 +

[PATCH RESEND v5 09/12] arm64: dts: mediatek: mt8183: fix dtbs_check warning

2021-03-25 Thread Chunfeng Yun
Harmonize node names, compatibles and properties. Signed-off-by: Chunfeng Yun --- v4~v5: no changes v3: remove property clock-names suggested by CK v2: no changes --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git

[PATCH RESEND v5 05/12] arm64: dts: mediatek: mt8173: fix dtbs_check warning

2021-03-25 Thread Chunfeng Yun
Harmonize nodes names, compatibles and remove unused property. Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 +--- arch/arm64/boot/dts/mediatek/mt8173.dtsi| 13 +++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff

[PATCH RESEND v5 08/12] arm64: dts: mediatek: mt7622: harmonize node names and compatibles

2021-03-25 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt7622.dtsi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi

[PATCH RESEND v5 06/12] arm64: dts: mediatek: mt2712: harmonize node names

2021-03-25 Thread Chunfeng Yun
This is used to fix dtbs_check warning. Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi

[PATCH RESEND v5 04/12] arm64: dts: mt8173: fix property typo of 'phys' in dsi node

2021-03-25 Thread Chunfeng Yun
Use 'phys' instead of 'phy'. Fixes: 81ad4dbaf7af ("arm64: dts: mt8173: Add display subsystem related nodes") Cc: stable Reviewed-by: Chun-Kuang Hu Signed-off-by: Chunfeng Yun --- v5: merged into this series, add Reviewed-by CK --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 2 +- 1 file

[PATCH v3 06/14] bfq: keep the minimun bandwidth for CLASS_BE

2021-03-25 Thread brookxu
From: Chunguang Xu CLASS_RT will preempt other classes, which may starve. At present, CLASS_IDLE has alleviated the starvation problem through the minimum bandwidth mechanism. Similarly, we should do the same for CLASS_BE. Signed-off-by: Chunguang Xu --- block/bfq-iosched.c | 6 --

[PATCH v3 07/14] bfq: introduce better_fairness for container scene

2021-03-25 Thread brookxu
From: Chunguang Xu In the container scenario, in addition to throughput, we also pay attention to Qos. In order to better support this scenario, we introduce the better_fairness mode here. In this mode, we expect to control the Qos of each group according to its priority better. Only add

[PATCH RESEND v5 11/12] arm: dts: mt7623: harmonize node names and compatibles

2021-03-25 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm/boot/dts/mt7623.dtsi | 26 ++ arch/arm/boot/dts/mt7623n.dtsi | 4 ++-- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/mt7623.dtsi

[PATCH RESEND v5 02/12] dt-bindings: phy: mediatek: hdmi-phy: modify compatible items

2021-03-25 Thread Chunfeng Yun
mt7623-hdmi-tx is compatible to mt2701-hdmi-tx, and the compatible "mediatek,mt7623-hdmi-tx" is not supported in driver, in fact uses "mediatek,mt2701-hdmi-tx" instead on MT7623, so changes the compatible items to make dependence clear. Cc: Chun-Kuang Hu Cc: Philipp Zabel Acked-by: Chun-Kuang

[PATCH RESEND v5 01/12] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence

2021-03-25 Thread Chunfeng Yun
mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use "mediatek,mt2701-mipi-tx" instead on MT7623, so modify the compatible items to make dependence clear. Cc: Chun-Kuang Hu Cc: Philipp Zabel Acked-by: Chun-Kuang Hu Reviewed-by: Rob Herring Signed-off-by: Chunfeng Yun --- v5: no changes

[PATCH RESEND v5 12/12] arm: dts: mt2701: harmonize node names and compatibles

2021-03-25 Thread Chunfeng Yun
This is used to fix dtbs_check warning Signed-off-by: Chunfeng Yun --- v2~v5: no changes --- arch/arm/boot/dts/mt2701.dtsi | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index

[PATCH RESEND v5 03/12] dt-bindings: phy: mediatek: tphy: change patternProperties

2021-03-25 Thread Chunfeng Yun
The phy may be named as pcie-phy when the T-PHY only supports PCIe mode, it's also the similar case for SATA, named as sata-phy. Reviewed-by: Rob Herring Signed-off-by: Chunfeng Yun --- v5: no changes v4: add reviewed-by Rob v2~v3: no changes ---

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

2021-03-25 Thread Dan Carpenter
On Thu, Mar 25, 2021 at 01:24:23AM +0500, Muhammad Usama Anjum wrote: > On Wed, 2021-03-24 at 21:50 +0300, Dan Carpenter wrote: > > > - usb_driver_claim_interface(driver, iface, (void *)-1L); > > > + err = usb_driver_claim_interface(driver, iface, (void > > >

Re: [PATCH] [v3] drm/imx: imx-ldb: fix out of bounds array access warning

2021-03-25 Thread Philipp Zabel
On Thu, Mar 25, 2021 at 10:03:23AM +0800, Liu Ying wrote: > On Wed, 2021-03-24 at 17:47 +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > When CONFIG_OF is disabled, building with 'make W=1' produces warnings > > about out of bounds array access: > > > > drivers/gpu/drm/imx/imx-ldb.c:

[PATCH] fddi: skfp: Rudimentary spello fixes

2021-03-25 Thread Bhaskar Chowdhury
s/autohorized/authorized/ s/recsource/resource/ s/measuered/measured/ sauthoriziation/authorization/ Signed-off-by: Bhaskar Chowdhury --- drivers/net/fddi/skfp/h/smt.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/fddi/skfp/h/smt.h

Re: [PATCH V2] ALSA: pcm: Fix couple of typos

2021-03-25 Thread Takashi Iwai
On Thu, 25 Mar 2021 02:36:31 +0100, Bhaskar Chowdhury wrote: > > > s/unconditonally/unconditionally/ > s/succesful/successful/ > > Signed-off-by: Bhaskar Chowdhury The patch isn't cleanly applicable, some space was put at the beginning of the line incorrectly. Possibly a MUA problem? Could

Re: [PATCH 2/3] dt-bindings: phy: qcom,usb-snps-femto-v2: Add bindings for SC7280

2021-03-25 Thread Vinod Koul
On 17-03-21, 16:31, Sandeep Maheswaram wrote: > Add the compatible string for sc7280 SoC from Qualcomm Applied, thanks -- ~Vinod

Re: [PATCH v4 2/5] phy: Add LVDS configuration options

2021-03-25 Thread Vinod Koul
On 18-03-21, 10:22, Liu Ying wrote: > > Can we have these in kernel-doc style please, similar to style in > > linux/phy/phy.h > > I take this way of in-line member documentation comment for the below 3 > reasons: > > 1) Members of struct phy_configure_opts_mipi_dphy and > struct

Re: [PATCH] [v3] drivers: staging: _adapter is declared twice

2021-03-25 Thread Dan Carpenter
On Thu, Mar 25, 2021 at 04:00:46PM +0800, Wan Jiabing wrote: > struct _adapter has been declared at 23rd line. > Remove the duplicate. > > Signed-off-by: Wan Jiabing > --- > Changelog: > v3: > - Delete trailing whitespace. > > v2: > - Delete the blank line. Bingo! :) Well done. Reviewed-by:

Re: WARNING: AMDGPU DRM warning in 5.11.9

2021-03-25 Thread Oleksandr Natalenko
Hello. On Thu, Mar 25, 2021 at 07:57:33AM +0200, Ilkka Prusi wrote: > On 24.3.2021 16.16, Chris Rankin wrote: > > Hi, > > > > Theee warnings ares not present in my dmesg log from 5.11.8: > > > > [ 43.390159] [ cut here ] > > [ 43.393574] WARNING: CPU: 2 PID: 1268 at

[PATCH -next] staging: rtl8723bs: core: fix error return

2021-03-25 Thread Xu Jia
Function rtw_init_bcmc_stainfo() is always return success. Variable 'ret' set but not used. Reported-by: Hulk Robot Signed-off-by: Xu Jia --- drivers/staging/rtl8723bs/core/rtw_sta_mgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v5 2/2] gpio: sch: Hook into ACPI GPE handler to catch GPIO edge events

2021-03-25 Thread Linus Walleij
On Wed, Mar 17, 2021 at 4:19 PM Andy Shevchenko wrote: > Neither the ACPI description on Intel Minnowboard (v1) platform provides > the required information to establish a generic handling nor the hardware > capable of doing it. According to the data sheet the hardware can generate > SCI events.

Re: [PATCH 2/8] cxl/mem: Introduce 'struct cxl_regs'

2021-03-25 Thread Christoph Hellwig
On Wed, Mar 24, 2021 at 02:30:35PM -0700, Dan Williams wrote: > In preparation for common register mapping facility, introduce a generic > container, 'struct cxl_regs', for CXL device register and later > component register block base pointers. Some CXL device types implement > both. The code

Re: [PATCH v5 5/6] backlight: rt4831: Adds support for Richtek RT4831 backlight

2021-03-25 Thread ChiYuan Huang
Dear reviewers: Didn't get any response about this backlight patch. Is there any part need to be refined? cy_huang 於 2020年12月17日 週四 下午11:01寫道: > > From: ChiYuan Huang > > Adds support for Richtek RT4831 backlight. > > Signed-off-by: ChiYuan Huang > --- >

split receive_fd_replace from __receive_fd

2021-03-25 Thread Christoph Hellwig
The receive_fd_replace case shares almost no logic with the more general __receive_fd case, so split it into a separate function. BTW, I'm not sure if receive_fd_replace is such a useful primitive to start with, why not just open code it in seccomp?

[PATCH] fs: split receive_fd_replace from __receive_fd

2021-03-25 Thread Christoph Hellwig
receive_fd_replace shares almost no code with the general case, so split it out. Also remove the "Bump the sock usage counts" comment from both copies, as that is now what __receive_sock actually does. Signed-off-by: Christoph Hellwig --- fs/file.c| 39

RE: [PATCH v4 2/2] ASoC: rt715:add micmute led state control supports

2021-03-25 Thread Yuan, Perry
Hi Jaroslav: > -Original Message- > From: Jaroslav Kysela > Sent: Monday, March 22, 2021 10:38 PM > To: Yuan, Perry; Mark Brown; pierre-louis.boss...@linux.intel.com; > Limonciello, Mario; hdego...@redhat.com > Cc: po...@protonmail.com; oder_ch...@realtek.com; ti...@suse.com; >

Re: [PATCH] static_call: fix function type mismatch

2021-03-25 Thread Rasmus Villemoes
On 25/03/2021 08.42, Peter Zijlstra wrote: > On Thu, Mar 25, 2021 at 01:42:41AM +0100, Rasmus Villemoes wrote: >>> Actually, it looks like I can't select PREEMPT_DYNAMIC> and tweaking Kconfig >> >> Ah, there's no prompt on the "bool" line, so it doesn't show up. That >> seems to be a mistake,

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

2021-03-25 Thread Michal Hocko
On Wed 24-03-21 15:49:15, Arjun Roy wrote: > On Wed, Mar 24, 2021 at 2:24 PM Johannes Weiner wrote: > > > > On Wed, Mar 24, 2021 at 10:12:46AM +0100, Michal Hocko wrote: > > > On Tue 23-03-21 11:47:54, Arjun Roy wrote: > > > > On Tue, Mar 23, 2021 at 7:34 AM Michal Hocko wrote: > > > > > > > > >

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

2021-03-25 Thread tip-bot2 for Ira Weiny
The following commit has been merged into the x86/sgx branch of tip: Commit-ID: 633b0616cfe085679471a4c0fae02e8c3a1a9866 Gitweb: https://git.kernel.org/tip/633b0616cfe085679471a4c0fae02e8c3a1a9866 Author:Ira Weiny AuthorDate:Wed, 24 Mar 2021 11:22:46 -07:00 Committer:

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 09:07:03, Oscar Salvador wrote: > On Wed, Mar 24, 2021 at 08:16:53PM +0100, David Hildenbrand wrote: > > > > 1. If the underlying memory block is offline, all sections are offline. > > > > Zone > > > > shrinking code will happily skip over the vmemmap pages and you can end > > >

Re: [PATCH] pinctrl: PINCTRL_ROCKCHIP should depend on ARCH_ROCKCHIP

2021-03-25 Thread Linus Walleij
On Tue, Mar 16, 2021 at 2:41 PM Geert Uytterhoeven wrote: > The Rockchip GPIO and pin control modules are only present on Rockchip > SoCs. Hence add a dependency on ARCH_ROCKCHIP, to prevent asking the > user about this driver when configuring a kernel without Rockchip > platform support. > >

Re: [PATCH] docs: livepatch: Fix a typo

2021-03-25 Thread Miroslav Benes
On Thu, 25 Mar 2021, Bhaskar Chowdhury wrote: > On 10:05 Thu 25 Mar 2021, Miroslav Benes wrote: > >Hi, > > > >On Thu, 25 Mar 2021, Bhaskar Chowdhury wrote: > > > >> > >> s/varibles/variables/ > >> > >> Signed-off-by: Bhaskar Chowdhury > >> --- > >> Documentation/livepatch/shadow-vars.rst | 2 +-

Re: [PATCH v7 0/5] clk: add driver for the SiFive FU740

2021-03-25 Thread Andreas Schwab
On Mär 25 2021, Zong Li wrote: > take a look at this again. Could you also let me know which bootloader > you used (FSBL or U-boot-SPL)? Thanks. U-Boot SPL Please try this image:

[PATCH] staging: rtl8723bs: fix indentation broken by previous patch

2021-03-25 Thread Fabio Aiuto
fix indentation broken by patch removing conditional code blocks checked by unused CONFIG_INTERRUPT_BASED_TXBCN family defines https://lore.kernel.org/r/9157000821fd6febf25566b8c712fad1995c7c78.1615907632.git.fabioaiut...@gmail.com Signed-off-by: Fabio Aiuto ---

Re: [PATCH V3] ALSA: pcm: Fix couple of typos

2021-03-25 Thread Bhaskar Chowdhury
On 10:37 Thu 25 Mar 2021, Takashi Iwai wrote: On Thu, 25 Mar 2021 10:06:09 +0100, Bhaskar Chowdhury wrote: s/unconditonally/unconditionally/ s/succesful/successful/ Signed-off-by: Bhaskar Chowdhury --- Changes from V2: Takashi pointed out that the patch was not applicable due to some

Re: [PATCH 1/8] mm: cma: introduce cma_release_nowait()

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 10:56:38, David Hildenbrand wrote: > On 25.03.21 01:28, Mike Kravetz wrote: > > From: Roman Gushchin > > > > cma_release() has to lock the cma_lock mutex to clear the cma bitmap. > > It makes it a blocking function, which complicates its usage from > > non-blocking contexts. For

Re: [RFC PATCH v7 17/22] vhost/vsock: setup SEQPACKET ops for transport

2021-03-25 Thread Stefano Garzarella
On Tue, Mar 23, 2021 at 04:14:18PM +0300, Arseny Krasnov wrote: This also removes ignore of non-stream type of packets and adds 'seqpacket_allow()' callback. Signed-off-by: Arseny Krasnov --- drivers/vhost/vsock.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) Same

Re: [PATCH v2 1/1] leds: lgm: Improve Kconfig help

2021-03-25 Thread Pavel Machek
Hi! > Remove unnecessary Kconfig symbol LEDS_BLINK > Improve Kconfig help text to make it more useful. > > Signed-off-by: Rahul Tanwar Thanks for the patch, I applied it by hand. > +++ b/drivers/leds/blink/leds-lgm-sso.c > @@ -1,8 +1,8 @@ > // SPDX-License-Identifier: GPL-2.0 > /* > - *

Re: [PATCH v2] infiniband: Fix a use after free in isert_connect_request

2021-03-25 Thread Max Gurtovoy
On 3/22/2021 6:13 PM, Lv Yunlong wrote: The device is got by isert_device_get() with refcount is 1, and is assigned to isert_conn by isert_conn->device = device. When isert_create_qp() failed, device will be freed with isert_device_put(). Later, the device is used in

Re: [PATCH] ALSA: usb-audio: Apply sample rate quirk to Logitech Connect

2021-03-25 Thread Joakim Tjernlund
On Wed, 2021-03-24 at 13:49 +0100, Takashi Iwai wrote: > On Wed, 24 Mar 2021 13:03:14 +0100, > Ikjoon Jang wrote: > > > > On Wed, Mar 24, 2021, 7:16 PM Joakim Tjernlund > > > > wrote: > > > > The Logitech devices with 046d:* should be covered generally in > snd_usb_ctl_msg_quirk(), so I guess

[PATCH AUTOSEL 5.11 01/44] virtiofs: Fail dax mount if device does not support it

2021-03-25 Thread Sasha Levin
From: Vivek Goyal [ Upstream commit 3f9b9efd82a84f27e95d0414f852caf1fa839e83 ] Right now "mount -t virtiofs -o dax myfs /mnt/virtiofs" succeeds even if filesystem deivce does not have a cache window and hence DAX can't be supported. This gives a false sense to user that they are using DAX with

[PATCH AUTOSEL 5.11 02/44] ext4: shrink race window in ext4_should_retry_alloc()

2021-03-25 Thread Sasha Levin
From: Eric Whitney [ Upstream commit efc61345274d6c7a46a0570efbc916fcbe3e927b ] When generic/371 is run on kvm-xfstests using 5.10 and 5.11 kernels, it fails at significant rates on the two test scenarios that disable delayed allocation (ext3conv and data_journal) and force actual block

[PATCH AUTOSEL 5.11 03/44] ext4: add reclaim checks to xattr code

2021-03-25 Thread Sasha Levin
From: Jan Kara [ Upstream commit 163f0ec1df33cf468509ff38cbcbb5eb0d7fac60 ] Syzbot is reporting that ext4 can enter fs reclaim from kvmalloc() while the transaction is started like: fs_reclaim_acquire+0x117/0x150 mm/page_alloc.c:4340 might_alloc include/linux/sched/mm.h:193 [inline]

[PATCH AUTOSEL 5.11 07/44] rpc: fix NULL dereference on kmalloc failure

2021-03-25 Thread Sasha Levin
From: "J. Bruce Fields" [ Upstream commit 0ddc942394013f08992fc379ca04cffacbbe3dae ] I think this is unlikely but possible: svc_authenticate sets rq_authop and calls svcauth_gss_accept. The kmalloc(sizeof(*svcdata), GFP_KERNEL) fails, leaving rq_auth_data NULL, and returning SVC_DENIED. This

[PATCH AUTOSEL 5.11 08/44] iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate

2021-03-25 Thread Sasha Levin
From: Ritesh Harjani [ Upstream commit 5808fecc572391867fcd929662b29c12e6d08d81 ] In case if isi.nr_pages is 0, we are making sis->pages (which is unsigned int) a huge value in iomap_swapfile_activate() by assigning -1. This could cause a kernel crash in kernel v4.18 (with below signature). Or

[PATCH AUTOSEL 5.11 11/44] ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10

2021-03-25 Thread Sasha Levin
From: Hans de Goede [ Upstream commit eee51df776bd6cac10a76b2779a9fdee3f622b2b ] The adc_vol_tlv volume-control has a range from -17.625 dB to +30 dB, not -176.25 dB to + 300 dB. This wrong scale is esp. a problem in userspace apps which translate the dB scale to a linear scale. With the

[PATCH AUTOSEL 5.11 05/44] ext4: fix bh ref count on error paths

2021-03-25 Thread Sasha Levin
From: Zhaolong Zhang [ Upstream commit c915fb80eaa6194fa9bd0a4487705cd5b0dda2f1 ] __ext4_journalled_writepage should drop bhs' ref count on error paths Signed-off-by: Zhaolong Zhang Link: https://lore.kernel.org/r/1614678151-70481-1-git-send-email-zhangzl2...@126.com Signed-off-by: Theodore

[PATCH AUTOSEL 5.11 10/44] ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10

2021-03-25 Thread Sasha Levin
From: Hans de Goede [ Upstream commit cfa26ed1f9f885c2fd8f53ca492989d1e16d0199 ] The adc_vol_tlv volume-control has a range from -17.625 dB to +30 dB, not -176.25 dB to + 300 dB. This wrong scale is esp. a problem in userspace apps which translate the dB scale to a linear scale. With the

[PATCH AUTOSEL 5.11 04/44] fs/ext4: fix integer overflow in s_log_groups_per_flex

2021-03-25 Thread Sasha Levin
From: Sabyrzhan Tasbolatov [ Upstream commit f91436d55a279f045987e8b8c1385585dca54be9 ] syzbot found UBSAN: shift-out-of-bounds in ext4_mb_init [1], when 1 << sbi->s_es->s_log_groups_per_flex is bigger than UINT_MAX, where sbi->s_mb_prefetch is unsigned integer type. 32 is the maximum allowed

[PATCH AUTOSEL 5.11 09/44] ASoC: rt1015: fix i2c communication error

2021-03-25 Thread Sasha Levin
From: Jack Yu [ Upstream commit 9e0bdaa9fcb8c64efc1487a7fba07722e7bc515e ] Remove 0x100 cache re-sync to solve i2c communication error. Signed-off-by: Jack Yu Link: https://lore.kernel.org/r/20210222090057.29532-1-jack...@realtek.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.11 06/44] fs: nfsd: fix kconfig dependency warning for NFSD_V4

2021-03-25 Thread Sasha Levin
From: Julian Braha [ Upstream commit 7005227369079963d25fb2d5d736d0feb2c44cf6 ] When NFSD_V4 is enabled and CRYPTO is disabled, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for CRYPTO_SHA256 Depends on [n]: CRYPTO [=n] Selected by [y]: - NFSD_V4 [=y] &&

[PATCH] [v3] drivers: watchdog: Remove duplicate include of kernel.h

2021-03-25 Thread Wan Jiabing
linux/kernel.h has been included. Remove the duplicate. Reorder include files to be in alphabetic order. Signed-off-by: Wan Jiabing --- Changelog: v3: - Reorder include files to be in alphabetic order. v2: - Remove the duplicate which won't make worse. --- drivers/watchdog/dw_wdt.c | 9

[PATCH AUTOSEL 4.19 09/20] ASoC: cs42l42: Fix mixer volume control

2021-03-25 Thread Sasha Levin
From: Lucas Tanure [ Upstream commit 72d904763ae6a8576e7ad034f9da4f0e3c44bf24 ] The minimum value is 0x3f (-63dB), which also is mute Signed-off-by: Lucas Tanure Link: https://lore.kernel.org/r/20210305173442.195740-4-tanur...@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by:

[PATCH AUTOSEL 4.19 11/20] powerpc: Force inlining of cpu_has_feature() to avoid build failure

2021-03-25 Thread Sasha Levin
From: Christophe Leroy [ Upstream commit eed5fae00593ab9d261a0c1ffc1bdb786a87a55a ] The code relies on constant folding of cpu_has_feature() based on possible and always true values as defined per CPU_FTRS_ALWAYS and CPU_FTRS_POSSIBLE. Build failure is encountered with for instance

[PATCH AUTOSEL 4.19 10/20] ASoC: cs42l42: Always wait at least 3ms after reset

2021-03-25 Thread Sasha Levin
From: Lucas Tanure [ Upstream commit 19325cfea04446bc79b36bffd4978af15f46a00e ] This delay is part of the power-up sequence defined in the datasheet. A runtime_resume is a power-up so must also include the delay. Signed-off-by: Lucas Tanure Link:

[PATCH AUTOSEL 4.19 06/20] ASoC: es8316: Simplify adc_pga_gain_tlv table

2021-03-25 Thread Sasha Levin
From: Hans de Goede [ Upstream commit bb18c678754ce1514100fb4c0bf6113b5af36c48 ] Most steps in this table are steps of 3dB (300 centi-dB), so we can simplify the table. This not only reduces the amount of space it takes inside the kernel, this also makes alsa-lib's mixer code actually accept

[PATCH AUTOSEL 4.19 13/20] scsi: st: Fix a use after free in st_open()

2021-03-25 Thread Sasha Levin
From: Lv Yunlong [ Upstream commit c8c165dea4c8f5ad67b1240861e4f6c5395fa4ac ] In st_open(), if STp->in_use is true, STp will be freed by scsi_tape_put(). However, STp is still used by DEBC_printk() after. It is better to DEBC_printk() before scsi_tape_put(). Link:

[PATCH AUTOSEL 4.19 12/20] vhost: Fix vhost_vq_reset()

2021-03-25 Thread Sasha Levin
From: Laurent Vivier [ Upstream commit beb691e69f4dec7bfe8b81b509848acfd1f0dbf9 ] vhost_reset_is_le() is vhost_init_is_le(), and in the case of cross-endian legacy, vhost_init_is_le() depends on vq->user_be. vq->user_be is set by vhost_disable_cross_endian(). But in vhost_vq_reset(), we have:

Re: [PATCH v5 02/13] dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence

2021-03-25 Thread Vinod Koul
On 16-03-21, 17:22, Chunfeng Yun wrote: > mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use > "mediatek,mt2701-mipi-tx" instead on MT7623, so modify > the compatible items to make dependence clear. Applied, thanks -- ~Vinod

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

2021-03-25 Thread Takashi Iwai
On Wed, 24 Mar 2021 18:14:08 +0100, Kai-Heng Feng wrote: > > Rear Mic on Lenovo P620 cannot record after S3, despite that there's no > error and the other two functions of the USB audio, Line In and Line > Out, work just fine. > > The mic starts to work again after running userspace app like

Re: [PATCH v2] uacce: delete not be needed variable initialization

2021-03-25 Thread Greg KH
On Thu, Mar 25, 2021 at 03:18:49PM +0800, Kai Ye wrote: > delete not be needed variable initialization. I am sorry, but I can not parse this sentence. Can you try resending this with a better description? > Signed-off-by: Kai Ye > --- > drivers/misc/uacce/uacce.c | 2 +- > 1 file changed, 1

[PATCH v3] PCI: dwc: move dw_pcie_msi_init() to dw_pcie_setup_rc()

2021-03-25 Thread Jisheng Zhang
If the host which makes use of IP's integrated MSI Receiver losts power during suspend, we need to reinit the RC and MSI Receiver in resume. But after we move dw_pcie_msi_init() into the core, we have no API to do so. Usually the dwc users need to call dw_pcie_setup_rc() to reinit the RC, we can

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

2021-03-25 Thread Kai-Heng Feng
On Thu, Mar 25, 2021 at 3:19 PM Takashi Iwai wrote: > > On Wed, 24 Mar 2021 18:14:08 +0100, > Kai-Heng Feng wrote: > > > > Rear Mic on Lenovo P620 cannot record after S3, despite that there's no > > error and the other two functions of the USB audio, Line In and Line > > Out, work just fine. > >

Re: [PATCH] phy:qualcomm: remove duplicate argument

2021-03-25 Thread Vinod Koul
On 19-03-21, 04:36, menglong8.d...@gmail.com wrote: > From: Zhang Yunkai > > 'HSUSB_CTRL_DPSEHV_CLAMP' in 'val' is duplicated. Applied, thanks -- ~Vinod

[PATCH v2] ACPI / hotplug / PCI: fix memory leak in enable_slot()

2021-03-25 Thread Zhiqiang Liu
From: Feilong Lin In enable_slot() in drivers/pci/hotplug/acpiphp_glue.c, if pci_get_slot() will return NULL, we will do not set SLOT_ENABLED flag of slot. if one device is found by calling pci_get_slot(), its reference count will be increased. In this case, we did not call pci_dev_put() to

Re: [PATCH v4 14/22] x86/fpu/xstate: Expand the xstate buffer on the first use of dynamic user state

2021-03-25 Thread Liu, Jing2
For AMX, we must still reserve the space, but we are not going to write zeros for clean state. We so this in software by checking XINUSE=0, and clearing the xstate_bf for the XSAVE. As a result, for XINUSE=0, we can skip writing the zeros, even though we can't compress the space. So my

RE: Regression v5.12-rc3: net: stmmac: re-init rx buffers when mac resume back

2021-03-25 Thread Joakim Zhang
> -Original Message- > From: Jon Hunter > Sent: 2021年3月24日 20:39 > To: Joakim Zhang > Cc: net...@vger.kernel.org; Linux Kernel Mailing List > ; linux-tegra ; > Jakub Kicinski > Subject: Re: Regression v5.12-rc3: net: stmmac: re-init rx buffers when mac > resume back > > > > On

RE: [PATCH v5 1/2] platform/x86: dell-privacy: Add support for Dell hardware privacy

2021-03-25 Thread Yuan, Perry
Hi Hans. > -Original Message- > From: Hans de Goede > Sent: Wednesday, March 24, 2021 3:40 AM > To: Pierre-Louis Bossart; Yuan, Perry; po...@protonmail.com; > oder_ch...@realtek.com; pe...@perex.cz; ti...@suse.com; > mgr...@linux.intel.com; Limonciello, Mario > Cc:

Re: [PATCH V8 1/8] PM / devfreq: Add cpu based scaling support to passive_governor

2021-03-25 Thread Chanwoo Choi
Hi, You are missing to add these patches to linux-pm mailing list. Need to send them to linu-pm ML. Also, before received this series, I tried to clean-up these patches on testing branch[1]. So that I add my comment with my clean-up case. [1]

Re: [PATCH V8 7/8] devfreq: mediatek: cci devfreq register opp notification for SVS support

2021-03-25 Thread Chanwoo Choi
Hi, I think that you can squash this patch to patch4. On 3/23/21 8:34 PM, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > SVS will change the voltage of opp item. What it the full name of SVS? > CCI devfreq need to react to change frequency. > > Signed-off-by: Andrew-sh.Cheng > --- >

[PATCH v3 2/4] riscv: cmpxchg.h: Merge macros

2021-03-25 Thread guoren
From: Guo Ren To reduce assembly codes, let's merge duplicate codes into one (xchg_acquire, xchg_release, cmpxchg_release). Signed-off-by: Guo Ren Link: https://lore.kernel.org/linux-riscv/CAJF2gTT1_mP-wiK2HsCpTeU61NqZVKZX1A5ye=twqvgn4tp...@mail.gmail.com/ Cc: Peter Zijlstra Cc: Michael

Re: [PATCH v3 07/10] pinctrl: Ingenic: Add pinctrl driver for JZ4750.

2021-03-25 Thread Zhou Yanjie
On 2021/3/23 上午2:20, Paul Cercueil wrote: Le mer. 17 mars 2021 à 17:58, 周琰杰 (Zhou Yanjie) a écrit : Add support for probing the pinctrl-ingenic driver on the JZ4750 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes:     v3:     New patch.  drivers/pinctrl/pinctrl-ingenic.c

Re: [mm] f3344adf38: fxmark.hdd_btrfs_DWAL_63_bufferedio.works/sec -52.4% regression

2021-03-25 Thread Feng Tang
On Thu, Mar 25, 2021 at 02:51:42PM +0800, Feng Tang wrote: > > > Honestly, normally if I were to get a report about "52% regression" > > > for a commit that is supposed to optimize something, I'd just revert > > > the commit as a case of "ok, that optimization clearly didn't work". > > > > > >

Re: [PATCH] static_call: fix function type mismatch

2021-03-25 Thread Ard Biesheuvel
On Thu, 25 Mar 2021 at 08:43, Peter Zijlstra wrote: > > On Thu, Mar 25, 2021 at 01:42:41AM +0100, Rasmus Villemoes wrote: > > > Actually, it looks like I can't select PREEMPT_DYNAMIC> and tweaking > > > Kconfig > > > > Ah, there's no prompt on the "bool" line, so it doesn't show up. That > >

[PATCH v3 3/4] riscv: cmpxchg.h: Implement xchg for short

2021-03-25 Thread guoren
From: Guo Ren riscv only support lr.wd/s(c).w(d) with word(double word) size & align access. There are not lr.h/sc.h instructions. But qspinlock.c need xchg with short type variable: xchg_tail -> xchg_releaxed(>tail, ... typedef struct qspinlock { union { atomic_t val;

Re: [PATCH v3 01/10] pinctrl: Ingenic: Add missing pins to the JZ4770 MAC MII group.

2021-03-25 Thread Zhou Yanjie
Hi Paul, On 2021/3/23 上午1:53, Paul Cercueil wrote: Hi Zhou, Le mer. 17 mars 2021 à 17:57, 周琰杰 (Zhou Yanjie) a écrit : The MII group of JZ4770's MAC should have 7 pins, add missing pins to the MII group. Fixes: 5de1a73e78ed ("Pinctrl: Ingenic: Add missing parts for JZ4770 and JZ4780.")

[PATCH V2 1/5] dt-bindings: Added the yaml bindings for DCC

2021-03-25 Thread Souradeep Chowdhury
Documentation for Data Capture and Compare(DCC) device tree bindings in yaml format. Signed-off-by: Souradeep Chowdhury --- .../devicetree/bindings/arm/msm/qcom,dcc.yaml | 49 ++ 1 file changed, 49 insertions(+) create mode 100644

Re: [PATCH v3 02/10] pinctrl: Ingenic: Add support for read the pin configuration of X1830.

2021-03-25 Thread Zhou Yanjie
Hi, On 2021/3/23 上午1:58, Paul Cercueil wrote: Le mer. 17 mars 2021 à 17:57, 周琰杰 (Zhou Yanjie) a écrit : Add X1830 support in "ingenic_pinconf_get()", so that it can read the configuration of X1830 SoC correctly. Fixes: d7da2a1e4e08 ("pinctrl: Ingenic: Add pinctrl driver for X1830.")

Re: [PATCH 11/11] [RFC] drm/i915/dp: fix array overflow warning

2021-03-25 Thread Jani Nikula
On Mon, 22 Mar 2021, Arnd Bergmann wrote: > From: Arnd Bergmann > > gcc-11 warns that intel_dp_check_mst_status() has a local array of > fourteen bytes and passes the last four bytes into a function that > expects a six-byte array: > > drivers/gpu/drm/i915/display/intel_dp.c: In function >

Re: [PATCH v2 1/2] intel/pinctrl: check REVID register value for device presence

2021-03-25 Thread Roger Pau Monné
On Wed, Mar 24, 2021 at 07:01:18PM +0200, Andy Shevchenko wrote: > On Wed, Mar 24, 2021 at 04:43:11PM +0100, Roger Pau Monne wrote: > > Thanks for a fix! My comments below. > > > Use the value read from the REVID register in order to check for the > > presence of the device. A read of all ones

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

2021-03-25 Thread Leon Romanovsky
On Wed, Mar 24, 2021 at 11:17:29AM -0600, Alex Williamson wrote: > On Wed, 24 Mar 2021 17:13:56 +0200 > Leon Romanovsky wrote: <...> > > Yes, and real testing/debugging almost always requires kernel rebuild. > > Everything else is waste of time. > > Sorry, this is nonsense. Allowing users to

Re: [PATCH v3 08/10] pinctrl: Ingenic: Add pinctrl driver for JZ4755.

2021-03-25 Thread Zhou Yanjie
Hi, On 2021/3/23 上午2:24, Paul Cercueil wrote: Le mer. 17 mars 2021 à 17:58, 周琰杰 (Zhou Yanjie) a écrit : Add support for probing the pinctrl-ingenic driver on the JZ4755 SoC from Ingenic. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes:     v3:     New patch.  

Re: [PATCH V3 -next] powerpc: kernel/time.c - cleanup warnings

2021-03-25 Thread Alexandre Belloni
On 24/03/2021 17:46:19+0800, heying (H) wrote: > Many thanks for your suggestion. As you suggest, rtc_lock should be local to > platforms. > > Does it mean not only powerpc but also all other platforms should adapt this > change? Not all the other ones, in the current state, x86 still needs it.

Re: [PATCH v4 3/3] pinctrl: Add Xilinx ZynqMP pinctrl driver support

2021-03-25 Thread Linus Walleij
On Mon, Mar 22, 2021 at 4:25 PM Sai Krishna Potthuri wrote: > [Andy] > > > > > + PIN_CONFIG_IOSTANDARD = PIN_CONFIG_END + 1, }; > > > > > > > > I'm lost here. What is IO standard exactly? Why it can't be in > > > > generic headers? > > > It represents LVCMOS 3.3 volts/ LVCMOS 1.8 volts. >

Re: [PATCH v3 14/15] media: venus: Convert to use resource-managed OPP API

2021-03-25 Thread Viresh Kumar
On 25-03-21, 10:13, Stanimir Varbanov wrote: > Hi, > > On 3/14/21 6:34 PM, Dmitry Osipenko wrote: > > From: Yangtao Li > > > > Use resource-managed OPP API to simplify code. > > > > Signed-off-by: Yangtao Li > > Signed-off-by: Dmitry Osipenko > > --- > >

Re: [PATCH] drm/amd/amdgpu/gfx_v7_0: Trivial typo fixes

2021-03-25 Thread Nirmoy
Reviewed-by: Nirmoy Das On 3/25/21 9:53 AM, Bhaskar Chowdhury wrote: s/acccess/access/ s/inferface/interface/ s/sequnce/sequence/ .two different places. s/retrive/retrieve/ s/sheduling/scheduling/ s/independant/independent/ s/wether/whether/ ..two different places. s/emmit/emit/

Re: [PATCH] livepatch: klp_send_signal should treat PF_IO_WORKER like PF_KTHREAD

2021-03-25 Thread Miroslav Benes
On Thu, 25 Mar 2021, Dong Kai wrote: > commit 15b2219facad ("kernel: freezer should treat PF_IO_WORKER like > PF_KTHREAD for freezing") is to fix the freezeing issue of IO threads > by making the freezer not send them fake signals. > > Here live patching consistency model call klp_send_signals

Re: [PATCH v4 2/5] phy: Add LVDS configuration options

2021-03-25 Thread Liu Ying
Hi Vinod, On Thu, 2021-03-25 at 12:58 +0530, Vinod Koul wrote: > On 18-03-21, 10:22, Liu Ying wrote: > > > > Can we have these in kernel-doc style please, similar to style in > > > linux/phy/phy.h > > > > I take this way of in-line member documentation comment for the below 3 > > reasons: > >

Re: [PATCH 1/8] mm: cma: introduce cma_release_nowait()

2021-03-25 Thread Oscar Salvador
On Wed, Mar 24, 2021 at 05:28:28PM -0700, Mike Kravetz wrote: > +struct cma_clear_bitmap_work { > + struct work_struct work; > + struct cma *cma; > + unsigned long pfn; > + unsigned int count; > +}; > + > struct cma cma_areas[MAX_CMA_AREAS]; > unsigned cma_area_count; > >

[PATCH] ARM: fix smp_processor_id() in preemptible warning in harden_branch_predictor()

2021-03-25 Thread Liu Xiang
When CONFIG_HARDEN_BRANCH_PREDICTOR is selected and user aborts occur, there is a warning: BUG: using smp_processor_id() in preemptible [] code: errnotest/577 caller is __do_user_fault.constprop.4+0x24/0x88 CPU: 1 PID: 577 Comm: errnotest Not tainted 4.14.188-rt87-fmsh-4-g58055877a

Re: [PATCH 1/8] mm: cma: introduce cma_release_nowait()

2021-03-25 Thread Michal Hocko
On Thu 25-03-21 10:45:19, Michal Hocko wrote: > On Wed 24-03-21 17:28:28, Mike Kravetz wrote: > [...] > > phys_addr_t cma_get_base(const struct cma *cma) > > { > > return PFN_PHYS(cma->base_pfn); > > @@ -146,6 +155,10 @@ static int __init cma_init_reserved_areas(void) > > for (i = 0; i <

Re: [PATCH v2] MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again

2021-03-25 Thread Thomas Bogendoerfer
On Mon, Mar 22, 2021 at 03:12:59PM +0800, Tiezhu Yang wrote: > On 03/22/2021 12:46 PM, Maciej W. Rozycki wrote: > > On Thu, 18 Mar 2021, Tiezhu Yang wrote: > > > > > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > > > index 160b3a8..4b94ec7 100644 > > > --- a/arch/mips/Kconfig > > > +++

Re: [net-next PATCH 0/8] configuration support for switch headers & phy

2021-03-25 Thread Sunil Kovvuri
> > > Hi Hariprasad > > > > > > Private flags sound very wrong here. I would expect to see some > > > integration > > > between the switchdev/DSA driver and the MAC driver. > > > Please show how this works in combination with drivers/net/dsa/mv88e6xxx > > > or

Re: [RFC PATCH v7 00/22] virtio/vsock: introduce SOCK_SEQPACKET support

2021-03-25 Thread Stefano Garzarella
Hi Arseny, On Tue, Mar 23, 2021 at 04:07:13PM +0300, Arseny Krasnov wrote: This patchset implements support of SOCK_SEQPACKET for virtio transport. As SOCK_SEQPACKET guarantees to save record boundaries, so to do it, two new packet operations were added: first for start of

Re: [PATCH] x86/tlb: Flush global mappings when KAISER is disabled

2021-03-25 Thread Paolo Bonzini
On 25/03/21 11:29, Borislav Petkov wrote: diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index f5ca15622dc9..2bfa4deb8cae 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h @@ -245,12 +245,15 @@ static inline void

Re: [PATCH v6 00/38] KVM: arm64: Stage-2 for the host

2021-03-25 Thread Marc Zyngier
On Fri, 19 Mar 2021 10:01:08 +, Quentin Perret wrote: > This is the v6 of the series previously posted here: > > https://lore.kernel.org/r/20210315143536.214621-1-qper...@google.com/ > > This basically allows us to wrap the host with a stage 2 when running in > nVHE, hence paving the way

  1   2   3   4   5   6   7   8   9   10   >