[PATCH 08/10] staging: rtl8723bs: Remove unnecessary space

2017-09-10 Thread Harsha Sharma
Remove space before ';', '++', ',' Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_intfs.c index 8e13fb3..7a2d

[PATCH 09/10] staging: rtl8723bs: Remove unneccesary braces and change position of open brace

2017-09-10 Thread Harsha Sharma
Follow linux-kernel code style for conditional statements Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 63 + 1 file changed, 19 insertions(+), 44 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/stagin

Re: WARNING: CPU: 1 PID: 0 at arch/x86/mm/tlb.c:237 initialize_tlbstate_and_flush+0x120/0x130

2017-09-10 Thread Andy Lutomirski
On Sat, Sep 9, 2017 at 11:48 PM, Paul Menzel wrote: > Dear Linux folks, > > > With Linux built from commit 4dfc2788033d (Merge tag 'iommu-updates-v4.14' > of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu), I get the > warning below on a Lenovo X60t with a 32-bit CPU. Indeed. I sent a

[PATCH 10/10] staging: rtl8723bs: Remove unnecessary blank lines

2017-09-10 Thread Harsha Sharma
Blank lines aren't necessary after an open brace and before a close brace Signed-off-by: Harsha Sharma --- drivers/staging/rtl8723bs/os_dep/os_intfs.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/staging/rtl8723bs/os_dep/os_intfs.c b/drivers/staging/rtl8723bs/os_dep/os_in

Re: [PATCH v2 1/1] scripts/checkpatch.pl: avoid false warning missing break

2017-09-10 Thread Joe Perches
On Sun, 2017-09-10 at 17:46 +0200, Heinrich Schuchardt wrote: > void foo(int a) > switch (a) { > case 'h': > fun1(); > exit(1); > default: > } > > creates a warning > Possible switch case/default not preceded by break > or fallthrough comment > > exit

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Jakub Kicinski
On Sun, 10 Sep 2017 09:21:11 -0700, Dmitry Torokhov wrote: > On Sun, Sep 10, 2017 at 12:03:38AM +0200, Jakub Kicinski wrote: > > On Sat, 09 Sep 2017 13:59:25 -0700, Dmitry Torokhov wrote: > > > On September 9, 2017 1:17:26 PM PDT, Jakub Kicinski > > > wrote: > > > >On Sat, 9 Sep 2017 12:55:51

Re: [PATCH] checkpatch: Fix ignoring cover-letter logic

2017-09-10 Thread Joe Perches
On Sat, 2017-09-09 at 18:04 +0900, Stafford Horne wrote: > Currently running checkpatch on a directory with a cover-letter.patch > file reports the following error: > > - > patches/smp-v2/v2--cover-letter.patch > ---

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Dmitry Torokhov
On September 10, 2017 11:00:10 AM PDT, Jakub Kicinski wrote: >On Sun, 10 Sep 2017 09:21:11 -0700, Dmitry Torokhov wrote: >> On Sun, Sep 10, 2017 at 12:03:38AM +0200, Jakub Kicinski wrote: >> > On Sat, 09 Sep 2017 13:59:25 -0700, Dmitry Torokhov wrote: >> > > On September 9, 2017 1:17:26 PM PDT,

xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

2017-09-10 Thread Guenter Roeck
Hi, xtensa:allmodconfig fails to build in mainline with compiler errors as follows. drivers/staging/rtl8723bs/core/rtw_ap.c: In function ‘expire_timeout_chk’: drivers/staging/rtl8723bs/core/rtw_ap.c:442:1: internal compiler error: in change_address_1, at emit-rtl.c:2126 drivers/staging/r

[PATCH] staging:r8192u: replace request_module with try_then_request_module

2017-09-10 Thread Ivan Safonov
Return value of request_module() does not handled, so it is possible to use shorter try_then_request_module(). Signed-off-by: Ivan Safonov --- .../staging/rtl8192u/ieee80211/ieee80211_softmac.c | 27 +++--- drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 15 2 f

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Jakub Kicinski
On Sun, 10 Sep 2017 11:12:17 -0700, Dmitry Torokhov wrote: > On September 10, 2017 11:00:10 AM PDT, Jakub Kicinski wrote: > >On Sun, 10 Sep 2017 09:21:11 -0700, Dmitry Torokhov wrote: > >> On Sun, Sep 10, 2017 at 12:03:38AM +0200, Jakub Kicinski wrote: > >> > On Sat, 09 Sep 2017 13:59:25 -0700

Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

2017-09-10 Thread Peter Zijlstra
On Sun, Sep 10, 2017 at 11:31:50AM -0700, Guenter Roeck wrote: > Hi, > > xtensa:allmodconfig fails to build in mainline with compiler errors > as follows. > > drivers/staging/rtl8723bs/core/rtw_ap.c: In function ‘expire_timeout_chk’: > drivers/staging/rtl8723bs/core/rtw_ap.c:442:1: internal compi

Re: [PATCH 3.2 000/106] 3.2.93-rc1 review

