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

2017-08-23 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

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

2017-08-23 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:

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 Thread Michal Hocko
On Wed 23-08-17 11:44:39, Chen Yu wrote: > 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: [...] > > > void mark_free_pages(struct zone *zone) > > > { > > > - unsigned long pfn, max_zone_pfn; > > > + unsigned long

Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()

2017-08-23 Thread Linus Walleij
On Fri, Aug 18, 2017 at 12:32 PM, Dan Carpenter wrote: > The rza1_pctl->ports[] array has RZA1_NPORTS (12) elements. The > here > should be >= to prevent an out of bounds access. > > Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller") >

[PATCH] doc: coresight: correct usage for '/dev/cpu_dma_latency'

2017-08-23 Thread Leo Yan
In the coresight CPU debug document it suggests to use 'echo' command to set latency request to /dev/cpu_dma_latency so can disable all CPU idle states, but in fact this doesn't work. This is because when the command 'echo' exits, it releases the device node's file descriptor and the kernel

Re: [PATCH v2 5/5] arm64: dts: add Haikou baseboard with RK3399-Q7 SoM

2017-08-23 Thread Heiko Stuebner
Am Freitag, 18. August 2017, 21:34:45 CEST schrieb Klaus Goger: > Haikou is a Qseven and μQseven baseboard featuring PCIe, USB3 and a > video connector for MIPI-DSI/CSI and eDP adapter. > > This dts is for usage with the RK3399-Q7 SoM Puma. > > Signed-off-by: Klaus Goger

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

2017-08-23 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() > > > > > >

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

2017-08-23 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 ++

[GIT PULL] SCSI fixes for 4.13-rc6

2017-08-23 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:

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

2017-08-23 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

Re: [PATCH v2] KVM: nVMX: Fix trying to cancel vmlauch/vmresume

2017-08-23 Thread Paolo Bonzini
On 21/08/2017 18:20, Radim Krčmář wrote: > 2017-08-18 07:11-0700, Wanpeng Li: >> From: Wanpeng Li >> >> [ cut here ] >> WARNING: CPU: 7 PID: 3861 at /home/kernel/ssd/kvm/arch/x86/kvm//vmx.c:11299 >> nested_vmx_vmexit+0x176e/0x1980 [kvm_intel] >>

Re: [PATCH v3] KVM: nVMX: Fix trying to cancel vmlauch/vmresume

2017-08-23 Thread Paolo Bonzini
On 22/08/2017 23:57, Wanpeng Li wrote: > 2017-08-23 0:09 GMT+08:00 Paolo Bonzini : >> On 22/08/2017 01:08, Wanpeng Li wrote: >>> From: Wanpeng Li >>> >>> [ cut here ] >>> WARNING: CPU: 7 PID: 3861 at

Re: [PATCH v2] gpio: add gpio_add_lookup_tables() to add several tables at once

2017-08-23 Thread Linus Walleij
On Tue, Aug 15, 2017 at 6:59 AM, Dmitry Torokhov wrote: > When converting legacy board to use gpiod API() there might be several > lookup tables in board file, let's provide a way to register them all at > once. > > Reviewed-by: Andy Shevchenko

Re: [PATCH v2 5/8] KVM: arm/arm64: vgic: Handle mapped level sensitive SPIs

2017-08-23 Thread Auger Eric
Hi Marc, On 04/07/2017 14:15, Marc Zyngier wrote: > Hi Eric, > > On 15/06/17 13:52, Eric Auger wrote: >> Currently, the line level of unmapped level sensitive SPIs is >> toggled down by the maintenance IRQ handler/resamplefd mechanism. >> >> As mapped SPI completion is not trapped, we cannot

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

2017-08-23 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:

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

2017-08-23 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

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

2017-08-23 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 ---

[stable 4.4 0/2] missing mei device ids

2017-08-23 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

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

2017-08-23 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.

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

2017-08-23 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

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

2017-08-23 Thread Thomas Gleixner
On Wed, 23 Aug 2017, jeffy wrote: > 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) > >

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

2017-08-23 Thread jeffy
Hi Thomas, On 08/23/2017 03:01 PM, Thomas Gleixner wrote: On Wed, 23 Aug 2017, jeffy wrote: 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

