Re: [PATCH 26/60] btrfs: set NO_MP for request queues behind BTRFS

2016-10-31 Thread Chris Mason
On Mon, Oct 31, 2016 at 08:36:44AM -0700, Christoph Hellwig wrote: On Sat, Oct 29, 2016 at 04:08:25PM +0800, Ming Lei wrote: There are lots of direct access to .bi_vcnt & .bi_io_vec of bio, and it isn't ready to support multipage bvecs for BTRFS, so set NO_MP for these request queues. For one

[PATCH] i2c: make busses/i2c-pxa-pci.c explicitly non-modular

2016-10-31 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/i2c/busses/Kconfig:config I2C_PXA_PCI drivers/i2c/busses/Kconfig: def_bool I2C_PXA && X86_32 && PCI && OF ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essenti

Re: [PATCH v14 1/4] clk: mediatek: Add MT2701 clock support

2016-10-31 Thread Stephen Boyd
On 10/31, James Liao wrote: > On Thu, 2016-10-27 at 18:17 -0700, Stephen Boyd wrote: > > On 10/21, Erin Lo wrote: > > > @@ -244,3 +256,31 @@ void mtk_clk_register_composites(const struct > > > mtk_composite *mcs, > > > clk_data->clks[mc->id] = clk; > > > } > > > } > > > + > >

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

