Re: [PATCH net-next 08/11] net: dsa: restore mdb dump

2017-08-14 Thread Andrew Lunn
On Mon, Aug 14, 2017 at 06:22:39PM -0400, Vivien Didelot wrote: > The same dsa_fdb_dump_cb_t callback is used since there is no > distinction to do between FDB and MDB entries at this layer. > > Implement mv88e6xxx_port_mdb_dump so that multicast addresses associated > to a switch port can be dump

Re: [PATCH net-next 09/11] net: dsa: debugfs: add port mdb

2017-08-14 Thread Andrew Lunn
On Mon, Aug 14, 2017 at 06:22:40PM -0400, Vivien Didelot wrote: > Add a debug filesystem "mdb" entry to query a port's hardware MDB > entries through the .port_mdb_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these ports a

RE: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no payload

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 12:00 PM > To: Long Li ; Christoph Hellwig > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org > Subject: RE: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD

Re: [PATCH net-next 10/11] net: dsa: restore VLAN dump

2017-08-14 Thread Andrew Lunn
On Mon, Aug 14, 2017 at 06:22:41PM -0400, Vivien Didelot wrote: > This commit defines a dsa_vlan_dump_cb_t callback, similar to the FDB > dump callback and partly reverts commit a0b6b8c9fa3c ("net: dsa: Remove > support for vlan dump from DSA's drivers") to restore the DSA drivers > VLAN dump opera

Re: [PATCH net-next 11/11] net: dsa: debugfs: add port vlan

2017-08-14 Thread Andrew Lunn
On Mon, Aug 14, 2017 at 06:22:42PM -0400, Vivien Didelot wrote: > Add a debug filesystem "vlan" entry to query a port's hardware VLAN > entries through the .port_vlan_dump switch operation. > > This is really convenient to query directly the hardware or inspect DSA > or CPU links, since these port

Re: [v5 4/4] mm, oom, docs: describe the cgroup-aware OOM killer

2017-08-14 Thread David Rientjes
On Mon, 14 Aug 2017, Roman Gushchin wrote: > diff --git a/Documentation/cgroup-v2.txt b/Documentation/cgroup-v2.txt > index dec5afdaa36d..22108f31e09d 100644 > --- a/Documentation/cgroup-v2.txt > +++ b/Documentation/cgroup-v2.txt > @@ -48,6 +48,7 @@ v1 is available under Documentation/cgroup-v1/.

Re: [PATCH] [RFC] tpm_tis: tpm_tcg_flush() after iowrite*()s

2017-08-14 Thread Haris Okanovic
On 08/07/2017 09:59 AM, Julia Cartwright wrote: On Fri, Aug 04, 2017 at 04:56:51PM -0500, Haris Okanovic wrote: I have a latency issue using a SPI-based TPM chip with tpm_tis driver from non-rt usermode application, which induces ~400 us latency spikes in cyclictest (Intel Atom E3940 system, P

Re: [PATCH net-next 03/11] net: dsa: debugfs: add tree

2017-08-14 Thread Andrew Lunn
On Mon, Aug 14, 2017 at 06:22:34PM -0400, Vivien Didelot wrote: > This commit adds the boiler plate to create a DSA related debug > filesystem entry as well as a "tree" file, containing the tree index. > > # cat switch1/tree > 0 > > Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn

RE: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma mount option

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 12:10 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 01/37] [CIFS] SMBD: Add parsing for new rdma > mount op

[PATCH] tpm_tis: fix stall after iowrite*()s

2017-08-14 Thread Haris Okanovic
ioread8() operations to TPM MMIO addresses can stall the cpu when immediately following a sequence of iowrite*()'s to the same region. For example, cyclitest measures ~400us latency spikes when a non-RT usermode application communicates with an SPI-based TPM chip (Intel Atom E3940 system, PREEMPT_

RE: [[PATCH v1] 04/37] [CIFS] SMBD: Define per-channel SMBD transport parameters and default values

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 12:29 PM > To: Christoph Hellwig ; Long Li > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org > Subject: RE: [[PATCH v1] 04/37] [CIFS] SMBD: Define per-c

Re: [PATCH net-next 01/11] net: dsa: legacy: assign dst->applied