Re: [PATCH V8 net-next 00/22] Huawei HiNIC Ethernet Driver

2017-08-23 Thread Arnd Bergmann
On Mon, Aug 21, 2017 at 5:55 PM, Aviad Krawczyk wrote: > The patch-set contains the support of the HiNIC Ethernet driver for > hinic family of PCIE Network Interface Cards. > > The Huawei's PCIE HiNIC card is a new Ethernet card and hence there was > a need of a new

[BUGFIX PATCH] staging: ccree: save ciphertext for CTS IV

2017-08-23 Thread Gilad Ben-Yossef
The crypto API requires saving the last blocks of ciphertext in req->info for use as IV for CTS mode. The ccree driver was not doing this. This patch fixes that. The bug was manifested with cts(cbc(aes)) mode in tcrypt tests. Fixes: 302ef8ebb4b2 ("Add CryptoCell skcipher support") Signed-off-by:

[PATCH] drm/amdgpu: check memory allocation failure

2017-08-23 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

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

2017-08-23 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, > > >

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

2017-08-23 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': >

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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

linux-next: Tree for Aug 23

2017-08-23 Thread Stephen Rothwell
Hi all, Changes since 20170822: The net-next tree still had its build failure for which I reverted a commit. It also gained a conflict against the net tree. The slave-dma tree lost its build failure. Non-merge commits (relative to Linus' tree): 8264 8196 files changed, 453593 insertions(+),

Re: [PATCH v2] KVM: nVMX: Fix trying to cancel vmlauch/vmresume

2017-08-23 Thread Wanpeng Li
2017-08-23 15:13 GMT+08:00 Paolo Bonzini : > On 21/08/2017 18:20, Radim Krčmář wrote: >> 2017-08-18 07:11-0700, Wanpeng Li: >>> From: Wanpeng Li >>> >>> [ cut here ] >>> WARNING: CPU: 7 PID: 3861 at

Re: [PATCH 0/3] add usb support for rv1108 SoCs

2017-08-23 Thread Heiko Stuebner
Am Montag, 21. August 2017, 16:39:25 CEST schrieb Frank Wang: > This serie adds USB related device nodes support for rv1108 SoCs, in addition, > Rockchip's rv1108-evb board has one usb otg controller and one usb host > controller, each controller connect with one usb-phy port through UTMI+ >

Re: [PATCH v2 3/5] dt-bindings: add rk3399-q7 SoM

2017-08-23 Thread Heiko Stuebner
Am Freitag, 18. August 2017, 21:34:43 CEST schrieb Klaus Goger: > RK3399-Q7 is a Qseven compatible system-on-module by Theobroma Systems. > > This adds the module and the EVK baseboard "Haikou" > > Signed-off-by: Klaus Goger applied for 4.14 with Rob's Ack

Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()

2017-08-23 Thread Geert Uytterhoeven
On Fri, Aug 18, 2017 at 12:32 PM, Dan Carpenter wrote: > The rza1_pctl->ports[] array has RZA1_NPORTS (12) elements. The > here > should be >= to prevent an out of bounds access. > > Fixes: 5a49b644b307 ("pinctrl: Renesas RZ/A1 pin and gpio controller") > Signed-off-by:

Re: [PATCH] pinctrl: rza1: off by one in rza1_parse_gpiochip()

2017-08-23 Thread jmondi
Hi Linus, sorry for being late. With Geert's approval I guess my ack is not that necessary, but... On Wed, Aug 23, 2017 at 09:35:42AM +0200, Geert Uytterhoeven wrote: > On Fri, Aug 18, 2017 at 12:32 PM, Dan Carpenter > wrote: > > The rza1_pctl->ports[] array has

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

2017-08-23 Thread Laurent Pinchart
Hi Hans, On Wednesday, 23 August 2017 09:52:00 EEST Hans Verkuil wrote: > 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, > > +

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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 >

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

2017-08-23 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

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

2017-08-23 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

[PATCH] docs-rst: pdf: use same vertical margin on all Sphinx versions

2017-08-23 Thread Mauro Carvalho Chehab
Currently, on Sphinx up to version 1.4, pdf output uses a vertical margin of 1 inch. For upper versions, it uses a margin of 0.5 inches. That causes both page headers and footers to be very close to the margin of the sheet. Not all printers support writing like that. Also, there's no reason why

Re: [PATCH v8 2/2] mtd: spi-nor: Add spi-nor mtd resume handler

2017-08-23 Thread Cyrille Pitchen
Hi Kamal, Le 22/08/2017 à 22:45, Kamal Dasu a écrit : > Implemented and populated spi-nor mtd PM handlers for resume ops. > spi-nor resume op re-initializes spi-nor flash to its probed > state by calling the newly implemented spi_nor_init() function. > > Signed-off-by: Kamal Dasu

Stable apply request [was: Bluetooth: bnep: fix possible might sleep error in bnep_session]

2017-08-23 Thread Jiri Slaby
On 06/27/2017, 07:32 PM, Marcel Holtmann wrote: >> It looks like bnep_session has same pattern as the issue reported in >> old rfcomm: >> >> while (1) { >> set_current_state(TASK_INTERRUPTIBLE); >> if (condition) >> break; >> // may

Re: [PATCH v2 05/19] perf, tools: Support weak groups

2017-08-23 Thread Jiri Olsa
On Tue, Aug 22, 2017 at 01:58:12PM -0700, Andi Kleen wrote: > On Tue, Aug 22, 2017 at 10:34:15AM +0200, Jiri Olsa wrote: > > On Fri, Aug 11, 2017 at 04:26:20PM -0700, Andi Kleen wrote: > > > > SNIP > > > > > diff --git a/tools/perf/Documentation/perf-list.txt > > >

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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

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

2017-08-23 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: > >

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

2017-08-23 Thread Romain Perier
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 Tschudin Acked-by: Stanislav Yakovlev

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

2017-08-23 Thread Franklin S Cooper Jr
On 08/23/2017 01:34 AM, Sekhar Nori wrote: > 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

Re: [PATCH] gpio: zevio: make gpio_chip const

2017-08-23 Thread Linus Walleij
On Sun, Aug 20, 2017 at 8:27 PM, Bhumika Goyal wrote: > Make this const as it is only used as a copy operation. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Patch applied. Yours, Linus Walleij

Re: [PATCH v2 4/5] arm64: dts: add RK3399-Q7 (Puma) SoM

2017-08-23 Thread Heiko Stuebner
Am Freitag, 18. August 2017, 21:34:44 CEST schrieb Klaus Goger: > The RK3399-Q7 SoM is a Qseven-compatible (70mm x 70mm, MXM-230 > connector) system-on-module from Theobroma Systems, featuring the > Rockchip RK3399. > > It provides the following feature set: > * up to 4GB DDR3 > * on-module

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

2017-08-23 Thread Peter Zijlstra
On Wed, Aug 23, 2017 at 09:03:04AM +0900, Byungchul Park wrote: > On Tue, Aug 22, 2017 at 09:43:56PM +, Bart Van Assche wrote: > The report is talking about the following lockup: > > A work in a worker A task work on exit to user > --

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

2017-08-23 Thread Mathias Nyman
On 23.08.2017 09:18, anshuman.gu...@intel.com wrote: 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

Re: [PATCH] trace: adjust code layout in get_recursion_context

2017-08-23 Thread Ingo Molnar
* Peter Zijlstra wrote: > diff --git a/kernel/events/internal.h b/kernel/events/internal.h > index 486fd78eb8d5..981e4163e16c 100644 > --- a/kernel/events/internal.h > +++ b/kernel/events/internal.h > @@ -206,16 +206,15 @@ static inline unsigned long perf_aux_size(struct

Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread David Hildenbrand
On 23.08.2017 08:06, Paul Mackerras wrote: > 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

[PATCH 3/6] ALSA: pcm: Adjust 11 checks for null pointers

2017-08-23 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 23 Aug 2017 09:28:00 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written … Thus

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

2017-08-23 Thread Vlastimil Babka
On 08/16/2017 01:39 AM, David Rientjes wrote: > It is pointless to migrate hugetlb memory as part of memory compaction if > the hugetlb size is equal to the pageblock order. No defragmentation is > occurring in this condition. > > It is also pointless to for the freeing scanner to scan a

[PATCH v2 1/4] media: fix pdf build with Spinx 1.6

2017-08-23 Thread Mauro Carvalho Chehab
Sphinx 1.6 generates some LaTeX code before each table, starting its own environment before calling tabulary, apparently to improve table layout. The problem is that such environment is incompatible with adjustbox. While, in thesis, it should be possible to override it or to redefine tabulary, I

[PATCH v2 4/4] docs-rst: Allow Sphinx version 1.6

2017-08-23 Thread Mauro Carvalho Chehab
Now that the PDF building issues with Sphinx 1.6 got fixed, update the documentation and scripts accordingly. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 3 --- Documentation/doc-guide/sphinx.rst | 4 +--- scripts/sphinx-pre-install

[BUGFIX PATCH v2] staging: ccree: save ciphertext for CTS IV

2017-08-23 Thread Gilad Ben-Yossef
The crypto API requires saving the last blocks of ciphertext in req->info for use as IV for CTS mode. The ccree driver was not doing this. This patch fixes that. The bug was manifested with cts(cbc(aes)) mode in tcrypt tests. Fixes: 302ef8ebb4b2 ("Add CryptoCell skcipher support") Signed-off-by:

Re: [PATCH] irqchip: Convert to using %pOF instead of full_name

2017-08-23 Thread Marc Zyngier
On 18/07/17 22:43, Rob Herring wrote: > Now that we have a custom printf format specifier, convert users of > full_name to use %pOF instead. This is preparation to remove storing > of the full path string for each node. > > Signed-off-by: Rob Herring > Cc: Thomas Gleixner

Re: [PATCH RFC] media: open.rst: document devnode-centric and mc-centric types

2017-08-23 Thread Sakari Ailus
Hi Mauro, Thanks for the patch! Something like this was long due. I cc'd Hans and Laurent to get their attention, too. On Sat, Aug 19, 2017 at 07:04:40AM -0300, Mauro Carvalho Chehab wrote: > When we added support for omap3, back in 2010, we added a new > type of V4L2 devices that aren't fully

[PATCH 0/3] constify *_ops

2017-08-23 Thread Arvind Yadav
*_ops are not supposed to change at runtime and none of the structures is modified. Arvind Yadav (3): [PATCH 1/3] net: rtlwifi: constify rate_control_ops [PATCH 2/3] net: rsi: mac80211: constify ieee80211_ops [PATCH 3/3] net: rsi: netlink: constify genl_ops

[PATCH 3/3] net: rsi: netlink: constify genl_ops

2017-08-23 Thread Arvind Yadav
genl_ops are not supposed to change at runtime. All functions working with genl_ops provided by work with const genl_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- net/tipc/netlink_compat.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/2] KVM: X86: Fix loss of exception which has not yet injected

2017-08-23 Thread Wanpeng Li
From: Wanpeng Li vmx_complete_interrupts() assumes that the exception is always injected, so it would be dropped by kvm_clear_exception_queue(). This patch separates exception.pending from exception.injected, exception.inject represents the exception is injected or the

答复: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread Nixiaoming
>On 23.08.2017 08:06, Paul Mackerras wrote: >> 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

Re: [PATCH v5 2/4] perf tools arm64: Add support for get_cpuid_str function.

2017-08-23 Thread Will Deacon
On Wed, Aug 16, 2017 at 12:40:46PM +0530, Ganapatrao Kulkarni wrote: > function get_cpuid_str returns MIDR string of the first online > cpu from the range of cpus associated with the pmu core device. > > Signed-off-by: Ganapatrao Kulkarni > --- >

[PATCH 2/3] net: dsa: lan9303: constify dsa_switch_ops

2017-08-23 Thread Arvind Yadav
dsa_switch_ops are not supposed to change at runtime. All functions working with dsa_switch_ops provided by work with const dsa_switch_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/dsa/lan9303-core.c | 2 +- 1 file changed,

[PATCH 3/3] net: dsa: mt7530: constify dsa_switch_ops

2017-08-23 Thread Arvind Yadav
dsa_switch_ops are not supposed to change at runtime. All functions working with dsa_switch_ops provided by work with const dsa_switch_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/dsa/mt7530.c | 2 +- 1 file changed, 1

Re: [RFC PATCH 1/4] mm: madvise: read loop's step size beforehand in madvise_inject_error(), prepare for THP support.

2017-08-23 Thread Naoya Horiguchi
On Mon, Aug 14, 2017 at 09:52:13PM -0400, Zi Yan wrote: > From: Zi Yan > > The loop in madvise_inject_error() reads its step size from a page > after it is soft-offlined. It works because the page is: > 1) a hugetlb page: the page size does not change; > 2) a base page:

