[PATCH 47/77] perf stat: Move 'metric_only' to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the static 'metric_only' variable to 'struct perf_stat_config', so it can be passed around and used outside the 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.ker

[PATCH 54/77] perf stat: Pass 'struct perf_stat_config' to first_shadow_cpu()

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Pass a 'struct perf_stat_config' arg to first_shadow_cpu(), so that the function does not depend on the 'perf stat' command object local 'stat_config' variable and can then be moved out. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyu

[PATCH 44/77] perf stat: Pass a 'struct perf_stat_config' argument to global print functions

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add 'struct perf_stat_config' argument to the global print functions, so that these functions can be used out of the 'perf stat' command code. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkm

[PATCH 51/77] perf stat: Use 'evsel->evlist' instead of 'evsel_list' in collect_all_aliases()

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Use 'evsel->evlist' instead of 'evsel_list' in collect_all_aliases(), to get rid of the global 'evsel_list' variable dependency. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r

[PATCH 55/77] perf stat: Pass 'evlist' to aggr_update_shadow()

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Pass a 'evlist' argument to aggr_update_shadow(), to get rid of the global 'evsel_list' variable dependency. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180830063252.2372

[PATCH 42/77] perf stat: Add 'struct perf_stat_config' argument to perf_evlist__print_counters()

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add a 'struct perf_stat_config' argument to perf_evlist__print_counters(), so that it can be moved out of the 'perf stat' command to generic object in the following patches. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: P

[PATCH 70/77] perf annotate: Handle arm64 move instructions

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Kim Phillips Add default handler for non-jump instructions. This really only has an effect on instructions that compute a PC-relative address, such as 'adrp,' as seen in these couple of examples: BEFORE: adrp x0, 2aa11000 AFTER: adrp x0, kallsyms_token_index+0xce000 BEFORE:

[PATCH 68/77] perf stat: Move the display functions to stat-display.c

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move perf_evlist__print_counters() with all its dependency functions to the stat-display.c object. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180830063252.23729-44-jo...

[PATCH 71/77] perf augmented_syscalls: Check probe_read_str() return separately

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Using a value returned from probe_read_str() to tell how many bytes to copy using perf_event_output() has issues in some older kernels, like 4.17.17-100.fc27.x86_64, so separate the bounds checking done on how many bytes to copy to a separate variable, so that the n

[PATCH 72/77] perf augmented_syscalls: Avoid optimization to pass older BPF validators

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo See https://www.spinics.net/lists/netdev/msg480099.html for the whole discussio, but to make the augmented_syscalls.c BPF program to get built and loaded successfully in a greater range of kernels, add an extra check. Related patch: a60dd35d2e39 ("bpf: change bp

[PATCH 67/77] perf stat: Move 'metric_events' to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the static variable 'metric_events' to 'struct perf_stat_config', so that it can be passed around and used outside 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.

[PATCH 66/77] perf stat: Move 'walltime_*' data to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the static variables 'walltime_*' to 'struct perf_stat_config', so that it can be passed around and used outside 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.ke

[PATCH 64/77] perf stat: Move 'no_merge' data to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the static variable 'no_merge' to 'struct perf_stat_config', so that it can be passed around and used outside 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kerne

[PATCH 65/77] perf stat: Propagate 'struct target' arg to sort_aggr_thread()

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Propagate the 'struct target' arg to sort_aggr_thread() so that the function does not depend on the 'perf stat' command object local variable 'target' and can be moved out. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Pe

[PATCH 63/77] perf stat: Move 'big_num' data to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the static variable 'big_num' to 'struct perf_stat_config', so that it can be passed around and used outside 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel

[PATCH 62/77] perf stat: Do not use the global 'evsel_list' in print functions

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Get rid of the the 'evsel_list' global variable dependency, here we can use the 'evlist' pointer from the evsel. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20180830063252.

[PATCH 61/77] perf stat: Move *_aggr_* data to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the *_aggr_* global variables to 'struct perf_stat_config', so that it can be passed around and used outside 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel

[PATCH 75/77] perf trace: Use the raw_syscalls:sys_enter for the augmented syscalls

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Now we combine what comes from the "bpf-output" event, i.e. what is added in the augmented_syscalls.c BPF program via the __augmented_syscalls__ BPF map, i.e. the payload we get with raw_syscalls:sys_enter tracepoints plus the pointer contents, right after that payl

[PATCH 76/77] perf map: Turn some pr_warning() to pr_debug()

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Annoying when using it with --stdio/--stdio2, so just turn them debug, we can get those using -v. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-t3684lkugnf1w4lwcmpj9...@git.kernel.org Signed-o

