Re: [RFC v2 2/6] batman-adv: Rename batman-adv.h to batadv_genl.h

2017-12-06 Thread Willem de Bruijn
On Tue, Dec 5, 2017 at 9:35 AM, Sven Eckelmann wrote: > This file contains the relevant information to let userspace communicate > with batman-adv over generic netlink. The relevant genl enums for the > attributes and commands have the prefix batadv_genl. Renaming this file to > this name therefor

[tip:perf/core] perf evlist: Remove evlist->overwrite

2017-12-06 Thread tip-bot for Wang Nan
Commit-ID: 144b9a4fc53039c09007b71a06640560a6e62140 Gitweb: https://git.kernel.org/tip/144b9a4fc53039c09007b71a06640560a6e62140 Author: Wang Nan AuthorDate: Sun, 3 Dec 2017 02:00:39 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:54 -0300 perf evlist: Remove

[tip:perf/core] perf mmap: Remove overwrite from arguments list of perf_mmap__push

2017-12-06 Thread tip-bot for Wang Nan
Commit-ID: ca6a9a05391960be5e8161a59a9854b32325d901 Gitweb: https://git.kernel.org/tip/ca6a9a05391960be5e8161a59a9854b32325d901 Author: Wang Nan AuthorDate: Sun, 3 Dec 2017 02:00:40 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:54 -0300 perf mmap: Remove o

[tip:perf/core] perf vendor events arm64: Add ThunderX2 implementation defined pmu core events

2017-12-06 Thread tip-bot for Ganapatrao Kulkarni
Commit-ID: d3964221ea14690fe51cb57331b88b5c69e4d2cb Gitweb: https://git.kernel.org/tip/d3964221ea14690fe51cb57331b88b5c69e4d2cb Author: Ganapatrao Kulkarni AuthorDate: Tue, 17 Oct 2017 00:02:21 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:51 -0300 perf ve

Re: add_wait_queue() (unintentional?) behavior change in v4.13

2017-12-06 Thread Ingo Molnar
* Linus Torvalds wrote: > On Wed, Nov 29, 2017 at 4:58 PM, Omar Sandoval wrote: > > > > Note the change from __add_wait_queue() to > > __add_wait_queue_entry_tail(). I'm assuming this was a typo since the > > commit message doesn't mention any functional changes. This patch > > restores the old

[tip:perf/core] perf mmap: Remove overwrite and check_messup from mmap read

2017-12-06 Thread tip-bot for Wang Nan
Commit-ID: 8eb7a1fe31612fd3e8ae8042dd2ebaf7575504cb Gitweb: https://git.kernel.org/tip/8eb7a1fe31612fd3e8ae8042dd2ebaf7575504cb Author: Wang Nan AuthorDate: Sun, 3 Dec 2017 02:00:41 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:54 -0300 perf mmap: Remove o

[tip:perf/core] perf tools: Fix up build in hardnened environments

2017-12-06 Thread tip-bot for Jiri Olsa
Commit-ID: c6707fdef7e2c1eb5458988b49c33497affdebbf Gitweb: https://git.kernel.org/tip/c6707fdef7e2c1eb5458988b49c33497affdebbf Author: Jiri Olsa AuthorDate: Mon, 4 Dec 2017 12:23:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:52 -0300 perf tools: Fix up

[tip:perf/core] perf pmu: Add check for valid cpuid in perf_pmu__find_map()

2017-12-06 Thread tip-bot for Ganapatrao Kulkarni
Commit-ID: de3d0f12be476271d03f1ddb5a7c241c2f07f126 Gitweb: https://git.kernel.org/tip/de3d0f12be476271d03f1ddb5a7c241c2f07f126 Author: Ganapatrao Kulkarni AuthorDate: Tue, 17 Oct 2017 00:02:22 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:51 -0300 perf pm

[PATCH 23/45] fs: btrfs: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- fs/btrfs/super.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 3a4dce1..b3

[tip:perf/core] perf c2c: Add a tip about cacheline events

2017-12-06 Thread tip-bot for Sangwon Hong
Commit-ID: 0125195268a0f9886b582c7e73da98f89029796f Gitweb: https://git.kernel.org/tip/0125195268a0f9886b582c7e73da98f89029796f Author: Sangwon Hong AuthorDate: Sat, 2 Dec 2017 13:16:41 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:55 -0300 perf c2c: Add a

Re: [PATCH] USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-06 Thread Alan Stern
On Wed, 6 Dec 2017, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 6 Dec 2017 17:00:18 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > drive

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

2017-12-06 Thread tip-bot for Hendrik Brueckner
Commit-ID: 1dc4ddf112a408e607a073d951b962b6c6e2bd6c Gitweb: https://git.kernel.org/tip/1dc4ddf112a408e607a073d951b962b6c6e2bd6c Author: Hendrik Brueckner AuthorDate: Thu, 30 Nov 2017 09:49:25 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 10:24:32 -0300 perf s390

