[RFC/RFT PATCH 0/3] d_time removal

2016-11-07 Thread Miklos Szeredi
Only two filesystems remaining: nfs and ncpfs. Both use d_fsdata as well as d_time which means we have to allocate a separate structure (RCU freed in case of NFS). I still haven't tested these; hoping someone will do it for me. Thanks, Miklos --- Miklos Szeredi (3): nfs: don't use ->d_time

[PATCH 1/3] nfs: don't use ->d_time

2016-11-07 Thread Miklos Szeredi
NFS is the most complicated of the lot. It uses ->d_fsdata to 1) store devname in the root dentry, and 2) store nfs_unlinkdata for sillyrenames. In addition it stores a verifier in ->d_time. Introduce nfs_dentry structure that to store all of the above and make d_fsdata point to it. Need to

Re: Including images on Sphinx documents

2016-11-07 Thread Jani Nikula
On Mon, 07 Nov 2016, Mauro Carvalho Chehab wrote: > Hi Jon, > > I'm trying to sort out the next steps to do after KS, with regards to > images included on RST files. > > The issue is that Sphinx image support highly depends on the output > format. Also, despite TexLive support for svg and png imag

Re: [PATCH v6 04/16] drivers: iommu: make of_iommu_set/get_ops() DT agnostic

2016-11-07 Thread Lorenzo Pieralisi
On Tue, Nov 01, 2016 at 04:36:10PM +, Robin Murphy wrote: > Bikeshed alert... > > On 18/10/16 17:04, Lorenzo Pieralisi wrote: > > The of_iommu_{set/get}_ops() API is used to associate a device > > tree node with a specific set of IOMMU operations. The same > > kernel interface is required on s

[PATCH 2/3] ncpfs: don't use ->d_time

2016-11-07 Thread Miklos Szeredi
Ncpfs stores a boolean value in ->d_fsdata as well as using d_time. Introcude ncp_dentry to store both of these and make d_fsdata point to it. Signed-off-by: Miklos Szeredi --- fs/ncpfs/dir.c | 21 ++--- fs/ncpfs/ncplib_kernel.h | 16 +--- 2 files changed, 3

Re: [PATCH 1/2] mm: add locked parameter to get_user_pages()

2016-11-07 Thread Lorenzo Stoakes
On Mon, Nov 07, 2016 at 11:49:18AM +0100, Jesper Nilsson wrote: > For the cris-part: > Acked-by: Jesper Nilsson Thanks very much for that, however just to avoid any confusion, I realised this series was not not the right way forward after discussion with Paolo and rather it makes more sense to ke

Re: [Xen-devel] [PATCH 01/12] xen: introduce xenbus_read_unsigned()

2016-11-07 Thread David Vrabel
On 31/10/16 16:48, Juergen Gross wrote: > There are multiple instances of code reading an optional unsigned > parameter from Xenstore via xenbus_scanf(). Instead of repeating the > same code over and over add a service function doing the job. Reviewed-by: David Vrabel David

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-11-07 Thread Raphael Hertzog
Hello, On Sun, 06 Nov 2016, Konstantin Khlebnikov wrote: > > - If upper is nonempty, then leave redirect feature alone except when > > mount option "-oredirect=on" is used to force enabling it. > > - If upper is empty, then enable redirect feature except when mount > > option "-oredirect=off" is u

RE: Coding Style: Reverse XMAS tree declarations ?

2016-11-07 Thread David Laight
From: Lino Sanfilippo > Sent: 04 November 2016 20:07 ... > In this case it is IMHO rather the declaration + initialization that makes > "bar" hard to find at one glance, not the use of RXT. You could do something > like > > [longish list of reverse xmas tree identifiers...] > struct f

Re: [Intel-gfx] [REGRESSION] Linux 4.9-rc4: gfx glitches on Intel Sandybridge (was: Re: Linux 4.9-rc4)

2016-11-07 Thread Jani Nikula
On Sun, 06 Nov 2016, Martin Steigerwald wrote: > Hi. > > Am Samstag, 5. November 2016, 16:46:33 CET schrieb Linus Torvalds: >> So it's once again a Saturday afternoon rather than Sunday, this time >> because I felt this rc was already big enough. > > With kernel 4.9-rc4 I saw gfx corruptions like

Re: [PATCH 0/3] Add memremap executable mapping and extend drivers/misc/sram.c

2016-11-07 Thread Russell King - ARM Linux
On Thu, Oct 27, 2016 at 01:56:09PM -0500, Dave Gerlach wrote: > There are several instances when one would want to execute out of on-chip > SRAM, such as PM code on ARM platforms, so once again revisiting this > series to allow that in a generic manner. Seems that having a solution for > allowing S

Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

2016-11-07 Thread Oliver Neukum
On Fri, 2016-11-04 at 17:57 +0800, Kai-Heng Feng wrote: > Sometimes cdc_mbim failed to probe if runtime pm is enabled: > [9.305626] cdc_mbim: probe of 2-2:1.12 failed with error -22 > > This can be solved by increase its pm usage counter. > > Signed-off-by: Kai-Heng Feng For the record: NA

Re: [PATCH 00/12] xen: add common function for reading optional value