Re: [PATCH v3 3/4] net: stmmac: register parent MDIO node for sun8i-h3-emac

2017-08-23 Thread Maxime Ripard
Hi Florian, On Tue, Aug 22, 2017 at 11:35:01AM -0700, Florian Fainelli wrote: > >>> So I think what you are saying is either impossible or engineering-wise > >>> a very stupid design, like using an external MAC with a discrete PHY > >>> connected to the internal MAC's MDIO bus, while using the

Re: [PATCH 3/3] mm: Count list_lru_one::nr_items lockless

2017-08-23 Thread Kirill Tkhai
On 22.08.2017 22:47, Vladimir Davydov wrote: > On Tue, Aug 22, 2017 at 03:29:35PM +0300, Kirill Tkhai wrote: >> During the reclaiming slab of a memcg, shrink_slab iterates >> over all registered shrinkers in the system, and tries to count >> and consume objects related to the cgroup. In case of

Re: [PATCH v3] irqchip: uniphier-aidet: add UniPhier AIDET irqchip driver

2017-08-23 Thread Marc Zyngier
On 23/08/17 02:31, Masahiro Yamada wrote: > UniPhier SoCs contain AIDET (ARM Interrupt Detector). This is intended > to provide additional features that are not covered by GIC. The main > purpose is to provide logic inverter to support low level and falling > edge trigger types for interrupt

