[PATCH v8 2/5] firmware: xilinx: Add shutdown/wakeup APIs

2020-08-10 Thread Ben Levinsky
Add shutdown/wakeup a resource eemi operations to shutdown or bringup a resource. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - fix formatting v4: - add default values for enumv3: - add xilinx-

[PATCH v8 0/5] Provide basic driver to control Arm R5 co-processor found on Xilinx ZynqMP

2020-08-10 Thread Ben Levinsky
The driver was tested on Xilinx ZynqMP and Versal. v2: - remove domain struct as per review from Mathieu v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct - update zynqmp_r5 yaml parsing to not raise warnings for extra information

[PATCH v8 4/5] dt-bindings: remoteproc: Add documentation for ZynqMP R5 rproc bindings

2020-08-10 Thread Ben Levinsky
Add binding for ZynqMP R5 OpenAMP. Represent the RPU domain resources in one device node. Each RPU processor is a subnode of the top RPU domain node. Signed-off-by: Ben Levinsky Signed-off-by: Jason Wu Signed-off-by: Wendy Liang Signed-off-by: Michal Simek --- v3: - update zynqmp_r5 yaml pars

[PATCH v8 5/5] remoteproc: Add initial zynqmp R5 remoteproc driver

2020-08-10 Thread Ben Levinsky
R5 is included in Xilinx Zynq UltraScale MPSoC so by adding this remotproc driver, we can boot the R5 sub-system in different configurations. Signed-off-by: Ben Levinsky Signed-off-by: Wendy Liang Signed-off-by: Michal Simek Signed-off-by: Ed Mooring Signed-off-by: Jason Wu --- v2: - remove

[PATCH v8 3/5] firmware: xilinx: Add RPU configuration APIs

2020-08-10 Thread Ben Levinsky
This patch adds APIs to provide access and a configuration interface to the current power state of a sub-system on Zynqmp sub-system. Signed-off-by: Ben Levinsky --- v3: - add xilinx-related platform mgmt fn's instead of wrapping around function pointer in xilinx eemi ops struct v4: - add defau

