Re: [PATCH 1/3] media: atmel-isc: Not support RBG format from sensor.

2017-08-22 Thread Hans Verkuil
On 08/22/2017 03:18 AM, Yang, Wenyou wrote: > Hi Hans, > > On 2017/8/21 22:07, Hans Verkuil wrote: >> On 08/17/2017 09:16 AM, Wenyou Yang wrote: >>> The 12-bit parallel interface supports the Raw Bayer, YCbCr, >>> Monochrome and JPEG Compressed pixel formats from the external >>> sensor, not suppo

Re: [PATCH] crypto: mediatek - Add empty messages check in GCM mode

2017-08-22 Thread Herbert Xu
On Wed, Aug 16, 2017 at 07:19:48PM +0800, Ryder Lee wrote: > Currently, empty messages are not supported in GCM mode, hence add > a check to prevent producing incorrect results. > > Signed-off-by: Ryder Lee > --- > drivers/crypto/mediatek/mtk-aes.c | 5 + > 1 file changed, 5 insertions(+) >

Re: [PATCH] perf record: enable multiplexing scaling via -R

2017-08-22 Thread Jiri Olsa
On Mon, Aug 21, 2017 at 06:25:45PM -0700, Andi Kleen wrote: > On Mon, Aug 21, 2017 at 05:13:29PM -0700, Stephane Eranian wrote: > > On Mon, Aug 21, 2017 at 4:02 PM, Andi Kleen wrote: > > > > > > Stephane Eranian writes: > > > > > > > > To activate, the user must use: > > > > $ perf record -a -R .

[PATCH v2] 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. v2: - added muic to documentation Signed-off-by: Maciej Purski --- Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++ drivers/mfd/max77693.c | 5 - 2 files chang

