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

2020-08-10 Thread kernel test robot
Hi "Michał, I love your patch! Perhaps something to improve: [auto build test WARNING on regulator/for-next] [also build test WARNING 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 docum

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

2020-08-10 Thread Christoph Hellwig
On Mon, Aug 10, 2020 at 11:28:12PM +0530, Ajay Kumar wrote: > 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: [PATCH net-next RFC 01/13] devlink: Add reload level option to devlink reload command

2020-08-10 Thread Jiri Pirko
Mon, Aug 10, 2020 at 06:53:05PM CEST, k...@kernel.org wrote: >On Sun, 9 Aug 2020 16:21:29 +0300 Moshe Shemesh wrote: >> Okay, so devlink reload default for mlx5 will include also fw-activate >> to align with mlxsw default. >> >> Meaning drivers that supports fw-activate will add it to the

Re: [PATCH 1/2] irqchip/imx-intmux: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Ahmad Fatoum
Hello, On 8/11/20 6:25 AM, Anson Huang wrote: > 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/irqchip/irq-imx-intmux.c | 10 -- > 1 file changed, 4

Re: [dm-devel] [RFC PATCH v5 00/11] Integrity Policy Enforcement LSM (IPE)

2020-08-10 Thread James Bottomley
On Mon, 2020-08-10 at 19:36 -0400, Chuck Lever wrote: > > On Aug 10, 2020, at 11:35 AM, James Bottomley > > wrote: > > On Sun, 2020-08-09 at 13:16 -0400, Mimi Zohar wrote: > > > On Sat, 2020-08-08 at 13:47 -0400, Chuck Lever wrote: [...] > > > > The first priority (for me, anyway) therefore is

[PATCH v12 3/6] KASAN: Port KASAN Tests to KUnit

2020-08-10 Thread David Gow
From: Patricia Alfonso Transfer all previous tests for KASAN to KUnit so they can be run more easily. Using kunit_tool, developers can run these tests with their other KUnit tests and see "pass" or "fail" with the appropriate KASAN report instead of needing to parse each KASAN report to test

[PATCH v12 4/6] kasan: test: Make KASAN KUnit test comply with naming guidelines

2020-08-10 Thread David Gow
The proposed KUnit test naming guidelines[1] suggest naming KUnit test modules [suite]_kunit (and hence test source files [suite]_kunit.c). Rename test_kunit.c to kasan_kunit.c to comply with this, and be consistent with other KUnit tests. [1]:

[PATCH v12 6/6] mm: kasan: Do not panic if both panic_on_warn and kasan_multishot set

2020-08-10 Thread David Gow
KASAN errors will currently trigger a panic when panic_on_warn is set. This renders kasan_multishot useless, as further KASAN errors won't be reported if the kernel has already paniced. By making kasan_multishot disable this behaviour for KASAN errors, we can still have the benefits of

[PATCH v12 5/6] KASAN: Testing Documentation

2020-08-10 Thread David Gow
From: Patricia Alfonso Include documentation on how to test KASAN using CONFIG_TEST_KASAN_KUNIT and CONFIG_TEST_KASAN_MODULE. Signed-off-by: Patricia Alfonso Signed-off-by: David Gow Reviewed-by: Andrey Konovalov Reviewed-by: Dmitry Vyukov Acked-by: Brendan Higgins Tested-by: Andrey

[PATCH v12 2/6] KUnit: KASAN Integration

2020-08-10 Thread David Gow
From: Patricia Alfonso Integrate KASAN into KUnit testing framework. - Fail tests when KASAN reports an error that is not expected - Use KUNIT_EXPECT_KASAN_FAIL to expect a KASAN error in KASAN tests - Expected KASAN reports pass tests and are still printed when

[PATCH v12 0/6] KASAN-KUnit Integration

2020-08-10 Thread David Gow
sions. I'd _really_ like to get this into 5.9 if possible: we also have some other changes which depend on some things here. Changes from v11: - Rebased on top of latest -next (20200810) - Fixed a redundant memchr() call in kasan_memchr() - Added Andrey's "Tested-by" to everything. Change

