Re: [PATCH v7] Add udmabuf misc device

2018-09-10 Thread Gerd Hoffmann
On Mon, Sep 10, 2018 at 11:18:38AM +0200, Gert Wollny wrote: > Am Montag, den 10.09.2018, 10:37 +0200 schrieb Gerd Hoffmann: > ... > > > > The other question is of course, why did dma_buf_export fail for me > > > ... > > > > What exactly did you try? > > I ran > > qemu-system-x86_64

Re: [PATCH v3 2/3] dt-bindings: add bindings for mtd-concat devices

2018-09-10 Thread Rafał Miłecki
On Sat, 8 Sep 2018 at 15:14, Bernhard Frauendienst wrote: > > Document virtual mtd-concat device bindings. > > Signed-off-by: Bernhard Frauendienst > --- > .../devicetree/bindings/mtd/mtd-concat.txt| 36 +++ > 1 file changed, 36 insertions(+) > create mode 100644

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Alexey Budankov
Hi, On 10.09.2018 13:23, Jiri Olsa wrote: > On Mon, Sep 10, 2018 at 12:13:25PM +0200, Ingo Molnar wrote: >> >> * Jiri Olsa wrote: >> >>> On Mon, Sep 10, 2018 at 12:03:03PM +0200, Ingo Molnar wrote: * Jiri Olsa wrote: >> Per-CPU threading the record session would have so many

3% Loan Offer Apply Now

2018-09-10 Thread Mr. Passy Ben
ARE YOU IN NEED OF LOAN @3% INTEREST RATE FOR BUSINESS AND PRIVATE PURPOSES? IF YES: FILL AND RETURN Name:=== Amount needed:=== Duration:== country:=== Purpose:=== Mobile number

Re: [PATCH v6 03/14] PM: Introduce an Energy Model management framework

