[PATCH 08/14] staging: lustre: llite: fix invalid size test in ll_setstripe_ea()

2017-08-14 Thread James Simmons
The size check at the start of ll_setstripe_ea() is only valid for a directory. Move that check to the section of code handling the S_ISDIR case. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183 Reviewed-on: https://review.whamcloud.com/27240 Reviewed-by: Dmit

Re: [PATCH v5 10/10] lkdtm: Add test for XPFO

2017-08-14 Thread Tycho Andersen
On Sun, Aug 13, 2017 at 04:24:23AM +0800, kbuild test robot wrote: > Hi Juerg, > > [auto build test ERROR on arm64/for-next/core] > [also build test ERROR on v4.13-rc4] > [cannot apply to next-20170811] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the

[PATCH 13/14] staging: lustre: llite: style changes in xattr.c

2017-08-14 Thread James Simmons
Small style changes to match more the kernel code standard and it make it more readable. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183 Reviewed-on: https://review.whamcloud.com/27240 Reviewed-by: Dmitry Eremin Reviewed-by: Bob Glossman Reviewed-by: Sebast

[PATCH 11/14] staging: lustre: llite: use proper types in the xattr code

2017-08-14 Thread James Simmons
Convert __uXX types to uXX types since this is kernel code. The function ll_lov_user_md_size() returns ssize_t so change lum_size from int to ssize_t. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183 Reviewed-on: https://review.whamcloud.com/27240 Reviewed-by:

Re: [PATCH] x86/mm: Fix personality(ADDR_NO_RANDOMIZE)

2017-08-14 Thread Kirill A. Shutemov
On Mon, Aug 14, 2017 at 07:13:47PM +0300, Cyrill Gorcunov wrote: > On Mon, Aug 14, 2017 at 06:57:19PM +0300, Kirill A. Shutemov wrote: > > In v4.12, during rework of infrastructure around mmap_base, disable-ASLR > > personality flag got accidentally broken. > > > > Let's make it work again. > > >

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-08-14 Thread Tony Lindgren
* Wolfram Sang [170814 01:43]: > > > > Given the triviality of the change for non-MFD subsystems, can we apply > > > this for 4.14? > > > > I can't apply anything without Acks for *all* of the subsystems above. > > Well, there are cases when you can. Those should be exceptions and well > justif

Re: [kernel-hardening] [PATCH v5 06/10] arm64/mm: Disable section mappings if XPFO is enabled

2017-08-14 Thread Tycho Andersen
On Sat, Aug 12, 2017 at 12:17:34PM +0100, Mark Rutland wrote: > Hi, > > On Fri, Aug 11, 2017 at 03:13:02PM -0600, Tycho Andersen wrote: > > On Fri, Aug 11, 2017 at 10:25:14AM -0700, Laura Abbott wrote: > > > On 08/09/2017 01:07 PM, Tycho Andersen wrote: > > > > @@ -190,7 +202,7 @@ static void init

[PATCH 10/14] staging: lustre: llite: cleanup posix acl xattr code

2017-08-14 Thread James Simmons
Have extra ifdef makes the code harder to read. For the case of ll_xattr_get_common() we have a variable initialized at the start of the function but it is only used in XATTR_ACL_ACCESS_T code block. Lets move that variable to that location since its only used there and make the code look cleaner.

[PATCH 09/14] staging: lustre: llite: record in stats attempted removal of lma/link xattr

2017-08-14 Thread James Simmons
Keep track of attempted deletions as well as changing of the lma/link xattrs. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183 Reviewed-on: https://review.whamcloud.com/27240 Reviewed-by: Dmitry Eremin Reviewed-by: Bob Glossman Reviewed-by: Sebastien Buisson

Re: [PATCH v2 0/7] ARM: Broadcom Brahma-B15 readahead cache support

2017-08-14 Thread Florian Fainelli
On 07/14/2017 03:11 PM, Florian Fainelli wrote: > On 06/23/2017 10:52 AM, Florian Fainelli wrote: >> Hi all, >> >> This patch series adds support for the Broadcom Brahma-B15 readahead cache. >> I submitted that patch series a couple of years ago, and then slept on it so >> here is another stab at