Re: [PATCH v8 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-22 Thread Byungchul Park
On Tue, Aug 22, 2017 at 02:53:25PM +0900, Byungchul Park wrote: > On Mon, Aug 21, 2017 at 02:44:58PM +0100, Juri Lelli wrote: > > Hi, > > On 18/08/17 17:21, Byungchul Park wrote: > > > It would be better to try to check other siblings first if > > > SD_PREFER_SIBLING is flaged when pushing tasks -

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

2017-08-22 Thread Chanwoo Choi
Hi, On 2017년 08월 22일 16:09, Maciej Purski wrote: > This patch adds muic of_compatible in order to use the muic device > driver in device tree. > > v2: > - added muic to documentation > > Signed-off-by: Maciej Purski > --- > Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++ > drive

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

2017-08-22 Thread Chanwoo Choi
On 2017년 08월 22일 16:14, Chanwoo Choi wrote: > Hi, > > On 2017년 08월 22일 16:09, Maciej Purski wrote: >> This patch adds muic of_compatible in order to use the muic device >> driver in device tree. >> >> v2: >> - added muic to documentation >> >> Signed-off-by: Maciej Purski >> --- >> Documentation

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

2017-08-22 Thread Shubham Bansal
Russell, David, Alexei, Daniel and Kees. Please check this patch and lets finish it. Thanks.

Re: [PATCH 2/2] perf, tools: Avoid segfault on alias parse error

2017-08-22 Thread Jiri Olsa
On Thu, Aug 17, 2017 at 02:22:32PM -0300, Arnaldo Carvalho de Melo wrote: > Em Thu, Aug 17, 2017 at 10:04:53AM -0700, Andi Kleen escreveu: > > > So it will _not_ set to null a member that it doesn't have, i.e. the > > > minimal fix is to just have the hunks below, making sure that the error > > > f

Re: [PATCH] perf record: enable multiplexing scaling via -R

2017-08-22 Thread Stephane Eranian
On Tue, Aug 22, 2017 at 12:03 AM, Jiri Olsa wrote: > > On Mon, Aug 21, 2017 at 06:25:45PM -0700, Andi Kleen wrote: > > On Mon, Aug 21, 2017 at 05:13:29PM -0700, Stephane Eranian wrote: > > > On Mon, Aug 21, 2017 at 4:02 PM, Andi Kleen wrote: > > > > > > > > Stephane Eranian writes: > > > > > > >

Re: [PATCH] crypto: mediatek - Add empty messages check in GCM mode

2017-08-22 Thread Ryder Lee
Hi, On Tue, 2017-08-22 at 15:01 +0800, Herbert Xu wrote: > On Wed, Aug 16, 2017 at 07:19:48PM +0800, Ryder Lee wrote: > > Currently, empty messages are not supported in GCM mode, hence add > > a check to prevent producing incorrect results. > > > > Signed-off-by: Ryder Lee > > --- > > drivers/cr

Re: [PATCH RFC v3 1/9] KVM: s390: optimize detection of started vcpus

2017-08-22 Thread Christian Borntraeger
On 08/21/2017 10:35 PM, Radim Krčmář wrote: > We can add a variable instead of scanning all online VCPUs to know how > many are started. We can't trivially tell which VCPU is the last one, > though. > > Suggested-by: Cornelia Huck > Signed-off-by: Radim Krčmář > @@ -3453,16 +3447,12 @@ voi

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

2017-08-22 Thread Shubham Bansal
Please ignore this mail. Sent it by mistake.

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

2017-08-22 Thread Shubham Bansal
Please ignore this mail. Sent it by mistake. Sent the correct patch later on.

RE: [PATCH 1/3] media: atmel-isc: Not support RBG format from sensor.

2017-08-22 Thread Wenyou.Yang
Hi Hans, > -Original Message- > From: Hans Verkuil [mailto:hverk...@xs4all.nl] > Sent: 2017年8月22日 15:00 > To: Wenyou Yang - A41535 ; Mauro Carvalho > Chehab > Cc: Nicolas Ferre - M43238 ; linux- > ker...@vger.kernel.org; Sakari Ailus ; Jonathan Corbet > ; linux-arm-ker...@lists.infradead.

Re: [Xen-devel] [PATCH 1/1] xen-blkback: stop blkback thread of every queue in xen_blkif_disconnect

2017-08-22 Thread Roger Pau Monné
On Fri, Aug 18, 2017 at 06:24:06PM +0100, Roger Pau Monné wrote: > On Fri, Aug 18, 2017 at 10:29:15AM -0400, annie li wrote: > > > > On 8/18/2017 5:14 AM, Roger Pau Monné wrote: > > > On Thu, Aug 17, 2017 at 06:43:46PM -0400, Annie Li wrote: > > > > If there is inflight I/O in any non-last queue,

[PATCH] iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc()

2017-08-22 Thread Luca Coelho
From: Luca Coelho Work queues cannot be allocated in when a mutex is held because the mutex may be in use and that would make it sleep. Doing so generates the following splat with 4.13+: [ 19.513298] == [ 19.513429] WARNING: possible circu

Re: [PATCH v3] mfd: Add support for RTS5250S power saving

2017-08-22 Thread Lee Jones
On Tue, 22 Aug 2017, rui_f...@realsil.com.cn wrote: > From: Rui Feng > > Signed-off-by: Rui Feng > --- > drivers/mfd/rts5249.c| 195 > drivers/mfd/rtsx_pcr.c | 205 > +-- > drivers/mfd/rtsx_pcr.h

Re: [PATCH] mfd: Add support for TI LMP92001

2017-08-22 Thread Peter Meerwald-Stadler
> From: Abhisit Sangjan > > TI LMP92001 Analog System Monitor and Controller some minor comments, not a full review > 8-bit GPIOs. > 12 DACs with 12-bit resolution. > The GPIOs and DACs are shared port function with Cy function pin to > take control the pin suddenly from external hardware. >

Re: [PATCH] mfd: Add support for TI LMP92001

2017-08-22 Thread Lee Jones
On Tue, 22 Aug 2017, s.abhi...@gmail.com wrote: > From: Abhisit Sangjan > > TI LMP92001 Analog System Monitor and Controller > > 8-bit GPIOs. > 12 DACs with 12-bit resolution. > The GPIOs and DACs are shared port function with Cy function pin to > take control the pin suddenly from external har

[PATCH v2] iwlwifi: pcie: move rx workqueue initialization to iwl_trans_pcie_alloc()

2017-08-22 Thread Luca Coelho
From: Luca Coelho Work queues cannot be allocated when a mutex is held because the mutex may be in use and that would make it sleep. Doing so generates the following splat with 4.13+: [ 19.513298] == [ 19.513429] WARNING: possible circular

[PATCH v3] 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. v2: - added muic to documentation v3: - removed duplication Signed-off-by: Maciej Purski --- Documentation/devicetree/bindings/mfd/max77693.txt | 6 ++ drivers/mfd/max77693.c

Re: [PATCH] mfd: intel-lpss: Put I2C and SPI controllers into reset state on suspend

2017-08-22 Thread Lee Jones
On Sun, 23 Jul 2017, Furquan Shaikh wrote: > Commit 274e43edcda6f ("mfd: intel-lpss: Do not put device in reset > state on suspend") changed the behavior on suspend by not putting LPSS > controllers into reset. This was done because S3/S0ix fail if UART > device is put into reset and no_console_su

Re: [PATCH] mfd: intel-lpss: Put I2C and SPI controllers into reset state on suspend

2017-08-22 Thread Lee Jones
On Mon, 21 Aug 2017, Furquan Shaikh wrote: > Hello Lee, > > Gentle ping. Do you see any issues with the following change? Couple of things: 1. Please do not top post. 2. Please do not send contentless pings. If you think a patch had fallen through the cracks (which this one had), please resend

Re: [PATCH] mfd: da9052: constify spi_device_id

2017-08-22 Thread Lee Jones
On Mon, 21 Aug 2017, Arvind Yadav wrote: > spi_device_id are not supposed to change at runtime. All functions > working with spi_device_id provided by work with > const spi_device_id. So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > --- > drivers/mfd/da9052-spi.c | 2 +

Re: [PATCH v8 1/2] sched/deadline: Add support for SD_PREFER_SIBLING on find_later_rq()

2017-08-22 Thread Juri Lelli
Hi, On 22/08/17 14:53, Byungchul Park wrote: > On Mon, Aug 21, 2017 at 02:44:58PM +0100, Juri Lelli wrote: > > Hi, > > On 18/08/17 17:21, Byungchul Park wrote: > > > It would be better to try to check other siblings first if > > > SD_PREFER_SIBLING is flaged when pushing tasks - migration. > > >

Re: [PATCH 3/3] media: atmel-isc: Add more format configurations

2017-08-22 Thread Yang, Wenyou
Hi Hans, On 2017/8/22 14:54, Hans Verkuil wrote: On 08/17/2017 09:16 AM, Wenyou Yang wrote: Add the configuration of formats: GREY, ARGB444, ARGB555 and ARGB32. Signed-off-by: Wenyou Yang --- drivers/media/platform/atmel/atmel-isc.c | 22 -- 1 file changed, 20 inserti

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

2017-08-22 Thread Thomas Gleixner
On Tue, 22 Aug 2017, Nicholas Piggin wrote: > I would have preferred to get comments from the timer maintainers, but > they've been busy or away for the past copule of weeks. Perhaps you > would consider carrying it until then? Yes, I was on vacation, but that patch never hit my LKML inbox >

Re: [RESEND] [PATCHv6 1/4] mfd: da9052: add register details for TSI

2017-08-22 Thread Lee Jones
On Mon, 21 Aug 2017, Sebastian Reichel wrote: > Add register details an channels definition for using the TSI > registers in the hwmon driver. > > Acked-for-MFD-by: Lee Jones > Signed-off-by: Sebastian Reichel > --- > include/linux/mfd/da9052/da9052.h | 6 ++ > include/linux/mfd/da9052/re

Re: [RESEND] [PATCHv6 3/4] hwmon: da9052: replace S_IRUGO with 0444

2017-08-22 Thread Lee Jones
On Mon, 21 Aug 2017, Sebastian Reichel wrote: > Fix checkpatch warnings about S_IRUGO being less readable than > providing the permissions octal as '0444'. > > Acked-by: Guenter Roeck > Signed-off-by: Sebastian Reichel > --- > drivers/hwmon/da9052-hwmon.c | 36 ++---

Re: [RESEND] [PATCHv6 2/4] mfd: da9052: make touchscreen registration optional

2017-08-22 Thread Lee Jones
On Mon, 21 Aug 2017, Sebastian Reichel wrote: > If the touchscreen pins are used as general purpose analogue > input, the touchscreen driver should not be used. The pins > will be handled by the existing hwmon driver instead. > > Acked-for-MFD-by: Lee Jones > Signed-off-by: Sebastian Reichel >

[Question] Race between pcie hot plug and pcie aer report?

2017-08-22 Thread Kefeng Wang
Hi Bjorn and all, Is there some mechanism to prevent the race between pcie hot plug and pcie aer report, I am unfamiliar with them, so correct me if I am wrong. We met a Null pointer dereference, when inject a uncorrect error[UNCOR_STATUS RX_OVER] to a mlx , see the detail in attachment. ae

[GIT PULL] Immutable branch between MFD and HWMON due for the v4.14 merge window

2017-08-22 Thread Lee Jones
Enjoy! The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-hwmon-v4.14 for you to fetch changes up to 4f16cab19a3d57

Re: [RESEND] [PATCHv6 4/4] hwmon: da9052: add support for TSI channel

2017-08-22 Thread Lee Jones
On Mon, 21 Aug 2017, Sebastian Reichel wrote: > TSI channel has a 4 channel mux connected to it and is normally > used for touchscreen support. The hardware may alternatively > use it as general purpose adc. > > Acked-by: Guenter Roeck > Signed-off-by: Sebastian Reichel > --- > drivers/hwmon/d

Re: [PATCH 2/2] sched/fair: Fix use of NULL with find_idlest_group

2017-08-22 Thread Vincent Guittot
On 21 August 2017 at 17:21, Brendan Jackman wrote: > The current use of returning NULL from find_idlest_group is broken in [snip] > --- > kernel/sched/fair.c | 34 +++--- > 1 file changed, 19 insertions(+), 15 deletions(-) > > diff --git a/kernel/sched/fair.c b/kernel/

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

2017-08-22 Thread Chanwoo Choi
On 2017년 08월 22일 16:38, Maciej Purski wrote: > This patch adds muic of_compatible in order to use the muic device > driver in device tree. > > v2: > - added muic to documentation > > v3: > - removed duplication > > Signed-off-by: Maciej Purski > --- > Documentation/devicetree/bindings/mfd/max7

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

2017-08-22 Thread Stephen Rothwell
Hi Baoquan, On Tue, 22 Aug 2017 13:57:58 +0800 Baoquan He wrote: > > On 08/22/17 at 01:50pm, Stephen Rothwell wrote: > > from the iommu tree and commit: > > > > 2543a786aa25 ("iommu/amd: Allow the AMD IOMMU to work with memory > > encryption") > > Could you tell where the above commit is p

Re: [PATCH] ptp: make ptp_clock_info const

2017-08-22 Thread Richard Cochran
On Tue, Aug 22, 2017 at 12:06:23PM +0530, Bhumika Goyal wrote: > By testing I meant that they have been checked by the compiler. I > haven't run the code on a hardware or some test data. Yes, compiling is good enough for this change. Thanks, Richard > > Acked-by: Richard Cochran

kernel/irq/proc.c:69:2-3: Unneeded semicolon

2017-08-22 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 14ccee78fc82f5512908f4424f541549a5705b89 commit: 0d3f54257dc300f2db480d6a46b34bdb87f18c1b genirq: Introduce effective affinity mask date: 9 weeks ago coccinelle warnings: (new ones prefixed by >>) >> ke

[PATCH] genirq: fix semicolon.cocci warnings

2017-08-22 Thread kbuild test robot
kernel/irq/proc.c:69:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Fixes: 0d3f54257dc3 ("genirq: Introduce effective affinity mask") Signed-off-by: Fengguang Wu --- proc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --

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

2017-08-22 Thread Yong
On Tue, 22 Aug 2017 08:43:35 +0200 Hans Verkuil wrote: > On 08/22/2017 05:01 AM, Yong wrote: > > Hi Hans, > > > > On Mon, 21 Aug 2017 16:37:41 +0200 > > Hans Verkuil wrote: > > > >> Hi Yong, > >> > >> First two high-level comments before I start the review: > >> > >> 1) Can you provide the v4l

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

