Re: [PATCH] perf stat: fix cvs output format

2018-03-05 Thread Jiri Olsa
On Mon, Mar 05, 2018 at 10:43:53PM -0800, Cong Wang wrote: > From: Ilya Pronin > > When printing stats in CSV mode, perf stat appends extra CSV > separators when counter is not supported: > > supported>,,L1-dcache-store-misses,mesos/bd442f34-2b4a-47df-b966-9b281f9f56fc,0,100.00 > > which c

Re: [PATCH v4 3/3] mm/free_pcppages_bulk: prefetch buddy while not holding lock

2018-03-05 Thread Vlastimil Babka
On 03/05/2018 12:41 PM, Aaron Lu wrote: > On Fri, Mar 02, 2018 at 06:55:25PM +0100, Vlastimil Babka wrote: >> On 03/01/2018 03:00 PM, Michal Hocko wrote: >>> >>> I am really surprised that this has such a big impact. >> >> It's even stranger to me. Struct page is 64 bytes these days, exactly a >> a

Re: [PATCH v2 0/2] perf sched map: re-annotate shortname if thread comm changed

2018-03-05 Thread Jiri Olsa
On Tue, Mar 06, 2018 at 11:37:35AM +0800, changbin...@intel.com wrote: > From: Changbin Du > > v2: > o add a patch to move thread::shortname to thread_runtime > o add function perf_sched__process_comm() to process PERF_RECORD_COMM event. > > Changbin Du (2): > perf sched: move thread::shor

Re: [PATCH] perf report: Provide libtraceevent with a kernel symbol resolver

2018-03-05 Thread Wang YanQing
On Thu, Feb 08, 2018 at 01:20:31PM +0100, Jiri Olsa wrote: > On Mon, Jan 15, 2018 at 12:47:32PM +0800, Wang YanQing wrote: > > So that beautifiers wanting to resolve kernel function addresses to > > names can do its work, and when we use "perf report" for output of > > "perf kmem record", we will g

[PATCH v4 2/3] Input: gpio-keys - allow setting wakeup event action in DT

2018-03-05 Thread Jeffy Chen
Allow specifying event actions to trigger wakeup when using the gpio-keys input device as a wakeup source. Reviewed-by: Rob Herring Signed-off-by: Jeffy Chen --- Changes in v4: None Changes in v3: None Changes in v2: Specify wakeup event action instead of irq trigger type as Brian suggested.

[PATCH v4 3/3] arm64: dts: rockchip: kevin: Avoid wakeup when inserting the pen

2018-03-05 Thread Jeffy Chen
Add wakeup event action for Pen Insert gpio key, to avoid wakeup when inserting the pen. Signed-off-by: Jeffy Chen Tested-by: Enric Balletbo i Serra --- Changes in v4: Include dt-binding gpio-keys.h Changes in v3: None Changes in v2: Specify wakeup event action instead of irq trigger type as B

Re: [PATCH 1/3 RESEND] tpm: add longer timeouts for creation commands.

2018-03-05 Thread Jarkko Sakkinen
On Mon, Mar 05, 2018 at 01:09:09PM +, Winkler, Tomas wrote: > Why you need cover letter? What are u missing in the patch description If you submit a *patch set* I *require* a cover letter, yes. /Jarkko

[PATCH v4 1/3] Input: gpio-keys - add support for wakeup event action

2018-03-05 Thread Jeffy Chen
Add support for specifying event actions to trigger wakeup when using the gpio-keys input device as a wakeup source. This would allow the device to configure when to wakeup the system. For example a gpio-keys input device for pen insert, may only want to wakeup the system when ejecting the pen. S

[PATCH v4 0/3] gpio-keys: Add support for specifying wakeup event action

2018-03-05 Thread Jeffy Chen
On chromebook kevin, we are using gpio-keys for pen insert event. But we only want it to wakeup the system when ejecting the pen. So we may need to change the interrupt trigger type during suspending. Changes in v4: Add dt-binding gpio-keys.h, stop saving irq trigger type, add enable/disable wa

Re: [PATCH v3 1/3] Input: gpio-keys - add support for wakeup event action

