Re: [PATCH (net.git) 0/3] stmmac: fix PTP support

2016-11-02 Thread Rayagond Kokatanur
On Wed, Oct 26, 2016 at 2:28 PM, Richard Cochran wrote: > On Wed, Oct 26, 2016 at 08:56:01AM +0200, Giuseppe Cavallaro wrote: >> This subset of patches aim to fix the PTP support >> for the stmmac and especially for 4.x chip series. >> While setting PTP on an ST box with 4.00a Ethernet >> core, th

Re: [PATCH (net.git) 2/3] stmmac: fix PTP support for GMAC4

2016-11-02 Thread Rayagond Kokatanur
On Wed, Nov 2, 2016 at 12:04 PM, Giuseppe CAVALLARO wrote: > Hello Rayagond > > if patches are ok, can we consider you Acked-by ? Yes. > > Thx > Peppe > > > On 10/27/2016 12:51 PM, Rayagond Kokatanur wrote: >> >> On Thu, Oct 27, 2016 at 4:02 PM, Giuseppe CAVALLARO >> wrote: >>> >>> Hello Rayagon

[PATCH] clk: rockchip: fix some clocks' name to be more standard style

2016-11-02 Thread Jianqun Xu
Fix aclk_emmcgrf to aclk_emmc_grf, and fix aclk_emmccore to be aclk_emmc_core. Signed-off-by: Jianqun Xu --- drivers/clk/rockchip/clk-rk3399.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c index 2c7c

Re: [PATCH v2] f2fs: replace a build-time warning with runtime WARN_ON

2016-11-02 Thread Chao Yu
Hi Arnd, Jaegeuk, It is trivial, but it's better keep commit *title*, commit log and code consistent. :) Thanks, On 2016/10/27 23:32, Arnd Bergmann wrote: > gcc is unsure about the use of last_ofs_in_node, which might happen > without a prior initialization: > > fs/f2fs//git/arm-soc/fs/f2fs/dat

[PATCH] igb/e1000: correct register comments

2016-11-02 Thread Cao jin
Signed-off-by: Cao jin --- drivers/net/ethernet/intel/igb/e1000_regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/e1000_regs.h b/drivers/net/ethernet/intel/igb/e1000_regs.h index d84afdd..58adbf2 100644 --- a/drivers/net/ethernet/intel/igb/

Re: [char-misc:char-misc-testing] warning

2016-11-02 Thread Robin van der Gracht
Hi Randy, On Tue, 1 Nov 2016 09:34:04 -0700 Randy Dunlap wrote: > On 11/01/16 09:02, Robin van der Gracht wrote: > > Hi Tobias, > > > > On Tue, 1 Nov 2016 16:33:03 +0100 > > Tobias Jakobi wrote: > > > >> Hello Robin, > >> > >> I'm afraid I can't help you with that. The series was done as a

Re: [PATCH V1]iio: adc: spmi-vadc: Changes to support different scaling