2017-08-22 Thread Peter Zijlstra
On Tue, Aug 22, 2017 at 02:14:38PM +0900, Byungchul Park wrote: > On Mon, Aug 21, 2017 at 05:46:00PM +0200, Peter Zijlstra wrote: > > Now given the above observance rule and the fact that the below report > > is from the complete, the thing that happened appears to be: > > > > > > lockdep_map

[PATCH] firmware: add firmware to new device's devres list for second time cache

2017-08-22 Thread Kai-Heng Feng
Currently, firmware will only be chached if assign_firmware_buf() gets called. When a device loses its power or a USB device gets plugged to another port under suspend, request_firmware() can still find cached firmware, but firmware name no longer associates with the new device's devres. So next t

[PATCH v1] crypto: mediatek - Add empty messages check in GCM mode

2017-08-22 Thread Ryder Lee
Currently, empty messages are not supported in GCM mode, hence add a check to prevent producing incorrect results. Signed-off-by: Ryder Lee --- changes since v1: - fix build erro: add a missing semicolon. drivers/crypto/mediatek/mtk-aes.c | 5 + 1 file changed, 5 insertions(+) diff --git

Re: [PATCH v5 0/7] Add RAS virtualization support to SEA/SEI notification type

2017-08-22 Thread Jonathan Cameron
On Fri, 18 Aug 2017 22:11:50 +0800 Dongjiu Geng wrote: > In the firmware-first RAS solution, corrupt data is detected in a > memory location when guest OS application software executing at EL0 > or guest OS kernel El1 software are reading from the memory. The > memory node records errors in an er