[PATCH v12 1/6] Add KUnit Struct to Current Task

2020-08-10 Thread David Gow
From: Patricia Alfonso In order to integrate debugging tools like KASAN into the KUnit framework, add KUnit struct to the current task to keep track of the current KUnit test. Signed-off-by: Patricia Alfonso Reviewed-by: Brendan Higgins Tested-by: Andrey Konovalov Signed-off-by: David Gow

[PATCH] arm64: perf: Add general hardware LLC events for PMUv3

2020-08-10 Thread Leo Yan
This patch is to add the general hardware last level cache (LLC) events for PMUv3: one event is for LLC access and another is for LLC miss. With this change, perf tool can support last level cache profiling, below is an example to demonstrate the usage on Arm64: $ perf stat -e LLC-load-misses

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

2020-08-10 Thread Bjorn Andersson
On Mon 10 Aug 19:50 PDT 2020, John Stultz wrote: > 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, >

[GIT PULL] hwspinlock updates for 5.9

2020-08-10 Thread Bjorn Andersson
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/hwlock-v5.9 for you to fetch changes up to

[GIT PULL] remoteproc updates for v5.9

2020-08-10 Thread Bjorn Andersson
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/rproc-v5.9 for you to fetch changes up to

[GIT PULL] rpmsg updates for v5.9

2020-08-10 Thread Bjorn Andersson
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/andersson/remoteproc.git tags/rpmsg-v5.9 for you to fetch changes up to

[PATCH] ROMFS: support inode blocks calculation

2020-08-10 Thread Libing Zhou
When use 'stat' tool to display file status, the 'Blocks' field always in '0', this is not good for tool 'du'(e.g.: busybox 'du'), it always output '0' size for the files under ROMFS since such tool calculates number of 512B Blocks. This patch calculates approx. number of 512B blocks based on

drivers/thermal/da9062-thermal.c:258:2-9: line 258 is redundant because platform_get_irq() already prints an error