2017-08-14 Thread Andrew Lunn
On Mon, Aug 14, 2017 at 06:22:32PM -0400, Vivien Didelot wrote: > The "applied" boolean of the dsa_switch_tree is only set in the new > bindings. This patch sets it in the legacy code as well. What is missing here is: Why? I see the next patch does a WARN_ON(!applied). Why have a WARN_ON? And

RE: [[PATCH v1] 14/37] [CIFS] SMBD: Post a SMBD data transfer message with page payload

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 1:23 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 14/37] [CIFS] SMBD: Post a SMBD data transfer > message

RE: [[PATCH v1] 19/37] [CIFS] SMBD: Manage credits on SMBD client and server

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 1:47 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 19/37] [CIFS] SMBD: Manage credits on SMBD client > and

Re: [PATCH] [media] media: imx: use setup_timer

2017-08-14 Thread Steve Longerbeam
Thanks, Reviewed-by: Steve Longerbeam Tested-by: Steve Longerbeam Steve On 08/13/2017 11:39 AM, Cihangir Akturk wrote: Use setup_timer function instead of initializing timer with the function and data fields. Generated by: scripts/coccinelle/api/setup_timer.cocci. Signed-off-by: Cihangir

Re: linux-next: build failure in the staging tree (Was: kisskb: FAILED linux-next/s390-allmodconfig/s390x Mon Jul 31, 17:24)

2017-08-14 Thread Stephen Rothwell
Hi Greg, On Mon, 14 Aug 2017 15:19:29 -0700 Greg KH wrote: > > On Fri, Aug 11, 2017 at 10:04:35AM +1000, Stephen Rothwell wrote: > > Hi Greg, > > > > On Thu, 10 Aug 2017 16:48:42 -0700 Greg KH > > wrote: > > > > > > I have a patch in my queue, somewhere, that should resolve this, I > > > thi

Re: [PATCH v2] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-08-14 Thread Marcelo Ricardo Leitner
On Mon, Aug 14, 2017 at 08:43:04PM +0200, Alexander Potapenko wrote: > KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and > sctp_addr->v6.sin6_scope_id in sctp_v6_cmp_addr() (see below). > Make sure all fields of an IPv6 address are initialized, which > guarantees that the IPv4 f

Re: [PATCH] [RFC] tpm_tis: tpm_tcg_flush() after iowrite*()s

2017-08-14 Thread Haris Okanovic
On 08/08/2017 04:58 PM, Jarkko Sakkinen wrote: On Mon, Aug 07, 2017 at 09:59:35AM -0500, Julia Cartwright wrote: On Fri, Aug 04, 2017 at 04:56:51PM -0500, Haris Okanovic wrote: I have a latency issue using a SPI-based TPM chip with tpm_tis driver from non-rt usermode application, which induce

Re: [PATCH v3 pci] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-08-14 Thread Khuong Dinh
Hi Marc, On Mon, Aug 14, 2017 at 1:21 AM, Marc Zyngier wrote: > On 12/08/17 01:02, Khuong Dinh wrote: >> This patch makes pci-xgene-msi driver ACPI-aware and provides >> MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. >> >> Signed-off-by: Khuong Dinh >> [Take over from D

RE: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD message with no payload

2017-08-14 Thread Tom Talpey
> -Original Message- > From: Long Li > Sent: Monday, August 14, 2017 6:51 PM > To: Tom Talpey ; Christoph Hellwig > > Cc: Steve French ; linux-c...@vger.kernel.org; samba- > techni...@lists.samba.org; linux-kernel@vger.kernel.org > Subject: RE: [[PATCH v1] 16/37] [CIFS] SMBD: Post a SMBD m

Re: [PATCH 6/6] [media] media: imx: capture: constify vb2_ops structures

2017-08-14 Thread Steve Longerbeam
Thanks, Reviewed-by: Steve Longerbeam Steve On 08/05/2017 03:47 AM, Julia Lawall wrote: These vb2_ops structures are only stored in the ops field of a vb2_queue structure, which is declared as const. Thus the vb2_ops structures themselves can be const. Done with the help of Coccinelle. //

Re: [PATCH] [media] staging/imx: always select VIDEOBUF2_DMA_CONTIG

2017-08-14 Thread Steve Longerbeam
Thanks, Reviewed-by: Steve Longerbeam Steve On 08/07/2017 03:49 AM, Arnd Bergmann wrote: I ran into a rare build error during randconfig testing: drivers/staging/media/imx/imx-media-capture.o: In function `capture_stop_streaming': imx-media-capture.c:(.text+0x224): undefined reference to `v

Re: [PATCH v3 pci] PCI/MSI: pci-xgene-msi: Enable MSI support in ACPI boot for X-Gene v1

2017-08-14 Thread Khuong Dinh
Hi Lorenzo, On Mon, Aug 14, 2017 at 11:15 AM, Lorenzo Pieralisi wrote: > On Fri, Aug 11, 2017 at 06:02:53PM -0600, Khuong Dinh wrote: >> This patch makes pci-xgene-msi driver ACPI-aware and provides >> MSI capability for X-Gene v1 PCIe controllers in ACPI boot mode. >> >> Signed-off-by: Khuong D

RE: [[PATCH v1] 21/37] [CIFS] SMBD: Implement API for upper layer to receive data

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 1:57 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 21/37] [CIFS] SMBD: Implement API for upper layer > to r