[PATCH v1 3/3] arm64: dts: rockchip: add cpu regulator for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen RK3328 Evaluation Board use rk805 pmic, and one of the DCDCs in rk805 is for cpu regulator, assign the cpu regulator, so the cpufreq can work fine. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 4 1

Re: [PATCH 1/6] ALSA: pcm: Use common error handling code in _snd_pcm_new()

2017-08-23 Thread Takashi Iwai
On Wed, 23 Aug 2017 10:23:23 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 23 Aug 2017 08:40:37 +0200 > > Add a jump target so that a bit of exception handling can be better reused > at the end of this function. > > This issue was detected

Re: [PATCH 5/6] ALSA: timer: Adjust a condition check in snd_timer_resolution()

2017-08-23 Thread Takashi Iwai
On Wed, 23 Aug 2017 10:28:41 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 23 Aug 2017 09:45:06 +0200 > > The script "checkpatch.pl" pointed information out like the following. > > ERROR: do not use assignment in if condition > > Thus fix

Re: [PATCH 6/6] ALSA: timer: Adjust 13 checks for null pointers

2017-08-23 Thread Takashi Iwai
On Wed, 23 Aug 2017 10:29:52 +0200, SF Markus Elfring wrote: > > From: Markus Elfring > Date: Wed, 23 Aug 2017 09:54:42 +0200 > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > The script “checkpatch.pl” pointed

