[PATCH 2/2] bitmap: replace bitmap_{from,to}_u32array

2017-12-28 Thread Yury Norov
with bitmap_{from,to}_arr32 over the kernel. Additionally to it: * __check_eq_bitmap() now takes single nbits argument. * __check_eq_u32_array is not used in new test but may be used in future. So I don't remove it here, but annotate as __used. Tested on arm64 and 32-bit BE mips. CC: Andrew Mor

Re: [PATCH v2] gpio: winbond: add driver

2017-12-28 Thread Andy Shevchenko
On Fri, 2017-12-22 at 19:58 +0100, Maciej S. Szmigiero wrote: > This commit adds GPIO driver for Winbond Super I/Os. > > Currently, only W83627UHG model (also known as Nuvoton NCT6627UD) is > supported but in the future a support for other Winbond models, too, > can > be added to the driver. > >

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

2017-12-28 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > > Test results at the end of this message, as usual. > > The following changes since commit faaf95677f33dac910b6cbe917cabea43c8c1616: > > Merge branch 'perf/urgent' into perf/core, to pick u

[PATCH] pinctrl: mcp23s08: fix irq setup order

2017-12-28 Thread Dmitry Mastykin
When using mcp23s08 module with gpio-keys, often (50% of boots) it fails to get irq numbers with message: "gpio-keys keys: Unable to get irq number for GPIO 0, error -6". Seems that irqs must be setup before devm_gpiochip_add_data(). Signed-off-by: Dmitry Mastykin --- drivers/pinctrl/pinctrl-mcp

[PATCH] pinctrl: vt8500: Delete an error message for a failed memory allocation in five functions

2017-12-28 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 28 Dec 2017 16:12:17 +0100 Omit an extra message for a memory allocation failure in these functions. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/pinctrl/vt8500/pinctrl-vt8500.c | 4 +--- drivers/pinctrl/vt

Re: [PATCH v2] gpio: winbond: add driver

2017-12-28 Thread Andy Shevchenko
On Fri, 2017-12-22 at 19:58 +0100, Maciej S. Szmigiero wrote: > This commit adds GPIO driver for Winbond Super I/Os. Linus, since you asked me to review this, I can conclude that it is a bit far from readiness. Couple of more iterations needed. Please, also answer to a comment in review in regard

[tip:perf/core] perf stat: Define a structure for per-thread shadow stats

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: e5fcc2abc353be94548080d84de3269ef6cc2af6 Gitweb: https://git.kernel.org/tip/e5fcc2abc353be94548080d84de3269ef6cc2af6 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:01 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:42 -0300 perf stat: Define a

Re: [PATCH v1] x86/platform/intel-mid: Revert "Make 'bt_sfi_data' const"

2017-12-28 Thread Ingo Molnar
* Julia Lawall wrote: > > > On Thu, 28 Dec 2017, Ingo Molnar wrote: > > > > > * Julia Lawall wrote: > > > > > > > [...] There does seem to be a few cases where the field actually does > > > > > hold an > > > > > integer. I guess this is not a problem? > > > > > > > > Could you point to suc

[tip:perf/core] perf stat: Extend rbtree to support per-thread shadow stats

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 49cd456af1dcb13ff3e94cb997c82968ae86722a Gitweb: https://git.kernel.org/tip/49cd456af1dcb13ff3e94cb997c82968ae86722a Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:02 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:42 -0300 perf stat: Extend r

[tip:perf/core] perf stat: Create the runtime_stat init/exit function

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 8efb2df1288bc1bcc3711a97028620717319f138 Gitweb: https://git.kernel.org/tip/8efb2df1288bc1bcc3711a97028620717319f138 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:03 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:43 -0300 perf stat: Create t

[tip:perf/core] perf stat: Update per-thread shadow stats

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 1fcd03946b52b8a57a6692fedd4406b45baedfe6 Gitweb: https://git.kernel.org/tip/1fcd03946b52b8a57a6692fedd4406b45baedfe6 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:04 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:43 -0300 perf stat: Update p

[tip:perf/core] perf stat: Print per-thread shadow stats

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: e0128b30dbfb2884530251b4accdffdbf55a6b72 Gitweb: https://git.kernel.org/tip/e0128b30dbfb2884530251b4accdffdbf55a6b72 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:05 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:44 -0300 perf stat: Print pe

[tip:perf/core] perf stat: Remove a set of shadow stats static variables

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 6a1e2c5c267358455a13bd8d59547430370c845a Gitweb: https://git.kernel.org/tip/6a1e2c5c267358455a13bd8d59547430370c845a Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:06 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:44 -0300 perf stat: Remove a

[tip:perf/core] perf stat: Update or print per-thread stats

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 14e72a21c783654ca7b6c897b6d6508c1abccd7d Gitweb: https://git.kernel.org/tip/14e72a21c783654ca7b6c897b6d6508c1abccd7d Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:08 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:46 -0300 perf stat: Update o