2016-11-07 Thread David Vrabel
On 31/10/16 16:48, Juergen Gross wrote: > There are multiple instances of code reading an optional unsigned > parameter from Xenstore via xenbus_scanf(). Instead of repeating the > same code over and over add a service function doing the job and > replace the call of xenbus_scanf() with the call of

Re: [PATCH V4 6/6] bus: Add support for Tegra Generic Memory Interface

2016-11-07 Thread Jon Hunter
On 07/11/16 08:30, Mirza Krak wrote: > From: Mirza Krak > > The Generic Memory Interface bus can be used to connect high-speed > devices such as NOR flash, FPGAs, DSPs... > > Signed-off-by: Mirza Krak > Tested-by: Marcel Ziswiler > Tested-on: Colibri T20/T30 on EvalBoard V3.x and GMI-Memory B

Re: [PATCHv3 0/8] powerpc/mm: refactor vDSO mapping code

2016-11-07 Thread Dmitry Safonov
2016-10-27 20:09 GMT+03:00 Dmitry Safonov : > Changes since v1, v2: > - use vdso64_pages only under CONFIG_PPC64 (32-bit build fix) > - remove arch_vma_name helper as not needed anymore, > simplify vdso_base pointer initializing in map_vdso() > > Cleanup patches for vDSO on powerpc. > Originally,

Re: [PATCH] media: i2c-polling: add i2c-polling driver

2016-11-07 Thread kbuild test robot
-polling-driver/20161107-092444 base: git://linuxtv.org/media_tree.git master config: x86_64-randconfig-x017-11071730 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error

Re: [lkp] [net] af1fee9821: BUG:spinlock_trylock_failure_on_UP_on_CPU

2016-11-07 Thread Allan W. Nielsen
Hi, I'm quite surprised too. I asked Raju to see if he can re-produce, and then try again with the microsemi_phy disabled and see it that makes a difference. If Raju gets stuck on this, then I will try to help our during the after-noon. /Allan On 07/11/16 10:31, Andrew Lunn wrote: > EXTERNAL E

Re: [PATCH V4 2/6] clk: tegra: add TEGRA30_CLK_NOR to init table

2016-11-07 Thread Thierry Reding
On Mon, Nov 07, 2016 at 09:30:01AM +0100, Mirza Krak wrote: > From: Mirza Krak > > Add TEGRA30_CLK_NOR to init table and set default rate to 127 MHz which > is max rate. > > The maximum rate value of 127 MHz is pulled from the downstream L4T > kernel. > > Signed-off-by: Mirza Krak > Tested-by:

Re: [PATCH v2 18/31] gp8psk: don't do DMA on stack