2016-11-02 Thread kbuild test robot
Hi Rama, [auto build test WARNING on iio/togreg] [also build test WARNING on v4.9-rc3 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Rama-Krishna-Phani-A/iio-adc-spmi-vadc-Changes

Re: [PATCH 2/2] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2016-11-02 Thread Vivek Gautam
Hi Srini, On Wed, Oct 26, 2016 at 7:27 PM, Srinivas Kandagatla wrote: > Hi Vivek, > > Thanks for consolidating qmp phy support for both usb and pcie. On vacation, so responses are bit late. Please bear with me. > > On 19/10/16 11:43, Vivek Gautam wrote: >> >> Qualcomm SOCs have QMP phy control

Re: [PATCH 2/2] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2016-11-02 Thread Vivek Gautam
On Thu, Oct 27, 2016 at 2:48 AM, Rob Herring wrote: > On Wed, Oct 19, 2016 at 04:13:47PM +0530, Vivek Gautam wrote: >> Qualcomm SOCs have QMP phy controller that provides support >> to a number of controller, viz. PCIe, UFS, and USB. >> Add a new driver, based on generic phy framework, for this >>

Re: [PATCH] acer-wmi: setup accelerometer when machine has appropriate notify event

2016-11-02 Thread joeyli
Hi Darren, Thanks for your review! On Tue, Nov 01, 2016 at 10:28:51AM -0700, Darren Hart wrote: > On Tue, Nov 01, 2016 at 12:33:32PM +0800, Lee, Chun-Yi wrote: > > The accelerometer event relies on on the ACERWMID_EVENT_GUID notify. > > So, this patch changes the codes to setup accelerometer inpu

Re: [f2fs-dev] [PATCH 2/3] f2fs: use __set_page_dirty_nobuffers directly

2016-11-02 Thread Chao Yu
Hi Jaegeuk, On 2016/10/21 10:28, Jaegeuk Kim wrote: > This patch replaces the copied code with original generic function. Will we plan to do further enhance inside f2fs_set_page_dirty_nobuffers, if we don't it's better revert fe76b796fc5194cc3d57265002e3a748566d073f, as we don't need to wrap __se

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-11-02 Thread Lothar Waßmann
Hi, On Mon, 31 Oct 2016 06:59:04 +0100 Sascha Hauer wrote: > As said, even the commit 7b27c160c68 introducing the register clk did not > enable the clock consistently for all register accesses. Maybe it's best > to include the following patch so that we can find a clear culprit and > do not bury t

Re: [PATCH V4] mtd: nand: add Loongson1 NAND driver

2016-11-02 Thread Boris Brezillon
On Wed, 2 Nov 2016 09:52:06 +0800 Keguang Zhang wrote: > From: Kelvin Cheung > > This patch adds NAND driver for Loongson1B. > > Signed-off-by: Kelvin Cheung > > --- > v4: >Retrieve the controller from nand_hw_control. > v3: >Replace __raw_readl/__raw_writel with readl/writel. >

[PATCH v2 2/4] ASoC: dapm: Implement stereo mixer control support

2016-11-02 Thread Chen-Yu Tsai
While DAPM is mono or single channel, its controls can be shared between widgets, such as sharing one stereo mixer control between the left and right channel widgets. An example such as the following routes [Line In Left]-[Left Mixer] ^

[PATCH v2 3/4] ASoC: dapm: Introduce DAPM_DOUBLE dual channel control type

2016-11-02 Thread Chen-Yu Tsai
A DAPM_DOUBLE control type can be used for dual channel mixer input selectors / mute controls in one register, possibly toggling both channels together. The control is meant to be shared by 2 widgets, 1 for each channel, such that the mixer control exposed to userspace remains a combined stereo co

[PATCH v2 4/4] ASoC: dapm: Introduce DAPM_DOUBLE_R dual channel dual register control type

2016-11-02 Thread Chen-Yu Tsai
A DAPM_DOUBLE_R control type can be used for dual channel mixer input selectors / mute controls across 2 registers, possibly toggling both channels together. The control is meant to be shared by 2 widgets, 1 for each channel, such that the mixer control exposed to userspace remains a combined ster

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-11-02 Thread Sascha Hauer
On Wed, Nov 02, 2016 at 08:18:52AM +0100, Lothar Waßmann wrote: > Hi, > > On Mon, 31 Oct 2016 06:59:04 +0100 Sascha Hauer wrote: > > As said, even the commit 7b27c160c68 introducing the register clk did not > > enable the clock consistently for all register accesses. Maybe it's best > > to include

[PATCH v2 1/4] ASoC: dapm: Support second register for DAPM control updates

2016-11-02 Thread Chen-Yu Tsai
To support double channel shared controls split across 2 registers, one for each channel, we must be able to update both registers together. Add a second set of register fields to struct snd_soc_dapm_update, and update the DAPM control writeback (put) callbacks to support this. For codecs that us

[PATCH] CHROMIUM: ec: register shutdown function to clear delayed works

2016-11-02 Thread Daniel Hung-yu Wu
This patch applies on top of "mfd: cros_ec: Add EC console read structures definitions" (https://patchwork.kernel.org/patch/9294887/). Reboot or shutdown during delayed works could corrupt communication with EC, and certain I2C controller may not be able to recover from the error state. BUG=chrom

[PATCH v2 0/4] ASoC: DAPM: Support stereo controls shared between widgets

2016-11-02 Thread Chen-Yu Tsai
Hi everyone, This was part of my Allwinner A31 audio codec support series. As I split up some patches, the series was getting somewhat large. Hence I'm sending out the ASoC DAPM core changes separately. The remaining Allwinner specific patches will be sent later. The complete series can be found h

[PATCH v9 0/5] mxs-lradc: Split driver into MFD

2016-11-02 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc: R

[PATCH v9 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-11-02 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - remove touch_ret variable in probe and use ret instead - make error check on of_property_read_u32 in probe Changes in v6: - update co

[PATCH v9 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-11-02 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v9: - improve commit message. Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - define macros ADC_CELL and TSC_CELL - remove one cell and dynamically se

[PATCH v9 5/5] mfd: Move binding document

2016-11-02 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v9: - format patch using -M option Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - add to the patchset Documentation/devicetree/bindings/{

[PATCH v9 4/5] iio: adc: mxs-lradc: Remove driver

2016-11-02 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - none Changes in v6: - none Changes in v5: - none Change

[PATCH v9 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-11-02 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v9: - none Changes in v8: - rebase

[PATCH 1/2] phy: rockchip-inno-usb2: support otg-port for rk3399

2016-11-02 Thread William Wu
The rk3399 SoC USB2 PHY is comprised of one Host port and one OTG port. And OTG port is for USB2.0 part of USB3.0 OTG controller, as a part to construct a fully feature Type-C subsystem. With this patch, we can support OTG port with the following functions: - Support BC1.2 charger detect, and use

[PATCH 0/2] support USB2 PHY OTG port for rk3399

2016-11-02 Thread William Wu
This series add support for rk3399 USB2 PHY0 and PHY1 OTG port. rk3399 has two USB2 PHYs, and each USB2 PHY is comprised of one Host port and one OTG port. We have supported Host port before, and try to support OTG port now. Test on rk3399-evb board. William Wu (2): phy: rockchip-inno-usb2: sup

[PATCH 2/2] arm64: dts: rockchip: add usb2-phy otg-port support for rk3399

2016-11-02 Thread William Wu
Add otg-port nodes for both u2phy0 and u2phy1. The otg-port can be used for USB2.0 part of USB3.0 OTG controller. Signed-off-by: William Wu --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.

Re: [PATCH 1/6] NCR5380: Use probe_irq_*() for IRQ probing

2016-11-02 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > Use standard probe_irq_on() and probe_irq_off() functions instead of own > implementation. This prevents warning messages like this in the kernel > log: genirq: Flags mismatch irq 1. (NCR-probe) vs. 0080 > (i8042) > > Move the IRQ trigger

Re: [PATCH 2/6] g_NCR5380: Test the IRQ before accepting it

2016-11-02 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > Trigger an IRQ first with a test IRQ handler to find out if it really > works. Disable the IRQ if not. > > This prevents hang when incorrect IRQ was specified by user. > Once again, how does it cause a hang? If the user specifies an IRQ, we should tru

Re: [PATCH 3/6] g_NCR5380: Check for chip presence before calling NCR5380_init()

2016-11-02 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > Write and read back MODE_REG to check if the chip is really there > before doing more initialization. > > This prevents hang when incorrect I/O address was specified by user (in > the most common case where no device is present there so all reads > resul

Re: [PATCH 4/6] g_NCR5380: Add IRQ auto-configuration for HP C2502

2016-11-02 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > Find free and working IRQ automatically on HP C2502 cards. > Also allow IRQ 9 to work (aliases to IRQ 2 on the card). > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/g_NCR5380.c | 29 +++-- > 1 file changed, 27 insertions(

Re: [PATCH 5/6] g_NCR5380: Autoprobe IRQ by default

2016-11-02 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > IRQ probing seems to work fine now. Default to autoprobe for IRQ instead > of disabling it. > > Signed-off-by: Ondrej Zary > --- > drivers/scsi/g_NCR5380.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi/g_

Re: [PATCH 6/6] g_NCR5380: Fix release region in error handling

2016-11-02 Thread Finn Thain
On Mon, 31 Oct 2016, Ondrej Zary wrote: > When a SW-configurable card is specified but not found, the driver > releases wrong region, causing the following message in kernel log: > Trying to free nonexistent resource <-000f> > > Fix it by assigning base earlier. > >

Re: [PATCH] soc: qcom: Add SoC info driver

2016-11-02 Thread Imran Khan
On 10/27/2016 7:11 PM, Arnd Bergmann wrote: > On Thursday, October 27, 2016 6:40:27 PM CEST Imran Khan wrote: >> On 10/26/2016 8:16 PM, Arnd Bergmann wrote: >>> On Wednesday, October 26, 2016 7:42:08 PM CEST Imran Khan wrote: On 10/26/2016 7:35 PM, Arnd Bergmann wrote: >>> As we are talkin

Re: [PATCH 09/60] dm: dm.c: replace 'bio->bi_vcnt == 1' with !bio_multiple_segments

2016-11-02 Thread Ming Lei
On Wed, Nov 2, 2016 at 11:09 AM, Kent Overstreet wrote: > On Mon, Oct 31, 2016 at 08:29:01AM -0700, Christoph Hellwig wrote: >> On Sat, Oct 29, 2016 at 04:08:08PM +0800, Ming Lei wrote: >> > Avoid to access .bi_vcnt directly, because it may be not what >> > the driver expected any more after suppo

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-11-02 Thread Lothar Waßmann
Hi, On Wed, 2 Nov 2016 08:36:14 +0100 Sascha Hauer wrote: > On Wed, Nov 02, 2016 at 08:18:52AM +0100, Lothar Waßmann wrote: > > Hi, > > > > On Mon, 31 Oct 2016 06:59:04 +0100 Sascha Hauer wrote: > > > As said, even the commit 7b27c160c68 introducing the register clk did not > > > enable the clock

Re: [PATCH v6 0/5] Functional dependencies between devices

2016-11-02 Thread Marek Szyprowski
Hi Greg, On 2016-10-31 18:47, Greg Kroah-Hartman wrote: On Sun, Oct 30, 2016 at 05:22:13PM +0100, Rafael J. Wysocki wrote: Let me quote from the previous intro messages for this series first: Time for another update. :-) Fewer changes this time, mostly to address issues found by Lukas and M

Re: [PATCHv2 3/4] mfd: altr-a10sr: Add Arria10 SR Monitor

2016-11-02 Thread Lee Jones
On Mon, 31 Oct 2016, Thor Thayer wrote: > On 10/31/2016 03:02 AM, Lee Jones wrote: > > On Thu, 27 Oct 2016, ttha...@opensource.altera.com wrote: > > > > > From: Thor Thayer > > > > > > Add the Altera Arria10 DevKit System Resource Monitor functionality > > > to the MFD device. > > > > > > Signe

Re: [PATCH] CHROMIUM: ec: register shutdown function to clear delayed works

2016-11-02 Thread Daniel Hung-yu Wu
On Wed, Oct 26, 2016 at 03:22:14PM +0100, Lee Jones wrote: > On Wed, 26 Oct 2016, Lee Jones wrote: > > > On Mon, 24 Oct 2016, Daniel Hung-yu Wu wrote: > > > > > This patch applies on top of "mfd: cros_ec: Add EC console read structures > > > definitions" (https://patchwork.kernel.org/patch/929488

Re: [PATCH v10 18/19] docs: Sysfs ABI for mediated device framework

2016-11-02 Thread Kirti Wankhede
On 10/31/2016 12:49 PM, Jike Song wrote: > On 10/27/2016 05:29 AM, Kirti Wankhede wrote: >> Added details of sysfs ABI for mediated device framework >> >> Signed-off-by: Kirti Wankhede >> Signed-off-by: Neo Jia >> Change-Id: Icb0fd4ed58a2fa793fbcb1c3d5009a4403c1f3ac >> --- >> Documentation/ABI

Re: [PATCH v10 01/19] vfio: Mediated device Core driver

2016-11-02 Thread Kirti Wankhede
On 10/29/2016 11:41 PM, Jike Song wrote: > On 10/29/2016 06:06 PM, Kirti Wankhede wrote: >> >> >> On 10/29/2016 10:00 AM, Jike Song wrote: >>> On 10/27/2016 05:29 AM, Kirti Wankhede wrote: +int mdev_register_device(struct device *dev, const struct parent_ops *ops) +{ + int ret; >>

Re: [PATCH 1/6] NCR5380: Use probe_irq_*() for IRQ probing

2016-11-02 Thread Ondrej Zary
On Wednesday 02 November 2016, Finn Thain wrote: > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > Use standard probe_irq_on() and probe_irq_off() functions instead of own > > implementation. This prevents warning messages like this in the kernel > > log: genirq: Flags mismatch irq 1. (NCR-pro

Re: [PATCH v10 07/19] vfio iommu type1: Update argument of vaddr_get_pfn()

2016-11-02 Thread Kirti Wankhede
On 10/28/2016 11:31 AM, Jike Song wrote: > On 10/27/2016 08:24 PM, Kirti Wankhede wrote: >> >> >> On 10/27/2016 5:41 PM, Jike Song wrote: >>> On 10/27/2016 05:29 AM, Kirti Wankhede wrote: Update arguments of vaddr_get_pfn() to take struct mm_struct *mm as input argument. Signe

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-11-02 Thread Sascha Hauer
On Wed, Nov 02, 2016 at 08:56:20AM +0100, Lothar Waßmann wrote: > Hi, > > On Wed, 2 Nov 2016 08:36:14 +0100 Sascha Hauer wrote: > > On Wed, Nov 02, 2016 at 08:18:52AM +0100, Lothar Waßmann wrote: > > > Hi, > > > > > > On Mon, 31 Oct 2016 06:59:04 +0100 Sascha Hauer wrote: > > > > As said, even th

Re: [PATCH v4 20/23] ARM: shmobile: rcar-gen2: Stop passing mode pins state to clock driver

2016-11-02 Thread Geert Uytterhoeven
On Tue, Nov 1, 2016 at 2:35 PM, Sergei Shtylyov wrote: >> --- a/arch/arm/mach-shmobile/setup-rcar-gen2.c >> +++ b/arch/arm/mach-shmobile/setup-rcar-gen2.c > > [...] >> >> @@ -130,7 +129,7 @@ void __init rcar_gen2_timer_init(void) >> iounmap(base); >> #endif /* CONFIG_ARM_ARCH_TIMER */ >>

Re: [RFC 12/14] regmap: SoundWire: Add regmap support for SoundWire bus

2016-11-02 Thread Hardik Shah
On Fri, Oct 28, 2016 at 07:03:55PM +0100, Mark Brown wrote: > On Fri, Oct 21, 2016 at 06:11:10PM +0530, Hardik Shah wrote: > > > +static inline void get_t_size(size_t *t_val_size, size_t *t_size, > > + int *reg_addr, > > +

Re: [PATCH 1/2] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2016-11-02 Thread Vivek Gautam
Hi Rob, On Thu, Oct 27, 2016 at 2:46 AM, Rob Herring wrote: > On Wed, Oct 19, 2016 at 04:13:46PM +0530, Vivek Gautam wrote: >> PHY transceiver driver for QUSB2 phy controller that provides >> HighSpeed functionality for DWC3 controller present on >> Qualcomm chipsets. >> >> This driver is based

Re: [PATCH] clk: fix link error for rcar-gen2

2016-11-02 Thread Geert Uytterhoeven
Hi Simon, On Mon, Oct 31, 2016 at 10:52 AM, Simon Horman wrote: > From: Simon Horman > Subject: [PATCH] ARM: shmobile: only call rcar_gen2_clocks_init() if present > > The RZ/G1M (r8a7743) uses the R-Car Gen2 core, but not the R-Car Gen2 clock > driver. This is a harbinger of a transition for R-

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-02 Thread Pavel Machek
Hi! > >>I'll have to go through the patches, et8ek8 driver is probably not > >>enough to get useful video. platform/video-bus-switch.c is needed for > >>camera switching, then some omap3isp patches to bind flash and > >>autofocus into the subdevice. > >> > >>Then, device tree support on n900 can b

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-02 Thread Ivaylo Dimitrov
On 2.11.2016 10:15, Pavel Machek wrote: Hi! I'll have to go through the patches, et8ek8 driver is probably not enough to get useful video. platform/video-bus-switch.c is needed for camera switching, then some omap3isp patches to bind flash and autofocus into the subdevice. Then, device tree

Re: [PATCH v2 2/2] power: bq27xxx_battery: add poll interval property query

2016-11-02 Thread Pavel Machek
Hi! > >> >> Better then previous one. > >> >> > >> >> But my version of bq27xxx_battery.c already contains this: > >> > > >> > This is for allowing udev rule to set the properties as well. > >> > otherwise a kinda crude RUN = " echo value > > >> > /sys/module/bq27xxx_battery/parameters/poll_interv

Re: [PATCH v3] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-02 Thread Russell King - ARM Linux
On Wed, Nov 02, 2016 at 01:18:35AM +, Kuninori Morimoto wrote: > + platform = platform_device_register_full(&pdevinfo); > + if (IS_ERR_OR_NULL(platform)) > + return PTR_ERR(platform); This is wrong. If platform is NULL, PTR_ERR() will return zero, which will be interpreted

Re: [PATCH 4/6] g_NCR5380: Add IRQ auto-configuration for HP C2502

2016-11-02 Thread Ondrej Zary
On Wednesday 02 November 2016, Finn Thain wrote: > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > Find free and working IRQ automatically on HP C2502 cards. > > Also allow IRQ 9 to work (aliases to IRQ 2 on the card). > > > > Signed-off-by: Ondrej Zary > > --- > > drivers/scsi/g_NCR5380.c | 29 +++

Re: [PATCHv3 15/41] filemap: handle huge pages in do_generic_file_read()

2016-11-02 Thread Kirill A. Shutemov
On Tue, Nov 01, 2016 at 05:39:40PM +0100, Jan Kara wrote: > On Mon 31-10-16 21:10:35, Kirill A. Shutemov wrote: > > > If I understand the motivation right, it is mostly about being able to > > > mmap > > > PMD-sized chunks to userspace. So my naive idea would be that we could > > > just > > > imp

Re: [PATCH v1] iio: adc: at91: add suspend and resume callback

2016-11-02 Thread Ludovic Desroches
On Wed, Nov 02, 2016 at 10:40:16AM +0800, Wenyou Yang wrote: > Add suspend/resume callback, support the pinctrl sleep state when > the system suspend as well. > > Signed-off-by: Wenyou Yang > --- > > drivers/iio/adc/at91_adc.c | 35 +++ > 1 file changed, 35 inser

[PATCH v4 0/6] Advantech iManager EC driver set

2016-11-02 Thread Richard Vidal-Dorsch
The Advantech iManager is a custom embedded controller based on ITE IT8518 or IT8528 EC (depending on PCB). It runs a custom firmware that provides access to features such as GPIO, I2C/SMbus, hwmon, watchdog, and backlight/brightness control. All drivers are being managed by the iManager (mfd) cor

Re: [PATCH] clk: fix link error for rcar-gen2

2016-11-02 Thread Simon Horman
On Wed, Nov 02, 2016 at 09:14:02AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Mon, Oct 31, 2016 at 10:52 AM, Simon Horman wrote: > > From: Simon Horman > > Subject: [PATCH] ARM: shmobile: only call rcar_gen2_clocks_init() if present > > > > The RZ/G1M (r8a7743) uses the R-Car Gen2 core,

[PATCH v4 6/6] Add Advantech iManager Watchdog driver

2016-11-02 Thread Richard Vidal-Dorsch
Signed-off-by: Richard Vidal-Dorsch --- drivers/watchdog/Kconfig| 11 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/imanager_wdt.c | 303 3 files changed, 315 insertions(+) create mode 100644 drivers/watchdog/imanager_wdt.c diff -

[PATCH v4 5/6] Add Advantech iManager Backlight driver

2016-11-02 Thread Richard Vidal-Dorsch
Signed-off-by: Richard Vidal-Dorsch --- drivers/video/backlight/Kconfig | 8 ++ drivers/video/backlight/Makefile | 1 + drivers/video/backlight/imanager_bl.c | 210 ++ 3 files changed, 219 insertions(+) create mode 100644 drivers/video/backlight/ima

[PATCH v4 2/6] Add Advantech iManager GPIO driver

2016-11-02 Thread Richard Vidal-Dorsch
Signed-off-by: Richard Vidal-Dorsch --- drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-imanager.c | 155 +++ 3 files changed, 166 insertions(+) create mode 100644 drivers/gpio/gpio-imanager.c diff --git a/d

[PATCH v4 1/6] Add Advantech iManager MFD core driver

2016-11-02 Thread Richard Vidal-Dorsch
This patch adds Advantech iManager Embedded Controller MFD core driver. This mfd core dirver provides an interface for GPIO, I2C, HWmon, Watchdog, and Backlight/Brightness control. Signed-off-by: Richard Vidal-Dorsch --- drivers/mfd/Kconfig | 18 + drivers/mfd/Makefile|

[PATCH] KVM: x86: drop TSC offsetting kvm_x86_ops to fix KVM_GET/SET_CLOCK

2016-11-02 Thread Paolo Bonzini
Since commit a545ab6a0085 ("kvm: x86: add tsc_offset field to struct kvm_vcpu_arch", 2016-09-07) the offset between host and L1 TSC is cached and need not be fished out of the VMCS or VMCB. This means that we can implement adjust_tsc_offset_guest and read_l1_tsc entirely in generic code. The simp

[PATCH v4 4/6] Add Advantech iManager I2C driver

2016-11-02 Thread Richard Vidal-Dorsch
Signed-off-by: Richard Vidal-Dorsch --- drivers/i2c/busses/Kconfig| 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-imanager.c | 461 ++ 3 files changed, 472 insertions(+) create mode 100644 drivers/i2c/busses/i2c-imanager.c d

[PATCH v4 3/6] Add Advantech iManager HWmon driver

2016-11-02 Thread Richard Vidal-Dorsch
Signed-off-by: Richard Vidal-Dorsch --- drivers/hwmon/Kconfig | 11 + drivers/hwmon/Makefile |1 + drivers/hwmon/imanager-hwmon.c | 1226 3 files changed, 1238 insertions(+) create mode 100644 drivers/hwmon/imanager-hwmon.c diff --

Re: [PATCH v2 2/3] cpuidle:powernv: Add helper function to populate powernv idle states.

2016-11-02 Thread Gautham R Shenoy
Hi Oliver, Thanks for reviewing the patch! On Tue, Nov 01, 2016 at 07:32:58PM +1100, Oliver O'Halloran wrote: > On Thu, Oct 27, 2016 at 7:35 PM, Gautham R. Shenoy > wrote: > > From: "Gautham R. Shenoy" > > > > In the current code for powernv_add_idle_states, there is a lot of code > > duplicati

Re: [PATCH] sdhci-esdhc-imx: fix bus-width for 1-bit operation.

2016-11-02 Thread Dong Aisheng
Hi Leonardo, On Tue, Nov 1, 2016 at 11:58 PM, Leonardo G. Veiga wrote: > From: Leonardo Graboski Veiga > > The 1-bit operation mode, enabled by seeting the 'bus-width' property of > the device tree 'esdhc' node to <1>, not work while using SD card. > > The behavior is only noticed when only the

Re: [PATCH 2/2] mmc: sdhci: Use sdhci-caps-mask and sdhci-caps to change the caps read during __sdhci_read_caps

2016-11-02 Thread Adrian Hunter
On 28/10/16 18:56, Zach Brown wrote: > The sdhci capabilities register can be incorrect. The sdhci-caps-mask > and sdhci-caps dt properties specify which bits of the register are > incorrect and what their values should be. This patch makes the sdhci > driver use those properties to correct the cap

Re: [PATCH] ASoC: sun4i-codec: Enable bus clock after getting GPIO

2016-11-02 Thread Maxime Ripard
On Tue, Nov 01, 2016 at 02:31:55PM +0800, Chen-Yu Tsai wrote: > In the current probe function the GPIO is acquired after the codec's > bus clock is enabled. However if it fails to acquire the GPIO due to > a deferred probe, it does not disable the bus clock before bailing out. > This would result i

Re: [PATCH v2 03/10] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-11-02 Thread Lothar Waßmann
Hi, On Wed, 2 Nov 2016 09:06:45 +0100 Sascha Hauer wrote: > On Wed, Nov 02, 2016 at 08:56:20AM +0100, Lothar Waßmann wrote: > > Hi, > > > > On Wed, 2 Nov 2016 08:36:14 +0100 Sascha Hauer wrote: > > > On Wed, Nov 02, 2016 at 08:18:52AM +0100, Lothar Waßmann wrote: > > > > Hi, > > > > > > > > On M

Re: [PATCH] PM / sleep: fix device reference leak in test_suspend

2016-11-02 Thread Pavel Machek
On Tue 2016-11-01 11:49:56, Johan Hovold wrote: > Make sure to drop the reference taken by class_find_device() after > opening the rtc device. > > Fixes: 77437fd4e61f ("pm: boot time suspend selftest") > Signed-off-by: Johan Hovold Acked-by: Pavel Machek > --- > kernel/power/suspend_test.c |

[PATCH 2/3] powerpc: Add encoding for couple of load/store instructions

2016-11-02 Thread Ravi Bangoria
These encodings will be used in subsequent patch that test emulate_step for load/store instructions. Signed-off-by: Ravi Bangoria --- arch/powerpc/include/asm/ppc-opcode.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm

[PATCH 0/3] powerpc: Emulation support for load/store instructions on LE

2016-11-02 Thread Ravi Bangoria
emulate_step is the basic infrastructure which is used by number of other kernel infrastructures like kprobe, hw-breakpoint(data breakpoint) etc. In case of kprobe, enabling emulation of load/store instructions will speedup the execution of probed instruction. In case of kernel-space breakpoint, ca

[PATCH 3/3] powerpc: emulate_step test for load/store instructions

2016-11-02 Thread Ravi Bangoria
Add new selftest that test emulate_step for Normal, Floating Point, Vector and Vector Scalar - load/store instructions. Test should run at boot time if CONFIG_KPROBES_SANITY_TEST and CONFIG_PPC64 is set. Sample log: [0.762063] emulate_step smoke test: start. [0.762219] emulate_step sm

[PATCH 1/3] powerpc: Emulation support for load/store instructions on LE

2016-11-02 Thread Ravi Bangoria
emulate_step() uses a number of underlying kernel functions that were initially not enabled for LE. This has been rectified since. So, fix emulate_step() for LE for the corresponding instructions. Reported-by: Anton Blanchard Signed-off-by: Ravi Bangoria --- arch/powerpc/lib/sstep.c | 20 --

Re: [PATCH v2 3/6] usb: ehci: fsl: use bus->sysdev for DMA configuration

2016-11-02 Thread kbuild test robot
ord what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Sriram-Dash/inherit-dma-configuration-from-parent-dev/20161102-141353 base: https://git.kernel.org/pub/

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2016-11-02 Thread Rajendra Nayak
Hi Jon, On 10/31/2016 04:14 PM, Jon Hunter wrote: > Hi Rajendra, > > On 06/10/16 09:43, Rajendra Nayak wrote: >> >> On 10/06/2016 01:55 PM, Jon Hunter wrote: >>> Hi Rajendra, >>> >>> On 06/10/16 07:04, Rajendra Nayak wrote: On 09/20/2016 03:58 PM, Jon Hunter wrote: > The Tegra124/21

Re: [PATCH 1/2] phy: qcom-qusb2: New driver for QUSB2 PHY on Qcom chips

2016-11-02 Thread Vivek Gautam
Hi Kishon, On Thu, Oct 27, 2016 at 1:26 AM, Kishon Vijay Abraham I wrote: > Hi, I am currently on vacation, so the responses are delayed a bit. Please bear with me. > > On Wednesday 19 October 2016 04:13 PM, Vivek Gautam wrote: >> PHY transceiver driver for QUSB2 phy controller that provides >

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-11-02 Thread Geert Uytterhoeven
Hi Stephen, Thanks for your answers! On Tue, Nov 1, 2016 at 12:25 AM, Stephen Boyd wrote: > On 10/31, Geert Uytterhoeven wrote: >> Hi Mike, Stephen, Arnd, Olof, Kevin, >> >> Is the merge strategy [see # below] OK for you? >> Thanks a lot! >> >> On Mon, Oct 31, 2016 at 9:19 AM, Simon Horman

[PATCH V2] mac80211: Ignore VHT IE from peer with wrong rx_mcs_map

2016-11-02 Thread Filip Matusiak
This is a workaround for VHT-enabled STAs which break the spec and have the VHT-MCS Rx map filled in with value 3 for all eight spacial streams, an example is AR9462 in AP mode. As per spec, in section 22.1.1 Introduction to the VHT PHY A VHT STA shall support at least single spactial stream VHT-M

[PATCH V3 3/6] arm64: Handle TRAP_TRACE for user mode as well

2016-11-02 Thread Pratyush Anand
uprobe registers a handler at step_hook. So, single_step_handler now checks for user mode as well if there is a valid hook. Signed-off-by: Pratyush Anand --- arch/arm64/kernel/debug-monitors.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/arch/arm64

[PATCH V3 0/6] ARM64: Uprobe support added

2016-11-02 Thread Pratyush Anand
Changes since v2: * arm64 specific is_trap_insn() removed. Using default implementation. * arch_uprobe_analyze_insn() returns -ENOTSUPP for 32bit task probe. V2 was here: https://lkml.org/lkml/2016/9/27/58 Patches have been rebased on v4.9-rc3. They have been tested with mustang and seattle platfo

[PATCH V3 2/6] arm64: kgdb_step_brk_fn: ignore other's exception

2016-11-02 Thread Pratyush Anand
ARM64 step exception does not have any syndrome information. So, it is responsibility of exception handler to take care that they handle it only if exception was raised for them. Since kgdb_step_brk_fn() always returns 0, therefore we might have problem when we will have other step handler registe

[PATCH V3 1/6] arm64: kprobe: protect/rename few definitions to be reused by uprobe

2016-11-02 Thread Pratyush Anand
decode-insn code has to be reused by arm64 uprobe implementation as well. Therefore, this patch protects some portion of kprobe code and renames few other, so that decode-insn functionality can be reused by uprobe even when CONFIG_KPROBES is not defined. kprobe_opcode_t and struct arch_specific_in

[PATCH V3 5/6] arm64: introduce mm context flag to keep 32 bit task information

2016-11-02 Thread Pratyush Anand
We need to decide in some cases like uprobe instruction analysis that whether the current mm context belongs to a 32 bit task or 64 bit. This patch has introduced an unsigned flag variable in mm_context_t. Currently, we set and clear TIF_32BIT depending on the condition that whether an elf binary

[PATCH V3 4/6] arm64: Handle TRAP_BRKPT for user mode as well

2016-11-02 Thread Pratyush Anand
uprobe is registered at break_hook with a unique ESR code. So, when a TRAP_BRKPT occurs, call_break_hook checks if it was for uprobe. If not, then send a SIGTRAP to user. Signed-off-by: Pratyush Anand --- arch/arm64/kernel/debug-monitors.c | 18 +++--- 1 file changed, 11 insertions(+

Re: [PATCH v2][RESEND] seq_file: don't set read position for invalid iterator

2016-11-02 Thread Miklos Szeredi
On Mon, Oct 31, 2016 at 10:32:21AM +0100, Tomasz Majchrzak wrote: > On Wed, Oct 26, 2016 at 11:17:13AM +0200, Miklos Szeredi wrote: > > On Wed, Oct 12, 2016 at 2:07 PM, Tomasz Majchrzak > > wrote: > > > If kernfs file is empty on a first read, successive read operations > > > using the same file d

Re: [PATCH 3/4] cputime/powerpc/s390: make scaled cputime arch specific

2016-11-02 Thread Christian Borntraeger
On 10/31/2016 01:36 PM, Stanislaw Gruszka wrote: > Only s390 and powerpc have hardware facilities allowing to measure > cputimes scaled by frequency. On all other architectures > utimescaled/stimescaled are equal to utime/stime (however they are > accounted separately). > > Patch remove {u,s}times

[PATCH V3 6/6] arm64: Add uprobe support

2016-11-02 Thread Pratyush Anand
This patch adds support for uprobe on ARM64 architecture. Unit tests for following have been done so far and they have been found working 1. Step-able instructions, like sub, ldr, add etc. 2. Simulation-able like ret, cbnz, cbz etc. 3. uretprobe 4. Reject-able instructions like sev

[PATCH 2/3] soc/tegra: pmc: Add interface to get IO pad power status

2016-11-02 Thread Laxman Dewangan
Add API to get the IO pad power status of the Tegra IO pads. This will help client driver to get the current power status of IO pads for handling IO pad power. Signed-off-by: Laxman Dewangan --- Based on the branch (https://github.com/thierryreding/linux/tree/tegra186). This was sent earl

[PATCH 1/3] soc/tegra: pmc: Remove legacy Tegra I/O rail API

2016-11-02 Thread Laxman Dewangan
Remove tegra_io_rail_power_on() and tegra_io_rail_power_off() from header as client has been moved to new APIs. Signed-off-by: Laxman Dewangan --- Based on the branch (https://github.com/thierryreding/linux/tree/tegra186). This is just residual of earlier applied patch commit 7cf94b5869b9

Re: [PATCH net-next 07/11] net: dsa: mv88e6xxx: add port link setter

2016-11-02 Thread Andrew Lunn
On Wed, Nov 02, 2016 at 02:07:09AM +0100, Vivien Didelot wrote: > Hi Andrew, > > Andrew Lunn writes: > > >> +#define LINK_UNKNOWN -1 > >> + > >> + /* Port's MAC link state > >> + * LINK_UNKNOWN for normal link detection, 0 to force link down, > >> + * otherwise force link up. > >> +

Re: [PATCH 1/2] phy: rockchip-inno-usb2: support otg-port for rk3399

2016-11-02 Thread kbuild test robot
to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/William-Wu/support-USB2-PHY-OTG-port-for-rk3399/20161102-160006 base: https://git.kernel.org/pub/

[PATCH v2] iio: adc: at91: add suspend and resume callback

2016-11-02 Thread Wenyou Yang
Add suspend/resume callback, support the pinctrl sleep state when the system suspend as well. Signed-off-by: Wenyou Yang --- Changes in v2: - Use CONFIG_PM_SLEEP. - Use SIMPLE_DEV_PM_OPS macro. drivers/iio/adc/at91_adc.c | 28 1 file changed, 28 insertions(+) di

[PATCH 0/2] pinctrl: tegra: Add support for IO pad control

2016-11-02 Thread Laxman Dewangan
NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO power rail sources. When IO interface are not used then IO pads can be configure in low power state to reduce the power from that

[PATCH 0/3] soc/tegra: pmc: Add support for IO pad configuration and sub-driver

2016-11-02 Thread Laxman Dewangan
Tegra SoC support the configutaion of IO pads to multi-level voltage and low power state. The conifguration is done via pictrl framework and the io pad driver in pinctrl frameowrk uses the APIs from pmc to access PMC registers. This series add the API to get the IO pad power status and register th

[PATCH 1/2] pinctrl: tegra: Add DT binding for io pads control

2016-11-02 Thread Laxman Dewangan
NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO power rail sources. When IO interface are not used then IO pads can be configure in low power state to reduce the power from that

Re: [PATCH v2] EFI loader: remove redundant code

2016-11-02 Thread Ard Biesheuvel
Hello Eugene, On 2 November 2016 at 04:18, Eugene Korenevsky wrote: > *e820ext is always NULL in 'alloc_e820ext()' (see the code of 'exit_boot()'). > Without loss of generality we can replace freeing with returning > EFI_INVALID_PARAMETER. So if the caller would ever incorrectly pass non-NULL > *

[PATCH 3/3] soc/tegra: pmc: Register PMC child devices as platform device

2016-11-02 Thread Laxman Dewangan
Power Management Controller(PMC) of Tegra does the multiple chip power management related functionality for internal and IO interfacing. Some of the functionalities are power gating of IP blocks, IO pads voltage and power state configuration, system power state configurations, wakeup controls etc.

  1   2   3   4   5   6   7   >