[tip:perf/core] perf stat: Allocate shadow stats buffer for threads

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 56739444d861daa050624d40c7adff32c73e9980 Gitweb: https://git.kernel.org/tip/56739444d861daa050624d40c7adff32c73e9980 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:07 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:45 -0300 perf stat: Allocate

[tip:perf/core] perf thread_map: Enumerate all threads from /proc

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 73c0ca1eee3d2c96898e05a16be49da2a6d590b2 Gitweb: https://git.kernel.org/tip/73c0ca1eee3d2c96898e05a16be49da2a6d590b2 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:09 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:46 -0300 perf thread_map: En

[tip:perf/core] perf stat: Remove --per-thread pid/tid limitation

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 1d9f8d1b824bf69cf984c1c36e5641b51eea42bb Gitweb: https://git.kernel.org/tip/1d9f8d1b824bf69cf984c1c36e5641b51eea42bb Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:10 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:47 -0300 perf stat: Remove -

Re: [PATCH v1] x86/platform/intel-mid: Revert "Make 'bt_sfi_data' const"

2017-12-28 Thread Julia Lawall
On Thu, 28 Dec 2017, Ingo Molnar wrote: > > * Julia Lawall wrote: > > > > > > > On Thu, 28 Dec 2017, Ingo Molnar wrote: > > > > > > > > * Julia Lawall wrote: > > > > > > > > > [...] There does seem to be a few cases where the field actually > > > > > > does hold an > > > > > > integer. I gue

[tip:perf/core] perf stat: Resort '--per-thread' result

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 29734550c996c259ffa8d32198439d6fe4b51320 Gitweb: https://git.kernel.org/tip/29734550c996c259ffa8d32198439d6fe4b51320 Author: Jin Yao AuthorDate: Tue, 5 Dec 2017 22:03:11 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:47 -0300 perf stat: Resort '

[tip:perf/core] tools include s390: Grab a copy of arch/s390/include/uapi/asm/unistd.h

2017-12-28 Thread tip-bot for Hendrik Brueckner
Commit-ID: 7af7919f0f4bde0cec1f546f924be81cfe50533d Gitweb: https://git.kernel.org/tip/7af7919f0f4bde0cec1f546f924be81cfe50533d Author: Hendrik Brueckner AuthorDate: Thu, 7 Dec 2017 09:27:59 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:49 -0300 tools inc

[tip:perf/core] perf s390: Generate system call table from asm/unistd.h

2017-12-28 Thread tip-bot for Hendrik Brueckner
Commit-ID: 164a747f1ac2380c582988d2a4d9a9af13f8e644 Gitweb: https://git.kernel.org/tip/164a747f1ac2380c582988d2a4d9a9af13f8e644 Author: Hendrik Brueckner AuthorDate: Thu, 7 Dec 2017 09:27:59 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:50 -0300 perf s390

[tip:perf/core] perf trace: Use generated syscall table on s390 too

2017-12-28 Thread tip-bot for Hendrik Brueckner
Commit-ID: 901bb0280b60782603e999a6c1e30ddfe1c7b0fb Gitweb: https://git.kernel.org/tip/901bb0280b60782603e999a6c1e30ddfe1c7b0fb Author: Hendrik Brueckner AuthorDate: Thu, 7 Dec 2017 09:27:59 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:50 -0300 perf trac

[tip:perf/core] perf test: Handle properly readdir DT_UNKNOWN

2017-12-28 Thread tip-bot for Jiri Olsa
Commit-ID: 378811ac303df13efbe49f3ad1795b63d334ac5d Gitweb: https://git.kernel.org/tip/378811ac303df13efbe49f3ad1795b63d334ac5d Author: Jiri Olsa AuthorDate: Wed, 6 Dec 2017 18:45:35 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:48 -0300 perf test: Handle

[tip:perf/core] perf utils: Move is_directory() to path.h

2017-12-28 Thread tip-bot for Jiri Olsa
Commit-ID: 06c3f2aa9fc68e7f3fe3d83e7569d2a2801d9f99 Gitweb: https://git.kernel.org/tip/06c3f2aa9fc68e7f3fe3d83e7569d2a2801d9f99 Author: Jiri Olsa AuthorDate: Wed, 6 Dec 2017 18:45:35 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:48 -0300 perf utils: Move

[tip:perf/core] perf annotate: Get the cpuid from evsel->evlist->env in symbol__annotate()

2017-12-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5449f13c553e9c50690419f6114665a8beb71bea Gitweb: https://git.kernel.org/tip/5449f13c553e9c50690419f6114665a8beb71bea Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 11 Dec 2017 12:46:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:51 -0300 p

[tip:perf/core] perf annotate: Use perf_env when obtaining the arch name

2017-12-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3285debaf5992f9729ba33e3f31eff5253d29dc4 Gitweb: https://git.kernel.org/tip/3285debaf5992f9729ba33e3f31eff5253d29dc4 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 11 Dec 2017 12:52:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:51 -0300 p

