Re: powerpc/8xx: Adding support of IRQ in MPC8xx GPIO

2017-04-29 Thread Scott Wood
On Thu, Mar 09, 2017 at 10:42:04AM +0100, Christophe Leroy wrote: > This patch allows the use of IRQ to notify the change of GPIO status > on MPC8xx CPM IO ports. This then allows to associate IRQs to GPIOs > in the Device Tree. > > Ex: > CPM1_PIO_C: gpio-controller@960 { > #gp

Re: [PATCH] ALSA: ali5451: fix spelling mistake in "ali_capture_preapre"

2017-04-29 Thread Takashi Iwai
On Sat, 29 Apr 2017 23:52:55 +0200, Colin King wrote: > > From: Colin Ian King > > trivial fix to spelling mistake in dev_warn message, > "ali_capture_preapre" should be "ali_capture_prepare" > > Signed-off-by: Colin Ian King Applied, thanks. Takashi > --- > sound/pci/ali5451/ali5451.c |

Q. drm/i915 shrinker, synchronize_rcu_expedited() from handlers

2017-04-29 Thread J. R. Okajima
Hello, Since v4.11-rc7 I can see the workqueue stops on my development/test system. Git-bisecting tells me the suspicious commit is c053b5a 2017-04-11 drm/i915: Don't call synchronize_rcu_expedited under struct_mutex I am not sure whether this is the real cause or not of my problem, but

Re: 4.11.0-rc8+/x86_64 desktop lockup until applications closed

2017-04-29 Thread Arthur Marsh
Michal Hocko wrote on 27/04/17 18:56: On Thu 27-04-17 18:36:38, Arthur Marsh wrote: [...] [55363.482931] QXcbEventReader: page allocation stalls for 10048ms, order:0, mode:0x14200ca(GFP_HIGHUSER_MOVABLE), nodemask=(null) Are there more of these stalls? I haven't seen the same kinds of logg

Re: [PATCH v6 1/2] tcmu: Add dynamic growing data area feature support

2017-04-29 Thread Mike Christie
On 04/26/2017 01:25 AM, lixi...@cmss.chinamobile.com wrote: > for_each_sg(data_sg, sg, data_nents, i) { > @@ -275,22 +371,26 @@ static void alloc_and_scatter_data_area(struct tcmu_dev > *udev, > from = kmap_atomic(sg_page(sg)) + sg->offset; > while (sg_remaining >

[PATCH] net: phy: Allow BCM5481x PHYs to setup internal TX/RX clock delay

2017-04-29 Thread Abhishek Shah
This patch allows users to enable/disable internal TX and/or RX clock delay for BCM5481x series PHYs so as to satisfy RGMII timing specifications. On a particular platform, whether TX and/or RX clock delay is required depends on how PHY connected to the MAC IP. This requirement can be specified th

Re: Updating kernel.org cross compilers?

2017-04-29 Thread Segher Boessenkool
Hi, On Wed, Apr 26, 2017 at 03:14:16PM +0100, Andre Przywara wrote: > It seems that many people (even outside the Linux kernel community) use > the cross compilers provided at kernel.org/pub/tools/crosstool. > The latest compiler I find there is 4.9.0, which celebrated its third > birthday at the

Re: Linux 4.4.65

2017-04-29 Thread Greg KH
diff --git a/Documentation/sysctl/fs.txt b/Documentation/sysctl/fs.txt index 302b5ed616a6..35e17f748ca7 100644 --- a/Documentation/sysctl/fs.txt +++ b/Documentation/sysctl/fs.txt @@ -265,6 +265,13 @@ aio-nr can grow to. == +mount-max:

Linux 4.4.65

2017-04-29 Thread Greg KH
I'm announcing the release of the 4.4.65 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Linux 3.18.51

2017-04-29 Thread Greg KH
I'm announcing the release of the 3.18.51 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.18.51

2017-04-29 Thread Greg KH
diff --git a/Makefile b/Makefile index 8665178e2a36..fb0d24411829 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 50 +SUBLEVEL = 51 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arm/kernel/head-nommu.S b/arch/arm/kernel/head-nommu.S index c

Re: [PATCH] staging: fsl-mc/dpio: add cpu <--> LE conversion for dpaa2_fd

2017-04-29 Thread Dan Carpenter
On Sat, Apr 29, 2017 at 05:18:04PM +, Horia Geantă wrote: > On 4/29/2017 7:32 PM, Stuart Yoder wrote: > > On Fri, Apr 28, 2017 at 9:38 AM, Horia Geantă wrote: > >> > >> While dpaa2_fd.simple structure fields are marked __leXX, > >> corresponding cpu_to_leXX / leXX_to_cpu conversions are missin

Re: [PATCH 1/2] Add support for OneWire (W1) devices family 0x26 (MAX17211/MAX17215)

2017-04-29 Thread Alex A. Mihaylov
Hi, Slave device provide software layer for access to internal registers MAX17211/MAX17215 chip. Please convert this to regmap.There is no generic w1 handler, but you can provide custom read/write functions. I think regmap be overkill for this driver. Here we need access to a small number of

Re: [PATCH v7] Input: psxpad-spi - Add PlayStation 1/2 joypads via SPI interface Driver

2017-04-29 Thread Tomohiro Yoshidomi
Mr.Torokhov I fixed source, and sent PATCH v7 to you. I'm sorry to occars warnings. * In function 'psxpad_spi_probe', removed uninitialized value 'err' in dev_err(). * 'psxpad_spi_resume' restored. Regards. -- Tomohiro

[PATCH v7] Input: psxpad-spi - Add PlayStation 1/2 joypads via SPI interface Driver

2017-04-29 Thread Tomohiro Yoshidomi
PlayStation 1/2 joypads can be connected directly to the SPI interface. Signed-off-by: Tomohiro Yoshidomi --- drivers/input/joystick/Kconfig | 22 ++ drivers/input/joystick/Makefile | 1 + drivers/input/joystick/psxpad-spi.c | 438 3 files changed

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Mike Galbraith
On Sun, 2017-04-30 at 06:20 +0200, Mike Galbraith wrote: > On Sat, 2017-04-29 at 20:43 -0700, Paul E. McKenney wrote: > > On Sun, Apr 30, 2017 at 03:21:58AM +0200, Mike Galbraith wrote: > > > On Sat, 2017-04-29 at 14:45 -0700, Paul E. McKenney wrote: > > > > On Sat, Apr 29, 2017 at 08:20:33PM +0200

Re: [RFC v3 05/17] RCU free VMAs

2017-04-29 Thread Matthew Wilcox
On Thu, Apr 27, 2017 at 05:52:44PM +0200, Laurent Dufour wrote: > +static inline bool vma_is_dead(struct vm_area_struct *vma, unsigned int > sequence) > +{ > + int ret = RB_EMPTY_NODE(&vma->vm_rb); > + unsigned seq = ACCESS_ONCE(vma->vm_sequence.sequence); > + > + /* > + * Matches

Service Desk

2017-04-29 Thread ifgot005
Your Mailbox has exceeded it's louted Quota and has been schedule for upgrade/maintenance. Emails sent from your account will no longer be deliver and you can no longer receive incoming emails. Do use this link https://formcrafts.com/a/27755 to upgrade your account today. IT Service Desk

Re: [RFC v3 05/17] RCU free VMAs

2017-04-29 Thread Matthew Wilcox
On Thu, Apr 27, 2017 at 05:52:44PM +0200, Laurent Dufour wrote: > @@ -359,6 +359,7 @@ struct vm_area_struct { > #endif > struct vm_userfaultfd_ctx vm_userfaultfd_ctx; > seqcount_t vm_sequence; > + struct rcu_head vm_rcu_head; > }; > > struct core_thread { It doesn't look like

Re: [PATCH] userns,pidns: Verify the userns for new pid namespaces

2017-04-29 Thread Eric W. Biederman
ebied...@xmission.com (Eric W. Biederman) writes: > "Serge E. Hallyn" writes: > >> Quoting Eric W. Biederman (ebied...@xmission.com): >>> >>> It is pointless and confusing to allow a pid namespace hierarchy and >>> the user namespace hierarchy to get out of sync. The owner of a child >>> pid na

Re: [RFC v3 03/17] mm: Introduce pte_spinlock

2017-04-29 Thread Matthew Wilcox
On Thu, Apr 27, 2017 at 05:52:42PM +0200, Laurent Dufour wrote: > +++ b/mm/memory.c > @@ -2100,6 +2100,13 @@ static inline void wp_page_reuse(struct vm_fault *vmf) > pte_unmap_unlock(vmf->pte, vmf->ptl); > } > > +static bool pte_spinlock(struct vm_fault *vmf) > +{ > + vmf->ptl = pte_lo

Re: [PATCH] userns,pidns: Verify the userns for new pid namespaces

2017-04-29 Thread Eric W. Biederman
"Serge E. Hallyn" writes: > Quoting Eric W. Biederman (ebied...@xmission.com): >> >> It is pointless and confusing to allow a pid namespace hierarchy and >> the user namespace hierarchy to get out of sync. The owner of a child >> pid namespace should be the owner of the parent pid namespace or

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

2017-04-29 Thread Matthew Wilcox
On Sun, Apr 30, 2017 at 12:25:04AM +0100, Al Viro wrote: > On Sat, Apr 29, 2017 at 04:17:18PM -0700, Andy Lutomirski wrote: > > On Sat, Apr 29, 2017 at 3:04 PM, Al Viro wrote: > > > New AT_... flag - AT_NO_JUMPS > > > > > > Semantics: pathname resolution must not involve > > > * traversals

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Paul E. McKenney
On Sun, Apr 30, 2017 at 06:20:15AM +0200, Mike Galbraith wrote: > On Sat, 2017-04-29 at 20:43 -0700, Paul E. McKenney wrote: > > On Sun, Apr 30, 2017 at 03:21:58AM +0200, Mike Galbraith wrote: > > > On Sat, 2017-04-29 at 14:45 -0700, Paul E. McKenney wrote: > > > > On Sat, Apr 29, 2017 at 08:20:33P

Re: [PATCH v1 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-04-29 Thread kbuild test robot
-Mediatek-SoCs/20170429-181028 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: xtensa-allmodconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin

Re: [PATCH v6] Input: psxpad-spi - Add PlayStation 1/2 joypads via SPI interface Driver

2017-04-29 Thread kbuild test robot
Hi Tomohiro, [auto build test ERROR on input/next] [also build test ERROR on v4.11-rc8 next-20170428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tomohiro-Yoshidomi/Input-psxpad-spi-Add-PlayS

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Mike Galbraith
On Sat, 2017-04-29 at 20:43 -0700, Paul E. McKenney wrote: > On Sun, Apr 30, 2017 at 03:21:58AM +0200, Mike Galbraith wrote: > > On Sat, 2017-04-29 at 14:45 -0700, Paul E. McKenney wrote: > > > On Sat, Apr 29, 2017 at 08:20:33PM +0200, Mike Galbraith wrote: > > > > On Sat, 2017-04-29 at 11:06 -0700

Re: [PATCH v6] Input: psxpad-spi - Add PlayStation 1/2 joypads via SPI interface Driver

2017-04-29 Thread kbuild test robot
Hi Tomohiro, [auto build test WARNING on input/next] [also build test WARNING on v4.11-rc8 next-20170428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tomohiro-Yoshidomi/Input-psxpad-spi-Add-P

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Paul E. McKenney
On Sun, Apr 30, 2017 at 03:21:58AM +0200, Mike Galbraith wrote: > On Sat, 2017-04-29 at 14:45 -0700, Paul E. McKenney wrote: > > On Sat, Apr 29, 2017 at 08:20:33PM +0200, Mike Galbraith wrote: > > > On Sat, 2017-04-29 at 11:06 -0700, Paul E. McKenney wrote: > > > > > > > If someone will either rep

Re: Updating kernel.org cross compilers?

2017-04-29 Thread Guenter Roeck
On 04/26/2017 07:14 AM, Andre Przywara wrote: Hi! (Tony: I've seen you redirecting to "Chris" in an older email, but the web archive doesn't have his email address) It seems that many people (even outside the Linux kernel community) use the cross compilers provided at kernel.org/pub/tools/cross

Re: [PATCH v6] Input: psxpad-spi - Add PlayStation 1/2 joypads via SPI interface Driver

2017-04-29 Thread Tomohiro Yoshidomi
Mr.Torokhov I fixed source, and sent PATCH v6 to you. As Mr.Nocera said, I fixed souces does not use 'PSX' in sentences. Also, I wrote that a separate power supply is required for the motor. 2017-04-30 3:16 GMT+09:00 Dmitry Torokhov : > Hi, > > On Sat, Apr 29, 2017 at 06:40:53PM +0900, Tomohiro

[PATCH v6] Input: psxpad-spi - Add PlayStation 1/2 joypads via SPI interface Driver

2017-04-29 Thread Tomohiro Yoshidomi
PlayStation 1/2 joypads can be connected directly to the SPI interface. Signed-off-by: Tomohiro Yoshidomi --- drivers/input/joystick/Kconfig | 22 ++ drivers/input/joystick/Makefile | 1 + drivers/input/joystick/psxpad-spi.c | 433 3 files changed

Re: [rcu:dev.2017.04.28a 41/45] include/linux/notifier.h:77:21: error: field 'srcu' has incomplete type

2017-04-29 Thread Paul E. McKenney
On Sun, Apr 30, 2017 at 07:32:17AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git > dev.2017.04.28a > head: 1205059ca5d4835e9213ff943ce3a51980718b5d > commit: e01ef0529ed548c1b30206058c2b5eecbbc07998 [41/45] srcu: Make SRCU be > o

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-29 Thread Tetsuo Handa
Casey Schaufler wrote: > On 4/29/2017 12:02 PM, Mickael Salaun wrote: > > Check if the registering LSM already registered hooks just before. This > > enable to split hook declarations into multiple files without > > registering multiple time the same LSM name, starting from commit > > d69dece5f5b6

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Mike Galbraith
On Sat, 2017-04-29 at 14:45 -0700, Paul E. McKenney wrote: > On Sat, Apr 29, 2017 at 08:20:33PM +0200, Mike Galbraith wrote: > > On Sat, 2017-04-29 at 11:06 -0700, Paul E. McKenney wrote: > > > > > If someone will either repost a fresh series or point me at exactly > > > the set of patches to use,

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

2017-04-29 Thread Andy Lutomirski
On Sat, Apr 29, 2017 at 4:25 PM, Al Viro wrote: > On Sat, Apr 29, 2017 at 04:17:18PM -0700, Andy Lutomirski wrote: >> On Sat, Apr 29, 2017 at 3:04 PM, Al Viro wrote: >> > New AT_... flag - AT_NO_JUMPS >> > >> > Semantics: pathname resolution must not involve >> > * traversals of absolute

RE:drivers:soc:fsl:qbman:qman.c: unsigned long jiffies value

2017-04-29 Thread Karim Eshapa
On Sat, 29 Apr 2017 18:32:55 -0500, Scott Wood wrote: >On Sat, 2017-04-29 at 22:43 +0200, Karim Eshapa wrote: > >> unsigned long jiffies value sorry for that. >> > You mean unsigned long msecs? > Yes, I mean usecs. >> >> Signed-off-by: Karim Eshapa >> --- >> drivers/soc/fsl/qbman/qman.c | 2 +-

Re: ipsec doesn't route TCP with 4.11 kernel

2017-04-29 Thread Don Bowman
On 28 April 2017 at 03:13, Steffen Klassert wrote: > On Thu, Apr 27, 2017 at 06:13:38PM -0400, Don Bowman wrote: >> On 27 April 2017 at 04:42, Steffen Klassert >> wrote: >> > On Wed, Apr 26, 2017 at 10:01:34PM -0700, Cong Wang wrote: >> >> (Cc'ing netdev and IPSec maintainers) >> >> >> >> On Tue,

Re: [PATCH v3 1/4] of: remove *phandle properties from expanded device tree

2017-04-29 Thread kbuild test robot
Hi Frank, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.11-rc8 next-20170428] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/frowand-list-gmail-com/of-remove-phandle-prop

Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349

2017-04-29 Thread André Przywara
On 29/04/17 22:28, Adam Borowski wrote: > On Fri, Apr 28, 2017 at 06:03:14PM -0400, Tejun Heo wrote: >> On Tue, Apr 18, 2017 at 10:12:16AM +0100, Andre Przywara wrote: >>> Yeah, so I stack-dumped on the zero allocations and indeed they are >>> called from cleanup functions: >>> drivers/pinctrl/pinm

Re: [PATCH] drivers:soc:fsl:qbman:qman.c: unsigned long jiffies value.

2017-04-29 Thread Scott Wood
On Sat, 2017-04-29 at 22:43 +0200, Karim Eshapa wrote: > unsigned long jiffies value sorry for that. You mean unsigned long msecs? > > Signed-off-by: Karim Eshapa > --- >  drivers/soc/fsl/qbman/qman.c | 2 +- >  1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/soc/fsl/qbma

[rcu:dev.2017.04.28a 41/45] include/linux/notifier.h:77:21: error: field 'srcu' has incomplete type

2017-04-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2017.04.28a head: 1205059ca5d4835e9213ff943ce3a51980718b5d commit: e01ef0529ed548c1b30206058c2b5eecbbc07998 [41/45] srcu: Make SRCU be once again optional config: sparc64-allnoconfig (attached as .config) compiler

Re: [PATCH v1 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-04-29 Thread kbuild test robot
-Mediatek-SoCs/20170429-181028 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: s390-allmodconfig (attached as .config) compiler: s390x-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin

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

2017-04-29 Thread Al Viro
On Sat, Apr 29, 2017 at 04:17:18PM -0700, Andy Lutomirski wrote: > On Sat, Apr 29, 2017 at 3:04 PM, Al Viro wrote: > > New AT_... flag - AT_NO_JUMPS > > > > Semantics: pathname resolution must not involve > > * traversals of absolute symlinks > > * traversals of procfs-style symlin

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

2017-04-29 Thread Andy Lutomirski
On Sat, Apr 29, 2017 at 3:04 PM, Al Viro wrote: > New AT_... flag - AT_NO_JUMPS > > Semantics: pathname resolution must not involve > * traversals of absolute symlinks > * traversals of procfs-style symlinks > * traversals of mountpoints (including bindings, referrals, etc.

Re: [PATCH v8 05/10] media: venus: adding core part and helper functions

2017-04-29 Thread Sakari Ailus
Hi, Stan!! On Fri, Apr 28, 2017 at 12:13:52PM +0300, Stanimir Varbanov wrote: ... > +int helper_get_bufreq(struct venus_inst *inst, u32 type, > + struct hfi_buffer_requirements *req) > +{ > + u32 ptype = HFI_PROPERTY_CONFIG_BUFFER_REQUIREMENTS; > + union hfi_get_property

[PATCH] tools/virtio: fix spelling mistake: "wakeus" -> "wakeups"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in an error message. Signed-off-by: Colin Ian King --- tools/virtio/virtio_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c index 76d6f583c249..0fecaec90d0d 10

[PATCH][V2] scsi: megaraid_sas: fix spelling mistakes: "oustanding" -> "outstanding"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistakes in dev_info and scmd_printk messages. Also join lines on split literal string to clean up checkpatch warning. Signed-off-by: Colin Ian King --- drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- drivers/scsi/megaraid/megaraid_sas_fusion.c

new ...at() flag: AT_NO_JUMPS

2017-04-29 Thread Al Viro
New AT_... flag - AT_NO_JUMPS Semantics: pathname resolution must not involve * traversals of absolute symlinks * traversals of procfs-style symlinks * traversals of mountpoints (including bindings, referrals, etc.) * traversal of .. in the starting point of pathnam

[PATCH] power: ab8500_charger: fix spelling mistake: "prechage" -> "precharge"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in dev_error message. Signed-off-by: Colin Ian King --- drivers/power/supply/ab8500_charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/ab8500_charger.c b/drivers/power/supply/ab8500_charger.c

Re: [PATCH] scsi: megaraid_sas: fix spelling mistakes: "outstanding" -> "outstanding"

2017-04-29 Thread Joe Perches
I did a double-take on the subject line: "outstanding" -> "outstanding"

[PATCH] ALSA: ali5451: fix spelling mistake in "ali_capture_preapre"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in dev_warn message, "ali_capture_preapre" should be "ali_capture_prepare" Signed-off-by: Colin Ian King --- sound/pci/ali5451/ali5451.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/ali5451/ali5451.c b/sound/

[PATCH] tracing: fix spelling mistake: "preapre" -> "prepare"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in message. Signed-off-by: Colin Ian King --- kernel/trace/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index beecf3f67159..76ab1d185322 100644 --- a/kernel/trace/tra

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Paul E. McKenney
On Sat, Apr 29, 2017 at 08:20:33PM +0200, Mike Galbraith wrote: > On Sat, 2017-04-29 at 11:06 -0700, Paul E. McKenney wrote: > > > If someone will either repost a fresh series or point me at exactly > > the set of patches to use, I will run it through rcutorture again. > > Patchlet is against x86

[PATCH] net: sunhme: fix spelling mistakes: "ParityErro" -> "ParityError"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistakes in printk message. Signed-off-by: Colin Ian King --- drivers/net/ethernet/sun/sunhme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c index a6cc9a2d

Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349

2017-04-29 Thread Adam Borowski
On Fri, Apr 28, 2017 at 06:03:14PM -0400, Tejun Heo wrote: > On Tue, Apr 18, 2017 at 10:12:16AM +0100, Andre Przywara wrote: > > Yeah, so I stack-dumped on the zero allocations and indeed they are > > called from cleanup functions: > > drivers/pinctrl/pinmux.c:pinmux_generic_free_functions(): > >

[PATCH] scsi: megaraid_sas: fix spelling mistakes: "outstanding" -> "outstanding"

2017-04-29 Thread Colin King
From: Colin Ian King trivial fix to spelling mistakes in dev_info and scmd_printk messages. Also join lines on split literal string to clean up checkpatch warning. Signed-off-by: Colin Ian King --- drivers/scsi/megaraid/megaraid_sas_base.c | 2 +- drivers/scsi/megaraid/megaraid_sas_fusion.c

Re: [PATCH v2] x86/mm/kaslr: Use _ASM_MUL macro for multiplication

2017-04-29 Thread H. Peter Anvin
On 04/26/17 14:29, Greg Hackmann wrote: > On 04/26/2017 02:24 PM, h...@zytor.com wrote: This really feels like a "fix your compiler" issue. >>> >>> We already use the other forms, what's so bad about adding mul too? >>> And if this lets us build under clang, all the better. >>> >>> -Kees >> >>

Re: [PATCH v5] Input: psxpad-spi - Add PSX (Play Station 1/2) pad SPI driver

2017-04-29 Thread Bastien Nocera
Hey, On Sat, 2017-04-29 at 11:16 -0700, Dmitry Torokhov wrote: > "Say Y here if you wish to connect PSX (PS1/2) pad via SPI > interface." It should say "PlayStation 1/2 joypads". Using "Play Station" is incorrect, PSX is a code name so you could mention it in between brackets. Saying "pads" is al

Re: [BUG] x86: failed to boot a kernel on a Ryzen machine

2017-04-29 Thread Satoru Takeuchi
At Fri, 28 Apr 2017 15:34:06 +0200, Paolo Bonzini wrote: > > > > On 27/04/2017 02:42, Satoru Takeuchi wrote: > > At Wed, 26 Apr 2017 18:58:27 +0200, > >> On 26/04/2017 13:47, Satoru Takeuchi wrote: > >>> OK, here it is. > >> > >> It looks like the cause is that AMD has removed TBM instructions >

Re: [PATCH] userns,pidns: Verify the userns for new pid namespaces

2017-04-29 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > > It is pointless and confusing to allow a pid namespace hierarchy and > the user namespace hierarchy to get out of sync. The owner of a child > pid namespace should be the owner of the parent pid namespace or > a descendant of the owner of the

Re: [PATCH v2] iov_iter: don't revert iov buffer if csum error

2017-04-29 Thread Al Viro
On Sat, Apr 29, 2017 at 05:37:38PM +0800, Ding Tianhong wrote: > Looks good, if so, we don't need the csum_error any more, Acked-by: Al Viro Dave, I could put that through my tree, but I think it would be better off in net.git; either way, it needs to go into mainline before -final...

[git pull] vfs.git fix (Re: iov_iter_pipe warning.)

2017-04-29 Thread Al Viro
On Sat, Apr 29, 2017 at 11:51:40AM -0400, Dave Jones wrote: > > > > Gyah... It's a bloody dumb braino in iov_iter_revert() for > pipe-backed > > > > ones. Sorry, the oneliner below should fix it. > > > > > > 5 hrs in, looking good so far. > > > > Mind your Tested-by on the fix? > > S

[PATCH v2 resend] Introduce v3 namespaced file capabilities

2017-04-29 Thread Serge E. Hallyn
Root in a non-initial user ns cannot be trusted to write a traditional security.capability xattr. If it were allowed to do so, then any unprivileged user on the host could map his own uid to root in a private namespace, write the xattr, and execute the file with privilege on the host. However sup

[PATCH] drivers:soc:fsl:qbman:qman.c: unsigned long jiffies value.

2017-04-29 Thread Karim Eshapa
unsigned long jiffies value sorry for that. Signed-off-by: Karim Eshapa --- drivers/soc/fsl/qbman/qman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c index e0df4d1..6e1a44a 100644 --- a/drivers/soc/fsl/qbman/qman.

Re: [PATCH 2/2] iio: adc: Allow setting Shunt Voltage PGA gain and Bus Voltage range

2017-04-29 Thread Stefan Bruens
On Mittwoch, 26. April 2017 08:59:47 CEST Jonathan Cameron wrote: > On 26/04/17 07:19, Jonathan Cameron wrote: > > On 17/04/17 23:08, Stefan Bruens wrote: > >> On Freitag, 14. April 2017 17:12:03 CEST Jonathan Cameron wrote: [...] > > > >> 4. Any user of the gain settings had to be made aware of t

Re: [PATCH v8 05/10] media: venus: adding core part and helper functions

2017-04-29 Thread Bjorn Andersson
On Fri 28 Apr 15:02 PDT 2017, Jordan Crouse wrote: > On Fri, Apr 28, 2017 at 12:13:52PM +0300, Stanimir Varbanov wrote: > > +int venus_boot(struct device *parent, struct device *fw_dev) > > +{ > > + const struct firmware *mdt; > > + phys_addr_t mem_phys; > > + ssize_t fw_size; > > + size_t

net/core/rtnetlink.c:1234:1: internal compiler error: output_operand: unrecognized address

2017-04-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0060e79a1f5231940ef38e6621745c0c808065cb commit: 9af15c38254d81c9991eba89335ca7c537d7f2c3 device: Implement a bus agnostic dev_num_vf routine date: 3 months ago config: cris-artpec_3_defconfig (attached as

Re: [RFC 1/3] dt-binding: soc: qcom: Add binding for RFSA

2017-04-29 Thread Bjorn Andersson
On Fri 28 Apr 10:42 PDT 2017, Rob Herring wrote: > On Sat, Apr 22, 2017 at 10:35:17AM -0700, Bjorn Andersson wrote: > > This adds the binding for describing shared memory buffers for > > implementing the remote filesystem protocol. > > > > Signed-off-by: Bjorn Andersson > > --- > > > > My initi

Re: [PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-29 Thread Casey Schaufler
On 4/29/2017 12:02 PM, Mickaël Salaün wrote: > Check if the registering LSM already registered hooks just before. This > enable to split hook declarations into multiple files without > registering multiple time the same LSM name, starting from commit > d69dece5f5b6 ("LSM: Add /sys/kernel/security/l

Re: [patch 0/6] staging: speakup: migrate synths to use TTY-based comms

2017-04-29 Thread Okash Khawaja
Hi, Forgot to add intro. Following is what I wanted to say: This patchset migrates all external synths from using raw serial i/o to using tty-based comms. The synths not migrated are internal ones - plugged directly into motherboard, communicating over ISA etc. It's important to note that these p

[patch 5/6] staging: speakup: add send_xchar, tiocmset and input functionality for tty

2017-04-29 Thread Okash Khawaja
This patch adds further TTY-based functionality, specifically implementation of send_xchar and tiocmset methods, and input. send_xchar and tiocmset methods simply delegate to corresponding TTY operations. For input, it implements the receive_buf2 callback in tty_ldisc_ops of speakup's ldisc. If a

[patch 6/6] staging: speakup: migrate apollo, ltlk, audptr, decext, dectlk and spkout

2017-04-29 Thread Okash Khawaja
This patch simply uses the changes introduced in previous patches and migrates apollo, ltlk, audptr, decext, spkout and dectlk. Migrations are straightforward function pointer updates. Signed-off by: Okash Khawaja Reviewed-by: Samuel Thibault Index: linux-staging/drivers/staging/speakup/speakup

[patch 2/6] tty: export tty_open_by_driver

2017-04-29 Thread Okash Khawaja
This applies on top of the changes already in staging-next branch which allow kernel access to TTY dev. Signe-doff-by: Okash Khawaja Reviewed-by: Samuel Thibault Index: linux-staging/drivers/tty/tty_io.c === --- linux-staging.orig/

[patch 4/6] staging: speakup: migrate acntsa, bns, dummy and txprt to ttyio

2017-04-29 Thread Okash Khawaja
This changes the above five synths to TTY-based comms. They were chosen as a first pass because their serial comms are straightforward, i.e. they don't use serial input and don't do internal port knocking. Signed-off-by: Okash Khawaja Reviewed-by: Samuel Thibault Index: linux-staging/drivers/st

[patch 1/6] staging: speakup: make input functionality swappable

2017-04-29 Thread Okash Khawaja
This moves functions which take input from external synth, into struct spk_io_ops. The calling code then uses serial implementation of those methods through spk_io_ops. That way we can add a parallel TTY-based implementation and simply replace serial with TTY. That is what the next patch in this se

[patch 3/6] staging: speakup: add tty-based comms functions

2017-04-29 Thread Okash Khawaja
This adds spk_ttyio.c file. It contains a set of functions which implement those methods in spk_synth struct which relate to sending bytes out using serial comms. Implementations in this file perform the same function but using TTY subsystem instead. Currently synths access serial ports, directly p

[patch 0/6] staging: speakup: migrate synths to use TTY-based comms

2017-04-29 Thread Okash Khawaja

[PATCH] drivers:soc:fsl:qbman:qman.c: Sleep instead of stuck hacking jiffies.

2017-04-29 Thread Karim Eshapa
Convert the jiffies into usecs then use it with usleep_range such that instead of stuck doing nothing until action happens, sleep with range improves responsiveness and power usage and avoid hacking jiffies. it's used for approximate time. You can check /kernel/time/timer.c. Signed-off-by: Karim E

[PATCH] m501fb: don't return zero on failure path in sm501fb_start()

2017-04-29 Thread Alexey Khoroshilov
If fbmem iomemory mapping failed, sm501fb_start() breaks off initialization, deallocates resources, but returns zero. As a result, double deallocation can happen in sm501fb_stop(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/video

[PATCH] userns,pidns: Verify the userns for new pid namespaces

2017-04-29 Thread Eric W. Biederman
It is pointless and confusing to allow a pid namespace hierarchy and the user namespace hierarchy to get out of sync. The owner of a child pid namespace should be the owner of the parent pid namespace or a descendant of the owner of the parent pid namespace. Otherwise it is possible to construct

Re: [PATCH v3] pid_ns: Introduce ioctl to set vector of ns_last_pid's on ns hierarhy

2017-04-29 Thread Eric W. Biederman
Kirill Tkhai writes: > On 27.04.2017 19:07, Eric W. Biederman wrote: >> Kirill Tkhai writes: >> >>> On 27.04.2017 18:15, Eric W. Biederman wrote: Kirill Tkhai writes: > On implementing of nested pid namespaces support in CRIU > (checkpoint-restore in userspace tool) we run in

[PATCH V2] staging: atomisp: Add __printf validation and fix fallout

2017-04-29 Thread Joe Perches
__printf validation adds format and argument validation. Fix the various broken format/argument mismatches. Signed-off-by: Joe Perches --- v2: bah, now without unrelated changes to other staging files... I'm not at all sure all the modifications are appropriate. Some maybe should use the orig

[PATCH] staging: atomisp: Add __printf validation and fix fallout

2017-04-29 Thread Joe Perches
__printf validation adds format and argument validation. Fix the various broken format/argument mismatches. Signed-off-by: Joe Perches --- I'm not at all sure all the modifications are appropriate. Some maybe should use the original format types like %x instead of %p with *pointer instead of j

[PATCH v1] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-04-29 Thread Mickaël Salaün
Check if the registering LSM already registered hooks just before. This enable to split hook declarations into multiple files without registering multiple time the same LSM name, starting from commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm"). Signed-off-by: Mickaël Salaün Cc: Casey Schau

Cash Grant Donation!!

2017-04-29 Thread linux-kernel-owner
Dear Beloved, You were chosen to receive my Cash Grant Donation of £2,000,000 GBP. Do contact me for details. Regards, Mrs. Anita Eric Rubenstein

Re: [PATCH v2] Introduce v3 namespaced file capabilities

2017-04-29 Thread Eric W. Biederman
"Serge E. Hallyn" writes: [snip] > A patch to linux-test-project adding a new set of tests for this > functionality is in the nsfscaps branch at github.com/hallyn/ltp > > Changelog: >Nov 02 2016: fix invalid check at refuse_fcap_overwrite() >Nov 07 2016: convert rootid from and to fs use

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Mike Galbraith
On Sat, 2017-04-29 at 11:06 -0700, Paul E. McKenney wrote: > If someone will either repost a fresh series or point me at exactly > the set of patches to use, I will run it through rcutorture again. Patchlet is against x86-tip/master.today. -Mike

Re: [PATCH v5] Input: psxpad-spi - Add PSX (Play Station 1/2) pad SPI driver

2017-04-29 Thread Dmitry Torokhov
Hi, On Sat, Apr 29, 2017 at 06:40:53PM +0900, Tomohiro Yoshidomi wrote: > PSX pads can be connected directly to the SPI bus. > > Signed-off-by: Tomohiro Yoshidomi Thank you very much for making requested changes and your patience. I think we just need a few finishing touches and we can commit t

Re: [PATCH v3] ia64: fix module loading for gcc-5.4

2017-04-29 Thread Sergei Trofimovich
On Sat, 8 Apr 2017 20:53:18 +0100 Sergei Trofimovich wrote: > Starting from gcc-5.4+ gcc generates MLX > instructions in more cases to refer local > symbols: > https://gcc.gnu.org/PR60465 > > That caused ia64 module loader to choke > on such instructions: > fuse: invalid slot number 1 f

Re: [PATCH 3/3] staging: rtl8192u: Convert u4bAcParam back to little-endian after construction

2017-04-29 Thread kbuild test robot
Hi Tuomo, [auto build test WARNING on staging/staging-testing] [also build test WARNING on next-20170428] [cannot apply to v4.11-rc8] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Tuomo-Rinne/s

Re: [patch] timer: Fix timers_update_migration(), and call it in tmigr_init()

2017-04-29 Thread Paul E. McKenney
On Sat, Apr 29, 2017 at 06:06:40PM +0200, Mike Galbraith wrote: > Note: there is more. With this applied, my desktop box will no longer > reproduce when booted to init 3 with nowatchdog on the command line. > My 8 socket DL980 OTOH still will, though it takes longer, and is > seemingly no longer

Re: [PATCH] crypto: stm32 - fix building as a module

2017-04-29 Thread Herbert Xu
On Thu, Apr 27, 2017 at 01:07:07PM +0200, Arnd Bergmann wrote: > The names in the MODULE_DEVICE_TABLE and the actual array don't match: > > drivers/crypto/stm32/stm32_crc32.c:309:21: error: 'sti_dt_ids' undeclared > here (not in a function); did you mean 'stm32_dt_ids'? > > This changes the refe

[PATCH] staging/ks7010: Fix type assignment for struct hostif_hdr

2017-04-29 Thread Cezary Gapinski
Sparse spits out a warnings about __le16 and unsigned short assignment. Change the type of size and event members of struct hostif_hdr to __le16 and correct conversion to the proper cpu type. Signed-off-by: Cezary Gapinski --- drivers/staging/ks7010/ks7010_sdio.c | 10 ++ drivers/staging

Re: [PATCH 1/1] staging: comedi: use __func__ instead of hardcoded function name

2017-04-29 Thread Joe Perches
On Sat, 2017-04-29 at 22:17 +0530, Dhiru Kholia wrote: > This coding style issue was found by checkpatch.pl script. Using > __func__ instead of hardcoded function name should help in future > refactoring of this code. > > Signed-off-by: Dhiru Kholia > --- > drivers/staging/comedi/drivers/quatech

Re: [PATCH] staging: fsl-mc/dpio: add cpu <--> LE conversion for dpaa2_fd

2017-04-29 Thread Horia Geantă
On 4/29/2017 7:32 PM, Stuart Yoder wrote: > On Fri, Apr 28, 2017 at 9:38 AM, Horia Geantă wrote: >> >> While dpaa2_fd.simple structure fields are marked __leXX, >> corresponding cpu_to_leXX / leXX_to_cpu conversions are missing. >> >> While here, fix dpaa2_fd_{get,set}_bpid such that BMT, IVP bits

[PATCH] checkpatch: Improve the embedded function name test for patch contexts

2017-04-29 Thread Joe Perches
The current test works only for a single patch context as it is done in the foreach ($rawlines) loop that precedes the loop where the actual $context_function variable is used. ' Move the set of $context_function into the foreach (@lines) loop where it is useful for each patch context. Signed-off-

[PATCH 1/1] staging: comedi: use __func__ instead of hardcoded function name

2017-04-29 Thread Dhiru Kholia
This coding style issue was found by checkpatch.pl script. Using __func__ instead of hardcoded function name should help in future refactoring of this code. Signed-off-by: Dhiru Kholia --- drivers/staging/comedi/drivers/quatech_daqp_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: [PATCH] w1: w1-gpio: Fix double-free of platform_data

2017-04-29 Thread Evgeniy Polyakov
Hi Alexey 25.03.2017, 20:08, "Alexey Ignatov" : > struct w1_gpio_platform_data was allocated using devres when using > device tree. Then it was assigned to dev.platform_data, which leaded > to double free on device removal by devres and by direct > kfree(platform_data) in platform_device_release)

Re: [PATCH 2/2] Add driver for MAX17211/MAX17215 fuel gauge

2017-04-29 Thread Sebastian Reichel
Hi, Please make sure you Cc the relevant people / mailing lists. You can use ./scripts/get_maintainer.pl to find out who should receive the patches. On Sat, Apr 29, 2017 at 05:34:29PM +0300, Alex A. Mihaylov wrote: > Maxim Semiconductor MAX17211/MAX17215 single/multi-cell fuel gauge > monitor wit

  1   2   >