Re: [PATCH RFC 0/2] ignore LBR-related MSRs

2017-12-06 Thread Denis V. Lunev
On 12/06/2017 07:39 PM, Jan Dakinevich wrote: > On Wed, 6 Dec 2017 10:06:48 -0500 > Konrad Rzeszutek Wilk wrote: > >> On Wed, Dec 06, 2017 at 02:43:01PM +0300, Jan Dakinevich wrote: >>> w2k16 essentials fails to boot if underlying hypervisor lacks of >>> support for LBR MSRs. To workaround the iss

Re: [PATCH] sched/wait: fix add_wait_queue() behavior change

2017-12-06 Thread Ingo Molnar
* Jens Axboe wrote: > On 12/06/2017 12:15 AM, Omar Sandoval wrote: > > From: Omar Sandoval > > > > Commit 50816c48997a ("sched/wait: Standardize internal naming of > > wait-queue entries") changed the behavior of add_wait_queue() from > > inserting the wait entry at the head of the wait queue

[tip:perf/core] perf vendor events: Use more flexible pattern matching for CPU identification for mapfile.csv

2017-12-06 Thread tip-bot for William Cohen
Commit-ID: fbc2844e84038ce3687d203ac80b66194e9f21e6 Gitweb: https://git.kernel.org/tip/fbc2844e84038ce3687d203ac80b66194e9f21e6 Author: William Cohen AuthorDate: Mon, 4 Dec 2017 09:57:28 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:55 -0300 perf vendor ev

[tip:perf/core] perf report: Set browser mode right before setup_browser()

2017-12-06 Thread tip-bot for Seokho Song
Commit-ID: 712d36db5a5c57eb79e962a0f9b85964640e8415 Gitweb: https://git.kernel.org/tip/712d36db5a5c57eb79e962a0f9b85964640e8415 Author: Seokho Song <0xdev...@gmail.com> AuthorDate: Tue, 5 Dec 2017 01:02:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:56 -03

[tip:perf/core] perf tools: Rename 'backward' to 'overwrite' in evlist, mmap and record

2017-12-06 Thread tip-bot for Wang Nan
Commit-ID: 0b72d69a542873ee098867deeb37d27ad4629c64 Gitweb: https://git.kernel.org/tip/0b72d69a542873ee098867deeb37d27ad4629c64 Author: Wang Nan AuthorDate: Mon, 4 Dec 2017 16:51:07 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 16:02:39 -0300 perf tools: Rename

[tip:perf/core] perf mmap: Fix perf backward recording

2017-12-06 Thread tip-bot for Wang Nan
Commit-ID: 71f566a34986f4a86a8c546c7a36f70f0132b8a9 Gitweb: https://git.kernel.org/tip/71f566a34986f4a86a8c546c7a36f70f0132b8a9 Author: Wang Nan AuthorDate: Mon, 4 Dec 2017 16:51:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:45:36 -0300 perf mmap: Fix perf

[tip:perf/core] perf mmap: Don't discard prev in backward mode

2017-12-06 Thread tip-bot for Wang Nan
Commit-ID: 7fb4b407a1242dbc85ea3ed1be065dca8f9a6f5b Gitweb: https://git.kernel.org/tip/7fb4b407a1242dbc85ea3ed1be065dca8f9a6f5b Author: Wang Nan AuthorDate: Mon, 4 Dec 2017 16:51:06 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:59:37 -0300 perf mmap: Don't di

[PATCH 20/45] drivers: thermal: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/thermal/of-thermal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/thermal/of-thermal.c b/drivers/th

[PATCH 07/45] drivers: infiniband: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/infiniband/core/mad.c| 1 - drivers/infiniband/core/netlink.c| 2 -- drivers/infiniba

[PATCH] iommu/vt-d: clean up pr_irq if request_threaded_irq fails

2017-12-06 Thread Jerry Snitselaar
It is unlikely request_threaded_irq will fail, but if it does for some reason we should clear iommu->pr_irq in the error path. Also intel_svm_finish_prq shouldn't try to clean up the page request interrupt if pr_irq is 0. Without these, if request_threaded_irq were to fail the following occurs: fa

[tip:perf/core] x86/asm: Allow again using asm.h when building for the 'bpf' clang target

2017-12-06 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c343bade301dfe608e86b034cbabed3c0d5a50f5 Gitweb: https://git.kernel.org/tip/c343bade301dfe608e86b034cbabed3c0d5a50f5 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 4 Dec 2017 13:08:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 5 Dec 2017 15:43:55 -0300 x86