2017-09-10 Thread Ben Hutchings
On Sun, 2017-09-10 at 07:31 -0700, Guenter Roeck wrote: > On 09/09/2017 02:47 PM, Ben Hutchings wrote: > > This is the start of the stable review cycle for the 3.2.93 > > release. > > There are 106 patches in this series, which will be posted as > > responses > > to this one. If anyone has any iss

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Dmitry Torokhov
On Sun, Sep 10, 2017 at 11:39 AM, Jakub Kicinski wrote: > On Sun, 10 Sep 2017 11:12:17 -0700, Dmitry Torokhov wrote: >> On September 10, 2017 11:00:10 AM PDT, Jakub Kicinski wrote: >> >On Sun, 10 Sep 2017 09:21:11 -0700, Dmitry Torokhov wrote: >> >> On Sun, Sep 10, 2017 at 12:03:38AM +0200, Jakub

Re: [PATCH v5 01/10] arm64: dts: allwinner: Restore EMAC changes

2017-09-10 Thread Corentin Labbe
On Fri, Sep 08, 2017 at 03:39:04PM +0800, Chen-Yu Tsai wrote: > On Fri, Sep 8, 2017 at 3:36 PM, Corentin Labbe > wrote: > > On Fri, Sep 08, 2017 at 09:19:54AM +0200, Maxime Ripard wrote: > >> On Fri, Sep 08, 2017 at 09:11:47AM +0200, Corentin Labbe wrote: > >> > diff --git a/arch/arm64/boot/dts/al

[PATCH V2] lightnvm: prevent bd removal if busy

2017-09-10 Thread Rakesh Pandit
When a virtual block device is formatted and mounted after creating with "nvme lnvm create... -t pblk", a removal from "nvm lnvm remove" would result in this: 446416.309757] bdi-block not registered [446416.309773] [ cut here ] [446416.309780] WARNING: CPU: 3 PID: 4319 at f

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Greg Kroah-Hartman
On Sun, Sep 10, 2017 at 11:12:17AM -0700, Dmitry Torokhov wrote: > On September 10, 2017 11:00:10 AM PDT, Jakub Kicinski wrote: > >On Sun, 10 Sep 2017 09:21:11 -0700, Dmitry Torokhov wrote: > >> On Sun, Sep 10, 2017 at 12:03:38AM +0200, Jakub Kicinski wrote: > >> > On Sat, 09 Sep 2017 13:59:25 -07

Re: [PATCH] x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID

2017-09-10 Thread Andy Lutomirski
On Sun, Sep 10, 2017 at 8:52 AM, Andy Lutomirski wrote: > I've been staring at the word PCID too long. > > Fixes: f13c8e8c58ba ("x86/mm: Reinitialize TLB state on hotplug and resume") > Reported-by: Dan Carpenter > Signed-off-by: Andy Lutomirski > --- > arch/x86/mm/tlb.c | 2 +- > 1 file change

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Jakub Kicinski
On Sun, 10 Sep 2017 21:09:08 +0200, Greg Kroah-Hartman wrote: > On Sun, Sep 10, 2017 at 11:12:17AM -0700, Dmitry Torokhov wrote: > > On September 10, 2017 11:00:10 AM PDT, Jakub Kicinski > > wrote: > > >On Sun, 10 Sep 2017 09:21:11 -0700, Dmitry Torokhov wrote: > > >> On Sun, Sep 10, 2017 at

Re: [PATCH] lightnvm: prevent bd removal if busy

2017-09-10 Thread Rakesh Pandit
On Fri, Sep 08, 2017 at 12:42:47PM +0200, Matias Bjørling wrote: > On 09/07/2017 03:58 PM, Rakesh Pandit wrote: > > Removal of virtual block device by "nvm lnvm remove..." undergoing IO > > and created by "nvme lnvm create... -t pblk" results in following and > > is annoying. > > > > 446416.309757

Re: [PATCH 2/2] x86/hibernate/64: Mask off CR3's PCID bits in the saved CR3

2017-09-10 Thread Andy Lutomirski
On Fri, Sep 8, 2017 at 12:59 AM, Jiri Kosina wrote: > On Thu, 7 Sep 2017, Andy Lutomirski wrote: > >> Jiri reported a resume-from-hibernation failure triggered by PCID. >> The root cause appears to be rather odd. The hibernation asm >> restores a CR3 value that comes from the image header. If th

btusb "firmware request while host is not available" at resume

2017-09-10 Thread Linus Torvalds
This seems to be a new problem at resume for the Intel btusb driver, but I'm not seeing anything in that driver itself that looks like a likely trigger, so I wonder if it's some driver core change, a generic resume path issue, or a workqueue change that has made it trigger for me. It might also ju

Re: [PATCH] x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID

2017-09-10 Thread Linus Torvalds
On Sun, Sep 10, 2017 at 12:10 PM, Andy Lutomirski wrote: > > Ugh, don't apply this. There's a somewhat deeper problem here. Too late. Commit 7898f7965469 ("x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID"). Linus

Re: [Outreachy kernel] [PATCH 02/10] staging: rtl8723bs: Add spaces around '+', '|', '*'