2018-03-05 Thread JeffyChen
Hi Dmitry, Thanks for your review. On 03/06/2018 08:30 AM, Dmitry Torokhov wrote: >+ switch (button->wakeup_event_action) { >+ case EV_ACT_ASSERTED: >+ bdata->wakeup_trigger_type = active_low ? >+ IRQF_TRIGGER_FALLING : IRQF_TRIGGE

Re: [PATCH 8/9] drm/xen-front: Implement GEM operations

2018-03-05 Thread Oleksandr Andrushchenko
On 03/06/2018 09:26 AM, Daniel Vetter wrote: On Mon, Mar 05, 2018 at 03:46:07PM +0200, Oleksandr Andrushchenko wrote: On 03/05/2018 11:32 AM, Daniel Vetter wrote: On Wed, Feb 21, 2018 at 10:03:41AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Implement GEM handling dep

Re: [PATCH 1/4] drm/atomic: integrate modeset lock with private objects

2018-03-05 Thread Daniel Vetter
On Tue, Mar 06, 2018 at 08:29:20AM +0100, Daniel Vetter wrote: > On Wed, Feb 21, 2018 at 04:19:40PM +0100, Maarten Lankhorst wrote: > > Hey, > > > > Op 21-02-18 om 15:37 schreef Rob Clark: > > > Follow the same pattern of locking as with other state objects. This > > > avoids boilerplate in the d

Re: [PATCH 1/4] drm/atomic: integrate modeset lock with private objects

2018-03-05 Thread Daniel Vetter
On Wed, Feb 21, 2018 at 06:36:54PM +0200, Ville Syrjälä wrote: > On Wed, Feb 21, 2018 at 11:17:21AM -0500, Rob Clark wrote: > > On Wed, Feb 21, 2018 at 10:54 AM, Ville Syrjälä > > wrote: > > > On Wed, Feb 21, 2018 at 10:36:06AM -0500, Rob Clark wrote: > > >> On Wed, Feb 21, 2018 at 10:27 AM, Ville

Re: [PATCH v4 15/38] drm/bridge: analogix_dp: Ensure edp is disabled when shutting down the panel

2018-03-05 Thread Marek Szyprowski
Hi All, This is the patch, which introduces the issue I've pointed here: https://lists.freedesktop.org/archives/dri-devel/2018-March/167794.html On 2018-03-05 23:23, Enric Balletbo i Serra wrote: From: Lin Huang When panel is shut down, we should make sure edp can be disabled to avoid undefi

Re: [PATCH 1/4] drm/atomic: integrate modeset lock with private objects

2018-03-05 Thread Daniel Vetter
On Wed, Feb 21, 2018 at 09:37:21AM -0500, Rob Clark wrote: > Follow the same pattern of locking as with other state objects. This > avoids boilerplate in the driver. > > Signed-off-by: Rob Clark Please also adjust the kernel doc, and I think we can remove the locking WARN_ON in drm_atomic_get_m

Re: [PATCH 7/9] drm/xen-front: Implement KMS/connector handling

2018-03-05 Thread Oleksandr Andrushchenko
On 03/06/2018 09:22 AM, Daniel Vetter wrote: On Mon, Mar 05, 2018 at 02:59:23PM +0200, Oleksandr Andrushchenko wrote: On 03/05/2018 11:23 AM, Daniel Vetter wrote: On Wed, Feb 21, 2018 at 10:03:40AM +0200, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Implement kernel modesetii

Re: [PATCH 1/4] drm/atomic: integrate modeset lock with private objects

2018-03-05 Thread Daniel Vetter
On Wed, Feb 21, 2018 at 04:19:40PM +0100, Maarten Lankhorst wrote: > Hey, > > Op 21-02-18 om 15:37 schreef Rob Clark: > > Follow the same pattern of locking as with other state objects. This > > avoids boilerplate in the driver. > I'm afraid this will prohibit any uses of this on i915, since it s

Re: [PATCH 8/9] drm/xen-front: Implement GEM operations

2018-03-05 Thread Daniel Vetter
On Mon, Mar 05, 2018 at 03:46:07PM +0200, Oleksandr Andrushchenko wrote: > On 03/05/2018 11:32 AM, Daniel Vetter wrote: > > On Wed, Feb 21, 2018 at 10:03:41AM +0200, Oleksandr Andrushchenko wrote: > > > From: Oleksandr Andrushchenko > > > > > > Implement GEM handling depending on driver mode of o

Re: [PATCH 7/9] drm/xen-front: Implement KMS/connector handling

2018-03-05 Thread Daniel Vetter
On Mon, Mar 05, 2018 at 02:59:23PM +0200, Oleksandr Andrushchenko wrote: > On 03/05/2018 11:23 AM, Daniel Vetter wrote: > > On Wed, Feb 21, 2018 at 10:03:40AM +0200, Oleksandr Andrushchenko wrote: > > > From: Oleksandr Andrushchenko > > > > > > Implement kernel modesetiing/connector handling usin

[GIT PULL] siginfo fix for v4.16-rc5

2018-03-05 Thread Eric W. Biederman
Linus, Please pull the siginfo-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git siginfo-linus HEAD: f6a015498dcaee72f80283cb7873d88deb07129c signal/x86: Include the field offsets in the build time checks The kbuild test robot foun

[RFC PATCH] irqchip/gic-v3-its: handle wrapped case in its_wait_for_range_completion()

2018-03-05 Thread Yang Yingliang
From: Yang Yingliang While cpus posting a bunch of ITS commands, the cmd_queue and rd_idx will be wrapped easily. And current way of handling wrapped case is not quite right. Such as, in direct case, rd_idx will wrap if other cpus post commands that make rd_idx increase. When rd_idx wrapped, the

[PATCHv2 2/2] zram: drop max_zpage_size and use zs_huge_class_size()

2018-03-05 Thread Sergey Senozhatsky
This patch removes ZRAM's enforced "huge object" value and uses zsmalloc huge-class watermark instead, which makes more sense. TEST - I used a 1G zram device, LZO compression back-end, original data set size was 444MB. Looking at zsmalloc classes stats the test ended up to be pretty fair. BAS

[PATCHv2 0/2] zsmalloc/zram: drop zram's max_zpage_size

2018-03-05 Thread Sergey Senozhatsky
Hello, ZRAM's max_zpage_size is a bad thing. It forces zsmalloc to store normal objects as huge ones, which results in bigger zsmalloc memory usage. Drop it and use actual zsmalloc huge-class value when decide if the object is huge or not. Sergey Senozhatsky (2): zsmalloc: introduce zs_

[PATCHv2 1/2] zsmalloc: introduce zs_huge_class_size() function

2018-03-05 Thread Sergey Senozhatsky
Not every object can be share its zspage with other objects, e.g. when the object is as big as zspage or nearly as big a zspage. For such objects zsmalloc has a so called huge class - every object which belongs to huge class consumes the entire zspage (which consists of a physical page). On x86_64,

Re: [PATCH 07/34] x86/entry/32: Restore segments before int registers

2018-03-05 Thread Ingo Molnar
* H. Peter Anvin wrote: > On NX-enabled hardware NX works with PDE, but the PDPDT in general doesn't > have permission bits (it's really more of a set of four CR3s than a page > table level.) The 4 PDPDT entries are also shadowed in the CPU and are only refreshed on CR3 loads, not spontaneously