[PATCH 74/77] perf trace: Setup augmented_args in the raw_syscalls:sys_enter handler

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Without using something to augment the raw_syscalls:sys_enter tracepoint payload with the pointer contents, this will work just like before, i.e. the augmented_args arg will be NULL and the augmented_args_size will be 0. This just paves the way for the next cset wh

[PATCH 77/77] perf tests: Fix record+probe_libc_inet_pton.sh without ping's debuginfo

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When we don't have the iputils-debuginfo package installed, i.e. when we don't have the DWARF information needed to resolve ping's samples, we end up failing this 'perf test' entry: # perf test ping 62: probe libc's inet_pton & backtrace it with ping : Ok

[PATCH 73/77] perf trace: Introduce syscall__augmented_args() method

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That will be used by trace__sys_enter when we start combining the augmented syscalls:sys_enter_FOO + syscalls:sys_exit_FOO. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-iiseo3s0qbf9i3rzn8k59.

[PATCH 69/77] perf trace beauty: Alias 'umount' to 'umount2'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Benjamin Peterson Before: # perf trace -e *mount* umount /dev/mapper/fedora-home /s 11.576 ( 0.004 ms) umount/3138 umount2(arg0: 94501956754656, arg1: 0, arg2: 1, arg3: 140051050083104, arg4: 4, arg5: 94501956755136) = -1 EINVAL Invalid argument # After: # perf trace -e *moun

[PATCH 59/77] perf stat: Move 'print_mixed_hw_group_error' to 'struct perf_stat_config'

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move the 'print_mixed_hw_group_error' global variable to 'struct perf_stat_config', so that it can be passed around and used outside the 'perf stat' command. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra

[PATCH 01/77] perf trace: Pass augmented args to the arg formatters when available

2018-09-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo If the tracepoint payload is bigger than what a syscall expected from what is in its format file in tracefs, then that will be used as augmented args, i.e. the expansion of syscall arg pointers, with things like a filename, structs, etc. Cc: Adrian Hunter Cc: Davi

Re: [PATCH 07/11] UAPI: nilfs2: Fix use of undefined byteswapping functions

2018-09-05 Thread Al Viro
On Wed, Sep 05, 2018 at 04:55:23PM +0100, David Howells wrote: > nilfs_checkpoint_set_##name(struct nilfs_checkpoint *cp) \ > {\ > - cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | \ > + cp->cp

Re: [RFC] UAPI: Check headers by compiling all together as C++

2018-09-05 Thread Al Viro
On Wed, Sep 05, 2018 at 10:31:11PM +0300, Alexey Dobriyan wrote: > On Wed, Sep 05, 2018 at 09:26:36PM +0200, Greg KH wrote: > > On Wed, Sep 05, 2018 at 09:59:22PM +0300, Alexey Dobriyan wrote: > > > > On Wed, Sep 05, 2018 at 04:54:27PM +0100, David Howells wrote: > > > > > > > > > > Here's a set o

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Kees Cook
On Wed, Sep 5, 2018 at 1:34 PM, Igor Stoppa wrote: > WARN_ON() already contains an unlikely(), so it's not necessary to wrap it > into another. > > Signed-off-by: Igor Stoppa > Acked-by: Kees Cook Should I take this, or is it part of your series going somewhere else? -Kees > Cc: linux-securit

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Igor Stoppa
On 06/09/18 01:23, Kees Cook wrote: Should I take this, or is it part of your series going somewhere else? It turned out it doesn't really work to have a generic series against 20 trees :-/ I'm submitting them individually to each subsystem. So this one is just for security. -- thanks,

Re: [PATCH v4 07/11] kbuild: use 'include' directive to load auto.conf from top Makefile

2018-09-05 Thread Segher Boessenkool
On Mon, Sep 03, 2018 at 12:00:21PM +0200, Borislav Petkov wrote: > On Mon, Sep 03, 2018 at 06:54:12PM +0900, Masahiro Yamada wrote: > > You are right - I missed this usecase, > > but I still want to excuse "it is rare enough". > > Isn't there a Makefile way to check file existence before including

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-05 Thread Thomas Gleixner
On Wed, 5 Sep 2018, Laurent Dufour wrote: > On 05/09/2018 17:10, Christopher Lameter wrote: > > Large page sizes also reduce contention there. > > That's true for the page fault path, but for process's actions manipulating > the > memory process's layout (mmap,munmap,madvise,mprotect) the impact

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Matthew Wilcox
On Wed, Sep 05, 2018 at 03:00:08PM -0700, Andrew Morton wrote: > On Wed, 5 Sep 2018 14:35:11 -0700 Mike Kravetz > wrote: > > > >so perhaps we could put some > > > stopgap workaround into that site and add a runtime warning into the > > > put_page() cod

