[PATCH 52/85] perf cs-etm: Add notion of time to decoding code

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier This patch deals with timestamp packets received from the decoding library in order to give the front end packet processing loop a handle on the time instruction conveyed by range packets have been executed at. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexand

[PATCH 20/85] perf scripts python: export-to-postgresql.py: Export IPC information

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Export cycle and instruction counts on samples and calls tables. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190520113728.14389-18-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- .../scripts/python/export-to-postgresql.p

[PATCH 22/85] perf scripts python: exported-sql-viewer.py: Add CallGraphModelParams

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add a parameter to call graph and call tree, to determine whether IPC information is available. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190520113728.14389-20-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- .../script

[PATCH 49/85] perf cs-etm: Use traceID aware memory callback API

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier When working with CPU-wide traces different traceID may be found in the same stream. As such we need to use the decoder callback that provides the traceID in order to know the thread context being decoded. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexander S

[PATCH 35/85] perf record: Add support to collect callchains from kernel or user space only

2019-06-11 Thread Arnaldo Carvalho de Melo
From: yuzhoujian One can just record callchains in the kernel or user space with this new options. We can use it together with "--all-kernel" options. This two options is used just like print_stack(sys) or print_ustack(usr) for systemtap. Shown below is the usage of this new option combined wi

[PATCH 60/85] perf cs-etm: Properly set the value of 'old' and 'head' in snapshot mode

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier This patch adds the necessary intelligence to properly compute the value of 'old' and 'head' when operating in snapshot mode. That way we can get the latest information in the AUX buffer and be compatible with the generic AUX ring buffer mechanic. Tester notes: > Leo, hav

[PATCH 56/85] perf stat: Support per-die aggregation

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Kan Liang It is useful to aggregate counts per die. E.g. Uncore becomes die-scope on Xeon Cascade Lake-AP. Introduce a new option "--per-die" to support per-die aggregation. The global id for each core has been changed to socket + die id + core id. The global id for each die is socket + d

[PATCH 46/85] perf cs-etm: Get rid of unused cpu in struct cs_etm_queue

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Nowadays the synthesize code is using the packet's cpu information, making cs_etm_queue::cpu useless. As such simply remove it. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Suzuki Poulo

[PATCH 44/85] perf cs-etm: Fix indentation in function cs_etm__process_decoder_queue()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Fixing wrong indentation of the while() loop - no change of functionality. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Suzuki Poulouse Cc: coresi...@lists.linaro.org Cc: linux-arm-ker.

[PATCH 34/85] perf config: Bail out when a handler returns failure for a key-value pair

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo So perf_config() uses: int ret = 0; perf_config_set__for_each_entry(config_set, section, item) { ... ret = fn(); if (ret < 0) break; } return ret; Expecting that that break will imediatelly go to function e

[PATCH 39/85] perf cs-etm: Configure SWITCH_EVENTS in CPU-wide mode

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Ask the perf core to generate an event when processes are swapped in/out of context. That way proper action can be taken by the decoding code when faced with such event. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung

[PATCH 27/85] perf augmented_raw_syscalls: Move the probe_read_str to a separate function

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo One more step into copying multiple filenames to support syscalls like rename*. Cc: Adrian Hunter Cc: Brendan Gregg Cc: Jiri Olsa Cc: Luis Cláudio Gonçalves Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-xdqtjexdyp81oomm1rkze...@git.kernel.org Signed-off

[PATCH 25/85] perf scripts python: exported-sql-viewer.py: Select find text when find bar is activated

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The user probably wants to replace the find text, so select the find text when the find bar is activated. That is fairly standard behaviour for search text entry. Entering text will replace the current text, but using edit keys (arrows, home, end etc) cancels the selection a

[PATCH 55/85] perf header: Add die information in CPU topology

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Kan Liang With the new CPUID.1F, a new level type of CPU topology, 'die', is introduced. The 'die' information in CPU topology should be added in perf header. To be compatible with old perf.data, the patch checks the section size before reading the die information. The new info is added at

[PATCH 41/85] perf cs-etm: Add handling of switch-CPU-wide events

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Add handling of SWITCH-CPU-WIDE events in order to add the tid/pid of the incoming process to the perf tools machine infrastructure. This information is later retrieved when a contextID packet is found in the trace stream. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan

[PATCH 51/85] perf cs-etm: Linking PE contextID with perf thread mechanic

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Link contextID packets received from the decoder with the perf tool thread mechanic so that we know the specifics of the process currently executing. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijls

[PATCH 31/85] perf trace: Consume the augmented_raw_syscalls payload

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To support the SCA_FILENAME beautifier in more than one syscall arg, as needed for syscalls such as the rename* family, we need to, after processing one such arg, bump the augmented pointers so that the next augmented arg don't reuse data for the previous augmented

[PATCH 53/85] perf cs-etm: Add support for CPU-wide trace scenarios

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Add support for CPU-wide trace scenarios by correlating range packets with timestamp packets. That way range packets received on different ETMQ/traceID channels can be processed and synthesized in chronological order. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc:

[PATCH 29/85] perf augmented_raw_syscalls: Move reading filename to the loop

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Almost there, next step is to copy more than one filename payload. Probably to read syscall arg structs, etc we'll need just a variation of this that will decide what to use, if probe_read_str() or plain probe_read for structs, i.e. fixed size. Cc: Adrian Hunter

[PATCH 63/85] perf auxtrace: Add perf time interval to itrace_synth_ops

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Instruction trace decoders can optimize output based on what time intervals will be filtered, so pass that information in itrace_synth_ops. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-2-adrian.hun...@intel.com

[PATCH 42/85] perf cs-etm: Refactor error path in cs_etm_decoder__new()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier There is no point in having two different error goto statement since the openCSD API to free a decoder handles NULL pointers. As such function cs_etm_decoder__free() can be called to deal with all aspect of freeing decoder memory. Signed-off-by: Mathieu Poirier Tested-by:

[PATCH 62/85] perf config: Update default value for llvm.clang-bpf-cmd-template

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Leo Yan The clang bpf cmdline template has defined default value in the file tools/perf/util/llvm-utils.c, which has been changed for several times. This patch updates the documentation to reflect the latest default value for the configuration llvm.clang-bpf-cmd-template. Signed-off-by: L

Re: [RFC PATCH 1/5] signal: Teach sigsuspend to use set_user_sigmask

2019-06-11 Thread Eric W. Biederman
Oleg Nesterov writes: > On 06/10, Eric W. Biederman wrote: >> >> Personally I don't think anyone sane would intentionally depend on this >> and I don't think there is a sufficiently reliable way to depend on this >> by accident that people would actually be depending on it. > > Agreed. > > As I s

[PATCH 47/85] perf cs-etm: Move thread to traceid_queue

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier The thread field of structure cs_etm_queue is CPU dependent and as such need to be part of the cs_etm_traceid_queue in order to support CPU-wide trace scenarios. Signed-off-by: Mathieu Poirier Tested-by: Leo Yan Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc:

[PATCH 59/85] perf data: Fix perf.data documentation for HEADER_CPU_TOPOLOGY

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The 'die' info isn't in the same array as core and socket ids, and we missed the 'dies' string list, that comes right after the 'core' + 'socket' id variable length array, followed by the VLA for the dies. Cc: Adrian Hunter Cc: Andi Kleen Cc: Jiri Olsa Cc: Kan L

[PATCH 72/85] perf intel-pt: Add support for lookahead

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Implement the lookahead callback to let the decoder access subsequent buffers. intel_pt_lookahead() manages the buffer lifetime and calls the decoder for each buffer until the decoder returns a non-zero value. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: ht

[PATCH 77/85] perf time-utils: Fix --time documentation

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Correct some punctuation and spelling and correct the format to show that the time resolution is nanoseconds not microseconds. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-16-adrian.hun...@intel.com Signed-off-b

[PATCH 64/85] perf script: Set perf time interval in itrace_synth_ops

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Instruction trace decoders can optimize output based on what time intervals will be filtered, so pass that information in itrace_synth_ops. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-3-adrian.hun...@intel.com

[PATCH 83/85] perf report: Fix OOM error in TUI mode on s390

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Debugging a OOM error using the TUI interface revealed this issue on s390: [tmricht@m83lp54 perf]$ cat /proc/kallsyms |sort 0001119b7158 B radix_tree_node_cachep 0001119b8000 B __bss_stop 0001119b8000 B _end 03ff80002850 t autofs_mount [autofs4] 03ff

[PATCH 66/85] perf intel-pt: Add lookahead callback

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add a callback function to enable the decoder to lookahead at subsequent trace buffers. This will be used to implement a "fast forward" facility which will be needed to support efficient time interval filtering. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link:

[PATCH 84/85] perf report: Support s390 diag event display on x86

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Perf report fails to display s390 specific event numbered bd000 on an x86 platform. For example on s390 this works without error: [root@m35lp76 perf]# uname -m s390x [root@m35lp76 perf]# ./perf record -e rbd000 -- find / >/dev/null [ perf record: Woken up 3 times to write da

