Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 09:52 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 10:31:14AM -0700, Jason Gunthorpe wrote: > > On Wed, Feb 06, 2019 at 10:50:00AM +0100, Jan Kara wrote: > > > > > MM/FS asks for lease to be revoked. The revoke handler agrees with the > > > other side on cancelling

Re: [PATCH] sh: generate uapi header and syscall table header files

2019-02-06 Thread Guenter Roeck
On Tue, Feb 05, 2019 at 01:04:14PM +1100, Firoz Khan wrote: > Unified system call table generation script must be run to generate > unistd_32.h and syscall_table.h files. This patch will have changes which > will invokes the script. > > This patch will generate unistd_32.h and syscall_table.h fil

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Matthew Wilcox
On Wed, Feb 06, 2019 at 01:32:04PM -0500, Doug Ledford wrote: > On Wed, 2019-02-06 at 09:52 -0800, Matthew Wilcox wrote: > > On Wed, Feb 06, 2019 at 10:31:14AM -0700, Jason Gunthorpe wrote: > > > On Wed, Feb 06, 2019 at 10:50:00AM +0100, Jan Kara wrote: > > > > > > > MM/FS asks for lease to be rev

REF:- INSTRUCTION TO CREDIT YOUR ACCOUNT WITH THE SUM OF (US$10Million)

2019-02-06 Thread Mr Anthony M
NATWEST BANK PLC, 10 Southwark Street , London Bridge , London - UK SE1 1TT RC: 121878 Our Ref: NTB/WESTMIN/INTER-15 Your Ref: Affidavit: AFX 076GD7B24 Tell=+447035969549 Fax+448435643403 REF:- INSTRUCTION TO CREDIT YOUR ACCOUNT WITH THE SUM OF (US$10Million) This is the second time we are notify

Re: [PATCH] drm: enable uncached DMA optimization for ARM and arm64

2019-02-06 Thread Christian König
Am 06.02.19 um 18:23 schrieb Ard Biesheuvel: On Fri, 25 Jan 2019 at 11:35, Ard Biesheuvel wrote: On Fri, 25 Jan 2019 at 12:30, Christian König wrote: Am 25.01.19 um 09:43 schrieb Ard Biesheuvel: On Thu, 24 Jan 2019 at 15:01, Alex Deucher wrote: On Thu, Jan 24, 2019 at 9:00 AM Ard Biesheuve

BUSINESS SOLUTION INVESTMENT FUNDING

2019-02-06 Thread Abdul Aziz,
Hello, Greetings, I represent business group in Middle East looking for projects to fund; we seek any business that will guaranty a safe and secure return on investments. Alternative powers, movies, start up companies etc. We are also looking for commercial building projects, hotels, casino

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Doug Ledford
On Wed, 2019-02-06 at 10:35 -0800, Matthew Wilcox wrote: > On Wed, Feb 06, 2019 at 01:32:04PM -0500, Doug Ledford wrote: > > On Wed, 2019-02-06 at 09:52 -0800, Matthew Wilcox wrote: > > > On Wed, Feb 06, 2019 at 10:31:14AM -0700, Jason Gunthorpe wrote: > > > > On Wed, Feb 06, 2019 at 10:50:00AM +01

Re: [PATCH] mm/memory-hotplug: Add sysfs hot-remove trigger

2019-02-06 Thread Greg KH
On Wed, Feb 06, 2019 at 05:03:53PM +, Robin Murphy wrote: > ARCH_MEMORY_PROBE is a useful thing for testing and debugging hotplug, > but being able to exercise the (arguably trickier) hot-remove path would > be even more useful. Extend the feature to allow removal of offline > sections to be tr

Re: [PATCH 4/7] dt-bindings: sdm845-pinctrl: add wakeup interrupt parent for GPIO

2019-02-06 Thread Stephen Boyd
Quoting Lina Iyer (2019-02-06 09:07:30) > Thanks for the patch Stephen. Sorry, it took a while to get to this and > understand how this works. > > On Thu, Jan 31 2019 at 00:10 -0700, Stephen Boyd wrote: > >Quoting Stephen Boyd (2019-01-31 13:53:42) > >> > >> I'm prototyping out some code to do the

[GIT PULL 00/53] perf/core improvements and fixes