2020-08-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 00e4db51259a5f936fec1424b884f029479d3981 commit: ca7ce5a2710ad2a57bf7d0c4c712590bb69a5e1c coccinelle: platform_get_irq: Fix parse error date: 11 months ago config: i386-randconfig-c004-20200811 (attached

I have a proposition for you it will be a mutual benefit to both of us

2020-08-10 Thread David Williams
-- Dear Sir, I am David Williams. I have a Proposition involving an investment initiative in your Country to discuss with you, It will be of mutual benefit to both of us, and I believe we can handle it together, once we have a common understanding and mutual co-operation in the execution of the

Re: [PATCH AUTOSEL 5.7 52/60] dyndbg: prefer declarative init in caller, to memset in callee

2020-08-10 Thread Greg Kroah-Hartman
On Mon, Aug 10, 2020 at 03:10:20PM -0400, Sasha Levin wrote: > From: Jim Cromie > > [ Upstream commit 9c9d0acbe2793315fa6945a19685ad2a51fb281b ] > > ddebug_exec_query declares an auto var, and passes it to > ddebug_parse_query, which memsets it before using it. Drop that > memset, instead

Re: [RFC v4 1/3] usb: dwc3: Resize TX FIFOs to meet EP bursting requirements

2020-08-10 Thread Wesley Cheng
On 8/10/2020 5:27 AM, Felipe Balbi wrote: > Wesley Cheng writes: > > Hi, > >> Some devices have USB compositions which may require multiple endpoints >> that support EP bursting. HW defined TX FIFO sizes may not always be >> sufficient for these compositions. By utilizing flexible TX FIFO

Re: [GIT PULL] sound updates for 5.9

2020-08-10 Thread John Stultz
On Mon, Aug 10, 2020 at 10:06 AM Srinivas Kandagatla wrote: > > Hi John, > Thanks for reporting this. > > On 08/08/2020 01:23, John Stultz wrote: > > q6routing remoteproc-adsp:glink-edge:apr:apr-service@8:routing: ASoC: > > error at soc_component_read_no_lock on > >

Re: [Linux-kernel-mentees] [PATCH net] ipvs: Fix uninit-value in do_ip_vs_set_ctl()

2020-08-10 Thread Peilin Ye
On Mon, Aug 10, 2020 at 08:57:19PM -0700, Cong Wang wrote: > On Mon, Aug 10, 2020 at 3:10 PM Peilin Ye wrote: > > > > do_ip_vs_set_ctl() is referencing uninitialized stack value when `len` is > > zero. Fix it. > > Which exact 'cmd' is it here? > > I _guess_ it is one of those uninitialized in

Re: [RFC PATCH] printk: Change timestamp to triplet as mono, boot and real

2020-08-10 Thread Randy Dunlap
On 8/10/20 9:40 PM, Orson Zhai wrote: > +/* > + * struct timestanps - Simultaneous mono/boot/real timestamps typo:timestamps > + * @mono:Monotonic timestamp > + * @boot:Boottime timestamp > + * @real:Realtime timestamp > + */ > +struct timestamps { > + u64

linux-next: Tree for Aug 11

2020-08-10 Thread Stephen Rothwell
Hi all, News: The merge window has opened, so please do not add any v5.10 related material to your linux-next included branches until after the merge window closes again. Changes since 20200810: Dropped tree: set_fs at maintainer's request My fixes tree contains: 73c7adb54169

Re: [PATCH] arm64: Skip apply SSBS call for non SSBS system

2020-08-10 Thread Gaurav Kohli
Hi, Please let us know, is below patch good to have or not for non ssbs systems. On 8/4/2020 7:44 PM, Gaurav Kohli wrote: In a system where no cpu's implement SSBS, for them no need to set pstate. This might help to save few cpu cycles during context switch. Signed-off-by: Gaurav Kohli diff

[PATCH 2/2] mm: proc: smaps_rollup: do not stall write attempts on mmap_lock

2020-08-10 Thread Chinwen Chang
smaps_rollup will try to grab mmap_lock and go through the whole vma list until it finishes the iterating. When encountering large processes, the mmap_lock will be held for a longer time, which may block other write requests like mmap and munmap from progressing smoothly. There are upcoming

[PATCH 1/2] mmap locking API: add mmap_lock_is_contended()

2020-08-10 Thread Chinwen Chang
Add new API to query if someone wants to acquire mmap_lock for write attempts. Using this instead of rwsem_is_contended makes it more tolerant of future changes to the lock type. Signed-off-by: Chinwen Chang --- include/linux/mmap_lock.h | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 0/2] Try to release mmap_lock temporarily in smaps_rollup

2020-08-10 Thread Chinwen Chang
Recently, we have observed some janky issues caused by unpleasantly long contention on mmap_lock which is held by smaps_rollup when probing large processes. To address the problem, we let smaps_rollup detect if anyone wants to acquire mmap_lock for write attempts. If yes, just release the lock

[PATCH v2] power: supply: sbs-battery: remove unused enable_detection flags

2020-08-10 Thread Ikjoon Jang
Remove unused enable_detection flag which is always true after the device is proved. Signed-off-by: Ikjoon Jang --- v2: initialize work queue before registering power supply --- drivers/power/supply/sbs-battery.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git

[RFC PATCH] printk: Change timestamp to triplet as mono, boot and real

2020-08-10 Thread Orson Zhai
From: Thomas Gleixner Timestamps printed in kernel log are retrieved by local_clock which reads jiffies as a referrence clock source. But it is diffcult to be synchronized with logs generated out of kernel, say some remote processors (Modem) in the Soc of mobile phones. Jiffies will be

Re: [RFC][PATCH v3 11/11] misc: hisi_hikey_usb: Driver to support usb functionality of Hikey960

2020-08-10 Thread John Stultz
On Mon, Aug 10, 2020 at 9:35 AM Mauro Carvalho Chehab wrote: > Em Wed, 16 Oct 2019 03:33:40 + > John Stultz escreveu: > > > From: Yu Chen > > > > The HiKey960 has a fairly complex USB configuration due to it > > needing to support a USB-C port for host/device mode and multiple > > USB-A

linux-next: new build warnings after binutils update

2020-08-10 Thread Stephen Rothwell
Hi all, After upgading some software, builds of Linus' tree now produce these warnings: x86_64-linux-gnu-ld: arch/x86/boot/compressed/head_64.o: warning: relocation in read-only section `.head.text' x86_64-linux-gnu-ld: warning: creating DT_TEXTREL in a PIE I upgraded binutils from 2.34-8 to

Re: [PATCH v1 1/2] kunit: tool: fix running kunit_tool from outside kernel tree

2020-08-10 Thread David Gow
On Sat, Aug 8, 2020 at 4:51 PM Brendan Higgins wrote: > > On Fri, Aug 7, 2020 at 10:45 PM David Gow wrote: > > > > On Sat, Aug 8, 2020 at 9:17 AM Brendan Higgins > > wrote: > > > > > > Currently kunit_tool does not work correctly when executed from a path > > > outside of the kernel tree, so

[PATCH 2/2] irqchip/imx-irqsteer: 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/irqchip/irq-imx-irqsteer.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH 1/2] irqchip/imx-intmux: 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/irqchip/irq-imx-intmux.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