Re: [PATCH v5 1/7] arm64: cpufeature: Detect CPU RAS Extentions

2017-08-22 Thread Jonathan Cameron
On Fri, 18 Aug 2017 22:11:51 +0800 Dongjiu Geng wrote: > From: Xie XiuQi > > ARM's v8.2 Extentions add support for Reliability, Availability and > Serviceability (RAS). On CPUs with these extensions system software extensions, system software > can use additional barriers to isolate errors an

[PATCH v5 0/9] ASoC: rockchip: Parse dai links from dts

2017-08-22 Thread Jeffy Chen
Currently we are using a fixed list of dai links in the driver. This serial of patches would let the driver parse dai links from dts, so that we can make some of them optional for future boards. Tested on my chromebook bob(with cros 4.4 kernel), it still works after disabled rt5514 codecs in the

Re: [PATCH v4 0/4] crypto: add driver for Axis ARTPEC crypto accelerator

2017-08-22 Thread Herbert Xu
On Thu, Aug 10, 2017 at 02:53:50PM +0200, Lars Persson wrote: > This series adds a driver for the crypto accelerator in the ARTPEC series of > SoCs from Axis Communications AB. > > Changelog v4: > - The skcipher conversion had a mistake where the algos were registered > instead of unregistered a

Re: [PATCH] crypto: cavium - add release_firmware to all return case