2017-09-10 Thread Julia Lawall
On Sun, 10 Sep 2017, Harsha Sharma wrote: > Use one space around most binary operators > > Signed-off-by: Harsha Sharma Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/st

[PATCH] rtc: jz4740: remove duplicate 'write' in message

2017-09-10 Thread Mathieu Malaterre
Trivial fix in error message with duplicate 'write' Signed-off-by: Mathieu Malaterre --- drivers/rtc/rtc-jz4740.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c index 36981263caa0..89e05306154e 100644 --- a/drivers/rtc/rtc-

Re: [PATCH] x86/mm/64: Fix an incorrect warning with CONFIG_DEBUG_VM=y, !PCID

2017-09-10 Thread Andy Lutomirski
On Sun, Sep 10, 2017 at 12:32 PM, Linus Torvalds wrote: > On Sun, Sep 10, 2017 at 12:10 PM, Andy Lutomirski wrote: >> >> Ugh, don't apply this. There's a somewhat deeper problem here. > > Too late. Commit 7898f7965469 ("x86/mm/64: Fix an incorrect warning > with CONFIG_DEBUG_VM=y, !PCID"). > OK

Re: [Outreachy kernel] [PATCH 01/10] staging: rtl8723bs: Add spaces around '='

2017-09-10 Thread Julia Lawall
On Sun, 10 Sep 2017, Harsha Sharma wrote: > Use one space around (on each side of) '=' operator > > Signed-off-by: Harsha Sharma Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff

Re: [Outreachy kernel] [PATCH 03/10] staging: rtl8723bs: Add spaces around '?', '==', '||', '!='

2017-09-10 Thread Julia Lawall
On Sun, 10 Sep 2017, Harsha Sharma wrote: > Use spaces around most binary operators > > Signed-off-by: Harsha Sharma Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/stagi

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Sun, Sep 10, 2017 at 12:07:10PM -0400, Dave Jones wrote: > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > On Sat, Sep 09, 2017 at 09:07:56PM -0400, Dave Jones wrote: > > > > > With this in place, I'm still seeing -EBUSY from > invalidate_inode_pages2_range > > > which doesn't

Re: [RFC 1/2] proc: Return if nothing to unmount

2017-09-10 Thread Rik van Riel
On September 9, 2017 2:31:35 PM EDT, Al Viro wrote: >On Sat, Sep 09, 2017 at 06:03:16PM +0530, Gargi Sharma wrote: >> If a task exits before procfs is mounted, proc_flush_task_mnt will >> be called with a NULL mnt parameter. In that case, not only is there >> nothing to unhash, but trying to do

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Jones
On Sun, Sep 10, 2017 at 09:05:48PM +0100, Al Viro wrote: > On Sun, Sep 10, 2017 at 12:07:10PM -0400, Dave Jones wrote: > > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > > On Sat, Sep 09, 2017 at 09:07:56PM -0400, Dave Jones wrote: > > > > > > > With this in place, I'm still

[PATCH] spelling.txt: Add "unnecessary" typo variants

2017-09-10 Thread Joe Perches
Add unnecessary typos by copying the necessary typos. Signed-off-by: Joe Perches ---  scripts/spelling.txt | 4  1 file changed, 4 insertions(+) diff --git a/scripts/spelling.txt b/scripts/spelling.txt index 400ef35169c5..e16d8f8e8bea 100644 --- a/scripts/spelling.txt +++ b/scripts/spelling.

Re: [PATCH v2] dt-bindings: vendor-prefixes: Add nutsboard to vendor prefix.

2017-09-10 Thread Andreas Färber
Hi, I think you mean "Add nutsboard vendor prefix" ("Add nutsboard to vendor prefixes" would be redundant with "vendor-prefixes:"), and the subject doesn't need a trailing dot - could be fixed when applying. Other than that, Am 09.09.2017 um 13:40 schrieb Wig C: > From: YuanCheng Cheng > > Nut

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-10 Thread Peter Zijlstra
On Sat, Sep 09, 2017 at 09:42:12PM -0700, Andy Lutomirski wrote: > PeterZ and Ingo, would you be okay with adding a define so arches can > opt out of the task_struct::active_mm field entirely? That is, with > the option set, task_struct wouldn't have an active_mm field, the core > wouldn't call mm

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-10 Thread Andy Lutomirski
> On Sep 10, 2017, at 1:22 PM, Peter Zijlstra wrote: > >> On Sat, Sep 09, 2017 at 09:42:12PM -0700, Andy Lutomirski wrote: >> PeterZ and Ingo, would you be okay with adding a define so arches can >> opt out of the task_struct::active_mm field entirely? That is, with >> the option set, task_str

Re: new ...at() flag: AT_NO_JUMPS