[PATCH 09/45] drivers: media: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/media/platform/pxa_camera.c | 1 - drivers/media/platform/ti-vpe/cal.c | 3 --- drivers/media/v4l2-core/v4l2-mc.c

[PATCH 10/45] drivers: mfd: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/mfd/intel_soc_pmic_core.c | 1 - drivers/mfd/max77843.c| 1 - 2 files changed, 2 deletions(-) diff -

[PATCH 11/45] drivers: misc: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/misc/genwqe/card_base.c | 1 - drivers/misc/genwqe/card_ddcb.c | 1 - drivers/misc/genwqe/card_utils.c | 2 --

Re: [RFC v2 6/6] flow_dissector: Parse batman-adv unicast headers

2017-12-06 Thread Willem de Bruijn
On Wed, Dec 6, 2017 at 5:26 AM, Sven Eckelmann wrote: > On Dienstag, 5. Dezember 2017 09:19:45 CET Tom Herbert wrote: > [...] >> Switch statements with cases having many LOC is hard to read and >> __skb_flow_dissect is aleady quite convoluted to begin with. >> >> I suggest putting this in a static

Re: [B.A.T.M.A.N.] [RFC v2 2/6] batman-adv: Rename batman-adv.h to batadv_genl.h

2017-12-06 Thread Sven Eckelmann
On Mittwoch, 6. Dezember 2017 11:42:33 CET Willem de Bruijn wrote: > On Tue, Dec 5, 2017 at 9:35 AM, Sven Eckelmann > wrote: > > This file contains the relevant information to let userspace communicate > > with batman-adv over generic netlink. The relevant genl enums for the > > attributes and com

Re: [PATCH] ACPI / GED: unregister interrupts during shutdown

2017-12-06 Thread Sinan Kaya
On 12/6/2017 11:41 AM, Rafael J. Wysocki wrote: > On Wed, Dec 6, 2017 at 5:11 PM, Sinan Kaya wrote: >> On 12/6/2017 9:57 AM, Sinan Kaya wrote: Yes, it should, so I'm not sure why you need the list in the first place. Also it looks like something along the lines of devres_release_all

Re: [PATCH] USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-06 Thread Greg Kroah-Hartman
On Wed, Dec 06, 2017 at 11:45:31AM -0500, Alan Stern wrote: > On Wed, 6 Dec 2017, SF Markus Elfring wrote: > > > From: Markus Elfring > > Date: Wed, 6 Dec 2017 17:00:18 +0100 > > > > Omit an extra message for a memory allocation failure in this function. > > > > This issue was detected by using

[PATCH 12/45] drivers: mmc: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/mmc/host/android-goldfish.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mmc/host/android-goldfis

[PATCH 13/45] drivers: net: dsa: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/net/dsa/bcm_sf2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/dsa/bcm_sf2.c b/drivers/net/dsa/

Re: [PATCH] uio: Allow to take irq bottom-half into irq_handler with additional dt-binding

2017-12-06 Thread Andrey Zhizhikin
Hello Greg, Thanks a lot for your prompt reply! First of, this is my first patch submission to the Kernel, so thanks a lot for your additional guidelines here regarding missing pieces. Please don't judge me hard here. :) I would add new DT bindings to Documentation and contact DT maintainers to

Re: [B.A.T.M.A.N.] [RFC v2 2/6] batman-adv: Rename batman-adv.h to batadv_genl.h

2017-12-06 Thread Willem de Bruijn
On Wed, Dec 6, 2017 at 11:55 AM, Sven Eckelmann wrote: > On Mittwoch, 6. Dezember 2017 11:42:33 CET Willem de Bruijn wrote: >> On Tue, Dec 5, 2017 at 9:35 AM, Sven Eckelmann >> wrote: >> > This file contains the relevant information to let userspace communicate >> > with batman-adv over generic n

[PATCH 15/45] drivers: pnp: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/pnp/quirks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c ind

Re: [PATCH RFC 2/2] KVM: x86/vPMU: ignore access to LBR-related MSRs

2017-12-06 Thread Jan Dakinevich
On Wed, 6 Dec 2017 07:57:28 -0800 Andi Kleen wrote: > > If you do all this it's only a small step to fully enable LBRs for > guests. It is quite simple in a case where guest LBR-related MSRs matches host ones. They could be handled by MSR load/store areas, I suppose. In other cases, it could

[PATCH 16/45] drivers: rpmsg: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/rpmsg/qcom_glink_smem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/rpmsg/qcom_glink_smem.c b/dr

[PATCH 17/45] drivers: s390: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/s390/block/dasd_diag.c | 1 - drivers/s390/net/qeth_l2_main.c | 1 - 2 files changed, 2 deletions(-) diff --git

Re: [PATCH] drm/fb-helper: Fix potential NULL pointer dereference

