[PATCH 02/43] perf stat: Move initial_delay into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static initial_delay into struct perf_stat_config, so it can be passed around and used outside stat command. Adding struct perf_stat_config argument into create_perf_stat_counter function and using its initial_delay instead of static one. Link: http://lkml.kernel.org/n/tip-p2k4aymp7lxzqr7j

[PATCH 07/43] perf tools: Add perf_evsel__store_ids function

2018-08-29 Thread Jiri Olsa
Adding perf_evsel__store_ids function from stat's store_counter_ids code into evsel object, so it could be used globaly. Link: http://lkml.kernel.org/n/tip-epqr71x8ufexd3or67kjq...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 33 + tools

[PATCH 00/43] perf stat: Make some of the stat code generic

2018-08-29 Thread Jiri Olsa
hi, while going for the ability to store/display stat data in perf record/top I ended up with bunch of generic patches that make some of the stat functions standalone and simplify/reduce the builtin-stat.c code. This patchset mostly separates the display functions into separate object, plus severa

[PATCH 14/43] perf stat: Move perf_stat_synthesize_config into stat.c

2018-08-29 Thread Jiri Olsa
So it can be used globaly. Link: http://lkml.kernel.org/n/tip-6iu57r6ts9f0m92hw7f8i...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 42 --- tools/perf/util/stat.c| 42 +++ tools/perf/util/stat.

[PATCH 15/43] perf stat: Add perf_evlist__print_counters function

2018-08-29 Thread Jiri Olsa
To be in charge of printing out the stat output. It will be moved out of stat command in following patches. Link: http://lkml.kernel.org/n/tip-girva61h4z5vjn9fclc4d...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 16 1 file changed, 12 insertions(+), 4

[PATCH 05/43] perf stat: Add identifier flag into struct stat_opts

2018-08-29 Thread Jiri Olsa
Adding identifier flag into struct stat_opts to carry the info whether to use PERF_SAMPLE_IDENTIFIER for events. It makes the create_perf_stat_counter function independent. Link: http://lkml.kernel.org/n/tip-s1n7gth2e05oxai3gf2z5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-

[PATCH 11/43] perf stat: Add struct perf_tool argument to perf_stat_synthesize_config

2018-08-29 Thread Jiri Olsa
So we can use the function outside stat command with standard synthesize functions, that take struct perf_tool* argument. Link: http://lkml.kernel.org/n/tip-fwzsgvy78dkaij1dt6icb...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 13 +++-- 1 file changed, 7 insert

[PATCH 03/43] perf stat: Move no_inherit into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static no_inherit into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-md7htmdsje3od38k86do4...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 5 ++--- tools/perf/util/stat.h| 1 + 2 files c

[PATCH 16/43] perf stat: Move STAT_RECORD out of perf_evlist__print_counters

2018-08-29 Thread Jiri Olsa
It's stat related and should stay in stat command. The perf_evlist__print_counters function will be moved out in following patches. Link: http://lkml.kernel.org/n/tip-be5esxsl725gf6w717owb...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 8 1 file changed, 4 in

[PATCH 08/43] perf stat: Move create_perf_stat_counter into stat.c

2018-08-29 Thread Jiri Olsa
Moving create_perf_stat_counter to stat object, so we could use it globally. Link: http://lkml.kernel.org/n/tip-47odtb7otnqlo07h0crk6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 54 +-- tools/perf/util/stat.c| 53

[PATCH 09/43] perf stat: Rename is_pipe argument to attrs perf_stat_synthesize_config

2018-08-29 Thread Jiri Olsa
The attrs name makes more sense. Link: http://lkml.kernel.org/n/tip-3zodh2azuy9hf1gba71m2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index

[PATCH 24/43] perf stat: Add target argument to perf_evlist__print_counters

2018-08-29 Thread Jiri Olsa
Adding 'struct target' argument to perf_evlist__print_counters, so the function does not depend on stat command object local target and can be moved out. Link: http://lkml.kernel.org/n/tip-fxhirh8l1b9i0ozb6j69u...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 20 +++

[PATCH 30/43] perf stat: Pass evlist to aggr_update_shadow

2018-08-29 Thread Jiri Olsa
Passing evlist to aggr_update_shadow, to rid of the evsel_list dependency. Link: http://lkml.kernel.org/n/tip-4xhx9wz6e4gua5q40dpj2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/perf/built

[PATCH 20/43] perf stat: Move csv_* into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static csv_* fields into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-md7htmdsje3od38k86do4...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 114 +++--- tools