Re: SIGNAL_UNKILLABLE and init again

2017-08-14 Thread Oleg Nesterov
Hi Jamie, On 08/14, Jamie Iles wrote: > > > > Not sure, let me think a bit more... and this is not enough anyway. > > > > > > perhaps we should start with this simple change, but the "real" fix > > > needs a lot of cleanups, although I am not sure if we will ever do this. > > > > Okay, sounds go

Re: [PATCH 2/3] mfd: tps65010: move header file out of I2C realm

2017-08-14 Thread Tony Lindgren
* Lee Jones [170814 01:44]: > On Mon, 14 Aug 2017, Lee Jones wrote: > > > On Sun, 13 Aug 2017, Wolfram Sang wrote: > > > > > On Tue, May 23, 2017 at 08:18:19AM +0100, Lee Jones wrote: > > > > On Mon, 22 May 2017, Wolfram Sang wrote: > > > > > > > > > include/linux/i2c is not for client devices.

[PATCH 07/14] staging: lustre: llite: fix sparse variable length array warning

2017-08-14 Thread James Simmons
Currently sparse reports "warning: Variable length array is used." The solution is use kasprintf to allocate full xattr name. Signed-off-by: James Simmons Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9183 Reviewed-on: https://review.whamcloud.com/27240 Reviewed-by: Dmitry Eremin Reviewed-

Re: [PATCH v3] iommu/s390: Add support for iommu_device handling