2017-12-06 Thread Gustavo A. R. Silva
Quoting Daniel Vetter : On Tue, Dec 05, 2017 at 11:46:28AM -0600, Gustavo A. R. Silva wrote: fb_helper is being dereferenced before it is null checked, hence there is a potential null pointer dereference. Fix this by moving the pointer dereference after fb_helper has been null checked. This

[PATCH 18/45] drivers: scsi: qla2xxx: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/scsi/qla2xxx/qla_nx2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_nx2.c b/driv

Re: [RFC 0/3] Safe, dynamically (un)loadable LSMs

2017-12-06 Thread Sargun Dhillon
On Tue, Dec 5, 2017 at 2:56 PM, Casey Schaufler wrote: > On 12/5/2017 2:02 AM, Sargun Dhillon wrote: >> On Wed, Nov 29, 2017 at 6:28 PM, Casey Schaufler >> wrote: >>> On 11/26/2017 2:15 PM, Sargun Dhillon wrote: This patchset introduces safe dynamic LSM support. It does this via SRCU-p

[PATCH] x86/platform/UV: make functions uv_handle_nmi and uv_nmi_setup_common static

2017-12-06 Thread Colin King
From: Colin Ian King Functions uv_handle_nmi and uv_nmi_setup_common are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'uv_handle_nmi' was not declared. Should it be static? symbol 'uv_nmi_setup_common' was not declared. Should

Re: [PATCH v4] sched: Update runnable propagation rule

2017-12-06 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Nov 16, 2017 at 03:21:52PM +0100, Vincent Guittot wrote: > > Unlike running, the runnable part can't be directly propagated through > > the hierarchy when we migrate a task. The main reason is that runnable > > time can be shared with other sched_entities that s

Re: [RFC v2 6/6] flow_dissector: Parse batman-adv unicast headers

2017-12-06 Thread Tom Herbert
On Wed, Dec 6, 2017 at 8:54 AM, Willem de Bruijn wrote: > On Wed, Dec 6, 2017 at 5:26 AM, Sven Eckelmann > wrote: >> On Dienstag, 5. Dezember 2017 09:19:45 CET Tom Herbert wrote: >> [...] >>> Switch statements with cases having many LOC is hard to read and >>> __skb_flow_dissect is aleady quite c

[PATCH 19/45] drivers: staging: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- drivers/staging/ccree/ssi_buffer_mgr.c| 1 - drivers/staging/ccree/ssi_driver.c| 1 - drivers/staging/irda/dr

Re: [PATCH 13/45] drivers: net: dsa: remove duplicate includes

2017-12-06 Thread Andrew Lunn
On Wed, Dec 06, 2017 at 10:28:40PM +0530, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. > > Signed-off-by: Pravin Shedge Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v2] KVM: X86: Fix load RFLAGS w/o the fixed bit

2017-12-06 Thread Jim Mattson
What if I change the testcase so that regs.rflags is initialized to (1 << 3)? On Wed, Dec 6, 2017 at 6:40 AM, David Hildenbrand wrote: > On 06.12.2017 12:59, Wanpeng Li wrote: >> From: Wanpeng Li >> >> *** Guest State *** >> CR0: actual=0x0030, shadow=0x6010, >> gh_mas

Re: [PATCH] x86/platform/UV: make functions uv_handle_nmi and uv_nmi_setup_common static

2017-12-06 Thread Ingo Molnar
* Colin King wrote: > From: Colin Ian King > > Functions uv_handle_nmi and uv_nmi_setup_common are local to the > source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: > symbol 'uv_handle_nmi' was not declared. Should it be static? > symbol 'uv_nmi_

Re: [PATCH v2 16/19] ASoC: tlv320aic31xx: Add short circuit detection support

2017-12-06 Thread Andrew F. Davis
On 12/01/2017 09:57 AM, Mark Brown wrote: > On Fri, Dec 01, 2017 at 09:32:12AM -0600, Andrew F. Davis wrote: >> On 12/01/2017 07:39 AM, Mark Brown wrote: > >>> Is the interrupt only available on GPIO1? > >> Some devices can route this to GPIO2 IIRC. > >> I'm not sure how that would be supported,

Re: [PATCH] ACPI / GED: unregister interrupts during shutdown

2017-12-06 Thread Rafael J. Wysocki
On Wed, Dec 6, 2017 at 5:55 PM, Sinan Kaya wrote: > On 12/6/2017 11:41 AM, Rafael J. Wysocki wrote: >> On Wed, Dec 6, 2017 at 5:11 PM, Sinan Kaya wrote: >>> On 12/6/2017 9:57 AM, Sinan Kaya wrote: > Yes, it should, so I'm not sure why you need the list in the first place. > > Also it

Re: [PATCH] x86/mm/kaiser: avoid 32-bit/PAE build warning