[tip:perf/core] perf perf: Remove duplicate includes

2017-12-28 Thread tip-bot for Pravin Shedge
Commit-ID: 3315d14f8eea27a845bd2e3a88341a35f4025866 Gitweb: https://git.kernel.org/tip/3315d14f8eea27a845bd2e3a88341a35f4025866 Author: Pravin Shedge AuthorDate: Wed, 6 Dec 2017 23:13:24 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:49 -0300 perf perf: Re

[tip:perf/core] perf env: Adopt perf_env__arch() from the annotate code

2017-12-28 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4e8fbc1c975c667c61a3073da81b338b9bf61c37 Gitweb: https://git.kernel.org/tip/4e8fbc1c975c667c61a3073da81b338b9bf61c37 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 11 Dec 2017 14:47:49 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:52 -0300 p

[tip:perf/core] perf probe: Add warning message if there is unexpected event name

2017-12-28 Thread tip-bot for Masami Hiramatsu
Commit-ID: 9f5c6d8777a2d962b0eeacb2a16f37da6bea545b Gitweb: https://git.kernel.org/tip/9f5c6d8777a2d962b0eeacb2a16f37da6bea545b Author: Masami Hiramatsu AuthorDate: Sat, 9 Dec 2017 01:26:46 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:53 -0300 perf probe

Re: [PATCH v2] PCI: dwc: Use {upper,lower}_32_bits() macros for clarity

2017-12-28 Thread Joao Pinto
Hi Stephen, Às 11:25 PM de 12/27/2017, Stephen Boyd escreveu: > We have macros for getting the upper or lower 32 bits of a > number. Use them here to shave a couple lines off the code > and provide clarity. > > Signed-off-by: Stephen Boyd > --- > > Changes from v1: > * Update dw_msi_setup_msg

[tip:perf/core] perf probe: Cut off the version suffix from event name

2017-12-28 Thread tip-bot for Masami Hiramatsu
Commit-ID: a3110cd9d0f77a796da545e112f9305094257798 Gitweb: https://git.kernel.org/tip/a3110cd9d0f77a796da545e112f9305094257798 Author: Masami Hiramatsu AuthorDate: Mon, 11 Dec 2017 15:19:25 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:53 -0300 perf prob

[patch V5 10/11] LICENSES: Add the GPL 1.0 license

2017-12-28 Thread Thomas Gleixner
Add the full text of the GPL 1.0 license to the kernel tree. It was copied directly from: https://spdx.org/licenses/GPL-1.0.html#licenseText Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg Kroah-Hartman --- LICENSES/other/G

[patch V5 11/11] LICENSES: Add MPL-1.1 license

2017-12-28 Thread Thomas Gleixner
Add the full text of the Mozilla Public License 1.1 to the kernel tree. It was copied directly from: https://spdx.org/licenses/MPL-1.1.html#licenseText Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg Kroah-Hartman --- LICEN

[tip:perf/core] perf probe: Add __return suffix for return events

2017-12-28 Thread tip-bot for Masami Hiramatsu
Commit-ID: e63c625a1e417edbe513b75b347a7238e9e7fea0 Gitweb: https://git.kernel.org/tip/e63c625a1e417edbe513b75b347a7238e9e7fea0 Author: Masami Hiramatsu AuthorDate: Sat, 9 Dec 2017 01:27:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:54 -0300 perf probe

[tip:perf/core] perf probe: Find versioned symbols from map

2017-12-28 Thread tip-bot for Masami Hiramatsu
Commit-ID: 4b3a2716dd785fabb9f6ac80c1d53cb29a88169d Gitweb: https://git.kernel.org/tip/4b3a2716dd785fabb9f6ac80c1d53cb29a88169d Author: Masami Hiramatsu AuthorDate: Sat, 9 Dec 2017 01:28:12 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:54 -0300 perf probe

[tip:perf/core] perf string: Add {strdup,strpbrk}_esc()

2017-12-28 Thread tip-bot for Masami Hiramatsu
Commit-ID: 1e9f9e8af0de80e8f6a47d991df66090934be0c6 Gitweb: https://git.kernel.org/tip/1e9f9e8af0de80e8f6a47d991df66090934be0c6 Author: Masami Hiramatsu AuthorDate: Sat, 9 Dec 2017 01:28:41 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:55 -0300 perf strin

[patch V5 07/11] LICENSES: Add the BSD-3-clause "Clear" license

2017-12-28 Thread Thomas Gleixner
Add the full text of the BSD 3-clause "Clear" License to the kernel tree. It was copied directly from: https://spdx.org/licenses/BSD-3-Clause-Clear.html Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart

[tip:perf/core] perf probe: Support escaped character in parser

2017-12-28 Thread tip-bot for Masami Hiramatsu
Commit-ID: c588d158124d5b60184fc612e551a19720720d68 Gitweb: https://git.kernel.org/tip/c588d158124d5b60184fc612e551a19720720d68 Author: Masami Hiramatsu AuthorDate: Wed, 13 Dec 2017 00:05:12 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:55 -0300 perf prob