[PATCH 22/43] perf stat: Move metric_only into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static metric_only into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-tevvpgyi3o7ok34nx0oi0...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 29 - tools/perf/util/

[PATCH 21/43] perf stat: Move interval_clear into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static interval_clear into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-jvas3d3b4t0jn3bdrnm0e...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 9 - tools/perf/util/stat.h| 1 + 2

[PATCH 28/43] perf stat: Move metric_only_len into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static metric_only_len into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-brq3qbbb9262ks5f6w8zj...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 10 +- tools/perf/util/stat.h| 1

[PATCH 29/43] perf stat: Pass stat_config to first_shadow_cpu

2018-08-29 Thread Jiri Olsa
Passing stat_config to first_shadow_cpu, so the function does not depend on stat command object local stat_config and can be moved out. Link: http://lkml.kernel.org/n/tip-x9gryrm7evfb3uybq2pxc...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 15 --- 1 file c

Re: [PATCH v4 0/6] Add power domain driver for corners on msm8996/sdm845

2018-08-29 Thread Rajendra Nayak
On 6/27/2018 10:22 AM, Rajendra Nayak wrote: Changes in v4: * Included the patch to add qcom-opp bindings (dropped accidentally in v3) * merged the patches to add bindings for rpm and rpmh, added consumer binding example * Made the drivers built in, removed .remove * Added better description

[PATCH 35/43] perf stat: Move ru_* data into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving ru_* data into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-laaz6pbi1x4hicadbvf9e...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 12 +--- tools/perf/util/stat.h| 6 ++ 2 f

[PATCH 33/43] perf stat: Move print_free_counters_hint into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving print_free_counters_hint into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-ksfkhgwoquxqrlryz8se3...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 5 ++--- tools/perf/util/stat.h| 1 + 2

[PATCH 38/43] perf stat: Move big_num data into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static big_num into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-3z70bag45oyahf06loz98...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 8 tools/perf/util/stat.h| 1 + 2 files c

[PATCH 36/43] perf stat: Move *_aggr_* data into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving *_aggr_* data into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-3z70bag45oyahf06loz98...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 112 -- tools/perf/

Re: Intel Wireless 8265/8275 (rev 78) issue

2018-08-29 Thread Dave Young
On 08/30/18 at 08:55am, Luca Coelho wrote: > On Thu, 2018-08-30 at 13:06 +0800, Dave Young wrote: > > On 08/30/18 at 07:15am, Luca Coelho wrote: > > > On Wed, 2018-08-29 at 14:54 +0800, Dave Young wrote: > > > > [ 74.123114] wlp61s0: authenticate with 00:1f:c6:82:0a:57 > > > > [ 74.126099] wlp6

[PATCH 41/43] perf stat: Move walltime_* data into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static walltime_* data into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-ymexory86fsla7n1yvy8t...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 22 ++ tools/perf/util/sta

[PATCH 42/43] perf stat: Move metric_events into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static metric_events into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-3yq5yfji3xlcp2khtioeg...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 10 -- tools/perf/util/stat.h| 1 +

[PATCH 39/43] perf stat: Move no_merge data into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static no_merge into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-d8iqln0d16fvrbqyf9pol...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 5 ++--- tools/perf/util/stat.h| 1 + 2 files cha

[PATCH 43/43] perf stat: Move display functions into stat-display.c

2018-08-29 Thread Jiri Olsa
Moving perf_evlist__print_counters function with all its dependency functions to stat-display.c object. Link: http://lkml.kernel.org/n/tip-illv2t5x1amh8z506nxp7...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 1150 --- tools/perf/util/B

[PATCH 40/43] perf stat: Propagate struct target arg to sort_aggr_thread

2018-08-29 Thread Jiri Olsa
Propagate struct target arg to sort_aggr_thread so the function does not depend on stat command object local target and can be moved out. Link: http://lkml.kernel.org/n/tip-1q2zv8p9pwa3vddh2js3s...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 10 ++ 1 file chan

[PATCH 32/43] perf stat: Move null_run into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Move static null_run into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-cclahp2w949g9eg2ryl8i...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 7 +++ tools/perf/util/stat.h| 1 + 2 files cha

[PATCH 34/43] perf stat: Move print_mixed_hw_group_error into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving print_mixed_hw_group_error into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-oz7f6n54ui1eilo9b67n0...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 5 ++--- tools/perf/util/stat.h| 1 +