2017-12-06 Thread Ingo Molnar
in > >> include/linux/kaiser.h. > > > > Hi Arnd, > > > > Are you hitting this in -next? > > > > The newest version of this code has a single kpti_init() function that > > shouldn't have any of these problems. > > Yes, this is next-201

[PATCH 24/45] fs: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- fs/block_dev.c| 1 - fs/cachefiles/namei.c | 1 - 2 files changed, 2 deletions(-) diff --git a/fs/block_dev.c b/

Re: [PATCH 1/2] drm/nouveau/bar/gf100: fix hang when calling ->fini() before ->init()

2017-12-06 Thread Jon Hunter
On 06/12/17 09:22, Guillaume Tucker wrote: > On 05/12/17 18:32, Ben Skeggs wrote: >> On Wed, Dec 6, 2017 at 12:30 AM, Jon Hunter wrote: >> >>> >>> On 04/12/17 18:37, Guillaume Tucker wrote: If the firmware fails to load then ->fini() will be called before the device has been initialised

Re: [PATCH] cpu/hotplug: Fix state name in takedown_cpu comment

2017-12-06 Thread Ingo Molnar
* Brendan Jackman wrote: > CPUHP_AP_SCHED_MIGRATE_DYING doesn't exist, it looks like this was > supposed to refer to CPUHP_AP_SCHED_STARTING's teardown callback > i.e. sched_cpu_dying. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: Peter Zijlstra > Cc: Sebastian Andrzej Siewior > Cc: Boris

[PATCH 25/45] kernel: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- kernel/audit.c | 1 - kernel/locking/locktorture.c | 1 - kernel/sysctl.c | 1 - kernel/time/n

Re: [GIT PULL 0/3] EFI fixes for v4.15

2017-12-06 Thread Ingo Molnar
* Ard Biesheuvel wrote: > The following changes since commit ae64f9bd1d3621b5e60d7363bc20afb46aede215: > > Linux 4.15-rc2 (2017-12-03 11:01:47 -0500) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git efi-urgent > > for you to fetch

[PATCH 26/45] mm: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- mm/userfaultfd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/userfaultfd.c b/mm/userfaultfd.c index 8119270..39

[PATCH v5] pata_pdc2027x: Fix pdc_adjust_pll() to return the error value

2017-12-06 Thread Arvind Yadav
This change is to ensure that function pdc_adjust_pll() returns the error value to avoid the unnecessary error check for pdc_hardware_init() in pdc2027x_reinit_one(). Signed-off-by: Arvind Yadav --- changes in v2 : Make function return type 'void' instead of 'int. Ad

[PATCH] spi: sun4i: disable clocks in the remove function

2017-12-06 Thread Takuo Koguchi
mclk and hclk need to be disabled since pm_runtime_disable does not disable the clocks. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Takuo Koguchi --- V2: use pm_runtime_force_suspend to avoid unbalance disable call. Compile test only, no runtime test.

Re: [PATCH v2 18/19] ASoC: tlv320aic31xx: Add headphone/headset detection

2017-12-06 Thread Andrew F. Davis
On 12/01/2017 07:41 AM, Mark Brown wrote: > On Wed, Nov 29, 2017 at 03:32:59PM -0600, Andrew F. Davis wrote: >> This device can detect the insertion/removal of headphones and headsets. >> Enable reporting this status by enabling this interrupt and forwarding >> this to upper-layers if a jack has be

Re: [PATCH] USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-06 Thread Geert Uytterhoeven
Hi Alan, On Wed, Dec 6, 2017 at 5:45 PM, Alan Stern wrote: > On Wed, 6 Dec 2017, SF Markus Elfring wrote: > >> From: Markus Elfring >> Date: Wed, 6 Dec 2017 17:00:18 +0100 >> >> Omit an extra message for a memory allocation failure in this function. >> >> This issue was detected by using the Coc

[PATCH] mtd: nand: gpio: Fix ALE gpio configuration

2017-12-06 Thread Christophe Leroy
Fixes a copy/paste error in commit f3d0d8d938b4d ("mtd: nand: gpio: Convert to use GPIO descriptors") which breaks gpio-nand driver Fixes: f3d0d8d938b4d ("mtd: nand: gpio: Convert to use GPIO descriptors") Cc: Linus Walleij Signed-off-by: Christophe Leroy --- drivers/mtd/nand/gpio.c | 6 +++---

[PATCH] dm bufio: fix shrinker scans when (nr_to_scan < retain_target)

2017-12-06 Thread Suren Baghdasaryan
When system is under memory pressure it is observed that dm bufio shrinker often reclaims only one buffer per scan. This change fixes the following two issues in dm bufio shrinker that cause this behavior: 1. ((nr_to_scan - freed) <= retain_target) condition is used to terminate slab scan process.

Re: [PATCH v2 2/2] eeprom: at24: use a common prefix for all symbols in at24.c