[patch V5 09/11] LICENSES: Add Linux syscall note exception

2017-12-28 Thread Thomas Gleixner
Copied from the Linux kernel COPYING file. Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg Kroah-Hartman --- LICENSES/exceptions/Linux-syscall-note | 25 +

[patch V5 03/11] LICENSES: Add the LGPL 2.0 license

2017-12-28 Thread Thomas Gleixner
Add the full text of the LGPL 2.0 license to the kernel tree. It was copied directly from: https://spdx.org/licenses/LGPL-2.0.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewe

[patch V5 08/11] LICENSES: Add the MIT license

2017-12-28 Thread Thomas Gleixner
Add the full text of the MIT license to the kernel tree. It was copied directly from: https://spdx.org/licenses/MIT.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewed-by: Greg

Re: [PATCH 2/2 v3] lib: debugobjects: touch watchdog to avoid softlockup when !CONFIG_PREEMPT

2017-12-28 Thread Thomas Gleixner
On Fri, 8 Dec 2017, Yang Shi wrote: > Hi Thomas, > > Waiman has reviewed the patches, any comment from you is appreciated. I'm confused there is a V3 and a V8 of the 2/2 patch in my inbox. Can you please resend both patches in their final version? Thanks, tglx

[tip:perf/core] perf evsel: Enable ignore_missing_thread for pid option

2017-12-28 Thread tip-bot for Mengting Zhang
Commit-ID: ca8000684ec4e66f965e1f9547a3c6cb834154ca Gitweb: https://git.kernel.org/tip/ca8000684ec4e66f965e1f9547a3c6cb834154ca Author: Mengting Zhang AuthorDate: Wed, 13 Dec 2017 15:01:53 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:58 -0300 perf evsel:

Re: [PATCH 1/4] PCI/AER: factor out error reporting from AER

2017-12-28 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Oza-Pawandeep/Address-error-and-recovery-for-AER-and-DPC/20171228-222058 config: i386-randconfig-s0-201752 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: # save the attached .config to linux build tree

[tip:perf/core] perf evsel: Fix swap for samples with raw data

2017-12-28 Thread tip-bot for Jiri Olsa
Commit-ID: f9d8adb345d7adbb2d3431eea73beb89c8d6d612 Gitweb: https://git.kernel.org/tip/f9d8adb345d7adbb2d3431eea73beb89c8d6d612 Author: Jiri Olsa AuthorDate: Wed, 29 Nov 2017 19:43:46 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:56 -0300 perf evsel: Fix

[patch V5 06/11] LICENSES: Add the BSD 3-clause "New" or "Revised" License

2017-12-28 Thread Thomas Gleixner
Add the full text of the BSD 3-clause "New" or "Revised" License to the kernel tree. It was copied directly from: https://spdx.org/licenses/BSD-3-Clause.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed

[tip:perf/core] perf test shell: Fix check open filename arg using 'perf trace'

2017-12-28 Thread tip-bot for Michael Petlan
Commit-ID: 69b5c953400897a978f8a7d212c53aa90ff5027d Gitweb: https://git.kernel.org/tip/69b5c953400897a978f8a7d212c53aa90ff5027d Author: Michael Petlan AuthorDate: Tue, 12 Dec 2017 11:22:03 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:56 -0300 perf test s

[patch V5 04/11] LICENSES: Add the LGPL-2.1 license

2017-12-28 Thread Thomas Gleixner
Add the full text of the LGPL 2.1 license to the kernel tree. It was copied directly from: https://spdx.org/licenses/LGPL-2.1.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by: Kate Stewart Reviewe

[tip:perf/core] perf s390: Always build with -fPIC

2017-12-28 Thread tip-bot for Hendrik Brueckner
Commit-ID: a9a3f1d18a6c9ccf89728e23474645aa91e2f4f1 Gitweb: https://git.kernel.org/tip/a9a3f1d18a6c9ccf89728e23474645aa91e2f4f1 Author: Hendrik Brueckner AuthorDate: Wed, 13 Dec 2017 17:46:54 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:57 -0300 perf s39

[patch V5 00/11] LICENSES: Add documentation and initial License files

2017-12-28 Thread Thomas Gleixner
This is the 5th version of the licensing rules documentation. Changes since v4: - Made use of boilerplate consistently - Fixed the 'braces' inconsistency spotted by Heiko - Picked up Reviewed-by tags Delta patch vs. V4 below. Thanks to everyone who provided input! Thanks, tglx

[tip:perf/core] perf probe arm64: Fix symbol fixup issues due to ELF type

2017-12-28 Thread tip-bot for Kim Phillips
Commit-ID: f1031c8d33a8c40d4cac26e58c37d9fba0e31a8a Gitweb: https://git.kernel.org/tip/f1031c8d33a8c40d4cac26e58c37d9fba0e31a8a Author: Kim Phillips AuthorDate: Thu, 14 Dec 2017 17:52:42 -0600 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:58 -0300 perf probe ar