[PATCH v3] mm: slowly shrink slabs with a relatively small number of objects

2018-09-05 Thread Roman Gushchin
Commit 9092c71bb724 ("mm: use sc->priority for slab shrink targets") changed the way how the target slab pressure is calculated and made it priority-based: delta = freeable >> priority; delta *= 4; do_div(delta, shrinker->seeks); The problem is that on a default priority (which is 12)

Re: [PATCH v5 0/7] Add support for MSCC Ocelot i2c

2018-09-05 Thread Paul Burton
Hi Alexandre & Wolfram, On Sat, Sep 01, 2018 at 02:43:53PM +0200, Wolfram Sang wrote: > > Because the designware IP was not able to handle the SDA hold time before > > version 1.11a, MSCC has its own implementation. Add support for it and then > > add > > i2c on ocelot boards. > > > > I would ex

Re: [PATCH] genirq: Avoid race between cpu hot plug and irq_desc() allocation paths

2018-09-05 Thread pheragu
On 2018-09-05 11:23, Thomas Gleixner wrote: On Wed, 5 Sep 2018, Prakruthi Deepak Heragu wrote: One of the cores might have just allocated irq_desc() and other core might be doing irq migration in the hot plug path. In the hot plug path during the IRQ migration, for_each_active_irq macro is tr

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Kees Cook
On Wed, Sep 5, 2018 at 3:49 PM, Igor Stoppa wrote: > > > On 06/09/18 01:23, Kees Cook wrote: > >> Should I take this, or is it part of your series going somewhere else? > > > It turned out it doesn't really work to have a generic series against 20 > trees :-/ I know that pain very well! > I'm su

Re: [PATCH] tty: serial: qcom_geni_serial: Fix serial when not used as console

2018-09-05 Thread Matthias Kaehlcke
On Wed, Sep 05, 2018 at 01:11:46PM -0700, Douglas Anderson wrote: > If you've got the "console" serial port setup to use just as a UART > (AKA there is no "console=ttyMSMX" on the kernel command line) then > certain initialization is skipped. When userspace later tries to do > something with the p

Re: [PATCH 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get()

2018-09-05 Thread Matthias Kaehlcke
On Thu, Aug 30, 2018 at 11:36:11AM -0700, Douglas Anderson wrote: > The function clk_round_rate() is defined to return a "long", not an > "unsigned long". That's because it might return a negative error > code. Change the call in geni_se_clk_tbl_get() to check for errors. > > NOTE: overall the i

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Mike Kravetz
On 09/05/2018 04:07 PM, Matthew Wilcox wrote: > On Wed, Sep 05, 2018 at 03:00:08PM -0700, Andrew Morton wrote: >> On Wed, 5 Sep 2018 14:35:11 -0700 Mike Kravetz >> wrote: >> so perhaps we could put some stopgap workaround into that site and add

[PATCH v2 4/9] nios2: fix building all dtbs

2018-09-05 Thread Rob Herring
nios2 has a 'dtbs' target, but nothing is added to 'dtb-*' targets and no dtbs were getting built. This enables building all the dts files in arch/nios2/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Ley Foon Tan Cc: nios2-...@lists.rocketboards.org Signed-off-by: Rob Herring --- P

[PATCH v2 5/9] c6x: use common built-in dtb support

2018-09-05 Thread Rob Herring
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. The dtb now needs to be copied when unflattened because an init section is used now. Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Signed-off-by: Rob Herring --- Please

[PATCH v2 9/9] microblaze: enable building all dtbs

2018-09-05 Thread Rob Herring
Enable the 'dtbs' target for microblaze. As microblaze only has one dts file, always enable it. Cc: Michal Simek Signed-off-by: Rob Herring --- Please ack so I can take the whole series via the DT tree. v2: - new patch arch/microblaze/boot/dts/Makefile | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 7/9] powerpc: enable building all dtbs

2018-09-05 Thread Rob Herring
Enable the 'dtbs' target for powerpc. This allows building all the dts files in arch/powerpc/boot/dts/ when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Rob Herring --- Please ack s

[PATCH v2 2/9] nios2: build .dtb files in dts directory