2018-09-10 Thread Rafael J. Wysocki
On Monday, September 10, 2018 12:38:05 PM CEST Quentin Perret wrote: > On Monday 10 Sep 2018 at 11:44:33 (+0200), Rafael J. Wysocki wrote: > > A kerneldoc comment would be useful here IMO. > > OK > > > > +struct em_cap_state { > > > + unsigned long frequency; /* Kilo-hertz */ > > > > I wonder

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Alexey Budankov
Hi Ingo, On 10.09.2018 12:18, Ingo Molnar wrote: > > * Alexey Budankov wrote: > >> >> Currently in record mode the tool implements trace writing serially. >> The algorithm loops over mapped per-cpu data buffers and stores >> ready data chunks into a trace file using write() system call. >>

Re: [PATCH v3] x86/vdso: Handle clock_gettime(CLOCK_TAI) in vDSO

2018-09-10 Thread Thomas Gleixner
On Sun, 9 Sep 2018, Thomas Gleixner wrote: > #ifdef BUILD_VDSO32_64 > typedef u64 gtod_long_t; > #else > typedef unsigned long gtod_long_t; > #endif > + > +struct vgtod_ts { > + gtod_long_t sec; and actually this wants to become u64 unconditionally as we need to provide the full

Re: [PATCH v6 03/14] PM: Introduce an Energy Model management framework

2018-09-10 Thread Quentin Perret
On Monday 10 Sep 2018 at 11:44:33 (+0200), Rafael J. Wysocki wrote: > A kerneldoc comment would be useful here IMO. OK > > +struct em_cap_state { > > + unsigned long frequency; /* Kilo-hertz */ > > I wonder if the "frequency" field here could be changed into something a bit > more abstract

Re: [PATCH] kernel/sched/core.c: Avoid unused variable on non-SMP configs

2018-09-10 Thread Miguel Ojeda
Hi Vincent, On Mon, Sep 10, 2018 at 9:00 AM, Vincent Guittot wrote: > On Sun, 9 Sep 2018 at 19:00, Miguel Ojeda > wrote: >> >> On Sun, Sep 9, 2018 at 6:45 PM, Borislav Petkov wrote: >> > On Sun, Sep 09, 2018 at 06:36:01PM +0200, Miguel Ojeda wrote: >> >> No, you get a different warning

Re: [PATCH] perf test: Add watchpoint test

2018-09-10 Thread Jiri Olsa
On Mon, Sep 10, 2018 at 03:28:11PM +0530, Ravi Bangoria wrote: > We don't have perf test available to test watchpoint functionality. > Add simple set of tests: > - Read only watchpoint > - Write only watchpoint > - Read / Write watchpoint > - Runtime watchpoint modification > > Ex on

Re: [PATCH v6 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-09-10 Thread Rafael J. Wysocki
On Monday, September 10, 2018 12:07:21 PM CEST Quentin Perret wrote: > On Monday 10 Sep 2018 at 11:53:58 (+0200), Rafael J. Wysocki wrote: > > On Monday, August 20, 2018 11:44:16 AM CEST Quentin Perret wrote: > > > Schedutil aggregates the PELT signals of CFS, RT, DL and IRQ in order > > > to

Re: [PATCH 5/5] MAINTAINERS: Add Lukas Wunner as co-maintainer of thunderbolt

2018-09-10 Thread Lukas Wunner
On Mon, Sep 10, 2018 at 12:33:33PM +0300, Mika Westerberg wrote: > The reason for making the driver less verbose comes from direct feedback > from the community. For example: > > https://lkml.org/lkml/2017/10/31/864 I am not opposed to muting messages to KERN_DEBUG severity which merely report

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Jiri Olsa
On Mon, Sep 10, 2018 at 12:13:25PM +0200, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > On Mon, Sep 10, 2018 at 12:03:03PM +0200, Ingo Molnar wrote: > > > > > > * Jiri Olsa wrote: > > > > > > > > Per-CPU threading the record session would have so many other > > > > > advantages as well

Re: [PATCH v3 2/2] ARM: s3c24xx: Correct SD card write protect detection on Mini2440

2018-09-10 Thread Krzysztof Kozlowski
On Fri, 7 Sep 2018 at 23:53, Cedric Roux wrote: > > The mini2440 computer uses "active high" to signal that the "write protect" > of the inserted MMC is set. The current code uses the opposite, leading to > a wrong detection of write protection. The solution is simply to use > ".wprotect_invert =

[tip:sched/core] sched/numa: Remove unused numa_stats::nr_running field

2018-09-10 Thread tip-bot for Vincent Guittot
Commit-ID: 7477a3504e619768c9e972dafe2907e6b8ed9823 Gitweb: https://git.kernel.org/tip/7477a3504e619768c9e972dafe2907e6b8ed9823 Author: Vincent Guittot AuthorDate: Wed, 29 Aug 2018 15:19:10 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:56 +0200 sched/numa: Remove

[tip:sched/core] sched/numa: Remove unused code from update_numa_stats()

2018-09-10 Thread tip-bot for Vincent Guittot
Commit-ID: d90707ebebe03596e19de3abbf79b766e72a3465 Gitweb: https://git.kernel.org/tip/d90707ebebe03596e19de3abbf79b766e72a3465 Author: Vincent Guittot AuthorDate: Wed, 29 Aug 2018 15:19:09 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:55 +0200 sched/numa: Remove

[tip:sched/core] sched/core: Disable SD_PREFER_SIBLING on asymmetric CPU capacity domains

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: 9c63e84db29bcf584040931ad97c2edd11e35f6c Gitweb: https://git.kernel.org/tip/9c63e84db29bcf584040931ad97c2edd11e35f6c Author: Morten Rasmussen AuthorDate: Wed, 4 Jul 2018 11:17:50 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:54 +0200 sched/core: Disable

Re: [RESEND PATCH v2 1/3] mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories

2018-09-10 Thread Tudor Ambarus
Marek, On 09/07/2018 11:31 PM, Marek Vasut wrote: > On 09/07/2018 10:51 AM, Tudor Ambarus wrote: >> Thanks Marek, >> >> On 09/03/2018 08:37 PM, Marek Vasut wrote: >>> On 08/27/2018 12:26 PM, Tudor Ambarus wrote: >>> [...] >>> +/* JEDEC JESD216B Standard imposes erase sizes to be power of 2.

[tip:sched/core] sched/fair: Don't move tasks to lower capacity CPUs unless necessary

2018-09-10 Thread tip-bot for Chris Redpath
Commit-ID: 4ad3831a9d4af5e36da5d44a3b9c6522d0353cee Gitweb: https://git.kernel.org/tip/4ad3831a9d4af5e36da5d44a3b9c6522d0353cee Author: Chris Redpath AuthorDate: Wed, 4 Jul 2018 11:17:48 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:53 +0200 sched/fair: Don't move

[tip:sched/core] sched/fair: Set rq->rd->overload when misfit

2018-09-10 Thread tip-bot for Valentin Schneider
Commit-ID: 757ffdd705ee942fc8150b17942d968601d2a15b Gitweb: https://git.kernel.org/tip/757ffdd705ee942fc8150b17942d968601d2a15b Author: Valentin Schneider AuthorDate: Wed, 4 Jul 2018 11:17:47 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:53 +0200 sched/fair: Set

[tip:sched/core] sched/fair: Wrap rq->rd->overload accesses with READ/WRITE_ONCE()

2018-09-10 Thread tip-bot for Valentin Schneider
Commit-ID: e90c8fe15a3bf93a23088bcf1a56a0fa391d4e50 Gitweb: https://git.kernel.org/tip/e90c8fe15a3bf93a23088bcf1a56a0fa391d4e50 Author: Valentin Schneider AuthorDate: Wed, 4 Jul 2018 11:17:46 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:52 +0200 sched/fair: Wrap

[tip:sched/core] sched/fair: Change 'prefer_sibling' type to bool

2018-09-10 Thread tip-bot for Valentin Schneider
Commit-ID: dbbad719449e06d73db21598d6eee178f7a54b3b Gitweb: https://git.kernel.org/tip/dbbad719449e06d73db21598d6eee178f7a54b3b Author: Valentin Schneider AuthorDate: Wed, 4 Jul 2018 11:17:44 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:51 +0200 sched/fair: Change

[tip:sched/core] sched/core: Change root_domain->overload type to int

2018-09-10 Thread tip-bot for Valentin Schneider
Commit-ID: 575638d1047eb057a5cdf95cc0b3c084e1279508 Gitweb: https://git.kernel.org/tip/575638d1047eb057a5cdf95cc0b3c084e1279508 Author: Valentin Schneider AuthorDate: Wed, 4 Jul 2018 11:17:45 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:52 +0200 sched/core: Change

[tip:sched/core] sched/fair: Consider misfit tasks when load-balancing

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: cad68e552e7774b68ae6a2c5fedb792936098b72 Gitweb: https://git.kernel.org/tip/cad68e552e7774b68ae6a2c5fedb792936098b72 Author: Morten Rasmussen AuthorDate: Wed, 4 Jul 2018 11:17:42 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:50 +0200 sched/fair: Consider

[tip:sched/core] sched/fair: Kick nohz balance if rq->misfit_task_load

2018-09-10 Thread tip-bot for Valentin Schneider
Commit-ID: 5fbdfae5221a5208ed8e7653fc1c4b31de420f74 Gitweb: https://git.kernel.org/tip/5fbdfae5221a5208ed8e7653fc1c4b31de420f74 Author: Valentin Schneider AuthorDate: Wed, 4 Jul 2018 11:17:43 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:51 +0200 sched/fair: Kick

[tip:sched/core] sched/fair: Add 'group_misfit_task' load-balance type

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: 3b1baa6496e6b7ad016342a9d256bdfb072ce902 Gitweb: https://git.kernel.org/tip/3b1baa6496e6b7ad016342a9d256bdfb072ce902 Author: Morten Rasmussen AuthorDate: Wed, 4 Jul 2018 11:17:40 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:49 +0200 sched/fair: Add

[tip:sched/core] sched/fair: Add sched_group per-CPU max capacity

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: e3d6d0cb66f2351cbfd09fbae04eb9804afe9577 Gitweb: https://git.kernel.org/tip/e3d6d0cb66f2351cbfd09fbae04eb9804afe9577 Author: Morten Rasmussen AuthorDate: Wed, 4 Jul 2018 11:17:41 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:49 +0200 sched/fair: Add

[tip:sched/core] sched/topology: Add static_key for asymmetric CPU capacity optimizations

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: df054e8445a4011e3d693c2268129c0456108663 Gitweb: https://git.kernel.org/tip/df054e8445a4011e3d693c2268129c0456108663 Author: Morten Rasmussen AuthorDate: Wed, 4 Jul 2018 11:17:39 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:48 +0200 sched/topology: Add

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Ingo Molnar
* Jiri Olsa wrote: > On Mon, Sep 10, 2018 at 12:03:03PM +0200, Ingo Molnar wrote: > > > > * Jiri Olsa wrote: > > > > > > Per-CPU threading the record session would have so many other > > > > advantages as well (scalability, > > > > etc.). > > > > > > > > Jiri did per-CPU recording

[tip:sched/core] sched/topology, arch/arm: Rebuild sched_domain hierarchy when CPU capacity changes

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: e1799a80a4f5a463f252b7325da8bb66dfd55471 Gitweb: https://git.kernel.org/tip/e1799a80a4f5a463f252b7325da8bb66dfd55471 Author: Morten Rasmussen AuthorDate: Fri, 20 Jul 2018 14:32:34 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:48 +0200 sched/topology,

[tip:sched/core] sched/topology, drivers/base/arch_topology: Rebuild the sched_domain hierarchy when capacities change

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: bb1fbdd3c3fd12b612c7d8cdf13bd6bfeebdefa3 Gitweb: https://git.kernel.org/tip/bb1fbdd3c3fd12b612c7d8cdf13bd6bfeebdefa3 Author: Morten Rasmussen AuthorDate: Fri, 20 Jul 2018 14:32:32 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:47 +0200 sched/topology,

[tip:sched/core] sched/topology, arch/arm64: Rebuild the sched_domain hierarchy when the CPU capacity changes

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: 3ba09df4b8b6e3f01ed6381e8fb890840fd0bca3 Gitweb: https://git.kernel.org/tip/3ba09df4b8b6e3f01ed6381e8fb890840fd0bca3 Author: Morten Rasmussen AuthorDate: Fri, 20 Jul 2018 14:32:33 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:47 +0200 sched/topology,

[tip:sched/core] sched/topology: Add SD_ASYM_CPUCAPACITY flag detection

2018-09-10 Thread tip-bot for Morten Rasmussen
Commit-ID: 05484e0984487d42e97c417cbb0697fa9d16e7e9 Gitweb: https://git.kernel.org/tip/05484e0984487d42e97c417cbb0697fa9d16e7e9 Author: Morten Rasmussen AuthorDate: Fri, 20 Jul 2018 14:32:31 +0100 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 11:05:45 +0200 sched/topology: Add

[tip:sched/core] sched/fair: Fix kernel-doc notation warning

2018-09-10 Thread tip-bot for Randy Dunlap
Commit-ID: 882a78a9f39f5535b209b4aa0a1741e35b8c67fb Gitweb: https://git.kernel.org/tip/882a78a9f39f5535b209b4aa0a1741e35b8c67fb Author: Randy Dunlap AuthorDate: Mon, 3 Sep 2018 12:53:17 -0700 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:31:37 +0200 sched/fair: Fix kernel-doc

[tip:locking/core] locking/rwsem: Exit read lock slowpath if queue empty & no writer

2018-09-10 Thread tip-bot for Waiman Long
Commit-ID: 4b486b535c33ef354ecf02a2650919004fd7d2b0 Gitweb: https://git.kernel.org/tip/4b486b535c33ef354ecf02a2650919004fd7d2b0 Author: Waiman Long AuthorDate: Tue, 24 Jul 2018 15:10:25 -0400 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:16:39 +0200 locking/rwsem: Exit read

[tip:locking/core] jump_label: Fix typo in warning message

2018-09-10 Thread tip-bot for Borislav Petkov
Commit-ID: da260fe12330be8b003c2ab07a112704163ea675 Gitweb: https://git.kernel.org/tip/da260fe12330be8b003c2ab07a112704163ea675 Author: Borislav Petkov AuthorDate: Fri, 7 Sep 2018 12:35:21 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:15:48 +0200 jump_label: Fix typo in

[tip:sched/core] sched/fair: Fix load_balance redo for !imbalance

2018-09-10 Thread tip-bot for Vincent Guittot
Commit-ID: bb3485c8ace6475c269b1aa2da674490f455f412 Gitweb: https://git.kernel.org/tip/bb3485c8ace6475c269b1aa2da674490f455f412 Author: Vincent Guittot AuthorDate: Fri, 7 Sep 2018 09:51:04 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:13:49 +0200 sched/fair: Fix

[tip:sched/core] sched/fair: Fix scale_rt_capacity() for SMT

2018-09-10 Thread tip-bot for Vincent Guittot
Commit-ID: 287cdaac5700c5b8970d739f73d742d863d3e2ca Gitweb: https://git.kernel.org/tip/287cdaac5700c5b8970d739f73d742d863d3e2ca Author: Vincent Guittot AuthorDate: Tue, 4 Sep 2018 11:36:26 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:13:47 +0200 sched/fair: Fix

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Jiri Olsa
On Mon, Sep 10, 2018 at 12:03:03PM +0200, Ingo Molnar wrote: > > * Jiri Olsa wrote: > > > > Per-CPU threading the record session would have so many other advantages > > > as well (scalability, > > > etc.). > > > > > > Jiri did per-CPU recording patches a couple of months ago, not sure how >

Re: [PATCH v6 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-09-10 Thread Quentin Perret
On Monday 10 Sep 2018 at 11:53:58 (+0200), Rafael J. Wysocki wrote: > On Monday, August 20, 2018 11:44:16 AM CEST Quentin Perret wrote: > > Schedutil aggregates the PELT signals of CFS, RT, DL and IRQ in order > > to decide which frequency to request. Energy Aware Scheduling (EAS) > > needs to be

[tip:sched/core] sched/fair: Fix vruntime_normalized() for remote non-migration wakeup

2018-09-10 Thread tip-bot for Steve Muckle
Commit-ID: d0cdb3ce8834332d918fc9c8ff74f8a169ec9abe Gitweb: https://git.kernel.org/tip/d0cdb3ce8834332d918fc9c8ff74f8a169ec9abe Author: Steve Muckle AuthorDate: Fri, 31 Aug 2018 15:42:17 -0700 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:13:47 +0200 sched/fair: Fix

[tip:sched/core] sched/pelt: Fix update_blocked_averages() for RT and DL classes

2018-09-10 Thread tip-bot for Vincent Guittot
Commit-ID: 12b04875d666e83d27511df25580de84505bc758 Gitweb: https://git.kernel.org/tip/12b04875d666e83d27511df25580de84505bc758 Author: Vincent Guittot AuthorDate: Fri, 31 Aug 2018 17:22:55 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:13:46 +0200 sched/pelt: Fix

[tip:sched/core] sched/debug: Fix potential deadlock when writing to sched_features

2018-09-10 Thread tip-bot for Jiada Wang
Commit-ID: e73e81975f2447e6f556100cada64a18ec631cbb Gitweb: https://git.kernel.org/tip/e73e81975f2447e6f556100cada64a18ec631cbb Author: Jiada Wang AuthorDate: Tue, 31 Jul 2018 21:12:22 +0900 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:13:45 +0200 sched/debug: Fix potential

[tip:locking/core] locking/mutex: Fix mutex debug call and ww_mutex documentation

2018-09-10 Thread tip-bot for Thomas Hellstrom
Commit-ID: e13e2366d8415e029fe96a62502955083e272cef Gitweb: https://git.kernel.org/tip/e13e2366d8415e029fe96a62502955083e272cef Author: Thomas Hellstrom AuthorDate: Mon, 3 Sep 2018 16:07:08 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:05:10 +0200 locking/mutex: Fix

Re: [PATCH v5 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-10 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Jiri Kosina wrote: > +static void update_stibp_msr(void *info) > +{ > + wrmsrl(MSR_IA32_SPEC_CTRL, x86_spec_ctrl_base); > +} > + > +void arch_smt_update(void) > +{ > + if (stibp_needed()) { if (!stib_needed()) return; spares you an indentation

[tip:perf/urgent] perf/x86/intel: Add support/quirk for the MISPREDICT bit on Knights Landing CPUs

2018-09-10 Thread tip-bot for Jacek Tomaka
Commit-ID: 16160c1946b702dcfa95ef63389a56deb2f1c7cb Gitweb: https://git.kernel.org/tip/16160c1946b702dcfa95ef63389a56deb2f1c7cb Author: Jacek Tomaka AuthorDate: Thu, 2 Aug 2018 09:38:30 +0800 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 10:03:01 +0200 perf/x86/intel: Add

Re: possible deadlock in free_ioctx_users

2018-09-10 Thread Dmitry Vyukov
On Mon, Sep 10, 2018 at 11:50 AM, Miklos Szeredi wrote: > On Mon, Sep 10, 2018 at 11:43 AM, Dmitry Vyukov wrote: >> On Mon, Sep 10, 2018 at 11:28 AM, Miklos Szeredi wrote: >>> On Sun, Sep 9, 2018 at 8:41 PM, syzbot >>> wrote: Hello, syzbot found the following crash on:

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Ingo Molnar
* Jiri Olsa wrote: > > Per-CPU threading the record session would have so many other advantages as > > well (scalability, > > etc.). > > > > Jiri did per-CPU recording patches a couple of months ago, not sure how > > usable they are at the > > moment? > > it's still usable, I can rebase

Re: [PATCH] sh: mm: Use dma_zalloc_coherent instead of dma_alloc_coherent + memset

2018-09-10 Thread Geert Uytterhoeven
On Mon, Sep 10, 2018 at 5:07 AM zhong jiang wrote: > dma_zalloc_coherent has taken the dma_alloc_coherent() and memset() into > account. Therefore, just use dma_zalloc_coherent to replace the open code. > > Signed-off-by: zhong jiang Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s,

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Jiri Olsa
On Mon, Sep 10, 2018 at 11:18:41AM +0200, Ingo Molnar wrote: > > * Alexey Budankov wrote: > > > > > Currently in record mode the tool implements trace writing serially. > > The algorithm loops over mapped per-cpu data buffers and stores > > ready data chunks into a trace file using write()

[PATCH] perf test: Add watchpoint test

2018-09-10 Thread Ravi Bangoria
We don't have perf test available to test watchpoint functionality. Add simple set of tests: - Read only watchpoint - Write only watchpoint - Read / Write watchpoint - Runtime watchpoint modification Ex on powerpc: $ sudo ./perf test 22 22: Watchpoint

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Christophe Leroy
On 09/10/2018 09:28 AM, Luc Van Oostenryck wrote: On Mon, Sep 10, 2018 at 08:49:07AM +0200, Christophe LEROY wrote: Le 07/09/2018 à 20:19, Nick Desaulniers a écrit : On Fri, Sep 7, 2018 at 11:13 AM Luc Van Oostenryck wrote: Sparse expand these macros to the same version than the compiler

Re: [PATCH v6 10/14] sched/cpufreq: Refactor the utilization aggregation method

2018-09-10 Thread Rafael J. Wysocki
On Monday, August 20, 2018 11:44:16 AM CEST Quentin Perret wrote: > Schedutil aggregates the PELT signals of CFS, RT, DL and IRQ in order > to decide which frequency to request. Energy Aware Scheduling (EAS) > needs to be able to predict those requests to assess the energy impact > of scheduling

Re: [PATCH] x86, mm: Reserver some memory for bootmem allocator for NO_BOOTMEM

2018-09-10 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Feng Tang wrote: > On Fri, Sep 07, 2018 at 12:52:17PM +0200, Thomas Gleixner wrote: > > You really want to add a proper sanity check for this. The static stuff has > > to cover the fixmap. Just making it work for this particular case is sloppy > > at best as the next larger

Re: [PATCH 2/5] thunderbolt: Obtain PCI slot number from DROM

2018-09-10 Thread Mika Westerberg
On Sun, Sep 09, 2018 at 11:42:01PM +0200, Lukas Wunner wrote: > +struct tb_drom_entry_pci { > + /* BYTES 0-1 */ > + struct tb_drom_entry_header header; > + /* BYTE 2 */ > + u8 unknown:5; > + u8 slot:3; > + /* BYTES 3-10 are only present on PCIe upstream ports */ > +}

Re: [PATCH] xen: remove unnecessary condition check before kfree

2018-09-10 Thread Juergen Gross
On 08/09/18 16:18, zhong jiang wrote: > kfree has taken null pointer into account. So just remove the > condition check before kfree. > > Signed-off-by: zhong jiang > --- > drivers/xen/xen-acpi-processor.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-10 Thread Nicolas Ferre
Hi Lee, On 10/09/2018 at 11:48, Lee Jones wrote: On Tue, 04 Sep 2018, Radu Pirea wrote: Well, this is the 12th version of this patch series. In this version I fixed a warning from kbuild-robot and I have no idea how I forgot to add static in declaration of that functions. Also I fixed the

AW: [PATCH v2] of: __of_update_property_sysfs only call __of_sysfs_remove_bin_file if of_node_is_attached

2018-09-10 Thread Andre Kalb
Hi Frank, > -Ursprüngliche Nachricht- > Von: Frank Rowand [mailto:frowand.l...@gmail.com] > Gesendet: Freitag, 7. September 2018 22:01 > An: Andre Kalb; robh...@kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org > Betreff: Re: [PATCH v2] of: __of_update_property_sysfs

[PATCH v4 0/4] PCI: mediatek: fixup find_port, enable_msi and add pm, module support

2018-09-10 Thread honghui.zhang
From: Honghui Zhang This patchset includes misc patchs: The first patch fixup the mtk_pcie_find_port logical which will cause system could not touch the EP's configuration space which was connected to PCIe slot 1. The second patch fixup the enable msi logical, the operation to enable msi

[PATCH v4 3/4] PCI: mediatek: Add system pm support for MT2712 and MT7622

2018-09-10 Thread honghui.zhang
From: Honghui Zhang The MTCMOS of PCIe Host for MT2712 and MT7622 will be off when system suspend, and all the internal control register will be reset after system resume. The PCIe link should be re-established and the related control register values should be re-set after system resume.

[PATCH v4 4/4] PCI: mediatek: Add loadable kernel module support

2018-09-10 Thread honghui.zhang
From: Honghui Zhang Implement remove callback function for Mediatek PCIe driver to add loadable kernel module support. Signed-off-by: Honghui Zhang Reviewed-by: Ryder Lee --- drivers/pci/controller/Kconfig | 2 +- drivers/pci/controller/pcie-mediatek.c | 60

[PATCH v4 1/4] PCI: mediatek: fixup mtk_pcie_find_port logical

2018-09-10 Thread honghui.zhang
From: Honghui Zhang The Mediatek's host controller has two slots, each with it's own control registers. The host driver need to identify which slot was connected in order to access the device's configuration space. There's problem for current host driver to find out which slot was connected to

[PATCH v4 2/4] PCI: mediatek: enable msi after clock enabled

2018-09-10 Thread honghui.zhang
From: Honghui Zhang The clocks was not enabled when enable MSI. This patch fix this issue by calling mtk_pcie_enable_msi in mtk_pcie_startup_port_v2 since the clock was all enabled at that time. The function of mtk_pcie_startup_port_v2's define location is re-arranged to avoid

Re: possible deadlock in free_ioctx_users

2018-09-10 Thread Miklos Szeredi
On Mon, Sep 10, 2018 at 11:43 AM, Dmitry Vyukov wrote: > On Mon, Sep 10, 2018 at 11:28 AM, Miklos Szeredi wrote: >> On Sun, Sep 9, 2018 at 8:41 PM, syzbot >> wrote: >>> Hello, >>> >>> syzbot found the following crash on: >>> >>> HEAD commit:f8f65382c98a Merge tag 'for-linus' of

Re: [PATCH] arch/arm64/include/asm/jump_label.h: use asm_volatile_goto

2018-09-10 Thread Will Deacon
On Sun, Sep 09, 2018 at 05:47:31PM +0200, Miguel Ojeda wrote: > All other uses of "asm goto" go through asm_volatile_goto > (including the arm version of the same file). For consistency, > use it here as well. > > Cc: Nick Desaulniers > Cc: Catalin Marinas > Cc: Will Deacon > Cc:

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-10 Thread Lee Jones
On Tue, 04 Sep 2018, Radu Pirea wrote: > Well, this is the 12th version of this patch series. > In this version I fixed a warning from kbuild-robot and I have no idea > how I forgot to add static in declaration of that functions. Also I > fixed the example for the SPI driver in bindings. Okay

Re: [PATCH v6 03/14] PM: Introduce an Energy Model management framework

2018-09-10 Thread Rafael J. Wysocki
On Monday, August 20, 2018 11:44:09 AM CEST Quentin Perret wrote: > Several subsystems in the kernel (task scheduler and/or thermal at the > time of writing) can benefit from knowing about the energy consumed by > CPUs. Yet, this information can come from different sources (DT or > firmware for

Re: [PATCH 4/5] thunderbolt: Correlate PCI devices with Thunderbolt ports

2018-09-10 Thread Mika Westerberg
Hi Lukas, On Sun, Sep 09, 2018 at 11:42:01PM +0200, Lukas Wunner wrote: > Ideas what we can do with correlation: > > * Represent the relationship between PCI devices and Thunderbolt ports > with symlinks in sysfs. I wonder is that really useful? I don't think we should be adding sysfs entries

Re: [PATCH] mips: bug: add unlikely() to BUG_ON()

2018-09-10 Thread Igor Stoppa
Hi Paul, On 08/09/18 01:02, Paul Burton wrote: I'm not sure this will actually do anything. __BUG_ON() doesn't use the value of its condition argument for regular control flow unless it's compile-time constant anyway, in which case unlikely() should be redundant because the compiler knows the

Re: possible deadlock in free_ioctx_users

2018-09-10 Thread Dmitry Vyukov
On Mon, Sep 10, 2018 at 11:28 AM, Miklos Szeredi wrote: > On Sun, Sep 9, 2018 at 8:41 PM, syzbot > wrote: >> Hello, >> >> syzbot found the following crash on: >> >> HEAD commit:f8f65382c98a Merge tag 'for-linus' of git://git.kernel.org.. >> git tree: upstream >> console output:

Re: [PATCH v6 13/14] sched/topology: Make Energy Aware Scheduling depend on schedutil

2018-09-10 Thread Quentin Perret
On Monday 10 Sep 2018 at 10:55:43 (+0200), Rafael J. Wysocki wrote: > On Mon, Sep 10, 2018 at 10:24 AM Quentin Perret > wrote: > > > > Hi Rafael, > > > > On Sunday 09 Sep 2018 at 22:13:52 (+0200), Rafael J. Wysocki wrote: > > > On Fri, Sep 7, 2018 at 5:29 PM Quentin Perret > > > wrote: > > > >

Re: [PATCH v2 0/3] Renesas R9A06G032 PINCTRL Driver

2018-09-10 Thread Geert Uytterhoeven
On Mon, Sep 10, 2018 at 9:49 AM Linus Walleij wrote: > On Wed, Sep 5, 2018 at 11:59 AM Phil Edworthy > wrote: > > On 05 September 2018 10:37, Geert Uytterhoeven wrote: > > > > Have the VxWorks DT bindings been submitted for review to the devicetree > > > mailing list? > > > I'm not involved

Re: [PATCH AUTOSEL 4.14 49/89] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-10 Thread Vladimir Murzin
On 02/09/18 14:07, Sasha Levin wrote: > From: Vladimir Murzin > > [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] > > ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed > Sec_frac (bits [23:20]): > > Security fractional field. When the Security field is ,

Re: [PATCH AUTOSEL 4.18 074/131] ARM: 8783/1: NOMMU: Extend check for VBAR support

2018-09-10 Thread Vladimir Murzin
On 02/09/18 14:04, Sasha Levin wrote: > From: Vladimir Murzin > > [ Upstream commit c803ce3f18bd93b3b4a15d1da0c5b5ebc60e0b85 ] > > ARMv8R adds support for VBAR and updates ID_PFR1 with the new filed > Sec_frac (bits [23:20]): > > Security fractional field. When the Security field is ,

Re: [PATCH 4/4] sched/numa: Do not move imbalanced load purely on the basis of an idle CPU

2018-09-10 Thread Mel Gorman
On Fri, Sep 07, 2018 at 01:37:39PM +0100, Mel Gorman wrote: > > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > > index d59d3e00a480..d4c289c11012 100644 > > > --- a/kernel/sched/fair.c > > > +++ b/kernel/sched/fair.c > > > @@ -1560,7 +1560,7 @@ static bool task_numa_compare(struct

[PATCH v3] ARM: dts: imx6ul: Add DTS for ConnectCore 6UL SBC Pro

2018-09-10 Thread Alex Gonzalez
The ConnectCore 6UL Single Board Computer (SBC) Pro contains the ConnectCore 6UL System-On-Module. Its hardware specifications are: * 256MB DDR3 memory * On module 256MB NAND flash * Dual 10/100 Ethernet * USB Host and USB OTG * Parallel RGB display header * LVDS display header * CSI camera *

[PATCH v3] ARM: dts: imx6ul: Add DTS for ConnectCore 6UL SBC Pro

2018-09-10 Thread Alex Gonzalez
This patch adds a device tree for the ConnectCore 6UL SBC Pro board, based on the ConnectCore 6UL SOM. Changes since v2 [2]: * Removed redundant clocks from pwm nodes * Use real iomux pad values * Spelling change in regulator-usb-otg1 node name Changes since v1 [1]: * Removed unused pinctrl

Re: [PATCH] x86, mm: Reserver some memory for bootmem allocator for NO_BOOTMEM

2018-09-10 Thread Feng Tang
On Fri, Sep 07, 2018 at 12:52:17PM +0200, Thomas Gleixner wrote: > On Fri, 7 Sep 2018, Feng Tang wrote: > > On Fri, Aug 31, 2018 at 09:36:59PM +0800, Feng Tang wrote: > > > Any sugestion? I can only have patch like this: > > > > Could you review this patch, as at this time window there is no

Re: [PATCH 5/5] MAINTAINERS: Add Lukas Wunner as co-maintainer of thunderbolt

2018-09-10 Thread Mika Westerberg
Hi Lukas, I'm including Greg here in case I've done something wrong as a maintainer. Since I've only maintained Thunderbolt quite short time, it may be that I've done mistakes but certainly I did not deliberately try to make life of people developing this for older Apple systems harder. On Sun,

Re: Fwd: [PATCH] tee: optee: log message if dynamic shm is enabled

2018-09-10 Thread Victor Chong
On Mon, Sep 10, 2018 at 6:20 PM, Daniel Thompson wrote: > On Mon, Sep 10, 2018 at 05:57:28PM +0900, Victor Chong wrote: > > This (empty) patch description seems unusually terse! Surely there > should be some clues in the description about why this messages > deserves user/dev/admin attention...

Re: [PATCH] locking/rwsem: Make owner store task pointer of last owning reader

2018-09-10 Thread Peter Zijlstra
On Thu, Sep 06, 2018 at 04:18:34PM -0400, Waiman Long wrote: > Currently, when a reader acquires a lock, it only sets the > RWSEM_READER_OWNED bit in the owner field. The other bits are simply > not used. When debugging hanging cases involving rwsems and readers, > the owner value does not provide

Re: [PATCH v6 02/14] sched/cpufreq: Factor out utilization to frequency mapping

2018-09-10 Thread Rafael J. Wysocki
On Monday, August 20, 2018 11:44:08 AM CEST Quentin Perret wrote: > The schedutil governor maps utilization values to frequencies by applying > a 25% margin. Since this sort of mapping mechanism can be needed by other > users (i.e. EAS), factor the utilization-to-frequency mapping code out > of

Re: possible deadlock in free_ioctx_users

2018-09-10 Thread Miklos Szeredi
On Sun, Sep 9, 2018 at 8:41 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:f8f65382c98a Merge tag 'for-linus' of git://git.kernel.org.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=113260ae40 > kernel config:

Re: Conflict between sparse and commit cafa0010cd51f ("Raise the minimum required gcc version to 4.6")

2018-09-10 Thread Luc Van Oostenryck
On Mon, Sep 10, 2018 at 08:49:07AM +0200, Christophe LEROY wrote: > Le 07/09/2018 à 20:19, Nick Desaulniers a écrit : > > On Fri, Sep 7, 2018 at 11:13 AM Luc Van Oostenryck wrote: > > > > > > Sparse expand these macros to the same version than the compiler used > > > to compile GCC. I find a bit

[PATCH v5 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-10 Thread Jiri Kosina
From: Jiri Kosina STIBP is a feature provided by certain Intel ucodes / CPUs. This feature (once enabled) prevents cross-hyperthread control of decisions made by indirect branch predictors. Enable this feature if - the CPU is vulnerable to spectre v2 - the CPU supports SMT and has SMT siblings

[PATCH v2] mips: switch to NO_BOOTMEM

2018-09-10 Thread Mike Rapoport
MIPS already has memblock support and all the memory is already registered with it. This patch replaces bootmem memory reservations with memblock ones and removes the bootmem initialization. Since memblock allocates memory in top-down mode, we ensure that memblock limit is max_low_pfn to prevent

[PATCH v5 0/2] Harden spectrev2 userspace-userspace protection

2018-09-10 Thread Jiri Kosina
Currently, linux kernel is basically not preventing userspace-userspace spectrev2 attack, because: - IBPB is basically unused (issued only for tasks that marked themselves explicitly non-dumpable, which is absolutely negligible minority of all software out there), therefore cross-process

[PATCH v5 1/2] x86/speculation: apply IBPB more strictly to avoid cross-process data leak

2018-09-10 Thread Jiri Kosina
From: Jiri Kosina Currently, we are issuing IBPB only in cases when switching into a non-dumpable process, the rationale being to protect such 'important and security sensitive' processess (such as GPG) from data leak into a different userspace process via spectre v2. This is however completely

Re: Fwd: [PATCH] tee: optee: log message if dynamic shm is enabled

2018-09-10 Thread Daniel Thompson
On Mon, Sep 10, 2018 at 05:57:28PM +0900, Victor Chong wrote: This (empty) patch description seems unusually terse! Surely there should be some clues in the description about why this messages deserves user/dev/admin attention... > Suggested-by: Jerome Forissier > Signed-off-by: Victor Chong

RE: [PATCH 2/2] clk: imx: imx7d: remove clks_init_on array

2018-09-10 Thread Anson Huang
Gentle Ping... Anson Huang Best Regards! > -Original Message- > From: Anson Huang > Sent: Monday, September 3, 2018 3:21 PM > To: Stephen Boyd ; ker...@pengutronix.de; > linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org;

Re: [PATCH v7] Add udmabuf misc device

2018-09-10 Thread Gert Wollny
Am Montag, den 10.09.2018, 10:37 +0200 schrieb Gerd Hoffmann: ... > > The other question is of course, why did dma_buf_export fail for me > > ... > > What exactly did you try? I ran qemu-system-x86_64 -enable-kvm -smp 5 -M q35 -m 8G \ -drive format=raw,file=ubuntu.raw,if=virtio \

Re: [PATCH v8 0/3]: perf: reduce data loss when profiling highly parallel CPU bound workloads

2018-09-10 Thread Ingo Molnar
* Alexey Budankov wrote: > > Currently in record mode the tool implements trace writing serially. > The algorithm loops over mapped per-cpu data buffers and stores > ready data chunks into a trace file using write() system call. > > At some circumstances the kernel may lack free space in a

Re: Howto prevent kernel from evicting code pages ever? (to avoid disk thrashing when about to run out of RAM)

2018-09-10 Thread Marcus Linsner
On Wed, Aug 22, 2018 at 11:25 AM Marcus Linsner wrote: > > Hi. How to make the kernel keep(lock?) all code pages in RAM so that > kswapd0 won't evict them when the system is under low memory > conditions ? > > The purpose of this is to prevent the kernel from causing lots of disk >

Re: [PATCH 00/29] staging: bcm2835-audio: Cleanups and fixes

2018-09-10 Thread Takashi Iwai
On Mon, 10 Sep 2018 11:12:36 +0200, Greg Kroah-Hartman wrote: > > On Sat, Sep 08, 2018 at 06:21:55PM +0200, Takashi Iwai wrote: > > On Sat, 08 Sep 2018 15:18:10 +0200, > > Stefan Wahren wrote: > > > > > > Hi Takashi, > > > > > > > Takashi Iwai hat am 4. September 2018 um 17:58 > > > >

Re: [PATCH v6 00/14] Energy Aware Scheduling

2018-09-10 Thread Rafael J. Wysocki
On Monday, August 20, 2018 11:44:06 AM CEST Quentin Perret wrote: > This patch series introduces Energy Aware Scheduling (EAS) for CFS tasks > on platforms with asymmetric CPU topologies (e.g. Arm big.LITTLE). > > For more details about the ideas behind it and the overall design, > please refer

Re: [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments.

2018-09-10 Thread Benson Leung
On Mon, Sep 10, 2018 at 5:12 PM Lee Jones wrote: > > On Fri, 07 Sep 2018, Benson Leung wrote: > > > Hi Enric, > > > > On Wed, Jul 18, 2018 at 06:09:56PM +0200, Enric Balletbo i Serra wrote: > > > cros-ec includes inside the MFD subsystem, specially the file > > > cros_ec_commands.h, has been

Re: [PATCH 0/2] Document memory-to-memory video codec interfaces

2018-09-10 Thread Hans Verkuil
Hi Tomasz, On 07/24/2018 04:06 PM, Tomasz Figa wrote: > This series attempts to add the documentation of what was discussed > during Media Workshops at LinuxCon Europe 2012 in Barcelona and then > later Embedded Linux Conference Europe 2014 in Düsseldorf and then > eventually written down by

Re: [PATCH 00/29] staging: bcm2835-audio: Cleanups and fixes

2018-09-10 Thread Greg Kroah-Hartman
On Sat, Sep 08, 2018 at 06:21:55PM +0200, Takashi Iwai wrote: > On Sat, 08 Sep 2018 15:18:10 +0200, > Stefan Wahren wrote: > > > > Hi Takashi, > > > > > Takashi Iwai hat am 4. September 2018 um 17:58 > > > geschrieben: > > > > > > > > > Hi, > > > > > > since I had an opportunity to play

Re: [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments.

2018-09-10 Thread Lee Jones
On Fri, 07 Sep 2018, Benson Leung wrote: > Hi Enric, > > On Wed, Jul 18, 2018 at 06:09:56PM +0200, Enric Balletbo i Serra wrote: > > cros-ec includes inside the MFD subsystem, specially the file > > cros_ec_commands.h, has been modified several times and it has grown a > > lot, unfortunately, we

Re: [PATCH] of: Split up name & type in modalias generation

2018-09-10 Thread Thierry Reding
On Fri, Sep 07, 2018 at 12:56:09PM -0700, Frank Rowand wrote: > On 09/07/18 11:49, Rob Herring wrote: > > On Fri, Sep 7, 2018 at 9:22 AM Thierry Reding > > wrote: > >> > >> From: Thierry Reding > >> > >> The kernel's vsnprintf() implementation discards all alpha-numeric > >> characters

<    2   3   4   5   6   7   8   9   >