2016-10-31 Thread Kirill A. Shutemov
[ My mail system got broken and original reply didn't get to through. Resent. ] On Thu, Oct 13, 2016 at 11:33:13AM +0200, Jan Kara wrote: > On Thu 15-09-16 14:54:57, Kirill A. Shutemov wrote: > > Most of work happans on head page. Only when we need to do copy data to > > userspace we find relevant

Re: [PATCH v3 3/3] clocksource: Add clockevent support to NPS400 driver

2016-10-31 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Noam Camus wrote: > > -static unsigned long nps_timer_rate; > +static unsigned long nps_timer1_freq; This should be either in the previous patch or seperate. > static int nps_get_timer_clk(struct device_node *node, >unsigned long *timer_freq, >

Re: [PATCH 08/12] xen: make use of xenbus_read_unsigned() in xen-pcifront

2016-10-31 Thread Bjorn Helgaas
On Mon, Oct 31, 2016 at 05:48:26PM +0100, Juergen Gross wrote: > Use xenbus_read_unsigned() instead of xenbus_scanf() when possible. > This requires to change the type of the read from int to unsigned, > but this case has been wrong before: negative values are not allowed > for the modified case. >

Re: [PATCH v2] irqchip/bcm2836: Prevent spurious interrupts

2016-10-31 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Eric Anholt wrote: > Thomas Gleixner writes: > > > On Fri, 28 Oct 2016, Eric Anholt wrote: > > > >> Thomas Gleixner writes: > >> > This is missing a fixes tag. I have no idea when that problem was > >> > introduced, so I have no way to decide whether this needs to be tagged

Re: [PATCH] i2c: imx: add slave support. v2 status

2016-10-31 Thread Maxim Syrchin
Hello, Please find some comments below. 31.10.2016 5:14, Frkuska, Joshua пишет: Hello Maxim, Thank you very much for the intermediate patch. I am in the process of reviewing it. Please let me clarify a few questions I have. 1. What alternative to "bus busy/bus free/IBB" polling do you have

Re: [PATCH 2/2] swiotlb: Add swiotlb=nobounce debug option

2016-10-31 Thread Geert Uytterhoeven
Hi Robin, On Mon, Oct 31, 2016 at 6:41 PM, Robin Murphy wrote: > On 31/10/16 15:45, Geert Uytterhoeven wrote: >> On architectures like arm64, swiotlb is tied intimately to the core >> architecture DMA support. In addition, ZONE_DMA cannot be disabled. > > To be fair, that only takes a single-char

Re: [PATCH 2/2] ARM: bus: da8xx-mstpri: new driver

2016-10-31 Thread Kevin Hilman
Sekhar Nori writes: > On Monday 31 October 2016 03:24 PM, Bartosz Golaszewski wrote: >> 2016-10-31 10:52 GMT+01:00 Sekhar Nori : >>> Hi Bartosz, >>> >>> On Monday 31 October 2016 03:10 PM, Bartosz Golaszewski wrote: 2016-10-31 5:30 GMT+01:00 Rob Herring : > On Wed, Oct 26, 2016 at 07:35:

Re: [PATCHv2 1/4] dt-bindings: mfd: Add Altera Arria10 SR Monitor

2016-10-31 Thread Rob Herring
On Mon, Oct 31, 2016 at 10:28 AM, Thor Thayer wrote: > Hi Rob, > > On 10/31/2016 12:36 AM, Rob Herring wrote: >> >> On Thu, Oct 27, 2016 at 03:00:23PM -0500, ttha...@opensource.altera.com >> wrote: >>> >>> From: Thor Thayer >>> >>> Add the Arria10 DevKit System Resource Chip register and state >>

Re: [RFC PATCH 01/13] pinctrl: meson: Add GXL pinctrl definitions

2016-10-31 Thread Kevin Hilman
Neil Armstrong writes: > On 10/24/2016 03:03 AM, Linus Walleij wrote: >> On Fri, Oct 21, 2016 at 4:40 PM, Neil Armstrong >> wrote: >> >>> Add support for the Amlogic Meson GXL SoC, this is a partially complete >>> definition only based on the Amlogic Vendor tree. >>> >>> This definition differ

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2016-10-31 Thread Bartlomiej Zolnierkiewicz
On Monday, October 31, 2016 07:14:13 PM Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Monday, October 31, 2016 03:46:22 PM Russell King - ARM Linux wrote: > > On Wed, Oct 26, 2016 at 07:01:12PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > > > Hi, > > > > > > On Wednesday, July 13, 2016 04:

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2016-10-31 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, October 31, 2016 03:46:22 PM Russell King - ARM Linux wrote: > On Wed, Oct 26, 2016 at 07:01:12PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Wednesday, July 13, 2016 04:37:31 PM Arnd Bergmann wrote: > > > On Wednesday, July 13, 2016 12:59:23 PM CEST Bartlomiej

Re: [PATCH v12 RESEND 0/4] generic TEE subsystem

2016-10-31 Thread Andrew F. Davis
On 10/29/2016 04:46 AM, Jens Wiklander wrote: > On Fri, Oct 28, 2016 at 10:43:24AM -0500, Andrew F. Davis wrote: >> On 10/28/2016 05:19 AM, Jens Wiklander wrote: >>> Hi, >>> >>> This patch set introduces a generic TEE subsystem. The TEE subsystem will >>> contain drivers for various TEE implementat

[PATCH] gpio: htc-egpio: Make it explicitly non-modular

2016-10-31 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/gpio/Kconfig:config HTC_EGPIO drivers/gpio/Kconfig: bool "HTC EGPIO support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when rea

Re: [PATCH] pinctrl: meson: Add GXL pinctrl definitions

2016-10-31 Thread Kevin Hilman
Neil Armstrong writes: > Add support for the Amlogic Meson GXL SoC, this is a partially complete > definition only based on the Amlogic Vendor tree. > > This definition differs a lot from the GXBB and needs a separate entry. > > Acked-by: Rob Herring > Signed-off-by: Neil Armstrong Acked-by: K

Re: [LKP] [lkp] [x86/platform/UV] 71854cb812: will-it-scale.per_thread_ops -2.3% regression

2016-10-31 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Fengguang Wu wrote: > On Fri, Oct 28, 2016 at 12:37:45AM +0200, Thomas Gleixner wrote: > > I have no explanation for this either, but you really should try to figure > > out what's going on here. > > Xiaolong, how about doing a small debug patch (a WARN_ONCE() line may > be en

Applied "ASoC: lpass-cpu: add module licence and description" to the asoc tree

2016-10-31 Thread Mark Brown
The patch ASoC: lpass-cpu: add module licence and description has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sen

Applied "ASoC: lpass-platform: Fix broken pcm data usage" to the asoc tree

2016-10-31 Thread Mark Brown
The patch ASoC: lpass-platform: Fix broken pcm data usage has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: lpass-platform: use dma_ch instead of rdma_ch/wrdma_ch" to the asoc tree

2016-10-31 Thread Mark Brown
The patch ASoC: lpass-platform: use dma_ch instead of rdma_ch/wrdma_ch has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Re: [PATCH] staging: vc04_services: call sg_init_table to init scatterlist

2016-10-31 Thread Eric Anholt
Michael Zoran writes: > Call the sg_init_table function to correctly initialze > the DMA scatterlist. This function is required to completely > initialize the list and is mandatory if DMA debugging is > enabled in the build configuration. > > One of the purposes of sg_init_table is to set > the

[RFC PATCH] string: Add strzcmp for a length limited strcmp

2016-10-31 Thread Joe Perches
strncmp is commonly used when parsing early_param options where a fixed string is matched without the trailing zero. A few errors exist where string comparisons use strncmp and the length of the comparison to perform is incorrectly specified. ie: strncmp(ptr, "string", 5) where 5 should l

[PATCH] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC

2016-10-31 Thread John Heenan
The rtl8723bu wireless IC shows evidence of a more agressive approach to power saving, powering down its RF side when there is no wireless interfacing but leaving USB interfacing intact. This makes the wireless IC more suitable for use in devices which need to keep their power use as low as practic

Re: [PATCH] staging: vc04_services: setup DMA and coherent mask

2016-10-31 Thread Eric Anholt
Michael Zoran writes: > Setting the DMA mask is optional on 32 bit but > is mandatory on 64 bit. Set the DMA mask and coherent > to force all DMA to be in the 32 bit address space. > > This is considered a "good practice" and most drivers > already do this. > > Signed-off-by: Michael Zoran > --

Re: [PATCH 4.4 0/2] 4.4.30-stable review

2016-10-31 Thread Willy Tarreau
On Mon, Oct 31, 2016 at 11:52:49AM -0600, Greg Kroah-Hartman wrote: > Based on the discussion at the kernel summit a few hours ago, here's a > quick bug-fix release for 4.4-stable to resolve an issue with 4.4.29 and > older kernels. I'll probably release it once the testing systems run on > it to

[PATCH v2] memcg: Prevent memcg caches to be both OFF_SLAB & OBJFREELIST_SLAB

2016-10-31 Thread Thomas Garnier
While testing OBJFREELIST_SLAB integration with pagealloc, we found a bug where kmem_cache(sys) would be created with both CFLGS_OFF_SLAB & CFLGS_OBJFREELIST_SLAB. The original kmem_cache is created early making OFF_SLAB not possible. When kmem_cache(sys) is created, OFF_SLAB is possible and if pa

Re: net/dccp: warning in dccp_feat_clone_sp_val/__might_sleep

2016-10-31 Thread Eric Dumazet
On Mon, 2016-10-31 at 11:00 -0700, Cong Wang wrote: > On Sun, Oct 30, 2016 at 6:20 AM, Eric Dumazet wrote: > > On Sun, 2016-10-30 at 05:41 +0100, Andrey Konovalov wrote: > >> Sorry, the warning is still there. > >> > >> I'm not sure adding sched_annotate_sleep() does anything, since it's > >> defi

Re: [PATCH] staging: vc04_services: setup DMA and coherent mask

2016-10-31 Thread Michael Zoran
On Mon, 2016-10-31 at 11:36 -0700, Eric Anholt wrote: > Michael Zoran writes: > > > Setting the DMA mask is optional on 32 bit but > > is mandatory on 64 bit.  Set the DMA mask and coherent > > to force all DMA to be in the 32 bit address space. > > > > This is considered a "good practice" and m

make pdfdocs fails with v4.9-rc3

2016-10-31 Thread Jim Davis
Running make pdfdocs on a Ubuntu 16.04 system fails with Makefile:58: recipe for target 'media.pdf' failed make[2]: *** [media.pdf] Error 1 Documentation/Makefile.sphinx:79: recipe for target 'pdfdocs' failed make[1]: *** [pdfdocs] Error 2 Makefile:1442: recipe for target 'pdfdocs' failed make: **

Re: [PATCH v3 2/9] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-10-31 Thread Jagan Teki
Hi Cyrille, On Mon, Oct 24, 2016 at 10:04 PM, Cyrille Pitchen wrote: > This patch provides an alternative mean to support memory above 16MiB > (128Mib) by replacing 3byte address op codes by their associated 4byte > address versions. > > Using the dedicated 4byte address op codes doesn't change t

Re: bio linked list corruption.

2016-10-31 Thread Dave Jones
On Wed, Oct 26, 2016 at 07:47:51PM -0400, Dave Jones wrote: > On Wed, Oct 26, 2016 at 07:38:08PM -0400, Chris Mason wrote: > > > >-hctx->queued++; > > >-data->hctx = hctx; > > >-data->ctx = ctx; > > >+data->hctx = alloc_data.hctx; > > >+data->ct

[PATCH 0/3] rtc: remove modular usage from non-modular code

2016-10-31 Thread Paul Gortmaker
My ongoing audit looking for non-modular code that needlessly uses modular macros (vs. built-in equivalents) and/or has dead code relating to module unloading that can never be executed led to the creation of these rtc related commits. For anyone new to the underlying goal of this cleanup, we are

[PATCH 3/3] rtc: sparc: make sun4v explicitly non-modular

2016-10-31 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/rtc/Kconfig:config RTC_DRV_SUN4V drivers/rtc/Kconfig:bool "SUN4V Hypervisor RTC" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that

[PATCH 1/3] rtc: make rtc-lib explicitly non-modular

2016-10-31 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/rtc/Kconfig:config RTC_LIB drivers/rtc/Kconfig:bool ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when reading the driver there

[PATCH 2/3] rtc: sparc: make starfire explicitly non-modular

2016-10-31 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/rtc/Kconfig:config RTC_DRV_STARFIRE drivers/rtc/Kconfig:bool "Starfire RTC" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular infrastructure use, so that when

Re: [RFC PATCH v2 1/5] net: mdio-mux-mmioreg: Add support for 16bit and 32bit register sizes

2016-10-31 Thread Andrew Lunn
On Mon, Oct 31, 2016 at 05:56:23PM +0100, Neil Armstrong wrote: > In order to support PHY switching on Amlogic GXL SoCs, add support for > 16bit and 32bit registers sizes. > > Signed-off-by: Neil Armstrong Nice. Reviewed-by: Andrew Lunn Andrew

Re: [PATCH v2 1/1] MAINTAINERS: add a maintainer for the SPI NOR subsystem

2016-10-31 Thread Jagan Teki
On Fri, Oct 28, 2016 at 1:49 AM, Brian Norris wrote: > Hi, > > On Fri, Oct 21, 2016 at 11:28:00PM +0530, Jagan Teki wrote: >> On Thu, Oct 20, 2016 at 7:12 PM, Marek Vasut wrote: >> > On 10/19/2016 05:34 PM, Cyrille Pitchen wrote: >> >> I would like to volunteer as a maintainer for the SPI NOR par

[PATCH][RESEND] fs: always set I_DIRTY_TIME to fsync correctly on lazytime

2016-10-31 Thread Naohiro Aota
While lazytime states that "The on-disk timestamps are updated only when: ... - the application employs fsync(2), syncfs(2), or sync(2)" [1], it does not write a timestamp update on fsync(). [1] http://manpages.ubuntu.com/manpages/xenial/man8/mount.8.html The following commands will reproduce the

Re: [RFC PATCH v2 2/5] net: phy: Add Meson GXL Internal PHY driver

2016-10-31 Thread Andrew Lunn
On Mon, Oct 31, 2016 at 05:56:24PM +0100, Neil Armstrong wrote: > Add driver for the Internal RMII PHY found in the Amlogic Meson GXL SoCs. > > This PHY seems to only implement some standard registers and need some > workarounds to provide autoneg values from vendor registers. > > Some magic valu

Re: "hpsa: Change SAS transport devices to bus 0." commit breaks hpacucli on old controller firmware

2016-10-31 Thread Don Brace
On 10/27/2016 01:15 PM, Jack Suter wrote: Hi there, Commit "hpsa: Change SAS transport devices to bus 0." (09371d623c9c3dc6ed7f53ec8ab01d25f0c6c697) breaks the hpacucli utility for some HP Smart Array controllers with old firmware. Specifically, I have a P410 connected to an HP DL180 G6 running

Re: sata_sil24: swiotlb buffer is full ?

2016-10-31 Thread Konrad Rzeszutek Wilk
On Mon, Oct 31, 2016 at 10:18:25AM -0600, Tejun Heo wrote: > Hello, > > On Sat, Oct 29, 2016 at 11:40:29PM -0400, Andrew Ryder wrote: > > I have some disks attached to a "Silicon Image, Inc. SiI 3124 PCI-X Serial > > ATA Controller" and it repeatedly locks up the system with the message > > whenev

Re: make pdfdocs fails with v4.9-rc3

2016-10-31 Thread Jonathan Corbet
On Mon, 31 Oct 2016 11:51:20 -0700 Jim Davis wrote: > Running make pdfdocs on a Ubuntu 16.04 system fails with > > Makefile:58: recipe for target 'media.pdf' failed > make[2]: *** [media.pdf] Error 1 > Documentation/Makefile.sphinx:79: recipe for target 'pdfdocs' failed > make[1]: *** [pdfdocs]

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-31 Thread David Miller
From: Jakub Sitnicki Date: Sun, 30 Oct 2016 14:03:11 +0100 > 2) ensure the flow labels used in both directions are the same (either >reflected by one side, or fixed, e.g. not used and set to 0), so that >the 4-tuple we hash over when forwarding, label, next hdr>, is the same both ways

make psdocs fails with v4.9-rc3

2016-10-31 Thread Jim Davis
Running make psdocs on a Ubuntu 16.04 system fails with Documentation/DocBook/Makefile:142: recipe for target 'Documentation/DocBook/kernel-hacking.ps' failed make[1]: *** [Documentation/DocBook/kernel-hacking.ps] Error 9 Makefile:1442: recipe for target 'psdocs' failed make: *** [psdocs] Error 2

Re: [PATCH v2] console: use first console if stdout-path device doesn't appear

2016-10-31 Thread Larry Finger
On 10/31/2016 10:50 AM, Paul Burton wrote: On Monday, 31 October 2016 12:14:55 GMT Paul Burton wrote: If a device tree specified a preferred device for kernel console output via the stdout-path or linux,stdout-path chosen node properties there's no guarantee that it will have specified a device

Re: [PATCH] dt-bindings: video: exynos7-decon: Remove obsolete samsung,power-domain property

2016-10-31 Thread Krzysztof Kozlowski
On Sun, Oct 30, 2016 at 03:41:24PM -0500, Rob Herring wrote: > On Fri, Oct 21, 2016 at 05:05:54PM +0300, Krzysztof Kozlowski wrote: > > The samsung,power-domain property is obsolete since commit 0da658704136 > > ("ARM: dts: convert to generic power domain bindings for exynos DT"). > > Replace it wi

Re: [PATCH v2 2/2] x86/AMD: Group cpu_llc_id assignment by topology feature and family

2016-10-31 Thread Yazen Ghannam
> > > The NODEID_MSR feature only applies to Fam10h in which case the llc is at > > s/llc/LLC (Last Level Cache/ > > Let's try to have abbreviations written out in their first mention in the > text. > Okay. > > the node level. > > > > The TOPOEXT feature is used on families 15h, 16h and 17h

Re: [PATCH net-next 5/5] ipv6: Compute multipath hash for forwarded ICMP errors from offending packet

2016-10-31 Thread Tom Herbert
On Sun, Oct 30, 2016 at 6:03 AM, Jakub Sitnicki wrote: > On Fri, Oct 28, 2016 at 02:25 PM GMT, Tom Herbert wrote: >> On Fri, Oct 28, 2016 at 1:32 AM, Jakub Sitnicki wrote: >>> On Thu, Oct 27, 2016 at 10:35 PM GMT, Tom Herbert wrote: On Mon, Oct 24, 2016 at 2:28 AM, Jakub Sitnicki wrote: >>>

Re: [PATCH 2/2] mm: remove get_user_pages_locked()

2016-10-31 Thread Lorenzo Stoakes
On Mon, Oct 31, 2016 at 06:55:33PM +0100, Paolo Bonzini wrote: > > 2. There is currently only one caller of get_user_pages_locked() in > >mm/frame_vector.c which seems to suggest this function isn't widely > >used/known. > > Or not widely necessary. :) Well, quite :) > > > 3. This change r

Re: [PATCH v2 1/2] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-10-31 Thread Yazen Ghannam
> > The current Fam17h cpu_llc_id derivation has an underflow bug when > ^ > (Last Level Cache ID) > > Let's write it out the first time. > Ack. > > > > The apicid decoding is fixed for bits 3 and above, >

Re: [PATCH] unix: escape all null bytes in abstract unix domain socket

2016-10-31 Thread David Miller
From: Isaac Boukris Date: Sat, 29 Oct 2016 22:20:20 +0300 > Abstract unix domain socket may embed null characters, > these should be translated to '@' when printed out to > proc the same way the null prefix is currently being > translated. > > This helps for tools such as netstat, lsof and the p

Re: [PATCH 15/15] solos-pci: use permission-specific DEVICE_ATTR variants

2016-10-31 Thread David Miller
From: Julia Lawall Date: Sat, 29 Oct 2016 21:37:09 +0200 > Use DEVICE_ATTR_RW for read-write attributes. This simplifies the > source code, improves readbility, and reduces the chance of > inconsistencies. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr

Re: [PATCH 12/15] ptp: use permission-specific DEVICE_ATTR variants

2016-10-31 Thread David Miller
From: Julia Lawall Date: Sat, 29 Oct 2016 21:37:06 +0200 > Use DEVICE_ATTR_RO for read only attributes. This simplifies the > source code, improves readbility, and reduces the chance of > inconsistencies. > > The semantic patch that makes this change is as follows: > (http://coccinelle.lip6.fr/

make cleandocs missing files with v4.9-rc3

2016-10-31 Thread Jim Davis
On my Ubuntu 16.04 system, make htmldocs works just fine (hurrah!) but make cleandocs misses a fair number of files: HTMLDocumentation/DocBook/index.html jim@krebstar:~/linux-rc$ make cleandocs jim@krebstar:~/linux-rc$ git status HEAD detached at v4.9-rc3 nothing to commit, working directory

Re: bio linked list corruption.

2016-10-31 Thread Linus Torvalds
On Mon, Oct 31, 2016 at 11:55 AM, Dave Jones wrote: > > BUG: Bad page state in process kworker/u8:12 pfn:4e0e39 > page:ea0013838e40 count:0 mapcount:0 mapping:8804a20310e0 index:0x100c > flags: 0x400c(referenced|uptodate) > page dumped because: non-NULL mapping Hmm. So this s

Re: pull-request: wireless-drivers-next 2016-10-30

2016-10-31 Thread David Miller
From: Kalle Valo Date: Sun, 30 Oct 2016 11:20:46 +0200 > few fixes for 4.9. I tagged this on the plane over a slow mosh > connection while travelling to Plumbers so I might have done something > wrong, please check more carefully than usually. For example I had to > redo the signed tag because of

[PATCH 3/4] loop: Add 'lo_logical_blocksize'

2016-10-31 Thread Hannes Reinecke
Add a new field 'lo_logical_blocksize' to hold the logical blocksize of the loop device. Signed-off-by: Hannes Reinecke --- drivers/block/loop.c | 9 +++-- drivers/block/loop.h | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c i

[PATCHv3 0/4] loop: enable different physical blocksizes

2016-10-31 Thread Hannes Reinecke
Currently the loop driver just simulates 512-byte blocks. When creating bootable images for virtual machines it might be required to use a different physical blocksize (eg 4k for S/390 DASD), as the some bootloaders (like lilo or zipl for S/390) need to know the physical block addresses of the kern

[PATCH 1/4] loop: Remove unused 'bdev' argument from loop_set_capacity

2016-10-31 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke Reviewed-by: Christoph Hellwig --- drivers/block/loop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/loop.c b/drivers/block/loop.c index fa1b7a9..3008dec 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -1298,

[PATCH 2/4] loop: Enable correct physical blocksize

2016-10-31 Thread Hannes Reinecke
When running on files the physical blocksize is actually 4k, so we should be announcing it as such. This is enabled with a new LO_FLAGS_BLOCKSIZE flag value to the existing loop_set_status ioctl. Signed-off-by: Hannes Reinecke --- drivers/block/loop.c | 9 - include/uapi/linux/loop.

[PATCH 4/4] loop: Pass logical blocksize in 'lo_init[0]' ioctl field

2016-10-31 Thread Hannes Reinecke
The current LOOP_SET_STATUS64 ioctl has two unused fields 'init[2]', which can be used in conjunction with the LO_FLAGS_BLOCKSIZE flag to pass in the new logical blocksize. Signed-off-by: Hannes Reinecke --- drivers/block/loop.c | 24 +++- 1 file changed, 19 insertions(+), 5

[PATCH] arm64: errata: Check for --fix-cortex-a53-843419 and --fix-cortex-a53

2016-10-31 Thread Markus Mayer
From: Markus Mayer The new errata check leads to a warning with some older versions of the linker that do know how to work around the errata, but still use the original name of the command line option: --fix-cortex-a53. The commit in question that changed the name of the option can be found at [1

Re: bio linked list corruption.

2016-10-31 Thread Chris Mason
On Mon, Oct 31, 2016 at 12:35:16PM -0700, Linus Torvalds wrote: On Mon, Oct 31, 2016 at 11:55 AM, Dave Jones wrote: BUG: Bad page state in process kworker/u8:12 pfn:4e0e39 page:ea0013838e40 count:0 mapcount:0 mapping:8804a20310e0 index:0x100c flags: 0x400c(referenced|uptod

[ANNOUNCE] 4.8.6-rt5

2016-10-31 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.8.6-rt5 patch set. Changes since v4.8.6-rt5: - Added `-no-PIE' to the Makefile for AFLAGS as well. This breaks gcc 3.2. Is someone here still using it? - The NFS fixup was slightly adjusted to avoid disabling preemption on !RT. Known i

Re: [PATCH] staging: vc04_services: setup DMA and coherent mask

2016-10-31 Thread Michael Zoran
On Mon, 2016-10-31 at 11:40 -0700, Michael Zoran wrote: > On Mon, 2016-10-31 at 11:36 -0700, Eric Anholt wrote: > > Michael Zoran writes: > > > > > Setting the DMA mask is optional on 32 bit but > > > is mandatory on 64 bit.  Set the DMA mask and coherent > > > to force all DMA to be in the 32 bi

Re: [Patch V6 2/6] irqchip: xilinx: Clean up irqdomain argument and read/write

2016-10-31 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote: > The drivers read/write function handling is a bit quirky. Can you please explain in more detail what's quirky and why it should be done differently, > And the irqmask is passed directly to the handler. I can't make any sense out of that se

Re: [PATCH v1 2/3] nvmem: Add the Broadcom OTP controller driver

2016-10-31 Thread Scott Branden
Florian, On 16-10-31 07:23 AM, Srinivas Kandagatla wrote: On 24/10/16 20:12, Jonathan Richardson wrote: From: Jonathan Richardson Add support for 32 and 64-bit versions of Broadcom's On-Chip OTP controller. These controllers are used on SoC's such as Cygnus and Stingray. Reviewed-by: Ray Ju

[PATCH v3 3/4] ARM: dts: pxa: add pxa27x cpu operating points

2016-10-31 Thread Robert Jarzmik
Add the relevant data taken from the PXA27x Electrical, Mechanical, and Thermal Specfication. This will be input data for cpufreq-dt driver. Signed-off-by: Robert Jarzmik --- Since v2: opp definition amended as per Viresh's comment --- arch/arm/boot/dts/pxa27x.dtsi | 40 +

[PATCH v3 2/4] ARM: dts: pxa: add pxa25x cpu operating points

2016-10-31 Thread Robert Jarzmik
Add the relevant data taken from the PXA 25x Electrical, Mechanical, and Thermal Specfication. This will be input data for cpufreq-dt driver. Signed-off-by: Robert Jarzmik --- Since v2: opp definition amended as per Viresh's comment --- arch/arm/boot/dts/pxa25x.dtsi | 25

[PATCH v3 0/4] PXA cpufreq conversion to clock API

2016-10-31 Thread Robert Jarzmik
Hi, This serie is a preparation to shift the cpufreq of pxa2xx platforms to clocks API, next iteration. The first 3 patches are review and merge material : - patch 1/4 for Viresh and Rafael - patches 2/4 and 3/4 for me The 4th on is for review but not merge, as the clock changes must be fully

[PATCH v3 1/4] cpufreq: pxa: use generic platdev driver for device-tree

2016-10-31 Thread Robert Jarzmik
For device-tree based pxa25x and pxa27x platforms, cpufreq-dt driver is doing the job as well as pxa2xx-cpufreq, so add these platforms to the compatibility list. This won't work for legacy non device-tree platforms where pxa2xx-cpufreq is still required. Signed-off-by: Robert Jarzmik --- drive

Re: [PATCH] staging: vc04_services: setup DMA and coherent mask

2016-10-31 Thread Michael Zoran
On Mon, 2016-10-31 at 12:53 -0700, Michael Zoran wrote: > On Mon, 2016-10-31 at 11:40 -0700, Michael Zoran wrote: > > On Mon, 2016-10-31 at 11:36 -0700, Eric Anholt wrote: > > > Michael Zoran writes: > > > > > > > Setting the DMA mask is optional on 32 bit but > > > > is mandatory on 64 bit.  Set

[PATCH v3 4/4] cpufreq: pxa: convert to clock API

2016-10-31 Thread Robert Jarzmik
As the clock settings have been introduced into the clock pxa drivers, which are now available to change the CPU clock by themselves, remove the clock handling from this driver, and rely on pxa clock drivers. Signed-off-by: Robert Jarzmik --- Since v1: added !OF Kconfig dependency Since v2: remov

[PATCH v2] ARM: davinci: da850: Fix pwm name matching

2016-10-31 Thread David Lechner
This fixes pwm name matching for DA850 familiy devices. When using device tree, the da850_auxdata_lookup[] table caused pwm devices to have the exact same name, which caused errors when trying to register the devices. We cannot have multiple entries for the same clock in in da850_clks[], so we hav

Re: [PATCH 1/1] xen-netfront: do not cast grant table reference to signed short

2016-10-31 Thread David Miller
From: Dongli Zhang Date: Mon, 31 Oct 2016 13:38:29 +0800 > While grant reference is of type uint32_t, xen-netfront erroneously casts > it to signed short in BUG_ON(). > > This would lead to the xen domU panic during boot-up or migration when it > is attached with lots of paravirtual devices. >

[PATCH 0/2] kthread: kill to_live_kthread()

2016-10-31 Thread Oleg Nesterov
On 10/28, Oleg Nesterov wrote: > > I'll try to kill to_live_kthread() tomorrow, didn't have time to do this > today. Hmm. And this looks even simpler than I thought, or I am totally confused. Thomas, could you please review this series too? Chunming, Alex, I _think_ that drm/amdgpu should not use

[PATCH 2/2] kthread: don't use to_live_kthread() in kthread_park() and kthread_unpark()

2016-10-31 Thread Oleg Nesterov
Now that to_kthread() is always valid we can change kthread_park() and kthread_unpark() to use it and kill to_live_kthread(). kthread_unpark() is trivial, if KTHREAD_IS_PARKED is set we know that this kthread has called complete(&self->parked), we do not care if it exits after that if we race with

Re: [RFC PATCH 0/6] UART slave devices using serio

2016-10-31 Thread Peter Hurley
[ this time w/o the html ] On Tue, Oct 25, 2016 at 4:02 PM, Rob Herring wrote: > > Maybe you can try to find some minutes at the Kernel Summit to talk > > about this? > > Still waiting for my invite... > > But I will be at Plumbers if folks want to discuss this. Hey Rob, I'm here so let's make

[PATCH 1/2] kthread: don't use to_live_kthread() in kthread_stop()

2016-10-31 Thread Oleg Nesterov
kthread_stop() had to use to_live_kthread() simply because it was not possible to access kthread->exited after the exiting kthread clears task_struct->vfork_done. Now that to_kthread() is always valid we can do wake_up_process() + wait_for_completion() unconditionally, we don't care if it has alrea

Re: [PATCH v1 1/3] dt-bindings: Document Broadcom OTP controller driver

2016-10-31 Thread Jonathan Richardson
On 16-10-30 06:38 PM, Rob Herring wrote: > On Mon, Oct 24, 2016 at 12:12:02PM -0700, Jonathan Richardson wrote: >> From: Jonathan Richardson >> >> Reviewed-by: Ray Jui >> Tested-by: Jonathan Richardson >> Signed-off-by: Scott Branden >> Signed-off-by: Oza Pawandeep >> Signed-off-by: Jonathan

RE: [tpmdd-devel] tpm_tis regression in 4.9?

2016-10-31 Thread Winkler, Tomas
> > On Fri, Oct 28, 2016 at 05:37:45PM +0300, Jarkko Sakkinen wrote: > > > > I think this patch from Jarkko's next is the fix: > > > > > > http://git.infradead.org/users/jjs/linux-tpmdd.git/commit/65da72b7dd > > > cdd8990e4783d09c7e86d90ccb4121 > > > > > > Jarkko? Can you hurry that along to go i

Re: make pdfdocs fails with v4.9-rc3

2016-10-31 Thread Mauro Carvalho Chehab
Em Mon, 31 Oct 2016 13:15:24 -0600 Jonathan Corbet escreveu: > On Mon, 31 Oct 2016 11:51:20 -0700 > Jim Davis wrote: > > > Running make pdfdocs on a Ubuntu 16.04 system fails with > > > > Makefile:58: recipe for target 'media.pdf' failed > > make[2]: *** [media.pdf] Error 1 > > Documentation/M

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

2016-10-31 Thread Ondrej Zary
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(+), 2 deletions(-) diff --git a/drivers/scsi/g_NCR5380.

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

2016-10-31 Thread Ondrej Zary
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_NCR5380.c b/drivers/scsi/g_NCR5380.c index 27fc499..6a08d3e

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

2016-10-31 Thread Ondrej Zary
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 result in 0xff). Signed-off-by: Ondrej Zary --- drivers/

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

2016-10-31 Thread Ondrej Zary
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. Signed-off-by: Ondrej Zary --- drivers/scsi/g_NCR5380.c | 44 +--- 1 file changed, 41 inser

Re: [PATCH v2 4/5] ARM: dts: da850-lcdk: enable mstpri and ddrctl nodes

2016-10-31 Thread Laurent Pinchart
Hi Bartosz, Thank you for the patch. On Monday 31 Oct 2016 15:45:37 Bartosz Golaszewski wrote: > Enable the MSTPRI configuration and DDR2/mDDR memory controller > nodes on da850-lcdk. This is needed in order to adjust the memory > throughput constraints for better tilcdc support. Is there a reas

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

2016-10-31 Thread Ondrej Zary
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. Signed-off-by: Ondrej Zary --- drivers/scsi/g_NCR5380.

Re: [PATCH 4/7] lightnvm: drop reserve and release LUN callbacks

2016-10-31 Thread Jens Axboe
On 10/31/2016 07:08 AM, Matias Bjørling wrote: On 10/27/2016 08:01 PM, Javier González wrote: From: Javier González On target initialization, targets use callbacks to the media manager to configure the LUNs they use. In order to simplify the flow, drop this callbacks and manage everything inte

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

2016-10-31 Thread Ondrej Zary
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 code to a separate function so it can be used for other

Re: sata_sil24: swiotlb buffer is full ?

2016-10-31 Thread Andrew Ryder
On 10/31/2016 03:09 PM, Konrad Rzeszutek Wilk wrote: On Mon, Oct 31, 2016 at 10:18:25AM -0600, Tejun Heo wrote: Hello, On Sat, Oct 29, 2016 at 11:40:29PM -0400, Andrew Ryder wrote: I have some disks attached to a "Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller" and it repeatedly lo

[PATCH 0/6] (g_)NCR5380: Improve IRQ probing and some fixes

2016-10-31 Thread Ondrej Zary
Hello, this patch series improves IRQ probing and moves it from NCR5380 to g_NCR5380, adds IRQ auto-configuration for HP C2502 and enables all this by default. It also adds IRQ and base address checks to prevent hangs when wrong values are specified by user. There's also a small release region fix

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

2016-10-31 Thread Matt Ranostay
On Tue, Oct 25, 2016 at 11:47 AM, Matt Ranostay wrote: > On Mon, Oct 24, 2016 at 1:14 PM, Pavel Machek wrote: >> On Mon 2016-10-24 12:58:25, Matt Ranostay wrote: >>> Pavel + Sebastian this is the patchset that need I some input on :) >> >> Better then previous one. >> >> But my version of bq27xxx

[PATCH] platform/x86/asus-nb-wmi.c: Add X45U quirk

2016-10-31 Thread Marcos Paulo de Souza
Without this patch, the Asus X45U wireless card can't be turned on (hard-blocked), but after a suspend/resume it just starts working. Following this bug report[1], there are other cases like this one, but this Asus is the only model that I can test. [1] https://ubuntuforums.org/showthread.php?t=2

Re: [PATCH 2/4] fs: remove the never implemented aio_fsync file operation

2016-10-31 Thread Dave Chinner
On Mon, Oct 31, 2016 at 02:07:54PM +0100, Christoph Hellwig wrote: > On Mon, Oct 31, 2016 at 10:23:31AM +1100, Dave Chinner wrote: > > This doesn't belong in this patchset. > > It does. I can't fix up the calling conventions for a methods that > was never implemented. That sounds like a problem

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-31 Thread Sean Young
On Sun, Oct 30, 2016 at 10:33:02AM -0500, Nathan wrote: > I think this should be PNP0501 instead of PNP0c02. > Once I alter that then when I boot the serial comes up on irq 3. However it > still hangs. > I'll keep digging. Well that's that theory out of the window. I'm not sure where to look now,

[PATCH v2 03/12] ko_KR/HOWTO: Fix subtitles style

2016-10-31 Thread SeongJae Park
This commit fixes subtitles style. It aligns them with their header, adjust blank lines between them properly. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentati

[PATCH v2 04/12] ko_KR/HOWTO: Update obsolete link to bugzilla faq

2016-10-31 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentation/ko_KR/HOWTO index 1a5d7a8d66be..f3348ef68bbd 100644 --- a/Documentation/ko_KR/HOWTO +++ b/Documentation/ko_KR/HOWTO @@ -325,7 +3

[PATCH v2 08/12] ko_KR/HOWTO: Improve some markups to make it visually better

2016-10-31 Thread SeongJae Park
This commit applies commit 34fed7e7e0e5 ("Documentation/HOWTO: improve some markups to make it visually better") to Korean translation. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/Documentation/k

<    1   2   3   4   5   6   7   8   >