RE: [[PATCH v1] 24/37] [CIFS] SMBD: Support for SMBD keep alive protocol

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 2:07 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 24/37] [CIFS] SMBD: Support for SMBD keep alive > protoc

RE: [[PATCH v1] 25/37] [CIFS] SMBD: Support SMBD idle connection timer

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 2:12 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Cc: Long Li > Subject: RE: [[PATCH v1] 25/37] [CIFS] SMBD: Support SMBD idle con

RE: [[PATCH v1] 30/37] [CIFS] SMBD: Add SMBDirect transport to Makefile

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 2:20 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 30/37] [CIFS] SMBD: Add SMBDirect transport to > Makefil

Re: [PATCH] swap: choose swap device according to numa node

2017-08-14 Thread Andrew Morton
On Mon, 14 Aug 2017 13:31:30 +0800 Aaron Lu wrote: > If the system has more than one swap device and swap device has the node > information, we can make use of this information to decide which swap > device to use in get_swap_pages() to get better performance. > > The current code uses a priorit

RE: [[PATCH v1] 21/37] [CIFS] SMBD: Implement API for upper layer to receive data

2017-08-14 Thread Tom Talpey
> -Original Message- > From: Long Li > Sent: Monday, August 14, 2017 7:25 PM > To: Tom Talpey ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 21/37] [CIFS] SMBD: Implement API for upper layer to > rec

RE: [[PATCH v1] 23/37] [CIFS] SMBD: Implement API for upper layer to reconnect transport

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 2:03 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 23/37] [CIFS] SMBD: Implement API for upper layer > to r

Re: [PATCH] thermal: intel_pch_thermal: Fix enable check on Broadwell-DE

2017-08-14 Thread Pandruvada, Srinivas
On Wed, 2017-07-19 at 17:44 -0700, Ed Swierk wrote: > Using the TSDSS flag to determine whether the thermal sensor is > enabled is problematic. Broadwell-DE (Xeon D-1500) does not support > dynamic shutdown and the TSDSS flag always reads 0 (contrary to the > current datasheet). Even on hardware su

RE: [[PATCH v1] 25/37] [CIFS] SMBD: Support SMBD idle connection timer

2017-08-14 Thread Tom Talpey
> -Original Message- > From: linux-cifs-ow...@vger.kernel.org [mailto:linux-cifs- > ow...@vger.kernel.org] On Behalf Of Long Li > Sent: Monday, August 14, 2017 7:30 PM > To: Tom Talpey ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kerne

RE: [[PATCH v1] 25/37] [CIFS] SMBD: Support SMBD idle connection timer

2017-08-14 Thread Long Li
> -Original Message- > From: Tom Talpey > Sent: Monday, August 14, 2017 4:42 PM > To: Long Li ; Steve French ; > linux-c...@vger.kernel.org; samba-techni...@lists.samba.org; linux- > ker...@vger.kernel.org > Subject: RE: [[PATCH v1] 25/37] [CIFS] SMBD: Support SMBD idle connection > timer

Re: [PATCH] mm, oom: allow oom reaper to race with exit_mmap

2017-08-14 Thread David Rientjes
On Wed, 26 Jul 2017, Andrea Arcangeli wrote: > From 3d9001490ee1a71f39c7bfaf19e96821f9d3ff16 Mon Sep 17 00:00:00 2001 > From: Andrea Arcangeli > Date: Tue, 25 Jul 2017 20:02:27 +0200 > Subject: [PATCH 1/1] mm: oom: let oom_reap_task and exit_mmap to run > concurrently > > This is purely require