2017-08-22 Thread Herbert Xu
On Mon, Aug 14, 2017 at 01:58:54PM +0200, Corentin Labbe wrote: > Two return case misses to call release_firmware() and so leak some > memory. > > This patch create a fw_release label (and so a common error path) > and use it on all return case. > > Detected by CoverityScan, CID#1416422 ("Resourc

Re: [PATCH] crypto: sahara: constify platform_device_id

2017-08-22 Thread Herbert Xu
On Sun, Aug 13, 2017 at 02:34:00PM +0530, Arvind Yadav wrote: > platform_device_id are not supposed to change at runtime. All functions > working with platform_device_id provided by > work with const platform_device_id. So mark the non-const structs as > const. > > Signed-off-by: Arvind Yadav P

[PATCH v5 1/9] ASoC: rockchip: Remove obsolete dmic-delay

2017-08-22 Thread Jeffy Chen
This property is no longer used. Signed-off-by: Jeffy Chen Acked-by: Rob Herring --- Changes in v5: None Changes in v4: Use non-zero drv id to avoid legacy dai naming instead of switching to snd_soc_register_codec. Changes in v3: None Changes in v2: None .../bindings/sound/rockchip,rk3399-g

[PATCH v5 3/9] ASoC: rockchip: Use codec of_node and dai_name for rt5514 dsp

2017-08-22 Thread Jeffy Chen
Currently we are using codec name for rt5514 dsp dai link, use codec of_node instead. Signed-off-by: Jeffy Chen --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None sound/soc/rockchip/rk3399_gru_sound.c | 34 ++ 1 file changed, 2 i

[PATCH v5 8/9] ASoC: rockchip: Add support for DMIC codec

2017-08-22 Thread Jeffy Chen
Add support for optional dmic codec. Signed-off-by: Jeffy Chen --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None sound/soc/rockchip/Kconfig| 1 + sound/soc/rockchip/rk3399_gru_sound.c | 33 + 2 files changed, 34 ins

[PATCH v5 4/9] arm64: dts: rockchip: Add rt5514 dsp for Gru

2017-08-22 Thread Jeffy Chen
Add rt5514 dsp of_node to codec list for Gru boards. Signed-off-by: Jeffy Chen --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/

[PATCH v5 5/9] arm64: dts: rockchip: Update rt5514 devices' compatible for Gru

2017-08-22 Thread Jeffy Chen
Currently the rt5514 i2c driver and rt5514 spi driver are using the same compatible string. Add additional unused compatible strings to identify them for Gru boards. Signed-off-by: Jeffy Chen --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm64/boot/d

Re: [PATCH v5 3/7] acpi: apei: Add SEI notification type support for ARMv8

2017-08-22 Thread Jonathan Cameron
On Fri, 18 Aug 2017 22:11:53 +0800 Dongjiu Geng wrote: > ARMV8.2 requires implementation of the RAS extension, in > this extension it adds SEI(SError Interrupt) notification > type, this patch addes a new GHES error source handling > function for SEI. Because this error source parse and handling

Re: [PATCH] crypto: inside-secure - fix an error handling path in safexcel_probe()

2017-08-22 Thread Herbert Xu
On Tue, Aug 15, 2017 at 09:33:24PM +0200, Christophe JAILLET wrote: > 'ret' is known to be 0 at this point. > If 'safexcel_request_ring_irq()' fails, it returns an error code. > Return this value instead of 0 which means success. > > Signed-off-by: Christophe JAILLET Patch applied. Thanks. --

Re: [PATCH] crypto: cavium/nitrox - Fix an error handling path in 'nitrox_probe()'

2017-08-22 Thread Herbert Xu
On Wed, Aug 16, 2017 at 07:16:06AM +0200, Christophe JAILLET wrote: > 'err' is known to be 0 at this point. > If 'kzalloc()' fails, returns -ENOMEM instead of 0 which means success. > > Signed-off-by: Christophe JAILLET Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apan