[PATCH 27/43] perf stat: Move run_count into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static run_count into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-wmmgzikkzqx4k5mqz7xld...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 39 --- tools/pe

[PATCH 25/43] perf stat: Pass evlist argument to print functions

2018-08-29 Thread Jiri Olsa
Adding evlist argument to print functions to get rid of the evsel_list dependency. Link: http://lkml.kernel.org/n/tip-wema3fc7ibju89vom0p4p...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff

[PATCH 37/43] perf stat: Do not use glovab evsel_list in print functions

2018-08-29 Thread Jiri Olsa
Getting rid of the evsel_list dependency, here we can use the evlist pointer from the event. Link: http://lkml.kernel.org/n/tip-wpuv5hoprhgljvo3k0ngp...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/

[PATCH 23/43] perf stat: Move unit_width into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Moving static unit_width into struct perf_stat_config, so it can be passed around and used outside stat command. Link: http://lkml.kernel.org/n/tip-wmmgzikkzqx4k5mqz7xld...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 11 ++- tools/perf/util/stat.h| 1 + 2

[PATCH 31/43] perf stat: Add walltime_nsecs_stats pointer into struct perf_stat_config

2018-08-29 Thread Jiri Olsa
Adding walltime_nsecs_stats pointer into struct perf_stat_config, so it can be passed around and used outside stat command. It's initialized to point to stat's walltime_nsecs_stats value. Link: http://lkml.kernel.org/n/tip-oxi6iqsmux5m4hmk8k1rw...@git.kernel.org Signed-off-by: Jiri Olsa --- too

[PATCH 19/43] perf stat: Pass stat_config argument to global print functions

2018-08-29 Thread Jiri Olsa
Adding stat_config argument global print functions, so those functions could be used out of the stat command code. Link: http://lkml.kernel.org/n/tip-p1yrm9p91j87rx77eqzf5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-script.c | 8 +- tools/perf/builtin-stat.c | 74 +

[PATCH 06/43] perf tools: Switch session argument to evlist in perf_event__synthesize_attrs

2018-08-29 Thread Jiri Olsa
To be able to pass in other than session's evlist. Link: http://lkml.kernel.org/n/tip-crsckf9is77d25pwoc3ek...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-record.c | 2 +- tools/perf/builtin-stat.c | 2 +- tools/perf/util/header.c| 6 +++--- tools/perf/util/header.h|

[PATCH 26/43] perf stat: Use evsel->evlist instead of evsel_list in collect_all_aliases

2018-08-29 Thread Jiri Olsa
Using evsel->evlist instead of evsel_list in collect_all_aliases, to rid of the evsel_list dependency. Link: http://lkml.kernel.org/n/tip-lx03c5czf6iixgd0gyaws...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) dif

[PATCH 10/43] perf stat: Add struct perf_stat_config argument to perf_stat_synthesize_config

2018-08-29 Thread Jiri Olsa
Adding struct perf_stat_config argument to perf_stat_synthesize_config, so we could synthesize arbitrary config. Link: http://lkml.kernel.org/n/tip-v84l6fy0d0nrict7jpkns...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 7 --- 1 file changed, 4 insertions(+), 3 delet

[PATCH 12/43] perf stat: Add struct perf_evlist argument to perf_stat_synthesize_config

2018-08-29 Thread Jiri Olsa
Getting rid of the evsel_list dependency, here in function perf_stat_synthesize_config we are adding the evlist arg. Link: http://lkml.kernel.org/n/tip-eehdn85xqcqf7jrafoqu2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 13 +++-- 1 file changed, 7 insertions(

[PATCH 17/43] perf stat: Add stat_config argument to perf_evlist__print_counters

2018-08-29 Thread Jiri Olsa
Adding stat_config argument perf_evlist__print_counters, so the function could be moved out of stat command to generic object in following patches. Link: http://lkml.kernel.org/n/tip-spaw3m5jf1o6ycv39j57v...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 16 +

[PATCH 04/43] perf stat: Use local config arg for scale in create_perf_stat_counter

2018-08-29 Thread Jiri Olsa
Using local scale from local 'struct perf_stat_config' argument instead of the global stat_config, to make the function independent. Link: http://lkml.kernel.org/n/tip-gv2k5lpl0k0gc4kcfamoh...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 2 +- 1 file changed, 1 inserti

[PATCH 13/43] perf stat: Add perf_event__handler_t argument to perf_stat_synthesize_config