Re: include/linux/bits.h:25:21: error: first argument to '__builtin_choose_expr' not a constant

2020-08-10 Thread Andrew Morton
On Sat, 8 Aug 2020 08:03:38 +0800 kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 > commit: 295bcca84916cb5079140a89fccb472bb8d1f6e2 linux/bits.h: add compile > time sanity check

[PATCH] powerpc: kvm: Increase HDEC threshold to enter guest

2020-08-10 Thread David Gibson
Before entering a guest, we need to set the HDEC to pull us out again when the guest's time is up. This needs some care, though, because the HDEC is edge triggered, which means that if it expires before entering the guest, the interrupt will be lost, meaning we stay in the guest indefinitely (in

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

2020-08-10 Thread Youling Tang
There is no need to jump to the "out" tag when "ret < 0", just return directly to "ret". Signed-off-by: Youling Tang --- tools/objtool/check.c | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/tools/objtool/check.c b/tools/objtool/check.c index

drivers/video/fbdev/kyro/fbdev.c:725:23: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 00e4db51259a5f936fec1424b884f029479d3981 commit: 80591e61a0f7e88deaada69844e4a31280c4a38f kbuild: tell sparse about the $ARCH date: 9 months ago config: s390-randconfig-s031-20200810 (attached as .config

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

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

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

2020-08-10 Thread Tingwei Zhang
To avoid mixup of packets from differnt ftrace packets simultaneously, use different channel for packets from different CPU. Signed-off-by: Tingwei Zhang Reviewed-by: Steven Rostedt (VMware) --- drivers/hwtracing/stm/ftrace.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

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

2020-08-10 Thread Tingwei Zhang
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 export ftrace. Use separate channel for each CPU to avoid mixing up packets from

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

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

Re: [Linux-kernel-mentees] [PATCH net] ipvs: Fix uninit-value in do_ip_vs_set_ctl()

2020-08-10 Thread Cong Wang
On Mon, Aug 10, 2020 at 3:10 PM Peilin Ye wrote: > > do_ip_vs_set_ctl() is referencing uninitialized stack value when `len` is > zero. Fix it. Which exact 'cmd' is it here? I _guess_ it is one of those uninitialized in set_arglen[], which is 0. But if that is the case, should it be initialized

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

2020-08-10 Thread Tingwei Zhang
More traces like event trace or trace marker will be supported. Add flag for difference traces, so that they can be controlled separately. Move current function trace to it's own flag instead of global ftrace enable flag. Signed-off-by: Tingwei Zhang Reviewed-by: Steven Rostedt (VMware) ---

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

2020-08-10 Thread Tingwei Zhang
Only function traces can be exported to other destinations currently. This patch exports event trace as well. Move trace export related function to the beginning of file so other trace can call trace_process_export() to export. Signed-off-by: Tingwei Zhang Reviewed-by: Steven Rostedt (VMware)

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

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

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

2020-08-10 Thread 堀口 直也
On Mon, Aug 10, 2020 at 11:45:36PM -0400, Qian Cai wrote: > > > > On Aug 10, 2020, at 11:11 PM, HORIGUCHI NAOYA(堀口 直也) > > wrote: > > > > I'm still not sure why the test succeeded by reverting these because > > current mainline kernel provides similar mechanism to prevent reuse of > > soft

[PATCH 2/3] iio: light: isl29018: 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/iio/light/isl29018.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/iio/light/isl29018.c

[PATCH 1/3] iio: accel: mma8452: 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/iio/accel/mma8452.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git

[PATCH 3/3] iio: magnetometer: mag3110: 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/iio/magnetometer/mag3110.c | 20 ++-- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git

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

2020-08-10 Thread Qian Cai
> On Aug 10, 2020, at 11:11 PM, HORIGUCHI NAOYA(堀口 直也) > wrote: > > I'm still not sure why the test succeeded by reverting these because > current mainline kernel provides similar mechanism to prevent reuse of > soft offlined page. So this success seems to me something suspicious. Even if

Re: [PATCH] sched/fair: Remove the duplicate check from group_has_capacity()

2020-08-10 Thread Qi Zheng
On 2020/8/11 上午2:33, Valentin Schneider wrote: On 10/08/20 02:00, Qi Zheng wrote: 1. The group_has_capacity() function is only called in group_classify(). 2. The following inequality has already been checked in group_is_overloaded() which was also called in group_classify().

sound/soc/codecs/max98373-sdw.c:325:4: warning: Variable 'i' is reassigned a value before the old one has been used.

2020-08-10 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 086ba2ec163b638abd2a90ef3e8bab0238d02e56 commit: 56a5b7910e965c6905d112ce94fd9a9f5561f326 ASoC: codecs: max98373: add SoundWire support date: 5 weeks ago compiler: mipsel-linux-gcc (GCC) 9.3.0 If you fix

[PATCH] f2fs: change virtual mapping way for compression pages

2020-08-10 Thread Daeho Jeong
From: Daeho Jeong By profiling f2fs compression works, I've found vmap() callings are bottlenecks of f2fs decompression path. Changing these with vm_map_ram(), we can enhance f2fs decompression speed pretty much. [Verification] dd if=/dev/zero of=dummy bs=1m count=1000 echo 3 >

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

2020-08-10 Thread Mike Kravetz
Cc: Michal On 8/10/20 7:11 PM, Baoquan He wrote: > 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 ?

Re: KASAN: use-after-free Write in hci_conn_del

2020-08-10 Thread syzbot
syzbot has bisected this issue to: commit 6a3c7f5c87854e948c3c234e5f5e745c7c553722 Author: Nikolay Borisov Date: Thu May 28 08:05:13 2020 + btrfs: don't balance btree inode pages from buffered write path bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14f973c290

[PATCH v8 1/5] firmware: xilinx: Add ZynqMP firmware ioctl enums for RPU configuration.

2020-08-10 Thread Ben Levinsky
Add ZynqMP firmware ioctl enums for RPU configuration. 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 default values for enums --- include/linux/firmware/xlnx-zynqmp.h | 19

[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

[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

[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

[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: -

[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

[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

[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

[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

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

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

[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

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

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 >

[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

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:

[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

[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:

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

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.

[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,

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(>bridge); > > > What if someone starts using the bridge

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寫道: > > > > > > > >

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

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 :

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

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 >

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

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! --

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,

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

[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

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

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

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:

[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 +++

[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(-) ---

  1   2   3   4   5   6   7   8   9   10   >