Re: [PATCH 3/3] vfio/pci: Add ioeventfd support

2018-03-05 Thread kbuild test robot
Hi Alex, I love your patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.16-rc4 next-20180306] [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/linux/c

[tip:perf/core] perf mmap: Discard legacy interfaces for mmap read forward

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 6afad54d2f0ddebacfcf3b829147d7fed8dab298 Gitweb: https://git.kernel.org/tip/6afad54d2f0ddebacfcf3b829147d7fed8dab298 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:11 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:51:10 -0300 perf mmap: Discard

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for task-exit

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 759487307625cd44ac4aa241ee547b52b72bc4ad Gitweb: https://git.kernel.org/tip/759487307625cd44ac4aa241ee547b52b72bc4ad Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:10 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:51:00 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for switch-tracking

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: ee4024ff858211316c4824b16bea446f08765ae8 Gitweb: https://git.kernel.org/tip/ee4024ff858211316c4824b16bea446f08765ae8 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:09 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:50:50 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for sw-clock

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 5d0007cdfc6612788badceb276156d6ccb30b6de Gitweb: https://git.kernel.org/tip/5d0007cdfc6612788badceb276156d6ccb30b6de Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:08 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:50:37 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for time-to-tsc

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 9dfb85dfaffe6bc38f0c9f8a8622e2a7ca333e58 Gitweb: https://git.kernel.org/tip/9dfb85dfaffe6bc38f0c9f8a8622e2a7ca333e58 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:07 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:50:23 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for perf-record

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 88e37a4bbe6e05fd5ad103738c542658b81e76ea Gitweb: https://git.kernel.org/tip/88e37a4bbe6e05fd5ad103738c542658b81e76ea Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:06 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:50:21 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for tp fields

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 1d1b5632ed0b797721a409bbed718d85384168a2 Gitweb: https://git.kernel.org/tip/1d1b5632ed0b797721a409bbed718d85384168a2 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:05 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:49:59 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for mmap-basic

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 334f823e2ab58b3c0e58fa71321680382c5f60ff Gitweb: https://git.kernel.org/tip/334f823e2ab58b3c0e58fa71321680382c5f60ff Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:04 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:49:37 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for "keep tracking" test

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 693d32aebf857ef1d1803b08ef1b631990ae3747 Gitweb: https://git.kernel.org/tip/693d32aebf857ef1d1803b08ef1b631990ae3747 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:03 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:49:01 -0300 perf test: Switch

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for 'code reading' test

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 00fc2460e735fa0f6add802c7426273e7dbc2b27 Gitweb: https://git.kernel.org/tip/00fc2460e735fa0f6add802c7426273e7dbc2b27 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:02 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:48:36 -0300 perf test: Switch

[tip:perf/core] perf python: Switch to new perf_mmap__read_event() interface

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 35b7cdc6379ea8300161f0f80fe8aad083a1c5d0 Gitweb: https://git.kernel.org/tip/35b7cdc6379ea8300161f0f80fe8aad083a1c5d0 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:00 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:47:07 -0300 perf python: Switc

[tip:perf/core] perf test: Switch to new perf_mmap__read_event() interface for bpf

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 2f54f3a4733c0cd857992d793af5e8321b281012 Gitweb: https://git.kernel.org/tip/2f54f3a4733c0cd857992d793af5e8321b281012 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:09:01 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:47:54 -0300 perf test: Switch

[tip:perf/core] perf trace: Switch to new perf_mmap__read_event() interface

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: d7f55c62e63461c4071afe8730851e406935d960 Gitweb: https://git.kernel.org/tip/d7f55c62e63461c4071afe8730851e406935d960 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:08:59 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:41:59 -0300 perf trace: Switch

[tip:perf/core] perf record: Fix crash in pipe mode

2018-03-05 Thread tip-bot for Jiri Olsa
Commit-ID: ad46e48c65fa1f204fa29eaff1b91174d314a94b Gitweb: https://git.kernel.org/tip/ad46e48c65fa1f204fa29eaff1b91174d314a94b Author: Jiri Olsa AuthorDate: Fri, 2 Mar 2018 17:13:54 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:45 -0300 perf record: Fix c

[tip:perf/core] perf kvm: Switch to new perf_mmap__read_event() interface

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 53172f9057e92c9b27f0bbf2a46827d87f12b0d2 Gitweb: https://git.kernel.org/tip/53172f9057e92c9b27f0bbf2a46827d87f12b0d2 Author: Kan Liang AuthorDate: Thu, 1 Mar 2018 18:08:58 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 10:41:36 -0300 perf kvm: Switch t

[tip:perf/core] perf annotate: Find 'call' instruction target symbol at parsing time

2018-03-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 696703af37a28892db89ff6a6d0cdfde6fb803ab Gitweb: https://git.kernel.org/tip/696703af37a28892db89ff6a6d0cdfde6fb803ab Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 2 Mar 2018 11:59:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:45 -0300 per

[tip:perf/core] perf record: Throttle user defined frequencies to the maximum allowed

2018-03-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b09c2364a4dc2a67e640c2b839d936302815693f Gitweb: https://git.kernel.org/tip/b09c2364a4dc2a67e640c2b839d936302815693f Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 1 Mar 2018 14:52:50 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:44 -0300 per

[tip:perf/core] perf top browser: Show sample_freq in browser title line

2018-03-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a9980a6dbb9efd154b032ad729c869784302f361 Gitweb: https://git.kernel.org/tip/a9980a6dbb9efd154b032ad729c869784302f361 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 1 Mar 2018 14:22:12 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:43 -0300 per

[tip:perf/core] perf top: Allow asking for the maximum allowed sample rate

2018-03-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7831bf236505bcb2a0a1255e7f3e902a0cb732d6 Gitweb: https://git.kernel.org/tip/7831bf236505bcb2a0a1255e7f3e902a0cb732d6 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 1 Mar 2018 14:25:56 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:44 -0300 per

[tip:perf/core] perf record: Allow asking for the maximum allowed sample rate

2018-03-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 67230479b2304be99e9451ee171aa288a112ea16 Gitweb: https://git.kernel.org/tip/67230479b2304be99e9451ee171aa288a112ea16 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 1 Mar 2018 13:46:23 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:43 -0300 per

[PATCH] perf stat: fix cvs output format

2018-03-05 Thread Cong Wang
From: Ilya Pronin When printing stats in CSV mode, perf stat appends extra CSV separators when counter is not supported: ,,L1-dcache-store-misses,mesos/bd442f34-2b4a-47df-b966-9b281f9f56fc,0,100.00 which causes a failure of parsing fields. The numbers of separators is fixed for each line, n

[tip:perf/core] perf tests: Switch trace+probe_libc_inet_pton to use record

2018-03-05 Thread tip-bot for Jiri Olsa
Commit-ID: a18ee796f8af5569628c324700b9a34b4488 Gitweb: https://git.kernel.org/tip/a18ee796f8af5569628c324700b9a34b4488 Author: Jiri Olsa AuthorDate: Thu, 1 Mar 2018 17:52:14 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:42 -0300 perf tests: Switch

[tip:perf/core] perf tests: Rename trace+probe_libc_inet_pton to record+probe_libc_inet_pton

2018-03-05 Thread tip-bot for Jiri Olsa
Commit-ID: 4f67336870f641daa485ea504777486e24a9aece Gitweb: https://git.kernel.org/tip/4f67336870f641daa485ea504777486e24a9aece Author: Jiri Olsa AuthorDate: Thu, 1 Mar 2018 17:52:15 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:58:42 -0300 perf tests: Rename

[tip:perf/core] perf stat: Ignore error thread when enabling system-wide --per-thread

2018-03-05 Thread tip-bot for Jin Yao
Commit-ID: ab6c79b819f5a50cf41a11ebec17bef63b530333 Gitweb: https://git.kernel.org/tip/ab6c79b819f5a50cf41a11ebec17bef63b530333 Author: Jin Yao AuthorDate: Tue, 16 Jan 2018 23:43:08 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Feb 2018 11:29:21 -0300 perf stat: Ignore

[tip:perf/core] perf annotate browser: Be more robust when drawing jump arrows

2018-03-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9c04409d7f5c325233961673356ea8aced6a4ef3 Gitweb: https://git.kernel.org/tip/9c04409d7f5c325233961673356ea8aced6a4ef3 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 1 Mar 2018 11:33:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 5 Mar 2018 09:57:57 -0300 per

[tip:perf/core] perf top: Fix annoying fallback message on older kernels

2018-03-05 Thread tip-bot for Kan Liang
Commit-ID: 853745f5e6d95faaae6381c9a01dbd43de992fb3 Gitweb: https://git.kernel.org/tip/853745f5e6d95faaae6381c9a01dbd43de992fb3 Author: Kan Liang AuthorDate: Mon, 26 Feb 2018 10:17:10 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 26 Feb 2018 16:04:08 -0300 perf top: Fix an

[tip:perf/core] perf cgroup: Simplify arguments when tracking multiple events

2018-03-05 Thread tip-bot for weiping zhang
Commit-ID: 25f72f9ed88d5be86c92432fc779e2725e3506cd Gitweb: https://git.kernel.org/tip/25f72f9ed88d5be86c92432fc779e2725e3506cd Author: weiping zhang AuthorDate: Mon, 29 Jan 2018 23:48:09 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 22 Feb 2018 10:02:27 -0300 perf cgroup:

[tip:perf/core] perf stat: Use xyarray dimensions to iterate fds

2018-03-05 Thread tip-bot for Andi Kleen
Commit-ID: 42811d509d6e0b0118918ce6be346be54d8e8801 Gitweb: https://git.kernel.org/tip/42811d509d6e0b0118918ce6be346be54d8e8801 Author: Andi Kleen AuthorDate: Thu, 5 Oct 2017 19:00:28 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Feb 2018 11:36:57 -0300 perf stat: Use x

[tip:perf/core] perf kallsyms: Fix the usage on the man page

2018-03-05 Thread tip-bot for Sangwon Hong
Commit-ID: de7112868829b3286def38297848d5d2592b4a70 Gitweb: https://git.kernel.org/tip/de7112868829b3286def38297848d5d2592b4a70 Author: Sangwon Hong AuthorDate: Mon, 12 Feb 2018 04:37:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 21 Feb 2018 09:23:36 -0300 perf kallsyms

Re: [GIT PULL 00/28] perf/core improvements and fixes

2018-03-05 Thread Ingo Molnar
git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core > (2018-02-21 08:50:45 +0100) > > are available in the Git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.17-20180305 > > for you to fetch

[PATCH] cxgb3: remove VLA

2018-03-05 Thread Gustavo A. R. Silva
In preparation to enabling -Wvla, remove VLA and replace it with dynamic memory allocation. Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/chelsio/cxgb3/t3_hw.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/chelsi

Re: [PATCH] RDMA/bnxt_re/qplib_sp: Use true and false for boolean values

2018-03-05 Thread Selvin Xavier
On Tue, Mar 6, 2018 at 5:06 AM, Gustavo A. R. Silva wrote: > Assign true or false to boolean variables instead of an integer value. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Thanks. Acked-by: Selvin Xavier > --- > drivers/infiniband/hw/bnx

[PATCH] perf: correct ctx_event_type in ctx_resched()

2018-03-05 Thread Song Liu
In ctx_resched(), EVENT_FLEXIBLE should be sched_out when EVENT_PINNED is added. However, ctx_resched() calculates ctx_event_type before checking this condition. As a result, pinned events will NOT get higher priority than flexible events. The following shows this issue on an Intel CPU (where ref-

Re: [PATCH] thermal: of: Allow selection of thermal governor in DT

2018-03-05 Thread Amit Kucheria
On Tue, Mar 6, 2018 at 2:41 AM, Daniel Lezcano wrote: > On 05/03/2018 19:36, Amit Kucheria wrote: >> From: Ram Chandrasekar >> >> There is currently no way for the governor to be selected for each thermal >> zone in devicetree. This results in the default governor being used for all >> thermal zo

Re: [PATCH] spi: tegra20-slink: use true and false for boolean values

2018-03-05 Thread Laxman Dewangan
On Tuesday 06 March 2018 05:23 AM, Gustavo A. R. Silva wrote: Assign true or false to boolean variables instead of an integer value. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva Acked-by: Laxman Dewangan

Re: [PATCH v3 03/10] drivers: qcom: rpmh-rsc: log RPMH requests in FTRACE

2018-03-05 Thread kbuild test robot
/commits/Lina-Iyer/drivers-qcom-add-RPMH-communication-support/20180305-225623 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next config: arm64-allmodconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https

Re: [PATCH] thermal: of: Allow selection of thermal governor in DT

2018-03-05 Thread Amit Kucheria
On Tue, Mar 6, 2018 at 1:38 AM, Rob Herring wrote: > On Mon, Mar 5, 2018 at 12:36 PM, Amit Kucheria > wrote: >> From: Ram Chandrasekar >> >> There is currently no way for the governor to be selected for each thermal >> zone in devicetree. This results in the default governor being used for all

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-05 Thread Greentime Hu
2018-03-06 12:31 GMT+08:00 Sergey Senozhatsky : > On (03/06/18 10:50), Greentime Hu wrote: > [..] >> > Greentime Hu, you tested this on nds32. Could I use your Tested-by, >> > please? >> > >> >> Yes, please use it. :) > > Thanks. > > To be sure, is this > > Tested-by: Greentime Hu # nds32 > or >

[RFC] rcu: Prevent expedite reporting within RCU read-side section

2018-03-05 Thread Byungchul Park
Hello Paul and RCU folks, I am afraid I correctly understand and fix it. But I really wonder why sync_rcu_exp_handler() reports the quiescent state even in the case that current task is within a RCU read-side section. Do I miss something? If I correctly understand it and you agree with it, I can

Re: [PATCH v8 15/15] dt-bindings: cpufreq: Document operating-points-v2-krait-cpu

2018-03-05 Thread Sricharan R
On 3/6/2018 3:49 AM, Rob Herring wrote: > On Tue, Feb 27, 2018 at 07:37:02PM +0530, Sricharan R wrote: >> In Certain QCOM SoCs like ipq8064, apq8064, msm8960, msm8974 >> that has KRAIT processors the voltage/current value of each OPP >> varies based on the silicon variant in use. >> operating-poi

Re: [PATCH 0/3] Improve and extend checkpatch.pl Kconfig help text checks

2018-03-05 Thread Masahiro Yamada
(+To: Andrew) 2018-03-06 13:52 GMT+09:00 Ulf Magnusson : > On Sat, Feb 24, 2018 at 2:53 PM, Masahiro Yamada > wrote: >> 2018-02-23 10:30 GMT+09:00 Ulf Magnusson : >>> On Fri, Feb 16, 2018 at 10:14 PM, Joe Perches wrote: On Fri, 2018-02-16 at 21:22 +0100, Ulf Magnusson wrote: > Hello, >>

[linux-next:master 5332/5518] drivers/net/ethernet/marvell/mvpp2.c:4288:5: sparse: symbol 'mvpp2_check_hw_buf_num' was not declared. Should it be static?

2018-03-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 9c142d8a6556f069be6278ccab701039da81ad6f commit: effbf5f58d64b1d1f93cb687d9797b42f291d5fd [5332/5518] net: mvpp2: update the BM buffer free/destroy logic reproduce: # apt-get install sparse

[RFC PATCH linux-next] net: mvpp2: mvpp2_check_hw_buf_num() can be static

2018-03-05 Thread kbuild test robot
Fixes: effbf5f58d64 ("net: mvpp2: update the BM buffer free/destroy logic") Signed-off-by: Fengguang Wu --- mvpp2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvpp2.c b/drivers/net/ethernet/marvell/mvpp2.c index c7b8093..c360430 100644 --

[PATCH] kernel/memremap: Remove stale devres_free() call

2018-03-05 Thread Oliver O'Halloran
devm_memremap_pages() was re-worked in e8d513483300 to take a caller allocated struct dev_pagemap as a function parameter. A call to devres_free() was left in the error cleanup path which results in a kernel panic if the remap fails for some reason. Remove it to fix the panic and let devm_memremap_

Re: [PATCH 0/3] Improve and extend checkpatch.pl Kconfig help text checks

2018-03-05 Thread Ulf Magnusson
On Sat, Feb 24, 2018 at 2:53 PM, Masahiro Yamada wrote: > 2018-02-23 10:30 GMT+09:00 Ulf Magnusson : >> On Fri, Feb 16, 2018 at 10:14 PM, Joe Perches wrote: >>> On Fri, 2018-02-16 at 21:22 +0100, Ulf Magnusson wrote: Hello, This patchset contains some improvements for the Kconfig h

Re: [PATCH 2/3] vfio: Add support for unmanaged or userspace managed SR-IOV

2018-03-05 Thread kbuild test robot
Hi Alexander, Thank you for the patch! Yet something to improve: [auto build test ERROR on pci/next] [also build test ERROR on v4.16-rc4 next-20180305] [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/linux

RE: [PATCH 5/6] dma-mapping: support fsl-mc bus

2018-03-05 Thread Nipun Gupta
> From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Tuesday, March 06, 2018 0:22 > > On 05/03/18 18:39, Christoph Hellwig wrote: > > On Mon, Mar 05, 2018 at 03:48:32PM +, Robin Murphy wrote: > >> Unfortunately for us, fsl-mc is conceptually rather like PCI in that it's > >> software-d

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-05 Thread Sergey Senozhatsky
On (03/06/18 10:50), Greentime Hu wrote: [..] > > Greentime Hu, you tested this on nds32. Could I use your Tested-by, > > please? > > > > Yes, please use it. :) Thanks. To be sure, is this Tested-by: Greentime Hu # nds32 or Acked-by: Greentime Hu # nds32 ? -ss

Re: [PATCH] dump_stack: convert generic dump_stack into a weak symbol

2018-03-05 Thread Sergey Senozhatsky
On (03/05/18 15:48), Petr Mladek wrote: [..] > > I hope that I did not miss anything. I could not try this at > runtime. I think you can. The rules are universal, you can do on x86 something like this --- arch/x86/kernel/dumpstack.c | 13 + 1 file changed, 13 insertions(+) diff --

Re: [PATCH] acpi, nfit: remove redundant __func__ in dev_dbg

2018-03-05 Thread Ross Zwisler
On Fri, Mar 02, 2018 at 01:20:49PM +0100, Johannes Thumshirn wrote: > Dynamic debug can be instructed to add the function name to the debug > output using the +f switch, so there is no need for the nfit module to > do it again. If a user decides to add the +f switch for nfit's dynamic > debug this

Re: [PATCH 4/7] Protectable Memory

2018-03-05 Thread J Freyensee
snip . . . + +config PROTECTABLE_MEMORY +bool +depends on MMU Curious, would you also want to depend on "SECURITY" as well, as this is being advertised as a compliment to __read_only_after_init, per the file header comments, as I'm assuming ro_after_init would be disabled if the SE

Re: [PATCH] device-dax: remove redundant __func__ in dev_dbg

2018-03-05 Thread Ross Zwisler
On Mon, Mar 05, 2018 at 05:09:32PM -0800, Dan Williams wrote: > Dynamic debug can be instructed to add the function name to the debug > output using the +f switch, so there is no need for the dax modules to > do it again. If a user decides to add the +f switch for the dax modules' > dynamic debug t

Re: [PATCH] libnvdimm: remove redundant __func__ in dev_dbg

2018-03-05 Thread Ross Zwisler
On Mon, Mar 05, 2018 at 05:09:21PM -0800, Dan Williams wrote: > Dynamic debug can be instructed to add the function name to the debug > output using the +f switch, so there is no need for the libnvdimm > modules to do it again. If a user decides to add the +f switch for > libnvdimm's dynamic debug

[PATCH v2 1/2] perf sched: move thread::shortname to thread_runtime

2018-03-05 Thread changbin . du
From: Changbin Du The thread::shortname only used by sched command, so move it to sched private structure. Signed-off-by: Changbin Du --- tools/perf/builtin-sched.c | 95 +++--- tools/perf/util/thread.h | 1 - 2 files changed, 55 insertions(+), 41 del

[PATCH v2 2/2] perf sched map: re-annotate shortname if thread comm changed

2018-03-05 Thread changbin . du
From: Changbin Du This is to show the real name of thread that created via fork-exec. See below example for shortname *A0*. $ sudo ./perf sched map *A0 80393.050639 secs A0 => perf:22368 *. A0 80393.050748 secs . => swapper:0 . *.80393.050887 secs

[PATCH v2 0/2] perf sched map: re-annotate shortname if thread comm changed

2018-03-05 Thread changbin . du
From: Changbin Du v2: o add a patch to move thread::shortname to thread_runtime o add function perf_sched__process_comm() to process PERF_RECORD_COMM event. Changbin Du (2): perf sched: move thread::shortname to thread_runtime perf sched map: re-annotate shortname if thread comm changed

Re: [RESEND PATCH] perf sched map: re-annotate shortname if thread comm changed

2018-03-05 Thread Du, Changbin
I just done final version, please check v2. Thanks for your comments! On Mon, Mar 05, 2018 at 11:37:54PM +0100, Jiri Olsa wrote: > On Mon, Mar 05, 2018 at 03:11:36PM +0800, Du, Changbin wrote: > > SNIP > > > > > on the other hand it's simple enough and looks > > > > like generic solution would b

linux-next: Tree for Mar 6

2018-03-05 Thread Stephen Rothwell
Hi all, Changes since 20180305: The mali-dp tree gained a conflict against the drm-misc tree. Non-merge commits (relative to Linus' tree): 4880 5418 files changed, 202951 insertions(+), 143721 deletions(-) I

[PATCH v7 14/14] iommu/rockchip: Support sharing IOMMU between masters

2018-03-05 Thread Jeffy Chen
There would be some masters sharing the same IOMMU device. Put them in the same iommu group and share the same iommu domain. Signed-off-by: Jeffy Chen Reviewed-by: Robin Murphy --- Changes in v7: Use iommu_group_ref_get to avoid ref leak Changes in v6: None Changes in v5: None Changes in v4: N

[PATCH v7 13/14] iommu/rockchip: Add runtime PM support

2018-03-05 Thread Jeffy Chen
When the power domain is powered off, the IOMMU cannot be accessed and register programming must be deferred until the power domain becomes enabled. Add runtime PM support, and use runtime PM device link from IOMMU to master to startup and shutdown IOMMU. Signed-off-by: Jeffy Chen --- Changes i

[PATCH v7 12/14] iommu/rockchip: Fix error handling in init

2018-03-05 Thread Jeffy Chen
It's hard to undo bus_set_iommu() in the error path, so move it to the end of rk_iommu_probe(). Signed-off-by: Jeffy Chen Reviewed-by: Tomasz Figa Reviewed-by: Robin Murphy --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: Mo

[PATCH v7 11/14] iommu/rockchip: Use OF_IOMMU to attach devices automatically

2018-03-05 Thread Jeffy Chen
Converts the rockchip-iommu driver to use the OF_IOMMU infrastructure, which allows attaching master devices to their IOMMUs automatically according to DT properties. Signed-off-by: Jeffy Chen Reviewed-by: Robin Murphy --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v

[PATCH v7 10/14] iommu/rockchip: Use IOMMU device for dma mapping operations

2018-03-05 Thread Jeffy Chen
Use the first registered IOMMU device for dma mapping operations, and drop the domain platform device. This is similar to exynos iommu driver. Signed-off-by: Jeffy Chen Reviewed-by: Tomasz Figa Reviewed-by: Robin Murphy --- Changes in v7: None Changes in v6: None Changes in v5: None Changes i

Re: [PATCH 4.4 000/193] 4.4.118-stable review

2018-03-05 Thread Ben Hutchings
Patch #132 (which didn't reach the mailing list) was: > From: Arnd Bergmann > Date: Wed, 26 Oct 2016 15:55:02 -0700 > Subject: Input: tca8418_keypad - hide gcc-4.9 -Wmaybe-uninitialized warning > > commit ea4348c8462a20e8b1b6455a7145d2b86f8a49b6 upstream. This appears to introduce a regression,

[PATCH v7 09/14] dt-bindings: iommu/rockchip: Add clock property

2018-03-05 Thread Jeffy Chen
Add clock property, since we are going to control clocks in rockchip iommu driver. Signed-off-by: Jeffy Chen Reviewed-by: Rob Herring --- Changes in v7: None Changes in v6: Fix dt-binding as Robin suggested. Use aclk and iface clk as Rob and Robin suggested, and split binding patch. Changes in

[PATCH v7 07/14] ARM: dts: rockchip: add clocks in iommu nodes

2018-03-05 Thread Jeffy Chen
Add clocks in iommu nodes, since we are going to control clocks in rockchip iommu driver. Signed-off-by: Jeffy Chen --- Changes in v7: None Changes in v6: Add clk names, and modify all iommu nodes in all existing rockchip dts Changes in v5: Remove clk names. Changes in v4: None Changes in v3:

[PATCH v7 04/14] iommu/rockchip: Fix error handling in attach

2018-03-05 Thread Jeffy Chen
From: Tomasz Figa Currently if the driver encounters an error while attaching device, it will leave the IOMMU in an inconsistent state. Even though it shouldn't really happen in reality, let's just add proper error path to keep things consistent. Signed-off-by: Tomasz Figa Signed-off-by: Jeffy

[PATCH v7 08/14] iommu/rockchip: Control clocks needed to access the IOMMU

2018-03-05 Thread Jeffy Chen
From: Tomasz Figa Current code relies on master driver enabling necessary clocks before IOMMU is accessed, however there are cases when the IOMMU should be accessed while the master is not running yet, for example allocating V4L2 videobuf2 buffers, which is done by the VB2 framework using DMA map

[PATCH v7 05/14] iommu/rockchip: Use iopoll helpers to wait for hardware

2018-03-05 Thread Jeffy Chen
From: Tomasz Figa This patch converts the rockchip-iommu driver to use the in-kernel iopoll helpers to wait for certain status bits to change in registers instead of an open-coded custom macro. Signed-off-by: Tomasz Figa Signed-off-by: Jeffy Chen Reviewed-by: Robin Murphy --- Changes in v7:

[PATCH v7 06/14] iommu/rockchip: Fix TLB flush of secondary IOMMUs

2018-03-05 Thread Jeffy Chen
From: Tomasz Figa Due to the bug in current code, only first IOMMU has the TLB lines flushed in rk_iommu_zap_lines. This patch fixes the inner loop to execute for all IOMMUs and properly flush the TLB. Signed-off-by: Tomasz Figa Signed-off-by: Jeffy Chen --- Changes in v7: None Changes in v6:

Donation For Charity Work

2018-03-05 Thread Friedrich And Ann Mayrhofer
-- Good Day, My wife and I have awarded you with a donation of $ 1,000,000.00 Dollars from part of our Jackpot Lottery of 50 Million Dollars, respond with your details for claims. We await your earliest response and God Bless you. Friedrich And Ann Mayrhofer.

Re: Would you help to tell why async printk solution was not taken to upstream kernel ?

2018-03-05 Thread Steven Rostedt
On Tue, 6 Mar 2018 11:43:58 +0900 Sergey Senozhatsky wrote: > One more thing > > On (03/06/18 10:52), Sergey Senozhatsky wrote: > [..] > > > If you know the baud rate, logbuf size * console throughput is actually > > > trivial to calculate. > > It's trivial when your setup is trivial. In a le

Re: [PATCH 4.4 130/193] [media] tc358743: fix register i2c_rd/wr functions

2018-03-05 Thread Ben Hutchings
On Fri, 2018-02-23 at 19:26 +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Arnd Bergmann > > commit 3538aa6ecfb2dd727a40f9ebbbf25a0c2afe6226 upstream. [...] This introduces a regression in i2c_wr8_

Re: Would you help to tell why async printk solution was not taken to upstream kernel ?

2018-03-05 Thread Steven Rostedt
On Tue, 6 Mar 2018 11:53:50 +0900 Sergey Senozhatsky wrote: > Yes. My point was that "CPU can print one full buffer max" is not > guaranteed and not exactly true. There are ways for CPUs to break > that O(logbuf) boundary. Yes, when printk or the consoles have a bug, it can be greater than O(lo

  1   2   3   4   5   6   7   8   9   10   >