2017-12-06 Thread Peter Rosin
On 2017-12-06 15:29, Bartosz Golaszewski wrote: > 2017-12-06 14:40 GMT+01:00 Peter Rosin : >> Hi! >> >> Some nits... >> >> On 2017-12-06 14:01, Bartosz Golaszewski wrote: >>> There are a couple symbols defined in the driver source file which are >>> missing the at24_ prefix. This patch fixes that.

Re: [RFC v2 6/6] flow_dissector: Parse batman-adv unicast headers

2017-12-06 Thread Sven Eckelmann
On Mittwoch, 6. Dezember 2017 11:54:13 CET Willem de Bruijn wrote: > Perhaps it can even be behind a static key depending on whether any > devices are active, adjusted in batadv_hardif_(en|dis)able_interface. I don't like that because we don't need batman-adv loaded to simply forward (bridge) tra

Re: [PATCH 2/3] perf bench futex: Add --affine-wakers option to wake-parallel

2017-12-06 Thread Davidlohr Bueso
Hi, any reason this patch didn't make it into -tip?k Thanks, Davidlohr

Re: [PATCH v2] KVM: X86: Fix load RFLAGS w/o the fixed bit

2017-12-06 Thread David Hildenbrand
On 06.12.2017 15:40, David Hildenbrand wrote: > On 06.12.2017 12:59, Wanpeng Li wrote: >> From: Wanpeng Li >> >> *** Guest State *** >> CR0: actual=0x0030, shadow=0x6010, >> gh_mask=fff7 >> CR4: actual=0x2050, shadow=0x, >> gh_ma

Re: [PATCH 3/3] arm64: dts: rockchip: add extcon nodes and enable tcphy.

2017-12-06 Thread Brian Norris
+ Alex, Jeffy, Frank Wang Hi, On Wed, Dec 06, 2017 at 12:10:08PM +0100, Enric Balletbo i Serra wrote: > Enable tcphy and create the cros-ec's extcon node for the USB Type-C port. > > Signed-off-by: Enric Balletbo i Serra > --- > arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 26 +++

Re: [RFC PATCH 1/3] ASoC: Add platforms directory

2017-12-06 Thread Mark Brown
On Wed, Dec 06, 2017 at 10:06:34AM -0600, Andrew F. Davis wrote: > Your wording seems a bit inconsistent to me, what do you mean by "IP > drivers", CODEC or SoC internal IP? For clarity I'll try to use only the > three driver type labels: codec, platform, and machine. This is all in > Documentatio

Re: [PATCH v2 09/19] ASoC: tlv320aic31xx: Remove platform data

2017-12-06 Thread Mark Brown
On Wed, Dec 06, 2017 at 10:19:28AM -0600, Andrew F. Davis wrote: > On 12/06/2017 06:45 AM, Mark Brown wrote: > > Then if you want to upstream the driver you'll have to add the platform > > data support again. Like I say not all architectures have anything > > other than board files. > Then they

Re: [PATCH v2 18/19] ASoC: tlv320aic31xx: Add headphone/headset detection

2017-12-06 Thread Mark Brown
On Wed, Dec 06, 2017 at 11:25:15AM -0600, Andrew F. Davis wrote: > On 12/01/2017 07:41 AM, Mark Brown wrote: > > This only does half the job, there's no way for anything to specify a > > jack here. > Other CODECs drivers expose some kind of platform/machine specific > function(s) to send the jack

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-06 Thread Oleg Nesterov
On 12/05, Benjamin LaHaise wrote: > > On Tue, Dec 05, 2017 at 04:19:56PM +0100, Oleg Nesterov wrote: > > > > and memory. let me quote my old emails... > > > > > > This is off-topic, but the whole "vm" logic in aio_setup_ring() > > looks sub-optimal. I do not mean the code, just it seems to me it >

[PATCH 27/45] net: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- net/core/netprio_cgroup.c| 1 - net/dsa/slave.c | 1 - net/netfilter/nf_conntrack_netlin

Re: x86 TLB flushing: INVPCID vs. deferred CR3 write

2017-12-06 Thread Ingo Molnar
* Dave Hansen wrote: > tl;dr: Kernels with pagetable isolation using INVPCID compile kernels > 0.58% faster than using the deferred CR3 write. This tends to say that > we should leave things as-is and keep using INVPCID, but it's far from > definitive. Agreed, thanks for the detailed testing!

[PATCH] net: ethernet: arc: fix error handling in emac_rockchip_probe

2017-12-06 Thread Branislav Radocaj
If clk_set_rate() fails, we should disable clk before return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Branislav Radocaj --- drivers/net/ethernet/arc/emac_rockchip.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/d