2017-08-14 Thread Joerg Roedel
Hi Sebastian, On Fri, Aug 11, 2017 at 07:02:36PM +0200, Sebastian Ott wrote: > ..but I found the bug, actually 2 bugs: > > * That patch embedded a struct iommu_device within struct zpci_dev but > the iommu_device has a release function (via its class) - so when > the release function gets called

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Borislav Petkov
On Mon, Aug 14, 2017 at 03:57:35PM +, Kani, Toshimitsu wrote: > Hmm... Sorry, I failed to see how your patchset solved it. Would you > mind to explain how it is done? +static int __init ghes_edac_register(void) { + struct ghes_edac_pvt *pvt = ghes_pvt; Only one local ghes_pvt structur

Re: [PATCH 1/2] x86: fix norandmaps

2017-08-14 Thread Kirill A. Shutemov
On Mon, Jul 10, 2017 at 01:14:29PM +0200, Oleg Nesterov wrote: > Documentation/admin-guide/kernel-parameters.txt says: > > norandmaps Don't use address space randomization. Equivalent > to echo 0 > /proc/sys/kernel/randomize_va_space > > but it doesn't work because arch_rnd()

Re: [PATCH] ARM: bcm2836: Send event when onlining other cores

2017-08-14 Thread Florian Fainelli
On 08/08/2017 04:04 AM, Phil Elwell wrote: > Secondary cores should enter a low-power idle state when waiting to > be started. The "wfe" instruction causes a core to wait until an event > or interrupt arrives before continuing to the next instruction, and > the "sev" instruction sends a wakeup ev

[PATCHv6 1/2] dt-bindings: i2c: Add Altera I2C Controller

2017-08-14 Thread thor . thayer
From: Thor Thayer Add the documentation to support the Altera synthesizable logic I2C Controller in FPGA. Signed-off-by: Thor Thayer Acked-by: Rob Herring --- v2 Change the subject to identify dt-bindings Add synthesizable logic to description. Change compatible string to "altr,softip

[PATCHv6 2/2] i2c: altera: Add Altera I2C Controller driver

2017-08-14 Thread thor . thayer
From: Thor Thayer Add driver support for the Altera I2C Controller. The I2C controller is soft IP for use in FPGAs. Signed-off-by: Thor Thayer --- v2 Remove altr, from fifo-size to agree with bindings. Change compatible string to "altr,softip-i2c" v3 Add version to compatible string "altr

[PATCH v2 01/14] staging: lustre: llite: Remove filtering of seclabel xattr

2017-08-14 Thread James Simmons
From: Robin Humble The security.capability xattr is used to implement File Capabilities in recent Linux versions. Capabilities are a fine grained approach to granting executables elevated privileges. eg. /bin/ping can have capabilities cap_net_admin, cap_net_raw+ep instead of being setuid root.

[PATCH 06/14] staging: lustre: llite: eat -EEXIST on setting trunsted.lov

2017-08-14 Thread James Simmons
Tools like rsync, tar, cp may copy and restore the xattrs on a file. The client previously ignored the setting of trusted.lov/lustre.lov if the layout had already been specified, to avoid causing these tools to fail for no reason. For PFL files we still need to silently eat -EEXIST on setting thes

[PATCH 05/14] staging: lustre: llite: return from ll_adjust_lum() if lump is NULL

2017-08-14 Thread James Simmons
From: Bobi Jam No need to check several times if lump is NULL. Just test once and return 0 if NULL. Signed-off-by: Bobi Jam Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9484 Reviewed-on: https://review.whamcloud.com/27126 Reviewed-by: Dmitry Eremin Reviewed-by: Niu Yawei Reviewed-by: J

Re: [PATCH] x86/mm: Fix personality(ADDR_NO_RANDOMIZE)

2017-08-14 Thread Kirill A. Shutemov
On Mon, Aug 14, 2017 at 06:20:02PM +0200, Oleg Nesterov wrote: > On 08/14, Cyrill Gorcunov wrote: > > > > On Mon, Aug 14, 2017 at 06:57:19PM +0300, Kirill A. Shutemov wrote: > > > In v4.12, during rework of infrastructure around mmap_base, disable-ASLR > > > personality flag got accidentally broken

[PATCH 02/14] staging: lustre: llite: refactor lustre.lov xattr handling

2017-08-14 Thread James Simmons
From: Niu Yawei The function ll_xattr_set() contains special code to handle the lustre specific xattr lustre.lov. Move all this code to a new function ll_setstripe_ea(). Signed-off-by: Bobi Jam Signed-off-by: Niu Yawei Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8998 Reviewed-on: https

[PATCH 04/14] staging: lustre: llite: break up ll_setstripe_ea function

2017-08-14 Thread James Simmons
From: Bobi Jam Place all the handling of information of trusted.lov that is not stripe related into the new function ll_adjust_lum(). Now ll_setstripe_ea() only handles striping information. Signed-off-by: Bobi Jam Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-9484 Reviewed-on: https://re

[PATCH 03/14] staging: lustre: llite: add simple comment about lustre.lov xattrs

2017-08-14 Thread James Simmons
From: Niu Yawei Simple comment added to ll_xattr_set. Signed-off-by: Bobi Jam Signed-off-by: Niu Yawei Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8998 Reviewed-on: https://review.whamcloud.com/24851 Reviewed-by: Andreas Dilger Reviewed-by: Lai Siyao Reviewed-by: Jinshan Xiong Signe

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

2017-08-14 Thread Arnaldo Carvalho de Melo
acme/linux into perf/core (2017-08-10 17:07:02 +0200) 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.14-20170814 for you to fetch changes up to 8fc375d7d36c72b4c2d55f5c24be022a939295d4: perf test shell: A

[PATCH 02/19] perf vendor events powerpc: remove suffix in mapfile

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu Drop the .json suffix for events directory in the mapfile.csv. Now that we have separate JSON files for each topic in a CPU (eg: see tools/perf/pmu-events/arch/powerpc/power8/*.json) the .json suffix in the mapfile is misleading and redundant. Reported-by: Michael Elle

[PATCH 06/19] perf test: Make 'list' subcommand match main 'perf test' numbering/matching

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Before: # perf test Synth 39: Synthesize thread map : Ok 41: Synthesize cpu map : Ok 42: Synthesize stat config : Ok 43: Synthesize stat: Ok 44: Synthesize stat round : Ok 45: Synthesize attr update : Ok # # perf test list Synth 1

[PATCH 07/19] perf test: Add 'struct test *' to the test functions

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This way we'll be able to pass more test specific parameters without having to change this function signature. Will be used by the upcoming 'shell tests', shell scripts that will call perf tools and check if they work as expected, comparing its effects on the syste

[PATCH 12/19] perf test shell: Move vfs_getname probe function to lib

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Multiple tests will be able to reuse these functions, to test things like perf report, 'trace', etc, using this probe. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Michael Petlan Cc: Namhyung Kim Cc: Thomas Richter Cc: Wang Nan Link: http://lkml.kerne

[PATCH 11/19] perf test shell: Install shell tests

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Now that we have shell tests, install them. Developers don't need this pass, as 'perf test' will look first at the in tree scripts at tools/perf/tests/shell/. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Michael Petlan Cc: Namhyung Kim Cc: Thomas Richt

[PATCH 13/19] perf test shell: Add test using probe:vfs_getname and verifying results

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This test uses the 'perf test shell' library to add probe:vfs_getname to the system then use it with 'perf record' using 'touch' to write to a temp file, then checks that that was captured by the vfs_getname probe in the generated perf.data file, with the temp file

[PATCH 15/19] perf util: Take elf_name as const string in dso__demangle_sym

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Milian Wolff The input string is not modified and thus can be passed in as a pointer to const data. Signed-off-by: Milian Wolff Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Yao Jin Link: http://lkml.kernel.org/r/20170806212446.24925-3-milian.wo...@kdab.com Signed-off-by: Ar

[PATCH 14/19] perf test shell: Add test using vfs_getname + 'perf trace'

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Uses the 'perf test shell' library to add probe:vfs_getname to the system then use it with 'perf trace' using 'touch' to write to a temp file, then checks that that was captured by the vfs_getname was used by 'perf trace', that already handles "probe:vfs_getname" if

[PATCH 17/19] perf record: Fix wrong size in perf_record_mmap for last kernel module

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Thomas Richter During work on perf report for s390 I ran into the following issue: 0 0x318 [0x78]: PERF_RECORD_MMAP -1/0: [0x3ff804d6990(0xfc007fb2966f) @ 0]: x /lib/modules/4.12.0perf1+/kernel/drivers/s390/net/qeth_l2.ko This is a PERF_RECORD_MMAP entry of the perf.da

[PATCH 16/19] perf srcline: Do not consider empty files as valid srclines

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Milian Wolff Sometimes we get a non-null, but empty, string for the filename from bfd. This then results in srclines of the form ":0", which is different from the canonical SRCLINE_UNKNOWN in the form "??:0". Set the file to NULL if it is empty to fix this. Signed-off-by: Milian Wolff Cc

[PATCH 18/19] perf report: Fix module symbol adjustment for s390x

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Thomas Richter The 'perf report' tool does not display the addresses of kernel module symbols correctly. For example symbol qeth_send_ipa_cmd in kernel module qeth.ko has this relative address for function qeth_send_ipa_cmd(): [root@s8360047 linux]# nm -g drivers/s390/net/qeth.ko | fgre

Re: [PATCH 2/3] mfd: tps65010: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
> > Even if it doesn't, it still requires Acks. > > As long as this has been compile tested with omap1_defconfig: > > Acked-by: Tony Lindgren Hah, just in time. I was about to send out the new version, thanks! :D buildbot did test it and I did compile tests, too. signature.asc Description:

[PATCH 19/19] perf test shell: Add uprobes + backtrace ping test

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Installs a probe on libc's inet_pton function, that will use uprobes, then use 'perf trace' on a ping to localhost asking for just one packet with the a backtrace 3 levels deep, check that it is what we expect. This needs no debuginfo package, all is done using the

[PATCH 10/19] perf test shell: Add 'probe_vfs_getname' shell test

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo First perf shell test: # perf test vfs_getname 60: Add vfs_getname probe to get syscall args filenames: Ok # In verbose mode: # perf test -v vfs_getname 60: Add vfs_getname probe to get syscall args filenames: --- start --- test child forked, pid 19

[PATCH 08/19] perf test: Add infrastructure to run shell based tests

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To allow testing by directly using perf tools in scripts, checking that the effects on the system are the ones expected and that the output produced is as well the desired one. For instance, adding a probe at a well known location with 'perf probe', then checking t

[PATCH 09/19] perf test: Make 'list' use same filtering code as main 'perf test'

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Before: # perf test Synth 39: Synthesize thread map : Ok 41: Synthesize cpu map : Ok 42: Synthesize stat config : Ok 43: Synthesize stat: Ok 44: Synthesize stat round : Ok 45: Synthesize attr update : Ok # perf test list Synth # Aft

Re: [PATCH v4 5/9] perf annotate stdio: Support --show-nr-samples option

2017-08-14 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 14, 2017 at 07:42:07PM +0900, Taeung Song escreveu: > On 08/01/2017 03:24 PM, Taeung Song wrote: > > On 07/29/2017 01:26 AM, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Jul 28, 2017 at 01:16:16AM +0900, Taeung Song escreveu: > > > > Add --show-nr-samples option to perf-annotate > > >

Re: [RFC PATCH 1/6] bsg: fix kernel panic resulting from missing allocation of a reply-buffer

2017-08-14 Thread Benjamin Block
Hey Christoph, I looked over the patch in detail, see below. > From f5b03b82df0569c035022c1c2535696186907f1a Mon Sep 17 00:00:00 2001 > From: Christoph Hellwig > Date: Fri, 11 Aug 2017 11:03:29 +0200 > Subject: bsg-lib: allocate sense data for each request > > Since we split the scsi_request out

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
> Acked-by: Daniel Thompson Added, thanks! signature.asc Description: PGP signature

[PATCH 05/19] perf tools: Add missing newline to expr parser error messages

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Signed-off-by: Andi Kleen Acked-by: Jiri Olsa Link: http://lkml.kernel.org/r/20170724234015.5165-6-a...@firstfloor.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/expr.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/expr.y

Re: [RFC PATCH 1/6] bsg: fix kernel panic resulting from missing allocation of a reply-buffer

2017-08-14 Thread Benjamin Block
On Sun, Aug 13, 2017 at 04:39:40PM +0200, Christoph Hellwig wrote: > On Fri, Aug 11, 2017 at 06:01:42PM +0200, Benjamin Block wrote: > > When the BSG interface is used with bsg-lib, and the user sends a > > Bidirectional command - so when he gives an input- and output-buffer > > (most users of our

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-08-14 Thread Daniel Thompson
On 14/08/17 17:22, Tony Lindgren wrote: * Wolfram Sang [170814 01:43]: Given the triviality of the change for non-MFD subsystems, can we apply this for 4.14? I can't apply anything without Acks for *all* of the subsystems above. Well, there are cases when you can. Those should be exceptio

Re: [PATCH] x86/mm: Fix personality(ADDR_NO_RANDOMIZE)

2017-08-14 Thread Cyrill Gorcunov
On Mon, Aug 14, 2017 at 06:20:02PM +0200, Oleg Nesterov wrote: ... > > > > Didn't Oleg's patch does the same? > > > > https://patchwork.kernel.org/patch/9832697/ > > at first glance yes, thanks Cyrill. And note that we do not need another > PF_RANDOMIZE check. > > > for some reason it's not yet m

[PATCH 04/19] perf stat: Fix saved values rbtree lookup

2017-08-14 Thread Arnaldo Carvalho de Melo
From: Andi Kleen The stat shadow saved values rbtree is indexed by a pointer. Fix the comparison function: - We cannot return a pointer delta as an int because that loses bits on 64bit. - Doing pointer arithmetic on the struct pointer only works if the objects are spaced by the multiple of

[PATCH v2 1/3] mfd: dm355evm_msp: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang Acked-by: Alexandre Belloni Acked-by: Dmitry Torokhov --- Change since V1: * rebased to v4.13-rc5, no changes needed * acks added. I think none are missing. drivers/

[PATCH v2 0/3] mfd: move include files out of include/linux/i2c

2017-08-14 Thread Wolfram Sang
It doesn't make sense to use include/linux/i2c for client drivers which may in fact rather be hwmon or input or whatever devices. As a result, I want to deprecate include/linux/i2c for good. This series moves the include files to a better location, for the mfd subsystem to include/linux/mfd. V2 is

Re: [alsa-devel] [PATCH v3 3/5] ASoC: codecs: msm8916-wcd-analog: add MBHC support

2017-08-14 Thread Srinivas Kandagatla
On 14/08/17 15:12, Damien Riegel wrote: Hi, On Thu, Aug 10, 2017 at 09:33:29AM -0400, Damien Riegel wrote: Hi, On Thu, Aug 10, 2017 at 11:02:34AM +0100, Srinivas Kandagatla wrote: Hi Damien, Thanks for testing. On 09/08/17 22:10, Damien Riegel wrote: Hi Srinivas, On Wed, Aug 09, 2017 at

[PATCH v2 3/3] mfd: twl: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang Acked-by: Greg Kroah-Hartman Acked-by: Alexandre Belloni Acked-by: Mark Brown Acked-by: Sebastian Reichel Acked-by: Jonathan Cameron Acked-by: Dmitry Torokhov Acked-

Re: [kernel-hardening] [PATCH v5 04/10] arm64: Add __flush_tlb_one()

2017-08-14 Thread Tycho Andersen
Hi Mark, On Sat, Aug 12, 2017 at 12:26:03PM +0100, Mark Rutland wrote: > On Wed, Aug 09, 2017 at 02:07:49PM -0600, Tycho Andersen wrote: > > From: Juerg Haefliger > > > > Add a hook for flushing a single TLB entry on arm64. > > > > Signed-off-by: Juerg Haefliger > > Tested-by: Tycho Andersen

[PATCH v2 2/3] mfd: tps65010: move header file out of I2C realm

2017-08-14 Thread Wolfram Sang
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang Acked-by: Greg Kroah-Hartman Acked-by: Krzysztof Kozlowski Acked-by: Bartlomiej Zolnierkiewicz Acked-by: Tony Lindgren --- Change since V1: * rebased to v4.13-rc5, no

[PATCH 01/19] perf scripting python: Add ppc64le to audit uname list

2017-08-14 Thread Arnaldo Carvalho de Melo
From: "Naveen N. Rao" Before patch: $ uname -m ppc64le $ ./perf script -s ./scripts/python/syscall-counts.py Install the audit-libs-python package to get syscall names. For example: # apt-get install python-audit (Ubuntu) # yum install audit-libs-python (Fedora) etc. Pre

[PATCH] usb: gadget: udc: udc_stop before gadget unbind

2017-08-14 Thread Danilo Krummrich
udc_stop needs to be called before gadget driver unbind. Otherwise it might happen that udc drivers still call into the gadget driver (e.g. to reset gadget after OTG event). If this happens it is likely to get panics from gadget driver dereferencing NULL ptr, as gadget's drvdata is set to NULL on u

Re: [PATCH] ARM: dts: BCM5301X: Add support for Linksys EA9500

2017-08-14 Thread Florian Fainelli
On 08/13/2017 09:44 PM, Vivek Unune wrote: > Florian, > > On Thu, Jun 29, 2017 at 5:04 PM, Vivek Unune wrote: >> Florian, >> I have managed to use DSA driver and was able detect both internal and external switches. However, I only get packets flowing only through the internal swi

[PATCH 00/14] staging: lustre: llite: xattr related handling fixes

2017-08-14 Thread James Simmons
This batch of patches resolves several issues with how lustre handles xattrs. Some of the patches also resolve some style issues with the code. The patch set is order dependent. These fixes resolve some of the test failures that happen. Bobi Jam (2): staging: lustre: llite: break up ll_setstripe

Re: [PATCH 1/2] dt-bindings: mtd: Altera ASMI Parallel II IP Core

2017-08-14 Thread matthew . gerlach
Hi Rob, Thanks for the feedback. Please see my comments in line. Matthew Gerlach On Thu, 10 Aug 2017, Rob Herring wrote: On Sun, Aug 06, 2017 at 11:24:02AM -0700, matthew.gerl...@linux.intel.com wrote: From: Matthew Gerlach Device Tree bindinds for Altera ASMI Parallel II IP Core. s/bi

Re: nvmet_fc: add defer_req callback for deferment of cmd buffer return

2017-08-14 Thread Christoph Hellwig
On Mon, Aug 14, 2017 at 10:19:24AM -0400, Dave Jones wrote: > > + > > + /* Cleanup defer'ed IOs in queue */ > > + list_for_each_entry(deferfcp, &queue->avail_defer_list, req_list) { > > + list_del(&deferfcp->req_list); > > + kfree(deferfcp); > > + } > > Shouldn't this be

Re: [PATCHv2] perf bpf: Fix endianness problem when loading parameters in prologue

2017-08-14 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 14, 2017 at 01:46:44PM +0200, Thomas Richter escreveu: > Perf BPF prologue generator unconditionally fetches 8 bytes for function > parameters, which causes problem on big endian machine. Thomas gives a > detail analysis for this problem: > > > http://lkml.kernel.org/r/968ebda5-abe4-

[PATCH v2] ARC: clk: introduce HSDKv1 pll driver

2017-08-14 Thread Eugeniy Paltsev
HSDKv1 board manages its clocks using various PLLs. These PLL have same dividers and corresponding control registers mapped to different addresses. So we add one common driver for such PLLs. Each PLL on HSDK board consists of three dividers: IDIV, FBDIV and ODIV. Output clock value is managed usin

Re: [PATCH v4 5/9] perf annotate stdio: Support --show-nr-samples option

2017-08-14 Thread Taeung Song
On 08/15/2017 01:31 AM, Arnaldo Carvalho de Melo wrote: Em Mon, Aug 14, 2017 at 07:42:07PM +0900, Taeung Song escreveu: On 08/01/2017 03:24 PM, Taeung Song wrote: On 07/29/2017 01:26 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 28, 2017 at 01:16:16AM +0900, Taeung Song escreveu: Add --sh

Re: [PATCH v1 1/4] KVM: MMU: check guest CR3 reserved bits based on its physical address width.

2017-08-14 Thread Paolo Bonzini
On 14/08/2017 18:13, Jim Mattson wrote: >> ctxt->ops->get_msr(ctxt, MSR_EFER, &efer); >> - if (efer & EFER_LMA) >> - rsvd = CR3_L_MODE_RESERVED_BITS & ~CR3_PCID_INVD; >> + if (efer & EFER_LMA) { >> + u64 maxphya

[PATCH v2] dt-bindings: watchdog: mediatek: add support for MediaTek MT7623 and MT7622 SoC

2017-08-14 Thread sean.wang
From: Sean Wang This updates dt-binding documentation for MediaTek MT7622 and MT7623 SoC. For the both SoCs supported all rely on the fallback binding of the case with "mediatek,mt6589-wdt". Signed-off-by: Sean Wang Acked-by: Rob Herring --- Documentation/devicetree/bindings/watchdog/mtk-wdt.

[GIT PULL] MD update for 4.13-rc5

2017-08-14 Thread Shaohua Li
Hi, Please pull MD fixes. This update fixes several bugs: - Fixes a rcu stall issue introduced in 4.12 by Neil Brown. - Fixes two raid5 cache race conditions by Song Liu. Thanks, Shaohua The following changes since commit 16f73eb02d7e1765ccab3d2018e0bd98eb93d973: Linux 4.13-rc3 (2017-07-30 12:

Applied "ASoC: hdmi-codec: make a function and two arrays static" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: hdmi-codec: make a function and two arrays static has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "ASoC: kirkwood: Delete an error message for a failed memory allocation in kirkwood_i2s_dev_probe()" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: kirkwood: Delete an error message for a failed memory allocation in kirkwood_i2s_dev_probe() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree

Applied "ASoC: rockchip: Delete an error message for a failed memory allocation in rockchip_i2s_probe()" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: rockchip: Delete an error message for a failed memory allocation in rockchip_i2s_probe() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (us

Applied "ASoC: blackfin: Use common error handling code in sport_create()" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: blackfin: Use common error handling code in sport_create() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 h

Applied "ASoC: sun4i-i2s: Add clkdiv offsets to quirks" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: sun4i-i2s: Add clkdiv offsets to quirks has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

Applied "ASoC: sh: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: sh: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Applied "ASoC: sun4i-i2s: Add regmap config to quirks" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: sun4i-i2s: Add regmap config to quirks has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "ASoC: nuc900: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: nuc900: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

Applied "ASoC: txx9: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: txx9: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "ASoC: intel: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: intel: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "ASoC: omap: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: omap: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "ASoC: pxa: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: pxa: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

Applied "ASoC: fsl: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: fsl: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

Applied "ASoC: blackfin: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: blackfin: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: [PATCH 1/2] x86: fix norandmaps

2017-08-14 Thread Cyrill Gorcunov
On Mon, Aug 14, 2017 at 06:43:10PM +0200, Oleg Nesterov wrote: > > Acked-by: Kirill A. Shutemov > > OK, thanks Kirill and Cyrill, I'll resend tomorrow with all acks I got. I don't think you need my ack but if any Acked-by: Cyrill Gorcunov

Applied "ASoC: max98926: make max98926_spk_tlv and max98926_current_tlv static" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: max98926: make max98926_spk_tlv and max98926_current_tlv static has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "ASoC: samsung: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: samsung: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "spi: rockchip: add compatible string for rv1108 spi" to the spi tree

2017-08-14 Thread Mark Brown
The patch spi: rockchip: add compatible string for rv1108 spi has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent t

Applied "regmap: constify regmap_bus structures" to the regmap tree

2017-08-14 Thread Mark Brown
The patch regmap: constify regmap_bus structures has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH v3] hwmon: (pmbus): Add debugfs for status registers

2017-08-14 Thread Eddie James
On 08/14/2017 11:13 AM, Guenter Roeck wrote: On Mon, Aug 14, 2017 at 09:59:50AM -0500, Eddie James wrote: From: "Edward A. James" Export all the available status registers through debugfs. This is useful for hardware diagnostics, especially on multi-page pmbus devices, as user-space access o

Applied "ASoC: zx_aud96p22: make array aud96p22_dt_ids static" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: zx_aud96p22: make array aud96p22_dt_ids static has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "ASoC: rt5514: make array rt5514_dai static" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: rt5514: make array rt5514_dai static has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linu

Applied "ASoC: samsung: make tm2_dapm_widgets and tm2_pm_ops static" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: samsung: make tm2_dapm_widgets and tm2_pm_ops static has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Applied "ASoC: au1x: constify snd_pcm_ops structures" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: au1x: constify snd_pcm_ops structures has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

[PATCH] i2c: pxa: move header file out of deprecated i2c folder

2017-08-14 Thread Wolfram Sang
include/linux/i2c is deprecated because too many platform_data of i2c clients incorrectly ended up there. The few still relevant include files for I2C bus masters with their platform_data have been moved to the platform_data directory. This final one, PXA, is not entirely platform_data, so it is si

Applied "ASoC: sun4i-i2s: Add TX FIFO offset to quirks" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: sun4i-i2s: Add TX FIFO offset to quirks has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to L

Applied "ASoC: blackfin: Delete an error message for a failed memory allocation in sport_create()" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: blackfin: Delete an error message for a failed memory allocation in sport_create() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually

Applied "ASoC: dwc: Delete an error message for a failed memory allocation in dw_i2s_probe()" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: dwc: Delete an error message for a failed memory allocation in dw_i2s_probe() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually somet

Re: [PATCH v2 4/7] ghes_edac: avoid multiple calls to dmi_walk()

2017-08-14 Thread Kani, Toshimitsu
On Mon, 2017-08-14 at 18:24 +0200, Borislav Petkov wrote: > On Mon, Aug 14, 2017 at 03:57:35PM +, Kani, Toshimitsu wrote: > > Hmm... Sorry, I failed to see how your patchset solved it.  Would > > you mind to explain how it is done? > > +static int __init ghes_edac_register(void) >  { > +  

Re: [PATCH 1/2] x86: fix norandmaps

2017-08-14 Thread Oleg Nesterov
On 08/14, Kirill A. Shutemov wrote: > > On Mon, Jul 10, 2017 at 01:14:29PM +0200, Oleg Nesterov wrote: > > Documentation/admin-guide/kernel-parameters.txt says: > > > > norandmaps Don't use address space randomization. Equivalent > > to echo 0 > /proc/sys/kernel/randomize_va_s

Applied "ASoC: fsi: Delete an error message for a failed memory allocation in fsi_probe()" to the asoc tree

2017-08-14 Thread Mark Brown
The patch ASoC: fsi: Delete an error message for a failed memory allocation in fsi_probe() has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime

<    1   2   3   4   5   6   7   8   9   10   >