2018-08-29 Thread Jiri Olsa
So it's completely independent and can be used outside stat command. Link: http://lkml.kernel.org/n/tip-eehdn85xqcqf7jrafoqu2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/tools/perf

[PATCH 18/43] perf stat: Pass stat_config argument to local print functions

2018-08-29 Thread Jiri Olsa
Adding stat_config argument local print functions, so those functions could be moved out of stat command to generic object in following patches. Link: http://lkml.kernel.org/n/tip-p1yrm9p91j87rx77eqzf5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 149 +++

[PATCH 01/43] perf stat: Use evsel->threads in create_perf_stat_counter

2018-08-29 Thread Jiri Olsa
Getting rid of the evsel_list dependency, here we can use the evsel->threads copy of the struct thread_map. Link: http://lkml.kernel.org/n/tip-rkkk6a7dkmczvm8vj59aa...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings

2018-08-29 Thread Rajendra Nayak
On 7/4/2018 11:27 AM, Viresh Kumar wrote: On 03-07-18, 16:35, Rob Herring wrote: +qcom,level values specified in the OPP tables for RPMh power domains +should use the RPMH_REGULATOR_LEVEL_* constants from + + + rpmhpd: power-controller { + compatible = "qcom,sdm845-rpmhpd"

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Jia He
Hi Andrew On 8/30/2018 9:00 AM, Jia He Wrote: > > > On 8/30/2018 7:22 AM, Andrew Morton Wrote: >> On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: >> >>> Hi Andrew >>> FYI,I watched a lockdep warning based on your mmotm master branch[1] >> >> Thanks. We'll need help from ARM peeps on this plea

Re: [PATCH v8 0/5] Support for Qualcomm UFS QMP PHY on SDM845

2018-08-29 Thread Bjorn Andersson
On Tue 31 Jul 03:09 PDT 2018, Can Guo wrote: > This patch series adds support for UFS QMP PHY on SDM845 and the > compatible string for it. This patch series depends on the current > proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on > the DT bindings for the QMP V3 USB3 PHYs based dir

Re: [PATCH V7 7/9] mmc: sdhci: SDMA may use Auto-CMD23 in v4 mode

2018-08-29 Thread Adrian Hunter
On 29/08/18 14:39, Chunyan Zhang wrote: > On 29 August 2018 at 18:59, Adrian Hunter wrote: >> On 29/08/18 10:03, Chunyan Zhang wrote: >>> When Host Version 4 Enable is set to 1, SDMA uses ADMA System Address >>> register (05Fh-058h) instead of using register (000h-004h) to indicate >>> its system

Re: [PATCH] arm64: defconfig: enable EFI_ARMSTUB_DTB_LOADER

2018-08-29 Thread Ard Biesheuvel
On 29 August 2018 at 20:59, Scott Branden wrote: > Hi Olof, > > > On 18-08-29 11:44 AM, Olof Johansson wrote: >> >> Hi, >> >> On Wed, Aug 29, 2018 at 10:21 AM, Scott Branden >> wrote: >>> >>> Enable EFI_ARMSTUB_DTB_LOADER to add support for the dtb= command line >>> parameter to function with efi

Re: [PATCH] gpio: Add driver for PC Engines APU2/APU3 GPIOs

2018-08-29 Thread Florian Eckert
On 2018-08-24 12:56, Piotr Król wrote: On 08/03/2018 09:08 PM, Andy Shevchenko wrote: Hi Andy, (...) +#define APU_FCH_ACPI_MMIO_BASE 0xFED8 +#define APU_FCH_GPIO_BASE (APU_FCH_ACPI_MMIO_BASE + 0x1500) Wow! Can we see ACPI tables for these boards? Care to share (via some file share

Re: [PATCH 2/4] tty: Hold tty_ldisc_lock() during tty_reopen()

2018-08-29 Thread Benjamin Herrenschmidt
On Wed, 2018-08-29 at 13:34 +0900, Sergey Senozhatsky wrote: > Hi, > > Cc-ing Benjamin on this. > > On (08/29/18 03:23), Dmitry Safonov wrote: > > BUG: unable to handle kernel paging request at 2260 > > IP: [..] n_tty_receive_buf_common+0x5f/0x86d > > Workqueue: events_unbound flush_t

Re: [PATCH v1] arm64: dts: sdm845: enable tsens thermal zones

2018-08-29 Thread Amit Kucheria
On Wed, Aug 29, 2018 at 3:09 PM Daniel Lezcano wrote: > > On 18/07/2018 09:49, Amit Kucheria wrote: > > One thermal zone per cpu is defined > > The thermal zones are very close, especially when the CPUs belong to the > same 'cluster'. Very likely the temperature will propagate from one core > to a

[PATCH] ARM: dts: imx6ull: update iomux header

2018-08-29 Thread Anson Huang
Update i.MX6ULL iomux header according to latest reference manual Rev.1, 11/2017. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6ull-pinfunc.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/imx6ull-pinfunc.h b/arch/arm/boot/dts

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Nadav Amit
at 7:26 PM, Masami Hiramatsu wrote: > On Wed, 29 Aug 2018 14:00:06 -0700 > Sean Christopherson wrote: > >> On Wed, Aug 29, 2018 at 08:44:47PM +, Nadav Amit wrote: >>> at 1:13 PM, Sean Christopherson wrote: >>> On Wed, Aug 29, 2018 at 07:36:22PM +, Nadav Amit wrote: > at 10:11

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Stephane Eranian
On Wed, Aug 29, 2018 at 5:33 PM Namhyung Kim wrote: > > Hi, > > On Wed, Aug 29, 2018 at 08:14:12AM -0700, Stephane Eranian wrote: > > On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo > > wrote: > > > > > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > > > Hi, >

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Josh Triplett
On Wed, Aug 29, 2018 at 09:10:17PM -0700, Paul E. McKenney wrote: > On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 15:38:30 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > Hello! >

[PATCH 0/3] ARM: dts: am335x: add support for Moxa UC-2100 series

2018-08-29 Thread 林上智
The UC-2100 series open computing platform is designed for industrial embedded data acquisition and processing applications. In order to fulfill various industrial applications, there're many boards with different peripheral devices and wireless modules in this series. The features of UC-2100 se

[PATCH 1/3] ARM: dts: am335x: add common file for UC-2100 series

2018-08-29 Thread 林上智
The UC-2100 series consists many boards with different peripheral devices and wireless modules, hence we fetch common items and create a common dtsi file to increase reusability. All boards in UC-2100 series will include this common dtsi file. Signed-off-by: Wes Huang (黃淵河) Signed-off-by: Fero JD

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 08:22:16PM -0700, Paul E. McKenney wrote: > On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > > On Wed, 29 Aug 2018 15:38:30 -0700 > > "Paul E. McKenney" wrote: > > > > > Hello! > > > > > > This commit does RCU-consolidation cleanups that get rid of pointe

[PATCH 2/3] ARM: dts: am335x: add support for Moxa UC-2101 open platform

2018-08-29 Thread 林上智
Add support for Moxa UC-2101 open platform The UC-2101 computing platform is designed for industrial embedded data acquisition and processing applications. The features of UC-2101 are: * eMMC * SPI flash * 1x LAN * 1x RS-232/422/485 ports, software-selectable * EEPROM * TPM 2.0 * Watchdog * RTC *

[PATCH 3/3] ARM: dts: am335x: add support for Moxa UC-2102 open platform

2018-08-29 Thread 林上智
Add support for Moxa UC-2102 open platform The UC-2102 computing platform is designed for industrial embedded data acquisition and processing applications. The features of UC-2102 are: * eMMC * SPI flash * 2x LAN * EEPROM * TPM 2.0 * Watchdog * RTC * User gpio-keys * User LEDs * User button Sign

Re: WARNING in apparmor_secid_to_secctx

2018-08-29 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=16662cb640 kernel config: https://syzkaller.appspot.com/x/.config?x=531a917630d2a49

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

2018-08-29 Thread Baolin Wang
Hi Jacek, On 30 August 2018 at 03:15, Jacek Anaszewski wrote: > Hi Baolin, > > On 08/29/2018 11:48 AM, Baolin Wang wrote: >> Hi Jacek, >> >> On 29 August 2018 at 04:25, Jacek Anaszewski >> wrote: >>> On 08/25/2018 09:51 AM, Baolin Wang wrote: On 25 August 2018 at 04:44, Jacek Anaszewski

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 10:46:09PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 19:07:01 -0700 > "Paul E. McKenney" wrote: > > > On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 14:23:13 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > Allocat

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 10:00:26PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 15:38:30 -0700 > "Paul E. McKenney" wrote: > > > Hello! > > > > This commit does RCU-consolidation cleanups that get rid of pointers to > > the sole remaining rcu_state structure: > > > > 1-40: Remove th

Re: [PATCH v3 0/9] Add Reset Controller support for Actions Semi Owl SoCs

2018-08-29 Thread Manivannan Sadhasivam
On Fri, Aug 10, 2018 at 03:21:04PM +0530, Manivannan Sadhasivam wrote: > This patchset adds Reset Controller (RMU) support for Actions Semi > Owl SoCs, S900 and S700. For the Owl SoCs, RMU has been integrated into > the clock subsystem in hardware. Hence, in software we integrate RMU > support into

Re: [PATCH 0/4] Add HiSilicon Hi3670 SoC and HiKey970 board

2018-08-29 Thread Manivannan Sadhasivam
On Fri, Aug 10, 2018 at 11:23:35PM +0530, Manivannan Sadhasivam wrote: > This patchset adds support for Hi3670 SoC and HiKey970 board. Hi3670 SoC > is very similar to the Hi3660 SoC with additional NPU support. For now, > only UART6 has been enabled which is configured by the bootloader for > conso

Re: [PATCH 2/2] power: supply: Add Spreadtrum SC2731 charger support

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:36, Krzysztof Kozlowski wrote: > I'll try one more time... but without HTML from Gmail. Previous mail > bounced from lists. > > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the SC2731 PMIC switch charger support. >> >> Signed-off-by

Re: [PATCH 1/2] dt-bindings: power: Add Spreadtrum SC2731 charger documentation

2018-08-29 Thread Baolin Wang
Hi Krzysztof, On 29 August 2018 at 22:08, Krzysztof Kozlowski wrote: > On Tue, 28 Aug 2018 at 11:04, Baolin Wang wrote: >> >> This patch adds the binding documentation for Spreadtrum SC2731 charger >> device. >> >> Signed-off-by: Baolin Wang >> --- >> .../bindings/power/supply/sc2731_charger.t

ASSIST ME TO GET THIS MONEY PLEASE

2018-08-29 Thread Dr Bartholomew Caleb
Good day my dear friend, Let me start by introducing myself. I am Bartholomew Caleb, an accounts officer with Bank of Africa here in Burkina Faso West Africa. I am writing you this letter based on the latest development at my bank whichI will like to bring to your personal edification. ($9mill

linux-next: Tree for Aug 30

2018-08-29 Thread Stephen Rothwell
Hi all, Changes since 20180829: New trees: soundwire and soundwire-fixes Dropped trees: xarray, ida (temporarily) The spi tree lost its build failure. Non-merge commits (relative to Linus' tree): 1087 1284 files changed, 44936 insertions(+), 12978 dele

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 19:07:01 -0700 "Paul E. McKenney" wrote: > On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > > On Wed, 29 Aug 2018 14:23:13 -0700 > > "Paul E. McKenney" wrote: > > > > > Allocating a list_head structure that is almost never used, and, when > > > used, is us

[BUG] [Resend] Possible sleep-in-atomic-context bugs involving regmap_lock_mutex()

2018-08-29 Thread Jia-Ju Bai
Hello, My static tool DSAC reports many sleep-in-atomic-context bugs involving regmap_lock_mutex(), so I wonder whether this function is possible to be executed in atomic context. Here are some example bugs and their call paths in Linux-4.16 (from bottom to top, and [FUNC_PTR] means that the

Re: [RFC PATCH 1/6] x86/alternative: assert text_mutex is taken

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 14:00:06 -0700 Sean Christopherson wrote: > On Wed, Aug 29, 2018 at 08:44:47PM +, Nadav Amit wrote: > > at 1:13 PM, Sean Christopherson wrote: > > > > > On Wed, Aug 29, 2018 at 07:36:22PM +, Nadav Amit wrote: > > >> at 10:11 AM, Nadav Amit wrote: > > >> > > >>> at

Re: WARNING in apparmor_secid_to_secctx

2018-08-29 Thread Dmitry Vyukov
On Wed, Aug 29, 2018 at 7:17 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' > git tree: net-next > console output: https://syzkaller.appspot.com/x/log.txt?x=1536d29640 > kernel config: https://s

[PATCH] perf event-parse: Use fixed size string for comms

2018-08-29 Thread cphlipot0
From: Chris Phlipot Some implementations of libc do not support the 'm' width modifier as part of the scanf string format specifier. This can cause the parsing to fail. Since the parser never checks if the scanf parsing was successesful, this can result in a crash. Change the comm string to be

[PATCH] thermal: qoriq: add i.mx8mq support

2018-08-29 Thread Anson Huang
Add i.mx8mq specific compatible string. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/thermal/qoriq-thermal.txt | 6 +++--- drivers/thermal/qoriq_thermal.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetre

WARNING in apparmor_secid_to_secctx

2018-08-29 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:817e60a7a2bb Merge branch 'nfp-add-NFP5000-support' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1536d29640 kernel config: https://syzkaller.appspot.com/x/.config?x=531a917630d2a492 dashboard l

Re: [PATCH] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Wanpeng Li
On Wed, 29 Aug 2018 at 23:42, Radim Krcmar wrote: > > 2018-08-29 13:29+0300, Dan Carpenter: > > On Wed, Aug 29, 2018 at 06:23:08PM +0800, Wanpeng Li wrote: > > > On Wed, 29 Aug 2018 at 18:18, Dan Carpenter > > > wrote: > > > > > > > > On Wed, Aug 29, 2018 at 01:12:05PM +0300, Dan Carpenter wrote

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Paul E. McKenney
On Wed, Aug 29, 2018 at 09:56:16PM -0400, Steven Rostedt wrote: > On Wed, 29 Aug 2018 14:23:13 -0700 > "Paul E. McKenney" wrote: > > > Allocating a list_head structure that is almost never used, and, when > > used, is used only during early boot (rcu_init() and earlier), is a bit > > wasteful. T

[PATCH v2] KVM: LAPIC: Fix pv ipis out-of-bounds access

2018-08-29 Thread Wanpeng Li
From: Wanpeng Li Dan Carpenter reported that the untrusted data returns from kvm_register_read() results in the following static checker warning: arch/x86/kvm/lapic.c:576 kvm_pv_send_ipi() error: buffer underflow 'map->phys_map' 's32min-s32max' KVM guest can easily trigger this by executing

Re: [PATCH tip/core/rcu 0/52] Remove rcu_state pointers for v4.20/v5.0

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 15:38:30 -0700 "Paul E. McKenney" wrote: > Hello! > > This commit does RCU-consolidation cleanups that get rid of pointers to > the sole remaining rcu_state structure: > > 1-40: Remove the "rsp" parameter from numerous functions, given that > the corresponding argument

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Andy Lutomirski
> On Aug 29, 2018, at 6:38 PM, Masami Hiramatsu wrote: > > On Wed, 29 Aug 2018 08:41:00 -0700 > Andy Lutomirski wrote: > >>> On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu >>> wrote: >>> On Wed, 29 Aug 2018 01:11:43 -0700 >>> Nadav Amit wrote: >>> From: Andy Lutomirski >>>

Re: [4.14.66-rt40] [report][cpuhotplug] BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:974

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 16:28:50 -0500 Grygorii Strashko wrote: > On 08/29/2018 09:08 AM, Sebastian Andrzej Siewior wrote: > > On 2018-08-28 18:28:42 [-0500], Grygorii Strashko wrote: > > [...] > > >> [0.912275] [] alloc_pages_current+0xcc/0xe0 > >> [0.912287] [] its_allocate_pending_tabl

Re: [PATCH tip/core/rcu 3/3] srcu: Make early-boot call_srcu() reuse workqueue lists

2018-08-29 Thread Steven Rostedt
On Wed, 29 Aug 2018 14:23:13 -0700 "Paul E. McKenney" wrote: > Allocating a list_head structure that is almost never used, and, when > used, is used only during early boot (rcu_init() and earlier), is a bit > wasteful. This commit therefore eliminates that list_head in favor of > the one in the

Re: [PATCH] mm/page_alloc: Clean up check_for_memory

2018-08-29 Thread Pasha Tatashin
On 8/28/18 5:01 PM, Oscar Salvador wrote: > From: Oscar Salvador > > check_for_memory looks a bit confusing. > First of all, we have this: > > if (N_MEMORY == N_NORMAL_MEMORY) > return; > > Checking the ENUM declaration, looks like N_MEMORY canot be equal to > N_NORMAL_MEMORY. > I could

RE: [PATCH v13 10/13] x86/sgx: Add sgx_einit() for initializing enclaves

2018-08-29 Thread Huang, Kai
> > > > > Some kind of counter is required to keep track of the power cycle. > > > > > When going to sleep the sgx_pm_cnt is increased. sgx_einit() > > > > > compares the current value of the global count to the value in > > > > > the cache entry to see whether we are in a new power cycle. > > > >

Re: [RFC PATCH 2/6] x86/mm: temporary mm struct

2018-08-29 Thread Masami Hiramatsu
On Wed, 29 Aug 2018 08:41:00 -0700 Andy Lutomirski wrote: > On Wed, Aug 29, 2018 at 2:49 AM, Masami Hiramatsu wrote: > > On Wed, 29 Aug 2018 01:11:43 -0700 > > Nadav Amit wrote: > > > >> From: Andy Lutomirski > >> > >> Sometimes we want to set a temporary page-table entries (PTEs) in one of >

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Jia He
On 8/30/2018 7:22 AM, Andrew Morton Wrote: > On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > >> Hi Andrew >> FYI,I watched a lockdep warning based on your mmotm master branch[1] > > Thanks. We'll need help from ARM peeps on this please. > >> [6.692731] [ cut here ]---

Re: [PATCH v6 1/2] mm: migration: fix migration of huge PMD shared pages

2018-08-29 Thread Mike Kravetz
On 08/29/2018 02:11 PM, Jerome Glisse wrote: > On Wed, Aug 29, 2018 at 08:39:06PM +0200, Michal Hocko wrote: >> On Wed 29-08-18 14:14:25, Jerome Glisse wrote: >>> On Wed, Aug 29, 2018 at 10:24:44AM -0700, Mike Kravetz wrote: >> [...] What would be the best mmu notifier interface to use where t

Re: [RFC] perf script: callchain handling is not useful

2018-08-29 Thread Namhyung Kim
Hi, On Wed, Aug 29, 2018 at 08:14:12AM -0700, Stephane Eranian wrote: > On Wed, Aug 29, 2018 at 6:54 AM Arnaldo Carvalho de Melo > wrote: > > > > Em Tue, Aug 28, 2018 at 07:41:31PM -0700, Stephane Eranian escreveu: > > > Hi, > > > > > > I am doing the following simple collection with callchain an

[GIT PULL] RISC-V Fixes and Cleanups for 4.19-rc2

2018-08-29 Thread Palmer Dabbelt
The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-4.19-rc2 for you to fetch changes up to

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

2018-08-29 Thread Rob Herring
On Wed, Aug 29, 2018 at 6:19 AM wrote: > > On 2018-08-29 05:55, Rob Herring wrote: > > On Fri, Aug 24, 2018 at 04:12:15PM +0530, Dilip Kota wrote: > >> From: Girish Mahadevan > >> > >> This driver supports GENI based SPI Controller in the Qualcomm SOCs. > >> The > >> Qualcomm Generic Interface (G

Re: [PATCH 3/4] mm/tlb, x86/mm: Support invalidating TLB caches for RCU_TABLE_FREE

2018-08-29 Thread Vineet Gupta
On 08/27/2018 04:00 AM, Peter Zijlstra wrote: > > The one obvious thing SH and ARM want is a sensible default for > tlb_start_vma(). (also: https://lkml.org/lkml/2004/1/15/6 ) > > The below make tlb_start_vma() default to flush_cache_range(), which > should be right and sufficient. The only excepti

Re: [PATCH 1/2] ASoC: Add driver for PROTO Audio CODEC (with a WM8731)

2018-08-29 Thread kbuild test robot
Hi Codrin, Thank you for the patch! Yet something to improve: [auto build test ERROR on at91/at91-next] [also build test ERROR on v4.19-rc1 next-20180829] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

Re: [PATCH 11/13] proc: readdir /proc/*/task

2018-08-29 Thread Andrew Morton
On Tue, 28 Aug 2018 22:35:02 +0300 Alexey Dobriyan wrote: > > Are we really in a super hot path to justify all that? > > /proc is very slow, try profiling just about anything involving /proc. So how much does this patchset help? Some timing measurements would really help things along, if they

Re: mmotm 2018-08-23-17-26 uploaded

2018-08-29 Thread Andrew Morton
On Tue, 28 Aug 2018 12:20:46 +0800 Jia He wrote: > Hi Andrew > FYI,I watched a lockdep warning based on your mmotm master branch[1] Thanks. We'll need help from ARM peeps on this please. > [6.692731] [ cut here ] > [6.696391] DEBUG_LOCKS_WARN_ON(!current->hardir

[PATCH 2/3] firmware: qcom: scm: Refactor clock handling

2018-08-29 Thread Bjorn Andersson
At one point in time all "future" platforms required three clocks, so the binding and driver was written to treat this as the default case. But new platforms has no clock requirements, which currently makes them all a special case, causing the need for a patch in the binding and driver for each new

  1   2   3   4   5   6   7   8   9   >