[patch V5 05/11] LICENSES: Add the BSD 2-clause "Simplified" license

2017-12-28 Thread Thomas Gleixner
Add the full text of the BSD 2-clause "Simplified" license to the kernel tree. It was copied directly from: https://spdx.org/licenses/BSD-2-Clause.html#licenseText Add the required tags for reference and tooling. Signed-off-by: Thomas Gleixner Reviewed-by: Philippe Ombredanne Reviewed-by:

[tip:perf/core] perf tool: Improve bash command line auto-complete for multiple events with comma

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 74cd5815d9af6e6c4f3bcecfbc8e439f2fd7e6b1 Gitweb: https://git.kernel.org/tip/74cd5815d9af6e6c4f3bcecfbc8e439f2fd7e6b1 Author: Jin Yao AuthorDate: Thu, 21 Dec 2017 17:26:10 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:59 -0300 perf tool: Improve

[patch V5 02/11] LICENSES: Add the GPL 2.0 license

2017-12-28 Thread Thomas Gleixner
Add the full text of the GPL 2.0 license to the LICENSES directory. It was copied directly from the COPYING file in the kernel source tree as it differs from the public available version of the license in various places including the FSF. Philippe did some research on the GPL2.0 history: There

[tip:perf/core] perf tools: Auto-complete for events with ':'

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 5d4fd9c8b83b36d34521b3af361a5726899045bf Gitweb: https://git.kernel.org/tip/5d4fd9c8b83b36d34521b3af361a5726899045bf Author: Jin Yao AuthorDate: Sat, 23 Dec 2017 04:15:58 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:16:00 -0300 perf tools: Auto-c