[PATCH v2 0/4] Fix problems with PDF output with Sphinx 1.6

2017-08-23 Thread Mauro Carvalho Chehab
This series have a few patches that fix Sphinx 1.6 builds. I've sent two of those patches before, individually, but it was not clear who should merge it. So, I ended by splitting the first patch into two ones: one touching just at the media book, and the last one touching Sphinx documentation and

Re: [PATCH v2 6/8] KVM: arm/arm64: vgic: Implement forwarding setting

2017-08-23 Thread Auger Eric
Hi Christoffer, On 21/07/2017 15:13, Christoffer Dall wrote: > On Thu, Jun 15, 2017 at 02:52:38PM +0200, Eric Auger wrote: >> Implements kvm_vgic_[set|unset]_forwarding. >> >> Handle low-level VGIC programming and consistent irqchip >> programming. >> >> Signed-off-by: Eric Auger

[PATCH v2 2/4] media: dev-sliced-vbi.rst: fix verbatim font size on a table

2017-08-23 Thread Mauro Carvalho Chehab
On Sphinx 1.6, verbatim font is always \small. That causes a problem inside Sliced VBI services table, as it is too big for the box. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/dev-sliced-vbi.rst | 3 +++ 1 file changed, 3 insertions(+) diff

Re: [PATCH] fix memory leak on kvm_vm_ioctl_create_spapr_tce