2018-09-05 Thread Rob Herring
Align nios2 with other architectures which build the dtb files in the same directory as the dts files. This is also in line with most other build targets which are located in the same directory as the source. This move will help enable the 'dtbs' target which builds all the dtbs regardless of kerne

[PATCH v2 8/9] c6x: enable building all dtbs

2018-09-05 Thread Rob Herring
Enable the 'dtbs' target for c6x. This allows building all the dts files in arch/c6x/boot/dts/ for enabled platforms or when COMPILE_TEST and OF_ALL_DTBS are enabled. Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-...@linux-c6x.org Signed-off-by: Rob Herring --- Please ack so I can take th

[PATCH v2 3/9] nios2: use common rules to build built-in dtb

2018-09-05 Thread Rob Herring
Using the common build support for built-in dtb files just requires adding a .dtb.o target to obj-y. This has the side effect that CONFIG_NIOS2_DTB_SOURCE should now be just the dts filename in arch/nios2/boot/dts/ directory. Before any path was supported, but if you want to build in your dtb to t

Re: [PATCH RFC tools/memory-model] Add litmus-test naming scheme

2018-09-05 Thread Paul E. McKenney
On Tue, May 29, 2018 at 09:17:13PM +0100, Will Deacon wrote: > On Tue, May 29, 2018 at 05:11:07AM -0700, Paul E. McKenney wrote: > > On Tue, May 29, 2018 at 10:30:50AM +0100, Will Deacon wrote: > > > Hi Paul, > > > > > > On Fri, May 25, 2018 at 12:10:20PM -0700, Paul E. McKenney wrote: > > > > Thi

linux-next: build warning after merge of the vfs tree