[PATCH 28/45] samples: bpf: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- samples/bpf/bpf_load.c| 1 - samples/bpf/sampleip_user.c | 1 - samples

[PATCH][REDO] arch: x86: trivial changes to make various functions static

2017-12-06 Thread Colin King
From: Colin Ian King Functions x86_vector_debug_show, clear_non_loaded_ctxs, uv_handle_nmi and uv_nmi_setup_common are local to the source and do not need to be in global scope, so make them static. Fixes up various sparse warnings. Signed-off-by: Colin Ian King --- I've combined 3 earlier pat

Re: [RFC PATCH 0/5] perf events patches for improved ARM64 support

2017-12-06 Thread John Garry
On 06/12/2017 16:42, William Cohen wrote: On 12/05/2017 11:13 AM, John Garry wrote: This patchset adds support for some perf events features, targeted at ARM64, implemented in a generic fashion. The two main features are as follows: - support for arch/vendor/platform pmu events directory struct

[PATCH 29/45] security: apparmor: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- security/apparmor/apparmorfs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/security/apparmor/apparmorfs.c b/securi

Re: [PATCH] ntb_hw_switchtec: fix logic error

2017-12-06 Thread Logan Gunthorpe
Hey, Thanks, nice catch. On 06/12/17 07:19 AM, Arnd Bergmann wrote: Newer gcc (version 7 and 8 presumably) warn about a statement mixing the << operator with logical and: drivers/ntb/hw/mscc/ntb_hw_switchtec.c: In function 'switchtec_ntb_init_sndev': drivers/ntb/hw/mscc/ntb_hw_switchtec.c:888:

[PATCH] gpio: gpio-reg: fix build

2017-12-06 Thread Grygorii Strashko
Revert changes introduced by commit f0fbe7bce733 ("gpio: Move irqdomain into struct gpio_irq_chip") as they are not aplicable to this driver. Cc: Russell King - ARM Linux Fixes: f0fbe7bce733 ("gpio: Move irqdomain into struct gpio_irq_chip") Signed-off-by: Grygorii Strashko --- Sorry, for inconv

Re: [PATCH] x86/platform/UV: make functions uv_handle_nmi and uv_nmi_setup_common static

2017-12-06 Thread Mike Travis
I know you've already changed it but the UV changes look fine, so ACK for that. Thanks. On 12/6/2017 9:08 AM, Colin King wrote: From: Colin Ian King Functions uv_handle_nmi and uv_nmi_setup_common are local to the source and do not need to be in global scope, so make them static. Cleans up s

[PATCH 30/45] sound: soc: hisilicon: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- sound/soc/hisilicon/hi6210-i2s.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/hisilicon/hi6210-i2s.c b/so

Re: [PATCH 26/45] mm: remove duplicate includes

2017-12-06 Thread Michal Hocko
On Wed 06-12-17 22:52:37, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. I only see this one but I can see this is a series of 45 patches. Is this really the best way to apply a

[PATCH 31/45] tools/perf: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- tools/perf/bench/futex-hash.c | 1 - tools/perf/builtin-c2c.c | 3

Re: [PATCH 0/5] blkcg: Limit maximum number of aio requests available for cgroup

2017-12-06 Thread Benjamin LaHaise
On Wed, Dec 06, 2017 at 06:32:56PM +0100, Oleg Nesterov wrote: > > > This memory lives in page-cache/lru, it is visible for shrinker which > > > will unmap these pages for no reason on memory shortage. IOW, aio fools > > > the kernel, this memory looks reclaimable but it is not. And we only do > >

[PATCH] perf tests: Handle properly readdir DT_UNKNOWN

2017-12-06 Thread Jiri Olsa
Some system can return DT_UNKNOWN in readdir's struct dirent::d_type and we must handle it properly. In this case we can directly check if the entity we found is directory and skip it. Making is_directory function global. Reported-by: Michael Petlan Link: http://lkml.kernel.org/n/tip-hgwpktyrx65

Re: [PATCH v4 0/5] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-12-06 Thread Alexander Sverdlin
Hello Hartley, On 05/12/17 19:14, Hartley Sweeten wrote: >> This patch series adds support for Liebherr's BK3 board, being a derivative >> of TS72XX design. >> >> This patchset consists of following patches: >> >> - ts72xx.[c|h] cosmetic cleanup/improvement >> - Rewrite ts72xx.c to be reusable by

Re: [PATCH v2 18/19] ASoC: tlv320aic31xx: Add headphone/headset detection

2017-12-06 Thread Andrew F. Davis
On 12/06/2017 11:32 AM, Mark Brown wrote: > On Wed, Dec 06, 2017 at 11:25:15AM -0600, Andrew F. Davis wrote: >> On 12/01/2017 07:41 AM, Mark Brown wrote: > >>> This only does half the job, there's no way for anything to specify a >>> jack here. > >> Other CODECs drivers expose some kind of platfo