[PATCH 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/pwm/pwm-imx-tpm.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/pwm/pwm-imx-tpm.c b/dr

[PATCH 3/3] pwm: imx1: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/pwm/pwm-imx1.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/drivers/pwm/pwm-imx

[PATCH 2/3] pwm: imx27: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/pwm/pwm-imx27.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/drivers/pwm/pw

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

2020-08-10 Thread Steven Rostedt
On Tue, 11 Aug 2020 11:04:18 +0800 Tingwei Zhang wrote: > Thanks for your comments, Steven. I've addressed all your comments in v3. > Do you have more comments on v3? Is there anything I need to do to merge > this series to Linux Kernel? I gave my Reviewed-by tag on each of the patches that tou

Re: [PATCH v6 00/12] HWPOISON: soft offline rework

2020-08-10 Thread 堀口 直也
On Mon, Aug 10, 2020 at 11:22:55AM -0400, Qian Cai wrote: > On Thu, Aug 06, 2020 at 06:49:11PM +, nao.horigu...@gmail.com wrote: > > Hi, > > > > This patchset is the latest version of soft offline rework patchset > > targetted for v5.9. > > > > Since v5, I dropped some patches which tweak ref

[PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/soc/imx/gpcv2.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/soc/imx/gpcv2.c b/

Re: [PATCH v2 1/5] binfmt_elf_fdpic: Stop using dump_emit() on user pointers on !MMU

2020-08-10 Thread Jann Horn
On Tue, May 5, 2020 at 2:15 PM Christoph Hellwig wrote: > On Tue, May 05, 2020 at 01:42:12PM +0200, Jann Horn wrote: > > On Tue, May 5, 2020 at 12:48 PM Christoph Hellwig wrote: > > > On Wed, Apr 29, 2020 at 11:49:50PM +0200, Jann Horn wrote: > > > > dump_emit() is for kernel pointers, and VMAs d

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

2020-08-10 Thread Tingwei Zhang
Hi Steven, On Tue, Jul 28, 2020 at 09:33:53AM +0800, Tingwei Zhang wrote: > Ftrace has ability to export trace packets to other destination. > Currently, only function trace can be exported. This series extends the > support to event trace and trace_maker. STM is one possible destination to > expor

[PATCH 2/2] thermal: imx8mm: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/thermal/imx8mm_thermal.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/thermal/imx8mm_

Re: drivers/vhost/net.c:1010 vhost_net_rx_peek_head_len() error: double unlocked 'sk->sk_receive_queue.lock' (orig line 1002)

2020-08-10 Thread Jason Wang
On 2020/8/10 下午8:33, Michael S. Tsirkin wrote: On Sat, Aug 08, 2020 at 03:37:07PM +0800, kernel test robot wrote: Hi Jason, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7

[PATCH 1/2] thermal: imx: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/thermal/imx_thermal.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/drivers/therm

[PATCH 1/2] MAINTAINERS: add a dedicated entry for vDPA

2020-08-10 Thread Jason Wang
vDPA is an independent subsystem, so use a dedicated entry for that. Signed-off-by: Jason Wang --- MAINTAINERS | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4e2698cc7e23..314398f0e276 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -

[PATCH 2/2] vDPA: add Eli Cohen as mellanox vDPA driver supporter

2020-08-10 Thread Jason Wang
Cc: Eli Cohen Signed-off-by: Jason Wang --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 314398f0e276..ed1851413fcc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -18186,6 +18186,12 @@ S: Maintained F: drivers/vdpa/ F: include

Re: [PATCH] vdpa_sim: init iommu lock

2020-08-10 Thread Jason Wang
On 2020/8/10 下午8:48, Michael S. Tsirkin wrote: The patch adding the iommu lock did not initialize it. The struct is zero-initialized so this is mostly a problem when using lockdep. Reported-by: kernel test robot Cc: Max Gurtovoy Fixes: 0ea9ee430e74 ("vdpasim: protect concurrent access to iom

Re: [PATCH 1/4] vdpa: introduce config op to get valid iova range

2020-08-10 Thread Jason Wang
On 2020/8/10 下午8:05, Michael S. Tsirkin wrote: On Thu, Aug 06, 2020 at 03:43:54PM +0300, Eli Cohen wrote: On Thu, Aug 06, 2020 at 08:29:22AM -0400, Michael S. Tsirkin wrote: On Thu, Aug 06, 2020 at 03:03:55PM +0300, Eli Cohen wrote: On Wed, Aug 05, 2020 at 08:51:56AM -0400, Michael S. Tsirki

[RFC][PATCH] tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup

2020-08-10 Thread John Stultz
When booting with heavily modularized config, the serial console may not be able to load until after init when modules that satisfy needed dependencies have time to load. Unfortunately, as qcom_geni_console_setup is marked as __init, the function may have been freed before we get to run it, causin

Re: [PATCH v6 2/3] drm: bridge: Add support for Cadence MHDP DPI/DP bridge

2020-08-10 Thread Laurent Pinchart
Hi Tomi, Daniel, On Thu, Mar 12, 2020 at 09:13:06AM +0200, Tomi Valkeinen wrote: > On 12/03/2020 00:20, Laurent Pinchart wrote: > >> + ret = load_firmware(mhdp); > >> + if (ret) > >> + goto phy_exit; > >> + > >> + drm_bridge_add(&mhdp->bridge); > > > What if someone starts using the br

Re: [PATCH v5 2/2] soc: mediatek: add mt6779 devapc driver

2020-08-10 Thread Neal Liu
Hi Chun-Kuang, On Tue, 2020-08-11 at 07:14 +0800, Chun-Kuang Hu wrote: > Hi, Neal: > > Neal Liu 於 2020年8月10日 週一 上午11:43寫道: > > > > Hi Chun-Kuang, > > > > On Fri, 2020-08-07 at 23:52 +0800, Chun-Kuang Hu wrote: > > > Hi, Neal: > > > > > > Neal Liu 於 2020年8月7日 週五 上午10:34寫道: > > > > > > > > MediaT

Re: [PATCH v8 3/3] drm: bridge: cdns-mhdp: Add j721e wrapper

2020-08-10 Thread Laurent Pinchart
Hi Swapnil, Thank you for the patch. On Thu, Aug 06, 2020 at 01:34:32PM +0200, Swapnil Jakhade wrote: > Add j721e wrapper for mhdp, which sets up the clock and data muxes. > > Signed-off-by: Jyri Sarha > Signed-off-by: Yuti Amonkar > Signed-off-by: Swapnil Jakhade > Reviewed-by: Tomi Valkeine

MDaemon Notification -- Attachment Removed

2020-08-10 Thread Postmaster
--- MDaemon has detected restricted attachments within an email message --- >From : linux-kernel@vger.kernel.org To: pu...@tythac.com.vn Subject : [***SPAM

Re: [PATCH v8 2/3] drm: bridge: Add support for Cadence MHDP DPI/DP bridge

2020-08-10 Thread Laurent Pinchart
Hi Swapnil, Thank you for the patch. On Thu, Aug 06, 2020 at 01:34:31PM +0200, Swapnil Jakhade wrote: > Add a new DRM bridge driver for Cadence MHDP DPTX IP used in TI J721e SoC. > MHDP DPTX IP is the component that complies with VESA DisplayPort (DP) and > embedded Display Port (eDP) standards.

Re: [Ocfs2-devel] [PATCH] fs: ocfs2: delete repeated words in comments

2020-08-10 Thread Joseph Qi
On 2020/8/11 10:18, Randy Dunlap wrote: > Drop duplicated words {the, and} in comments. > > Signed-off-by: Randy Dunlap > Cc: Mark Fasheh > Cc: Joel Becker > Cc: Joseph Qi > Cc: Andrew Morton > Cc: ocfs2-de...@oss.oracle.com Acked-by: Joseph Qi > --- > fs/ocfs2/alloc.c |2 +- >

Re: [PATCH v2 3/4] MIPS: BCM63xx: enable EHCI for DWV-S0 board

2020-08-10 Thread Florian Fainelli
On 8/9/2020 11:49 AM, Philippe Mathieu-Daudé wrote: > Hi Álvaro, > > On Fri, Aug 7, 2020 at 12:05 PM Álvaro Fernández Rojas > wrote: >> >> EHCI and OHCI share the same USB ports. Therefore, if the board has OHCI >> it should also have EHCI. > > This statement isn't correct. OHCI doesn't imply

Re: [PATCH v3] i2c: iproc: fix race between client unreg and isr

2020-08-10 Thread Florian Fainelli
On 8/10/2020 5:42 PM, Dhananjay Phadke wrote: > When i2c client unregisters, synchronize irq before setting > iproc_i2c->slave to NULL. > > (1) disable_irq() > (2) Mask event enable bits in control reg > (3) Erase slave address (avoid further writes to rx fifo) > (4) Flush tx and rx FIFOs > (5)

Re: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-10 Thread Yu-Hsuan Hsu
Lu, Brent 於 2020年8月11日 週二 上午10:17寫道: > > > > > Sorry for the late reply. CRAS does not set the period size when using it. > > The default period size is 256, which consumes the samples quickly(about > > 49627 > > fps when the rate is 48000 fps) at the beginning of the playback. > > Since CRAS wri

Re: Regression: serial crash on db845c using modular config w/ 5.9-rc

2020-08-10 Thread John Stultz
On Mon, Aug 10, 2020 at 7:19 PM John Stultz wrote: > > On Mon, Aug 10, 2020 at 5:56 PM Saravana Kannan wrote: > > > > On Mon, Aug 10, 2020 at 5:31 PM John Stultz wrote: > > > > > > When testing with modular configs w/ mainline on db845c, I've been > > > running into an early boot crash (nothing

Re: [GIT pull] locking/urgent for 5.9-rc1

2020-08-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 19:01:34 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > locking-urgent-2020-08-10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/97d052ea3fa853b9aabcc4baca1a605cb1188611 Thank you! -- Deet-doot-dot

Re: [GIT PULL] ktest: Updates for 5.9

2020-08-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 21:49:52 -0400: > git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git > ktest-v5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ed3854ff994b35cc11658d43d01a421bd5088d23 Thank you! -- Deet-doot-dot, I

arch/riscv/kernel/ftrace.c:15:5: sparse: sparse: context imbalance in 'ftrace_arch_code_modify_prepare' - wrong count at exit

2020-08-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4bcf69e57063c9b1b15df1a293c969e80a1c97e6 commit: 0ff7c3b331276f584bde3ae9a16bacd8fa3d01e6 riscv: Use text_mutex instead of patch_lock date: 3 months ago config: riscv-randconfig-s032-20200810 (attached as

[PATCH] mm/slub: fix missing ALLOC_SLOWPATH stat when bulk alloc

2020-08-10 Thread wuyun.wu
From: Abel Wu The ALLOC_SLOWPATH statistics is missing in bulk allocation now. Fix it by doing statistics in alloc slow path. Signed-off-by: Abel Wu --- mm/slub.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mm/slub.c b/mm/slub.c index df93a5a0e9a4..5d89e4064f83 100644

Re: [PATCH v4 0/6] mm / virtio-mem: support ZONE_MOVABLE

2020-08-10 Thread Andrew Morton
On Mon, 10 Aug 2020 09:56:32 +0200 David Hildenbrand wrote: > On 04.08.20 21:41, David Hildenbrand wrote: > > @Andrew can we give this a churn and consider it for v5.9 in case there > > are no more comments? > > @Andrew, Ping, so I assume we'll target v5.10? Yep, sorry. Merging a significant p

Re: Regression: serial crash on db845c using modular config w/ 5.9-rc

2020-08-10 Thread John Stultz
On Mon, Aug 10, 2020 at 5:56 PM Saravana Kannan wrote: > > On Mon, Aug 10, 2020 at 5:31 PM John Stultz wrote: > > > > When testing with modular configs w/ mainline on db845c, I've been > > running into an early boot crash (nothing on the console - but serial > > drivers as built as modules - so n

Re: [PATCH] tools/objtool: Fix unnecessary jumps

2020-08-10 Thread Youling Tang
Thank you for your reply and suggestions, I will remove the "out" label code. Thanks, Youling On 08/10/2020 08:57 PM, Kamalesh Babulal wrote: On 10/08/20 9:36 am, Youling Tang wrote: There is no need to jump to the "out" tag when "ret < 0", just return directly to "ret". Signed-off-by: Youl

[PATCH] fs: autofs: delete repeated words in comments

2020-08-10 Thread Randy Dunlap
Drop duplicated words {the, at} in comments. Signed-off-by: Randy Dunlap Cc: Ian Kent Cc: aut...@vger.kernel.org --- fs/autofs/dev-ioctl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200807.orig/fs/autofs/dev-ioctl.c +++ linux-next-20200807/fs/autofs/dev-ioctl

[PATCH] fs: nfs: delete repeated words in comments

2020-08-10 Thread Randy Dunlap
Drop duplicated words {the, and} in comments. Signed-off-by: Randy Dunlap Cc: Trond Myklebust Cc: Anna Schumaker Cc: linux-...@vger.kernel.org --- fs/nfs/fs_context.c |2 +- fs/nfs/nfs4xdr.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200807.orig/fs/nfs

[PATCH] fs: configfs: delete repeated words in comments

2020-08-10 Thread Randy Dunlap
Drop duplicated words {the, that} in comments. Signed-off-by: Randy Dunlap Cc: Joel Becker Cc: Christoph Hellwig Cc: Andrew Morton --- fs/configfs/dir.c |2 +- fs/configfs/file.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200807.orig/fs/configfs/dir.c +

[PATCH] fs: ocfs2: delete repeated words in comments

2020-08-10 Thread Randy Dunlap
Drop duplicated words {the, and} in comments. Signed-off-by: Randy Dunlap Cc: Mark Fasheh Cc: Joel Becker Cc: Joseph Qi Cc: Andrew Morton Cc: ocfs2-de...@oss.oracle.com --- fs/ocfs2/alloc.c |2 +- fs/ocfs2/localalloc.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---

[PATCH] fs: afs: delete repeated words in comments

2020-08-10 Thread Randy Dunlap
Drop duplicated words {the, consider} in comments. Signed-off-by: Randy Dunlap Cc: David Howells Cc: linux-...@lists.infradead.org --- fs/afs/flock.c |2 +- fs/afs/rotate.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200807.orig/fs/afs/flock.c +++ linux-ne

RE: [PATCH v3 2/2] ASoC: Intel: Add period size constraint on strago board

2020-08-10 Thread Lu, Brent
> > Sorry for the late reply. CRAS does not set the period size when using it. > The default period size is 256, which consumes the samples quickly(about 49627 > fps when the rate is 48000 fps) at the beginning of the playback. > Since CRAS write samples with the fixed frequency, it triggers under

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

2020-08-10 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 SO

[PATCH -next] drm/rockchip: cdn-dp: Mark cdn_dp_core_suspend/resume __maybe_unused

2020-08-10 Thread YueHaibing
If CONFIG_PM is not set, gcc warns: drivers/gpu/drm/rockchip/cdn-dp-core.c:1124:12: warning: ‘cdn_dp_resume’ defined but not used [-Wunused-function] Mark them __maybe_unused to fix this. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/gpu/drm/rockchip/cdn-dp-core.c | 4 ++-- 1

Re: [PATCH v2 4/4] mm/hugetl.c: warn out if expected count of huge pages adjustment is not achieved

2020-08-10 Thread Baoquan He
Hi Mike, On 07/23/20 at 11:21am, Mike Kravetz wrote: > On 7/23/20 2:11 AM, Baoquan He wrote: ... > >> But is kernel expected to warn for all such situations where the user > >> requested resources could not be allocated completely ? Otherwise, it > >> does not make sense to add an warning for just

Re: [PATCH] cifs: Convert to use the fallthrough macro

2020-08-10 Thread linmiaohe
Steve French wrote: > >merged into cifs-2.6.git for-next > Many thanks. > (but note that most places in fs directory other than cifs and btrfs have not > been updated), and I noticed another 8 places in fs/cifs that you didn't > change in your patch (ie change from the older way of >indicating

Re: WARN_ON_ONCE(1) in iomap_dio_actor()

2020-08-10 Thread Qian Cai
0. sec (697.545 MiB/sec and 178571.4286 ops/sec) wrote 20480/20480 bytes at offset 0 20 KiB, 5 ops; 0. sec (723.380 MiB/sec and 185185.1852 ops/sec) pread: Input/output error [ 8944.905010][ T6995] [ cut here ] [ 8944.911193][ T6995] WARNING: CPU: 4 PID: 6995 at fs

[PATCH] mm/slub: make add_full() condition more explicit

2020-08-10 Thread wuyun.wu
From: Abel Wu The commit below is incomplete, as it didn't handle the add_full() part. commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before remove_full()") This patch checks for SLAB_STORE_USER instead of kmem_cache_debug(), since that should be the only context in which we need

[RESEND] NTB: hw: amd: fix an issue about leak system resources

2020-08-10 Thread Kaige Li
The related system resources were not released when pci_set_dma_mask(), pci_set_consistent_dma_mask(), or pci_iomap() return error in the amd_ntb_init_pci() function. Add pci_release_regions() to fix it. Signed-off-by: Kaige Li --- changed commit massage. drivers/ntb/hw/amd/ntb_hw_amd.c | 1 +

[PATCH] seqlock: Fix build errors

2020-08-10 Thread Xingxing Su
From: XingxingSu Fix the following build errors: In file included from ./include/linux/time.h:6:0, from ./include/linux/compat.h:10, from arch/mips/kernel/asm-offsets.c:12: ./include/linux/seqlock.h: In function ???write_seqcount_begin_nested???: ./include/linux

Re: [PATCH v3 05/18] gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL and GPIO_V2_LINE_GET_VALUES_IOCTL

2020-08-10 Thread Kent Gibson
On Sun, Aug 09, 2020 at 09:25:16PM +0800, Kent Gibson wrote: > Add support for requesting lines using the GPIO_V2_GET_LINE_IOCTL, and > returning their current values using GPIO_V2_LINE_GET_VALUES_IOCTL. > > Signed-off-by: Kent Gibson > --- > [snip] > +static long line_get_values(struct line *l

Re: [PATCH 10/10] mm/hugetlb: not necessary to abuse temporary page to workaround the nasty free_huge_page

2020-08-10 Thread Baoquan He
On 08/10/20 at 05:19pm, Mike Kravetz wrote: > On 8/9/20 7:17 PM, Baoquan He wrote: > > On 08/07/20 at 05:12pm, Wei Yang wrote: > >> Let's always increase surplus_huge_pages and so that free_huge_page > >> could decrease it at free time. > >> > >> Signed-off-by: Wei Yang > >> --- > >> mm/hugetlb.c

Re: [PATCH v1] usb: typec: tcpm: Fix TDA 2.2.1.1 and TDA 2.2.1.2 failures

2020-08-10 Thread Guenter Roeck
On 8/10/20 6:11 PM, Badhri Jagan Sridharan wrote: >>From the spec: > "7.1.5 Response to Hard Resets > Hard Reset Signaling indicates a communication failure has occurred and > the Source Shall stop driving VCONN, Shall remove Rp from the VCONN pin > and Shall drive VBUS to vSafe0V as shown in Figur

Re: [PATCH] mm/slub: remove useless kmem_cache_debug

2020-08-10 Thread Abel Wu
On 2020/8/11 9:29, Abel Wu wrote: > > > On 2020/8/11 3:44, David Rientjes wrote: >> On Mon, 10 Aug 2020, wuyun...@huawei.com wrote: >> >>> From: Abel Wu >>> >>> The commit below is incomplete, as it didn't handle the add_full() part. >>> commit a4d3f8916c65 ("slub: remove useless kmem_cache_d

[GIT PULL] ktest: Updates for 5.9

2020-08-10 Thread Steven Rostedt
Linus, Updates for ktest 5.9 - Have config-bisect save the good/bad configs at each step. - Show log file location even on success - Add PRE_TEST_DIE to kill test if the PRE_TEST fails - Add a NOT operator for conditionals in config file - Add the log output of the last test when emailing

Re: [PATCH v17 1/3] dt-bindings: Add bindings for Mediatek matrix keypad

2020-08-10 Thread Yingjoe Chen
Hi, On Mon, 2020-08-10 at 14:40 +0800, Fengping Yu wrote: > From: "fengping.yu" > > This patch add devicetree bindings for Mediatek matrix keypad driver. > > Signed-off-by: fengping.yu > --- > .../devicetree/bindings/input/mtk-kpd.yaml| 87 +++ > 1 file changed, 87 insert

Re: [GIT PULL] f2fs update for 5.9-rc1

2020-08-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 12:11:21 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git > tags/f2fs-for-5.9-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/086ba2ec163b638abd2a90ef3e8bab0238d02e56 Thank you! -- Deet-doot-do

Re: [GIT PULL] GFS2 changes for 5.9

2020-08-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 20:36:34 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git > tags/gfs2-for-5.9 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/8c2618a6d0f7b08e2b41575a87cf568745c8860e Thank you! -- Deet-doot-dot

Re: [GIT PULL] JFFS2, UBI and UBIFS changes for 5.9-rc1

2020-08-10 Thread pr-tracker-bot
The pull request you sent on Mon, 10 Aug 2020 20:27:32 +0200 (CEST): > git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs.git > tags/for-linus-5.9-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/163c3e3dc0ddcea3edac51612fced13c597f37dc Thank you! -- Deet-doo

RE: [PATCH] PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER

2020-08-10 Thread Anson Huang
Hi, Lucas > Subject: Re: [PATCH] PCI: imx6: Do not output error message when > devm_clk_get() failed with -EPROBE_DEFER > > Am Dienstag, den 04.08.2020, 13:38 +0800 schrieb Anson Huang: > > When devm_clk_get() returns -EPROBE_DEFER, i.MX6 PCI driver should NOT > > print error message, just retur

[PATCH V2] PCI: imx6: Do not output error message when devm_clk_get() failed with -EPROBE_DEFER

2020-08-10 Thread Anson Huang
When devm_clk_get() returns -EPROBE_DEFER, i.MX6 PCI driver should NOT print error message, use dev_err_probe() to handle it. Signed-off-by: Anson Huang --- drivers/pci/controller/dwc/pci-imx6.c | 35 +++ 1 file changed, 15 insertions(+), 20 deletions(-) diff --g

Re: [PATCH] mm/slub: remove useless kmem_cache_debug

2020-08-10 Thread Abel Wu
On 2020/8/11 3:44, David Rientjes wrote: > On Mon, 10 Aug 2020, wuyun...@huawei.com wrote: > >> From: Abel Wu >> >> The commit below is incomplete, as it didn't handle the add_full() part. >> commit a4d3f8916c65 ("slub: remove useless kmem_cache_debug() before >> remove_full()") >> >> Signed-

Re: [PATCH] drm/vmwgfx: fix spelling mistake "Cant" -> "Can't"

2020-08-10 Thread Roland Scheidegger
Thanks, I've put the fix in the vmwgfx-next branch. Roland Am 10.08.20 um 12:04 schrieb Colin King: > From: Colin Ian King > > There is a spelling mistake in a DRM_ERROR message. Fix it. > > Signed-off-by: Colin Ian King > --- > drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 2 +- > 1 file changed, 1

[GIT PULL] libnvdimm for v5.9

2020-08-10 Thread Verma, Vishal L
Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git/ tags/libnvdimm-for-5.9 ...to receive a new feature in libnvdimm - 'Runtime Firmware Activation', and a few small cleanups and fixes in libnvdimm and DAX. You'd normally receive this pull request from D

Re: [PATCH] usb: gadget: tegra-xudc: Avoid GFP_ATOMIC where it is not needed

2020-08-10 Thread JC Kuo
Looks good to me. Reviewed-by: JC Kuo On 8/10/20 10:00 PM, Thierry Reding wrote: > On Sun, Aug 09, 2020 at 09:29:48AM +0200, Christophe JAILLET wrote: >> There is no need to use GFP_ATOMIC here. It is a probe function, no >> spinlock is taken. >> >> Signed-off-by: Christophe JAILLET >> --- >>

[PATCH v1] usb: typec: tcpm: Fix TDA 2.2.1.1 and TDA 2.2.1.2 failures

2020-08-10 Thread Badhri Jagan Sridharan
>From the spec: "7.1.5 Response to Hard Resets Hard Reset Signaling indicates a communication failure has occurred and the Source Shall stop driving VCONN, Shall remove Rp from the VCONN pin and Shall drive VBUS to vSafe0V as shown in Figure 7-9. The USB connection May reset during a Hard Reset sin

[PATCH 2/7] regulator: push allocation in regulator_ena_gpio_request() out of lock

2020-08-10 Thread Michał Mirosław
Move another allocation out of regulator_list_mutex-protected region, as reclaim might want to take the same lock. WARNING: possible circular locking dependency detected 5.7.13+ #534 Not tainted -- kswapd0/383 is trying to acquire lock: c0e5d920

[PATCH 0/7] regulator: fix deadlock vs memory reclaim

2020-08-10 Thread Michał Mirosław
For systems that have eg. eMMC storage using voltage regulator, memory reclaim path might call back into regulator subsystem. This means we have to make sure no allocations happen with a regulator or regulator list locked. After this series I see no more lockdep complaints on my test system, but p

[PATCH 6/7] regulator: cleanup regulator_ena_gpio_free()

2020-08-10 Thread Michał Mirosław
Since only regulator_ena_gpio_request() allocates rdev->ena_pin, and it guarantees that same gpiod gets same pin structure, it is enough to compare just the pointers. Also we know there can be only one matching entry on the list. Rework the code take advantage of the facts. Signed-off-by: Michał M

[PATCH 3/7] regulator: push allocations in create_regulator() outside of lock

2020-08-10 Thread Michał Mirosław
Move all allocations outside of the regulator_lock()ed section. == WARNING: possible circular locking dependency detected 5.7.13+ #535 Not tainted -- f2fs_discard-179:7/702 is trying to acquire

[RFC V2 PATCH] dma-iommu: allow devices to set IOVA range dynamically

2020-08-10 Thread Ajay Kumar
Currently, there is no other option to change the lower limit of IOVA for any device than calling iova_init_domain(), but the said function will re-init whole domain and also doesn't track the previously allocated IOVA before re-initing the domain. There are cases where the device might not suppor

[PATCH 4/7] regulator: push allocation in set_consumer_device_supply() out of lock

2020-08-10 Thread Michał Mirosław
Pull regulator_list_mutex into set_consumer_device_supply() and keep allocations outside of it. Fourth of the fs_reclaim deadlock case. Cc: sta...@vger.kernel.org Fixes: 45389c47526d ("regulator: core: Add early supply resolution for regulators") Signed-off-by: Michał Mirosław --- drivers/regul

[PATCH 1/7] regulator: push allocation in regulator_init_coupling() outside of lock

2020-08-10 Thread Michał Mirosław
Allocating memory with regulator_list_mutex held makes lockdep unhappy when memory pressure makes the system do fs_reclaim on eg. eMMC using a regulator. Push the lock inside regulator_init_coupling() after the allocation. == WARNING: possible ci

[PATCH 7/7] regulator: remove superfluous lock in regulator_resolve_coupling()

2020-08-10 Thread Michał Mirosław
The code modifies rdev, but locks c_rdev instead. The bug remains: stored c_rdev could be freed just after unlock anyway. This doesn't blow up because regulator_list_mutex taken outside holds it together. Signed-off-by: Michał Mirosław --- drivers/regulator/core.c | 4 1 file changed, 4 del

[PATCH 5/7] regulator: plug of_node leak in regulator_register()'s error path

2020-08-10 Thread Michał Mirosław
By calling device_initialize() earlier and noting that kfree(NULL) is ok, we can save a bit of code in error handling and plug of_node leak. Fixed commit already did part of the work. Cc: sta...@vger.kernel.org Fixes: 9177514ce349 ("regulator: fix memory leak on error path of regulator_register()

[rcu:rcu/test] BUILD SUCCESS 1ca2cb90f246b67e6afa46abf54a401af1f189bc

2020-08-10 Thread kernel test robot
onfig mips allmodconfig powerpc defconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a005-20200810 i386 randconfig-a001-202

Re: [PATCH v7 08/11] bus: mhi: core: Introduce debugfs entries for MHI

2020-08-10 Thread kernel test robot
Hi Bhaumik, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v5.8 next-20200810] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as doc

Re: [PATCH] scsi: ufs-pci: Add quirk for broken auto-hibernate for Intel EHL

2020-08-10 Thread Stanley Chu
On Mon, 2020-08-10 at 17:10 +0300, Adrian Hunter wrote: > Intel EHL UFS host controller advertises auto-hibernate capability but it > does not work correctly. Add a quirk for that. > > Signed-off-by: Adrian Hunter > Fixes: 8c09d75276971 ("scsi: ufshdc-pci: Add Intel PCI IDs for EHL") > --- Acked

Re: Regression: serial crash on db845c using modular config w/ 5.9-rc

2020-08-10 Thread Saravana Kannan
On Mon, Aug 10, 2020 at 5:31 PM John Stultz wrote: > > When testing with modular configs w/ mainline on db845c, I've been > running into an early boot crash (nothing on the console - but serial > drivers as built as modules - so not surprising). After setting the > CONFIG_SERIAL_QCOM_GENI=y (along

[RFC PATCH V2 0/2] Add Xilinx DSI TX driver

2020-08-10 Thread Venkateshwar Rao Gannavarapu
Xilinx DSI-TX subsytem consists of DSI controller core, AXI crossbar and D-PHY as sub blocks. DSI TX subsystem driver supports multiple lanes upto 4, RGB color formats, video mode and command modes. DSI-TX driver is implemented as an encoder driver, as it going to be the final node in display pipe

Re: [PATCH v7] cpufreq: intel_pstate: Implement passive mode with HWP enabled

2020-08-10 Thread Francisco Jerez
"Rafael J. Wysocki" writes: > From: Rafael J. Wysocki > > Allow intel_pstate to work in the passive mode with HWP enabled and > make it set the HWP minimum performance limit (HWP floor) to the > P-state value given by the target frequency supplied by the cpufreq > governor, so as to prevent the

Re: [PATCH v36 21/24] x86/vdso: Implement a vDSO for Intel SGX enclave call

2020-08-10 Thread Andy Lutomirski
> On Aug 10, 2020, at 4:48 PM, Sean Christopherson > wrote: > > On Mon, Aug 10, 2020 at 04:08:46PM -0700, Andy Lutomirski wrote: >> What am I missing? I still don't really understand why we are >> supporting this mechanism at all. Just the asm code to invoke the >> callback seems to be abou

[PATCH] fs: RWF_NOWAIT should imply IOCB_NOIO

2020-08-10 Thread Jens Axboe
With the change allowing read-ahead for IOCB_NOWAIT, we changed the RWF_NOWAIT semantics of only doing cached reads. Since we know have IOCB_NOIO to manage that specific side of it, just make RWF_NOWAIT imply IOCB_NOIO as well to restore the previous behavior. Fixes: 2e85abf053b9 ("mm: allow read-

[RFC PATCH V2 2/2] drm: xlnx: dsi: driver for Xilinx DSI TX subsystem

2020-08-10 Thread Venkateshwar Rao Gannavarapu
The Xilinx MIPI DSI TX subsystem soft IP is used to display video data from AXI-4 stream interface. It supports upto 4 lanes, multiple RGB color formats, video mode and command mode. The driver provides the kernel mode setting and MIPI DSI host functionalities. Signed-off-by: Venkateshwar Rao Gan

[RFC PATCH V2 0/2] Add Xilinx DSI TX driver

2020-08-10 Thread Venkateshwar Rao Gannavarapu
Xilinx DSI-TX subsytem consists of DSI controller core, AXI crossbar and D-PHY as sub blocks. DSI TX subsystem driver supports multiple lanes upto 4, RGB color formats, video mode and command modes. DSI-TX driver is implemented as an encoder driver, as it going to be the final node in display pipe

[RFC PATCH V2 1/2] dt-bindings: display: xlnx: dsi: This add a DT binding for Xilinx DSI TX subsystem.

2020-08-10 Thread Venkateshwar Rao Gannavarapu
The Xilinx MIPI DSI (Display Serial Interface) Transmitter subsystem implements the Mobile Industry Processor Interface (MIPI) based display interface. It supports the interface with programmable logic (FPGA). Signed-off-by: Venkateshwar Rao Gannavarapu --- .../devicetree/bindings/display/xlnx/

[PATCH v3] i2c: iproc: fix race between client unreg and isr

2020-08-10 Thread Dhananjay Phadke
When i2c client unregisters, synchronize irq before setting iproc_i2c->slave to NULL. (1) disable_irq() (2) Mask event enable bits in control reg (3) Erase slave address (avoid further writes to rx fifo) (4) Flush tx and rx FIFOs (5) Clear pending event (interrupt) bits in status reg (6) enable_ir

Re: [PATCH] sched/fair: reduce preemption with IDLE tasks runable(Internet mail)

2020-08-10 Thread 蒋彪
Hi, > On Aug 10, 2020, at 9:24 PM, Dietmar Eggemann > wrote: > > On 06/08/2020 17:52, benbjiang(蒋彪) wrote: >> Hi, >> >>> On Aug 6, 2020, at 9:29 PM, Dietmar Eggemann >>> wrote: >>> >>> On 03/08/2020 13:26, benbjiang(蒋彪) wrote: > On Aug 3, 2020, at 4:16 PM, Dietmar Eggemann

[PATCH 2/2] crypto: Remove unused async iterators

2020-08-10 Thread ira . weiny
From: Ira Weiny Revert "crypto: hash - Add real ahash walk interface" This reverts commit 75ecb231ff45b54afa9f4ec9137965c3c00868f4. The callers of the functions in this commit were removed in ab8085c130ed Remove these unused calls. Fixes: ab8085c130ed ("crypto: x86 - remove SHA multibuffer rou

[PATCH 0/2] Cyrpto: Clean up kmap() use

2020-08-10 Thread ira . weiny
From: Ira Weiny While going through kmap() users the following 2 issues were found via code inspection. Ira Weiny (2): crypto/ux500: Fix kmap() bug crypto: Remove unused async iterators crypto/ahash.c| 41 +++ drivers/crypto/ux500/hash/hash_c

[PATCH 1/2] crypto/ux500: Fix kmap() bug

2020-08-10 Thread ira . weiny
From: Ira Weiny Once the crypto hash walk is started by crypto_hash_walk_first() returning non-zero, crypto_hash_walk_done() must be called to unmap any memory which was mapped by *_walk_first(). Ensure crypto_hash_walk_done() is called properly by: 1) Re-arranging the check for device

Re: [PATCH v8 1/3] dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings

2020-08-10 Thread Laurent Pinchart
Hi Swapnil, Thank you for the patch. On Thu, Aug 06, 2020 at 01:34:30PM +0200, Swapnil Jakhade wrote: > From: Yuti Amonkar > > Document the bindings used for the Cadence MHDP DPI/DP bridge in > yaml format. > > Signed-off-by: Yuti Amonkar > Signed-off-by: Swapnil Jakhade > Reviewed-by: Rob H

[rcu:dev.2020.08.07a] BUILD SUCCESS effe4b83a3d86ad17f82b332e1ad64a4d11df68f

2020-08-10 Thread kernel test robot
allnoconfig i386 randconfig-a005-20200810 i386 randconfig-a001-20200810 i386 randconfig-a002-20200810 i386 randconfig-a003-20200810 i386 randconfig-a006-20200810 i386 randconfig-a004

Regression: serial crash on db845c using modular config w/ 5.9-rc

2020-08-10 Thread John Stultz
When testing with modular configs w/ mainline on db845c, I've been running into an early boot crash (nothing on the console - but serial drivers as built as modules - so not surprising). After setting the CONFIG_SERIAL_QCOM_GENI=y (along with other QCOM_GENI configs) to debug, I've found the backtr

RE: [kbuild-all] Re: drivers/input/touchscreen/elants_i2c.c:859:45: warning: Clarify calculation precedence for '&' and

2020-08-10 Thread Xia, Hui
>-Original Message- >From: Dmitry Torokhov >Sent: 2020年8月7日 6:31 >To: lkp >Cc: Johnny Chuang ; kbuild-...@lists.01.org; linux- >ker...@vger.kernel.org; Peter Hutterer >Subject: [kbuild-all] Re: drivers/input/touchscreen/elants_i2c.c:859:45: >warning: >Clarify calculation precedence f

Re: [PATCH bpf-next v2] bpf: fix segmentation fault of test_progs

2020-08-10 Thread Andrii Nakryiko
On Mon, Aug 10, 2020 at 8:40 AM Jianlin Lv wrote: > > test_progs reports the segmentation fault as below > > $ sudo ./test_progs -t mmap --verbose > test_mmap:PASS:skel_open_and_load 0 nsec > .. > test_mmap:PASS:adv_mmap1 0 nsec > test_mmap:PASS:adv_mmap2 0 nsec > test_mmap:PASS:adv_mmap3 0 ns

[PATCH 4/5] drm/panel: simple: Tweak timings of sharp,ls020b1dd01d for perfect 60Hz

2020-08-10 Thread Paul Cercueil
Modify the video mode in order to obtain a perfect 60.00 Hz frame rate using a 3 MHz pixel clock. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/panel/panel-simple.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drive

[PATCH v4] documentation: coccinelle: Improve command example for make C={1,2}

2020-08-10 Thread Sumera Priyadarsini
Modify coccinelle documentation to further clarify the usage of the makefile C variable by coccicheck. Signed-off-by: Sumera Priyadarsini --- Changes in v4: - Modify commit message to clarify C is a variable --- Documentation/dev-tools/coccinelle.rst | 15 +++ 1 file changed

<    1   2   3   4   5   6   7   8   9   10   >