[patch] mm, oom: remove unused mmput_async

2017-08-14 Thread David Rientjes
After "mm: oom: let oom_reap_task and exit_mmap to run concurrently", mmput_async() is no longer used. Remove it. Cc: Andrea Arcangeli Signed-off-by: David Rientjes --- include/linux/sched/mm.h | 6 -- kernel/fork.c| 16 2 files changed, 22 deletions(-) diff

Re: [PATCH] serial: 8250_of: Add basic PM runtime support

2017-08-14 Thread Greg KH
On Wed, Aug 02, 2017 at 11:32:18AM -0500, Franklin S Cooper Jr wrote: > Add basic PM Runtime support. > Why? How? For what? Come on, we need better changelogs than just 5 words...

Re: [PATCH v2] serial: 8250_of: Add basic PM runtime support

2017-08-14 Thread Greg KH
On Mon, Aug 07, 2017 at 03:46:15PM -0500, Franklin S Cooper Jr wrote: > Add basic PM Runtime support. Changelog text still needs work.

[PATCH V3 0/2] Add LV/MV subtypes support for QCOM PMIC GPIOs

2017-08-14 Thread fenglinw
From: Fenglin Wu LV (low voltage) and MV (medium voltage) subtype GPIO modules are support in QCOM PMICs like PMI8998, PM660. These modules support addtional features (func3, func4, analog-pass-through mode) and the register mappings are also different compared with legacy 4CH/8CH subtypes. Thes

[PATCH V3 1/2] pinctrl: qcom: spmi-gpio: Add support for GPIO LV/MV subtype

2017-08-14 Thread fenglinw
From: Fenglin Wu GPIO LV (low voltage)/MV (medium voltage) subtypes have different features and register mappings than 4CH/8CH subtypes. Add support for LV and MV subtypes. Signed-off-by: Fenglin Wu Acked-by: Rob Herring Acked-by: Bjorn Andersson --- .../devicetree/bindings/pinctrl/qcom,pmic

[PATCH V3 2/2] pinctrl: qcom: spmi-gpio: Add dtest route for digital input

2017-08-14 Thread fenglinw
From: Fenglin Wu Add property "qcom,dtest-buffer" to specify which dtest rail to feed when the pin is configured as a digital input. Signed-off-by: Fenglin Wu Acked-by: Rob Herring Acked-by: Bjorn Andersson --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 7 +++ drivers/pinctrl/qcom

Re: [PATCH] staging: pi433: style fixes for conditionals

2017-08-14 Thread Greg KH
On Mon, Aug 07, 2017 at 07:51:42PM -0400, Frank Jozsa wrote: > Cleans up some incongruous braces > > Signed-off-by: Frank Jozsa > --- > drivers/staging/pi433/pi433_if.c | 203 > +++ > 1 file changed, 78 insertions(+), 125 deletions(-) You sent two patches th

Re: [PATCH v2 1/4] staging: pi433: Style fix - Correct long lines

2017-08-14 Thread Greg KH
On Thu, Aug 03, 2017 at 05:20:43PM +0530, Rishabh Hardas wrote: > Signed-off-by: Rishabh Hardas > --- I can not take patches without any changelog text at all, sorry. Please fix up and resend this series. thanks, greg k-h

