[PATCH] KVM: arm/arm64: vgic: constify seq_operations and file_operations

2017-08-22 Thread Arvind Yadav
vgic_debug_seq_ops and file_operations are not supposed to change at runtime and none of the structures is modified. Signed-off-by: Arvind Yadav --- virt/kvm/arm/vgic/vgic-debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virt/kvm/arm/vgic/vgic-debug.c b/virt/kvm/ar

Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell

2017-08-22 Thread Krzysztof Kozlowski
On Wed, Aug 23, 2017 at 8:34 AM, Chanwoo Choi wrote: > Hi Maciej, > > Why do you miss my reviewed-by tag? > If there is no huge changes, you need to keep the previous review tag. > > Reviewed-by: Chanwoo Choi Same here: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof

Re: [PATCH v2 1/3] media: V3s: Add support for Allwinner CSI.

2017-08-22 Thread Hans Verkuil
On 08/22/2017 10:17 PM, Maxime Ripard wrote: > On Tue, Aug 22, 2017 at 08:43:35AM +0200, Hans Verkuil wrote: > +static int sun6i_video_link_setup(struct media_entity *entity, > + const struct media_pad *local, > + const struct media_pa

Re: [PATCH 1/4] mm, page_owner: make init_pages_in_zone() faster

2017-08-22 Thread Vlastimil Babka
On 07/24/2017 02:38 PM, Michal Hocko wrote: > On Thu 20-07-17 15:40:26, Vlastimil Babka wrote: >> In init_pages_in_zone() we currently use the generic set_page_owner() >> function >> to initialize page_owner info for early allocated pages. This means we >> needlessly do lookup_page_ext() twice for

Re: [PATCH] storvsc: do not assume SG list is continuous when doing bounce buffers (for 4.1 stable only)

2017-08-22 Thread Christoph Hellwig
Ok. If the stable maintainers are ok with your small fix I'm not going to complain too loudly. But I'm always worried about stable trees divering too much from mainline.

[GIT PULL] SCSI fixes for 4.13-rc6

2017-08-22 Thread James Bottomley
Six minor and error leg fixes, plus one major change: the reversion of scsi-mq as the default.  We're doing the latter temporarily (with a backport to stable) to give us time to fix all the issues that turned up with this default before trying again. The patch is available here: git://git.kernel.

Re: [PATCH] iio: imu: inv_mpu6050: fix missing break in switch

2017-08-22 Thread Peter Meerwald-Stadler
> Add missing break statement to prevent the code for case > IIO_CHAN_INFO_CALIBBIAS falling through to the default case. > > Also, add a break to the default case for the switch within > case IIO_CHAN_INFO_CALIBBIAS. fix seems to be cosmetic only... > Addresses-Coverity-ID: 1357377 > Signed-of

Re: linux-next: manual merge of the akpm-current tree with the tip tree

2017-08-22 Thread Vlastimil Babka
On 08/22/2017 08:57 AM, Stephen Rothwell wrote: > Hi Andrew, Hi, > Today's linux-next merge of the akpm-current tree got a conflict in: > > init/main.c > > between commit: > > caba4cbbd27d ("debugobjects: Make kmemleak ignore debug objects") > > from the tip tree and commit: > > 50a7dc

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

2017-08-22 Thread Sekhar Nori
On Monday 21 August 2017 10:29 PM, Franklin S Cooper Jr wrote: > > > On 08/21/2017 07:20 AM, Sekhar Nori wrote: >> On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: >>> 66AK2G UART instances are not apart of the ALWAYS_ON power domain. >>> Therefore, pm_runtime calls must be made t

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

2017-08-22 Thread Sandy Huang
在 2017/8/22 10:48, Rob Herring 写道: On Fri, Aug 18, 2017 at 04:09:49PM +0800, Sandy Huang wrote: 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

Re: [PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell

2017-08-22 Thread Chanwoo Choi
Hi Maciej, Why do you miss my reviewed-by tag? If there is no huge changes, you need to keep the previous review tag. Reviewed-by: Chanwoo Choi On 2017년 08월 23일 15:30, Maciej Purski wrote: > This patch adds muic of_compatible in order to use the muic device > driver in device tree. > > Signed

[stable 4.4 0/2] missing mei device ids

2017-08-22 Thread Tomas Winkler
Device ids that are missing in 4.4 stable Tomas Winkler (2): mei: me: add broxton pci device ids mei: me: add lewisburg device ids drivers/misc/mei/hw-me-regs.h | 8 drivers/misc/mei/pci-me.c | 4 2 files changed, 12 insertions(+) -- 2.9.5

[stable 4.4 2/2] mei: me: add lewisburg device ids

2017-08-22 Thread Tomas Winkler
Add MEI Lewisburg PCH IDs for Purley based workstations. Cc: # 4.4.x Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/hw-me-regs.h | 5 + drivers/misc/mei/pci-me.c | 1 + 2 files changed, 6 insertions(+) diff --git a

[stable 4.4 1/2] mei: me: add broxton pci device ids

2017-08-22 Thread Tomas Winkler
Add device ids for Broxton SoC based devices. Cc: sta...@kernel.com #4.4.x Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/hw-me-regs.h | 3 +++ drivers/misc/mei/pci-me.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/misc/mei/hw-me-regs.

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Wed, Aug 23, 2017 at 11:43:23AM +0900, Byungchul Park wrote: > On Tue, Aug 22, 2017 at 03:49:22PM +0200, Peter Zijlstra wrote: > > On Tue, Aug 22, 2017 at 12:08:40PM +0200, Peter Zijlstra wrote: > > > > > > > > I meant: > > > > > > > > > > > > mutex_lock(&A) > > > > > >

[PATCH v4] mfd: max77693: Add muic of_compatible in mfd_cell

2017-08-22 Thread Maciej Purski
This patch adds muic of_compatible in order to use the muic device driver in device tree. Signed-off-by: Maciej Purski --- v2: - added muic to documentation v3: - removed duplication v4: - fixed commit message Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++ drivers/mfd/max77693.c

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

2017-08-22 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 --- Changes according to Rob Herring's review. .../bindings/display/rockchip/rockchip-lvds.tx

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

2017-08-22 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 v7 2/3] ARM: dts: Add LVDS info for rk3288

2017-08-22 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 --- arch/arm/boot/dts/rk3288.dtsi | 52 +++ 1 file changed, 52 inser

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

2017-08-22 Thread Sandy Huang
this patches add support Rockchip RK3288 LVDS support, based on patches from Mark yao[0] and Heiko Stuebner[1]. [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_

[PATCH] usb: reducing an usb-port auto-resume latency.

2017-08-22 Thread anshuman . gupta
From: Anshuman Gupta This patch will improve the variable auto-resume latency of an usb-port. When xhci gets a port status change event interrupt due to PORT_PLC (port link state transition), linux Host controller driver drives the resume signalling on the bus for the amount of time defined by U

[PATCH 2/2] clk: Add Aspeed G5 clock driver

2017-08-22 Thread Joel Stanley
This driver supports the ast2500 and derivative BMC SoCs from Aspeed. All of the important clocks are supported, with most non-essential ones also implemented where information is available. I am working with Aspeed to clear up some of the missing information, including the missing parent-sibling

Re: [PATCH] thermal/drivers/hisi: Remove confusing error message

2017-08-22 Thread Leo Yan
On Tue, Aug 22, 2017 at 10:25:07AM +0200, Daniel Lezcano wrote: > On 22/08/2017 10:04, Leo Yan wrote: > > Hi Daniel, > > > > On Mon, Aug 21, 2017 at 12:06:17PM +0200, Daniel Lezcano wrote: > > > > [...] > > > >> Hi Leo, > >> > >> a cleanest solution would be either: > >> > >> - add the 3 missin

Re: [RFC v1 0/4] ipmi_bmc: framework for IPMI on BMCs

2017-08-22 Thread Brendan Higgins
On Mon, Aug 14, 2017 at 3:28 PM, Brendan Higgins wrote: > On Mon, Aug 14, 2017 at 7:03 PM, Patrick Williams wrote: >> On Mon, Aug 07, 2017 at 08:52:57PM -0700, Brendan Higgins wrote: >>> Currently, OpenBMC handles all IPMI message routing and handling in >>> userland; >>> the existing drivers si

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Wed, Aug 23, 2017 at 11:31:18AM +0900, Byungchul Park wrote: > > > IIUC, that's a problem because XFS does this all over the place. > > > Let me pull the trace apart in reverse order to explain why XFS is > > > going to throw endless false positives on this: > > > > Yeah, and I agree that's not

[PATCH 1/2] dt-bindings: aspeed-scu: Add clock and reset properties

2017-08-22 Thread Joel Stanley
Signed-off-by: Joel Stanley --- Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt index 4fc5b83726d6..ce8cf0ec6279 100644 --- a

[lkp-robot] [Input] 2ebdfecef5: BUG:KASAN:global-out-of-bounds

2017-08-22 Thread kernel test robot
FYI, we noticed the following commit: commit: 2ebdfecef50840a9c6fd6a2236a1bdf2942dc1a7 ("Input: axp20x-pek - use driver_data of platform_device_id instead of extended attributes") https://git.kernel.org/cgit/linux/kernel/git/dtor/input.git next in testcase: boot on test machine: qemu-system-x8

Re: Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-22 Thread Paul Mackerras
On Wed, Aug 23, 2017 at 01:43:08AM +, Nixiaoming wrote: > >On 22.08.2017 17:15, David Hildenbrand wrote: > >> On 22.08.2017 16:28, nixiaoming wrote: > >>> miss kfree(stt) when anon_inode_getfd return fail so add check > >>> anon_inode_getfd return val, and kfree stt > >>> > >>> Signed-off-by:

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Wed, Aug 23, 2017 at 11:12:17AM +0900, Byungchul Park wrote: > > > We have to detect dependecies if it exists, even in the following case: > > > > > > oooiii. > > > |<- range for commit ->| > > > > > > where > > > o: acquisition outside of each work, > > > i

Re: linux-next: build warning after merge of the sound-asoc tree

2017-08-22 Thread Takashi Iwai
On Wed, 23 Aug 2017 04:20:07 +0200, Stephen Rothwell wrote: > > Hi all, > > After merging the sound-asoc tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > sound/soc/tegra/tegra_wm8903.c: In function 'tegra_wm8903_remove': > sound/soc/tegra/tegra_wm8903.c:206:23

[PATCH] drm/amdgpu: check memory allocation failure

2017-08-22 Thread Christophe JAILLET
Check memory allocation failure and return -ENOMEM in such a case. 'num_post_dep_syncobjs' still has to be set to 0 before the test in order to have it initialized if 'amdgpu_cs_parser_fini()' is called to free resources. The calling graph would be, in such a case! failure in amdgpu_cs_process

Re: [PATCH v2 1/2] fault-inject: Restore support for task-independent fault injection

2017-08-22 Thread Dmitry Vyukov
On Wed, Aug 23, 2017 at 2:10 AM, Akinobu Mita wrote: > 2017-08-23 8:00 GMT+09:00 Bart Van Assche : >> Certain faults should be injected independent of the context >> in which these occur. Commit e41d58185f14 made it impossible to >> inject faults independent of their context. Restore support for >

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Sergey Senozhatsky
On (08/23/17 13:35), Boqun Feng wrote: > > KERN_CONT and "\n" should not be together. "\n" flushes the cont > > buffer immediately. > > > > Hmm.. Not quite familiar with printk() stuffs, but I could see several > usages of printk(KERN_CONT "...\n") in kernel. > > Did a bit research myself, and I

Re: [PATCH 3/3] ARM: dts: sun8i: Add board dts file for Banana Pi M2 Berry

2017-08-22 Thread Icenowy Zheng
于 2017年8月23日 GMT+08:00 上午4:12:15, Maxime Ripard 写到: >On Tue, Aug 22, 2017 at 02:17:42PM +0800, Icenowy Zheng wrote: >> +®_vcc5v0 { >> +gpio = <&pio 7 23 GPIO_ACTIVE_HIGH>; /* PH23 */ >> +enable-active-high; >> +}; > >Same thing here, you're not using that regulator anywhere. You don't >

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Sergey Senozhatsky
On (08/23/17 13:35), Boqun Feng wrote: [..] > > > printk(KERN_CONT ");\n"); > > > > KERN_CONT and "\n" should not be together. "\n" flushes the cont > > buffer immediately. > > > > Hmm.. Not quite familiar with printk() stuffs, but I could see several > usages of printk(KERN_CONT "...\

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Byungchul Park
On Wed, Aug 23, 2017 at 12:38:13PM +0800, Boqun Feng wrote: > From: Boqun Feng > Date: Wed, 23 Aug 2017 12:12:16 +0800 > Subject: [PATCH] lockdep: Print proper scenario if cross deadlock detected at > acquisition time > > For a potential deadlock about CROSSRELEASE as follow: > > P1

[PATCH v3 3/5] dt-bindings: sdhci-omap: Add bindings for the sdhci-omap controller

2017-08-22 Thread Kishon Vijay Abraham I
Add binding for the TI's sdhci-omap controller. This now includes only a subset of properties documented in ti-omap-hsmmc.txt but will eventually include all the properties. Signed-off-by: Kishon Vijay Abraham I --- Changes from v2: *) Fixed example to use the updated compatible Changes from v1:

Re: linux-next: manual merge of the net-next tree with the net tree

2017-08-22 Thread Ido Schimmel
On Wed, Aug 23, 2017 at 11:31:05AM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > net/ipv6/ip6_fib.c > > between commit: > > c5cff8561d2d ("ipv6: add rcu grace period before freeing fib6_node") > > from the net tree and com

Re: [PATCH 1/2] staging: android: ion: Remove extra line (checkpatch)

2017-08-22 Thread Greg KH
On Tue, Aug 22, 2017 at 10:55:36PM -0400, Nick Fox wrote: > Remove extra blank line (reported by checkpatch.pl) > > Signed-off-by: Nick Fox > --- > drivers/staging/android/ion/ion_cma_heap.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/android/ion/ion_cma_heap.c > b/

Re: [PATCH] staging: fsl-mc: be consistent when checking strcmp() returns

2017-08-22 Thread Greg KH
On Tue, Aug 22, 2017 at 07:33:45PM -0700, Joe Perches wrote: > On Tue, 2017-08-22 at 18:40 -0700, Greg KH wrote: > > On Thu, Aug 17, 2017 at 02:55:04PM +0300, laurentiu.tu...@nxp.com wrote: > > > From: Laurentiu Tudor > > > > > > Throughout the driver we use == 0 / != 0 to check strcmp() returns

[PATCH] rtc: ds1307: add basic support for ds1341 chip

2017-08-22 Thread Nikita Yushchenko
This adds support for reading and writing date/time from/to ds1314 chip. Other functionality (alarms, inout clock, output clock) is not added yet, because availability of that depends on chip connections. Signed-off-by: Nikita Yushchenko --- drivers/rtc/Kconfig | 10 +- drivers/rtc

Re: [PATCH 2/2] staging: android: ion: Change argument to kmalloc (checkpatch)

2017-08-22 Thread Greg KH
On Tue, Aug 22, 2017 at 10:55:37PM -0400, Nick Fox wrote: > Change argument to kmalloc() to fix style issue, reported by checkpatch > > Signed-off-by: Nick Fox > --- > drivers/staging/android/ion/ion_cma_heap.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/sta

Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread Greg KH
On Tue, Aug 22, 2017 at 08:14:10PM -0700, John Stultz wrote: > On Tue, Aug 22, 2017 at 8:01 PM, Jisheng Zhang wrote: > > On Tue, 22 Aug 2017 19:57:04 -0700 John Stultz wrote: > > > >> On Tue, Aug 22, 2017 at 7:56 PM, John Stultz > >> wrote: > >> > On Tue, Aug 22, 2017 at 7:34 PM, Jisheng Zhang

Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread Greg KH
On Wed, Aug 23, 2017 at 10:34:20AM +0800, Jisheng Zhang wrote: > On Tue, 22 Aug 2017 18:51:08 -0700 Greg KH wrote: > > > On Tue, Aug 08, 2017 at 07:03:05PM +0800, Jisheng Zhang wrote: > > > As noted in commit d0bdff0db809 ("staging: Fix build issues with new > > > binder API"), we can add back the

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Boqun Feng
On Wed, Aug 23, 2017 at 01:46:48PM +0900, Sergey Senozhatsky wrote: > On (08/23/17 12:38), Boqun Feng wrote: > [..] > > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > > index 642fb5362507..a3709e15f609 100644 > > --- a/kernel/locking/lockdep.c > > +++ b/kernel/locking/lockdep.c

Re: [PATCH] staging: olpc_dcon: Change fixed function names with "%s: ", __func__

2017-08-22 Thread Greg Kroah-Hartman
On Wed, Aug 23, 2017 at 01:06:52PM +0800, Shurong Zhang wrote: > Replace hard-coded function names in strings with "%s", __func__ > in the olpc_dcon.c file. Issue found by checkpatch.pl. What is up with the odd indentation? And why did you send this twice? Which patch should I use? I'll jus

RE: [PATCH v2 1/6] fsl/fman: enable FMan Keygen

2017-08-22 Thread Madalin-cristian Bucur
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, August 23, 2017 7:47 AM > To: Madalin-cristian Bucur > Cc: net...@vger.kernel.org; linuxppc-...@lists.ozlabs.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH v2 1/6] fsl/fman: enable FMan Ke

Re: [PATCH] ALSA: core: Use common error handling code in two functions

2017-08-22 Thread Takashi Iwai
On Tue, 22 Aug 2017 21:12:02 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Tue, 22 Aug 2017 21:01:01 +0200 > > Add jump targets so that a bit of exception handling can be better reused > at the end of these functions. > > This issue was detected by using the Coccinelle softwa

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Boqun Feng
t Van Assche wrote: > > > > On Tue, 2017-08-22 at 19:47 +0900, Sergey Senozhatsky wrote: > > > > > == > > > > > WARNING: possible circular locking dependency detected > > > > &

Re: Fwd: struct pt_regs missing in /usr/include/ tree for eBPF program compile

2017-08-22 Thread Alexei Starovoitov
On Mon, Aug 14, 2017 at 02:08:07PM +0200, Heiko Carstens wrote: > > Now, I would like to avoid going down that road to pull > > in kernel internal headers into test_verifier.c, could > > we instead add a bpf_ptregs.h helper in tools/testing/selftests/bpf/, > > where s390 and arm64 would put a defin

[PATCH V12 2/5] PCI: add pci_bus_crs_visibility_pending() function to detect CRS response

2017-08-22 Thread Sinan Kaya
We need a wrapper function to determine when a particular device is returning Configuration Request Retry Status (CRS) response. This will only happen if the root port supports CRS visibility. Signed-off-by: Sinan Kaya --- drivers/pci/pci.h | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH V12 4/5] PCI: Handle CRS ("device not ready") returned by device after FLR

2017-08-22 Thread Sinan Kaya
Sporadic reset issues have been observed with Intel 750 NVMe drive while assigning the physical function to the guest machine. The sequence of events observed is as follows: - perform a Function Level Reset (FLR) - sleep up to 1000ms total - read ~0 from PCI_COMMAND - warn that the device

[PATCH V12 1/5] PCI: Don't ignore valid response before CRS timeout

2017-08-22 Thread Sinan Kaya
From: Bjorn Helgaas While waiting for a device to become ready (i.e., to return a non-CRS completion to a read of its Vendor ID), if we got a valid response to the very last read before timing out, we printed a warning and gave up on the device even though it was actually ready. For a typical 60

[PATCH V12 5/5] PCI: Warn periodically while waiting for device to become ready

2017-08-22 Thread Sinan Kaya
Add a print statement in pci_bus_wait_crs() so that user observes the progress of device polling instead of silently waiting for timeout to be reached. Signed-off-by: Sinan Kaya [bhelgaas: check for timeout first so we don't print "waiting, giving up", always print time we've slept (not the actua

[PATCH V12 3/5] PCI: Factor out pci_bus_wait_crs()

2017-08-22 Thread Sinan Kaya
Configuration Request Retry Status (CRS) was previously hidden inside pci_bus_read_dev_vendor_id(). We want to add support for CRS in other situations, such as waiting for a device to become ready after a Function Level Reset. Move CRS handling into pci_bus_wait_crs() so it can be called from oth

Re: [PATCH 0/2] Separate NUMA statistics from zone statistics

2017-08-22 Thread Dave Hansen
On 08/22/2017 06:14 PM, kemi wrote: > when performance is not important and when you want all tooling to work, you > set: > > sysctl vm.strict_stats=1 > > but if you can tolerate some possible tool breakage and some decreased > counter precision, you can do: > > sysctl vm.strict_sta

[PATCH v2 net-next 1/1] hv_sock: implements Hyper-V transport for Virtual Sockets (AF_VSOCK)

2017-08-22 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It uses VMBus ringbuffer as the transportation layer. With hv_sock, applications between the host (Windows 10, Windows Server 2016 or newer) and the guest can talk with each other using

Re: [PATCH v4] iio: accel: mma8452: improvements to handle multiple events

2017-08-22 Thread Martin Kepplinger
Am 23.08.2017 02:29 schrieb Harinath Nampally: If rising: use transient OR ff_mt device-dependent like before. But now save it in a simple flag, whether transient registers are available. Ok, is it good idea to add the flag to struct mma_chip_info like below? * @mma_scales:

Re: ext4 bug fixes for 4.13

2017-08-22 Thread Linus Torvalds
On Tue, Aug 22, 2017 at 9:16 PM, Theodore Ts'o wrote: > > Theodore Ts'o (1): > ext4: fix clang build regression Tssk. The authorship attribution here looks wrong, and the authorship (Arnd) ended up being in the commit log rather than the author field. Please be more careful when applying p

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Sergey Senozhatsky
On (08/23/17 12:38), Boqun Feng wrote: [..] > diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c > index 642fb5362507..a3709e15f609 100644 > --- a/kernel/locking/lockdep.c > +++ b/kernel/locking/lockdep.c > @@ -1156,6 +1156,23 @@ print_circular_lock_scenario(struct held_lock *src, >

Re: [PATCH v2 1/6] fsl/fman: enable FMan Keygen

2017-08-22 Thread David Miller
From: Madalin-cristian Bucur Date: Wed, 23 Aug 2017 04:36:56 + > The struct fman is only visible in the fman file, the fman port > module uses struct fman as an opaque pointer, thus this export. Don't use that programming model. Export the datastructure properly to it's users. This abstrac

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Byungchul Park
Sergey Senozhatsky wrote: > > > > == > > > > WARNING: possible circular locking dependency detected > > > > 4.13.0-rc6-next-20170822-dbg-00020-g39758ed8aae0-dirty #1746 Not tainted > > > > --

Re: [PATCH 13/18] rpmsg: glink: Add rx done command

2017-08-22 Thread Arun Kumar Neelakantam
On 8/22/2017 7:46 PM, Sricharan R wrote: Hi, +    /* Take it off the tree of receive intents */ +    if (!intent->reuse) { +    spin_lock(&channel->intent_lock); +    idr_remove(&channel->liids, intent->id); +    spin_unlock(&channel->intent_lock); +    } + +    /* Schedule the sen

Re: [PATCH v11 2/4] PCI: Factor out pci_bus_wait_crs()

2017-08-22 Thread Sinan Kaya
On 8/21/2017 3:37 PM, Sinan Kaya wrote: > bool pci_bus_crs_pending(struct pci_dev *dev, u32 l) > { > if !pci_bus_crs_vis_supported(dev->parent) > return false; Apparently, I can't do this. By the time, we come to here from vendor id read function, the topology has not been set

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Boqun Feng
Sergey Senozhatsky wrote: > > > > == > > > > WARNING: possible circular locking dependency detected > > > > 4.13.0-rc6-next-20170822-dbg-00020-g39758ed8aae0-dirty #1746 Not tainted > > > > --

RE: [PATCH v2 1/6] fsl/fman: enable FMan Keygen

2017-08-22 Thread Madalin-cristian Bucur
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of David Miller > Sent: Wednesday, August 23, 2017 12:35 AM > Subject: Re: [PATCH v2 1/6] fsl/fman: enable FMan Keygen > > From: Madalin Bucur > Date: Tue, 22 Aug 2017 20:31:01 +030

Re: [PATCH v2 0/2] enable hires timer to timeout datagram socket

2017-08-22 Thread David Miller
From: Vallish Vaidyeshwara Date: Wed, 23 Aug 2017 00:10:25 + > I am submitting 2 patch series to enable hires timer to timeout > datagram sockets (AF_UNIX & AF_INET domain) and test code to test > timeout accuracy on these sockets. This is not reasonable. If you want high resolution events

[PATCH v4 3/4] mmc: sdhci: enable/disable the clock in sdhci_pltfm_suspend/resume

2017-08-22 Thread Masahiro Yamada
This commit provides similar cleanups as commit 83eacdfa2529 ("mmc: sdhci: disable the clock in sdhci_pltfm_unregister()") did for unregister hooks. sdhci-brcmstb.c and sdhci-sirf.c implement their own suspend/resume hooks to handle pltfm_host->clk. Move clock handling to sdhci_pltfm.c so that th

RE: [PATCH] vsock: only load vmci transport on VMware hypervisor by default

2017-08-22 Thread Dexuan Cui
> From: Jorgen S. Hansen [mailto:jhan...@vmware.com] > > On Aug 22, 2017, at 11:54 AM, Stefan Hajnoczi > wrote: > > ... > > We *can* by looking at the destination CID. Please take a look at > > drivers/misc/vmw_vmci/vmci_route.c:vmci_route() to see how VMCI > handles > > nested virt. > > > > It b

RE: [PATCH v3 1/4] ACPI / EC: Cleanup EC GPE mask flag

2017-08-22 Thread Zheng, Lv
Hi, > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH v3 1/4] ACPI / EC: Cleanup EC GPE mask flag > > On Friday, August 11, 2017 8:36:28 AM CEST Lv Zheng wrote: > > EC_FLAGS_COMMAND_STORM is actually used to mask GPE during IRQ processing. > > This patch cleans it up usi

[PATCH v4 2/4] mmc: sdhci-pxav2: switch to managed clk and sdhci_pltfm_unregister()

2017-08-22 Thread Masahiro Yamada
The difference between sdhci_pxav2_remove() and sdhci_pltfm_unregister() is clk_put(). It will go away by using the managed resource clk, then sdhci_pltfm_unregister() can be reused. Also, rename the jump labels to say what the goto does. (Coding style suggested by Documentation/process/coding-st

[PATCH v4 1/4] mmc: sdhci-cadence: add suspend / resume support

2017-08-22 Thread Masahiro Yamada
Currently, the probe function initializes the PHY, but PHY settings are lost during the sleep state. Restore the PHY registers when resuming. To facilitate this, split sdhci_cdns_phy_init() into the DT parse part and PHY update part so that the latter can be invoked from the resume hook. Signed-

[PATCH v4 0/4] mmc: sdhci: refactor PM in sdhci-pltfm add support PM for cadence port

2017-08-22 Thread Masahiro Yamada
[1] implements suspend / resume for sdhci-cadence.c [2] refactor sdhci-pxav2 [3] add clk handling for suspend/resume hooks of sdhci-pltfm. This also cleans up sdhci-brcmstb.c and sdhci-sirf.c [4] export sdhci_pltfm_suspend/resume to reduce code duplication Masahiro Yamada (4): mmc: sdhc

[PATCH v4 4/4] mmc: sdhci-pltfm: export sdhci_pltfm_suspend/resume

2017-08-22 Thread Masahiro Yamada
This will be useful when drivers want to reuse either suspend or resume callback instead of whole of sdhci_pltfm_pmops. Signed-off-by: Masahiro Yamada --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/mmc/host/sdhci-cadence.c | 20 +--- drivers/mmc/host/sd

ext4 bug fixes for 4.13

2017-08-22 Thread Theodore Ts'o
The following changes since commit aae4e7a8bc44722fe70d58920a36916b1043195e: Linux 4.13-rc4 (2017-08-06 18:44:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you to fetch changes up to 32aaf194201

Re: [PATCH] drivers: net: wireless: atmel: check memory allocation failure

2017-08-22 Thread Kalle Valo
Himanshu Jha writes: > Check memory allocation failure and return -ENOMEM if failure > occurs. > > Signed-off-by: Himanshu Jha The title prefix is wrong: https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches#commit_title_is_wrong -- Kalle Valo

Re: [PATCH v12 7/8] wireless: ipw2200: Replace PCI pool old API

2017-08-22 Thread Kalle Valo
+ linux-wireless Stanislav Yakovlev writes: > On 22 August 2017 at 07:47, Romain Perier wrote: >> The PCI pool API is deprecated. This commit replaces the PCI pool old >> API by the appropriate function with the DMA pool API. >> >> Signed-off-by: Romain Perier >> Reviewed-by: Peter Senna Tschu

Re: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation

2017-08-22 Thread Chao Fan
On Wed, Aug 23, 2017 at 03:43:33AM +, Zheng, Lv wrote: >Hi, > >> From: linux-acpi-ow...@vger.kernel.org >> [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Chao Fan >> Subject: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation >> >> The indentation of these two lines

Re: [1/2] cpufreq: dt-platdev: Automatically create cpufreq device with OPP v2

2017-08-22 Thread Masahiro Yamada
2017-08-21 22:17 GMT+09:00 Simon Horman : > On Wed, Aug 16, 2017 at 11:07:27AM +0530, Viresh Kumar wrote: >> The initial idea of creating the cpufreq-dt-platdev.c file was to keep a >> list of platforms that use the "operating-points" (V1) bindings and >> create cpufreq device for them only, as we

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Boqun Feng
> > WARNING: possible circular locking dependency detected > > > 4.13.0-rc6-next-20170822-dbg-00020-g39758ed8aae0-dirty #1746 Not tainted > > > -- > > > fsck.ext4/148 is trying to acquire lock: > >

[PATCH][v3] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-22 Thread Chen Yu
There is a problem that when counting the pages for creating the hibernation snapshot will take significant amount of time, especially on system with large memory. Since the counting job is performed with irq disabled, this might lead to NMI lockup. The following warning were found on a system with

Re: [PATCH][v2] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-22 Thread Chen Yu
On Tue, Aug 22, 2017 at 02:55:39PM +0200, Rafael J. Wysocki wrote: > On Tuesday, August 22, 2017 5:20:02 AM CEST Chen Yu wrote: > > There is a problem that when counting the pages for creating > > the hibernation snapshot will take significant amount of > > time, especially on system with large mem

RE: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation

2017-08-22 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Chao Fan > Subject: [PATCH] actbl1.h: use tab instead of seven spaces as the indentation > > The indentation of these two lines is seven spaces, but not tab. > So fix it. > > Signed-off-by: Cha

Re: [v2] timers: Fix excessive granularity of new timers after a nohz idle

2017-08-22 Thread Stephen Rothwell
Hi jeffy, On Wed, 23 Aug 2017 11:21:40 +0800 jeffy wrote: > > I was testing a arm64 based device(chromebook bob), and the kernel hang > a lot(during booting or suspending) on for-next(next-20170822) with this > commit: > 71acb768f5b3 (timers: Fix excessive granularity of new

Re: [PATCH 2/2] cpufreq: dt-platdev: Drop few entries from whitelist

2017-08-22 Thread Masahiro Yamada
Hi Viresh, 2017-08-16 14:37 GMT+09:00 Viresh Kumar : > Drop few ARM (32 and 64 bit) platforms from the whitelist which always > use "operating-points-v2" property from their DT. They should continue > to work after this patch. > > Tested on Hikey platform (only the "hisilicon,hi6220" entry). > >

Re: [PATCH] block: Fix warning when I/O elevator is changed as request_queue is being removed

2017-08-22 Thread Ming Lei
On Wed, Aug 9, 2017 at 9:44 AM, Ming Lei wrote: > Hi David, > > On Wed, Aug 9, 2017 at 2:13 AM, David Jeffery wrote: >> On 08/07/2017 07:53 PM, Ming Lei wrote: >>> On Tue, Aug 8, 2017 at 3:38 AM, David Jeffery wrote: >> Signed-off-by: David Jeffery --- block/blk-sysfs.c |

Re: [v2] timers: Fix excessive granularity of new timers after a nohz idle

2017-08-22 Thread jeffy
Hi guys, I was testing a arm64 based device(chromebook bob), and the kernel hang a lot(during booting or suspending) on for-next(next-20170822) with this commit: 71acb768f5b3 (timers: Fix excessive granularity of new timers after a nohz idle) After revert it(or just add "!base->

Re: [PATCH V10 2/3] PCI: handle CRS returned by device after FLR

2017-08-22 Thread Sinan Kaya
On 8/21/2017 2:00 PM, Bjorn Helgaas wrote: > On Mon, Aug 21, 2017 at 09:44:09AM -0400, Sinan Kaya wrote: >> Hi Bjorn, >> >> On 8/18/2017 5:01 PM, Bjorn Helgaas wrote: > > It would still be interesting to see the lspci output. Likely in the upstream bridge will be set even before the FLR because

Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread John Stultz
On Tue, Aug 22, 2017 at 8:01 PM, Jisheng Zhang wrote: > On Tue, 22 Aug 2017 19:57:04 -0700 John Stultz wrote: > >> On Tue, Aug 22, 2017 at 7:56 PM, John Stultz wrote: >> > On Tue, Aug 22, 2017 at 7:34 PM, Jisheng Zhang wrote: >> >> On Tue, 22 Aug 2017 18:51:08 -0700 Greg KH wrote: >> >> >> >>> O

Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread Jisheng Zhang
On Tue, 22 Aug 2017 19:57:04 -0700 John Stultz wrote: > On Tue, Aug 22, 2017 at 7:56 PM, John Stultz wrote: > > On Tue, Aug 22, 2017 at 7:34 PM, Jisheng Zhang wrote: > > > >> On Tue, 22 Aug 2017 18:51:08 -0700 Greg KH wrote: > >> > >>> On Tue, Aug 08, 2017 at 07:03:05PM +0800, Jisheng Zhang

Re: [PATCH v4 net-next] arm: eBPF JIT compiler

2017-08-22 Thread Shubham Bansal
Hi David, On Tue, Aug 22, 2017 at 10:02 PM, David Miller wrote: > > You posted this 4 times. :-( > > I hope I applied the right one. All 4 of these are the same patch. I mistakenly sent it 4 times. My apologies for that. > > Go check net-next and please send me any necessary fix up patches. I ju

Re: [EXT] Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread Jisheng Zhang
On Tue, 22 Aug 2017 19:56:07 -0700 John Stultz wrote: > External Email > > -- > On Tue, Aug 22, 2017 at 7:34 PM, Jisheng Zhang wrote: > > On Tue, 22 Aug 2017 18:51:08 -0700 Greg KH wrote: > > > >> On Tue, Aug 08, 2017 at 07:0

Re: possible circular locking dependency detected [was: linux-next: Tree for Aug 22]

2017-08-22 Thread Byungchul Park
On Wed, Aug 23, 2017 at 11:36:49AM +0900, Sergey Senozhatsky wrote: > On (08/23/17 09:03), Byungchul Park wrote: > [..] > > aha, ok > > > The report is talking about the following lockup: > > > > A work in a worker A task work on exit to user > > --

Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread John Stultz
On Tue, Aug 22, 2017 at 7:56 PM, John Stultz wrote: > On Tue, Aug 22, 2017 at 7:34 PM, Jisheng Zhang wrote: >> On Tue, 22 Aug 2017 18:51:08 -0700 Greg KH wrote: >> >>> On Tue, Aug 08, 2017 at 07:03:05PM +0800, Jisheng Zhang wrote: >>> > As noted in commit d0bdff0db809 ("staging: Fix build issues

[PATCH 2/2] staging: android: ion: Change argument to kmalloc (checkpatch)

2017-08-22 Thread Nick Fox
Change argument to kmalloc() to fix style issue, reported by checkpatch Signed-off-by: Nick Fox --- drivers/staging/android/ion/ion_cma_heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion/ion_cma_hea

Re: [PATCH] binder: let ANDROID_BINDER_IPC_32BIT be selectable on 32bit ARM

2017-08-22 Thread John Stultz
On Tue, Aug 22, 2017 at 7:34 PM, Jisheng Zhang wrote: > On Tue, 22 Aug 2017 18:51:08 -0700 Greg KH wrote: > >> On Tue, Aug 08, 2017 at 07:03:05PM +0800, Jisheng Zhang wrote: >> > As noted in commit d0bdff0db809 ("staging: Fix build issues with new >> > binder API"), we can add back the choice for

[PATCH 1/2] staging: android: ion: Remove extra line (checkpatch)

2017-08-22 Thread Nick Fox
Remove extra blank line (reported by checkpatch.pl) Signed-off-by: Nick Fox --- drivers/staging/android/ion/ion_cma_heap.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/android/ion/ion_cma_heap.c b/drivers/staging/android/ion/ion_cma_heap.c index a0949bc0dcf4..b06f4cee9c7c

Re: Do we really need d_weak_revalidate???

2017-08-22 Thread Ian Kent
On 23/08/17 10:40, Ian Kent wrote: > On 23/08/17 10:32, Ian Kent wrote: >> On 23/08/17 09:06, NeilBrown wrote: >>> On Mon, Aug 21 2017, Ian Kent wrote: >>> > > A mount isn't triggered by kern_path(pathname, 0, &path). > That '0' would need to include one of > LOOKUP_PARENT | LOOKU

Re: [PATCH net-next v7 02/10] bpf: Add eBPF program subtype and is_valid_subtype() verifier

2017-08-22 Thread Alexei Starovoitov
On Mon, Aug 21, 2017 at 02:09:25AM +0200, Mickaël Salaün wrote: > The goal of the program subtype is to be able to have different static > fine-grained verifications for a unique program type. > > The struct bpf_verifier_ops gets a new optional function: > is_valid_subtype(). This new verifier is

Re: [PATCH v3 1/3] lockdep: Make LOCKDEP_CROSSRELEASE configs all part of PROVE_LOCKING

2017-08-22 Thread Byungchul Park
On Tue, Aug 22, 2017 at 03:49:22PM +0200, Peter Zijlstra wrote: > On Tue, Aug 22, 2017 at 12:08:40PM +0200, Peter Zijlstra wrote: > > > > > > I meant: > > > > > > > > > > mutex_lock(&A) > > > > > > > > > > lockdep_map_acquire_read

  1   2   3   4   5   6   7   8   9   10   >