Re: [PATCH 1/1 linux-next] udf: return inappropriate ioctl instead of argument error

2017-01-20 Thread Jan Kara
On Thu 19-01-17 21:41:37, Fabian Frederick wrote: > Currently, lsattr for instance in udf directory gives > "udf: Invalid argument While reading flags on ..." > > This patch removes argument testing and returns -ENOIOCTLCMD > when command is unknown to have more accurate message like this: > "Inap

[PATCH v3 5/5] drm/rockchip/dsi: add dw-mipi power domain support

2017-01-20 Thread Chris Zhong
Reference the power domain incase dw-mipi power down when in use. Signed-off-by: Chris Zhong --- Changes in v3: None drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c b/drivers/gpu/drm/rockchip/d

Re: Linux 4.4.44

2017-01-20 Thread Greg KH
diff --git a/Makefile b/Makefile index 04a2186a4276..d6a1de0e2bd7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 43 +SUBLEVEL = 44 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/powerpc/kernel/ibmebus.c b/arch/powerpc/kernel/ibmebus.c ind

Re: [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-eval

2017-01-20 Thread Alexandre Torgue
Hi Fabrice On 01/19/2017 02:34 PM, Fabrice Gasnier wrote: Define and enable pwm1 and pwm3, timers1 & 3 trigger outputs on stm32f469-eval board. Signed-off-by: Fabrice Gasnier --- Typo issue in commit header (stm32f469 --> stm32f429) arch/arm/boot/dts/stm32429i-eval.dts | 28

[PATCH v3 4/5] dt-bindings: add power domain node for dw-mipi-rockchip

2017-01-20 Thread Chris Zhong
Signed-off-by: Chris Zhong Acked-by: Rob Herring --- Changes in v3: None .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt b/Documentation/d

Linux 4.4.44

2017-01-20 Thread Greg KH
I'm announcing the release of the 4.4.44 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v11 2/8] power: add power sequence library

2017-01-20 Thread Rafael J. Wysocki
On Fri, Jan 20, 2017 at 8:52 AM, Peter Chen wrote: > On Tue, Jan 10, 2017 at 03:02:41PM +0800, Peter Chen wrote: >> On Sat, Jan 07, 2017 at 10:54:56AM +0200, Krzysztof Kozlowski wrote: >> > On Thu, Jan 05, 2017 at 02:01:53PM +0800, Peter Chen wrote: >> > > We have an well-known problem that the de

Re: [PATCH RFC] vfio error recovery: kernel support

2017-01-20 Thread Cao jin
On 01/20/2017 04:16 AM, Michael S. Tsirkin wrote: > This is a design and an initial patch for kernel side for AER > support in VFIO. > > 0. What happens now (PCIE AER only) >Fatal errors cause a link reset. >Non fatal errors don't. >All errors stop the VM eventually, but not immediat

Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h

2017-01-20 Thread Gideon D'souza
rael-Dsouza/compiler-gcc-h-Added-new-macro-for-gcc-attribute/20170120-032332 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git >> for-next >> config: m68k-allmodconfig (attached as .config) > > Hmm, although Gideon seems to have use git-send-emai

Re: [PATCH 1/2] ARM: dts: exynos: Add CLK_ACLK432_SCALER clock to gsc_pd for Exynos5800

2017-01-20 Thread Javier Martinez Canillas
Hello, On 01/19/2017 07:29 PM, Javier Martinez Canillas wrote: > On Exynos5800 SoC the SCALER block uses 2 input clocks: CLK_ACLK_300_GSCL > and CLK_ACLK432_SCALER, so both needs to be ungated in order to access it. > > The SoC manual say the CLK_ACLK432_SCALER is needed to access the internal >

Re: [PATCH v2 7/7] Input: pwm-beeper - switch to using "atomic" PWM API

2017-01-20 Thread Thierry Reding
On Thu, Jan 19, 2017 at 02:40:57PM -0800, Dmitry Torokhov wrote: > The "atomic" API allows us to configure PWM period and duty cycle and > enable it in one call. > > Signed-off-by: Dmitry Torokhov > --- > drivers/input/misc/pwm-beeper.c | 25 - > 1 file changed, 16 insert

Re: [patch 3/3] PTP: add kvm PTP driver

2017-01-20 Thread Marcelo Tosatti
On Wed, Jan 18, 2017 at 04:20:33PM +0100, Radim Krcmar wrote: > 2017-01-18 12:53-0200, Marcelo Tosatti: > > GOn Wed, Jan 18, 2017 at 12:37:25PM -0200, Marcelo Tosatti wrote: > > > On Wed, Jan 18, 2017 at 01:46:58PM +0100, Paolo Bonzini wrote: > > > > > > > > > > > > On 18/01/2017 13:24, Marcelo T

Re: [patch 3/3] PTP: add kvm PTP driver

2017-01-20 Thread Marcelo Tosatti
On Wed, Jan 18, 2017 at 04:45:07PM +0100, Paolo Bonzini wrote: > > > On 18/01/2017 15:50, Marcelo Tosatti wrote: > >> Interesting idea! For this to work, KVM needs to implement > >> getcrosstimestamp and ptp_chardev.c can then add an alternative > >> implementation of PTP_SYS_OFFSET, based on pr

Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h

2017-01-20 Thread Geert Uytterhoeven
Hi Gideon, On Fri, Jan 20, 2017 at 11:21 AM, Gideon D'souza wrote: >> Gideon: what exactly did you use to send this email series? > I used git format-patch and then send-email on my Fedora 24 system. > > I did : > > git format-patch HEAD^^ # this generated two patches for the two commits I > mad

Re: [PATCH v3] iio: light: acpi-als: Properly enable on ASUS Zenbooks

2017-01-20 Thread Marek Vasut
On 01/20/2017 03:53 AM, Matt Ranostay wrote: > On Thu, Jan 19, 2017 at 11:01 AM, Josef Gajdusek wrote: >> ASUS Zenbooks need several special ACPI calls to enable the ALS peripheral. >> Otherwise, reads just return 0. >> >> Signed-off-by: Josef Gajdusek >> --- >> drivers/iio/light/acpi-als.c | 60

Re: [PATCH 7/7] ARM: dts: stm32: Enable pwm1 and pwm3 for stm32f469-eval

2017-01-20 Thread Fabrice Gasnier
On 01/20/2017 11:19 AM, Alexandre Torgue wrote: Hi Fabrice On 01/19/2017 02:34 PM, Fabrice Gasnier wrote: Define and enable pwm1 and pwm3, timers1 & 3 trigger outputs on stm32f469-eval board. Signed-off-by: Fabrice Gasnier --- Typo issue in commit header (stm32f469 --> stm32f429) Hi Alexa

Re: [PATCH v10 0/8] Cavium MMC driver

2017-01-20 Thread Jan Glauber
On Thu, Jan 19, 2017 at 09:47:33AM -0800, David Daney wrote: > On 01/19/2017 06:50 AM, Jan Glauber wrote: > [...] > > > >>4) GPIO powers should be modelled as GPIO regulators. I believe we > >>have discussed this earlier as well (I don't really recall in detail > >>about the last things). It gives

[PATCH v2 4/4] mm, page_alloc: fix premature OOM when racing with cpuset mems update

2017-01-20 Thread Vlastimil Babka
Ganapatrao Kulkarni reported that the LTP test cpuset01 in stress mode triggers OOM killer in few seconds, despite lots of free memory. The test attempts to repeatedly fault in memory in one process in a cpuset, while changing allowed nodes of the cpuset between 0 and 1 in another process. The pro

[PATCH v2 2/4] mm, page_alloc: fix fast-path race with cpuset update or removal

2017-01-20 Thread Vlastimil Babka
Ganapatrao Kulkarni reported that the LTP test cpuset01 in stress mode triggers OOM killer in few seconds, despite lots of free memory. The test attempts to repeatedly fault in memory in one process in a cpuset, while changing allowed nodes of the cpuset between 0 and 1 in another process. One pos

Re: 4.9.3, NULL pointer in __wake_up_common / drm / i915

2017-01-20 Thread Olaf Hering
On Thu, Dec 01, Olaf Hering wrote: > On Wed, Nov 16, Olaf Hering wrote: > > During boot into a current openSUSE Tumbleweed 20161108 this laptop > > starts to hang sometimes with 4.8.x. Today I was able to catch this > > crash in __wake_up_common caused by i915 or drm or whatever: > > ... > > [

[PATCH v2 3/4] mm, page_alloc: move cpuset seqcount checking to slowpath

2017-01-20 Thread Vlastimil Babka
This is a preparation for the following patch to make review simpler. While the primary motivation is a bug fix, this also simplifies the fast path, although the moved code is only enabled when cpusets are in use. Signed-off-by: Vlastimil Babka Cc: Acked-by: Mel Gorman --- mm/page_alloc.c | 47

[PATCH v2 0/4] fix premature OOM regression in 4.7+ due to cpuset races

2017-01-20 Thread Vlastimil Babka
Changes since v1: - add/remove comments per Michal Hocko and Hillf Danton - move no_zone: label in patch 3 so we don't miss part of ac initialization This is v2 of my attempt to fix the recent report based on LTP cpuset stress test [1]. The intention is to go to stable 4.9 LTSS with this, as trigg

[PATCH v2 1/4] mm, page_alloc: fix check for NULL preferred_zone

2017-01-20 Thread Vlastimil Babka
Since commit c33d6c06f60f ("mm, page_alloc: avoid looking up the first zone in a zonelist twice") we have a wrong check for NULL preferred_zone, which can theoretically happen due to concurrent cpuset modification. We check the zoneref pointer which is never NULL and we should check the zone pointe

[GIT PULL] fuse fixes for 4.10-rc5

2017-01-20 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-linus Fix two regressions, one introduced in 4.9 and a less recent one in 4.2. Thanks, Miklos --- David Sheets (1): fuse: fix time_to_jiffies nsec sanity check Tahsin Erdogan (1): fus

[PATCH] clk: samsung: exynos5420: Mark CLK_ACLK432_SCALER as CLK_IS_CRITICAL

2017-01-20 Thread Javier Martinez Canillas
On Exynos5800 SoC the SCALER block uses 2 input clocks: CLK_ACLK_300_GSCL and CLK_ACLK432_SCALER, so both needs to be ungated in order to access it. But Exynos5420 only has the CLK_ACLK_300_GSCL as gsc_pd clk. So just using this definition from exynos5420.dtsi in Exynos5800 leads to the following:

Re: [PATCH 6/7] arm, arm64: factorize common cpu capacity default code

2017-01-20 Thread Juri Lelli
Hi Dietmar, On 19/01/17 16:00, Dietmar Eggemann wrote: > On 19/01/17 14:37, Juri Lelli wrote: > > arm and arm64 share lot of code relative to parsing CPU capacity > > information from DT, using that information for appropriate scaling and > > exposing a sysfs interface for chaging such values at r

[GIT PULL] overlayfs fix for 4.10-rc5

2017-01-20 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus This fixes a regression introduced in this cycle. Thanks, Miklos --- Amir Goldstein (1): ovl: fix possible use after free on redirect dir lookup --- fs/overlayfs/namei.c | 27 ++

Re: [PATCH 05/13] x86, dax: replace clear_pmem() with open coded memset + dax_ops->flush

2017-01-20 Thread Jan Kara
On Thu 19-01-17 19:50:39, Dan Williams wrote: > The clear_pmem() helper simply combines a memset() plus a cache flush. > Now that the flush routine is optionally provided by the dax device > driver we can avoid unnecessary cache management on dax devices fronting > volatile memory. > > With clear_

Re: [PATCH 2/2] [media] exynos-gsc: Fix imprecise external abort due disabled power domain

2017-01-20 Thread Javier Martinez Canillas
Hello, On 01/20/2017 07:06 AM, Javier Martinez Canillas wrote: > Hello Marek, > > On 01/20/2017 05:37 AM, Marek Szyprowski wrote: > > [snip] >> >> Please send this patch instead of adding more clocks to the power domains. >> This way we will avoid adding more dependencies to userspace (DT ABI).

[RFC] dmaengine: Add DW AXI DMAC driver

2017-01-20 Thread Eugeniy Paltsev
This patch adds support for the DW AXI DMAC controller. DW AXI DMAC is a part of upcoming development board from Synopsys. In this driver implementation only DMA_MEMCPY and DMA_SG transfers are supported. Note: there is no DT documentation in this patch yet, but it will be added in the nearest f

Re: [PATCH v4 01/14] devicetree: bindings: add bindings for ahci-da850

2017-01-20 Thread Sekhar Nori
On Thursday 19 January 2017 06:59 PM, Bartosz Golaszewski wrote: > Add DT bindings for the TI DA850 AHCI SATA controller. > > Signed-off-by: Bartosz Golaszewski > --- > Documentation/devicetree/bindings/ata/ahci-da850.txt | 15 +++ > 1 file changed, 15 insertions(+) > create mode 10

Re: [PATCH 3/3] cpuidle/menu: add per cpu pm_qos_resume_latency consideration

2017-01-20 Thread Daniel Lezcano
On Thu, Jan 19, 2017 at 10:43:23PM +0100, Rafael J. Wysocki wrote: [ ... ] > > This function is called from the notifier callback: > > > > static int cpuidle_latency_notify(struct notifier_block *b, > > unsigned long l, void *v) > > { > > - wake_up_all_idle_cpus(); > > +

Re: [PATCH v4 06/14] ARM: davinci: da850: model the SATA refclk

2017-01-20 Thread Sekhar Nori
On Thursday 19 January 2017 06:59 PM, Bartosz Golaszewski wrote: > Register a dummy clock modelling the external SATA oscillator for I had asked about this earlier. I dont think calling it a dummy clock is right. Can you fix it or respond to my earlier mail with any objections? > da850 (both DT a

Re: [PATCH v4 06/14] ARM: davinci: da850: model the SATA refclk

2017-01-20 Thread Bartosz Golaszewski
2017-01-20 11:52 GMT+01:00 Sekhar Nori : > On Thursday 19 January 2017 06:59 PM, Bartosz Golaszewski wrote: >> Register a dummy clock modelling the external SATA oscillator for > > I had asked about this earlier. I dont think calling it a dummy clock is > right. Can you fix it or respond to my earl

Re: [PATCH net] virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving

2017-01-20 Thread Rolf Neugebauer
On Fri, Jan 20, 2017 at 6:32 AM, Jason Wang wrote: > Commit 501db511397f ("virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on > xmit") in fact disables VIRTIO_HDR_F_DATA_VALID on receiving path too, > fixing this by adding a hint (has_data_valid) and set it only on the > receiving path. > > Cc: Rolf

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-20 Thread Mel Gorman
On Fri, Jan 20, 2017 at 12:35:44AM -0600, Trevor Cordes wrote: > > > Hi! The git tree above version oom'd after < 24 hours (3:02am) so > > > it doesn't solve the bug. If you need a oom messages dump let me > > > know. > > > > Yes please. > > The first oom from that night attached. Note, the

Re: [PATCH v4 2/2] hv_utils: implement Hyper-V PTP source

2017-01-20 Thread Vitaly Kuznetsov
://github.com/0day-ci/linux/commits/Vitaly-Kuznetsov/hv_util-adjust-system-time-smoothly/20170120-011342 > config: x86_64-rhel (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > # save the attached .config to linux build tree > ma

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-01-20 Thread Paolo Valente
> Il giorno 17 gen 2017, alle ore 03:47, Jens Axboe ha scritto: > > On 12/22/2016 09:49 AM, Paolo Valente wrote: >> >>> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: >>> >>> This is basically identical to deadline-iosched, except it registers >>> as a MQ capable scheduler. Thi

Re: [PATCH] mm: add arch-independent testcases for RODATA

2017-01-20 Thread Mark Rutland
On Fri, Jan 20, 2017 at 03:49:46PM +0900, park jinbum wrote: > Where is the best place for common test file in general?? > > kernel/rodata_test.c > include/rodata_test.h => Is it fine?? I had assumed you would use mm/rodata_test.c, as you do in this patch (i.e. a *new* common file). That seems

Re: [PATCH v7 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-01-20 Thread kbuild test robot
Hi Joshua, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc4 next-20170120] [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/Joshua-Clayton/Altera-Cyclone-Passive

[PATCH v5 01/14] devicetree: bindings: add bindings for ahci-da850

2017-01-20 Thread Bartosz Golaszewski
Add DT bindings for the TI DA850 AHCI SATA controller. Signed-off-by: Bartosz Golaszewski --- Documentation/devicetree/bindings/ata/ahci-da850.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/ata/ahci-da850.txt diff --git a/Documen

[PATCH v5 13/14] ARM: dts: da850: add the SATA node

2017-01-20 Thread Bartosz Golaszewski
Add the SATA node to the da850 device tree. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 104155d..3b5fd41e 100644 --- a/arch/arm/boot/dts/da850.dtsi

[PATCH v5 06/14] ARM: davinci: da850: model the SATA refclk

2017-01-20 Thread Bartosz Golaszewski
Register a fixed rate clock modelling the external SATA oscillator for da850 (both DT and board file mode). Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da8xx-dt.c | 8 arch/arm/mach-davinci/devices-da8xx.c | 29 + arch/arm/mac

[PATCH v5 12/14] ARM: davinci: remove BUG_ON() from da850_register_sata()

2017-01-20 Thread Bartosz Golaszewski
The ahci driver now supports other refclk clock rates. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/devices-da8xx.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index cfceb32..7cf529f 100644 -

[PATCH v5 08/14] sata: ahci-da850: implement a workaround for the softreset quirk

2017-01-20 Thread Bartosz Golaszewski
There's an issue with the da850 SATA controller: if port multiplier support is compiled in, but we're connecting the drive directly to the SATA port on the board, the drive can't be detected. To make SATA work on the da850-lcdk board: first try to softreset with pmp - if the operation fails with -

[PATCH v5 11/14] sata: ahci-da850: un-hardcode the MPY bits

2017-01-20 Thread Bartosz Golaszewski
All platforms using this driver now register the SATA refclk. Remove the hardcoded default value from the driver and instead read the rate of the external clock and calculate the required MPY value from it. Signed-off-by: Bartosz Golaszewski --- drivers/ata/ahci_da850.c | 91

[PATCH v5 14/14] ARM: dts: da850-lcdk: enable the SATA node

2017-01-20 Thread Bartosz Golaszewski
Enable the SATA node for da850-lcdk. We omit the pinctrl property on purpose - the muxed SATA pins are not hooked up to anything SATA-related on the lcdk. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot

[PATCH v5 09/14] sata: ahci: export ahci_do_hardreset() locally

2017-01-20 Thread Bartosz Golaszewski
We need a way to retrieve the information about the online state of the link in the ahci-da850 driver. Create a new function: ahci_do_hardreset() which is called from ahci_hardreset() for backwards compatibility, but has an additional argument: 'online' - which can be used to check if the link is

[PATCH v5 10/14] sata: ahci-da850: add a workaround for controller instability

2017-01-20 Thread Bartosz Golaszewski
We have a use case with the da850 SATA controller where at PLL0 frequency of 456MHz (needed to properly service the LCD controller) the chip becomes unstable and the hardreset operation is ignored the first time 50% of times. The sata core driver already retries to resume the link because some con

[PATCH 3/3] btmrvl: use dt's irqflags for wakeup pin

2017-01-20 Thread Jeffy Chen
Use irqflags parsed from dt. Signed-off-by: Jeffy Chen --- drivers/bluetooth/btmrvl_sdio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 796f719..23711fe 100644 --- a/drivers/bluetooth/btmrvl_sdio.c

Re: Re: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

2017-01-20 Thread Lino Sanfilippo
Hi, > > > This patch should be enhanced with the smb_xx() calls as suggested by by Lino. > If you do this, please place the smp_rmb() before the if condition in the irq handler like smp_rmb(); if (rtlpci->irq_enabled == 0) { return ret; as I think that the suggestion I made before was no

[PATCH 2/3] btmrvl: set irq_bt to -1 when failed to parse it

2017-01-20 Thread Jeffy Chen
The irq_of_parse_and_map will return 0 as a invalid irq. Set irq_bt to -1 in this case, so that the btmrvl resume/suspend code would not get confused. Signed-off-by: Jeffy Chen --- drivers/bluetooth/btmrvl_sdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/bluetooth/btmrvl_sdio

[PATCH v5 07/14] sata: ahci-da850: add device tree match table

2017-01-20 Thread Bartosz Golaszewski
We're using device tree for da850-lcdk. Add the match table to allow to probe the driver. Signed-off-by: Bartosz Golaszewski --- drivers/ata/ahci_da850.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/ata/ahci_da850.c b/drivers/ata/ahci_da850.c index 8cfdc86..7f5328f 100644 -

Re: [PATCH 2/2] m68k: replaced gcc specific macros with ones from compiler.h

2017-01-20 Thread Gideon D'souza
Ah I didn't know they would be tracked a series. Should I resend these? On Fri, Jan 20, 2017 at 4:04 PM, Geert Uytterhoeven wrote: > Hi Gideon, > > On Fri, Jan 20, 2017 at 11:21 AM, Gideon D'souza wrote: >>> Gideon: what exactly did you use to send this email series? >> I used git format-patch a

[PATCH v5 05/14] ARM: davinci: da850: add con_id for the SATA clock

2017-01-20 Thread Bartosz Golaszewski
The ahci-da850 SATA driver is now capable of retrieving clocks by con_id. Add the connection id for the sysclk2-derived SATA clock. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da850.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/da850

[PATCH v5 04/14] sata: ahci-da850: get the sata clock using a connection id

2017-01-20 Thread Bartosz Golaszewski
In preparation for using two clocks in the driver (the sysclk2-based clock and the external REFCLK), check if we got a functional clock after calling ahci_platform_get_resources(). If not, retry calling clk_get() with con_id specified. Signed-off-by: Bartosz Golaszewski --- drivers/ata/ahci_da85

[PATCH v5 00/14] ARM: da850-lcdk: add SATA support

2017-01-20 Thread Bartosz Golaszewski
This series contains all the changes necessary to make SATA work on the da850-lcdk board. The first patch adds DT bindings for the ahci-da850 driver. The second enables relevant modules in davinci_all_defconfig. Patches 03/14-06/14 modify the way the clocks are handled regarding SATA on the da85

[PATCH v5 03/14] ARM: davinci: add a clock lookup entry for the SATA clock

2017-01-20 Thread Bartosz Golaszewski
This entry is needed for the ahci driver to get a functional clock. Signed-off-by: Bartosz Golaszewski --- arch/arm/mach-davinci/da8xx-dt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index 9ee44da..b83e5d1 100644 --- a/

[PATCH 1/3] btmrvl: avoid double-disable_irq() race

2017-01-20 Thread Jeffy Chen
It's much the same as what we did for mwifiex in: b9da4d2 mwifiex: avoid double-disable_irq() race Signed-off-by: Jeffy Chen --- drivers/bluetooth/btmrvl_sdio.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl

[PATCH v5 02/14] ARM: davinci_all_defconfig: enable SATA modules

2017-01-20 Thread Bartosz Golaszewski
Add the da850-ahci driver to davinci defconfig. Signed-off-by: Bartosz Golaszewski --- arch/arm/configs/davinci_all_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/davinci_all_defconfig b/arch/arm/configs/davinci_all_defconfig index 8806754..a1b9c58 100644 --- a

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2017-01-20 Thread Vivek Gautam
On 01/20/2017 02:00 PM, Roger Quadros wrote: Vivek, On 19/01/17 17:15, vivek.gau...@codeaurora.org wrote: Hi Roger, On 2017-01-19 17:45, Roger Quadros wrote: Vivek, On 19/01/17 13:56, Vivek Gautam wrote: Hi, On Wed, Jun 22, 2016 at 2:00 PM, Roger Quadros wrote: Luckily hit this thread

Re: [PATCH v5 2/2] net: dsa: mv88e6xxx: Add support for ethernet switch 88E6341 (fwd)

2017-01-20 Thread Julia Lawall
88E6341 In-Reply-To: <20170119214934.27442-3-gregory.clem...@free-electrons.com> Hi Gregory, [auto build test WARNING on net-next/master] [also build test WARNING on next-20170120] [cannot apply to v4.10-rc4] [if your patch is applied to the wrong git tree, please drop us a note to help i

Re: [PATCH v6 kernel 3/5] virtio-balloon: speed up inflate/deflate process

2017-01-20 Thread Dr. David Alan Gilbert
* Liang Li (liang.z...@intel.com) wrote: > +static void free_extended_page_bitmap(struct virtio_balloon *vb) > +{ > + int i, bmap_count = vb->nr_page_bmap; > + > + for (i = 1; i < bmap_count; i++) { > + kfree(vb->page_bitmap[i]); > + vb->page_bitmap[i] = NULL; > +

Re: [PATCH v2 1/2] ARM: davinci: Allocate extra interrupts

2017-01-20 Thread Sekhar Nori
On Wednesday 18 January 2017 10:27 PM, David Lechner wrote: > On 01/18/2017 03:50 AM, Sekhar Nori wrote: >> On Saturday 14 January 2017 01:30 AM, David Lechner wrote: >>> This allocates extra interrupts for mach-davinci. These extra interrupts >>> are need for things like IIO triggers. >> >> I am n

Re: [PATCH v2 2/2] ARM: davinci_all_defconfig: enable iio

2017-01-20 Thread Sekhar Nori
On Saturday 14 January 2017 01:30 AM, David Lechner wrote: > This enables the iio subsystem. This will be used by LEGO MINDSTORMS EV3, > which has an ADS7957 chip. > > Signed-off-by: David Lechner Applied. Thanks, Sekhar

Re: [PATCH 09/13] mmc: jz4740: Let the pinctrl driver configure the pins

2017-01-20 Thread Paul Cercueil
Le 2017-01-19 11:55, Ulf Hansson a écrit : Shouldn't this be replaced with a call to: pinctrl_pm_select_sleep_state(); You're totally right. I'll change it. Thanks, -Paul

Re: [RFC v2 4/5] DT bindings documentation for Synopsys UDC platform driver

2017-01-20 Thread Raviteja Garimella
Hi Rob, On Thu, Jan 19, 2017 at 11:06 PM, Rob Herring wrote: > On Tue, Jan 17, 2017 at 01:35:07PM +0530, Raviteja Garimella wrote: >> This patch adds device tree bindings documentation for Synopsys >> USB device controller platform driver. > > Bindings describe h/w, not drivers. Will correct th

Re: [PATCH v7 2/3] fpga manager: Add cyclone-ps-spi driver for Altera FPGAs

2017-01-20 Thread kbuild test robot
Hi Joshua, [auto build test WARNING on linus/master] [also build test WARNING on v4.10-rc4 next-20170120] [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/Joshua-Clayton/Altera-Cyclone-Passive

Quick Loans

2017-01-20 Thread Financial Services
Apply for a loan at 3% reply to this Email for more Info

[PATCH v2 3/7] scsi: hisi_sas: downgrade refclk message

2017-01-20 Thread John Garry
The message to inform that the controller has no refclk is currently at warning level, which is unnecessary, so downgrade to debug. Signed-off-by: John Garry Reviewed-by: Xiang Chen Reviewed-by: Johannes Thumshirn --- drivers/scsi/hisi_sas/hisi_sas_main.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH v2 7/7] scsi: hisi_sas: decrease running_req in hisi_sas_slot_task_free()

2017-01-20 Thread John Garry
From: Xiang Chen There is an issue that hisi_sas_dev.running_req is not decremented properly for internal abort and TMF. To resolve, only decrease running_req in hisi_sas_slot_task_free() Signed-off-by: Xiang Chen Signed-off-by: John Garry Reviewed-by: Johannes Thumshirn --- drivers/scsi/hi

[PATCH v2 6/7] scsi: hisi_sas: fix probe ordering problem

2017-01-20 Thread John Garry
From: Xiang Chen There is a potential probe issue in how we trigger the hw initialisation. Although we use 1s timer to delay hw initialisation, there is still a potential that sas_register_ha() is not be finished before we start the PHY init from hw->hw_init(). To avoid this issue, initialise the

[PATCH v2 4/7] scsi: hisi_sas: modify hard reset for directed-attached disk

2017-01-20 Thread John Garry
From: Xiang Chen Correctly set registers in v2 for root PHY hardreset for directly attached disk. Signed-off-by: Xiang Chen Signed-off-by: John Garry Reviewed-by: Johannes Thumshirn --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/dri

[PATCH v2 1/7] scsi: hisi_sas: workaround v2 hw SATA IO timeout issue

2017-01-20 Thread John Garry
From: Xiang Chen The v2 SAS controller needs more time to detect channel idle and send setup link request than SATA disk does, so it is difficult for the SAS controller to setup an STP link. Therefore it may cause some IO timeouts. We need to periodically configure the SAS controller so it doesn

[PATCH v2 2/7] scsi: hisi_sas: modify some values of ITCT table

2017-01-20 Thread John Garry
From: Xiang Chen Set SMP connection timeout and continue AWT timer; Clear ITCT table when dev gone. Signed-off-by: Xiang Chen Signed-off-by: John Garry Reviewed-by: Johannes Thumshirn --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletion

[PATCH v2 0/7] hisi_sas: SATA IO workaround and other misc patches

2017-01-20 Thread John Garry
This patchset introduces some misc fixes and improvements. Most signifigantly this patchset includes a workaround for a SATA IO issue on v2 hw (hip06/7). Differences v1->v2: - Add macro for SMP TIMEOUT in ITCT struct John Garry (2): scsi: hisi_sas: downgrade refclk message scsi: hisi_sas: do

Re: amdgpu: Corrupted video on 32 bit systems (possible fix)

2017-01-20 Thread Nils Holland
On Fri, Jan 20, 2017 at 06:11:50PM +0900, Michel Dänzer wrote: > On 20/01/17 04:44 PM, Nils Holland wrote: > > > > Sounds like a good idea! I was a bit heasitant because, to be honest, > > I'm not at all an expert about the code in question and basically only > > saw how you fixed the issue in rad

[PATCH v2 5/7] scsi: hisi_sas: downgrade internal abort exit print

2017-01-20 Thread John Garry
Downgrade the exit print in hisi_sas_internal_task_abort() to dbg level, as info is not required. Signed-off-by: John Garry Reviewed-by: Xiang Chen Reviewed-by: Johannes Thumshirn --- drivers/scsi/hisi_sas/hisi_sas_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driv

Re: [PATCH V11 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2017-01-20 Thread Lorenzo Pieralisi
On Thu, Jan 19, 2017 at 09:34:19PM -0500, Agustin Vega-Frias wrote: > ACPI extended IRQ resources may contain a ResourceSource to specify > an alternate interrupt controller. Introduce acpi_irq_get and use it > to implement ResourceSource/IRQ domain mapping. > > The new API is similar to of_irq_ge

Re: [PATCH v4 3/3] modversions: treat symbol CRCs as 32 bit quantities on 64 bit archs

2017-01-20 Thread Ard Biesheuvel
On 19 January 2017 at 17:24, Linus Torvalds wrote: > On Thu, Jan 19, 2017 at 1:22 AM, Ard Biesheuvel > wrote: >>> >>> Your genksyms.c change is not exactly obvious. I looked at it, and my >>> brain just shut down. Why both the >>> >>> LONG(0x%08lx); >>> >>> _and_ the >>> >>> "%s__crc_%s = 0x%

Re: [PATCH v2 2/2] perf/core: Remove perf_cpu_context::unique_pmu

2017-01-20 Thread Peter Zijlstra
On Wed, Jan 18, 2017 at 11:24:54AM -0800, David Carrillo-Cisneros wrote: > cpuctx->unique_pmu was originally introduced as a way to identify cpuctxs > with shared pmus in order to avoid visiting the same cpuctx more than once > in a for_each_pmu loop. > > cpuctx->unique_pmu == cpuctx->pmu in non-s

Re: [PATCH v3 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-20 Thread Mark Brown
On Thu, Jan 19, 2017 at 10:04:32PM +0200, Andy Shevchenko wrote: > On Thu, 2017-01-19 at 19:57 +, Mark Brown wrote: > > I'm missing patches 1 and 3, what's going on here? > Patch 1 had been applied by you. I think Jan just needs to resend with > proper version and set of patches. OK - Jan, t

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

2017-01-20 Thread Stefan Wahren
Hi Ksenija, [updated Fabio's mail address] thanks for all your work on that driver. Do you plan to submit a V13 of this patch series to address Dmitry's notes? Best regards Stefan

[patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Marcelo Tosatti
Add a driver with gettime method returning hosts realtime clock. This allows Chrony to synchronize host and guest clocks with high precision (see results below). chronyc> sources MS Name/IP address Stratum Poll Reach LastRx Last sample =

[patch 0/5] KVM virtual PTP driver (v3)

2017-01-20 Thread Marcelo Tosatti
This patchset implements a virtual PTP driver which allows guest to sync its clock to the host clock with high precision (error is < 1us on an idle guest). Changelog from v2 Cross timestamping, emulation of PTP_SYS_OFFSET with cross timestamping (Paolo, Miroslav, Radim). Changelog from v1 Patch

[patch 2/5] KVM: x86: add KVM_HC_CLOCK_OFFSET hypercall

2017-01-20 Thread Marcelo Tosatti
Add a hypercall to retrieve the host realtime clock and the TSC value used to calculate that clock read. Used to implement clock synchronization between host and guest. Signed-off-by: Marcelo Tosatti --- Documentation/virtual/kvm/hypercalls.txt | 33 arch/x86/include

[patch 1/5] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-20 Thread Marcelo Tosatti
Expose the realtime host clock and save the TSC value used for the clock calculation. Signed-off-by: Marcelo Tosatti --- arch/x86/kvm/x86.c | 36 1 file changed, 36 insertions(+) v2: unify nsec_base (Radim) Index: kvm-ptpdriver/arch/x86/kvm/x86.c ===

[patch 3/5] kvmclock: export kvmclock clocksource pointer

2017-01-20 Thread Marcelo Tosatti
To be used by KVM PTP driver. Signed-off-by: Marcelo Tosatti --- arch/x86/include/asm/kvmclock.h |6 ++ arch/x86/kernel/kvmclock.c |6 ++ 2 files changed, 12 insertions(+) Index: kvm-ptpdriver/arch/x86/include/asm/kvmclock.h

[patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Marcelo Tosatti
Emulate PTP_SYS_OFFSET by using an arithmetic mean of the realtime samples from ->getcrosststamp callback. Signed-off-by: Marcelo Tosatti --- drivers/ptp/ptp_chardev.c|6 ++ include/linux/ptp_clock_kernel.h |5 ++ include/linux/timekeeping_ptp.h | 10 kernel/time/timekee

[PATCH 2/3] memblock: also dump physmem list within __memblock_dump_all

2017-01-20 Thread Heiko Carstens
Since commit 70210ed950b5 ("mm/memblock: add physical memory list") the memblock structure knows about a physical memory list. The physical memory list should also be dumped if memblock_dump_all() is called in case memblock_debug is switched on. This makes debugging a bit easier. Signed-off-by: H

Re: [PATCH] clk: samsung: exynos5420: Mark CLK_ACLK432_SCALER as CLK_IS_CRITICAL

2017-01-20 Thread Sylwester Nawrocki
On 01/20/2017 11:41 AM, Javier Martinez Canillas wrote: > On Exynos5800 SoC the SCALER block uses 2 input clocks: CLK_ACLK_300_GSCL > and CLK_ACLK432_SCALER, so both needs to be ungated in order to access it. > > But Exynos5420 only has the CLK_ACLK_300_GSCL as gsc_pd clk. So just using > this def

[PATCH 0/3] memblock: physical memory list cleanups

2017-01-20 Thread Heiko Carstens
Just a couple of trivial memblock patches, which could also be merged into one patch; whatever is preferred. Since commit 70210ed950b5 ("mm/memblock: add physical memory list") the memblock structure knows about a physical memory list. The memblock code should also print a sane name instead of "u

[PATCH 1/3] memblock: let memblock_type_name know about physmem type

2017-01-20 Thread Heiko Carstens
Since commit 70210ed950b5 ("mm/memblock: add physical memory list") the memblock structure knows about a physical memory list. memblock_type_name() should return "physmem" instead of "unknown" if the name of the physmem memblock_type is being asked for. Signed-off-by: Heiko Carstens --- mm/memb

[PATCH 3/3] memblock: embed memblock type name within struct memblock_type

2017-01-20 Thread Heiko Carstens
Provide the name of each memblock type with struct memblock_type. This allows to get rid of the function memblock_type_name() and duplicating the type names in __memblock_dump_all(). The only memblock_type usage out of mm/memblock.c seems to be arch/s390/kernel/crash_dump.c. While at it, give it a

Re: [PATCH] power: reset: Add MAX77620 support

2017-01-20 Thread Sebastian Reichel
Hi, On Thu, Jan 19, 2017 at 03:29:34PM -0800, Guenter Roeck wrote: > On Fri, Jan 20, 2017 at 12:00:36AM +0100, Sebastian Reichel wrote: > I actually have a set of patches somewhere which transforms the remaining > direct users of arm_pm_restart to use the framework (unless I removed it > from my t

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

2017-01-20 Thread James Bottomley
On Fri, 2017-01-20 at 07:35 +0100, Ingo Molnar wrote: > * Stephen Rothwell wrote: > > > Hi James, > > > > Today's linux-next merge of the scsi tree got a conflict in: > > > > drivers/scsi/mpt3sas/mpt3sas_scsih.c > > > > between commit: > > > > e963b7088dac ("scsi: mpt3sas: Fix hang on ata

[PATCH] net: sctp: fix array overrun read on sctp_timer_tbl

2017-01-20 Thread Colin King
From: Colin Ian King The comparison on the timeout can lead to an array overrun read on sctp_timer_tbl because of an off-by-one error. Fix this by using < instead of <= and also compare to the array size rather than SCTP_EVENT_TIMEOUT_MAX. Fixes CoverityScan CID#1397639 ("Out-of-bounds read") S

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Paolo Bonzini
On 20/01/2017 13:20, Marcelo Tosatti wrote: > kernel/time/timekeeping.c| 79 > +++ Why not leave this in drivers/ptp/ptp_chardev.c? > + if (ptp->info->emulate_ptp_sys_offset_mean) { > + err = emulate_ptp_sys_offset(p

Re: [patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Paolo Bonzini
On 20/01/2017 13:20, Marcelo Tosatti wrote: > + ret = kvm_hypercall2(KVM_HC_CLOCK_PAIRING, > + clock_off_gpa, > + KVM_CLOCK_PAIRING_WALLCLOCK); > + if (ret != 0) { > + pr_err("clock offse

[PATCH v3 1/3] dt: bindings: add documentation for zx2967 family watchdog controller

2017-01-20 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family watchdog controller. Signed-off-by: Baoyou Xie --- .../bindings/watchdog/zte,zx2967-wdt.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/watchdog/zte,zx296

<    1   2   3   4   5   6   7   8   >