[patch V5 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-12-28 Thread Thomas Gleixner
Add a file to the Documentation directory to describe how file licenses should be described in all kernel files, using the SPDX identifier, as well as where all licenses should be in the kernel source tree for people to refer to (LICENSES/). Thanks to Kate and Greg for review and editing and Jonas

[PATCH 0/2] Fix tee: optee: add dynamic shared memory support

2017-12-28 Thread Jens Wiklander
Hi, These two patches complements the previously posted patchset "tee: optee: add dynamic shared memory support" https://lwn.net/Articles/740242/ Tests are added to see that the registered shared memory cache attributes are compatible with OP-TEE in secure world. Under normal circumstances they w

[tip:perf/core] perf tools: Return all events as auto-completions after comma

2017-12-28 Thread tip-bot for Jin Yao
Commit-ID: 34c16db0f035f3f3dc50fbed03747693c12b6a5b Gitweb: https://git.kernel.org/tip/34c16db0f035f3f3dc50fbed03747693c12b6a5b Author: Jin Yao AuthorDate: Fri, 22 Dec 2017 18:57:35 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 27 Dec 2017 12:15:59 -0300 perf tools: Return

[PATCH 2/2] tee: optee: check type of registered shared memory

2017-12-28 Thread Jens Wiklander
Checks the memory type of the pages to be registered as shared memory. Only normal cached memory is allowed. Signed-off-by: Jens Wiklander --- drivers/tee/optee/call.c | 44 ++-- 1 file changed, 42 insertions(+), 2 deletions(-) diff --git a/drivers/tee/op

[PATCH 1/2] tee: add start argument to shm_register callback

2017-12-28 Thread Jens Wiklander
Adds a start argument to the shm_register callback to allow the callback to check memory type of the passed pages. Signed-off-by: Jens Wiklander --- drivers/tee/optee/call.c | 6 -- drivers/tee/optee/optee_private.h | 6 -- drivers/tee/tee_shm.c | 2 +- include/linux

[tip:core/urgent] objtool: Fix Clang enum conversion warning

2017-12-28 Thread tip-bot for Lukas Bulwahn
Commit-ID: e7e83dd3ff1dd2f9e60213f6eedc7e5b08192062 Gitweb: https://git.kernel.org/tip/e7e83dd3ff1dd2f9e60213f6eedc7e5b08192062 Author: Lukas Bulwahn AuthorDate: Tue, 26 Dec 2017 15:27:20 -0600 Committer: Ingo Molnar CommitDate: Thu, 28 Dec 2017 13:11:13 +0100 objtool: Fix Clang enum c

Re: [PATCH 4.9 00/21] 4.9.73-stable review

2017-12-28 Thread Guenter Roeck
On 12/27/2017 08:46 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.73 release. There are 21 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be ma

Re: [PATCH 4.14 00/74] 4.14.10-stable review

2017-12-28 Thread Guenter Roeck
On 12/27/2017 08:45 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.10 release. There are 74 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be m

Re: [PATCH v6 5/8] kernel: tracepoints: add support for relative references

2017-12-28 Thread Steven Rostedt
On Wed, 27 Dec 2017 08:50:30 + Ard Biesheuvel wrote: > To avoid the need for relocating absolute references to tracepoint > structures at boot time when running relocatable kernels (which may > take a disproportionate amount of space), add the option to emit > these tables as relative referen

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
On Thu, Dec 28, 2017 at 03:48:15PM +0100, Thomas Gleixner wrote: > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > On Thu, Dec 28, 2017 at 12:00:47PM +0100, Thomas Gleixner wrote: > > > Ok, lets take a step back. The bisect/kexec attempts led us away from the > > > initial problem which is the

Re: precedence bug in MAKE_PROCESS_CPUCLOCK macro?

2017-12-28 Thread Thomas Gleixner
On Sat, 23 Dec 2017, Nick Desaulniers wrote: > I'm seeing the following warning compiling with Clang: > > kernel/time/posix-cpu-timers.c:1397:29: warning: shifting a negative > signed value is undefined > [-Wshift-negative-value] > return posix_cpu_clock_get(THREAD_CLOCK, tp); >

[PATCH 0/3] Change ISA_BUS_API dependency to selection

2017-12-28 Thread William Breathitt Gray
The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencie

[PATCH 2/3] watchdog: Change ISA_BUS_API dependency to selection

2017-12-28 Thread William Breathitt Gray
The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencie

[PATCH 1/3] iio: Change ISA_BUS_API dependency to selection

2017-12-28 Thread William Breathitt Gray
The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencie

[PATCH 3/3] gpio: Change ISA_BUS_API dependency to selection

2017-12-28 Thread William Breathitt Gray
The ISA_BUS_API Kconfig option enables the compilation of the ISA bus driver. The ISA bus driver does not perform any hardware interaction, and is instead just a thin layer of software abstraction to eliminate boilerplate code common to ISA-style device drivers. Since ISA_BUS_API has no dependencie

Re: [lkp-robot] [x86/cpu_entry_area] 10043e02db: kernel_BUG_at_arch/x86/mm/physaddr.c

2017-12-28 Thread Andrey Ryabinin
On 12/27/2017 09:12 PM, Dmitry Vyukov wrote: >> >> Not really a problem caused by the patch above, it's merily exposing a code >> path which relies blindly on "enough memory available" assumptions. >> >> Throwing more memory at the VM makes the problem go away... > > Hi Thomas, > > We just need

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Alexandru Chirvasitu
On Thu, Dec 28, 2017 at 10:48:35AM -0500, Alexandru Chirvasitu wrote: > On Thu, Dec 28, 2017 at 03:48:15PM +0100, Thomas Gleixner wrote: > > On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > > > On Thu, Dec 28, 2017 at 12:00:47PM +0100, Thomas Gleixner wrote: > > > > Ok, lets take a step back. The

[PATCH] x86/mm: Set MODULES_END to 0xffffffffff000000

2017-12-28 Thread Andrey Ryabinin
Since f06bdd4001c2 ("x86/mm: Adapt MODULES_END based on fixmap section size") kasan_mem_to_shadow(MODULES_END) could be not aligned to a page boundary. So passing page unaligned address to kasan_populate_zero_shadow() have two possible effects: 1) It may leave one page hole in supposed to be popu

Re: [PATCH 1/4] PCI/AER: factor out error reporting from AER

2017-12-28 Thread kbuild test robot
: https://github.com/0day-ci/linux/commits/Oza-Pawandeep/Address-error-and-recovery-for-AER-and-DPC/20171228-222058 config: i386-randconfig-i0-201752 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: # save the attached .config to linux build tree

Re: [PATCH v2] PCI: dwc: Use {upper,lower}_32_bits() macros for clarity

2017-12-28 Thread Stephen Boyd
On 12/28, Joao Pinto wrote: > > if (pp->ops->get_msi_data) > > msg.data = pp->ops->get_msi_data(pp, pos); > > > > Thanks for the patch. > Gustavo' patch-set targeting the update of the Interrupt API for > pcie-designware* already does this modification, so I would suggest that we

Re: PROBLEM: 4.15.0-rc3 APIC causes lockups on Core 2 Duo laptop

2017-12-28 Thread Thomas Gleixner
On Thu, 28 Dec 2017, Alexandru Chirvasitu wrote: > Actually, it decided to cooperate for just long enough for me to get > the dmesg out. Attached. > > This is from the kernel you asked about: Dou's patch + yours, i.e. the > latest one in that git log I just sent, booted up with 'apic=debug'. Ok.

Re: WARNING in strp_data_ready

2017-12-28 Thread Tom Herbert
On Thu, Dec 28, 2017 at 12:59 AM, Ozgur wrote: > > > 28.12.2017, 04:19, "Tom Herbert" : >> On Wed, Dec 27, 2017 at 12:20 PM, Ozgur wrote: >>> 27.12.2017, 23:14, "Dmitry Vyukov" : On Wed, Dec 27, 2017 at 9:08 PM, Ozgur wrote: > 27.12.2017, 22:21, "Dmitry Vyukov" : >> On Wed, De