[PATCH v5 7/9] ASoC: rockchip: Add support for DP codec

2017-08-22 Thread Jeffy Chen
Add support for optional cdn dp codec. Signed-off-by: Jeffy Chen --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None sound/soc/rockchip/Kconfig| 1 + sound/soc/rockchip/rk3399_gru_sound.c | 59 +-- 2 files changed, 58

[PATCH v5 6/9] ASoC: rockchip: Parse dai links from dts

2017-08-22 Thread Jeffy Chen
Refactor rockchip_sound_probe, parse dai links from dts instead of hard coding them. Signed-off-by: Jeffy Chen Reviewed-by: Matthias Kaehlcke Tested-by: Matthias Kaehlcke --- Changes in v5: None Changes in v4: None Changes in v3: Use compatible to match audio codecs -- Suggested-by Mat

Re: [PATCH v5 7/7] arm64: kvm: handle SEI notification and inject virtual SError

2017-08-22 Thread Jonathan Cameron
On Fri, 18 Aug 2017 22:11:57 +0800 Dongjiu Geng wrote: > After receive SError, KVM firstly call memory failure to > deal with the Error. If memory failure wants user space to > handle it, it will notify user space. This patch adds support > to userspace that injects virtual SError with specified

Re: [PATCH v5 6/7] KVM: arm64: Allow get exception information from userspace

2017-08-22 Thread Jonathan Cameron
On Fri, 18 Aug 2017 22:11:56 +0800 Dongjiu Geng wrote: > when userspace gets SIGBUS signal, it does not know whether > this is a synchronous external abort or SError, so needs > to get the exception syndrome. so this patch allows userspace > can get this values. For syndrome, only give userspace

[PATCH v5 9/9] dt-bindings: ASoC: rockchip: Update description of rockchip,codec

2017-08-22 Thread Jeffy Chen
Update description for newly added optional audio codecs. Signed-off-by: Jeffy Chen Acked-by: Rob Herring --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/sound/rockchip,rk3399-gru-sound.txt | 2 +- 1 file changed, 1 inserti

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