2016-11-07 Thread Johannes Stezenbach
On Sun, Nov 06, 2016 at 11:51:14AM -0800, VDR User wrote: > I applied this patch to the 4.8.4 kernel driver (that I'm currently > running) and it caused nothing but "frontend 0/0 timed out while > tuning". Is there another patch that should be used in conjunction > with this? If not, this patch bre

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-11-07 Thread Konstantin Khlebnikov
On Mon, Nov 7, 2016 at 2:03 PM, Raphael Hertzog wrote: > Hello, > > On Sun, 06 Nov 2016, Konstantin Khlebnikov wrote: >> > - If upper is nonempty, then leave redirect feature alone except when >> > mount option "-oredirect=on" is used to force enabling it. >> > - If upper is empty, then enable red

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

2016-11-07 Thread Kirill A. Shutemov
On Thu, Nov 03, 2016 at 09:40:12PM +0100, Jan Kara wrote: > On Wed 02-11-16 11:32:04, Kirill A. Shutemov wrote: > > Yes, buffer_head list doesn't scale. That's the main reason (along with 4) > > why syscall-based IO sucks. We spend a lot of time looking for desired > > block. > > > > We need to sw

Re: [PATCH] shmem: fix pageflags after swapping DMA32 object

2016-11-07 Thread Kirill A. Shutemov
On Sun, Nov 06, 2016 at 08:08:29PM -0800, Hugh Dickins wrote: > If shmem_alloc_page() does not set PageLocked and PageSwapBacked, then > shmem_replace_page() needs to do so for itself. Without this, it puts > newpage on the wrong lru, re-unlocks the unlocked newpage, and system > descends into "Ba

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

2016-11-07 Thread Kirill A. Shutemov
On Wed, Nov 02, 2016 at 07:36:12AM -0700, Christoph Hellwig wrote: > On Tue, Nov 01, 2016 at 05:39:40PM +0100, Jan Kara wrote: > > I'd also note that having PMD-sized pages has some obvious disadvantages as > > well: > > > > 1) I'm not sure buffer head handling code will quite scale to 512 or even

Re: [PATCH/RESEND V4 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-07 Thread Mark Rutland
Hi, I received an off-list v5 of this for some reason. I have several concerns with this, but given there's evidently a v5, I intend to wait until that is posted before I reply with my comments. Thanks, Mark. On Tue, Nov 01, 2016 at 09:28:46PM +0800, zhichang.yuan wrote: > On Hip06, the accesse

Re: [PATCH V4 3/6] dt/bindings: Add bindings for Tegra GMI controller

2016-11-07 Thread Thierry Reding
On Mon, Nov 07, 2016 at 09:30:02AM +0100, Mirza Krak wrote: > From: Mirza Krak > > Document the devicetree bindings for the Generic Memory Interface (GMI) > bus driver found on Tegra SOCs. > > Signed-off-by: Mirza Krak > Tested-by: Marcel Ziswiler > Tested-on: Colibri T20/T30 on EvalBoard V3.x

Re: [PATCH v3 1/8] iio:core: add a callback to allow drivers to provide _available attributes

2016-11-07 Thread Daniel Baluta
On Mon, Oct 24, 2016 at 1:39 AM, Peter Rosin wrote: > From: Jonathan Cameron > > A large number of attributes can only take a limited range of values. > Currently in IIO this is handled by directly registering additional > *_available attributes thus providing this information to userspace. > > I

Re: [PATCH v6 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-11-07 Thread Lorenzo Pieralisi
On Tue, Nov 01, 2016 at 04:30:22PM -0600, Graeme Gregory wrote: > On Fri, Oct 28, 2016 at 04:50:07PM +0100, Lorenzo Pieralisi wrote: > > On Tue, Oct 18, 2016 at 05:04:07PM +0100, Lorenzo Pieralisi wrote: > > > In ARM ACPI systems, IOMMU components are specified through static > > > IORT table entri

Re: [PATCH] tty: serial: make crisv10 explicitly non-modular

2016-11-07 Thread Jesper Nilsson
On Mon, Oct 31, 2016 at 01:42:16PM -0400, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > arch/cris/arch-v10/drivers/Kconfig:config ETRAX_SERIAL > arch/cris/arch-v10/drivers/Kconfig: bool "Serial-port support" > > ...meaning that it currently is not

Re: [PATCH 1/2] mm: move vma_is_anonymous check within pmd_move_must_withdraw

2016-11-07 Thread Aneesh Kumar K.V
b.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/mm-move-vma_is_anonymous-check-within-pmd_move_must_withdraw/20161107-164033 > base: git://git.cmpxchg.org/linux-mmotm.git master > config: i386-randconfig-x006-201645 (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > r

[Regression w/ patch] Restore network resistance to weird ICMP messages

2016-11-07 Thread Vicente Jiménez
Handle weird ICMP fragmentation needed messages with next hop MTU equal to (or exceeding) dropped packet size Fixes: 46517008e116 ("ipv4: Kill ip_rt_frag_needed().") In a large corporate network, we spotted this weird ICMP message after a long troubleshooting. See attached capture file. Those ICM

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

2016-11-07 Thread Catalin Marinas
On Sat, Nov 05, 2016 at 11:01:31AM +0530, Pratyush Anand wrote: > On Saturday 05 November 2016 12:16 AM, Catalin Marinas wrote: > > On Fri, Nov 04, 2016 at 11:49:51AM -0600, Catalin Marinas wrote: > > > On Wed, Nov 02, 2016 at 02:40:40PM +0530, Pratyush Anand wrote: > > > > Pratyush Anand (6): > >

[PATCH 2/3] ARM64: dts: meson-gxl-p23x: Enable ethernet

2016-11-07 Thread Neil Armstrong
Enable Ethernet on the p23x board, pinctrl attribute is only added for the p230 board since the p231 only uses the Internal PHY. Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-gxl-s905d-p230.dts | 25 ++ .../boot/dts/amlogic/meson-gxl-s905d-p231.dts |

RE: [PATCH for-next 01/11] IB/hns: Add the interface for querying QP1

2016-11-07 Thread Salil Mehta
> -Original Message- > From: Anurup m > Sent: Monday, November 07, 2016 5:46 AM > To: Salil Mehta; dledf...@redhat.com > Cc: linux-r...@vger.kernel.org; net...@vger.kernel.org; > mehta.salil@gmail.com; linux-kernel@vger.kernel.org; Linuxarm > Subject: Re: [PATCH for-next 01/11] IB/hns

Re: [RFC PATCH v2 2/2] module: When modifying a module's text ignore modules which are going away too

2016-11-07 Thread Aaron Tomlin
On Thu 2016-10-27 09:49 -0400, Steven Rostedt wrote: [ ... ] > I also added Jessica to the Cc as I notice she will be the new module > maintainer: http://lwn.net/Articles/704653/ Hi Jessica, Any thoughts? Thanks, -- Aaron Tomlin

Re: [PATCH] cris: Only build flash rescue image if CONFIG_ETRAX_AXISFLASHMAP is selected

2016-11-07 Thread Jesper Nilsson
On Sun, Oct 30, 2016 at 09:09:18AM -0700, Guenter Roeck wrote: > If CONFIG_ETRAX_AXISFLASHMAP is not configured, the flash rescue image > object file is empty. With recent versions of binutils, this results > in the following build error. > > cris-linux-objcopy: error: > the input file 'arch

Re: Including images on Sphinx documents

2016-11-07 Thread Mauro Carvalho Chehab
Em Mon, 07 Nov 2016 12:53:55 +0200 Jani Nikula escreveu: > On Mon, 07 Nov 2016, Mauro Carvalho Chehab wrote: > > Hi Jon, > > > > I'm trying to sort out the next steps to do after KS, with regards to > > images included on RST files. > > > > The issue is that Sphinx image support highly depends o

Re: BUG? genirq: irq 14 uses trigger mode 8; requested 0

2016-11-07 Thread Mika Westerberg
On Tue, Nov 01, 2016 at 04:44:00PM +0200, Mika Westerberg wrote: > On Tue, Nov 01, 2016 at 02:24:38PM +, Jon Hunter wrote: > > Hi Mika, > > > > On 01/11/16 13:02, Mika Westerberg wrote: > > > Hi, > > > > > > I started seeing following messages on Intel Broxton when the > > > pinctrl/GPIO driv

Re: S3 resume regression [1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu")]

2016-11-07 Thread Ville Syrjälä
On Tue, Nov 01, 2016 at 10:47:37PM +0200, Ville Syrjälä wrote: > On Fri, Oct 28, 2016 at 08:58:41PM +0200, Thomas Gleixner wrote: > > On Fri, 28 Oct 2016, Ville Syrjälä wrote: > > > On Thu, Oct 27, 2016 at 10:41:18PM +0200, Thomas Gleixner wrote: > > > > On Thu, 27 Oct 2016, Ville Syrjälä wrote: >

Re: [PATCH V4 6/6] bus: Add support for Tegra Generic Memory Interface

2016-11-07 Thread Thierry Reding
On Mon, Nov 07, 2016 at 09:30:05AM +0100, Mirza Krak wrote: > From: Mirza Krak > > The Generic Memory Interface bus can be used to connect high-speed > devices such as NOR flash, FPGAs, DSPs... > > Signed-off-by: Mirza Krak > Tested-by: Marcel Ziswiler > Tested-on: Colibri T20/T30 on EvalBoard

Re: [PATCH v3 2/2] net: ethernet: nb8800: handle all RGMII definitions

2016-11-07 Thread Måns Rullgård
Sebastian Frias writes: > Hi Måns, > > On 11/05/2016 01:58 PM, Måns Rullgård wrote: >>> if (gigabit) { >>> - if (priv->phy_mode == PHY_INTERFACE_MODE_RGMII) >>> + if (phy_interface_is_rgmii(phydev)) >>> mac_mode |= RGMII_MODE; >>> >>> mac_mo

[PATCH 0/3] ARM64: dts: meson-gxl: Enable Ethernet

2016-11-07 Thread Neil Armstrong
The Amlogic Meson GXL SoCs have an internal RMII PHY that is muxed with the external RGMII pins. The internal PHY is added in the GXL dtsi and support for each board is added in intermediate board family dtsi or final dts. This patchset depends on ARM64 dts patch at [1] Changes since v2 RFC at :

[tip:x86/cache] x86/intel_rdt: Propagate error in rdt_mount() properly

2016-11-07 Thread tip-bot for Shaohua Li
Commit-ID: 7bff0af51012500718971f9cc3485f67252353eb Gitweb: http://git.kernel.org/tip/7bff0af51012500718971f9cc3485f67252353eb Author: Shaohua Li AuthorDate: Thu, 3 Nov 2016 14:09:05 -0700 Committer: Thomas Gleixner CommitDate: Mon, 7 Nov 2016 12:20:52 +0100 x86/intel_rdt: Propagate er

[tip:x86/cache] x86/intel_rdt: Export the minimum number of set mask bits in sysfs

2016-11-07 Thread tip-bot for Shaohua Li
Commit-ID: 53a114a69095eeb0e15d04c2a82358b3192f88df Gitweb: http://git.kernel.org/tip/53a114a69095eeb0e15d04c2a82358b3192f88df Author: Shaohua Li AuthorDate: Thu, 3 Nov 2016 14:09:06 -0700 Committer: Thomas Gleixner CommitDate: Mon, 7 Nov 2016 12:20:52 +0100 x86/intel_rdt: Export the m

Re: [BUG] pinctrl: sunxi: sunxi-pinctrl fail to load with CONFIG_DEBUG_TEST_DRIVER_REMOVE

2016-11-07 Thread Corentin Labbe
On Mon, Nov 07, 2016 at 10:56:12AM +0100, Maxime Ripard wrote: > On Mon, Nov 07, 2016 at 05:48:43PM +0800, Chen-Yu Tsai wrote: > > Hi, > > > > On Mon, Nov 7, 2016 at 4:18 PM, LABBE Corentin > > wrote: > > > Hello > > > > > > With CONFIG_DEBUG_TEST_DRIVER_REMOVE=y pinctrl-sunxi fail to load on the

[PATCH 3/3] vfs: remove ->d_time

2016-11-07 Thread Miklos Szeredi
Remove dentry->d_time field, which is now unused. This makes space for longer inline names. Signed-off-by: Miklos Szeredi --- include/linux/dcache.h | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/linux/dcache.h b/include/linux/dcache.h index 5beed7b30561..006

Re: [PATCH] drm/tegra: dpaux: Fix error handling

2016-11-07 Thread Thierry Reding
On Fri, Oct 28, 2016 at 11:09:45AM +0200, Christophe JAILLET wrote: > 'devm_pinctrl_register()' returns an error pointer or a valid handle. So > checking for NULL here is pointless and can never trigger. > > Check the returned value with IS_ERR instead and propagate this value as > done in the oth

[PATCH 1/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u32' preferred over 'uint32_t'

2016-11-07 Thread Shiva Kerdel
Follow the kernel type preferrences of using 'u32' over 'uint32_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/bus/dpmcp.h | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fs

[PATCH 6/6] Staging: fsl-mc: include: mc-bus: Kernel type 's16' preferred over 'int16_t'

2016-11-07 Thread Shiva Kerdel
Follow the kernel type preferrences of using 's16' over 'int16_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/include/mc-bus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fsl-mc/include/mc-bus.h b/drivers/staging/fsl-mc/include/mc-bus.h in

[PATCH 5/6] Staging: fsl-mc: include: mc: Kernel type 's32' preferred over 'int32_t'

2016-11-07 Thread Shiva Kerdel
Follow the kernel type preferrences of using 's32' over 'int32_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/include/mc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h index f6e720e..5c3

[PATCH 4/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u64' preferred over 'uint64_t'

2016-11-07 Thread Shiva Kerdel
Follow the kernel type preferrences of using 'u64' over 'uint64_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/bus/dpmcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h index 854621a..c4e5d

Re: [PATCH] drm/tegra: fix error handling

2016-11-07 Thread Thierry Reding
On Sun, Jul 03, 2016 at 08:18:57AM +0200, Christophe JAILLET wrote: > This is likely that checking 'gr3d->clk_secondary' instead of 'gr3d->clk' > is expected here. > > > Signed-off-by: Christophe JAILLET > --- > drivers/gpu/drm/tegra/gr3d.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletio

[PATCH 2/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u16' preferred over 'uint16_t'

2016-11-07 Thread Shiva Kerdel
Follow the kernel type preferrences of using 'u16' over 'uint16_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/bus/dpmcp.h | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc

[PATCH 3/6] Staging: fsl-mc: bus: dpmcp: Kernel type 'u8' preferred over 'uint8_t'

2016-11-07 Thread Shiva Kerdel
Follow the kernel type preferrences of using 'u8' over 'uint8_t'. Signed-off-by: Shiva Kerdel --- drivers/staging/fsl-mc/bus/dpmcp.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h b/drivers/staging/fsl-mc/bus/dpmcp.h ind

Re: [PATCH] drm/tegra: sor: No need to free devm_ allocated memory

2016-11-07 Thread Thierry Reding
On Sat, Sep 24, 2016 at 10:07:30PM +0200, Christophe JAILLET wrote: > 'brick' has been allocated by 'devm_kzalloc', so there is no need here to > free it explicitly. > There is only one caller of 'tegra_clk_sor_brick_register()'. This function > is a probe function which correctly checks and handle

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

2016-11-07 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 v3 0/2] support USB2 PHY OTG port for rk3399

2016-11-07 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 v3 2/2] arm64: dts: rockchip: add usb2-phy otg-port support for rk3399

2016-11-07 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 --- Changes in v3: - None Changes in v2: - None arch/arm64/boot/dts/rockchip/rk3399.dtsi | 21 + 1 file changed, 21 insertions(+) dif

Re: [PATCH] drm/tegra: gem: Remove some dead code

2016-11-07 Thread Thierry Reding
On Sun, Oct 30, 2016 at 04:50:29PM +0100, Christophe JAILLET wrote: > 'dma_buf_map_attachment()' can not return NULL, so there is no need to > check for it. > > Signed-off-by: Christophe JAILLET > --- > drivers/gpu/drm/tegra/gem.c | 5 - > 1 file changed, 5 deletions(-) Applied, thanks. Th

Re: [PATCH v2 0/2] mmc: sdhci-iproc: Add byte register access support

2016-11-07 Thread Ulf Hansson
On 1 November 2016 at 17:37, Scott Branden wrote: > Add brcm,sdhci-iproc compat string and code for support of newer versions of > sdhci-iproc controller that allow byte-wise register accesses. > > Changes from v1: > - added details to bindings documentation to clarify usage of brcm,sdhci-iproc >

[tip:x86/urgent] x86/platform/intel-mid: Retrofit pci_platform_pm_ops ->get_state hook

2016-11-07 Thread tip-bot for Lukas Wunner
Commit-ID: e8a6123e9ead1b0d40349809e51de9341312fe08 Gitweb: http://git.kernel.org/tip/e8a6123e9ead1b0d40349809e51de9341312fe08 Author: Lukas Wunner AuthorDate: Sun, 23 Oct 2016 13:55:34 +0200 Committer: Thomas Gleixner CommitDate: Mon, 7 Nov 2016 13:06:59 +0100 x86/platform/intel-mid:

Re: [PATCH v3 1/8] iio:core: add a callback to allow drivers to provide _available attributes

2016-11-07 Thread Daniel Baluta
On Mon, Nov 7, 2016 at 1:57 PM, Peter Rosin wrote: > On 2016-11-07 12:37, Daniel Baluta wrote: >> On Mon, Oct 24, 2016 at 1:39 AM, Peter Rosin wrote: >>> From: Jonathan Cameron >>> >>> A large number of attributes can only take a limited range of values. >>> Currently in IIO this is handled by d

[PATCH 05/11] hisi_sas: replace WARN_ON() with dev_warn() for internal abort

2016-11-07 Thread John Garry
From: Xiang Chen Replace WARN_ON() with dev_warn() print when internal abort fails. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/driv

[PATCH 06/11] hisi_sas: modify return value of hisi_sas_query_task()

2016-11-07 Thread John Garry
From: Xiang Chen sas_scsi_find_task() only deals with return value TMF_RESP_FUNC_FAILED/TMF_RESP_FUNC_SUCC/TMF_RESP_FUNC_COMPLETE of query task. So for LLDD errors just return TMF_RESP_FUNC_FAILED. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c |

[PATCH 02/11] hisi_sas: alloc queue id of slot according to device id

2016-11-07 Thread John Garry
From: Xiang Chen Currently slots are allocated from queues in a round-robin fashion. This causes a problem for internal commands in device mode. For this mode, we should ensure that the internal abort command is the last command seen in the host for that device. We can only ensure this when we pl

[PATCH 09/11] hisi_sas: check SATA FIS when directly attaching SATA device

2016-11-07 Thread John Garry
From: Xiang Chen Check ERR bit of status to decide whether there is something wrong with initial register-D2H FIS. If error exists, PHY reset the channel to restart OOB. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 10 ++ 1 file chan

[PATCH 11/11] hisi_sas: add PHY set linkrate support for v1 and v2 hw

2016-11-07 Thread John Garry
From: Xiang Chen Add the function to set PHY min and max linkrate through sysfs interface. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas.h | 3 +++ drivers/scsi/hisi_sas/hisi_sas_main.c | 12 +++-- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 4

[PATCH 03/11] hisi_sas: only process broadcast change in phy_bcast_v2_hw()

2016-11-07 Thread John Garry
From: Xiang Chen There are many BROADCAST primitives generated by the host. We are only interested in BROADCAST (CHANGE) primitives currently, so only process this. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 8 +++- 1 file changed, 7 i

[PATCH 08/11] hisi_sas: modify some values in get_ata_protocol()

2016-11-07 Thread John Garry
From: Xiang Chen Modify and add some SATA commands according to SATA protocol. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas_v2_h

[PATCH 04/11] hisi_sas: fix port form bug in hisi_sas_port_notify_formed()

2016-11-07 Thread John Garry
From: Xiang Chen When we form a wideport, we should use hardware PHY port_id instead of sas_phy->id. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/hisi_sas/hisi_sas

[PATCH 10/11] hisi_sas: use atomic64_t for hisi_sas_device.running_req

2016-11-07 Thread John Garry
Sometimes the value of hisi_sas_device.running_req would go negative unless we have the check for running_req >= 0 before trying to decrement. This is because using running_req is not thread-safe. As such, the value for running_req may be actually incorrect, so use atomic64_t instead. Signed-off

[PATCH 00/11] hisi_sas: some fixes, improvements, and new features

2016-11-07 Thread John Garry
This patchset introduces some misc bug fixes, improvements, and new features to the HiSilicon SAS driver. The new features include: - ECC and AXI bus fatal error handling for v2 hw - PHY (min and max) linkrate setting John Garry (1): hisi_sas: use atomic64_t for hisi_sas_device.running_req Xia

[PATCH 01/11] hisi_sas: add v2 hw support for ECC and AXI bus fatal error

2016-11-07 Thread John Garry
From: Xiang Chen For ECC 1bit error, logic can recover it, so we only print a warning. For ECC multi-bit and AXI bus fatal error, we panic. Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 425 - 1 file changed, 4

Re: [PATCH 20/25] x86/mcheck: Be prepared for a rollback back to the ONLINE state

2016-11-07 Thread Borislav Petkov
On Mon, Nov 07, 2016 at 11:40:55AM +0100, Sebastian Andrzej Siewior wrote: > On 2016-11-07 11:32:19 [+0100], Borislav Petkov wrote: > > On Thu, Nov 03, 2016 at 03:50:16PM +0100, Sebastian Andrzej Siewior wrote: > > > If we try a CPU down and fail in the middle then we roll back to the > > > online

[PATCH 07/11] hisi_sas: delete repeated configuration in free_device_v2_hw()

2016-11-07 Thread John Garry
From: Xiang Chen Delete repeated configuration items for hisi_sas_device() when we free a device. These items are now only set in hisi_sas_dev_gone(). Signed-off-by: Xiang Chen Signed-off-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 2 -- 1 file changed, 2 deletions(-) diff --

[PATCH v3 1/3] remoteproc: qcom: Embed private data structure for hexagon dsp.

2016-11-07 Thread Avaneesh Kumar Dwivedi
Embed resources specific to version of hexagon chip in device structure to avoid conditional check for manipulation of those resources in driver code. Signed-off-by: Avaneesh Kumar Dwivedi --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 1 + drivers/remoteproc/qcom_q6v5_pil.c

[PATCH v3 0/3] reproc: qcom: Add support to hexagon q6v56 in qcom hexagon rproc driver

2016-11-07 Thread Avaneesh Kumar Dwivedi
This is patchset v3 having modifications to address kbuild root error from patchset v2 and to address patchset v1 comments. Major changes w.r.t. patchset v1 are as below. 1- Separate functions for resource handling and start stop have been done away with. 2- A priv

[PATCH v3 3/3] remoteproc: qcom: Adding q6v56 reset sequence.

2016-11-07 Thread Avaneesh Kumar Dwivedi
Adding additional reset sequence steps required specific to q6v56 based on version check, along with some trivial changes in name of local functions. Signed-off-by: Avaneesh Kumar Dwivedi --- drivers/remoteproc/qcom_q6v5_pil.c | 132 +++-- 1 file changed, 98 inser

Re: [PATCH V4 1/6] clk: tegra: add TEGRA20_CLK_NOR to init table

2016-11-07 Thread Thierry Reding
On Mon, Nov 07, 2016 at 09:30:00AM +0100, Mirza Krak wrote: > From: Mirza Krak > > Add TEGRA20_CLK_NOR to init table and set default rate to 92 MHz which > is max rate. > > The maximum rate value of 92 MHz is pulled from the downstream L4T > kernel. > > Signed-off-by: Mirza Krak > Tested-by: M

[PATCH v3 2/3] remoteproc: qcom: Hexagon resource handling

2016-11-07 Thread Avaneesh Kumar Dwivedi
Handling of clock and regulator resources as well as reset register programing differ according to version of hexagon dsp hardware. Different version require different resources and different parameters for same resource. Hence it is needed that resource handling is generic and independent of hexag

[PATCH] [media] mtk-mdp: allocate video_device dynamically

2016-11-07 Thread Minghsiu Tsai
It can fix known problems with embedded video_device structs. Signed-off-by: Minghsiu Tsai --- drivers/media/platform/mtk-mdp/mtk_mdp_core.h | 2 +- drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c | 33 --- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/d

[PATCH] igb: drop field "tail" of struct igb_ring

2016-11-07 Thread Cao jin
Under certain condition, I find guest will oops on writel() in igb_configure_tx_ring(), because hw->hw_address is NULL. While other register access won't oops kernel because they use wr32/rd32 which have a defense against NULL pointer. The oops message are as following: [ 141.225449] pcieport

[PATCH] media: mtk-mdp: allocate video_device dynamically

2016-11-07 Thread Minghsiu Tsai
v4l2-compliance test output: v4l2-compliance SHA : abc1453dfe89f244dccd3460d8e1a2e3091cbadb Driver Info: Driver name : mtk-mdp Card type : soc:mdp Bus info : platform:mt8173 Driver version: 4.9.0 Capabilities : 0x84204000 Video

Re: [PATCH v2 0/2] mmc: sdhci: Fix sdhci caps register bits with corrections provided by dt

2016-11-07 Thread Ulf Hansson
On 2 November 2016 at 16:26, Zach Brown wrote: > For various reasons the sdhci caps register can be incorrect. This patch set > introduces a general way to correct the bits when they are read to accurately > reflect the capabilties of the controller/board combo. > > The first patch creates sdhci-c

CISS driver error introduced with kernel-4.9.0-0.rc2.git1.1.fc26

2016-11-07 Thread Johnny Bieren
Hello, It appears that a check_unmap kernel failure for the CISS driver was introduced with kernel-4.9.0-0.rc2.git1.1.fc26. When booting this kernel, or any newer kernel, I see the following: [3.676658] HP CISS Driver (v 3.6.26) 0m] Reached target System Initialization. Startin

Re: [PATCH next 1/2] media: mtk-mdp: fix video_device_release argument

2016-11-07 Thread Minghsiu Tsai
On Thu, 2016-11-03 at 13:47 +0100, Hans Verkuil wrote: > Hi Vincent, > > On 28/10/16 09:52, Vincent Stehlé wrote: > > On Thu, Oct 27, 2016 at 10:23:24PM +0200, Vincent Stehlé wrote: > >> video_device_release() takes a pointer to struct video_device as argument. > >> Fix two call sites where the ad

[PATCHv7 11/11] [TESTPATCH] rtc: convert ds1307 to interim probe_new

2016-11-07 Thread Kieran Bingham
Just for testing, specify a maxim,ds1307 device to identify the code path used when instantiating the driver from userspace. root@arm:~# echo maxim,ds1307 0x68 > /sys/bus/i2c/devices/i2c-2/new_device [ 49.807383] rtc-ds1307 2-0068: I'm a Maxim ... [ 49.814706] rtc-ds1307 2-0068: rtc core: regi

[PATCHv7 03/11] i2c: Match using traditional OF methods, then by vendor-less compatible strings

2016-11-07 Thread Kieran Bingham
From: Lee Jones This function provides a single call for all I2C devices which need to match firstly using traditional OF means i.e by of_node, then if that fails we attempt to match using the supplied I2C client name with a list of supplied compatible strings with the ',' string removed. The la

[PATCHv7 02/11] i2c: Add the ability to match device to compatible string without an of_node

2016-11-07 Thread Kieran Bingham
From: Lee Jones A great deal of I2C devices are currently matched via DT node name, and as such the compatible naming convention of ',' has gone somewhat awry - some nodes don't supply one, some supply an arbitrary string and others the correct device name with an arbitrary vendor prefix. In an

[PATCHv7 08/11] i2c: match vendorless strings on the internal string length

2016-11-07 Thread Kieran Bingham
If a user provides a shortened string to match a device to the sysfs i2c interface it will match on the first string that contains that string prefix. for example: echo a 0x68 > /sys/bus/i2c/devices/i2c-2/new_device will match as3711, as3722, and ak8975 incorrectly. Correct this by using sysfs_

[PATCHv7 06/11] i2c: Provide a temporary .probe_new() call-back type

2016-11-07 Thread Kieran Bingham
From: Lee Jones This will aid the seamless removal of the current probe()'s, more commonly unused than used second parameter. Most I2C drivers can simply switch over to the new interface, others which have DT support can use its own matching instead and others can call i2c_match_id() themselves.

[PATCHv7 00/11] i2c: Relax mandatory I2C ID table passing

2016-11-07 Thread Kieran Bingham
Version 7 of this patchset performs a rebase to linux-4.9-rc4 and adjust the usage of strncasecmps to sysfs_streq. I have also renamed the function i2c_of_match_device_strip_vendor to i2c_of_match_device_sysfs which feels more appropriate now. Retested with successful usage of full compatible stri

[PATCHv7 09/11] mfd: 88pm860x: Move over to new I2C device .probe() call

2016-11-07 Thread Kieran Bingham
From: Lee Jones As part of an effort to rid the mostly unused second parameter for I2C related .probe() functions and to conform to other existing frameworks we're moving over to a temporary replacement .probe() call-back. Acked-by: Grant Likely Signed-off-by: Lee Jones Signed-off-by: Kieran B

[PATCHv7 10/11] mfd: as3722: Rid driver of superfluous I2C device ID structure

2016-11-07 Thread Kieran Bingham
From: Lee Jones Also remove unused second probe() parameter 'i2c_device_id'. Acked-by: Grant Likely Signed-off-by: Lee Jones Signed-off-by: Kieran Bingham --- Changes since v4 - Rename .probe2 to probe_new drivers/mfd/as3722.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletio

[PATCHv7 04/11] i2c: Make I2C ID tables non-mandatory for DT'ed devices

2016-11-07 Thread Kieran Bingham
From: Lee Jones Currently the I2C framework insists on devices supplying an I2C ID table. Many of the devices which do so unnecessarily adding quite a few wasted lines to kernel code. This patch allows drivers a means to 'not' supply the aforementioned table and match on DT match tables instead

[PATCHv7 01/11] i2c: Add pointer dereference protection to i2c_match_id()

2016-11-07 Thread Kieran Bingham
From: Lee Jones Here we're providing dereference protection for i2c_match_id(), which saves us having to do it each time it's called. We're also stripping out the (now) needless checks in i2c_device_match(). This patch paves the way for other, similar code trimming. Acked-by: Grant Likely Sig

[PATCHv7 05/11] i2c: Export i2c_match_id() for direct use by device drivers

2016-11-07 Thread Kieran Bingham
From: Lee Jones When there was no other way to match a I2C device to driver i2c_match_id() was exclusively used. However, now there are other types of tables which are commonly supplied, matching on an i2c_device_id table is used less frequently. Instead of _always_ calling i2c_match_id() from

[PATCHv7 07/11] i2c: match dt-style device names from sysfs interface

2016-11-07 Thread Kieran Bingham
A user can choose to instantiate a device on an i2c bus using the sysfs interface by providing a string and address to match and communicate with the device on the bus. Presently this string is only matched against the old i2c device id style strings, even in the presence of full device tree compat

Re: [PATCH] ARM: tegra: nyan: Enable GPU node and related supply

2016-11-07 Thread Alexandre Courbot
On Wed, Sep 21, 2016 at 4:57 PM, Jon Hunter wrote: > > On 20/09/16 19:17, Paul Kocialkowski wrote: >> * PGP Signed by an unknown key >> >> Le mardi 20 septembre 2016 à 13:24 +0100, Jon Hunter a écrit : >>> On 18/09/16 15:13, Paul Kocialkowski wrote: This enables the GPU node for tegra124

Re: [PATCH 1/2] s390: delete unneeded #include from facilities_src.h

2016-11-07 Thread Paul Bolle
On Sun, 2016-11-06 at 12:45 +0900, Masahiro Yamada wrote: > The header facilities_src.h is only included from gen_facilities.c > and the tool is compiled with the following extra options: > > HOSTCFLAGS_gen_facilities.o += -Wall $(LINUXINCLUDE) > > Please note $(LINUXINCLUDE) is expanded into

Re: [PATCH v2 18/31] gp8psk: don't do DMA on stack

2016-11-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Nov 2016 12:29:47 +0100 Johannes Stezenbach escreveu: > On Sun, Nov 06, 2016 at 11:51:14AM -0800, VDR User wrote: > > I applied this patch to the 4.8.4 kernel driver (that I'm currently > > running) and it caused nothing but "frontend 0/0 timed out while > > tuning". Is there another pa

<    4   5   6   7   8   9   10   11   >