Re: [lkp-robot] [x86/cpu_entry_area] 10043e02db: kernel_BUG_at_arch/x86/mm/physaddr.c

2017-12-28 Thread Andrey Ryabinin
On 12/28/2017 02:54 PM, Dmitry Vyukov wrote: > On Thu, Dec 28, 2017 at 12:51 PM, Thomas Gleixner wrote: >> On Wed, 27 Dec 2017, Dmitry Vyukov wrote: >>> On Wed, Dec 27, 2017 at 7:05 PM, Thomas Gleixner wrote: So this dies simply because kasan_populate_shadow() runs out of memory and h

Re: [PATCH v6 8/8] x86/kernel: jump_table: use relative references

2017-12-28 Thread Steven Rostedt
On Wed, 27 Dec 2017 08:50:33 + Ard Biesheuvel wrote: > static inline jump_label_t jump_entry_code(const struct jump_entry *entry) > { > - return entry->code; > + return (jump_label_t)&entry->code + entry->code; I'm paranoid about doing arithmetic on abstract types. What happens in

[PATCH] f2fs: recover directory operations by fsync

2017-12-28 Thread Jaegeuk Kim
This fixes generic/342 which doesn't recover renamed file which was fsynced before. It will be done via another fsync on newly created file. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c | 2 ++ fs/f2fs/f2fs.h | 2 ++ fs/f2fs/file.c | 3 +++ fs/f2fs/namei.c | 4 4 files changed, 11 inser

Re: [PATCH v6 8/8] x86/kernel: jump_table: use relative references

2017-12-28 Thread Ard Biesheuvel
On 28 December 2017 at 16:19, Steven Rostedt wrote: > On Wed, 27 Dec 2017 08:50:33 + > Ard Biesheuvel wrote: > >> static inline jump_label_t jump_entry_code(const struct jump_entry *entry) >> { >> - return entry->code; >> + return (jump_label_t)&entry->code + entry->code; > > I'm pa

[RFC PATCH] PCI/DPC/AER: pci_find_dpc_dev() can be static

2017-12-28 Thread kbuild test robot
Fixes: fc0212127f27 ("PCI/DPC/AER: Address Concurrency between AER and DPC") Signed-off-by: Fengguang Wu --- pcie-dpc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pcie/pcie-dpc.c b/drivers/pci/pcie/pcie-dpc.c index e7ced58..68296ec 100644 --- a/drivers/pci

Re: [PATCH 2/4] PCI/DPC/AER: Address Concurrency between AER and DPC

2017-12-28 Thread kbuild test robot
system] url: https://github.com/0day-ci/linux/commits/Oza-Pawandeep/Address-error-and-recovery-for-AER-and-DPC/20171228-222058 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by

Re: [PATCH v2] ftrace/module: Move ftrace_release_mod to ddebug_cleanup label

2017-12-28 Thread Steven Rostedt
On Thu, 28 Dec 2017 05:14:19 + NAMIT GUPTA wrote: >   > Hello Steve, > > As per the discussion I sent patch v2. > Thanks, I missed this due to traveling. -- Steve

[PATCH 7/7] MIPS: jz4740: Drop old platform reset code

2017-12-28 Thread Paul Cercueil
This work is now performed by the watchdog driver directly. Signed-off-by: Paul Cercueil --- arch/mips/jz4740/reset.c | 31 --- 1 file changed, 31 deletions(-) diff --git a/arch/mips/jz4740/reset.c b/arch/mips/jz4740/reset.c index 67780c4b6573..5bf0cf44b55f 100644 --

[PATCH 2/7] watchdog: jz4740: Use devm_* functions

2017-12-28 Thread Paul Cercueil
- Use devm_clk_get instead of clk_get - Use devm_watchdog_register_device instead of watchdog_register_device Signed-off-by: Paul Cercueil --- drivers/watchdog/jz4740_wdt.c | 27 --- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/drivers/watchdog/jz4740_wd

[PATCH 5/7] MIPS: jz4780: dts: Fix watchdog node

2017-12-28 Thread Paul Cercueil
- The previous node requested a memory area of 0x100 bytes, while the driver only manipulates four registers present in the first 0x10 bytes. - The driver requests for the "rtc" clock, but the previous node did not provide any. Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/jz4

[PATCH 4/7] MIPS: jz4740: dts: Add bindings for the jz4740-wdt driver

2017-12-28 Thread Paul Cercueil
Also remove the watchdog platform_device from platform.c, since it wasn't used anywhere anyway. Signed-off-by: Paul Cercueil --- arch/mips/boot/dts/ingenic/jz4740.dtsi | 8 arch/mips/jz4740/platform.c| 16 2 files changed, 8 insertions(+), 16 deletions(-)

[PATCH 6/7] MIPS: qi_lb60: Enable the jz4740-wdt driver

2017-12-28 Thread Paul Cercueil
The watchdog is an useful piece of hardware, so there's no reason not to enable it. This commit enables the Kconfig option in the qi_lb60 defconfig. Signed-off-by: Paul Cercueil --- arch/mips/configs/qi_lb60_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/configs/qi_lb

[PATCH 1/7] watchdog: JZ4740: Disable clock after stopping counter

2017-12-28 Thread Paul Cercueil
Previously, the clock was disabled first, which makes the watchdog component insensitive to register writes. Signed-off-by: Paul Cercueil --- drivers/watchdog/jz4740_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_

[PATCH 0/7] jz4740 watchdog driver & platform cleanups

2017-12-28 Thread Paul Cercueil
Hi, This patchset is meant to drop the platform code that handles the system reset, since the watchdog driver can be used for this task. Some fixes and cleanups are also included. Thanks, -Paul Cercueil

[PATCH 3/7] watchdog: JZ4740: Register a restart handler

2017-12-28 Thread Paul Cercueil
The watchdog driver can restart the system by simply configuring the hardware for a timeout of 0 seconds. Signed-off-by: Paul Cercueil --- drivers/watchdog/jz4740_wdt.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c inde

Re: [PATCH v2] ftrace/module: Move ftrace_release_mod to ddebug_cleanup label

2017-12-28 Thread Steven Rostedt
Jessica, Can you take this patch. You can add: Reviewed-by: Steven Rostedt (VMware) Thanks! -- Steve On Tue, 12 Dec 2017 17:24:32 +0530 Namit Gupta wrote: > ftrace_module_init happen after dynamic_debug_setup, it is desired that > cleanup should be called after this label however in curre

Re: [f2fs-dev] [PATCH 1/2] f2fs: pass down write hints to block layer for bufferd write

2017-12-28 Thread Jaegeuk Kim
On 12/28, Hyunchul Lee wrote: > Hi Jaegeuk, > > On 12/28/2017 12:26 PM, Jaegeuk Kim wrote: > > On 12/23, Chao Yu wrote: > >> On 2017/12/15 10:06, Jaegeuk Kim wrote: > >>> On 12/14, Hyunchul Lee wrote: > Hi Jaegeuk, > > I need your comment about the fs_iohint mount option. > > >

Re: [PATCH 4.9 00/21] 4.9.73-stable review

2017-12-28 Thread Naresh Kamboju
On 27 December 2017 at 22:16, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.73 release. > There are 21 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respon

Re: WARNING in strp_data_ready

2017-12-28 Thread Dmitry Vyukov
On Thu, Dec 28, 2017 at 5:14 PM, Tom Herbert wrote: > On Thu, Dec 28, 2017 at 12:59 AM, Ozgur wrote: >> >> >> 28.12.2017, 04:19, "Tom Herbert" : >>> On Wed, Dec 27, 2017 at 12:20 PM, Ozgur wrote: 27.12.2017, 23:14, "Dmitry Vyukov" : > On Wed, Dec 27, 2017 at 9:08 PM, Ozgur wrote: >>>

[PATCH v2 1/2] Input: edt-ft5x06 - Add support for regulator

2017-12-28 Thread Mylène Josserand
Add the support of regulator to use it as VCC source. Signed-off-by: Mylène Josserand --- .../bindings/input/touchscreen/edt-ft5x06.txt | 1 + drivers/input/touchscreen/edt-ft5x06.c | 33 ++ 2 files changed, 34 insertions(+) diff --git a/Documentation/devic

[PATCH v2 0/2] sun8i-a83t: Add touchscreen support on TBS A711

2017-12-28 Thread Mylène Josserand
Hello everyone, This is a V2 of the patch series that adds touchscreen support (FocalTech EDT-FT5x06 Polytouch) for TBS A711 (Allwinner sun8i-a83t SoC). Based on last linux-next (next-20171222). Changes since v1: - Remove patches 01 and 02 as Chen-Yu Tsai sent a similar patch: https://patch

[PATCH v2 2/2] arm: dts: sun8i: a83t: a711: Add touchscreen node

2017-12-28 Thread Mylène Josserand
Tha A711 tablet has a FocalTech EDT-FT5x06 Polytouch touchscreen. It is connected via I2C0. The reset line is PD5, the interrupt line is PL7 and the VCC supply is the ldo_io0 regulator. Signed-off-by: Mylène Josserand --- arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 16 1 file ch

Re: [PATCH v6 8/8] x86/kernel: jump_table: use relative references

2017-12-28 Thread Steven Rostedt
On Thu, 28 Dec 2017 16:26:07 + Ard Biesheuvel wrote: > On 28 December 2017 at 16:19, Steven Rostedt wrote: > > On Wed, 27 Dec 2017 08:50:33 + > > Ard Biesheuvel wrote: > > > >> static inline jump_label_t jump_entry_code(const struct jump_entry *entry) > >> { > >> - return entry-

<    3   4   5   6   7   8   9   >