2017-08-22 Thread Corentin Labbe
On Mon, Aug 21, 2017 at 04:23:21PM +0200, Andrew Lunn wrote: > > All muxes are mostly always represented the same way afaik, or do you > > want to simply introduce a new compatible / property? > > + mdio-mux { > + compatible = "allwinner,sun8i-h3-mdio-switch"; > +

Re: [PATCH v5 4/7] support user space to query RAS extension feature

2017-08-22 Thread Jonathan Cameron
On Fri, 18 Aug 2017 22:11:54 +0800 Dongjiu Geng wrote: > In armv8.2 RAS extension, it adds virtual SError exception > syndrome registeri(VSESR_EL2), user space will specify that > value. so user space will check whether CPU feature has RAS > extension. if has, it will specify the virtual SError s

Re: [PATCH] crypto: rockchip: Don't dequeue the request when device is busy

2017-08-22 Thread Herbert Xu
On Tue, Aug 15, 2017 at 03:48:15PM +0800, zain wang wrote: > The device can only process one request at a time. So if multiple > requests came at the same time, we can enqueue them first, and > dequeue them one by one when the device is idle. > > Signed-off-by: zain wang Patch applied. Thanks.

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

2017-08-22 Thread Baoquan He
On 08/22/17 at 05:49pm, Stephen Rothwell wrote: > Hi Baoquan, > > On Tue, 22 Aug 2017 13:57:58 +0800 Baoquan He wrote: > > > > On 08/22/17 at 01:50pm, Stephen Rothwell wrote: > > > from the iommu tree and commit: > > > > > > 2543a786aa25 ("iommu/amd: Allow the AMD IOMMU to work with memory >

[PATCH v5 2/9] ASoC: soc-core: Allow searching dai driver name in snd_soc_find_dai

2017-08-22 Thread Jeffy Chen
Currently we are searching dai name in snd_soc_find_dai, which could either be dai driver name or component device name(for legacy naming). Allow searching dai driver name in snd_soc_find_dai too, so that we can use dai driver name to find legacy naming dais. Signed-off-by: Jeffy Chen --- Chang

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

2017-08-22 Thread Leo Yan
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 missing thermal sensors in the DT and default to the id 2 Yeah, so do you think below change works for you? ---8<--- ARM64: dts: hisilicon

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

2017-08-22 Thread Nicholas Piggin
On Tue, 22 Aug 2017 09:45:46 +0200 (CEST) Thomas Gleixner wrote: > On Tue, 22 Aug 2017, Nicholas Piggin wrote: > > I would have preferred to get comments from the timer maintainers, but > > they've been busy or away for the past copule of weeks. Perhaps you > > would consider carrying it until th

[GIT PULL] MFD fixes for v4.13

2017-08-22 Thread Lee Jones
Linus, Enjoy! The following changes since commit 520eccdfe187591a51ea9ab4c1a024ae4d0f68d9: Linux 4.13-rc2 (2017-07-23 16:15:17 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/mfd-fixes-4.13 for you to fetch changes up to 0f0fc5

[PATCH] ravb: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make these const as they are only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/renesas/ravb_main.c | 2 +- drivers/net/ethernet/renesas/sh_eth.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethe

[PATCH v5 2/6] perf: hisi: Add support for HiSilicon SoC uncore PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds support HiSilicon SoC uncore PMU driver framework and interfaces. Reviewed-by: Jonathan Cameron Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/Kconfig | 7 + drivers/perf/Makefile| 1 + drivers/perf/hisilicon/Ma

[PATCH v5 3/6] perf: hisi: Add support for HiSilicon SoC L3C PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds support for L3C PMU driver in HiSilicon SoC chip, Each L3C has own control, counter and interrupt registers and is an separate PMU. For each L3C PMU, it has 8-programable counters and each counter is free-running. Interrupt is supported to handle counter (48-bits) overflow. Reviewe

[PATCH v5 5/6] perf: hisi: Add support for HiSilicon SoC DDRC PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds support for DDRC PMU driver in HiSilicon SoC chip, Each DDRC has own control, counter and interrupt registers and is an separate PMU. For each DDRC PMU, it has 8-fixed-purpose counters which have been mapped to 8-events by hardware, it assumes that counter index is equal to event co

[PATCH v5 6/6] arm64: MAINTAINERS: hisi: Add HiSilicon SoC PMU support

2017-08-22 Thread Shaokun Zhang
Add support HiSilicon SoC uncore PMU driver. Signed-off-by: Shaokun Zhang --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 1c3feff..9d1ad57 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6147,6 +6147,13 @@ S: Maintained F: driv

[PATCH v5 1/6] Documentation: perf: hisi: Documentation for HiSilicon SoC PMU driver

2017-08-22 Thread Shaokun Zhang
This patch adds documentation for the uncore PMUs on HiSilicon SoC. Reviewed-by: Jonathan Cameron Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- Documentation/perf/hisi-pmu.txt | 53 + 1 file changed, 53 insertions(+) create mode 100644 Docume

[PATCH v5 0/6] Add HiSilicon SoC uncore Performance Monitoring Unit driver

2017-08-22 Thread Shaokun Zhang
This patchset adds support for HiSilicon SoC uncore PMUs driver. It includes L3C, Hydra Home Agent (HHA) and DDRC. Changes in v5: * remove unnecessary name/num_events member in hisi_pmu * refactor hisi_pmu_hwevents structure * remove hisi_pmu_alloc function * revise cpuhotplug for L3C PMUs * add c

[PATCH 08/11] crypto: chelsio - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/chelsio/chcr_algo.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/chelsio/chcr_algo.c b/drivers/crypto/chelsio/chcr_algo.c index 0e81607018

[PATCH 04/11] crypto: nx - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/nx/nx-aes-gcm.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/nx/nx-aes-gcm.c b/drivers/crypto/nx/nx-aes-gcm.c index abd465f479c4..a810596b9

[PATCH v3 1/3] PCI: iproc: Implement PCI hotplug support

2017-08-22 Thread Oza Pawandeep
This patch implements PCI hotplug support for iproc family chipsets. iproc based SOC (e.g. Stingray) does not have hotplug controller integrated. Hence, standard PCI hotplug framework hooks can-not be used. e.g. controlled power up/down of slot. The mechanism, for e.g. Stingray has adopted for PC

[PATCH 07/11] crypto: mediatek - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/mediatek/mtk-aes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/mediatek/mtk-aes.c b/drivers/crypto/mediatek/mtk-aes.c index 9e845e866dec..87e15b

[PATCH v3 3/3] dt-bindings: PCI iproc: Add optional property prsnt-gpios

2017-08-22 Thread Oza Pawandeep
Add description for optional device tree property 'prsnt-gpios' for PCI hotplug feature. Signed-off-by: Oza Pawandeep Reviewed-by: Ray Jui diff --git a/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt b/Documentation/devicetree/bindings/pci/brcm,iproc-pcie.txt index b8e48b4..0c5f631 1

[PATCH v3 0/3] PCI hotplug feature

2017-08-22 Thread Oza Pawandeep
These patches bring in PCI hotplug support for iproc family chipsets. It includes DT binding documentation update and, implementation in iproc pcie RC driver. These patch set is made on top of following patches. [PATCH v7 2/2] PCI: iproc: add device shutdown for PCI RC [PATCH v7 1/2] PCI: iproc:

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

2017-08-22 Thread Himanshu Jha
Check memory allocation failure and return -ENOMEM if failure occurs. Signed-off-by: Himanshu Jha --- drivers/net/wireless/atmel/at76c50x-usb.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/wireless/atmel/at76c50x-usb.c b/drivers/net/wireless/atm

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

2017-08-22 Thread Baoquan He
Hi Stephen, On 08/22/17 at 05:49pm, Stephen Rothwell wrote: > Hi Baoquan, > > On Tue, 22 Aug 2017 13:57:58 +0800 Baoquan He wrote: > > > > On 08/22/17 at 01:50pm, Stephen Rothwell wrote: > > > from the iommu tree and commit: > > > > > > 2543a786aa25 ("iommu/amd: Allow the AMD IOMMU to work wi

[PATCH] net: ethernet: ax88796: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/8390/ax88796.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/8390/ax88796.c b/drivers/net/ethernet/8390/ax88796.c in

[PATCH v3 2/3] dt-bindings: PCI: Add PCIe hotplug property

2017-08-22 Thread Oza Pawandeep
Host drivers have the requirement of implementing PCI hotplug based on the how their SOC supports PCI hotplug. Couple of properties have been added. the one to enable the hotplug feature itself, and the other caters to the PCI hotplug implementation with the use of gpios. Signed-off-by: Oza Pawan

[PATCH] net: mdio-gpio: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/phy/mdio-gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c index 7faa79b..4333c6e 1006

[PATCH 10/11] crypto: gcm - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- crypto/gcm.c | 23 --- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/crypto/gcm.c b/crypto/gcm.c index 3841b5eafa7e..80cf6cfe082b 100644 --- a/crypto/gcm.c +++ b/c

[PATCH 09/11] crypto: omap - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/omap-aes-gcm.c | 7 --- drivers/crypto/omap-aes.c | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/omap-aes-gcm.c b/drivers/crypto/omap-ae

[PATCH 11/11] crypto: aesni - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- arch/x86/crypto/aesni-intel_glue.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/x86/crypto/aesni-intel_glue.c b/arch/x86/crypto/aesni-intel_glue.c index 5c15d6b57329

[PATCH 06/11] crypto: bcm - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/bcm/cipher.c | 8 drivers/crypto/bcm/cipher.h | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/bcm/cipher.c b/drivers/crypto/bcm/cipher.c i

[PATCH] net: ethernet: freescale: fs_enet: make mdiobb_ops const

2017-08-22 Thread Bhumika Goyal
Make this const as it is only stored in a const field of a mdiobb_ctrl structure. Signed-off-by: Bhumika Goyal --- drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c b/driv

[PATCH 05/11] crypto: atmel - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/atmel-aes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index 29e20c37f3a6..903fd43f23a5 100644 --- a

[PATCH 00/11] crypto: gcm - add GCM IV size constant

2017-08-22 Thread Corentin Labbe
Many GCM users use directly GCM IV size instead of using some constant. This patch add all IV size constant used by GCM and convert drivers for using them.. Corentin Labbe (11): crypto: gcm - add GCM iv size constant crypto: caam - Use GCM IV size constant crypto: ccp - Use GCM IV size con

[PATCH 03/11] crypto: ccp - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/ccp/ccp-crypto-aes-galois.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/ccp/ccp-crypto-aes-galois.c b/drivers/crypto/ccp/ccp-crypto-aes-g

[PATCH 01/11] crypto: gcm - add GCM IV size constant

2017-08-22 Thread Corentin Labbe
Many GCM users use directly GCM IV size instead of using some constant. This patch add all IV size constant used by GCM. Signed-off-by: Corentin Labbe --- include/crypto/gcm.h | 8 1 file changed, 8 insertions(+) create mode 100644 include/crypto/gcm.h diff --git a/include/crypto/gcm

[PATCH 02/11] crypto: caam - Use GCM IV size constant

2017-08-22 Thread Corentin Labbe
This patch replace GCM IV size value by their constant name. Signed-off-by: Corentin Labbe --- drivers/crypto/caam/caamalg.c | 10 +- drivers/crypto/caam/compat.h | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/c

[PATCH v5 4/6] perf: hisi: Add support for HiSilicon SoC HHA PMU driver

2017-08-22 Thread Shaokun Zhang
L3 cache coherence is maintained by Hydra Home Agent (HHA) in HiSilicon SoC. This patch adds support for HHA PMU driver, Each HHA has own control, counter and interrupt registers and is an separate PMU. For each HHA PMU, it has 16-programable counters and each counter is free-running. Interrupt is

  1   2   3   4   5   6   7   8   9   10   >