[PATCH 32/45] tools/testing/selftests: remove duplicate includes

2017-12-06 Thread Pravin Shedge
These duplicate includes have been found with scripts/checkincludes.pl but they have been removed manually to avoid removing false positives. Signed-off-by: Pravin Shedge --- tools/testing/selftests/gpio/gpio-mockup-chardev.c | 1 - tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_t

Re: [PATCH 30/45] sound: soc: hisilicon: remove duplicate includes

2017-12-06 Thread Mark Brown
On Wed, Dec 06, 2017 at 11:09:00PM +0530, Pravin Shedge wrote: > These duplicate includes have been found with scripts/checkincludes.pl but > they have been removed manually to avoid removing false positives. Please submit patches using subject lines reflecting the style for the subsystem. This m

Re: [PATCH v2] exec: avoid gcc-8 warning for get_task_comm

2017-12-06 Thread Ingo Molnar
* Arnd Bergmann wrote: > gcc-8 warns about using strncpy() with the source size as the limit: > > fs/exec.c:1223:32: error: argument to 'sizeof' in 'strncpy' call is the same > expression as the source; did you mean to use the size of the destination? > [-Werror=sizeof-pointer-memaccess] > >

Re: [PATCH v2 09/19] ASoC: tlv320aic31xx: Remove platform data

2017-12-06 Thread Andrew F. Davis
On 12/06/2017 11:30 AM, Mark Brown wrote: > On Wed, Dec 06, 2017 at 10:19:28AM -0600, Andrew F. Davis wrote: >> On 12/06/2017 06:45 AM, Mark Brown wrote: > >>> Then if you want to upstream the driver you'll have to add the platform >>> data support again. Like I say not all architectures have any

[PATCH 1/2] arm64: defconfig: enable MUSB HDRC along with Allwinner glue

2017-12-06 Thread Jagan Teki
Allwinner SoCs typically have a Mentor Graphics Inventra MUSB dual role controller for USB OTG. This is need for verifying gadget functions, so enable them by default. Tested 'otg' mode with mass storage function. Signed-off-by: Jagan Teki --- arch/arm64/configs/defconfig | 2 ++ 1 file changed

[PATCH 2/2] arm64: allwinner: a64: bananapi-m64: add usb otg

2017-12-06 Thread Jagan Teki
usb otg on bananapi-m64 has configured with USB-ID with PH9 and USB-DRVVBUS attached with dcdc1 regulatort. Add support for it. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64

Re: [PATCH v2 18/19] ASoC: tlv320aic31xx: Add headphone/headset detection

2017-12-06 Thread Mark Brown
On Wed, Dec 06, 2017 at 11:47:14AM -0600, Andrew F. Davis wrote: > On 12/06/2017 11:32 AM, Mark Brown wrote: > >> missing a generic way to report jack information up to the machine layer > >> driver. > > snd_soc_codec_set_jack() > Hmm, this looks close to what I was thinking (I was wanting to go

[PATCH v2] iio: accel: bmc150: Check for a second ACPI device for BOSC0200

2017-12-06 Thread Jeremy Cline
Some BOSC0200 acpi_device-s describe two accelerometers in a single ACPI device. Check for a companion device and handle a second i2c_client if it is present. Signed-off-by: Jeremy Cline --- Changes in v2: - Rather than exposing the bmc150_accel_data struct, use get and set functions. dri

Re: USB: hub: Delete an error message for a failed memory allocation in usb_hub_clear_tt_buffer()

2017-12-06 Thread SF Markus Elfring
> The system will come to a grinding halt anyway if it can't allocate 24 or 40 > bytes. Maybe. > Which is BTW more or less the amount of memory saved by killing > the useless (error) message. Would you dare to resend this update suggestion after such a view? Regards, Markus

Re: [PATCH 0/2] 66AK2G: Add DT entry for UART1 and UART2

2017-12-06 Thread santosh.shilim...@oracle.com
On 12/4/17 10:48 PM, Vignesh R wrote: This series adds DT entry for the remaining two UART instances on 66AK2G SoC. Based on linux-next. Franklin S Cooper Jr (2): ARM: dts: keystone-k2g: Add UART 1 and 2 instances ARM: dts: keystone-k2g-evm: Enable UART 2 Applied !!

Re: [PATCH] memory: ti-emif-sram: remove unused variable

2017-12-06 Thread santosh.shilim...@oracle.com
On 12/6/17 6:13 AM, Arnd Bergmann wrote: The newly introduced driver causes a harmless warning for a variable that was evidently never used: drivers/memory/ti-emif-pm.c: In function 'ti_emif_remove': drivers/memory/ti-emif-pm.c:303:17: error: unused variable 'dev' [-Werror=unused-variable] Fix

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