Re: [PATCH V3] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-24 Thread kbuild test robot
-support-for-GENI-based-QUP/20180824-190528 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: i386-allyesconfig compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: make ARCH=i386 allyesconfig make ARCH=i386 All errors (new ones prefixed by

Re: [PATCH V3] spi: spi-geni-qcom: Add SPI driver support for GENI based QUP

2018-08-24 Thread kbuild test robot
/spi-spi-geni-qcom-Add-SPI-driver-support-for-GENI-based-QUP/20180824-190528 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next config: i386-allmodconfig compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: make ARCH=i386 allmodconfig make ARCH=i386 All

Re: SEV guest regression in 4.18

2018-08-24 Thread Borislav Petkov
On Fri, Aug 24, 2018 at 01:47:10PM -0500, Brijesh Singh wrote: > I am more inclined towards creating a new section with PMD aligned and > sized. This section will contains the decrypted data. In early > boot code we will update the mapping with C=0. If caller wants to create > a shared variable the

Re: TLB flushes on fixmap changes

2018-08-24 Thread Andy Lutomirski
On Fri, Aug 24, 2018 at 7:29 PM, wrote: > > > On August 24, 2018 5:58:43 PM PDT, Linus Torvalds > wrote: >>Adding a few people to the cc. >> >>On Fri, Aug 24, 2018 at 1:24 PM Nadav Amit >>wrote: >>> > >>> > Can you actually find something that changes the fixmaps after boot >>> > (again, ignor

[PATCH] x86/microcode: allow non-root reading of microcode version and processor flags

2018-08-24 Thread Jacek Tomaka
/sys/devices/system/cpu/cpuX/microcode Before: -r processor_flags -r version After: -r--r--r-- processor_flags -r--r--r-- version Microcode version has been already readable for non root users via /proc/cpuinfo. However it is easier to access it from /sys/devices/system/cpu/cpuX/

mv: cannot stat 'net/sctp/.tmp_mx_sm_statetable.o': No such file or directory

2018-08-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 33e17876ea4edcd7f5c01efa78e8d02889261abf commit: 0fbe9a245c60bedebb6dd329966f463bb724450a microblaze: add endianness options to LDFLAGS instead of LD date: 4 weeks ago config: microblaze-allyesconfig compi

Re: [PATCH] uapi: Fix linux/rds.h userspace compilation errors.

2018-08-24 Thread santosh.shilim...@oracle.com
On 8/24/18 6:26 PM, Vinson Lee wrote: Include linux/in6.h for struct in6_addr. /usr/include/linux/rds.h:156:18: error: field ‘laddr’ has incomplete type struct in6_addr laddr; ^ /usr/include/linux/rds.h:157:18: error: field ‘faddr’ has incomplete type struct in6_addr

Re: [PATCH] fs: Fix double prealloc_shrinker() in sget_fc()

2018-08-24 Thread Jia He
On 7/11/2018 10:37 PM, Kirill Tkhai Wrote: > Hi, > > I'm observing "KASAN: use-after-free Read in shrink_slab" on recent > linux-next in the code I've added: > > https://syzkaller.appspot.com/bug?id=91767fc6346a4b9e0309a8cd7e2f356c434450b9 > > It seems to be not related to my patchset, since

Re: [PATCH v2 24/32] selftests/ftrace: Add max stack tracer testcase

2018-08-24 Thread Steven Rostedt
On Sat, 25 Aug 2018 10:45:09 +0900 Masami Hiramatsu wrote: > On Fri, 24 Aug 2018 19:23:52 -0400 > Steven Rostedt wrote: > > > On Fri, 17 Aug 2018 01:40:30 +0900 > > Masami Hiramatsu wrote: > > > > > Add a testcase for max stack tracer, which checks basic > > > max stack usage tracing and it

Re: TLB flushes on fixmap changes

2018-08-24 Thread nadav . amit
On August 24, 2018 5:58:43 PM PDT, Linus Torvalds wrote: >Adding a few people to the cc. > >On Fri, Aug 24, 2018 at 1:24 PM Nadav Amit >wrote: >> > >> > Can you actually find something that changes the fixmaps after boot >> > (again, ignoring kmap)? >> >> At least the alternatives mechanism a

Re: [PATCH v2 32/32] selftests/ftrace: Add blktrace testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:44:18 +0900 Masami Hiramatsu wrote: > Add a basic testcase for blktrace. For making it portable, > this test uses a loop device. blktrace is a bit special, as it's maintained by the block subsystem and not really truly part of ftrace. It lives in the tracing directory, but

Re: [PATCH v2 31/32] selftests/ftrace: Add output format testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:43:49 +0900 Masami Hiramatsu wrote: > Add a testcase for tracing output format using trace_marker. > This tests raw, hex and bin format output. I'd like to deprecate these formats. They are useless ever since we implemented trace_pipe_raw. Let's not add this test. Thanks

Re: [PATCH v2 30/32] selftests/ftrace: Add ftrace cpumask testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:43:20 +0900 Masami Hiramatsu wrote: > Add a testcase for tracing_cpumask with function tracer. > > Signed-off-by: Masami Hiramatsu > --- > .../selftests/ftrace/test.d/ftrace/func_cpumask.tc | 34 > > 1 file changed, 34 insertions(+) > create mode

Re: [PATCH v2 29/32] selftests/ftrace: Add wakeup_rt tracer testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:42:52 +0900 Masami Hiramatsu wrote: > Add a testcase for wakeup_rt tracer. This requires chrt > command to test. > > Signed-off-by: Masami Hiramatsu > --- > .../selftests/ftrace/test.d/tracer/wakeup_rt.tc| 25 > > 1 file changed, 25 insertions

Re: linux-next: build warnings from the build of Linus' tree

2018-08-24 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 22:42:11 +1000 Stephen Rothwell wrote: > Hi Masami, > > On Fri, 24 Aug 2018 20:47:56 +0900 Masami Hiramatsu > wrote: > > > > gcc-7.3.0 cross build ld shows below warnings. > > > > MODPOST vmlinux.o > > /opt/gcc-7.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld: warning

Re: [PATCH v2 11/32] selftests/ftrace: Use loopback address instead of localhost

2018-08-24 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 17:52:11 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:34:23 +0900 > Masami Hiramatsu wrote: > > > Use raw loopback address instead of localhost, because > > "localhost" can depend on nsswitch and in some case > > we can not resolve the localhost. > > > > Signed-off-

Re: [PATCH v2 24/32] selftests/ftrace: Add max stack tracer testcase

2018-08-24 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 19:23:52 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:40:30 +0900 > Masami Hiramatsu wrote: > > > Add a testcase for max stack tracer, which checks basic > > max stack usage tracing and its filter feature. > > > > Signed-off-by: Masami Hiramatsu > > --- > > .../ft

Re: [PATCH v2 03/32] selftests/ftrace: Add --console hidden option

2018-08-24 Thread Steven Rostedt
On Sat, 25 Aug 2018 10:35:13 +0900 Masami Hiramatsu wrote: > On Fri, 24 Aug 2018 16:37:37 -0400 > Steven Rostedt wrote: > > > On Fri, 17 Aug 2018 01:30:36 +0900 > > Masami Hiramatsu wrote: > > > > > Add --console hidden option for debug test cases. > > > This option allows to put "sh" or so

Re: [PATCH v2 03/32] selftests/ftrace: Add --console hidden option

2018-08-24 Thread Masami Hiramatsu
On Fri, 24 Aug 2018 16:37:37 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:30:36 +0900 > Masami Hiramatsu wrote: > > > Add --console hidden option for debug test cases. > > This option allows to put "sh" or something else > > when the test case hits a bug. > > Can you add more informati

[PATCH] uapi: Fix linux/rds.h userspace compilation errors.

2018-08-24 Thread Vinson Lee
Include linux/in6.h for struct in6_addr. /usr/include/linux/rds.h:156:18: error: field ‘laddr’ has incomplete type struct in6_addr laddr; ^ /usr/include/linux/rds.h:157:18: error: field ‘faddr’ has incomplete type struct in6_addr faddr; ^ /usr/includ

Ask for your comment for our research: Reducing the Workload of the Linux Kernel Maintainers: Multiple-Committer Model

2018-08-24 Thread xin tan
Hi all, I am a Ph.D. student from China. Our research team is dedicated to helping FLOSS ecosystems have healthy and sustainable development. The Linux kernel is one of the key study cases for us because as a prominent FLOSS project, the Linux kernel has many unique practices. Recently, we observed

Re: TLB flushes on fixmap changes

2018-08-24 Thread Linus Torvalds
Adding a few people to the cc. On Fri, Aug 24, 2018 at 1:24 PM Nadav Amit wrote: > > > > Can you actually find something that changes the fixmaps after boot > > (again, ignoring kmap)? > > At least the alternatives mechanism appears to do so. > > IIUC the following path is possible when adding a

Re: [PATCH] x86/entry/64: wipe KASAN stack shadow in rewind_stack_do_exit()

2018-08-24 Thread Dmitry Vyukov
On Fri, Aug 24, 2018 at 4:58 PM, Jann Horn wrote: > Reset the KASAN shadow state of the task stack when rewinding RSP. > Without this, a kernel oops will leave parts of the stack poisoned, and > code running under do_exit() can trip over such poisoned regions and cause > nonsensical false-positive

Re: [PATCH 4/7] mm/hmm: properly handle migration pmd

2018-08-24 Thread Zi Yan
Hi Jérôme, On 24 Aug 2018, at 15:25, jgli...@redhat.com wrote: > From: Jérôme Glisse > > Before this patch migration pmd entry (!pmd_present()) would have > been treated as a bad entry (pmd_bad() returns true on migration > pmd entry). The outcome was that device driver would believe that > the

[PATCH] x86/entry/64: wipe KASAN stack shadow in rewind_stack_do_exit()

2018-08-24 Thread Jann Horn
Reset the KASAN shadow state of the task stack when rewinding RSP. Without this, a kernel oops will leave parts of the stack poisoned, and code running under do_exit() can trip over such poisoned regions and cause nonsensical false-positive KASAN reports about stack-out-of-bounds bugs. This patch

Re: [PATCH 4.4 037/107] x86/mm: Factor out LDT init from context init

2018-08-24 Thread Ben Hutchings
On Mon, 2018-07-23 at 14:41 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Dave Hansen > > commit 39a0526fb3f7d93433d146304278477eb463f8af upstream [...] > --- a/arch/x86/include/asm/mmu_context.h >

Re: [RFC PATCH 2/2] mm: mmu_notifier fix for tlb_end_vma (build failures)

2018-08-24 Thread Palmer Dabbelt
On Fri, 24 Aug 2018 06:50:48 PDT (-0700), Will Deacon wrote: On Fri, Aug 24, 2018 at 02:34:27PM +0100, Will Deacon wrote: On Fri, Aug 24, 2018 at 06:24:19AM -0700, Guenter Roeck wrote: > On Fri, Aug 24, 2018 at 02:10:27PM +0100, Will Deacon wrote: > > On Fri, Aug 24, 2018 at 06:07:22AM -0700, Gu

Re: [PATCH v1 07/10] thermal: tsens: Check if the IP is correctly enabled by firmware

2018-08-24 Thread Eduardo Valentin
On Thu, Aug 09, 2018 at 06:02:39PM +0530, Amit Kucheria wrote: > The SROT registers are initialised by the secure firmware at boot. We > don't have write access to the registers. Check if the block is enabled > before continuing. > Should this be merged to patch 6? > Signed-off-by: Amit Kucheria

Re: [PATCH v1 01/10] arm/arm64: dts: msm8974/msm8916: thermal: Split address space into two

2018-08-24 Thread Eduardo Valentin
On Thu, Aug 09, 2018 at 06:02:33PM +0530, Amit Kucheria wrote: > We've earlier added support to split the register address space into TM > and SROT regions. > > Split up the regmap address space into two for the remaining platforms that > have a similar register layout and make corresponding chang

Re: [PATCH v2 27/32] selftests/ftrace: Add stacktrace ftrace filter command testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:41:55 +0900 Masami Hiramatsu wrote: > Add a test case for stacktrace filter command for ftrace. > > Signed-off-by: Masami Hiramatsu > --- > .../ftrace/test.d/ftrace/func-filter-stacktrace.tc | 12 > 1 file changed, 12 insertions(+) > create mode 100644 >

Re: [PATCH v2 26/32] selftests/ftrace: Add trace_pipe testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:41:27 +0900 Masami Hiramatsu wrote: > Add a simple testcase for trace_pipe which can consume > ringbuffer. > > Signed-off-by: Masami Hiramatsu > --- > .../selftests/ftrace/test.d/00basic/trace_pipe.tc | 15 +++ > 1 file changed, 15 insertions(+) > create

Re: [PATCH v2 25/32] selftests/ftrace: Add function filter on module testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:40:59 +0900 Masami Hiramatsu wrote: > Add a testcase for function filter on module. > > Signed-off-by: Masami Hiramatsu > --- > .../ftrace/test.d/ftrace/func_mod_trace.tc | 24 > > 1 file changed, 24 insertions(+) > create mode 100644 >

Re: [PATCH v1 02/10] dt-bindings: thermal: Fix a typo in documentation

2018-08-24 Thread Eduardo Valentin
On Thu, Aug 09, 2018 at 06:02:34PM +0530, Amit Kucheria wrote: > c(1) + x(1) was actually meant to be c(1) * x(1). > > While we're at it, add some brackets to make it nicer to read. > > Signed-off-by: Amit Kucheria > --- > Documentation/devicetree/bindings/thermal/thermal.txt | 2 +- > 1 file c

Re: [PATCH v2 24/32] selftests/ftrace: Add max stack tracer testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:40:30 +0900 Masami Hiramatsu wrote: > Add a testcase for max stack tracer, which checks basic > max stack usage tracing and its filter feature. > > Signed-off-by: Masami Hiramatsu > --- > .../ftrace/test.d/ftrace/func_stack_tracer.tc | 39 > >

Re: [PATCH v1 01/10] arm/arm64: dts: msm8974/msm8916: thermal: Split address space into two

2018-08-24 Thread Eduardo Valentin
hello, On Thu, Aug 09, 2018 at 06:02:33PM +0530, Amit Kucheria wrote: > We've earlier added support to split the register address space into TM > and SROT regions. > > Split up the regmap address space into two for the remaining platforms that > have a similar register layout and make correspondi

Re: [PATCH v2 23/32] selftests/ftrace: Add function profiling stat testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:40:02 +0900 Masami Hiramatsu wrote: > Add a testcase for function profiling per-cpu statistics > interface. There is already func_profile.tc, but that is > mainly focusing on the combination of function-profiler > and function tracer. This testcase ensures trace_stat > per-

Re: [PATCH v2 22/32] selftests/ftrace: Add ringbuffer size changing testcase

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:39:34 +0900 Masami Hiramatsu wrote: > Add a testcase for changing ringbuffer size. This tests > not only ringbuffer size but also tests the imbalance > per-cpu buffer size change too. > > Signed-off-by: Masami Hiramatsu I'm fine with this, but one day I need to port over

Re: [PATCH V2] of: thermal: Allow multiple devices to share cooling map

2018-08-24 Thread Eduardo Valentin
On Wed, Aug 08, 2018 at 12:38:14PM +0530, Viresh Kumar wrote: > A cooling map entry may now contain a list of phandles and their > arguments representing multiple devices which share the trip point. > > This patch updates the thermal OF core to parse them properly. The trip > point and contributio

Re: [PATCH v6 1/5] dt-bindings: thermal: qcom-spmi-temp-alarm: Fix documentation of 'reg'

2018-08-24 Thread Eduardo Valentin
Hey On Tue, Jul 31, 2018 at 11:59:13AM -0700, Matthias Kaehlcke wrote: > The documentation claims that the 'reg' property consists of two values, > the SPMI address and the length of the controller's registers. However > the SPMI bus to which it is added specifies "#size-cells = <0>;". Remove > th

Re: [PATCH] Input: elants_i2c - Fix sw reset delays

2018-08-24 Thread dbasehore .
On Fri, Aug 24, 2018 at 4:07 PM dbasehore . wrote: > > > > On Fri, Aug 24, 2018 at 1:49 AM Andi Shyti wrote: >> >> Hi Derek, >> >> > > > On Thu, Aug 23, 2018 at 04:10:13PM -0700, Derek Basehore wrote: >> > > > > We only need to wait 10ms instead of 30ms before starting fastboot or >> > > > > send

Re: [PATCH v2 12/32] selftests/ftrace: Improve kprobe on module testcase to load/unload module

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:34:51 +0900 Masami Hiramatsu wrote: > Improve kprobe events on module testcase to check module > load/unload with disabled/enabled events. This also change > the target module to trace_printk.ko, so it depends on > CONFIG_SAMPLE_TRACE_PRINTK=m. > > Signed-off-by: Masami Hi

[PATCH] staging: comedi: cb_pcidas64 fixed '(' coding style issue

2018-08-24 Thread GuyLuz
From: Guy Luz Fixed a Lines should not end with a '(' issue. Signed-off-by: Guy Luz --- drivers/staging/comedi/drivers/cb_pcidas64.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/comedi/drivers/cb_pcidas64.c b/drivers/staging/comedi/drivers/cb_pci

[PATCH] arm64: add NUMA emulation support

2018-08-24 Thread Shuah Khan (Samsung OSG)
Add NUMA emulation support to emulate NUMA on non-NUMA platforms. A new CONFIG_NUMA_EMU option enables NUMA emulation and a new kernel command line option "numa=fake=N" allows users to specify the configuration for emulation. When NUMA emulation is enabled, a flat (non-NUMA) machine will be split

Re: [PATCH v2 21/32] selftests/ftrace: Add trace_printk sample module test

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:39:06 +0900 Masami Hiramatsu wrote: > Add trace_printk sample module test. This requires to > enable trace_printk.ko module for test. > > Signed-off-by: Masami Hiramatsu > --- > .../selftests/ftrace/test.d/event/trace_printk.tc | 27 > > 1 file c

Re: [RFC] pipe: prevent compiler reordering in pipe_poll

2018-08-24 Thread Al Viro
On Fri, Aug 24, 2018 at 10:54:31PM +, Eric Wong wrote: > The pipe_poll function does not use locks, and adding an entry > to the waitqueue is not guaranteed to happen before pipe->nrbufs > (or other fields) are read, leading to missed wakeups. > > Looking at Ruby CI build logs and backtraces,

Re: Re: KASAN: use-after-free Read in __rhashtable_lookup (2)

2018-08-24 Thread syzbot
#syz dup KASAN: use-after-free Read in rds_find_bound unknown command "dup" The problem is a missing synchronize_net() in rds_release. References: https://www.spinics.net/lists/netdev/msg475074.html https://www.spinics.net/lists/netdev/msg507908.html -- You received this message

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-24 Thread Eduardo Valentin
On Fri, Aug 24, 2018 at 09:59:21PM +0200, Emmanuel Vadot wrote: > > Hi, > > On Fri, 24 Aug 2018 16:58:40 +0200 > Maxime Ripard wrote: > > > Hi, > > > > On Mon, Aug 20, 2018 at 04:27:15PM +0200, Emmanuel Vadot wrote: > > > On Mon, 20 Aug 2018 16:07:37 +0200 > > > Maxime Ripard wrote: > > > >

[RFC] pipe: prevent compiler reordering in pipe_poll

2018-08-24 Thread Eric Wong
The pipe_poll function does not use locks, and adding an entry to the waitqueue is not guaranteed to happen before pipe->nrbufs (or other fields) are read, leading to missed wakeups. Looking at Ruby CI build logs and backtraces, I've noticed occasional instances where processes are stuck in select

Re: [PATCH v2 19/32] selftests/ftrace: Add a testcase for nop tracer

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:38:09 +0900 Masami Hiramatsu wrote: > Add a testcase for nop tracer. This tracer has 2 test > options, so check it too. > I'd rather not include this. In fact, I'd love to get rid of the nop options. They were added to make sure options worked when we first added them. Th

Re: [PATCH v4] spi: orion: cosmetics - alias long direct_access variables

2018-08-24 Thread Jan Kundrát
On středa 15. srpna 2018 21:04:49 CEST, Kosta Zertsekel wrote: This change increases the source code readability. Instead of using `spi->child[cs].direct_access.XXX` use `dir_acc->XXX`. Instead of using `orion_spi->child[cs].direct_access.vaddr` use `vaddr`. Signed-off-by: Kosta Zertsekel Revie

Re: [PATCH] ipc/mqueue: Only perform resource calculation if user valid

2018-08-24 Thread Al Viro
On Fri, Aug 24, 2018 at 02:54:39PM -0700, Kees Cook wrote: > The overflow was real, but the results went unused, so while the flaw > is harmless, it's noisy for kernel fuzzers, and the fix makes things > technically more efficient. yes, yes, yes, yes and no. Compiler is quite capable of noticing

RE: [PATCH v2 1/3] dt-bindings: power: Add ZynqMP power domain bindings

2018-08-24 Thread Jolly Shah
Hi Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Monday, August 20, 2018 12:46 PM > To: Jolly Shah > Cc: matthias@gmail.com; andy.gr...@linaro.org; shawn...@kernel.org; > geert+rene...@glider.be; bjorn.anders...@linaro.org; > sean.w...@mediatek.com; m.

RE: [PATCH v2 1/3] dt-bindings: soc: Add ZynqMP PM bindings

2018-08-24 Thread Jolly Shah
Hi Rob, > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Monday, August 20, 2018 12:49 PM > To: Jolly Shah > Cc: matthias@gmail.com; andy.gr...@linaro.org; shawn...@kernel.org; > geert+rene...@glider.be; bjorn.anders...@linaro.org; > sean.w...@mediatek.com; m.

Re: [PATCH] iio: adc: qcom-spmi-adc5: Add ADC5_AMUX_THM[24]_100K_PU to rev2 channel list

2018-08-24 Thread Matthias Kaehlcke
On Sun, Aug 19, 2018 at 05:54:52PM +0100, Jonathan Cameron wrote: > On Fri, 10 Aug 2018 12:47:02 -0700 > Matthias Kaehlcke wrote: > > > Add ADC5_AMUX_THM2_100K_PU and ADC5_AMUX_THM4_100K_PU to the list of > > rev2 ADC channels. > > > > Signed-off-by: Matthias Kaehlcke > This is fine and applied

RE: [PATCH v11 00/11] drivers: Introduce firmware dnd clock river for ZynqMP core

2018-08-24 Thread Jolly Shah
Hi Stephen, Please review below patch series. It addresses all your pending comments for clock driver. Thanks, Jolly Shah > -Original Message- > From: Jolly Shah [mailto:jolly.s...@xilinx.com] > Sent: Friday, August 03, 2018 10:53 AM > To: ard.biesheu...@linaro.org; mi...@kernel.org; >

Re: [PATCH 2/2] xfs: Use wake_q for waking up log space waiters

2018-08-24 Thread Waiman Long
On 08/23/2018 08:30 PM, Dave Chinner wrote: > On Thu, Aug 23, 2018 at 12:26:10PM -0400, Waiman Long wrote: >> Running the AIM7 fserver workload on a 2-socket 24-core 48-thread >> Broadwell system, it was found that there were severe spinlock contention >> in the XFS code. In particular, native_queu

[PATCH] ipc/mqueue: Only perform resource calculation if user valid

2018-08-24 Thread Kees Cook
Andreas Christoforou reported: UBSAN: Undefined behaviour in ipc/mqueue.c:414:49 signed integer overflow: 9 * 2305843009213693951 cannot be represented in type 'long int' ... Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x11b/0x1fe lib/dump_stack.c:113 ubsan_epilogue+0xe/0x8

Re: [PATCH v2 11/32] selftests/ftrace: Use loopback address instead of localhost

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:34:23 +0900 Masami Hiramatsu wrote: > Use raw loopback address instead of localhost, because > "localhost" can depend on nsswitch and in some case > we can not resolve the localhost. > > Signed-off-by: Masami Hiramatsu > --- > .../selftests/ftrace/test.d/event/event-enab

Re: [PATCH v2 10/32] selftests/ftrace: Fix checkbashisms errors

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:33:55 +0900 Masami Hiramatsu wrote: > Fix a test case to make checkbashisms clean. > > Signed-off-by: Masami Hiramatsu > --- > .../trigger/trigger-trace-marker-snapshot.tc |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git > a/tools/tes

Re: [PATCH v2 04/32] selftests/ftrace: Add case number prefix to logfile

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:31:05 +0900 Masami Hiramatsu wrote: > Add a case number prefix to each logfile. This makes > it easier to find which logfile is corresponding > to which failure. > > Signed-off-by: Masami Hiramatsu Acked-by: Steven Rostedt (VMware) -- Steve > --- > tools/testing/sel

Re: [PATCH v2 05/32] selftests/ftrace: More initialize features in initialize_ftrace

2018-08-24 Thread Steven Rostedt
On Fri, 24 Aug 2018 17:46:01 -0400 Steven Rostedt wrote: > On Fri, 17 Aug 2018 01:31:33 +0900 > Masami Hiramatsu wrote: > > > Clear pid filter, synthetic_events, snapshots, > > ftrace filter, and trace log in initialize_ftrace(), > > since those are used in test cases. > > > > Signed-off-by: M

Re: [PATCH v2 05/32] selftests/ftrace: More initialize features in initialize_ftrace

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:31:33 +0900 Masami Hiramatsu wrote: > Clear pid filter, synthetic_events, snapshots, > ftrace filter, and trace log in initialize_ftrace(), > since those are used in test cases. > > Signed-off-by: Masami Hiramatsu Acked-by: Steven Rostedt (VMware) -- Steve > --- > C

Re: [PATCH] perf annotate: fix parsing aarch64 branch instructions after objdump update

2018-08-24 Thread Kim Phillips
On Fri, 24 Aug 2018 09:59:22 +0200 Thomas-Mich Richter wrote: > On 08/24/2018 02:10 AM, Kim Phillips wrote: > > Tested no difference in output for sample x86_64, power arch perf.data > > files. > > Tested, no difference in output on s390. Just to let you know. Thanks! An official Tested-by:

Re: [PATCH v2 05/32] selftests/ftrace: More initialize features in initialize_ftrace

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:31:33 +0900 Masami Hiramatsu wrote: > Clear pid filter, synthetic_events, snapshots, > ftrace filter, and trace log in initialize_ftrace(), > since those are used in test cases. > > Signed-off-by: Masami Hiramatsu Acked-by: Steven Rostedt (VMware) -- Steve > --- > C

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-08-24 Thread Steve Muckle
On 08/24/2018 02:47 AM, Peter Zijlstra wrote: On 08/17/2018 11:27 AM, Steve Muckle wrote: When rt_mutex_setprio changes a task's scheduling class to RT, we're seeing cases where the task's vruntime is not updated correctly upon return to the fair class. Specifically, the following is being

Re: [PATCH] sched/fair: vruntime should normalize when switching from fair

2018-08-24 Thread Steve Muckle
On 08/23/2018 11:54 PM, Juri Lelli wrote: I tried to catch this issue on my Arm64 Juno board using pi_test (and a slightly adapted pip_test (usleep_val = 1500 and keep low as cfs)) from rt-tests but wasn't able to do so. # pi_stress --inversions=1 --duration=1 --groups=1 --sched id=low,policy=cf

[PATCH] staging: comedi: drivers: adl_pci9118: Fixes format of line 1283.

2018-08-24 Thread Sven Luthi
Checkpatch repored "Lines should not end with a '('" for line 1283. Moved opening parenthesis of function on line 1283 onto next line. Signed-off-by: Sven Luthi --- drivers/staging/comedi/drivers/adl_pci9118.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/stagi

[PATCH] staging: comedi: drivers: dt3000: Fixes warning on multiline dereference.

2018-08-24 Thread Sven Luthi
Checkpatch complains about a pointer dereference on line 442-444 being split across multiple lines. Merged the pointer dereference into one line and moved it along with the other function call parameters onto the following line so it would fit without exceeding the 80 character line limit. Signed

Re: [perf] perf_event.h ABI visibility question

2018-08-24 Thread Vince Weaver
On Fri, 24 Aug 2018, Peter Zijlstra wrote: > > +++ b/include/uapi/linux/perf_event.h > > @@ -143,6 +143,8 @@ enum perf_event_sample_format { > > PERF_SAMPLE_PHYS_ADDR = 1U << 19, > > > > PERF_SAMPLE_MAX = 1U << 20, /* non-ABI */ > > + > > + __P

Re: [PATCH v2 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-24 Thread vnkgutta
On 2018-08-24 13:18, Evan Green wrote: On Fri, Aug 24, 2018 at 11:32 AM wrote: On 2018-08-23 16:04, Evan Green wrote: > On Fri, Aug 17, 2018 at 5:08 PM Venkata Narendra Kumar Gutta > wrote: >> >> From: Channagoud Kadabi >> >> Add error reporting driver for Single Bit Errors (SBEs) and Double

Re: [PATCH v4] spi: orion: cosmetics - alias long direct_access variables

2018-08-24 Thread Andrew Lunn
On Fri, Aug 24, 2018 at 11:55:18PM +0300, Kosta Zertsekel wrote: > Guys, > > Any additional comments? > Or the patch is ready to be merged? Hi Kosta Since the merge window is open at the moment, many maintainers don't look at patches. They expect you to resubmit, based on -rc1, when the merge wi

Hello Dear.

2018-08-24 Thread Michel Duku
With Due Respect, I know that this mail will come to you as a surprise as we have never met before, but need not to worry as I am contacting you independently of my investigation and no one is informed of this communication. I need your urgent assistance in transferring the sum of $11.3milli

Re: [PATCH v4] spi: orion: cosmetics - alias long direct_access variables

2018-08-24 Thread Kosta Zertsekel
Guys, Any additional comments? Or the patch is ready to be merged? Thanks, --- Kosta Z.

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-24 Thread Jacek Anaszewski
On 08/24/2018 10:12 PM, Pavel Machek wrote: > On Fri 2018-08-24 21:49:50, Jacek Anaszewski wrote: >> Hi Pavel, >> >> On 08/24/2018 12:11 PM, Pavel Machek wrote: >>> Hi! >>> I think that it would be more flexible if software pattern fallback was applied in case of pattern_set failure. Othe

Re: [PATCH v2 02/32] selftests/ftrace: Add --stop-fail hidden option for debug

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:30:08 +0900 Masami Hiramatsu wrote: > Add --stop-fail option for debugging the ftracetest. > Acked-by: Steven Rostedt (VMware) -- Steve > Signed-off-by: Masami Hiramatsu > --- > tools/testing/selftests/ftrace/ftracetest | 13 + > 1 file changed, 13 inse

Re: [PATCH] x86/kvm/nVMX: avoid redundant double assignment of nested_run_pending

2018-08-24 Thread Krish Sadhukhan
On 08/23/2018 09:24 AM, Vitaly Kuznetsov wrote: nested_run_pending is set 20 lines above and check_vmentry_prereqs()/ check_vmentry_postreqs() don't seem to be resetting it (the later, however, checks it). Signed-off-by: Vitaly Kuznetsov --- arch/x86/kvm/vmx.c | 3 --- 1 file changed, 3 d

Re: [PATCH v2 03/32] selftests/ftrace: Add --console hidden option

2018-08-24 Thread Steven Rostedt
On Fri, 17 Aug 2018 01:30:36 +0900 Masami Hiramatsu wrote: > Add --console hidden option for debug test cases. > This option allows to put "sh" or something else > when the test case hits a bug. Can you add more information to why and how this would be used. -- Steve

Re: TLB flushes on fixmap changes

2018-08-24 Thread Nadav Amit
at 12:31 PM, Linus Torvalds wrote: > On Fri, Aug 24, 2018 at 11:36 AM Nadav Amit wrote: >>> Urgh.. weren't the fixmaps per cpu? Bah, I remember looking at this >>> during PTI, but I seem to have forgotten everything again. >> >> [ Changed the title. Sorry for hijacking the thread. ] >> >> Sinc

[PATCH] iio: dac: ti-dac5571: make vref regulator optional

2018-08-24 Thread Marcus Folkesson
The `vref` regulator is declared as optional in the device-tree binding, but the driver does require it. Go for the device-tree binding and make the `vref` regulator optional. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/ti-dac5571.c | 30 ++ 1 file changed, 2

[PATCH] iio: dac: ti-dac5571: provide of_match_table to driver

2018-08-24 Thread Marcus Folkesson
Use the created list of of_device_id's as a match table. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/ti-dac5571.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c index e39d1e901353..f6dcd8bce2b0 100644 --- a/drivers/iio/dac/

[PATCH] iio: dac: mcp4922: fix error handling in mcp4922_write_raw

2018-08-24 Thread Marcus Folkesson
Do not try to write negative values and make sure that the write goes well. Signed-off-by: Marcus Folkesson --- drivers/iio/dac/mcp4922.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/iio/dac/mcp4922.c b/drivers/iio/dac/mcp4922.c index bf9aa3fc0534..b519

Re: [PATCH v2 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-24 Thread Evan Green
On Fri, Aug 24, 2018 at 11:32 AM wrote: > > On 2018-08-23 16:04, Evan Green wrote: > > On Fri, Aug 17, 2018 at 5:08 PM Venkata Narendra Kumar Gutta > > wrote: > >> > >> From: Channagoud Kadabi > >> > >> Add error reporting driver for Single Bit Errors (SBEs) and Double Bit > >> Errors (DBEs). As

Re: general protection fault in finish_task_switch (2)

2018-08-24 Thread Dmitry Vyukov
On Wed, Aug 22, 2018 at 2:08 AM, Peter Zijlstra wrote: > On Tue, Aug 21, 2018 at 02:28:02PM -0700, syzbot wrote: >> syzbot has found a reproducer for the following crash on: >> >> HEAD commit:778a33959a8a Merge tag 'please-pull-noboot' of git://git.k.. >> git tree: upstream >> console ou

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-24 Thread Pavel Machek
On Fri 2018-08-24 21:49:50, Jacek Anaszewski wrote: > Hi Pavel, > > On 08/24/2018 12:11 PM, Pavel Machek wrote: > > Hi! > > > >> I think that it would be more flexible if software pattern fallback > >> was applied in case of pattern_set failure. Otherwise, it would > >> lead to the situation wher

[PATCH RFC 4/6] drivers: qcom: system_pm: program next wakeup to PDC timer

2018-08-24 Thread Raju P.L.S.S.S.N
In addition to sleep and wake request votes that need to be sent to remote processor as part of low power mode entry, the next wake-up timer value needs to be programmed to PDC (Power Domain Controller) which has its own timer and is in an always on power domain. A specific control register is prov

[PATCH RFC 3/6] drivers: qcom: system_pm: Add power management ops

2018-08-24 Thread Raju P.L.S.S.S.N
Add suspend power management ops so that the sleep & wake resource requests are flushed to corresponding TCS. The firmware would ensure that the buffered requests in TCS are sent to Resource Power Manager during entry to deepest low power modes. Signed-off-by: Raju P.L.S.S.S.N --- drivers/soc/qc

[PATCH RFC 5/6] drivers: qcom: rpmh: force flush new sleep/wake requests during suspend

2018-08-24 Thread Raju P.L.S.S.S.N
During pm suspend, newer sleep/wake requests may come as it can't be guaranteed that system PM device suspend will be called only in the end. After system PM does rpmh_flush, the suspend_in_progress flag is set to enable rpmh controller to manage new sleep/wake requests if any. Signed-off-by: Raju

[PATCH RFC 0/6] drivers: qcom: enable system low power modes for SDM845

2018-08-24 Thread Raju P.L.S.S.S.N
Hi, This is an attempt at a solution to perform activities necessary while entering deeper low power modes supported by firmware for QCOM SoCs which have hardened IP (Resource Power Manager Hardened - RPMH) for shared resource management. The shared resources that are no longer used, when process

[PATCH RFC 6/6] drivers: soc: system_pm: Add suspend notifier

2018-08-24 Thread Raju P.L.S.S.S.N
The order of suspending different devices, which is part of device suspend, during pm suspend can't be guaranteed. So once system PM device flushes the cached sleep/wake requests, other client devices may send new sleep or wake requests in their device suspend operations. The rpmh controller needs

[PATCH RFC 2/6] dt-bindings: introduce System PM bindings for Qualcomm SoCs

2018-08-24 Thread Raju P.L.S.S.S.N
Add device binding documentation for Qualcomm Technology Inc's System PM driver. The driver is used for managing system sleep activities that are required when application processor is going to deepest low power mode. Cc: devicet...@vger.kernel.org Signed-off-by: Raju P.L.S.S.S.N --- .../devicet

[PATCH RFC 1/6] drivers: qcom: system_pm: add system PM client for RPMH based SoCs

2018-08-24 Thread Raju P.L.S.S.S.N
RPMH based targets require that the sleep and wake state request votes be sent during system low power mode entry. The votes help reduce the power consumption when the AP is not using them. The votes sent by the clients are cached in RPMH controller and needs to be flushed by a sleep manager. So ad

[PATCH v2 1/5] drivers: pinctrl: qcom: add wakeup capability to GPIO

2018-08-24 Thread Lina Iyer
QCOM SoC's that have Power Domain Controller (PDC) chip in the always-on domain can wakeup the SoC, when interrupts and GPIOs are routed to the its interrupt controller. Only select GPIOs that are deemed wakeup capable are routed to specific PDC pins. During low power state, the pinmux interrupt co

[PATCH v2 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-08-24 Thread Lina Iyer
During suspend the system may power down some of the system rails. As a result, the TLMM hw block may not be operational anymore and wakeup capable GPIOs will not be detected. The PDC however will be operational and the GPIOs that are routed to the PDC as IRQs can wake the system up. To avoid bein

[PATCH v2 5/5] arm64: dts: qcom: add wake up interrupts for GPIOs for SDM845

2018-08-24 Thread Lina Iyer
GPIOs that are wakeup capable have interrupt lines that are routed to the always-on interrupt controller (PDC) in parallel to the pinctrl. The interrupts listed here are the wake up lines corresponding to GPIOs. Signed-off-by: Lina Iyer --- Changes in v2: - Define IRQ trigger type in DT C

[PATCH v2 4/5] drivers: pinctrl: qcom: sdm845: support GPIO wakeup from suspend

2018-08-24 Thread Lina Iyer
Enable TLMM IRQs to be sensed by PDC when we enter suspend. It is possible that the TLMM may be powered off and not detect GPIOs that are configured as wake up interrupts. By hooking into suspend callbacks, we allow PDC IRQs to take over and wake up the system if wakeup interrupts are triggered. S

[PATCH v2 2/5] dt-bindings: pinctrl: add wakeup capable GPIOs for SDM845

2018-08-24 Thread Lina Iyer
Update the documentation to use interrupts-extended format for specifying the TLMM summary IRQ line that is requested from GIC and the PDC interrupts corresponding to the wakeup capable GPIOs. Update the example to show PDC interrupts for the wakeup capable GPIOs for SDM845. Cc: devicet...@vger.k

[PATCH v2 0/5] Wakeup GPIO support for SDM845 SoC

2018-08-24 Thread Lina Iyer
Hi, Changes in v2: - Compile and test on 4.18 on SDM845 - Fix IRQ map in patch #3 - Address review comments (I still need to find a way to free memory allocated for PDC IRQ.) - Specify type for IRQ in DT - This series needs V3 of the PDC DT bingings

Re: [PATCH 1/7] dt-bindings: Add DT bindings documentation for Allwinner Thermal Sensor Controller

2018-08-24 Thread Emmanuel Vadot
Hi, On Fri, 24 Aug 2018 16:58:40 +0200 Maxime Ripard wrote: > Hi, > > On Mon, Aug 20, 2018 at 04:27:15PM +0200, Emmanuel Vadot wrote: > > On Mon, 20 Aug 2018 16:07:37 +0200 > > Maxime Ripard wrote: > > > > > On Mon, Aug 20, 2018 at 07:41:22AM -0600, Rob Herring wrote: > > > > On Mon, Aug 2

Re: [PATCH v5 1/2] leds: core: Introduce LED pattern trigger

2018-08-24 Thread Jacek Anaszewski
Hi Pavel, On 08/24/2018 12:11 PM, Pavel Machek wrote: > Hi! > >> I think that it would be more flexible if software pattern fallback >> was applied in case of pattern_set failure. Otherwise, it would >> lead to the situation where LED class devices that support hardware >> blinking couldn't be ap

Re: [PATCH v2 3/4] drivers: edac: Add EDAC driver support for QCOM SoCs

2018-08-24 Thread vnkgutta
On 2018-08-24 09:11, Stephen Boyd wrote: Quoting Venkata Narendra Kumar Gutta (2018-08-17 17:08:34) diff --git a/drivers/edac/Kconfig b/drivers/edac/Kconfig index 57304b2..da8f150 100644 --- a/drivers/edac/Kconfig +++ b/drivers/edac/Kconfig @@ -460,4 +460,32 @@ config EDAC_TI Support f

  1   2   3   4   >