2018-09-05 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: security/selinux/hooks.c:2835:12: warning: 'selinux_sb_remount' defined but not used [-Wunused-function] static int selinux_sb_remount(struct super_block *sb, void *data, size_t data_

Re: [PATCH 00/22] KEYS: Support TPM-wrapped key and crypto ops

2018-09-05 Thread James Morris
On Wed, 5 Sep 2018, David Howells wrote: > > Hi James, > > Here's a set of patches that does the following, if you could pull it please: Thanks, it would be good to see more review / acks, though. -- James Morris

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread James Morris
On Wed, 5 Sep 2018, Kees Cook wrote: > On Wed, Sep 5, 2018 at 3:49 PM, Igor Stoppa wrote: > > > > > > On 06/09/18 01:23, Kees Cook wrote: > > > >> Should I take this, or is it part of your series going somewhere else? > > > > > > It turned out it doesn't really work to have a generic series again

Re: [PATCH] seccomp: remove unnecessary unlikely()

2018-09-05 Thread Kees Cook
On Wed, Sep 5, 2018 at 5:08 PM, James Morris wrote: > On Wed, 5 Sep 2018, Kees Cook wrote: > >> On Wed, Sep 5, 2018 at 3:49 PM, Igor Stoppa wrote: >> > >> > >> > On 06/09/18 01:23, Kees Cook wrote: >> > >> >> Should I take this, or is it part of your series going somewhere else? >> > >> > >> > It

Re: [PATCH 2/2] soc: qcom: geni: geni_se_clk_freq_match() should always accept multiples

2018-09-05 Thread Matthias Kaehlcke
On Thu, Aug 30, 2018 at 11:36:12AM -0700, Douglas Anderson wrote: > The geni_se_clk_freq_match() has some strange semantics. Specifically > it is defined with two modes: > 1. It can find a clock that's an exact multiple of the requested rate > 2. If can find a non-exact match but it can't handle m

Hej min kära

2018-09-05 Thread Fru Ursula Alice Walton
Min kära stödmottagare, Jag är säker på att detta mail kommer att komma till dig som en överraskning eftersom vi aldrig har träffat förut och du skulle också fråga varför jag har bestämt mig för att välja dig bland de många internetanvändarna i världen. Exakt kan jag inte säga varför jag har v

Please Respond to me................

2018-09-05 Thread Mr Moris Ortega
-- Greetings to you and your families, I never want to disturb you at all but will like you give me your attention. I need a matured and capable hand in a business deal of $10.5 million US dollars.(Ten Million Five Hundred Thousand USA Dollars) I belief you are suitable to handle such project per

Re: [LKP] 3f906ba236 [ 71.192813] WARNING: possible circular locking dependency detected

2018-09-05 Thread Rong Chen
On 09/05/2018 09:02 PM, Thomas Gleixner wrote: On Wed, 5 Sep 2018, kernel test robot wrote: Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 3f906ba23689a3f824424c50f3ae937

Re: [PATCH V3 18/26] dt-bindings: csky CPU Bindings

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:08 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > Documentation/devicetree/bindings/csky/cpus.txt | 70 > + > 1 file changed, 70 insertions(+) > create mode 100644 Documentation/devicetree/bindings/csky/cpus.txt Please make sure DT bindin

Re: [PATCH V3 21/26] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:10 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../interrupt-controller/csky,apb-intc.txt | 45 > ++ > 1 file changed, 45 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/interrupt-controller/csky,apb-intc.txt

Re: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../bindings/interrupt-controller/csky,mpintc.txt | 40 > ++ > 1 file changed, 40 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/interrupt-controller/csky,mpintc.txt >

Re: [PATCH v4 07/11] kbuild: use 'include' directive to load auto.conf from top Makefile

2018-09-05 Thread Masahiro Yamada
2018-09-06 7:53 GMT+09:00 Segher Boessenkool : > On Mon, Sep 03, 2018 at 12:00:21PM +0200, Borislav Petkov wrote: >> On Mon, Sep 03, 2018 at 06:54:12PM +0900, Masahiro Yamada wrote: >> > You are right - I missed this usecase, >> > but I still want to excuse "it is rare enough". >> >> Isn't there a

Re: [PATCH V3 19/26] dt-bindings: timer: gx6605s SOC timer

2018-09-05 Thread Rob Herring
On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > Signed-off-by: Guo Ren > --- > .../bindings/timer/csky,gx6605s-timer.txt | 46 > ++ > 1 file changed, 46 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt > > diff

Re: [PATCH] mm,page_alloc: PF_WQ_WORKER threads must sleep at should_reclaim_retry().

2018-09-05 Thread Tetsuo Handa
Michal Hocko wrote: > On Wed 05-09-18 22:53:33, Tetsuo Handa wrote: > > On 2018/09/05 22:40, Michal Hocko wrote: > > > Changelog said > > > > > > "Although this is possible in principle let's wait for it to actually > > > happen in real life before we make the locking more complex again." > > >

Re: [PATCH RFC LKMM 1/7] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-09-05 Thread Alan Stern
On Mon, 3 Sep 2018, Andrea Parri wrote: > I take this opportunity to summarize my viewpoint on these matters: > > Someone would have to write the commit message for the above diff ... > that is, to describe -why- we should go RCtso (and update the documen- > tation accordingly); by now, the only

[PATCH] printk/tracing: Do not trace printk_nmi_enter()

2018-09-05 Thread Steven Rostedt
[ I'm currently testing this patch, and will push this to mainline, I'm just looking for acks and review bys. Also, Peter, this is the bug that my patch that differentiates if lockdep is broken or if the code is broken when lockdep_assert_irqs_{dis,en}abled() triggers, and would have bee

Re: [PATCH 1/2] dt-bindings: pci: add UniPhier PCIe host controller description

2018-09-05 Thread Kunihiko Hayashi
Hi Bjorn, Thank you for reviewing. On Wed, 5 Sep 2018 12:21:18 -0500 wrote: > > Please follow the capitalization convention, i.e., > > $ git log --oneline --no-merges Documentaon/devicetree/bindings/pci/ | grep > -i pci > 82dfbd27c837 dt-bindings: PCI: cadence: Add DT bindings for option

Re: [PATCH 2/2] pci: dwc: add UniPhier PCIe host controller support

2018-09-05 Thread Kunihiko Hayashi
Hi Bjorn, On Wed, 5 Sep 2018 12:25:29 -0500 wrote: > Follow capitalization conventions for subject. > > On Wed, Sep 05, 2018 at 11:32:11AM +0900, Kunihiko Hayashi wrote: > > This introduces specific glue layer for UniPhier platform to support > > PCIe host controller that is based on the Design

Re: [PATCH v9 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
Hi Jacek, On 6 September 2018 at 03:14, Jacek Anaszewski wrote: > Hi Baolin, > > Thanks for the v9. > > On 09/05/2018 09:20 AM, Baolin Wang wrote: >> This patch implements the 'pattern_set'and 'pattern_clear' >> interfaces to support SC27XX LED breathing mode. >> >> Signed-off-by: Baolin Wang >>

Re: [PATCH 17/21] clk: mvebu: use for_each_of_cpu_node iterator

2018-09-05 Thread Stephen Boyd
Quoting Rob Herring (2018-09-05 12:37:34) > Use the for_each_of_cpu_node iterator to iterate over cpu nodes. This > has the side effect of defaulting to iterating using "cpu" node names in > preference to the deprecated (for FDT) device_type == "cpu". > > Cc: Michael Turquette > Cc: Stephen Boyd

Re: [PATCH V3 18/26] dt-bindings: csky CPU Bindings

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:37:50PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:08 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > Documentation/devicetree/bindings/csky/cpus.txt | 70 > > + > > 1 file changed, 70 insertions(+) > > create mode 10064

Re: [PATCH v3 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-09-05 Thread Stephen Boyd
Quoting Taniya Das (2018-09-05 11:26:10) > On 8/28/2018 2:41 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-08-03 05:21:14) > >> diff --git a/drivers/clk/qcom/lpasscc-sdm845.c > >> b/drivers/clk/qcom/lpasscc-sdm845.c > >> new file mode 100644 > >> index 000..6f387f9 > >> --- /dev/null >

Re: [PATCH v3 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-09-05 Thread Stephen Boyd
Quoting Taniya Das (2018-09-05 11:26:36) > > On 8/28/2018 2:44 AM, Stephen Boyd wrote: > > Quoting Taniya Das (2018-08-03 05:21:13) > > >> > >> Example: > >> clock-controller@90 { > >> diff --git a/Documentation/devicetree/bindings/clock/qcom,lpasscc.txt > >> b/Documentation/devic

Re: Plumbers 2018 - Performance and Scalability Microconference

2018-09-05 Thread Huang, Ying
Hi, Christopher, Christopher Lameter writes: > On Tue, 4 Sep 2018, Daniel Jordan wrote: > >> - Promoting huge page usage: With memory sizes becoming ever larger, huge >> pages are becoming more and more important to reduce TLB misses and the >> overhead of memory management itself--that is, to

Re: [PATCH V3 19/26] dt-bindings: timer: gx6605s SOC timer

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:47:29PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > .../bindings/timer/csky,gx6605s-timer.txt | 46 > > ++ > > 1 file changed, 46 insertions(+) > > create mode 10064

Re: [PATCH V3 21/26] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:43:10PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:10 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > .../interrupt-controller/csky,apb-intc.txt | 45 > > ++ > > 1 file changed, 45 insertions(+) > > create mode 10064

Re: [PATCH V2] mips: txx9: fix resource leak after register fail

2018-09-05 Thread Ding Xiang
On 9/5/2018 11:37 PM, Atsushi Nemoto wrote: On Wed, 5 Sep 2018 19:22:19 +0800, Ding Xiang wrote: the memory allocated and ioremap address need free after device_register return error. ... exit_put: put_device(&dev->dev); - return; +exit_free: + iounmap(dev->base); +

Re: [PATCH V3 22/26] dt-bindings: interrupt-controller: C-SKY SMP intc

2018-09-05 Thread Guo Ren
On Wed, Sep 05, 2018 at 07:45:12PM -0500, Rob Herring wrote: > On Wed, Sep 5, 2018 at 7:09 AM Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > --- > > .../bindings/interrupt-controller/csky,mpintc.txt | 40 > > ++ > > 1 file changed, 40 insertions(+) > > create mode 10064

Re: [PATCH v9 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
On 6 September 2018 at 09:43, Baolin Wang wrote: > Hi Jacek, > > On 6 September 2018 at 03:14, Jacek Anaszewski > wrote: >> Hi Baolin, >> >> Thanks for the v9. >> >> On 09/05/2018 09:20 AM, Baolin Wang wrote: >>> This patch implements the 'pattern_set'and 'pattern_clear' >>> interfaces to support

linux-next: build failure after merge of the vfs tree

2018-09-05 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc allyesconfig) failed like this: samples/mount_api/test-fsmount.c: In function 'fsopen': samples/mount_api/test-fsmount.c:63:17: error: '__NR_fsopen' undeclared (first use in this function); did you mean 'fsopen'? return sysca

Re: [PATCH] printk/tracing: Do not trace printk_nmi_enter()

2018-09-05 Thread Sergey Senozhatsky
Hello, On (09/05/18 21:33), Steven Rostedt wrote: > do_idle { > > [interrupts enabled] > > [interrupts disabled] > TRACE_IRQS_OFF [lockdep says irqs off] > [...] > TRACE_IRQS_IRET > test if pt_regs say return to interrupts enabled [yes] > TRACE_IR

Re: [PATCH] hid: hid-core: Fix a sleep-in-atomic-context bug in __hid_request()

2018-09-05 Thread Jia-Ju Bai
On 2018/9/5 16:29, Jiri Kosina wrote: On Sat, 1 Sep 2018, Jia-Ju Bai wrote: The driver may sleep with holding a spinlock. The function call paths (from bottom to top) in Linux-4.16 are: [FUNC] hid_alloc_report_buf(GFP_KERNEL) drivers/hid/hid-core.c, 1435: hid_alloc_report_buf in __

[PATCH 0/3] x86/boot/KASLR: enhance randomness of kernel load addr when using GiB hugepage

2018-09-05 Thread Pingfan Liu
commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge pages when doing physical randomization (KASLR)") and commit 9b912485e0e7 ("x86/boot/KASLR: Add two new functions for 1GB huge pages handling") prevent the physical load addr of kernel from spoiling a good candidate of GiB page

[PATCH 2/3] x86/boot/KASLR: change the prototype of process_mem_region() to meet the align requirement

2018-09-05 Thread Pingfan Liu
Changing the prototype of process_mem_region(), in order to reuse this func to find a region with special alignment requirement (used in patch 3/3 to find a region align on 1GiB boundary. And a trivial change on the data type of mem_vector.size to ease the comparison of underflow. Signed-off-by: P

[PATCH 3/3] x86/boot/KASLR: enhance randomness when using GiB hugepage

2018-09-05 Thread Pingfan Liu
commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge pages when doing physical randomization (KASLR)") and commit 9b912485e0e7 ("x86/boot/KASLR: Add two new functions for 1GB huge pages handling") prevent the physical load addr of kernel from spoiling a good candidate of GiB page

[PATCH 1/3] x86/boot/KASLR: change the prototypes of process_efi_entries/process_e820_entries

2018-09-05 Thread Pingfan Liu
Changing the prototypes of process_efi_entries/process_e820_entries in order to reuse the mem entries' iteration (used in patch 3/3). Signed-off-by: Pingfan Liu Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: "Kirill A. Shutemov" Cc: Baoquan He Cc: Chao Fan (authored:1/16=6%) C

[PATCH v10 2/2] leds: sc27xx: Add pattern_set/clear interfaces for LED controller

2018-09-05 Thread Baolin Wang
This patch implements the 'pattern_set'and 'pattern_clear' interfaces to support SC27XX LED breathing mode. Signed-off-by: Baolin Wang --- Changes from v9: - Optimize the ABI documentation file. - Update the brightness value in hardware pattern mode. Changes from v8: - Optimize the ABI docume

[PATCH v2] HID: i2c-hid: Don't reset device upon system resume

2018-09-05 Thread Kai-Heng Feng
Raydium touchscreen triggers interrupt storm after system-wide suspend: [ 179.085033] i2c_hid i2c-CUST:00: i2c_hid_get_input: incomplete report (58/65535) According to Raydium, Windows driver does not reset the device after system resume. The HID over I2C spec does specify a reset should be u

Re: [PATCH] cpu/hotplug: Fix rollback during error-out in takedown_cpu()

2018-09-05 Thread Neeraj Upadhyay
On 09/05/2018 06:47 PM, Thomas Gleixner wrote: On Wed, 5 Sep 2018, Neeraj Upadhyay wrote: On 09/05/2018 05:53 PM, Thomas Gleixner wrote: And looking closer this is a general issue. Just that the TEARDOWN state makes it simple to observe. It's universaly broken, when the first teardown callba

Re: POSIX violation by writeback error

2018-09-05 Thread Dave Chinner
On Wed, Sep 05, 2018 at 02:07:46PM +0200, Rogier Wolff wrote: > On Wed, Sep 05, 2018 at 06:55:15AM -0400, Jeff Layton wrote: > > There is no requirement for a filesystem to flush data on close(). > > And you can't start doing things like that. Of course we can. And we do. We've been doing target

RE: [PATCH V6 0/4] clk: new APIs to handle all available clocks

2018-09-05 Thread A.s. Dong
Gently ping... > -Original Message- > From: A.s. Dong > Sent: Friday, August 31, 2018 12:46 PM > To: linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > sb...@kernel.org; mturque...@baylibre.com; shawn...@kernel.org; > thor.tha...@linux.int

RE: [PATCH V4 0/9] clk: add imx7ulp clk support

2018-09-05 Thread A.s. Dong
Hi Stephen, Would you shine some lights on how to proceed? Regards Dong Aisheng > -Original Message- > From: A.s. Dong > Sent: Monday, August 27, 2018 11:46 AM > To: linux-...@vger.kernel.org; sb...@kernel.org; shawn...@kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@list

[PATCH V2] input: egalax_ts: add system wakeup support

2018-09-05 Thread Anson Huang
This patch adds wakeup function support for egalax touch screen, if "wakeup-source" is added to device tree's egalax touch screen node, the wakeup function will be enabled, and egalax touch screen will be able to wakeup system from suspend. Signed-off-by: Anson Huang --- changes since V1:

RE: [PATCH 1/2] input: egalax_ts: add system wakeup support

2018-09-05 Thread Anson Huang
Hi, Dmitry Anson Huang Best Regards! > -Original Message- > From: Dmitry Torokhov > Sent: Thursday, September 6, 2018 1:27 AM > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; Marco Antonio Franchi > ; Fabio Estevam ; > linux-in...@vger.kernel.org; devicet...@vger.kerne

Re: [PATCH v5 10/16] x86/mce: enable Hygon support to MCE infrastructure

2018-09-05 Thread Pu Wen
On 2018/9/5 21:15, Borislav Petkov wrote: On Wed, Sep 05, 2018 at 08:59:24PM +0800, Pu Wen wrote: If CONFIG_X86_MCE_AMD=n, mce_hygon_feature_init will call the other one mce_amd_feature_init which is a null function and located in the else branch of "#ifdef CONFIG_X86_MCE_AMD". The compilation i

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/06/2018 01:28 AM, Andrew Morton wrote: On Wed, 5 Sep 2018 06:48:48 -0700 Matthew Wilcox wrote: I didn't. The reason I looked at current patch is to enable the usage of put_page() from irq context. We do allow that for non hugetlb pages. So was not sure adding that additional restriction

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/06/2018 03:05 AM, Mike Kravetz wrote: On 09/05/2018 12:58 PM, Andrew Morton wrote: On Wed, 5 Sep 2018 06:48:48 -0700 Matthew Wilcox wrote: I didn't. The reason I looked at current patch is to enable the usage of put_page() from irq context. We do allow that for non hugetlb pages. So was

linux-next: Tree for Sep 6

2018-09-05 Thread Stephen Rothwell
Hi all, Changes since 20180905: Dropped trees: xarray, ida (temporarily) New tree: icc The vfs tree gained build failures for which I disabled some sample programs. The net-next tree still had its build failure for which I reverted a commit. The devicetree tree lost its build failure. Non

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/05/2018 07:18 PM, Matthew Wilcox wrote: On Wed, Sep 05, 2018 at 06:56:19PM +0530, Aneesh Kumar K.V wrote: On 09/05/2018 06:34 PM, Matthew Wilcox wrote: On Wed, Sep 05, 2018 at 04:53:41PM +0530, Aneesh Kumar K.V wrote: inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. How do you g

Re: [RFC PATCH] mm/hugetlb: make hugetlb_lock irq safe

2018-09-05 Thread Aneesh Kumar K.V
On 09/06/2018 05:21 AM, Mike Kravetz wrote: BTW, free_huge_page called by put_page for hugetlbfs pages may also take a subpool specific lock via spin_lock(). See hugepage_subpool_put_pages. So, this would also need to take irq context into account. I missed that. I can take care of that in

Re: [PATCH 0/3] x86/boot/KASLR: enhance randomness of kernel load addr when using GiB hugepage

2018-09-05 Thread Chao Fan
On Thu, Sep 06, 2018 at 10:36:19AM +0800, Pingfan Liu wrote: Hi Pingfan, >commit 747ff6265db4 ("x86/boot/KASLR: Skip specified number of 1GB huge >pages when doing physical randomization (KASLR)") and commit >9b912485e0e7 ("x86/boot/KASLR: Add two new functions for 1GB huge pages >handling") prev

[PATCH] mips: txx9: fix iounmap related issue

2018-09-05 Thread Ding Xiang
if device_register return error, iounmap should be called, also iounmap need to call before put_device. Signed-off-by: Ding Xiang --- arch/mips/txx9/generic/setup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/se

[PATCH v3] ata: Disable AHCI ALPM feature for Ampere Computing eMAG SATA

2018-09-05 Thread Suman Tripathi
Due to hardware errata, Ampere Computing eMAG SATA can't support AHCI ALPM feature. This patch disables the AHCI ALPM feature for eMAG SATA. Changes for v2: * Introduce the new ata_port_info object which includes ATA_FLAG_NO_LPM. * Include this object for eMAG SATA inside the acpi match table. *

<    2   3   4   5   6   7   8   >