2019-02-06 Thread Arnaldo Carvalho de Melo
the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-core-for-mingo-5.1-20190206 for you to fetch changes up to 16bd4321c2425d37031a902cdbf183e2cd099946: perf auxtrace: Add timestamp to auxtrace errors (2019-02-06 11:20:32 -0300

[PATCH 03/53] perf srccode: Move struct definition from map.h to srccode.h

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the header dependencies, since we already have a srccode.h header, then there is where the 'struct srccode_state' should be, and map.h, that is more widely used should have just a forward declaraion of 'struct srccode_state'. Cc: Adrian Hunter Cc: Andi K

[PATCH 02/53] perf arm pmu: Add missing linux/string.h header

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It uses strstarts(), that is defined in linux/string.h but that was being including by sheer luck, indirectly, fix it. Cc: Adrian Hunter Cc: Dongjiu Geng Cc: Jiri Olsa Cc: Kim Phillips Cc: Mathieu Poirier Cc: Namhyung Kim Cc: Suzuki Poulouse Cc: Will Deacon

[PATCH 05/53] perf symbols: Introduce map_symbol.h

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To allow headers just wanting this definition to be able to get it without all the things in symbol.h, to reduce the include dep tree. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-l32z2qyhs6fe8unf4gk2e...@git.kernel.org Si

[PATCH 12/53] perf thread: Don't include symbol.h, symbol_conf.h is enough

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Also add stdio.h to get the FILE definition. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-8vx5396phynuxhdsxxfbd...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/thread.h | 5 - 1 file cha

[PATCH 01/53] perf powerpc: Add missing headers to skip-callchain-idx.c

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It uses several structs but don't explicitely includes the headers where they are defined, getting them by sheer luck from one of the headers it includes, since those are being streamlined to avoid unnecessary rebuilds when changes are made to a random header, they

[PATCH 06/53] pref tools: Add missing map.h includes

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Lots of places get the map.h file indirectly, and since we're going to remove it from machine.h, then those need to include it directly, do it now, before we remove that dep. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-ob

[PATCH 08/53] perf tests: Add missing headers so far obtained indirectly

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo We're going to remove symbol.h from some places and this breaks some of the perf tests, fix it by adding the required includes. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-wpa4b6x0btpnh2kjxzl9n...@git.kernel.org Signed-of

[PATCH 04/53] perf callchain: Uninline callchain_cursor_reset() to remove map.h dependency

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That was the only thing that made including map.h in callchain.h a requiriment, so uninline it and just add a 'struct map' forward declaration. Cc: Adrian Hunter Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-7fjz4hvv

[PATCH 11/53] perf evsel: No need to include symbol.h in evsel.h, symbol_conf.h is enough

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the header dependency and avoid unnecessary rebuilds when things change in symbol.h. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-6duflwliprh2tr47w5x4t...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo -

[PATCH 15/53] perf tests pmu: Add missing headers

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It needs the definitions for PATH_MAX and snprintf, was getting it by luck from headers it included and that are now being sanitized. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-7bbh3kk0h5mywvfqm64nh...@git.kernel.org Sig

[PATCH 18/53] perf powerpc kvm-stat: Add missing evlist.h header

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This header was being obtained indirectly, by sheer luck, add it. Cc: Adrian Hunter Cc: Hemant Kumar Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-c3h8oyav16iu5ivput8n4...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/p

[PATCH 20/53] perf/aux: Make perf_event accessible to setup_aux()

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier When pmu::setup_aux() is called the coresight PMU needs to know which sink to use for the session by looking up the information in the event's attr::config2 field. As such simply replace the cpu information by the complete perf_event structure and change all affected custom

[PATCH 19/53] perf bpf-loader: Remove unecessary includes from bpf-loader.h

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To cut the header dep tree, to get unecessary object rebuilds to be reduced when a change happens in headers. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: https://lkml.kernel.org/n/tip-ph72xhl9moqa0g1hxcyud...@git.kernel.org Signed-off-by

[PATCH 16/53] perf pmu: Remove needless evsel.h include, only needs one fwd decl

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the header dependency tree. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-rc389o1z0htwukqv6ni1v...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/pmu.h | 3 ++- 1 file changed, 2 inse

[PATCH 21/53] coresight: perf: Add "sinks" group to PMU directory

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Add a "sinks" directory entry so that users can see all the sinks available in the system in a single place. Individual sink are added as they are registered with the coresight bus. Committer tests: Test built on a ubuntu 18.04 container with a cross build environment to

[PATCH 22/53] coresight: Use event attributes for sink selection

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier This patch uses the information conveyed by perf_event::attr::config2 to select a sink to use for the session. That way a sink can easily be selected to be used by more than one source, something that isn't currently possible with the sysfs implementation. Signed-off-by: M

[PATCH 26/53] perf pmu: Remove set_drv_config API

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier CoreSight was the only client of the PMU's set_drv_config() API. Now that it is no longer needed by CoreSight remove it from the code base. Signed-off-by: Mathieu Poirier Acked-by: Suzuki K Poulouse Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Alexei Starovoitov Cc: G

[PATCH v2] cpufreq: mediatek: Register an Energy Model

2019-02-06 Thread Matthias Kaehlcke
Try and register an Energy Model from mediatek-cpufreq to allow interested subsystems like the task scheduler to use the provided information. Signed-off-by: Matthias Kaehlcke --- Changes in v2: - register the EM after setting the cpumask --- drivers/cpufreq/mediatek-cpufreq.c | 2 ++ 1 file cha

[PATCH 25/53] perf coresight: Remove set_drv_config() API

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Now that the event's config2 attribute is used to communicate sink selection to the kernel, remove the old set_drv_config() implementation since it is no longer needed. Signed-off-by: Mathieu Poirier Acked-by: Suzuki K Poulouse Cc: Adrian Hunter Cc: Alexander Shishkin C

Re: [patch 2/2] scripts/spdxcheck.py: Handle special quotation mark comments

2019-02-06 Thread Sven Eckelmann
On Sunday, 20 January 2019 19.39.55 CET Joe Perches wrote: > Well, maybe checkpatch should remove the comment trailer. > --- > Miscellanea: In case you are waiting for me (haven't seen it popping up in linux-next): yes, this patch solves the problem for me. Tested-by: Sven Eckelmann Thanks,

[PATCH 30/53] perf record: Apply affinity masks when reading mmap buffers

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Alexey Budankov Build node cpu masks for mmap data buffers. Apply node cpu masks to tool thread every time it references data buffers cross node or cross cpu. Signed-off-by: Alexey Budankov Reviewed-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: Namhyung Kim Cc: Peter Zijlstr

[PATCH 31/53] perf clang: Do not use 'return std::move(something)'

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It prevents copy elision, generating this warning when building with fedora:rawhide's clang: clang version 7.0.1 (Fedora 7.0.1-2.fc30) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /usr/bin Found candidate GCC installation: /usr/bin/.

[PATCH 33/53] perf evsel: Add output_resort_cb method

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add perf_evsel__output_resort_cb() so we have an interface with a callback for each hist entry. It will be used in the following patch. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Jin Yao Cc: Kan Liang Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org

[PATCH 27/53] perf record: Allocate affinity masks

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Alexey Budankov Allocate affinity option and masks for mmap data buffers and record thread as well as initialize allocated objects. Signed-off-by: Alexey Budankov Reviewed-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kerne

[PATCH 36/53] perf cs-etm: Add last instruction information in packet

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan Decoder provides last instruction related information, these information can be used for trace analysis; specifically we can get to know what kind of branch instruction has been executed, mainly the information are contained in three element fields: last_i_type: this is significa

[PATCH 35/53] perf tools: Add documentation for BPF event selection

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Changbin Du Add documentation for how to pass a BPF program as a perf event. Signed-off-by: Changbin Du Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/20190201134651.12373-1-changbin...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf

[PATCH 34/53] perf report: Move symbol annotation to the resort phase

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Currently we make the annotation for the IPC column during the entry display, already outside of the progress bar scope, so it appears like 'perf report' is stuck. Move the annotation retrieval to the resort phase, so that all the data are ready for display. Signed-off-by: Jiri

[PATCH 38/53] perf cs-etm: Set sample flags for trace discontinuity

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan In the middle of trace stream, it might be interrupted thus the trace data is not continuous, the trace stream firstly is ended for previous trace block and restarted for next block. To display related information for showing trace is restarted, this patch set sample flags for trac

[PATCH 37/53] perf cs-etm: Set sample flags for instruction range packet

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan The perf sample data contains flags to indicate the hardware trace data is belonging to which type branch instruction, thus this can be used to print out the human readable string. Arm CoreSight ETM sample data is missed to set flags and it is always set to zeros, this results in p

[PATCH 45/53] perf tools: Fix split_kallsyms_for_kcore() for trampoline symbols

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Kallsyms symbols do not have a size, so the size becomes the distance to the next symbol. Consequently the recently added trampoline symbols end up with large sizes because the trampolines are some distance from one another and the main kernel map. However, symbols that end

[PATCH 29/53] perf tools: Add fallback versions for CPU_{OR,EQUAL}()

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo >From the glibc sources, so that we can keep the tooling buildable in older systems while using recent sched.h CPU_ macros. Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Alexey Budankov Cc: Andi Kleen Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link: ht

[PATCH 51/53] perf intel-pt: Fix CYC timestamp calculation after OVF

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter CYC packet timestamp calculation depends upon CBR which was being cleared upon overflow (OVF). That can cause errors due to failing to synchronize with sideband events. Even if a CBR change has been lost, the old CBR is still a better estimate than zero. So remove the clearing

[PATCH 53/53] perf auxtrace: Add timestamp to auxtrace errors

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The timestamp can use useful to find part of a trace that has an error without outputting all of the trace e.g. using the itrace 's' option to skip initial number of events. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Link: http://lkml.kernel.org/r/20190206103947.15750-6-adr

[PATCH 42/53] perf cs-etm: Set sample flags for exception packet

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan The exception taken and returning are typical flow for instruction jump but it needs to be handled with exception packets. This patch is to set sample flags for exception packet. Since the exception packet contains the exception number, according to the exception number this patch

[PATCH 41/53] perf cs-etm: Add traceID in packet

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan Add traceID in packet, thus we can use traceID to retrieve metadata pointer from traceID-metadata tuple. Signed-off-by: Leo Yan Reviewed-by: Mathieu Poirier Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Mike Leach Cc: Namhyung Kim Cc: Robert Walker Cc: Suzuki K Poulouse Cc: core

[PATCH 43/53] perf cs-etm: Set sample flags for exception return packet

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan When return from exception, we need to distinguish if it's system call return or for other type exceptions for setting sample flags. Due to the exception return packet doesn't contain exception number, so we cannot decide sample flags based on exception number. On the other hand,

[PATCH 48/53] perf thread-stack: Represent jmps to the start of a different symbol

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The compiler might optimize a call/ret combination by making it a jmp. However the thread-stack does not presently cater for that, so that such control flow is not visible in the call graph. Make it visible by recording on the stack a branch to the start of a different symbol.

[PATCH 52/53] perf intel-pt: Packet splitting can happen only on 32-bit

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Data is copied when the trace is stopped, so packets are never split between buffers except when processing if the buffer cannot fit in the address space which can only happen on 32-bit systems. Change the logic to reflect that. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Li

[PATCH 40/53] perf cs-etm: Change tuple from traceID-CPU# to traceID-metadata

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan If packet processing wants to know the packet is bound with which ETM version, it needs to access metadata to decide that based on metadata magic number; but we cannot simply to use CPU logic ID number as index to access metadata sequential array, especially when system have hotplug

[PATCH 39/53] perf cs-etm: Add exception number in exception packet

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Leo Yan When an exception packet comes, it contains the information for exception number; the exception number indicates the exception types, so from it we can know if the exception is taken for interrupt, system call or other traps, etc. This patch simply adds a field in cs_etm_packet str

[PATCH 50/53] perf intel-pt: Fix overlap calculation for padding

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Auxtrace records might have up to 7 bytes of padding appended. Adjust the overlap accordingly. Signed-off-by: Adrian Hunter Cc: Jiri Olsa Cc: sta...@vger.kernel.org Link: http://lkml.kernel.org/r/20190206103947.15750-3-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho

[PATCH 49/53] perf auxtrace: Define auxtrace record alignment

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Define auxtrace record alignment so that it can be referenced elsewhere. Note this is preparation for patch "perf intel-pt: Fix overlap calculation for padding" Signed-off-by: Adrian Hunter Cc: Jiri Olsa Cc: sta...@vger.kernel.org Link: http://lkml.kernel.org/r/20190206103

Re: [PATCH v4 3/3] ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for vibrator

2019-02-06 Thread Brian Masney
On Wed, Feb 06, 2019 at 10:18:22AM -0800, Dmitry Torokhov wrote: > On Tue, Feb 05, 2019 at 08:33:29PM -0500, Brian Masney wrote: > > This patch adds device device tree bindings for the vibrator found on > > the LG Nexus 5 (hammerhead) phone. > > > > Signed-off-by: Brian Masney > > This should go

[PATCH 46/53] perf thread-stack: Tidy thread_stack__push_cp() usage

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter If 'cp' is checked in thread_stack__push_cp() a number of error checks can be removed, reducing code size and improving readability. Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/20190109091835.5570-3-adrian.hun...@intel.com Signed-off-by:

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Jason Gunthorpe
On Wed, Feb 06, 2019 at 10:35:04AM -0800, Matthew Wilcox wrote: > > Admittedly, I'm coming in late to this conversation, but did I miss the > > portion where that alternative was ruled out? > > That's my preferred option too, but the preponderance of opinion leans > towards "We can't give people

[PATCH 47/53] perf thread-stack: Tidy thread_stack__no_call_return() by adding more local variables

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Make thread_stack__no_call_return() more readable by adding more local variables. Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/20190109091835.5570-4-adrian.hun...@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/thre

[PATCH 44/53] perf vendor events intel: Fix Load_Miss_Real_Latency on CLX

2019-02-06 Thread Arnaldo Carvalho de Melo
From: William Cohen Fix incorrect event names for the Load_Miss_Real_Latency metric for Cascadelake server in the same manner as commit 91b2b97025 for SKL/SKX. Signed-off-by: William Cohen Reviewed-by: Andi Kleen Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link

Re: [PATCH v2 2/5] input: misc: bma150: Use managed resources helpers

2019-02-06 Thread Dmitry Torokhov
On Sat, Feb 02, 2019 at 04:18:03PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > The driver can be cleaned up by using managed resource helpers > > Changes from v1: > - Correct devm input unregistering > > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel Applied, thank

Re: [PATCH v2 5/5] input: misc: bma150: Register input device after setting private data

2019-02-06 Thread Dmitry Torokhov
On Sat, Feb 02, 2019 at 04:18:06PM +0100, Paweł Chmiel wrote: > From: Jonathan Bakker > > Otherwise we introduce a race condition where userspace can request input > before we're ready leading to null pointer dereference such as > > input: bma150 as /devices/platform/i2c-gpio-2/i2c-5/5-0038/inpu

[PATCH 28/53] perf record: Bind the AIO user space buffers to nodes

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Alexey Budankov Allocate and bind AIO user space buffers to the memory nodes that mmap kernel buffers are bound to. Signed-off-by: Alexey Budankov Reviewed-by: Jiri Olsa Cc: Alexander Shishkin Cc: Andi Kleen Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/5a5adebc

[PATCH 32/53] perf hists: Add argument to hists__resort_cb_t callback

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add argument to hists__resort_cb_t so that we can pass data from upper layers to the callback function. It will be used in the following patches. Signed-off-by: Jiri Olsa Cc: Alexander Shishkin Cc: Jin Yao Cc: Kan Liang Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.

[PATCH 24/53] perf arm cs-etm: Use event attributes to send sink information to kernel

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier The communication of sink information for a trace session doesn't work when more than on CPU is involved in the scenario due to the static nature of sysfs. As such communicate the sink information to each event by using the perf_event::attr:config2 attribute. The informati

[PATCH 17/53] perf kvm stat: Replace kvm-stat.h includes with forward declarations

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the include header dependency tree and speed up perf builds. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-dngwaxuhfnhksawgdpo6e...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/arch/powe

[PATCH 23/53] perf pmu: Move EVENT_SOURCE_DEVICE_PATH to PMU header file

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Mathieu Poirier Move definition of EVENT_SOURCE_DEVICE_PATH to pmu.h so that it can be used by other files than pmu.c Signed-off-by: Mathieu Poirier Acked-by: Suzuki K Poulouse Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Alexei Starovoitov Cc: Greg Kroah-Hartman Cc: H. Peter Anvin

[PATCH 14/53] perf hist: Remove the needless callchain.h include from hist.h

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Nothing that is provided by callchain.h is used there, just things that should've be directly included in hist.h, such as rbtree.h and a map_symbol forward declaration. Remove it so that we reduce the headers dependency tree. Cc: Adrian Hunter Cc: Jiri Olsa Cc:

[PATCH 13/53] perf tools: Add missing include in various places

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Its getting it from hist.h and that will go away, as that header doesn't need callchain.h at all. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-6ebl3mwwiqocl79yts44q...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo

[PATCH 09/53] perf hist: Remove symbol.h from hist.h, just fwd decls are needed

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To reduce the includes dependencies. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-cmvg5ght75mmfg1efeyna...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/ui/gtk/annotate.c | 1 + tools/perf/util/au

[PATCH 10/53] perf tools: Add missing include for symbols.h

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Several places were using definitions found in symbols.h but not including it, getting it by sheer luck from some other headers that now are in the process of removing that include because they don't need it or because simply having struct forward declarations is en

[PATCH 07/53] perf map: Move structs and prototypes for map groups to a separate header

2019-02-06 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo And since machine.h only needs what is in there, make it stop including map.h and instead include this newly introduced map_groups.h instead. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-dbob25fv5rp2rjpwlnter...@git.kernel

[PATCH] kernel/futex: Fix barrier comment

2019-02-06 Thread Davidlohr Bueso
The current comment for the barrier that guarantees that waiter increment is always before taking the hb spinlock (barrier (A)) needs to be fixed. We are obviously referring to hb_waiters_inc, which is a full barrier. Reported-by: Peter Zijlstra Signed-off-by: Davidlohr Bueso --- kernel/futex.c

[PATCH v2 RESEND] tracing: probeevent: Correctly update remaining space in dynamic area

2019-02-06 Thread Andreas Ziegler
Commit 9178412ddf5a ("tracing: probeevent: Return consumed bytes of dynamic area") improved the string fetching mechanism by returning the number of required bytes after copying the argument to the dynamic area. However, this return value is now only used to increment the pointer inside the dynamic

Re: [LSF/MM ATTEND ] memory reclaim with NUMA rebalancing

2019-02-06 Thread Christopher Lameter
On Thu, 31 Jan 2019, Aneesh Kumar K.V wrote: > I would be interested in this topic too. I would like to > understand the API and how it can help exploit the different type of > devices we have on OpenCAPI. So am I. We may want to rethink the whole NUMA API and the way we handle different types of

Re: [PATCH net-next v4 05/12] mlxsw: Implement ndo_get_port_parent_id()

2019-02-06 Thread Ido Schimmel
On Wed, Feb 06, 2019 at 09:45:39AM -0800, Florian Fainelli wrote: > mlxsw implements SWITCHDEV_ATTR_ID_PORT_PARENT_ID and we want to get rid > of switchdev_ops eventually, ease that migration by implementing a > ndo_get_port_parent_id() function which returns what > switchdev_port_attr_get() would

Re: [PATCH v7 2/3] clk: clk-max77686: Clean clkdev lookup leak and use devm

2019-02-06 Thread Stephen Boyd
Quoting Matti Vaittinen (2018-12-07 03:10:15) > clk-max77686 never clean clkdev lookup at remove. This can cause > oops if clk-max77686 is removed and inserted again. Fix leak by > using new devm clkdev lookup registration. Simplify also error > path by using new devm_of_clk_add_hw_provider. > > S

Re: [PATCH v7 1/3] clkdev: add managed clkdev lookup registration

2019-02-06 Thread Stephen Boyd
Quoting Matti Vaittinen (2018-12-07 03:09:39) > Clkdev registration lacks of managed registration functions and it > seems few drivers do not drop clkdev lookups at exit. Add > devm_clk_hw_register_clkdev and devm_clk_release_clkdev to ease lookup > releasing at exit. > > Signed-off-by: Matti Vait

Re: [PATCH v7 3/3] clk: clk-st: avoid clkdev lookup leak at remove

2019-02-06 Thread Stephen Boyd
Quoting Matti Vaittinen (2018-12-07 03:10:51) > Use devm based clkdev lookup registration to avoid leaking lookup > structures. > > Signed-off-by: Matti Vaittinen > --- Applied to clk-next

Re: [PATCH V4 5/9] x86/alternative: Split text_poke_bp() into tree steps

2019-02-06 Thread Borislav Petkov
On Mon, Feb 04, 2019 at 08:58:58PM +0100, Daniel Bristot de Oliveira wrote: > text_poke_bp() updates instructions on live kernel on SMP in three steps: > 1) add a int3 trap to the address that will be patched > 2) update all but the first byte of the patched range > 3) replace the first byte (in

Re: [PATCH] Input: cap11xx - switch to using set_brightness_blocking()

2019-02-06 Thread Jacek Anaszewski
Hi Dmitry, On 2/5/19 11:20 PM, Dmitry Torokhov wrote: Updating LED state requires access to regmap and therefore we may sleep, so we could not do that directly form set_brightness() method. Historically we used private work to adjust the brightness, but with the introduction of set_brightness_bl

Re: [PATCH net-next v4 12/12] net: Get rid of SWITCHDEV_ATTR_ID_PORT_PARENT_ID

2019-02-06 Thread Ido Schimmel
On Wed, Feb 06, 2019 at 09:45:46AM -0800, Florian Fainelli wrote: > Now that we have a dedicated NDO for getting a port's parent ID, get rid > of SWITCHDEV_ATTR_ID_PORT_PARENT_ID and convert all callers to use the > NDO exclusively. This is a preliminary change to getting rid of > switchdev_ops eve

Re: [PATCH net-next v4 01/12] net: Introduce ndo_get_port_parent_id()

2019-02-06 Thread Ido Schimmel
On Wed, Feb 06, 2019 at 09:45:35AM -0800, Florian Fainelli wrote: > In preparation for getting rid of switchdev_ops, create a dedicated NDO > operation for getting the port's parent identifier. There are > essentially two classes of drivers that need to implement getting the > port's parent ID whic

[PATCH] mfd: tps68470: drop unused MODULE_DEVICE_TABLE

2019-02-06 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_TPS68470 drivers/mfd/Kconfig:bool "TI TPS68470 Power Management / LED chips" ...meaning that it currently is not being built as a module by anyone. Hence we remove the MODULE_DEVICE_TABLE since it i

Re: [PATCH] MAINTAINERS: chrome-platform: change the git tree to a chrome-platform group git tree

2019-02-06 Thread Benson Leung
Hi Enric, On Fri, Feb 01, 2019 at 10:41:33AM +0100, Enric Balletbo i Serra wrote: > Update the git tree URL for Chrome Platform drivers to point to a Chrome > Platform Group managed URL. > > Signed-off-by: Enric Balletbo i Serra Looks good to me. Applied to our chrome-platform-5.1 branch. > --

[PATCH V14 4/5] i2c: tegra: update transfer timeout

2019-02-06 Thread Sowjanya Komatineni
Tegra194 allows max of 64K bytes and Tegra186 and prior allows max of 4K bytes of transfer per packet. one sec timeout is not enough for transfers more than 10K bytes at STD bus rate. This patch updates I2C transfer timeout based on the transfer size and I2C bus rate to allow enough time during m

[PATCH V14 2/5] i2c: tegra: add bus clear Master Support

2019-02-06 Thread Sowjanya Komatineni
Bus clear feature of Tegra I2C controller helps to recover from bus hang when I2C master loses the bus arbitration due to the slave device holding SDA LOW continuously for some unknown reasons. Per I2C specification, the device that held the bus LOW should release it within 9 clock pulses. During

[PATCH V14 3/5] i2c: tegra: Add DMA support

2019-02-06 Thread Sowjanya Komatineni
This patch adds DMA support for Tegra I2C. Tegra I2C TX and RX FIFO depth is 8 words. PIO mode is used for transfer size of the max FIFO depth and DMA mode is used for transfer size higher than max FIFO depth to save CPU overhead. PIO mode needs full intervention of CPU to fill or empty FIFO's an

Re: [LSF/MM TOPIC] Discuss least bad options for resolving longterm-GUP usage by RDMA

2019-02-06 Thread Christopher Lameter
On Wed, 6 Feb 2019, Doug Ledford wrote: > > Most of the cases we want revoke for are things like truncate(). > > Shouldn't happen with a sane system, but we're trying to avoid users > > doing awful things like being able to DMA to pages that are now part of > > a different file. > > Why is the sol

[PATCH V14 1/5] i2c: tegra: sort all the include headers alphabetically

2019-02-06 Thread Sowjanya Komatineni
This patch sorts all the include headers alphabetically for the I2C Tegra driver. Acked-by: Thierry Reding Reviewed-by: Dmitry Osipenko Signed-off-by: Sowjanya Komatineni --- [V9/V10/V11/V12/V13/V14] : Rebased to 5.0-rc4 [V3/V4/V5/V7/V8] : Removed unsued headers in tegra I2C [V2]

[PATCH V14 5/5] i2c: tegra: add i2c interface timing support

2019-02-06 Thread Sowjanya Komatineni
This patch adds I2C interface timing registers support for proper bus rate configuration along with meeting the i2c spec setup and hold times based on the tuning performed on Tegra210, Tegra186 and Tegra194 platforms. I2C_INTERFACE_TIMING_0 register contains TLOW and THIGH field and Tegra I2C cont

Re: [PATCH v3 2/3] clk: loongson1: add of support

2019-02-06 Thread Stephen Boyd
Quoting Jiaxun Yang (2019-01-31 22:35:39) > This patch add of support by split the clk_hw register and > clkdev register, then handle the of clk_hw via > of_clk_hw_onecell_get. > > Signed-off-by: Jiaxun Yang Why though? There isn't any motivation here. > --- > drivers/clk/loongson1/clk-loongso

Re: [PATCH v3 1/3] clk: loongson1: add configuration option for loongson1 clks

2019-02-06 Thread Stephen Boyd
Quoting Jiaxun Yang (2019-01-31 22:35:38) > diff --git a/drivers/clk/loongson1/Kconfig b/drivers/clk/loongson1/Kconfig > new file mode 100644 > index ..e2220332d797 > --- /dev/null > +++ b/drivers/clk/loongson1/Kconfig > @@ -0,0 +1,27 @@ > +menu "Loongson-1 Clock drivers" > + depe

Re: [PATCH] clk: gemini: Variable "val" in function gemini_clk_probe() could be uninitialized

2019-02-06 Thread Stephen Boyd
Quoting Yizhuo (2019-01-26 21:10:12) > In function gemini_clk_probe(), local variable "val" could > be uninitialized if function regmap_read() returns -EINVAL. > However, it will be used as index in the later context, which > could potentially be unsafe. Ok. How did you find this? Any pointers? >

Re: [PATCH v2 5/5] input: misc: bma150: Register input device after setting private data

2019-02-06 Thread Dmitry Torokhov
On Wed, Feb 06, 2019 at 10:53:07AM -0800, Dmitry Torokhov wrote: > On Sat, Feb 02, 2019 at 04:18:06PM +0100, Paweł Chmiel wrote: > > From: Jonathan Bakker > > > > Otherwise we introduce a race condition where userspace can request input > > before we're ready leading to null pointer dereference s

Re: [PATCH v4 01/12] Documentation: Document arm64 kpti control

2019-02-06 Thread Jeremy Linton
Hi, I just realized I replied to this off-list. On 01/30/2019 12:02 PM, Andre Przywara wrote: On Fri, 25 Jan 2019 12:07:00 -0600 Jeremy Linton wrote: Hi, For a while Arm64 has been capable of force enabling or disabling the kpti mitigations. Lets make sure the documentation reflects that.

Re: 4.14 "random: add a config option to trust the CPU's hwrng"

2019-02-06 Thread Sasha Levin
On Wed, Feb 06, 2019 at 11:44:36AM +, Rantala, Tommi T. (Nokia - FI/Espoo) wrote: Hi stable maintainers, Can you consider including these "random" patches in 4.14.y? These are very useful in fixing esp. first-bootup delays of VMs due to entropy starvation. commit 39a8883a2b989d1d21bd8dd9

Re: [PATCH v2] mfd: cros_ec_dev: Return number of bytes read with CROS_EC_DEV_IOCRDMEM

2019-02-06 Thread Benson Leung
On Wed, Feb 06, 2019 at 06:39:59PM +0100, Enric Balletbo i Serra wrote: > From: Guenter Roeck > > While ioctls normally return a negative error or 0 on success, this is not > the case for CROS_EC_DEV_IOCXCMD in the cros_ec driver, which returns the > number of bytes read instead. However, CROS_EC

Re: [PATCH tip/core/rcu 0/19] SPDX changes for v5.1

2019-02-06 Thread Joe Perches
On Wed, 2019-02-06 at 05:16 -0800, Paul E. McKenney wrote: > Hello! Hi. > This series makes SPDX and email-address changes to RCU source files. .h files are supposed to use /* SPDX-License-Identifier: ... */ Documentation/process/license-rules.rst: C source: // SPDX-License-Identifier: D

[PATCH] drm/doc: Remove solved "VBlank issues"

2019-02-06 Thread Shayenne Moura
Remove the list of broken tests on VKMS solved by patchset https://patchwork.freedesktop.org/series/55994/ Signed-off-by: Shayenne Moura --- Documentation/gpu/vkms.rst | 11 --- 1 file changed, 11 deletions(-) diff --git a/Documentation/gpu/vkms.rst b/Documentation/gpu/vkms.rst index 7d

Re: [PATCH v3 2/3] drm/i915: Don't send MST hotplugs during resume

2019-02-06 Thread Ville Syrjälä
On Tue, Jan 29, 2019 at 02:10:00PM -0500, Lyude Paul wrote: > We have a bad habit of calling drm_fb_helper_hotplug_event() far more > then we actually need to. MST appears to be one of these cases, where we > call drm_fb_helper_hotplug_event() if we fail to resume a connected MST > topology in inte

[PULL] virtio: fixes

2019-02-06 Thread Michael S. Tsirkin
The following changes since commit 49a57857aeea06ca831043acbb0fa5e0f50602fd: Linux 5.0-rc3 (2019-01-21 13:14:44 +1300) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus for you to fetch changes up to 9c0644ee4aa8792f1e60a2b014

Re: [Intel-gfx] [PATCH v3 3/3] drm/i915: Don't send hotplug in intel_dp_check_mst_status()

2019-02-06 Thread Ville Syrjälä
On Tue, Jan 29, 2019 at 02:10:01PM -0500, Lyude Paul wrote: > This hotplug also isn't needed: drm_dp_mst_topology_mgr_set_mst() > already sends a hotplug on its own from drm_dp_destroy_connector_work() > after destroying connectors in the MST topology. > > Signed-off-by: Lyude Paul > Cc: Imre Dea

<    2   3   4   5   6   7   8   9   10   >