2017-08-23 Thread David Hildenbrand
>>> + mutex_unlock(>lock); >>> + kvm_put_kvm(kvm); >>> + goto fail; >>> + } >>> + return ret; > > of simply > > if (!ret) if (ret >= 0) return ret; is of course what I meant :) > return 0; > > mutex_lock(>lock); >

Re: [PATCH] doc: coresight: correct usage for '/dev/cpu_dma_latency'

2017-08-23 Thread Sudeep Holla
On 23/08/17 08:23, Leo Yan wrote: > In the coresight CPU debug document it suggests to use 'echo' command > to set latency request to /dev/cpu_dma_latency so can disable all CPU > idle states, but in fact this doesn't work. > > This is because when the command 'echo' exits, it releases the

[PATCH] staging:rtl8188eu:core Fix coding style Issues

2017-08-23 Thread Janani S
This patch solves the following warning shown by the checkpatch script WARNING: Comparisons should place the constants on the right side of the test Signed-off-by: Janani Sankara Babu --- drivers/staging/rtl8188eu/core/rtw_ioctl_set.c | 6 +++--- 1 file changed, 3

Re: [PATCH] ASoC: rt5677: Reintroduce I2C device IDs

2017-08-23 Thread Mark Brown
On Tue, Aug 22, 2017 at 09:51:46PM -0400, Tom Rini wrote: > Not all devices with ACPI and this combination of sound devices will > have the required information provided via ACPI. Reintroduce the I2C > device ID to restore sound functionality on on the Chromebook 'Samus' > model. > {

[PATCH][next] ASoC: tegra: remove unused variable machine, fixes build warning

2017-08-23 Thread Colin King
From: Colin Ian King Remove unused variable 'machine', fixes build warning: sound/soc/tegra/tegra_wm8903.c: In function 'tegra_wm8903_remove': sound/soc/tegra/tegra_wm8903.c:206:23: warning: unused variable 'machine' [-Wunused-variable] struct tegra_wm8903 *machine

v4.11.12-rt10 - hotplug lockdep splat

2017-08-23 Thread Mike Galbraith
virt box reminded me this morning to report this gripe. [ 512.629932] == [ 512.629933] [ INFO: possible circular locking dependency detected ] [ 512.629934] 4.11.12-rt10-virgin #45 Tainted: GE [ 512.629934]

[PATCH 2/3] net: rsi: mac80211: constify ieee80211_ops

2017-08-23 Thread Arvind Yadav
ieee80211_ops are not supposed to change at runtime. All functions working with ieee80211_ops provided by work with const ieee80211_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/wireless/rsi/rsi_91x_mac80211.c | 2 +- 1 file

Re: [PATCH v2 2/2] dax: use PG_PMD_COLOUR instead of open coding

2017-08-23 Thread Jan Kara
On Tue 22-08-17 16:24:36, Ross Zwisler wrote: > Use ~PG_PMD_COLOUR in dax_entry_waitqueue() instead of open coding an > equivalent page offset mask. > > Signed-off-by: Ross Zwisler Looks good. You can add: Reviewed-by: Jan Kara

[PATCH][net-next] net: hinic: make functions set_ctrl0 and set_ctrl1 static

2017-08-23 Thread Colin King
From: Colin Ian King The functions set_ctrl0 and set_ctrl1 are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'set_ctrl0' was not declared. Should it be static? symbol 'set_ctrl1' was not declared.

Re: [PATCH 3/3] net: rsi: netlink: constify genl_ops

2017-08-23 Thread Arvind Yadav
Hi, On Wednesday 23 August 2017 03:32 PM, Kalle Valo wrote: Arvind Yadav writes: genl_ops are not supposed to change at runtime. All functions working with genl_ops provided by work with const genl_ops. So mark the non-const structs as const. Signed-off-by:

Re: [PATCH 3/3 v2] net: netlink: constify genl_ops

2017-08-23 Thread Kalle Valo
Arvind Yadav writes: > genl_ops are not supposed to change at runtime. All functions > working with genl_ops provided by work with > const genl_ops. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > Changes in

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

2017-08-23 Thread Peter Zijlstra
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, > > >

  1   2   3   4   5   6   7   8   9   10   >