[PATCH 71/85] perf intel-pt: Factor out intel_pt_get_buffer()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Factor out intel_pt_get_buffer() so it can be reused. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-10-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/intel-pt.c | 60 +++

[PATCH 68/85] perf intel-pt: Factor out intel_pt_reposition()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Factor out intel_pt_reposition() so it can be reused. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-7-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/intel-pt-decoder/intel-p

[PATCH 74/85] perf time-utils: Treat time ranges consistently

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Currently, options allow only 1 explicit (non-percentage) time range. In preparation for adding support for multiple explicit time ranges, treat time ranges consistently. Instead of treating some time ranges as inclusive and some as excluding the end time, treat all time rang

[PATCH 57/85] perf header: Rename "sibling cores" to "sibling sockets"

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Kan Liang The "sibling cores" actually shows the sibling CPUs of a socket. The name "sibling cores" is very misleading. Rename "sibling cores" to "sibling sockets" Signed-off-by: Kan Liang Reviewed-by: Jiri Olsa Cc: Andi Kleen Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/155968

[PATCH 85/85] perf trace: Skip unknown syscalls when expanding strace like syscall groups

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We have $INSTALL_DIR/share/perf-core/strace/groups/string files with syscalls that should be selected when 'string' is used, meaning, in this case, syscalls that receive as one of its arguments a string, like a pathname. But those were first selected and tested on

[PATCH 79/85] perf time-utils: Make perf_time__parse_for_ranges() more logical

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Explicit time ranges never contain a percent sign whereas percentage ranges always do, so it is possible to call the correct parser. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-18-adrian.hun...@intel.com Signed

[PATCH 65/85] perf report: Set perf time interval in itrace_synth_ops

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Instruction trace decoders can optimize output based on what time intervals will be filtered, so pass that information in itrace_synth_ops. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-4-adrian.hun...@intel.com

[PATCH 82/85] perf test 6: Fix missing kvm module load for s390

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Thomas Richter Command # perf test -Fv 6 fails with error running test 100 'kvm-s390:kvm_s390_create_vm' failed to parse event 'kvm-s390:kvm_s390_create_vm', err -1, str 'unknown tracepoint' event syntax error: 'kvm-s390:kvm_s390_create_vm' \___ unk

[PATCH 50/85] perf cs-etm: Add support for multiple traceID queues

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier When operating in CPU-wide trace mode with a source/sink topology of N:1 packets with multiple traceID will end up in the same cs_etm_queue. In order to properly decode packets they need to be split in different queues, i.e one queue per traceID. As such add support for mu

[PATCH 80/85] perf tests: Add a test for time-utils

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Test time ranges work as expected. Committer testing: $ perf test "time utils" 59: time utils: Ok $ perf test -v "time utils" 59: time utils: --- start --- test child forked,

[PATCH 73/85] perf intel-pt: Add support for efficient time interval filtering

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Set up time ranges for efficient time interval filtering using the new "fast forward" facility. Because decoding is done in time order, intel_pt_time_filter() needs to look only at the next start or end timestamp - refer intel_pt_next_time(). Signed-off-by: Adrian Hunter Cc

[PATCH 70/85] perf intel-pt: Add intel_pt_fast_forward()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Intel PT decoding is done in time order. In order to support efficient time interval filtering, add a facility to "fast forward" towards a particular timestamp. That involves finding the right buffer, stepping to that buffer, and then stepping forward PSBs. Because decoding mu

[PATCH 76/85] perf time-utils: Prevent percentage time range overlap

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Prevent percentage time range overlap. This is only a 1 nanosecond change but makes the results more logical e.g. a sample cannot be in both the first 10% and the second 20%. Note, there is a later patch that adds a test for time-utils. Signed-off-by: Adrian Hunter Cc: Jin

[PATCH 67/85] perf intel-pt: Factor out intel_pt_8b_tsc()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Factor out intel_pt_8b_tsc() so it can be reused. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-6-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- .../util/intel-pt-decoder/intel-pt-decoder.c

[PATCH 78/85] perf time-utils: Simplify perf_time__parse_for_ranges() error paths slightly

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Simplify perf_time__parse_for_ranges() error paths slightly. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-17-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/time-utils.c | 1

[PATCH 61/85] perf cs-etm: Remove duplicate GENMASK() define, use linux/bits.h instead

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Suzuki noticed that this should be more useful in a generic header, and after looking I noticed we have it already in our copy of include/linux/bits.h in tools/include, so just use it, test built on x86-64 and ubuntu 19.04 with: perfbuilder@46646c9e848e:/$ aarch6