Re: [PATCH v3 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-14 Thread Sandy Huang
在 2017/8/14 18:58, Wadim Egorov 写道: Hi Sandy, I am not familiar with the rockchip drm driver, but don't you have to add the rockchip_lvds_driver as a sub driver in rockchip_drm_init()? Otherwise it will be not bound by component_bind_all(). Regards, Wadim Am 14.08.2017 um 09:04 schrieb Sandy

Re: [PATCH 1/2] mm: fix double mmap_sem unlock on MMF_UNSTABLE enforced SIGBUS

2017-08-14 Thread David Rientjes
On Mon, 7 Aug 2017, Michal Hocko wrote: > From: Michal Hocko > > Tetsuo Handa has noticed that MMF_UNSTABLE SIGBUS path in > handle_mm_fault causes a lockdep splat > [ 58.539455] Out of memory: Kill process 1056 (a.out) score 603 or > sacrifice child > [ 58.543943] Killed process 1056 (a.ou

Re: [PATCH] staging/pi433: Solved some coding style issues in pi433_if.c

2017-08-14 Thread Greg KH
On Tue, Aug 01, 2017 at 10:39:06AM +0530, Rishabh Hardas wrote: > From: Rishabh Hardas > > Solved a few coding style issues, used BIT macro to set MINORBITS. > > Signed-off-by: Rishabh Hardas > Reviewed-by: Marcus Wolf > --- > drivers/staging/pi433/pi433_if.c | 24 ++-- >

[PATCH v4 0/3] Add support Rockchip Soc LVDS

2017-08-14 Thread Sandy Huang
[0]: https://github.com/RockchipOpensourceCommunity/popmetal-kernel-3.14 [1]: http://lists.infradead.org/pipermail/linux-rockchip/2015-April/002830.html Changes: - Update rockchip_lvds_encoder_helper_funcs to atomic API - Add bridge function for RGB/LVDS convert to other output type - Fix some unr

[PATCH v4 1/3] dt-bindings: display: Add Document for Rockchip Soc LVDS

2017-08-14 Thread Sandy Huang
This patch add Document for Rockchip Soc RK3288 LVDS, This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- .../bindings/display/rockchip/rockchip-lvds.txt| 106 + 1 file changed,

[PATCH v4 3/3] drm/rockchip: Add support for Rockchip Soc LVDS

2017-08-14 Thread Sandy Huang
This adds support for Rockchip soc lvds found on rk3288 Based on the patches from Mark yao and Heiko Stuebner Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- drivers/gpu/drm/rockchip/Kconfig| 9 + drivers/gpu/drm/rockchip/Makefile |

[PATCH v4 2/3] ARM: dts: Add LVDS info for rk3288

2017-08-14 Thread Sandy Huang
add LVDS info in rk3288.dtsi for LVDS driver This based on the patches from Mark yao and Heiko Stuebner. Signed-off-by: Sandy Huang Signed-off-by: Mark yao Signed-off-by: Heiko Stuebner --- add ADD_ROCKCHIP_SUB_DRIVER(rockchip_lvds_driver, CONFIG_ROCKCHIP_LVDS); arch/arm/boot/dts/rk3288.dtsi

Re: [PATCH] staging: pi433: fix check for FDEVMSB register mask

2017-08-14 Thread Greg KH
On Sun, Aug 13, 2017 at 09:43:50PM +0200, Frederico Cadete wrote: > The code was using the logical negation operator "!", effectively never > triggering the error path. To check the bitmask we should use the > bitwise negation "~". > > Cleans up sparse warning: > warning: dubious: x & !y > > Si

Re: [PATCH V2] get_maintainer: Prepare for separate MAINTAINERS files

2017-08-14 Thread Joe Perches
On Tue, 2017-08-15 at 00:09 +0200, Pavel Machek wrote: > Hi! > > On Wed 2017-08-02 11:15:09, Linus Torvalds wrote: > > On Wed, Aug 2, 2017 at 11:06 AM, Randy Dunlap wrote: > > > > > > IMO, the parse-maintainters.pl (sorting) script makes the need for > > > separate > > > MAINTAINERS files much

[PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-14 Thread Tim Chen
We encountered workloads that have very long wake up list on large systems. A waker takes a long time to traverse the entire wake list and execute all the wake functions. We saw page wait list that are up to 3700+ entries long in tests of large 4 and 8 socket systems. It took 0.8 sec to traverse

[PATCH 2/2] sched/wait: Introduce lock breaker in wake_up_page_bit

2017-08-14 Thread Tim Chen
Now that we have added breaks in the wait queue scan and allow bookmark on scan position, we put this logic in the wake_up_page_bit function. We can have very long page wait list in large system where multiple pages share the same wait list. We break the wake up walk here to allow other cpus a cha

Re: [PATCH] net/bluetooth: make bluetooth socket can be created in net namespace

2017-08-14 Thread fupan
On 2017/8/14 23:59, Marcel Holtmann wrote: Hi Szymon, By now kernel only supported creating bluetooth socket in init_net net namespace, which made bluetooth device cannot be accessed in containers, this patch made bluetooth socket can be created in net namespaces to fix this issue. Signed-off-

Re: [PATCH] acpi: apei: fix the wrongly parse generic error status block

2017-08-14 Thread gengdongjiu
Hi,Tyler, Yes, I will add a patch based on it, thanks a lot that you will also have a test. On 2017/8/14 22:04, Baicar, Tyler wrote: > This change works too, I think it just makes sense to have the iterations in > the CPER and GHES code match. Do you want to add a patch to your patch here >

[PATCH] usb: gadget: f_midi: add super speed support

2017-08-14 Thread Badhri Jagan Sridharan
Add super speed descriptors for f_midi. Signed-off-by: Badhri Jagan Sridharan --- drivers/usb/gadget/function/f_midi.c | 42 +--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/drivers/usb/gadget/function/f_midi.c b/drivers/usb/gadget/function/f_m

RE: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-08-14 Thread Liang, Kan
> On Mon, Jul 17, 2017 at 01:24:23AM +, Liang, Kan wrote: > > Hi Don & Thomas, > > > > Sorry for the late response. We just finished the tests for all proposed > patches. > > > > There are three proposed patches so far. > > Patch 1: The patch as above which speed up the hrtimer. > > Patch 2:

[PATCH 3.18 01/16] mm: ratelimit PFNs busy info message

2017-08-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Toppins commit 75dddef32514f7aa58930bde6a1263253bc3d4ba upstream. The RDMA subsystem can generate several thousand of these messages per second eventually leading to a kernel crash.

[PATCH 3.18 09/16] uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069

2017-08-14 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Alan Swanson commit 89f23d51defcb94a5026d4b5da13faf4e1150a6f upstream. Similar to commit d595259fbb7a ("usb-storage: Add ignore-residue quirk for Initio INIC-3619") for INIC-3169 in unusual_de

[PATCH 4.9 22/41] staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 105967ad68d2eb1a041bc041f9cf96af2a653b65 upstream. gcc-7 points out an older regression: drivers/staging/iio/resolver/ad2s1210.c: In function 'ad2s1210_read_raw': drivers/

[PATCH 4.9 27/41] usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit aca5b9ebd096039657417c321a9252c696b359c2 upstream. According to the gadget.h, a "complete" function will always be called with interrupts disabled. However, sometimes u

[PATCH 4.12 28/65] USB: hcd: Mark secondary HCD as dead if the primary one died

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit cd5a6a4fdaba150089af2afc220eae0fef74878a upstream. Make usb_hc_died() clear the HCD_FLAG_RH_RUNNING flag for the shared HCD and set HCD_FLAG_DEAD for it, in analogy wi

[PATCH 4.12 62/65] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Maciej W. Rozycki commit 68fe55680d0f3342969f49412fceabb90bdfadba upstream. Fix a commit 3021773c7c3e ("MIPS: DEC: Avoid la pseudo-instruction in delay slots") regression and remove assembly e

[PATCH 4.12 43/65] usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 2acecd58969897795cf015c9057ebd349a3fda8a upstream. The latest HW manual (Rev.0.55) shows us this UGCTRL2.VBUSSEL bit. If the bit sets to 1, the VBUS drive is controlle

[PATCH 4.12 31/65] iio: accel: st_accel: add SPI-3wire support

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi commit a7b8829d242b1a58107e9c02b09e93aec446d55c upstream. Add SPI Serial Interface Mode (SIM) register information in st_sensor_settings look up table to support devices (like

[PATCH 4.12 39/65] firmware: fix batched requests - send wake up on failure on direct lookups

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Luis R. Rodriguez commit 90d41e74a9c36a84e2efbd2a5b8d79299feee6fa upstream. Fix batched requests from waiting forever on failure. The firmware API batched requests feature has been broken sin

[PATCH 4.12 40/65] firmware: avoid invalid fallback aborts by using killable wait

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Luis R. Rodriguez commit 260d9f2fc5655a2552701cdd0b909c4466732f19 upstream. Commit 0cb64249ca500 ("firmware_loader: abort request if wait_for_completion is interrupted") added via 4.0 added su

[PATCH 4.12 37/65] uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Alan Swanson commit 89f23d51defcb94a5026d4b5da13faf4e1150a6f upstream. Similar to commit d595259fbb7a ("usb-storage: Add ignore-residue quirk for Initio INIC-3619") for INIC-3169 in unusual_de

[PATCH 4.12 38/65] firmware: fix batched requests - wake all waiters

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Luis R. Rodriguez commit e44565f62a72064e686f7a852137595ec94d78f2 upstream. The firmware cache mechanism serves two purposes, the secondary purpose is not well documented nor understood. This

[PATCH 4.12 63/65] Revert "MIPS: Dont unnecessarily include kmalloc.h into ."

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit ae5b0675942ab30cde96099c68a2290bd1aafcca upstream. Commit 296e46db0073 ("MIPS: Don't unnecessarily include kmalloc.h into .") claimed that the inclusion of the machine's kma

[PATCH 4.12 36/65] staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit cef988642cdac44e910a27cb6e8166c96f86a0df upstream. Comedi's read and write file operation handlers (`comedi_read()` and `comedi_write()`) currently call `copy_to_user()` or `

[PATCH 4.12 35/65] iio: adc: Revert "axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications"

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 631b010abc5b57009c6a8328f51492665f6ef310 upstream. Inheriting the ADC BIAS current settings from the BIOS instead of hardcoding then causes the AXP288 to disable charging

[PATCH 4.12 65/65] powerpc: Fix /proc/cpuinfo revision for POWER9 DD2

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling commit 64ebb9a208c6e66316329a6d9101815d1ee06fa9 upstream. The P9 PVR bits 12-15 don't indicate a revision but instead different chip configurations. From BookIV we have: Bi

[PATCH 4.12 61/65] pinctrl: meson-gxl: Add missing GPIODV_18 pin entry

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Neil Armstrong commit aa9556956653f85baaadeb4846dc571414f13e36 upstream. GPIODV_18 entry was missing in the original driver push. Fixes: 0f15f500ff2c ("pinctrl: meson: Add GXL pinctrl definit

[PATCH 4.12 64/65] MIPS: Octeon: Fix broken EDAC driver.

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Steven J. Hill commit 81a67e52763d1db6b3200c648d1efa16daddc536 upstream. Commit "MIPS: Octeon: Remove unused L2C types and macros." broke the the EDAC driver. Bring back 'cvmx-l2d-defs.h' file

[PATCH 4.12 34/65] iio: light: tsl2563: use correct event code

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit a3507e48d3f99a93a3056a34a5365f310434570f upstream. The TSL2563 driver provides three iio channels, two of which are raw ADC channels (channel 0 and channel 1) in the device

[PATCH 4.12 60/65] pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Neil Armstrong commit 34e61801a3b9df74b69f0e359d64a197a77dd6ac upstream. GPIODV_18 entry was missing in the original driver push. Fixes: 468c234f9ed7 ("pinctrl: amlogic: Add support for Amlog

[PATCH 4.12 54/65] pinctrl: cherryview: Add Setzer models to the Chromebook DMI quirk

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 2d80bd3f7eb69204cd5dec4fa7fe7e12cbfaed13 upstream. Add one more model to the Chromebook DMI quirk to make it working again. Link: https://bugzilla.kernel.org/show_bug.c

[PATCH 4.12 59/65] pinctrl: samsung: Remove bogus irq_[un]mask from resource management

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 3fa53ec2ed885b0aec3f0472e3b4a8a6f1cd748c upstream. The irq chip callbacks irq_request/release_resources() have absolutely no business with masking and unmasking the irq.

[PATCH 4.12 58/65] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 1bd303dc04c3f744474e77c153575087b657f7e1 upstream. The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). Filling non-existing ports with '-1' turned out

[PATCH 4.12 55/65] pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit d81ece747d8727bb8b1cfc9a20dbe62f09a4e35a upstream. The PH16 pin has a function with mux id 0x5, which is the DET pin of the "sim" (smart card reader) IP block. This funct

[PATCH 4.12 33/65] iio: pressure: st_pressure_core: disable multiread by default for LPS22HB

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Bianconi commit add6e6ab3ee0e237822e0951476d3df039b49ec8 upstream. Set multiread variable to false for LPS22HB pressure sensor since it is already enabled in CTRL_REG2. Previous config

[PATCH 4.12 53/65] pnfs/blocklayout: require 64-bit sector_t

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 8a9d6e964d318533ba3d2901ce153ba317c99a89 upstream. The blocklayout code does not compile cleanly for a 32-bit sector_t, and also has no reliable checks for devices siz

[PATCH 4.12 57/65] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 9592bc256d50481dfcdba93890e576a728fb373c upstream. The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). Filling non-existing ports with '-1' turned out

[PATCH 4.12 48/65] PCI: Protect pci_error_handlers->reset_notify() usage with device_lock()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit b014e96d1abbd67404bbe2018937b46466299e9e upstream. Every method in struct device_driver or structures derived from it like struct pci_driver MUST provide exclusion vs

[PATCH 4.12 56/65] pinctrl: intel: merrifield: Correct UART pin lists

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 5d996132d921c391af5f267123eca1a6a3148ecd upstream. UART pin lists consist GPIO numbers which is simply wrong. Replace it by pin numbers. Fixes: 4e80c8f50574 ("pinctrl:

[PATCH 4.12 52/65] iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stefan-Gabriel Mirea commit d466d3c1217406b14b834335b5b4b33c0d45bd09 upstream. In order to select the alternate voltage reference pair (VALTH/VALTL), the right value for the REFSEL field in th

[PATCH 4.12 51/65] xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 8466489ef5ba48272ba4fa4ea9f8f403306de4c7 upstream. The Renesas uPD72020x XHCI controller seems to suffer from a really annoying bug, where it may retain some of its DMA pro

[PATCH 4.12 50/65] PCI: Add pci_reset_function_locked()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit a477b9cd37aa81a490dfa3265b7ff4f2c5a92463 upstream. The implementation of PCI workarounds may require that the device is reset from its probe function. This implies that th

[PATCH 4.12 49/65] PCI: Remove __pci_dev_reset() and pci_dev_reset()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 52354b9d1f46aae7386db7bb8ec8484b5488087f upstream. Implement the reset probing / reset chain directly in __pci_probe_reset_function() and __pci_reset_function_locked()

[PATCH 4.12 47/65] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sandeep Singh commit e788787ef4f9c24aafefc480a8da5f92b914e5e6 upstream. Certain HP keyboards would keep inputting a character automatically which is the wake-up key after S3 resume On some AM

[PATCH 4.12 46/65] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 7496cfe5431f21da5d27a8388c326397e3f0a5db upstream. Moshi USB to Ethernet Adapter internally uses a Genesys Logic hub to connect to Realtek r8153. The Realtek r8153 ethern

[PATCH 4.12 42/65] usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit aca5b9ebd096039657417c321a9252c696b359c2 upstream. According to the gadget.h, a "complete" function will always be called with interrupts disabled. However, sometimes

[PATCH 4.12 30/65] iio: aspeed-adc: wait for initial sequence.

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mykola Kostenok commit 737cc2a593782df6846b3cab7e0f64384f58364a upstream. This patch enables adc engine at initialization time and waits for the initial sequence completion before enabling adc

[PATCH 4.12 45/65] usb: core: unlink urbs from the tail of the endpoints urb_list

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 2eac13624364db5b5e1666ae0bb3a4d36bc56b6e upstream. While unlink an urb, if the urb has been programmed in the controller, the controller driver might do some hw related actions

Re: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-08-14 Thread Linus Torvalds
On Mon, Aug 14, 2017 at 6:16 PM, Liang, Kan wrote: > > We have confirmed that the hardlock with "speed up the hrtimer" patch is > actually another issue. Good. However: > Tim has already proposed a patch to fix it. > Here is his patch. https://lkml.org/lkml/2017/8/14/1000 Ugh. I hate that patc

[PATCH 4.12 44/65] USB: Check for dropped connection before switching to full speed

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 94c43b9897abf4ea366ed4dba027494e080c7050 upstream. Some buggy USB disk adapters disconnect and reconnect multiple times during the enumeration procedure. This may lead to a

[PATCH 4.12 41/65] block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit d4acf3650c7c968f46ad932b9a25d1cc24cf4998 upstream. The blk_mq_delay_kick_requeue_list() function is used by the device mapper and only by the device mapper to rerun the

[PATCH 4.12 32/65] iio: accel: bmc150: Always restore device to normal mode after suspend-resume

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit e59e18989c68a8d7941005f81ad6abc4ca682de0 upstream. After probe we would put the device in normal mode, after a runtime suspend-resume we would put it back in normal mode.

[PATCH 4.12 29/65] staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 105967ad68d2eb1a041bc041f9cf96af2a653b65 upstream. gcc-7 points out an older regression: drivers/staging/iio/resolver/ad2s1210.c: In function 'ad2s1210_read_raw': drivers

<    5   6   7   8   9   10   11   12   13   >