Re: [PATCH 3/3] ARM: dts: omap4-droid4: add soundcard

2017-07-25 Thread Sebastian Reichel
Hi, On Mon, Jul 24, 2017 at 09:19:54PM +0200, Pavel Machek wrote: > On Mon 2017-07-10 13:26:02, Mark Brown wrote: > > On Fri, Jul 07, 2017 at 06:42:29PM +0200, Sebastian Reichel wrote: > > > > > + soundcard { > > > + compatible = "simple-audio-card"; > > > + simple-audio-card,name

Re: [PATCH v2] mm: Drop useless local parameters of __register_one_node()

2017-07-25 Thread Michael Ellerman
Dou Liyang writes: > ... initializes local parameters "p_node" & "parent" for > register_node(). > > But, register_node() does not use them. > > Remove the related code of "parent" node, cleanup __register_one_node() > and register_node(). > > Cc: Andrew Morton > Cc: David Rientjes > Cc: Michal

Re: [PATCH v3 00/10] x86: ORC unwinder (previously undwarf)

2017-07-25 Thread Ingo Molnar
* Josh Poimboeuf wrote: > On Wed, Jul 12, 2017 at 09:27:50PM +0200, Ingo Molnar wrote: > > Maybe we could offer a menu of unwinders - i.e. make the whole Kconfig > > interface a > > bit nicer: > > > > CONFIG_UNWINDER_FRAME_POINTER > > CONFIG_UNWINDER_ORC > > CONFIG_UNWINDER_GUESS > > >

Re: [PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-25 Thread Lee Jones
On Fri, 21 Jul 2017, Mani, Rajmohan wrote: > > On Wed, 19 Jul 2017, Rajmohan Mani wrote: > > > > > The TPS68470 device is an advanced power management unit that powers > > a > > > Compact Camera Module (CCM), generates clocks for image sensors, > > > drives a dual LED for Flash and incorporates tw

Re: [PATCH v4 2/2] x86/kconfig: make it easier to switch to the new ORC unwinder

2017-07-25 Thread Ingo Molnar
* Josh Poimboeuf wrote: > A couple of Kconfig changes which make it much easier to switch to the > new CONFIG_ORC_UNWINDER: > > 1) Remove x86 dependencies on CONFIG_FRAME_POINTER for lockdep, >latencytop, and fault injection. x86 has a 'guess' unwinder which >just scans the stack for k

Re: [PATCH v4 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-07-25 Thread Christian Kellner
Hi Mika, I've seen this once on Alpine Ridge LP (which you have here) where the DROM contents of the older NVM image listed too many ports. Can you try if the below patch helps? You were right. Patch works fine, and I indeed see the expected warnings in the logs: [ 102.739663] thunderbolt

Re: [PATCH v2] ARM: dts: imx6: RIoTboard provide gpio-line-names

2017-07-25 Thread Shawn Guo
On Tue, Jul 18, 2017 at 07:40:22AM +0200, Oleksij Rempel wrote: > gpio-line-names may help to make work with GPIOs from user space easier. > Following examples are provided with libgpiod > https://github.com/brgl/libgpiod : > |# Toggle a GPIO by name, then wait for the user to press ENTER. > |$ gpi

Re: [PATCH v5 0/2] add UniPhier thermal support

2017-07-25 Thread Kunihiko Hayashi
Hello, On Fri, 21 Jul 2017 22:34:49 +0900 wrote: > Hello, > > 2017-07-21 22:24 GMT+09:00 Masahiro Yamada : > > 2017-07-21 20:21 GMT+09:00 Kunihiko Hayashi > > : > >> This series adds support for CPU temperature monitor modules implemented > >> on UniPhier LD20 and PXs2 SoCs. This driver suppor

[PATCH] iio: bmp280: properly initialize device for humidity reading

2017-07-25 Thread Andreas Klinger
If the device is not initialized at least once it happens that the humidity reading is skipped, which means the special value 0x8000 is delivered. For omitting this case the oversampling of the humidity must be set before the oversampling of the temperature und pressure is set as written in the da

[PATCH 5/5] arm64: dts: rockchip: Enable tsadc module on RK3328 eavluation board

2017-07-25 Thread Rocky Hao
enable tsadc module on RK3328 eavluation board Change-Id: Ieb45a02b90dae3fbefe7d2b571b3961412d866ad Signed-off-by: Rocky Hao --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-evb.dts b/arch/arm64/boot/dts/

Re: [PATCH 2/4] ACPI: Make acpi_dev_get_resources() method agnostic

2017-07-25 Thread Lorenzo Pieralisi
On Sat, Jul 22, 2017 at 12:05:39AM +0200, Rafael J. Wysocki wrote: > On Thursday, July 20, 2017 03:45:14 PM Lorenzo Pieralisi wrote: > > The function acpi_dev_get_resources() is completely generic and > > can be used to parse resource objects that are not necessarily > > coming from the _CRS method

vbox_hgsmi.c:undefined reference to `gen_pool_dma_alloc'

2017-07-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9 commit: dd55d44f408419278c00887bfcb2261d0caae350 staging: vboxvideo: Add vboxvideo to drivers/staging date: 8 days ago config: x86_64-randconfig-s4-07251602 (attach

Re: [PATCH 02/37] binder: use group leader instead of open thread

2017-07-25 Thread Martijn Coenen
Hi John, On Mon, Jul 24, 2017 at 11:07 PM, John Stultz wrote: > > 12-31 16:00:36.632 2518 2584 E hw-ProcessState: Using /dev/hwbinder > failed: unable to mmap transaction memory. This doesn't look right. Is there anything in the kernel log? > 12-31 16:00:36.632 2518 2566 D bt_hci : hci_mod

Re: [PATCH v2 2/2] dt-bindings: mfd: Add bindings for ZII RAVE devices

2017-07-25 Thread Lee Jones
On Thu, 20 Jul 2017, Andrey Smirnov wrote: > On Thu, Jul 20, 2017 at 2:04 AM, Lee Jones wrote: > > Where is patch 1? > > > > lkml.kernel.org/r/20170718175604.11735-2-andrew.smir...@gmail.com > > I dropped you from CC list to spare you the e-mail traffic, but I can > add you back if you'd prefer

Re: [PATCH v2 5/5] arm64: dts: rockchip: update the thermal zones for RK3399 SoCs

2017-07-25 Thread Caesar Wang
Hi Heiko, Thanks your comments. 在 2017年07月23日 05:48, Heiko Stuebner 写道: Hi Caesar, Am Montag, 17. Juli 2017, 16:14:31 CEST schrieb Caesar Wang: As RK3399 had used the Power allocator thermal governor by default, enabled this to manage thermals by dynamically allocating and limiting power to

Re: [PATCH 4/4] gpio: tegra: Use unsigned int where possible

2017-07-25 Thread Jon Hunter
On 24/07/17 15:55, Thierry Reding wrote: > From: Thierry Reding > > In most of the cases, integers in this file can't be negative, so the > type can be more restricted for clarity. > > Signed-off-by: Thierry Reding > --- > drivers/gpio/gpio-tegra.c | 57 >

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-25 Thread Lee Jones
On Tue, 25 Jul 2017, Baolin Wang wrote: > Integrate with the newly added USB charger interface to limit the current > we draw from the USB input based on the input device configuration > identified by the USB stack, allowing us to charge more quickly from high > current inputs without drawing more

RE: [PATCH net-next] TLP: Don't reschedule PTO when there's one outstanding TLP retransmission.

2017-07-25 Thread maowenan
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Mao Wenan > Sent: Tuesday, July 25, 2017 4:36 PM > To: net...@vger.kernel.org; da...@davemloft.net; weiyongjun (A); > Chenweilong > Subject: [PATCH net-next] TLP: Don't reschedul

Re: [PATCH v5 2/2] thermal: uniphier: add UniPhier thermal driver

2017-07-25 Thread Kunihiko Hayashi
On Fri, 21 Jul 2017 22:21:05 +0900 wrote: > 2017-07-21 20:21 GMT+09:00 Kunihiko Hayashi : > > > +static int uniphier_tm_initialize_sensor(struct uniphier_tm_dev *tdev) > > +{ > > + struct regmap *map = tdev->regmap; > > + u32 val; > > + int ret; > > + > > + /* stop PVT */

Re: [PATCH v4 00/27] Thunderbolt security levels and NVM firmware upgrade

2017-07-25 Thread Mika Westerberg
On Tue, Jul 25, 2017 at 11:11:05AM +0200, Christian Kellner wrote: > Hi Mika, > > > > I've seen this once on Alpine Ridge LP (which you have here) where the > > DROM contents of the older NVM image listed too many ports. Can you try > > if the below patch helps? > You were right. Patch works fine

[PATCH v2] scsi: qedf: Limit number of CQs

2017-07-25 Thread Thomas Bogendoerfer
From: Thomas Bogendoerfer FCOE offloading failed with: [qed_sp_fcoe_func_start:150(sp-0-3b:00.02)]Cannot satisfy CQ amount. CQs requested 8, CQs available 6. Aborting function start [qed_fcoe_start:821()]Failed to start fcoe [__qedf_probe:3041]:6: Cannot start FCoE function. Th

[PATCH] arm64: dts: rockchip: update dynamic-power-coefficient for rk3399

2017-07-25 Thread Caesar Wang
This patch updates the dynamic-power-coefficient for big cluster on rk3399 SoCs. The dynamic power consumption of the CPU is proportional to the square of the Voltage (V) and the clock frequency (f). The coefficient is used to calculate the dynamic power as below - Pdyn = dynamic-power-coefficient

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 17:42, Sudeep Holla wrote: On 24/07/17 11:29, Suzuki K Poulose wrote: Add a helper to map a device node to a logical CPU number to avoid duplication. Currently this is open coded in different places (e.g gic-v3, coresight). The helper tries to map device node to a "possible" logica

Re: [PATCH v5 08/19] coresight tmc: Add helpers for accessing 64bit registers

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 18:11, Mathieu Poirier wrote: On 20 July 2017 at 04:17, Suzuki K Poulose wrote: Coresight TMC splits 64bit registers into a pair of 32bit registers (e.g DBA, RRP, RWP). Provide helpers to read/write to these registers. Cc: Mathieu Poirier Signed-off-by: Suzuki K Poulose diff --gi

Re: [PATCH v12 6/8] mm: support reporting free page blocks

2017-07-25 Thread Wei Wang
On 07/24/2017 05:00 PM, Michal Hocko wrote: On Wed 19-07-17 20:01:18, Wei Wang wrote: On 07/19/2017 04:13 PM, Michal Hocko wrote: [... All you should need is the check for the page reference count, no? I assume you do some sort of pfn walk and so you should be able to get an access to the str

Re: [PATCH v5 1/5] mm: add vm_insert_mixed_mkwrite()

2017-07-25 Thread Jan Kara
On Tue 25-07-17 10:01:58, Christoph Hellwig wrote: > On Tue, Jul 25, 2017 at 01:14:00AM +0300, Kirill A. Shutemov wrote: > > I guess it's up to filesystem if it wants to reuse the same spot to write > > data or not. I think your assumptions works for ext4 and xfs. I wouldn't > > be that sure for bt

RE: [PATCH V4 net-next 7/8] net: hns3: Add Ethtool support to HNS3 driver

2017-07-25 Thread David Laight
From: Rustad, Mark D > Sent: 24 July 2017 21:32 > > On Jul 23, 2017, at 10:05 AM, Florian Fainelli wrote: > >> + > >> + strncpy(drvinfo->version, HNAE_DRIVER_VERSION, > >> + sizeof(drvinfo->version)); > >> + drvinfo->version[sizeof(drvinfo->version) - 1] = '\0'; > > > > strlcpy() would

Re: [PATCH v5 18/19] coresight tmc: Add support for Coresight SoC 600 TMC

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 18:12, Mathieu Poirier wrote: On 20 July 2017 at 04:17, Suzuki K Poulose wrote: The coresight SoC 600 supports ETR save-restore which allows us to restore a trace session by retaining the RRP/RWP/STS.Full values when the TMC leaves the Disabled state. However, the TMC doesn't have a

[PATCH v2] clk: rockchip: rk3128: modify rk3128 clk driver to support rk3126

2017-07-25 Thread Elaine Zhang
rk3128 and rk3126 have some gate registers describe differences. So need to make some distinctions. The RK3126 and RK3128 Same clock description we move it to the common clock branches. And the different clks description use the own clock branches. Signed-off-by: Elaine Zhang --- drivers/clk/roc

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-25 Thread Charles Keepax
On Tue, Jul 25, 2017 at 04:00:01PM +0800, Baolin Wang wrote: > Integrate with the newly added USB charger interface to limit the current > we draw from the USB input based on the input device configuration > identified by the USB stack, allowing us to charge more quickly from high > current inputs

[PATCH v2] MIPS: PCI: Fix smp_processor_id() in preemptible

2017-07-25 Thread Matt Redfearn
Commit 1c3c5eab1715 ("sched/core: Enable might_sleep() and smp_processor_id() checks early") enables checks for might_sleep() and smp_processor_id() being used in preemptible code earlier in the boot than before. This results in a new BUG from pcibios_set_cache_line_size(). BUG: using smp_processo

Re: [PATCH v5 00/19] coresight: Support for ARM Coresight SoC-600

2017-07-25 Thread Suzuki K Poulose
On 24/07/17 18:15, Mathieu Poirier wrote: On 20 July 2017 at 04:17, Suzuki K Poulose wrote: This series adds support for ARM Coresight SoC-600 IP, which implements Coresight V3 architecture. It also does some clean up of the replicator driver namings used in the driver to prevent confusions to

Re: [v3] mm: Add SLUB free list pointer obfuscation

2017-07-25 Thread Alexander Popov
>From 86f4f1f6deb76849e00c761fa30eeb479f789c35 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 24 Jul 2017 23:16:28 +0300 Subject: [PATCH 2/2] mm/slub.c: add a naive detection of double free or corruption On 25.07.2017 00:17, Alexander Popov wrote: > On 06.07.2017 03:27, Kees Cook wrot

[RESEND PATCH] arm: dts: omap3: Remove needless interrupt-parent property

2017-07-25 Thread karthik
From: Karthik Tummala All nodes inhert "interrupt-parent" property from root node. Removed the aforementioned property from usbhsohci, usbhsehci, ssi_port1, ssi_port2 nodes to avoid duplication. Signed-off-by: Karthik Tummala --- arch/arm/boot/dts/omap3.dtsi | 4 1 file changed, 4 deletio

Re: [PATCH v2 2/6] of: Add helper for mapping device node to logical CPU number

2017-07-25 Thread Sudeep Holla
On 25/07/17 10:27, Suzuki K Poulose wrote: > On 24/07/17 17:42, Sudeep Holla wrote: >> >> >> On 24/07/17 11:29, Suzuki K Poulose wrote: >>> Add a helper to map a device node to a logical CPU number to avoid >>> duplication. Currently this is open coded in different places (e.g >>> gic-v3, coresig

[PATCH 1/3] x86: provide an init_mem_mapping hypervisor hook

2017-07-25 Thread Juergen Gross
Provide a hook in hypervisor_x86 called after setting up initial memory mapping. This is needed e.g. by Xen HVM guests to map the hypervisor shared info page. Signed-off-by: Juergen Gross --- arch/x86/include/asm/hypervisor.h | 10 ++ arch/x86/mm/init.c| 3 +++ 2 files

[PATCH 3/3] xen: fix hvm guest with kaslr enabled

2017-07-25 Thread Juergen Gross
A Xen HVM guest running with KASLR enabled will die rather soon today due to the shared info page mapping is using va() too early. This was introduced by commit a5d5f328b0e2baa5ee7c119fd66324eb79eeeb66 ("xen: allocate page for shared info page from low memory"). In order to fix this use early_memr

[PATCH 0/3] fix xen hvm guest with kaslr enabled

2017-07-25 Thread Juergen Gross
This patch series fixes a regression introduced in 4.13-rc1: A Xen HVM guest with KASLR enabled wouldn't boot any longer due to the usage of __va() before kernel_randomize_memory() was called. Juergen Gross (3): x86: provide an init_mem_mapping hypervisor hook xen: split up xen_hvm_init_shared

[PATCH 2/3] xen: split up xen_hvm_init_shared_info()

2017-07-25 Thread Juergen Gross
Instead of calling xen_hvm_init_shared_info() on boot and resume split it up into a boot time function searching for the pfn to use and a mapping function doing the hypervisor mapping call. Signed-off-by: Juergen Gross --- arch/x86/xen/enlighten_hvm.c | 45 +++

RE: [RFC Part1 PATCH v3 13/17] x86/io: Unroll string I/O when SEV is active

2017-07-25 Thread David Laight
From: Brijesh Singh > Sent: 24 July 2017 20:08 > From: Tom Lendacky > > Secure Encrypted Virtualization (SEV) does not support string I/O, so > unroll the string I/O operation into a loop operating on one element at > a time. > > Signed-off-by: Tom Lendacky > Signed-off-by: Brijesh Singh > ---

[PATCH 1/1] pid: making some changes as per kernel coding guidlines

2017-07-25 Thread Maninder Singh
This patch do some minor changes to make code align to kernel coding guidlines, and make it little easy to find definations of these structs. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- include/linux/pid.h | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff -

Re: [PATCH v3 3/3] power: wm831x_power: Support USB charger current limit management

2017-07-25 Thread Sebastian Reichel
Hi, On Tue, Jul 25, 2017 at 04:00:01PM +0800, Baolin Wang wrote: > Integrate with the newly added USB charger interface to limit the current > we draw from the USB input based on the input device configuration > identified by the USB stack, allowing us to charge more quickly from high > current in

Re: [RFC][PATCH] thunderbolt: icm: Ignore mailbox errors in icm_suspend()

2017-07-25 Thread Mika Westerberg
On Tue, Jul 25, 2017 at 01:31:00AM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > On one of my test machines nhi_mailbox_cmd() called from icm_suspend() > times out and returnes an error which then is propagated to the > caller and causes the entire system suspend to be aborted whi

Re: [PATCH v5 2/2] x86/mm: Improve TLB flush documentation

2017-07-25 Thread Peter Zijlstra
On Mon, Jul 24, 2017 at 09:41:39PM -0700, Andy Lutomirski wrote: > + /* > + * Resume remote flushes and then read tlb_gen. The > + * implied barrier in atomic64_read() synchronizes There is no barrier in atomic64_read(). > + * with inc_mm_tlb_ge

[PATCH] arm64: dts: rockchip: Add rk3328 io-domain node

2017-07-25 Thread David Wu
Signed-off-by: David Wu --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 7e69f1f..cf34529 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arc

Re: USB disk speed regression WD Elements - with bisect result 22547c4cc4fe20698a6a85a55b8788859134b8e4

2017-07-25 Thread Zdenek Kabelac
Dne 24.7.2017 v 16:41 Alan Stern napsal(a): On Mon, 24 Jul 2017, Zdenek Kabelac wrote: Hi I've problem with my USB storage devices: WD Elements 1TB. (Bus 004 Device 002: ID 1058:10a8 Western Digital Technologies, Inc. Elements Portable (WDBUZG)) After kernel >4.9 when disk is attached via

Re: [PATCH v2 2/6] mei: Switch to use new generic UUID API

2017-07-25 Thread Andy Shevchenko
On Tue, 2017-07-25 at 00:12 +0300, Tomas Winkler wrote: > From: Andy Shevchenko > > There are new types and helpers that are supposed to be used in new > code. > > As a preparation to get rid of legacy types and API functions do > the conversion here. > > Cc: Tomas Winkler > Cc: Guenter Roeck

[PATCH] mm: Always flush VMA ranges affected by zap_page_range v2

2017-07-25 Thread Mel Gorman
Changelog since V1 o Do not poke at mmu_gather internals (fixes kbuild bug) o Rebase to 4.13-rc2 Nadav Amit report zap_page_range only specifies that the caller protect the VMA list but does not specify whether it is held for read or write with callers using either. madvise holds mmap_sem for read

[PATCH v4] mtd: spi-nor: add support for GD25Q256

2017-07-25 Thread Andy Yan
Add support for GD25Q256, a 32MiB SPI Nor flash from Gigadevice. Signed-off-by: Andy Yan --- Changes in v4: - add SPI_NOR_HAS_LOCK and SPI_NOR_HAS_TB Changes in v3: - rebase on top of spi-nor tree - add SPI_NOR_4B_OPCODES flag Changes in v2: - drop one line unnecessary modification drivers/

[PATCH 00/11] Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Arvind Yadav (11): [PATCH 01/11] ASoC: samsung: s3c2412: Handle return value of clk_prepare_enable. [PATCH 02/11] ASoC: samsung: s3c24xx: Handle return value of clk_prepare_enable. [PATCH 03/11] ASoC: samsung: pcm: Hand

[PATCH 03/11] ASoC: samsung: pcm: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/samsung/pcm.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c index d50a637..37f95ee 100644 --- a/sound/s

[PATCH 08/11] ASoC: sun4i-spdif: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/sunxi/sun4i-spdif.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c index eaefd07..4a316c

[PATCH 07/11] ASoC: jz4740: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/jz4740/jz4740-i2s.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/sound/soc/jz4740/jz4740-i2s.c b/sound/soc/jz4740/jz4740-i2s.c index 794a

[PATCH 09/11] ASoC: atmel: ac97c: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/atmel/ac97c.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c index 9d2c9d9..52b0522 100644 --- a/sound/atmel/ac97c.c

[PATCH 06/11] ASoC: mxs-saif: Handle return value of clk_prepare_enable/clk_prepare.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() and clk_prepare() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/mxs/mxs-saif.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index b42f301..

[PATCH 04/11] ASoC: samsung: i2s: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/samsung/i2s.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index af3ba4d..b554497 100644

[PATCH 05/11] ASoC: samsung: spdif: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/samsung/spdif.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c index 779504f..cb59911 100644 --- a/s

[PATCH 10/11] ASoC: pxa: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/pxa/pxa2xx-i2s.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c index 3fb60ba..2312c22 100644 --- a/s

[PATCH 11/11] ASoC: pxa-ssp: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/pxa/pxa-ssp.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index 0291c7c..dad5cf62 10

[PATCH 02/11] ASoC: samsung: s3c24xx: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/samsung/s3c24xx-i2s.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c index 91e6871..

[PATCH 01/11] ASoC: samsung: s3c2412: Handle return value of clk_prepare_enable.

2017-07-25 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav --- sound/soc/samsung/s3c2412-i2s.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c index 0a47182..bcd1cbd 1

Re: [PATCH v4 06/12] mfd: wm97xx-core: core support for wm97xx Codec

2017-07-25 Thread Charles Keepax
On Mon, Jul 24, 2017 at 10:49:22PM +0200, Robert Jarzmik wrote: > The WM9705, WM9712 and WM9713 are highly integrated codecs, with an > audio codec, DAC and ADC, GPIO unit and a touchscreen interface. > > Historically the support was spread across drivers/input/touchscreen and > sound/soc/codecs.

[PATCH] clk: Don't write error code into divider register

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Add a check for error returned by divider value calculation to avoid writing error code into hw register. Signed-off-by: Alex Frid Reviewed-by: Peter De Schrijver Reviewed-by: Jon Mayo --- drivers/clk/clk-divider.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

Re: [PATCH v4 08/12] ASoC: wm9713: add ac97 new bus support

2017-07-25 Thread Charles Keepax
On Mon, Jul 24, 2017 at 10:49:24PM +0200, Robert Jarzmik wrote: > Add support for the new ac97 bus model, where devices are automatically > discovered on AC-Links. > > Signed-off-by: Robert Jarzmik > --- Acked-by: Charles Keepax Thanks, Charles

Re: [v3] wlcore: add missing nvs file name info for wilink8

2017-07-25 Thread Tony Lindgren
* Reizer, Eyal [170720 05:17]: > The following commits: > c815fde wlcore: spi: Populate config firmware data > d776fc8 wlcore: sdio: Populate config firmware data > > Populated the nvs entry for wilink6 and wilink7 only while it is > still needed for wilink8 as well. > This broke user space bac

Re: [PATCH v4 09/12] ASoC: wm9712: add ac97 new bus support

2017-07-25 Thread Charles Keepax
On Mon, Jul 24, 2017 at 10:49:25PM +0200, Robert Jarzmik wrote: > Add support for the new ac97 bus model, where devices are automatically > discovered on AC-Links. > > Signed-off-by: Robert Jarzmik > --- > + } else { > + wm9712->ac97 = snd_soc_new_ac97_codec(codec, WM9712_VENDOR_I

RE: [PATCH v2 2/6] mei: Switch to use new generic UUID API

2017-07-25 Thread Winkler, Tomas
> > On Tue, 2017-07-25 at 00:12 +0300, Tomas Winkler wrote: > > From: Andy Shevchenko > > > > There are new types and helpers that are supposed to be used in new > > code. > > > > As a preparation to get rid of legacy types and API functions do the > > conversion here. > > > > Cc: Tomas Winkler

Re: [PATCH v3 1/2] platform: Add driver for RAVE Supervisory Processor

2017-07-25 Thread Andy Shevchenko
On Mon, Jul 24, 2017 at 10:53 PM, Andrey Smirnov wrote: > On Mon, Jul 24, 2017 at 10:25 AM, Andy Shevchenko > wrote: >> On Mon, Jul 24, 2017 at 6:09 PM, Andrey Smirnov >> wrote: >> Field descriptions are supposed to be _short_. >>> + * @part_number_firmware: >>> + * @part_number_bootloader: >>

Re: [PATCH V2 02/10] dt-bindings: Add Spreadtrum clock binding documentation

2017-07-25 Thread Chunyan Zhang
Hi Stephen, On 22 July 2017 at 06:57, Stephen Boyd wrote: > On 07/11, Chunyan Zhang wrote: >> Introduce a new binding with its documentation for Spreadtrum clock >> sub-framework. >> >> Signed-off-by: Chunyan Zhang >> --- >> Documentation/devicetree/bindings/clock/sprd.txt | 36 >>

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-25 Thread Leonard Crestez
On Mon, 2017-07-24 at 10:07 -0700, Thomas Garnier wrote: > On Wed, Jul 19, 2017 at 10:58 AM, Thomas Garnier > wrote: > > > > The work pending loop can call set_fs after addr_limit_user_check > > removed the _TIF_FSCHECK flag. To prevent the infinite loop, move > > the addr_limit_user_check call a

Re: [RFC Part1 PATCH v3 02/17] x86/CPU/AMD: Add the Secure Encrypted Virtualization CPU feature

2017-07-25 Thread Borislav Petkov
On Mon, Jul 24, 2017 at 02:07:42PM -0500, Brijesh Singh wrote: > From: Tom Lendacky > > Update the CPU features to include identifying and reporting on the > Secure Encrypted Virtualization (SEV) feature. SME is identified by > CPUID 0x801f, but requires BIOS support to enable it (set bit 23

Re: [PATCH v4 1/3] mfd: Add new mfd device TPS68470

2017-07-25 Thread Andy Shevchenko
On Tue, Jul 25, 2017 at 12:10 PM, Lee Jones wrote: > On Fri, 21 Jul 2017, Mani, Rajmohan wrote: >> > On Wed, 19 Jul 2017, Rajmohan Mani wrote: >> > > + /* Force software reset */ >> > > + ret = regmap_write(regmap, TPS68470_REG_RESET, >> > TPS68470_REG_RESET_MASK); >> > > + if (ret < 0) >> > >> >

Re: [PATCH v2] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-25 Thread Marc Zyngier
On 22/07/17 04:54, Hanjun Guo wrote: > From: Hanjun Guo > > When running 4.13-rc1 on top of D05, I got the boot log: > > [0.00] SRAT: PXM 0 -> ITS 0 -> Node 0 > [0.00] SRAT: PXM 0 -> ITS 1 -> Node 0 > [0.00] SRAT: PXM 0 -> ITS 2 -> Node 0 > [0.00] SRAT: PXM 1 -> I

[PATCH 01/14] clk: tegra: fix SS control on PLL enable/disable

2017-07-25 Thread Peter De Schrijver
PLL SS was only controlled when setting the PLL rate, not when the PLL itself is enabled or disabled. Signed-off-by: Peter De Schrijver Reviewed-by: Jon Mayo --- drivers/clk/tegra/clk-pll.c | 44 1 file changed, 24 insertions(+), 20 deletions(-) dif

[PATCH 04/14] clk: tegra210: remove non-existing VFIR clock

2017-07-25 Thread Peter De Schrijver
Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index facd6ee..dc4a813 100644 --- a/drivers/clk/tegra/clk-tegra210.c +++ b/drivers/clk/tegra/clk-tegra210.c

[PATCH 00/14] Fixes for Tegra clocks

2017-07-25 Thread Peter De Schrijver
A number of smaller fixes and simplifications for the Tegra clock implementation. Alex Frid (7): clk: tegra: Fix T210 effective NDIV calculation clk: tegra: Add TEGRA_PERIPH_ON_APB flag to I2C clk: tegra: Re-factor T210 PLLX registration clk: tegra: Update T210 PLLSS (D2/DP) registration

[PATCH 09/14] clk: tegra: don't warn for pll_d2 defaults unnecessarily

2017-07-25 Thread Peter De Schrijver
If the PLL is on, only warn if the defaults are not yet set. Otherwise be silent. Signed-off-by: Peter De Schrijver Reviewed-by: Timo Alho --- drivers/clk/tegra/clk-tegra210.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/cl

[PATCH 07/14] clk: tegra: Add TEGRA_PERIPH_ON_APB flag to I2C

2017-07-25 Thread Peter De Schrijver
From: Alex Frid I2C controllers are also on the APB bus and therefor need this flag to handle resets correctly. Signed-off-by: Alex Frid Reviewed-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra-periph.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/t

[PATCH 02/14] clk: tegra: Enable PLL_SS for Tegra210

2017-07-25 Thread Peter De Schrijver
Make sure the pll_ss ops are compiled even when only building for Tegra210. Signed-off-by: Peter De Schrijver Reviewed-by: Shreshtha Sahu Tested-by: Shreshtha Sahu Reviewed-by: Jon Mayo --- drivers/clk/tegra/clk-pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH] f2fs: support journelled quota

2017-07-25 Thread Chao Yu
This patch supports to enable f2fs to accept quota information through mount option: - {usr,grp,prj}jquota= - jqfmt= Then, in ->mount flow, we can recover quota file during log replaying, by this, journelled quota can be supported. Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.txt |

[PATCH 03/14] clk: tegra: disable SSC for PLL_D2

2017-07-25 Thread Peter De Schrijver
PLLD2 is used for HDMI which does not allowe Spread Spectrum clocking. Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-tegra210.c b/drivers/clk/tegra/clk-tegra210.c index 1024e85..fac

[PATCH 06/14] clk: tegra: Fix T210 effective NDIV calculation

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Don't take the fractional part into account to calculate the effective NDIV if fractional ndiv is not enabled. Signed-off-by: Alex Frid Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff -

[PATCH 08/14] clk: tegra: change post IDDQ release delay to 5us

2017-07-25 Thread Peter De Schrijver
Increase delay after PLL IDDQ release to 5us per PLL specifications. based on work by Alex Frid Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/tegra/clk-pll.c b/drivers/clk/tegra/clk-pll.c index

Re: [PATCH v2 2/6] mei: Switch to use new generic UUID API

2017-07-25 Thread Andy Shevchenko
On Tue, 2017-07-25 at 10:25 +, Winkler, Tomas wrote: > > > > On Tue, 2017-07-25 at 00:12 +0300, Tomas Winkler wrote: > > > From: Andy Shevchenko > > > > > > There are new types and helpers that are supposed to be used in > > > new > > > code. > > > > > > As a preparation to get rid of legac

[PATCH 05/14] clk: tegra: Init cfg structure in _get_pll_mnp

2017-07-25 Thread Peter De Schrijver
Not all fields are read from the hw depending on the PLL type. Make sure the other fields are 0 by clearing the structure beforehand to prevent users such as the rate re-calculation code from using bogus values. Based on work by Alex Frid Signed-off-by: Peter De Schrijver --- drivers/clk/tegr

Re: [PATCH 1/3] arm/syscalls: Move address limit check in loop

2017-07-25 Thread Russell King - ARM Linux
On Tue, Jul 25, 2017 at 01:28:01PM +0300, Leonard Crestez wrote: > On Mon, 2017-07-24 at 10:07 -0700, Thomas Garnier wrote: > > On Wed, Jul 19, 2017 at 10:58 AM, Thomas Garnier > > wrote: > > > > > > The work pending loop can call set_fs after addr_limit_user_check > > > removed the _TIF_FSCHECK

[PATCH v2] KVM: nVMX: Fix losing NMI blocking state

2017-07-25 Thread Wanpeng Li
Run kvm-unit-tests/eventinj.flat in L1 w/ ept=0 on both L0 and L1: Before NMI IRET test Sending NMI to self NMI isr running stack 0x461000 Sending nested NMI to self After nested NMI to self Nested NMI isr running rip=40038e After iret After NMI to self FAIL: NMI Reference SDM 31.7.1.2: If the

[PATCH 12/14] clk: tegra: Fix T210 PLLRE registration

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Switched Tegra210 PLLRE registration to common PLL ops instead of special PLLRE ops used on previous Tegra chips. The latter ops do not follow chip specific PLL frequency table, and do not apply chip specific rate calculation method. Removed unnecessary default rate setting that

[PATCH 10/14] clk: tegra: Re-factor T210 PLLX registration

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Tegra210 PLLX uses the same sequences than then PLLC instances. So there is no need to have a special registration function and ops struct for it. Simplify the code by changing all references to the Tegra210 PLLX registration function to the Tegra210 PLLC registration function and

[PATCH 11/14] clk: tegra: Update T210 PLLSS (D2/DP) registration

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Remove from Tegra210 PLLSS registration code sections that - attempt to set PLL minimum rate (unnecessary, and dangerous if PLL is already enabled on boot) - apply pre-Tegra210 defaults settings - check IDDQ setting (duplicated with Tegra210 PLLSS check defaults) Replaced setti

[PATCH 14/14] clk: tegra: Fix Tegra210 PLLU initialization

2017-07-25 Thread Peter De Schrijver
From: Alex Frid - Added necessary delays in PLLU enable sequence during initialization - Applied PLLU lock to all secondary gates (PLLU_48M and PLLU_60M were missing). Signed-off-by: Alex Frid Signed-off-by: Peter De Schrijver --- drivers/clk/tegra/clk-tegra210.c | 6 -- 1 file changed, 4

[PATCH 13/14] clk: tegra: Correct Tegra210 UTMIPLL poweron delay

2017-07-25 Thread Peter De Schrijver
From: Alex Frid Increased Tegra210 UTMIPLL power on delay to 20us (spec maximum is 15us). Also remove a few empty lines to make it more clear the ACTIVE_DLY_COUNT and ENABLE_DLY_COUNT fields. Signed-off-by: Alex Frid Reviewed-by: Peter De Schrijver Reviewed-by: Jon Mayo --- drivers/clk/tegra

Re: [PATCH -tip V2] [BUGFIX] kprobes/x86: Do not jump-optimize kprobes on irq entry code

2017-07-25 Thread Ingo Molnar
* Masami Hiramatsu wrote: > Since the kernel segment registers are not prepared at the > entry of irq-entry code, if a kprobe on such code is > jump-optimized, accessing per-cpu variables may cause > kernel panic. > However, if the kprobe is not optimized, it kicks int3 > exception and set segme

Re: [PATCH v1 1/6] efi: Switch to use new generic UUID API

2017-07-25 Thread Andy Shevchenko
On Thu, 2017-07-20 at 13:18 +0100, Ard Biesheuvel wrote: > On 19 July 2017 at 19:28, Andy Shevchenko > wrote: > > There are new types and helpers that are supposed to be used in new > > code. > > > > As a preparation to get rid of legacy types and API functions do > > the conversion here. > > >

Re: [PATCH 2/2] powernv/powerpc: Clear PECE1 in LPCR via stop-api only on Hotplug

2017-07-25 Thread Michael Ellerman
Nicholas Piggin writes: ... > I wonder if we should think about a more structured kernel API for > modifying these kind of system registers so we always have the > up-to-date values stored in memory. Many of them do need to be > restored after sleep, but they don't need to be saved per-thread > or

Re: [PATCH v2] irqchip/gic-v3-its: Allow GIC ITS number more than MAX_NUMNODES

2017-07-25 Thread Lorenzo Pieralisi
On Sat, Jul 22, 2017 at 11:54:12AM +0800, Hanjun Guo wrote: > From: Hanjun Guo > > When running 4.13-rc1 on top of D05, I got the boot log: Nit: You should stick to what the problem is and why you need to solve it, "Fixes:" tag gives the commit history you need, the rest (eg "When running 4.13-r

Re: ARM64 board Hikey960 boot failure due to f2545b2d4ce1 (jump_label: Reorder hotplug lock and jump_label_lock)

2017-07-25 Thread Robin Murphy
On 24/07/17 15:34, Leo Yan wrote: > Hi all, > > We found the mainline arm64 kernel boot failure on Hikey960 board, > this is caused by patch f2545b2d4ce1 (jump_label: Reorder hotplug lock > and jump_label_lock), this patch adds locking cpus_read_lock() in > function static_key_slow_inc() and intro

Re: [lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct

2017-07-25 Thread Hans Liljestrand
On Mon, Jul 24, 2017 at 08:21:16PM -0700, Kees Cook wrote: On Mon, Jul 24, 2017 at 6:03 AM, Hans Liljestrand wrote: On Sun, Jul 23, 2017 at 08:52:53PM -0700, Kees Cook wrote: Is 14afee4b6092f ("net: convert sock.sk_wmem_alloc from atomic_t to refcount_t") correct? That looks like a statistics

Re: [PATCH v2] KVM: nVMX: Fix losing NMI blocking state

2017-07-25 Thread Paolo Bonzini
On 25/07/2017 12:40, Wanpeng Li wrote: > Commit 4c4a6f790ee862 (KVM: nVMX: track NMI blocking state separately for > each VMCS) > tracks NMI blocking state separately for vmcs01 and vmcs02. However it is not > enough: > > - The L2 (kvm-unit-tests/eventinj.flat) generates NMI that will fault on

RE: [PATCH v2 2/6] mei: Switch to use new generic UUID API

2017-07-25 Thread Winkler, Tomas
> > On Tue, 2017-07-25 at 10:25 +, Winkler, Tomas wrote: > > > > > > On Tue, 2017-07-25 at 00:12 +0300, Tomas Winkler wrote: > > > > From: Andy Shevchenko > > > > > > > > There are new types and helpers that are supposed to be used in > > > > new code. > > > > > > > > As a preparation to get

<    1   2   3   4   5   6   7   8   9   10   >