[PATCH 58/85] perf tools: Apply new CPU topology sysfs attributes

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Kan Liang The existing "thread_siblings" and "thread_siblings_list" attribute will be deprecated. Use the new CPU topology sysfs attributes, "core_cpus" and "core_cpus_list", which are synonymous with the deprecated attributes. Check the new name first. If not available, use the deprecate

[PATCH 75/85] perf time-utils: Factor out set_percent_time()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Factor out set_percent_time() so it can be reused. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190604130017.31207-14-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/time-utils.c | 39

Re: linux-next: Tree for May 8 (drivers/platform/x86/intel_pmc_core_plat_drv.c)

2019-06-11 Thread Andy Shevchenko
On Thu, May 9, 2019 at 2:15 AM Rajat Jain wrote: > OK, NP. Just to be sure I understand, > > 1) Please let me know if I should send in a fix (it would be > #include/linux/module.h and also add MODULE_LICENSE() I believe)? > 2) Would this be lined up for next version though? Resend a complete ser

[PATCH 69/85] perf intel-pt: Add reposition parameter to intel_pt_get_data()

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter When the decoder gets the next trace buffer, some state is reset if the buffer is not consecutive to the previous buffer. Add a parameter 'reposition' so that can be done also to support a "fast forward" facility. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link

[PATCH 81/85] perf time-utils: Add support for multiple explicit time intervals

2019-06-11 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Currently only a single explicit time range is accepted. Add support for multiple ranges separated by spaces, which requires the string to be quoted. Update the time utils test accordingly. Signed-off-by: Adrian Hunter Cc: Jin Yao Cc: Jiri Olsa Link: http://lkml.kernel.org

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Thomas Backlund
Den 11-06-2019 kl. 20:40, skrev Greg Kroah-Hartman: On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman wrote: On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: Commit 1e07d63749 ("drm/nouveau: add kconfig option to tur

Re: [PATCH 2/3] rtc: imx-sc: Make compatible string more generic

2019-06-11 Thread Alexandre Belloni
On 11/06/2019 10:57:17+, Aisheng Dong wrote: > > From: anson.hu...@nxp.com [mailto:anson.hu...@nxp.com] > > Sent: Tuesday, June 11, 2019 2:34 PM > > > > i.MX system controller RTC driver can support all i.MX SoCs with system > > controller inside, this patch makes the compatible string more ge

Re: [PATCH -next v2] packet: remove unused variable 'status' in __packet_lookup_frame_in_block

2019-06-11 Thread David Miller
From: Mao Wenan Date: Tue, 11 Jun 2019 09:32:13 +0800 > The variable 'status' in __packet_lookup_frame_in_block() is never used since > introduction in commit f6fb8f100b80 ("af-packet: TPACKET_V3 flexible buffer > implementation."), we can remove it. > > Signed-off-by: Mao Wenan > --- > v2: d

Re: [PATCH] platform/x86: asus-wmi: Only Tell EC the OS will handle display hotkeys from asus_nb_wmi

2019-06-11 Thread Andy Shevchenko
On Wed, Jun 5, 2019 at 9:15 PM Hans de Goede wrote: > > Hi, > > On 28-05-19 15:37, Hans de Goede wrote: > > Hi, > > > > On 24-05-19 18:43, Andy Shevchenko wrote: > >> On Tue, May 21, 2019 at 9:28 AM Hans de Goede wrote: > >>> > >>> Commit 78f3ac76d9e5 ("platform/x86: asus-wmi: Tell the EC the OS

[PATCH v3 0/2] MSM8998 GPUCC Support

2019-06-11 Thread Jeffrey Hugo
The Adreno GPU on MSM8998 has its own clock controller, which is a dependency for bringing up the GPU. This series gets the gpucc all in place as another step on the road to getting the GPU enabled. v3: -drop accepted DT patch -correct "avoid" typo -expand comment on why XO is required v2: -drop

[PATCH v3 1/2] clk: qcom: Add MSM8998 GPU Clock Controller (GPUCC) driver

2019-06-11 Thread Jeffrey Hugo
The GPUCC manages the clocks for the Adreno GPU found on MSM8998. Signed-off-by: Jeffrey Hugo --- drivers/clk/qcom/Kconfig | 8 + drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/gpucc-msm8998.c | 359 +++ 3 files changed, 368 insertions(+) create

[v4 0/6] platform: dwc: Adding DesignWare MIPI CSI-2 Host and D-PHY

2019-06-11 Thread Luis Oliveira
This adds support for Synopsys MIPI CSI-2 Host and MIPI D-PHY. The patch series include support for initialization/configuration of the DW MIPI CSI-2 controller and the DW MIPI D-PHY and both include a reference platform driver and the option to use platform data. The optional sysfs interface is us

[v4 1/6] dt-bindings: media: Document bindings for DW MIPI CSI-2 Host

2019-06-11 Thread Luis Oliveira
From: Luis Oliveira Add bindings for Synopsys DesignWare MIPI CSI-2 host. Signed-off-by: Luis Oliveira --- Changelog v3-v4 - remove "plat" from the block name @rob @laurent - remove "phy-names" when single-entry @rob - remove "snps,output-type" -> went to the driver config @laurent .../device

[v4 4/6] dt-bindings: phy: Document the Synopsys MIPI DPHY Rx bindings

2019-06-11 Thread Luis Oliveira
Add device-tree bindings documentation for SNPS DesignWare MIPI D-PHY in RX mode. Signed-off-by: Luis Oliveira --- Changelog v3-v4 - @Laurent I know I told you I could remove the snps,dphy-frequency on V3 but it is really useful for me here. I removed all other the proprietary properties exce

[v4 2/6] media: platform: dwc: Add MIPI CSI-2 controller driver

2019-06-11 Thread Luis Oliveira
Add the Synopsys MIPI CSI-2 controller driver. This controller driver is divided in platform functions and core functions. This way it serves as platform for future DesignWare drivers. Signed-off-by: Luis Oliveira --- Changelog v3-v4 - fix v4l2_fwnode_endpoint bad initialization @eugen - removed

[v4 6/6] media: platform: dwc: Add platform data support to D-Phy

2019-06-11 Thread Luis Oliveira
This patch allows the configuration via platform data. This allows the driver loading not devicetree dependent. Signed-off-by: Luis Oliveira --- Changelog v3-v4 - This patch was not in the v3. This enables pdata to configure the driver drivers/media/platform/dwc/dw-dphy-plat.c | 87

[v4 5/6] media: platform: dwc: Add DW MIPI DPHY Rx driver

2019-06-11 Thread Luis Oliveira
Add of Synopsys MIPI D-PHY in RX mode support. Separated in the implementation are platform dependent probing functions. Signed-off-by: Luis Oliveira --- Changelog v3-v4 - This patch suffered from some changes, but still the D-PHY is configured on boot-up either from dt or by pdata (check heade

[v4 3/6] media: platform: dwc: Add MIPI CSI-2 platform data

2019-06-11 Thread Luis Oliveira
This allows the driver loading via platform data which makes the driver not device tree dependent. Signed-off-by: Luis Oliveira --- Changelog v3-v4 - not present on v3, allows configuration using pdata MAINTAINERS | 1 + drivers/media/platform/dwc/dw-csi-plat.c |

[PATCH v3 2/2] arm64: dts: qcom: msm8998: Add gpucc node

2019-06-11 Thread Jeffrey Hugo
Add MSM8998 GPU Clock Controller DT node. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 574be78a936e..cf00bfeec6b3 100

Re: [PATCH 08/16] sparc64: define untagged_addr()

2019-06-11 Thread Khalid Aziz
On 6/11/19 8:40 AM, Christoph Hellwig wrote: > Add a helper to untag a user pointer. This is needed for ADI support > in get_user_pages_fast. > > Signed-off-by: Christoph Hellwig > --- > arch/sparc/include/asm/pgtable_64.h | 22 ++ > 1 file changed, 22 insertions(+) Looks g

Re: [PATCH 01/16] mm: use untagged_addr() for get_user_pages_fast addresses

2019-06-11 Thread Khalid Aziz
On 6/11/19 8:40 AM, Christoph Hellwig wrote: > This will allow sparc64 to override its ADI tags for > get_user_pages and get_user_pages_fast. > > Signed-off-by: Christoph Hellwig > --- Commit message is sparc64 specific but the goal here is to allow any architecture with memory tagging to use th

[PATCH arm] Use common outgoing-CPU-notification code

2019-06-11 Thread Paul E. McKenney
This commit removes the open-coded CPU-offline notification with new common code. In particular, this change avoids calling scheduler code using RCU from an offline CPU that RCU is ignoring. This is a minimal change. A more intrusive change might invoke the cpu_check_up_prepare() and cpu_set_sta

Re: [PATCH HACK RFC] cpu: Prevent late-arriving interrupts from disrupting offline

2019-06-11 Thread Paul E. McKenney
On Tue, Jun 11, 2019 at 04:39:34PM +0200, Dietmar Eggemann wrote: > On 6/11/19 3:54 PM, Paul E. McKenney wrote: > >On Tue, Jun 11, 2019 at 03:14:54PM +0200, Dietmar Eggemann wrote: > >>On 6/8/19 6:41 PM, Paul E. McKenney wrote: > >>>On Tue, Jun 04, 2019 at 03:29:32PM +0200, Dietmar Eggemann wrote:

Re: [PATCH RESEND 1/7] sched/core: Fix preempt_schedule() interrupt return comment

2019-06-11 Thread Thomas Gleixner
On Tue, 28 May 2019, Valentin Schneider wrote: > Duh, forgot to cc the relevant folks on this one... Nevertheless: Acked-by: Thomas Gleixner > On 28/05/2019 11:48, Valentin Schneider wrote: > > preempt_schedule_irq() is the one that should be called on return from > > interrupt, clean up the co

Re: [PATCH 3/7] perf: arm64: Use rseq to test userspace access to pmu counters

2019-06-11 Thread Mathieu Desnoyers
- On Jun 11, 2019, at 6:57 PM, Mark Rutland mark.rutl...@arm.com wrote: > Hi Arnaldo, > > On Tue, Jun 11, 2019 at 11:33:46AM -0300, Arnaldo Carvalho de Melo wrote: >> Em Tue, Jun 11, 2019 at 01:53:11PM +0100, Raphael Gault escreveu: >> > Add an extra test to check userspace access to pmu hard

Re: [PATCH 10/16] mm: rename CONFIG_HAVE_GENERIC_GUP to CONFIG_HAVE_FAST_GUP

2019-06-11 Thread Khalid Aziz
On 6/11/19 8:40 AM, Christoph Hellwig wrote: > We only support the generic GUP now, so rename the config option to > be more clear, and always use the mm/Kconfig definition of the > symbol and select it from the arch Kconfigs. > > Signed-off-by: Christoph Hellwig > --- > arch/arm/Kconfig | 5

Re: [PATCH] vmw_ballon: no need to check return value of debugfs_create functions

2019-06-11 Thread Nadav Amit
Please change the title of the patch to “vmw_balloon” (it is currently “vmw_ballon”). > On Jun 11, 2019, at 11:55 AM, Greg Kroah-Hartman > wrote: > > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > nev

Re: [PATCH 09/16] sparc64: use the generic get_user_pages_fast code

2019-06-11 Thread Khalid Aziz
On 6/11/19 8:40 AM, Christoph Hellwig wrote: > The sparc64 code is mostly equivalent to the generic one, minus various > bugfixes and two arch overrides that this patch adds to pgtable.h. > > Signed-off-by: Christoph Hellwig > --- > arch/sparc/Kconfig | 1 + > arch/sparc/inclu

Re: [PATCH] kbuild: Add -Werror=unknown-warning-option to CLANG_FLAGS

2019-06-11 Thread Nick Desaulniers
On Tue, Jun 11, 2019 at 11:43 AM Nathan Chancellor wrote: > Suggested-by: Peter Smith > Signed-off-by: Nathan Chancellor I verified this has no negative effect with -Qunused-arguments and the relative position of the two flags. The build failure is much more explicit with this patch: > error:

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 7:40 PM Greg Kroah-Hartman wrote: > > On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: > > On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman > > wrote: > > > On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > > > > Commit 1e07d63749 ("drm/nouvea

Re: [PATCH v3 2/8] i2c: i2c-qcom-geni: Signify successful driver probe

2019-06-11 Thread Bjorn Andersson
On Mon 10 Jun 01:42 PDT 2019, Lee Jones wrote: > The Qualcomm Geni I2C driver currently probes silently which can be > confusing when debugging potential issues. Add a low level (INFO) > print when each I2C controller is successfully initially set-up. > Acked-by: Bjorn Andersson > Signed-off-

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 8:53 PM Sven Joachim wrote: > > On 2019-06-11 19:33 +0200, Daniel Vetter wrote: > > > On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman > > wrote: > >> On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim wrote: > >> > Commit 1e07d63749 ("drm/nouveau: add kconfig option

Re: [PATCH 1/2] media: v4l2-core: Shifting signed 32-bit value by 31 bits error

2019-06-11 Thread Shuah Khan
On 6/6/19 12:33 AM, Hans Verkuil wrote: On 6/6/19 5:22 AM, Randy Dunlap wrote: On 6/5/19 2:53 PM, Shuah Khan wrote: Fix the following cppcheck error: Checking drivers/media/v4l2-core/v4l2-ioctl.c ... [drivers/media/v4l2-core/v4l2-ioctl.c:1370]: (error) Shifting signed 32-bit value by 31 bits

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Daniel Vetter
On Tue, Jun 11, 2019 at 10:08:10PM +0300, Thomas Backlund wrote: > Den 11-06-2019 kl. 20:40, skrev Greg Kroah-Hartman: > > On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: > > > On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman > > > wrote: > > > > On Tue, Jun 11, 2019 at 03:56:35PM

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Sven Joachim
On 2019-06-11 22:08 +0300, Thomas Backlund wrote: > Den 11-06-2019 kl. 20:40, skrev Greg Kroah-Hartman: >> On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: >>> On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman >>> wrote: On Tue, Jun 11, 2019 at 03:56:35PM +0200, Sven Joachim w

Re: [PATCH v3 2/2] power: supply: ucs1002: Add HWMON interface

2019-06-11 Thread Sebastian Reichel
Hi, On Wed, Jun 05, 2019 at 11:39:45AM -0700, Guenter Roeck wrote: > On Wed, Jun 05, 2019 at 10:47:25AM -0700, Andrey Smirnov wrote: > > On Wed, Jun 5, 2019 at 9:26 AM Andrew F. Davis wrote: > > > > > > On 6/5/19 3:23 AM, Andrey Smirnov wrote: > > > > Expose current sensors found on UCS1002 via H

Re: [RFC PATCH] x86/cpufeatures: Enumerate new AVX512 bfloat16 instructions

2019-06-11 Thread Borislav Petkov
On Tue, Jun 11, 2019 at 11:19:20AM -0700, Fenghua Yu wrote: > So can I re-organize word 11 and 12 as follows? > > 1. Change word 11 to host scattered features. > 2. Move the previos features in word 11 and word 12 to word 11: > /* > * Extended auxiliary flags: Linux defined - For features scatter

Re: [PATCH 5/6] ARM: pxa: Switch to SPDX header

2019-06-11 Thread Robert Jarzmik
Lubomir Rintel writes: > The original license text had a typo ("publishhed") which would be > likely to confuse automated licensing auditing tools. Let's just switch > to SPDX instead of fixing the wording. > > Signed-off-by: Lubomir Rintel Acked-by: Robert Jarzmik Cheers. -- Robert

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-11 Thread Tejun Heo
Hello, On Thu, Jun 06, 2019 at 09:15:26AM +0300, Mike Rapoport wrote: > > Can you please go into more details on the use cases? > > If I remember correctly, the original Bandan's work was about using > workqueues instead of kthreads in vhost. For vhosts, I think it might be better to stick with

Re: memory leak in start_sync_thread

2019-06-11 Thread Julian Anastasov
Hello, On Mon, 10 Jun 2019, Eric Biggers wrote: > On Tue, May 28, 2019 at 11:28:05AM -0700, syzbot wrote: > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit:cd6c84d8 Linux 5.2-rc2 > > git tree: upstream > > console output: https://syzkaller.appspot.c

Re: [PATCH 06/10] mfd / platform: cros_ec: Reorganize platform and mfd includes

2019-06-11 Thread Sebastian Reichel
Hi, On Tue, Jun 04, 2019 at 05:20:15PM +0200, Enric Balletbo i Serra wrote: > There is a bit of mess between cros-ec mfd includes and platform > includes. For example, we have a linux/mfd/cros_ec.h include that > exports the interface implemented in platform/chrome/cros_ec_proto.c. Or > we have a

Re: [PATCH] dt-bindings: gpio: Convert Arm PL061 to json-schema

2019-06-11 Thread Rob Herring
On Mon, May 27, 2019 at 12:41 AM Viresh Kumar wrote: > > On 24-05-19, 13:38, Linus Walleij wrote: > > On Tue, May 14, 2019 at 2:50 AM Rob Herring wrote: > > > > > Convert the Arm PL061 GPIO controller binding to json-schema format. > > > > > > As I'm the author for all but the gpio-ranges line, m

Re: [PATCH] Revert "Bluetooth: Align minimum encryption key size for LE and BR/EDR connections"

2019-06-11 Thread Vasily Khoruzhick
Greg, Can we get this revert merged into stable branches? Bluetooth HID has been broken for many devices for quite a while now and RFC patch that fixes the breakage hasn't seen any movement for almost a month. Regards, Vasily On Thu, May 23, 2019 at 7:52 AM Vasily Khoruzhick wrote: > > On Wed,

Re: [RFC v2 0/5] cgroup-aware unbound workqueues

2019-06-11 Thread Tejun Heo
Hello, Daniel. On Wed, Jun 05, 2019 at 11:32:29AM -0400, Daniel Jordan wrote: > Sure, quoting from the last ktask post: > > A single CPU can spend an excessive amount of time in the kernel operating > on large amounts of data. Often these situations arise during > initialization- > and de

Re: [PATCH 2/2] edac: add support for Amazon's Annapurna Labs EDAC

2019-06-11 Thread Hawa, Hanna
Hi James, Allowing linux to access these implementation-defined registers has come up before: https://www.spinics.net/lists/kernel/msg2750349.html It looks like you've navigated most of the issues. Accessing implementation-defined registers is frowned on, but this stuff can't be done generic

Ihr Rat und Interesse wird benötigt

2019-06-11 Thread Mr.Mike Loung huang
Hallo, Ich muss sagen, es tut mir wirklich leid, dass ich davon ausgehe, dass Sie meine Nachricht erhalten und sich dafür entschieden haben, nicht zu antworten; Ich habe eine erste E-Mail an Sie gesendet, in der Hoffnung, dass Sie bereit sind, durch Nominierung Empfänger / Eigentümer zu werden,

Re: Linux 5.1.9 build failure with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=n

2019-06-11 Thread Thomas Backlund
Den 11-06-2019 kl. 22:43, skrev Sven Joachim: On 2019-06-11 22:08 +0300, Thomas Backlund wrote: Den 11-06-2019 kl. 20:40, skrev Greg Kroah-Hartman: On Tue, Jun 11, 2019 at 07:33:16PM +0200, Daniel Vetter wrote: On Tue, Jun 11, 2019 at 5:37 PM Greg Kroah-Hartman wrote: On Tue, Jun 11, 2019

Re: [PATCH v15 0/7] support ROHM BD70528 PMIC

2019-06-11 Thread Sebastian Reichel
Hi, On Mon, Jun 03, 2019 at 10:23:37AM +0300, Matti Vaittinen wrote: > Patch series introducing support for ROHM BD70528 PMIC > [...] I think all patches have been reviewed by the respective subsystem maintainers. Lee, can you provide an immutable branch with the MFD patches (1, 2, 4)? Looks like

Re: [PATCH v3 2/2] mtd: nand: raw: brcmnand: When oops in progress use pio and interrupt polling

2019-06-11 Thread Kamal Dasu
Richard, You have any other review comments/concerns with this patch, if not can you please sign off on it. Thanks Kamal On Fri, May 17, 2019 at 7:56 AM Kamal Dasu wrote: > > On Fri, May 17, 2019 at 4:12 AM Richard Weinberger > wrote: > > > > On Thu, May 16, 2019 at 6:42 PM Kamal Dasu wrote:

Re: [PATCH v1 1/5] of/platform: Speed up of_find_device_by_node()

2019-06-11 Thread Saravana Kannan
On Tue, Jun 11, 2019 at 7:51 AM Frank Rowand wrote: > > Hi Saravana, > > (I notice that I never seem to spell your name correctly. Apologies for that, > both past and future). Thanks for noticing :) One trick that might help with remembering my name is that every other letter is an "a" :) > > T

Re: [PATCH v4 0/6] MSM8998 Multimedia Clock Controller

2019-06-11 Thread Jeffrey Hugo
On Fri, Jun 7, 2019 at 5:18 PM Stephen Boyd wrote: > > Quoting Jeffrey Hugo (2019-06-07 14:31:13) > > On Fri, Jun 7, 2019 at 2:38 PM Stephen Boyd wrote: > > > > > > Quoting Jeffrey Hugo (2019-05-21 07:52:28) > > > > On 5/21/2019 8:44 AM, Jeffrey Hugo wrote: > > > > > The multimedia clock controll

Re: [PATCH v3 2/2] mtd: nand: raw: brcmnand: When oops in progress use pio and interrupt polling

2019-06-11 Thread Richard Weinberger
On Tue, Jun 11, 2019 at 10:03 PM Kamal Dasu wrote: > > Richard, > > You have any other review comments/concerns with this patch, if not > can you please sign off on it. I'm fine with that approach. I hoped to get some input from other MTD folks too :-( -- Thanks, //richard

Re: [PATCH v1 0/5] Solve postboot supplier cleanup and optimize probe ordering

2019-06-11 Thread Saravana Kannan
On Tue, Jun 11, 2019 at 7:56 AM Frank Rowand wrote: > > Hi Saravana, > > On 5/24/19 9:04 PM, Saravana Kannan wrote: > > On Fri, May 24, 2019 at 7:40 PM Frank Rowand wrote: > >> > >> Hi Saranova, > >> > >> I'll try to address the other portions of this email that I > >> in my previous replies. >

<    4   5   6   7   8   9   10   11   12   >