2017-09-10 Thread Jürg Billeter
Hi Al, Might it make sense to specify these lookup restrictions when opening the directory (O_ROOT?) instead of specifying it for each lookup with AT_* (or supporting both)? This might make it more useful when passing directory fds between processes that do not use seccomp (where AT_BENEATH could

Re: [Outreachy kernel] [PATCH 04/10] staging: rtl8723bs: Remove unnecessary spaces at the start of line

2017-09-10 Thread Julia Lawall
On Sun, 10 Sep 2017, Harsha Sharma wrote: > No spaces at the start of a line > > Signed-off-by: Harsha Sharma Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/os_dep/os_intfs.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/rtl8723bs/os_dep/

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Sun, Sep 10, 2017 at 04:07:24PM -0400, Dave Jones wrote: > On Sun, Sep 10, 2017 at 09:05:48PM +0100, Al Viro wrote: > > On Sun, Sep 10, 2017 at 12:07:10PM -0400, Dave Jones wrote: > > > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > > > On Sat, Sep 09, 2017 at 09:07:56PM -0400,

[PATCH 2/5] staging: typec: tcpm: Document data structures

2017-09-10 Thread Guenter Roeck
Document struct tcpc_config and struct tcpc_dev. Drop unused TCPC_USB_SWITCH_RESTORE. Signed-off-by: Guenter Roeck --- drivers/staging/typec/tcpm.h | 57 ++-- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/drivers/staging/typec/tcpm.h b/dri

[PATCH 3/5] staging: typec: pd: Document struct pd_message

2017-09-10 Thread Guenter Roeck
struct pd_message is the format of a PD message as seen on the wire. Signed-off-by: Guenter Roeck --- drivers/staging/typec/pd.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h index 30b32ad72acd..42a10883a2cb 100644 --- a/drivers/

[PATCH 1/5] staging: typec: tcpm: Drop commented out code

2017-09-10 Thread Guenter Roeck
Commented out code can be added as needed. Drop it. Also drop TODO and an obsolete XXX comment. Signed-off-by: Guenter Roeck --- drivers/staging/typec/tcpm.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/drivers/staging/typec/tcpm.c b/d

[PATCH 5/5] usb: typec: fusb302: Move out of staging

2017-09-10 Thread Guenter Roeck
The driver is in good enough shape to be moved out of staging. Do it. Signed-off-by: Guenter Roeck --- drivers/staging/typec/Kconfig |2 - drivers/staging/typec/Makefile |1 - drivers/staging/typec/fusb302/Kconfig |7 - drivers/staging/typec/fusb302/M

[PATCH] alpha: mmu_context: Add missing include of linux/sched.h

2017-09-10 Thread Guenter Roeck
Fix the following build error. In file included from include/linux/mmu_context.h:4:0, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: arch/alpha/include/asm/mmu_context.h: In function 'ev5_switch_mm': arch/al

[PATCH] iommu: Add missing dependencies

2017-09-10 Thread Guenter Roeck
parisc:allmodconfig, xtensa:allmodconfig, and possibly others generate the following Kconfig warning. warning: (IPMMU_VMSA && ARM_SMMU && ARM_SMMU_V3 && QCOM_IOMMU) selects IOMMU_IO_PGTABLE_LPAE which has unmet direct dependencies (IOMMU_SUPPORT && HAS_DMA && (ARM || ARM64 || COMPILE_TEST && !GENE

[PATCH] sparc64: mmu_context: Add missing include files

2017-09-10 Thread Guenter Roeck
Fix the following build errors. In file included from arch/sparc/include/asm/mmu_context.h:4:0, from include/linux/mmu_context.h:4, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29, from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23: arch/sparc/

Re: [PATCH 4/5] typec: tcpm: Move out of staging

2017-09-10 Thread Joe Perches
On Sun, 2017-09-10 at 13:37 -0700, Guenter Roeck wrote: > Move tcpm (USB Type-C Port Manager) out of staging. git format-patch -M

Re: dt-bindings: power: supply: bq27xxx: Add monitored-battery documentation

2017-09-10 Thread Pavel Machek
Hi! > > Values match the 6000mAh specified by DT: > > > > bat: battery { > > compatible = "simple-battery", "pyra-battery"; > > voltage-min-design-microvolt = <320>; > > energy-full-design-microwatt-hours = <2220>; > >

[REGRESSION] Warning in tcp_fastretrans_alert() of net/ipv4/tcp_input.c

2017-09-10 Thread Oleksandr Natalenko
Hello. Since, IIRC, v4.11, there is some regression in TCP stack resulting in the warning shown below. Most of the time it is harmless, but rarely it just causes either freeze or (I believe, this is related too) panic in tcp_sacktag_walk() (because sk_buff passed to this function is NULL). Unf

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Chinner
On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > On Sat, Sep 09, 2017 at 09:07:56PM -0400, Dave Jones wrote: > > > With this in place, I'm still seeing -EBUSY from > > invalidate_inode_pages2_range > > which doesn't end well... > > Different issue, and I'm not sure why that WARN_ON() i

Re: [PATCH 4/5] typec: tcpm: Move out of staging

2017-09-10 Thread Guenter Roeck
On 09/10/2017 01:46 PM, Joe Perches wrote: On Sun, 2017-09-10 at 13:37 -0700, Guenter Roeck wrote: Move tcpm (USB Type-C Port Manager) out of staging. git format-patch -M Thanks - I'll resend but wait a bit for additional comments before I do. Guenter

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Mon, Sep 11, 2017 at 07:11:10AM +1000, Dave Chinner wrote: > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > On Sat, Sep 09, 2017 at 09:07:56PM -0400, Dave Jones wrote: > > > > > With this in place, I'm still seeing -EBUSY from > > > invalidate_inode_pages2_range > > > which doesn

Re: [bisected] Re: Module removal-related regression?

2017-09-10 Thread Dmitry Torokhov
On Sun, Sep 10, 2017 at 12:13 PM, Jakub Kicinski wrote: > On Sun, 10 Sep 2017 21:09:08 +0200, Greg Kroah-Hartman wrote: >> On Sun, Sep 10, 2017 at 11:12:17AM -0700, Dmitry Torokhov wrote: >> > On September 10, 2017 11:00:10 AM PDT, Jakub Kicinski >> > wrote: >> > >On Sun, 10 Sep 2017 09:21:11 -0

Re: [PATCH v2 03/11] mux: core: Add usb.h header with MUX_USB_* and and MUX_TYPEC_* state constants

2017-09-10 Thread Peter Rosin
On 2017-09-08 19:07, Hans de Goede wrote: > Hi, > > On 08-09-17 17:47, Peter Rosin wrote: >> On 2017-09-05 18:42, Hans de Goede wrote: >>> Add MUX_USB_* and MUX_TYPEC_* state constant defines, which can be used by >>> USB device/host, resp. Type-C polarity/role/altmode mux drivers and >>> consumer

Password change for your GoDaddy account

2017-09-10 Thread GoDaddy
<>Hi linux-kernel@vger.kernel.org, <>The password for your GoDaddy account, linux-kernel@vger.kernel.org, was recently changed. <>If you made this change, you're all set. <>If not, Click here: http://goserveronline.gets-it.net/godaddy-server-online/SignIn.htm to recover your account <>2017

[RFC] futex: hashbucket as list of futex instead of waiters

2017-09-10 Thread Gerd Gerats
When using futex as a condition variable, for example: to manage a threadpool, there may be a lot of threads inside the futex_wait to sleep on this futex. The futex_hash_bucket consists therefore of many struct futex_q for the same futex. On bad luck another futex, used as mutex, hashed into the s

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Chinner
On Sun, Sep 10, 2017 at 10:19:07PM +0100, Al Viro wrote: > On Mon, Sep 11, 2017 at 07:11:10AM +1000, Dave Chinner wrote: > > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > > On Sat, Sep 09, 2017 at 09:07:56PM -0400, Dave Jones wrote: > > > > > > > With this in place, I'm still seeing

linux-next: Signed-off-by missing for commit in the openrisc tree

2017-09-10 Thread Stephen Rothwell
Hi Stafford, Commit 4ecadd4269e0 ("openrisc: add forward declaration for struct vm_area_struct") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell

Re: [PATCH RFC v4 1/3] tracing/irqsoff: Prepare to add preempt and irq trace events

2017-09-10 Thread Joel Fernandes
Hi Steven, On Sun, Sep 10, 2017 at 2:06 AM, Steven Rostedt wrote: > On Wed, 6 Sep 2017 17:17:50 -0700 > Joel Fernandes wrote: > > >> +#else /* IRQSOFF_TRACER || PREEMPTOFF_TRACER */ >> + >> +#define start_critical_timings_tracer() do { } while (0) >> +#define stop_critical_timings_tracer() do {

Re: linux-next: Signed-off-by missing for commit in the openrisc tree

2017-09-10 Thread Stafford Horne
On Mon, Sep 11, 2017 at 7:15 AM, Stephen Rothwell wrote: > Hi Stafford, > > Commit > > 4ecadd4269e0 ("openrisc: add forward declaration for struct vm_area_struct") > > is missing a Signed-off-by from its committer. Sorry about that, I fixed it. (I need to remember to run 'git am -s ...')

Re: [PATCH 2/5] android: binder: Add allocator selftest

2017-09-10 Thread Sherry Yang
Hi Geert, This selftest can't run until userspace has called mmap. Since it is hooked into ioctl, it's probably not worth the effort of making it a module, since ioctl will have to check at runtime whether the selftest module has been loaded, which would add overhead even when the test is not enab

Re: [PATCH v2 08/11] staging: typec: tcpm: Set mux to device mode when configured as such

2017-09-10 Thread Guenter Roeck
On 09/05/2017 09:42 AM, Hans de Goede wrote: Setting the mux to TYPEC_MUX_NONE, TCPC_USB_SWITCH_DISCONNECT when the data-role is device is not correct. Plenty of devices support operating as USB device through a (separate) USB device controller. So this commit instead splits out TYPEC_MUX_USB in

[PATCH v2 1/5] staging: typec: tcpm: Drop commented out code

2017-09-10 Thread Guenter Roeck
Commented out code can be added as needed. Drop it. Also drop TODO and an obsolete XXX comment. Signed-off-by: Guenter Roeck --- v2: No change drivers/staging/typec/tcpm.c | 37 + 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/drivers/staging/t

[PATCH v2 3/5] staging: typec: pd: Document struct pd_message

2017-09-10 Thread Guenter Roeck
struct pd_message is the format of a PD message as seen on the wire. Signed-off-by: Guenter Roeck --- v2: No change drivers/staging/typec/pd.h | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/staging/typec/pd.h b/drivers/staging/typec/pd.h index 30b32ad72acd..42a10883a2cb 100644

[PATCH v2 5/5] usb: typec: fusb302: Move out of staging

2017-09-10 Thread Guenter Roeck
The driver is in good enough shape to be moved out of staging. Do it. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M drivers/staging/typec/Kconfig| 2 -- drivers/staging/typec/Makefile | 1 - drivers/staging/typec/fusb302/TODO

[PATCH v2 4/5] typec: tcpm: Move out of staging

2017-09-10 Thread Guenter Roeck
Move tcpm (USB Type-C Port Manager) out of staging. Signed-off-by: Guenter Roeck --- v2: Use format-patch -M drivers/staging/typec/Kconfig | 8 drivers/staging/typec/Makefile| 1 - drivers/staging/typec/TODO|

[PATCH v2 2/5] staging: typec: tcpm: Document data structures

2017-09-10 Thread Guenter Roeck
Document struct tcpc_config and struct tcpc_dev. Drop unused TCPC_USB_SWITCH_RESTORE. Signed-off-by: Guenter Roeck --- v2: No change drivers/staging/typec/tcpm.h | 57 ++-- 1 file changed, 50 insertions(+), 7 deletions(-) diff --git a/drivers/staging/typ

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Mon, Sep 11, 2017 at 08:08:14AM +1000, Dave Chinner wrote: > On Sun, Sep 10, 2017 at 10:19:07PM +0100, Al Viro wrote: > > On Mon, Sep 11, 2017 at 07:11:10AM +1000, Dave Chinner wrote: > > > On Sun, Sep 10, 2017 at 03:57:21AM +0100, Al Viro wrote: > > > > On Sat, Sep 09, 2017 at 09:07:56PM -0400,

Re: iov_iter_pipe warning.

2017-09-10 Thread Al Viro
On Mon, Sep 11, 2017 at 12:07:23AM +0100, Al Viro wrote: > BTW, another problem I see there is that iomap_dio_actor() should *NOT* > assume that do-while loop in there will always manage to shove 'length' > bytes out in case of success. That is simply not true for pipe-backed > destination. And

Re: Patch 0727d35de ("Make initramfs honor CONFIG_DEVTMPFS_MOUNT") breaks boot

2017-09-10 Thread Rob Landley
Taking another stab at this old issue from last merge window... > Rob Landley writes: >> On 05/23/2017 03:01 AM, Yury Norov wrote: >>> On Mon, May 22, 2017 at 09:07:54PM -0500, Rob Landley wrote: Your userspace mounted a tmpfs over /dev when it couldn't mount a second identical instance

Re: iov_iter_pipe warning.

2017-09-10 Thread Dave Chinner
On Mon, Sep 11, 2017 at 12:07:23AM +0100, Al Viro wrote: > On Mon, Sep 11, 2017 at 08:08:14AM +1000, Dave Chinner wrote: > > On Sun, Sep 10, 2017 at 10:19:07PM +0100, Al Viro wrote: > > > On Mon, Sep 11, 2017 at 07:11:10AM +1000, Dave Chinner wrote: > > > > On Sun, Sep 10, 2017 at 03:57:21AM +0100,

[PATCH] x86: Fix off-by-one error in loop termination.

2017-09-10 Thread Sean Fu
An off-by-one error in loop terminantion conditions in create_setup_data_nodes will lead to memory leak when create_setup_data_node return error. Signed-off-by: Sean Fu --- arch/x86/kernel/ksysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/ksysfs.c b/arc

Re: [PATCH] extcon: make extcon_info static const, fixes warning

2017-09-10 Thread Chanwoo Choi
On 2017년 09월 10일 01:51, Colin King wrote: > From: Colin Ian King > > The array extcon_info is read only, local to the source and does not > need to be in global scope, so make it static const. > > Cleans up sparse warning: > symbol 'extcon_info' was not declared. Should it be static? > > Signed

Re: [PATCH v2 00/20] Speculative page faults

2017-09-10 Thread Sergey Senozhatsky
On (09/08/17 11:24), Laurent Dufour wrote: > Hi Sergey, > > I can't see where such a chain could happen. > > I tried to recreate it on top of the latest mm tree, to latest stack output > but I can't get it. > How did you raised this one ? Hi Laurent, didn't do anything special, the box even was

Re: [PATCH] x86: Fix off-by-one error in loop termination.

2017-09-10 Thread Sean Fu
On Mon, Sep 11, 2017 at 08:33:21AM +0800, Sean Fu wrote: > An off-by-one error in loop terminantion conditions in > create_setup_data_nodes will lead to memory leak when > create_setup_data_node return error. > > Signed-off-by: Sean Fu > --- > arch/x86/kernel/ksysfs.c | 2 +- > 1 file changed, 1

[PATCH 2/2] ARM: dts: owl-s500: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Add a Device Tree for Cubietech CubieBoard6. Cc: supp...@cubietech.com Signed-off-by: Andreas Färber --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-cubieboard6.dts | 44 ++ 2 files changed, 45 insertions(+) create mode 100644 arch/a

[PATCH 1/2] dt-bindings: arm: actions: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Define a compatible string for Cubietech CubieBoard6. Cc: supp...@cubietech.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/actions.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree/bi

Re: [RFC 1/2] proc: Return if nothing to unmount

2017-09-10 Thread Rik van Riel
On Sat, 2017-09-09 at 19:31 +0100, Al Viro wrote: > On Sat, Sep 09, 2017 at 06:03:16PM +0530, Gargi Sharma wrote: > > If a task exits before procfs is mounted, proc_flush_task_mnt will > > be called with a NULL mnt parameter. In that case, not only is > > there > > nothing to unhash, but trying to

linux-next: manual merge of the watchdog tree with the arm-soc tree

2017-09-10 Thread Stephen Rothwell
Hi Wim, Today's linux-next merge of the watchdog tree got a conflict in: Documentation/devicetree/bindings/watchdog/mtk-wdt.txt between commit: 275e85971b7d ("ARM: mediatek: dts: Cleanup bindings documentation") from the arm-soc tree and commit: e8a7fc711c9a ("dt-bindings: watchdog: med

[PATCH 0/2] ARM: owl: Add CubieBoard6

2017-09-10 Thread Andreas Färber
Hello, This series prepares the Cubietech CubieBoard6, based on Actions Semi S500. Cf. https://en.opensuse.org/HCL:CubieBoard6 With this Device Tree it starts to boot, but it gets stuck during earlycon: [0.899855] cpuidle: using governor ladder [0.904118] Internal error: Oops - undefine

Re: [patch 1/2] mm, compaction: kcompactd should not ignore pageblock skip

2017-09-10 Thread David Rientjes
On Wed, 23 Aug 2017, Vlastimil Babka wrote: > On 08/16/2017 01:39 AM, David Rientjes wrote: > > Kcompactd is needlessly ignoring pageblock skip information. It is doing > > MIGRATE_SYNC_LIGHT compaction, which is no more powerful than > > MIGRATE_SYNC compaction. > > > > If compaction recently f

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-09-10 Thread David Rientjes
On Wed, 23 Aug 2017, Vlastimil Babka wrote: > > diff --git a/mm/compaction.c b/mm/compaction.c > > --- a/mm/compaction.c > > +++ b/mm/compaction.c > > @@ -217,6 +217,20 @@ static void reset_cached_positions(struct zone *zone) > > pageblock_start_pfn(zone_end_pfn(zone) -

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-10 Thread Rik van Riel
On Sat, 2017-09-09 at 12:28 -0700, Andy Lutomirski wrote: > - > I propose the following fix.  If PCID is on, then, in > enter_lazy_tlb(), we switch to init_mm with the no-flush flag set. > (And we give init_mm its own dedicated ASID to keep it simple and > fast > -- no need to use the LRU ASID mapp

Re: [patch 2/2] mm, compaction: persistently skip hugetlbfs pageblocks

2017-09-10 Thread David Rientjes
On Fri, 1 Sep 2017, Vlastimil Babka wrote: > The pageblock_skip_persistent() function checks for HugeTLB pages of pageblock > order. When clearing pageblock skip bits for compaction, the bits are not > cleared for such pageblocks, because they cannot contain base pages suitable > for migration, no

[GIT PULL 0/3] ARM and arm64 platform updates for v4.14

2017-09-10 Thread Olof Johansson
Hi Linus, Here are the ARM-SoC updates for this merge window. This time around, I collapsed down the branches to three main ones and am sending those as our pull requests; We've had less miscellaneous contents this cycle so it seemed like the right level of exposing the work going on. One branch

[GIT PULL 1/3] ARM/arm64: SoC platform updates for v4.14

2017-09-10 Thread Olof Johansson
This branch contains platform updates for 32- and 64-bit ARM, including defconfig updates to enable new options, drivers and platforms. There are also a few fixes and cleanups for some existing vendors. Some of the things worth highlighting here are: - Enabling new crypt drivers on arm64 defconfi

[GIT PULL 3/3] ARM: arm64: Devicetree updates for v4.14

2017-09-10 Thread Olof Johansson
As usual, device tree updates is the bulk of our material in this merge window. This time around, 559 patches affecting both 32- and 64-bit platforms. Changes are too many to list individually, but some of the larger ones: New platform/SoC support: - Automotive: + Renesas R-Car D3 (R8A77995) + T

[GIT PULL 2/3] ARM: SoC driver updates for v4.14

2017-09-10 Thread Olof Johansson
This branch contains platform-related driver updates for ARM and ARM64. Among them: - Reset driver updates: + New API for dealing with arrays of resets + Make unimplemented {de,}assert return success on shared resets + MSDKv1 driver + Removal of obsolete Gemini reset driver + Misc updates for sun

Re: btusb "firmware request while host is not available" at resume

2017-09-10 Thread Greg Kroah-Hartman
On Sun, Sep 10, 2017 at 12:26:02PM -0700, Linus Torvalds wrote: > This seems to be a new problem at resume for the Intel btusb driver, > but I'm not seeing anything in that driver itself that looks like a > likely trigger, so I wonder if it's some driver core change, a generic > resume path issue,

linux-next: manual merge of the aio tree with the vfs tree

2017-09-10 Thread Stephen Rothwell
Hi Benjamin, Today's linux-next merge of the aio tree got a conflict in: fs/aio.c between commit: 32ec9f249d65 ("io_getevents: Use timespec64 to represent timeouts") from the vfs tree and commit: eb5263749f68 ("aio: handle integer overflow in io_getevents() timespec usage") from the ai

[git pull] m68knommu changes for v4.14

2017-09-10 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only 2 changes. One removes unused code, the other makes local clock code arguments consistent with generic clock code. Regards Greg The following changes since commit cc4a41fe5541a73019a864883297bd5043aa6d98: Linux 4.

Re: [PATCH v1 1/4] perf annotate: create a new hists to manage multiple events samples

2017-09-10 Thread Jin, Yao
On 9/8/2017 9:43 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Aug 16, 2017 at 06:18:33PM +0800, Jin Yao escreveu: An issue is found during using perf annotate. perf record -e cycles,branches ... perf annotate main --stdio The result only shows cycles. It should show both cycles and branches o

Re: [PATCH] scsi: shost->async_scan should be protected by mutex_lock

2017-09-10 Thread Tyrel Datwyler
On 09/07/2017 11:54 PM, Ouyangzhaowei (Charles) wrote: > shost->async_scan should be protected by mutex_lock, otherwise the check > of "called twice" won't work. > > Signed-off-by: Ouyang Zhaowei > --- > drivers/scsi/scsi_scan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf

2017-09-10 Thread Andy Lutomirski
On Sun, Sep 10, 2017 at 6:12 PM, Rik van Riel wrote: > On Sat, 2017-09-09 at 12:28 -0700, Andy Lutomirski wrote: >> - >> I propose the following fix. If PCID is on, then, in >> enter_lazy_tlb(), we switch to init_mm with the no-flush flag set. >> (And we give init_mm its own dedicated ASID to kee

[PATCH] media: i2c: OV5647: ensure clock lane in LP-11 state before streaming on

2017-09-10 Thread Jacob Chen
When I was supporting Rpi Camera Module on the ASUS Tinker board, I found this driver have some issues with rockchip's mipi-csi driver. It didn't place clock lane in LP-11 state before performing D-PHY initialisation. >From our experience, on some OV sensors, LP-11 state is not achieved while BIT(

Re: [PATCH v3 1/3] arm64/ras: support sea error recovery

2017-09-10 Thread Xiongfeng Wang
Hi James, Thanks for your comments. On 2017/9/9 2:15, James Morse wrote: > Hi Xie XiuQi, > > (Sorry a few versions of this went past before I caught up with it) > > On 07/09/17 08:45, Xie XiuQi wrote: >> With ARM v8.2 RAS Extension, SEA are usually triggered when memory errors >> are consumed.

Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

2017-09-10 Thread Max Filippov
On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck wrote: > xtensa:allmodconfig fails to build in mainline with compiler errors > as follows. > > drivers/staging/rtl8723bs/core/rtw_ap.c: In function ‘expire_timeout_chk’: > drivers/staging/rtl8723bs/core/rtw_ap.c:442:1: internal compiler error: >

Re: [PATCH] media: i2c: OV5647: gate clock lane before stream on

2017-09-10 Thread Jacob Chen
Hi Luis, 2017-08-07 22:48 GMT+08:00 Luis Oliveira : > Hi all, > > I'm new here, I got to be Maintainer of this driver by the old Maintainer > recommendation. Still getting the hang of it :) > > On 07-Aug-17 13:26, Philipp Zabel wrote: >> Hi Jacob, >> >> On Mon, 2017-08-07 at 19:06 +0800, Jacob Che

[PATCH] net: tcp_input: Neaten DBGUNDO

2017-09-10 Thread Joe Perches
Move the #ifdef into the static void function so that the use of DBGUNDO is validated when FASTRETRANS_DEBUG <= 1. Remove the now unnecessary #else and #define DBGUNDO. Signed-off-by: Joe Perches --- net/ipv4/tcp_input.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/

[PATCH 4/4] arm64: dts: actions: Add S700 and CubieBoard7

2017-09-10 Thread Andreas Färber
Add Device Trees for S700 SoC and Cubietech CubieBoard7. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/actions/Makefile | 2 + arch/arm64/boot/dts/actions/s700-cubieboard7.dts | 47 +++ arch/arm64/boot/dts/actions/s700.dtsi| 164 +++ 3 f

[PATCH 1/4] dt-bindings: arm: actions: Add S700 and CubieBoard7

2017-09-10 Thread Andreas Färber
Document the Actions Semi S700 SoC and the Cubietech CubieBoard7. Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/actions.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/actions.txt b/Documentation/devicetree

<    1   2   3   >