Re: [PATCH 2/3] input: touchscreen: ad7879: fix default x/y axis assignment

2016-01-26 Thread Michael Hennerich
On 01/26/2016 04:04 AM, Stefan Agner wrote: The measurements read from the controller which are temporary stored in conversion_data, are interpreted wrong. The first measurement X+ contains the Y position, and the second measurement Y+ the X position (see also Table 11 Register Table in the data

Re: [PATCH] ASoC: fsl: add imx-cs427x machine driver

2016-01-26 Thread Felipe Ferreri Tonello
Hi Rob, On 26/01/16 02:29, Rob Herring wrote: > On Mon, Jan 25, 2016 at 05:53:23PM +, Felipe F. Tonello wrote: >> This is the initial imx-cs427x device-tree-only machine driver working with >> fsl_ssi driver. More features can be added on top of it later. >> >> Signed-off-by: Felipe F. Tonello

Re: [PATCH] ASoC: fsl: add imx-cs427x machine driver

2016-01-26 Thread Fabio Estevam
Hi Felipe, On Tue, Jan 26, 2016 at 7:43 AM, Felipe Ferreri Tonello wrote: > I agree, but that how it is today. These platform drivers for imx are > similar but not identical. Looking at them I would guess that they have > 50 to 60% of duplicated code. Would simple-audio-card or fsl-asoc-card he

Re: [PATCH v2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Chen Fan
On 01/26/2016 04:26 PM, Thomas Gleixner wrote: On Mon, 25 Jan 2016, Bjorn Helgaas wrote: On Mon, Jan 25, 2016 at 02:59:38PM +0800, Chen Fan wrote: i801_smbus :00:1f.3: PCI INT C: no GSI i801_smbus :00:1f.3: Failed to allocate irq 255: -16 i801_smbus: probe of :00:1f.3 failed with e

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-01-26 Thread Thomas Gleixner
On Tue, 26 Jan 2016, Jan Kara wrote: > On Sat 23-01-16 17:11:54, Thomas Gleixner wrote: > > On Sat, 23 Jan 2016, Ben Hutchings wrote: > > > On Fri, 2016-01-22 at 11:09 -0500, Tejun Heo wrote: > > > > > Looks like it requires more than trivial backport (I think). Tejun? > > > > > > > > The timer mi

Re: [PATCH v3 3/9] ASoC: rockchip: i2s: add support for grabbing output clock to codec

2016-01-26 Thread Heiko Stübner
Hi Jay, Am Montag, 25. Januar 2016, 09:15:31 schrieb Jianqun Xu: > 在 23/01/2016 01:18, Mark Brown 写道: > > On Fri, Jan 15, 2016 at 01:48:04PM -0800, Sonny Rao wrote: > >> On Fri, Jan 15, 2016 at 9:46 AM, Mark Brown wrote: > >>> If the I2S block is providing a clock to the CODEC then that's what th

Re: [PATCH v2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-26 Thread Thomas Gleixner
On Tue, 26 Jan 2016, Chen Fan wrote: > On 01/26/2016 04:26 PM, Thomas Gleixner wrote: > > > > if (gsi < 0) { > > > > - if (acpi_isa_register_gsi(dev)) > > > > +#ifdef CONFIG_X86 > > > > + /* > > > > +* The Interrupt Line value of 0xff is defined t

Re: [PATCH] i2c: imx: add slave support

2016-01-26 Thread Dmitriy Baranov
Sorry, we should have added selecting this in our patch. The following fixes it: Subject: [PATCH] Select I2C_SLAVE for i2c-imx driver because it uses the generic slave interface. Signed-off-by: Dmitriy Baranov Signed-off-by: Maxim Syrchin --- drivers/i2c/busses/Kconfig | 1 + 1 file changed

net/rfkill: WARNING in rfkill_fop_read

2016-01-26 Thread Dmitry Vyukov
Hello, The following program triggers WARNING message in rfkill_fop_read: [ cut here ] WARNING: CPU: 2 PID: 6975 at kernel/sched/core.c:7663 __might_sleep+0x138/0x1a0() do not call blocking ops when !TASK_RUNNING; state=1 set at [] prepare_to_wait_event+0x141/0x410 kernel/

Re: [patch] nvme: lightnvm: buffer overflow in nvme_nvm_identity()

2016-01-26 Thread Matias Bjørling
On 01/26/2016 10:27 AM, Dan Carpenter wrote: > nvme_nvm_id->ppaf is 4 bytes larger than nvm_id->ppaf. We're using the > larger size struct for the sizeof() so we end up corrupting the > first four bytes of nvm_id->groups[]. It doesn't look like we actually > want to copy those last bytes anyway.

Re: [PATCH] cpufreq: Fix NULL reference crash while accessing policy->governor_data

2016-01-26 Thread Juri Lelli
Hi Viresh, On 25/01/16 22:33, Viresh Kumar wrote: > There is a little race discovered by Juri, where we are able to: > - create and read a sysfs file before policy->governor_data is being set > to a non NULL value. > OR > - set policy->governor_data to NULL, and reading a file before being >

Re: [PATCH 05/22] hw_random: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Daniel Thompson
On 25/01/16 22:24, Richard Weinberger wrote: Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger Reviewed-by: Daniel Thompson Thanks for cleaning up after me! --- drivers/char/hw_random/Kconfig | 1 + 1 file changed, 1 inser

Re: [PATCH V2 3/5] PCI: xilinx: Modifying AXI PCIe Host Bridge driver to work on both Zynq and Microblaze

2016-01-26 Thread Michal Simek
On 12.1.2016 23:27, Arnd Bergmann wrote: > On Tuesday 12 January 2016 23:06:11 Bharat Kumar Gogada wrote: >> Modifying Xilinx AXI PCIe Host Bridge Soft IP driver to work on both >> Zynq and Microblaze Architectures. >> With these modifications drivers/pci/host/pcie-xilinx.c, will >> work on both Zy

Re: net/rfkill: WARNING in rfkill_fop_read

2016-01-26 Thread Johannes Berg
On Tue, 2016-01-26 at 10:55 +0100, Dmitry Vyukov wrote: > Hello, > > The following program triggers WARNING message in rfkill_fop_read: > > [ cut here ] > WARNING: CPU: 2 PID: 6975 at kernel/sched/core.c:7663 > __might_sleep+0x138/0x1a0() > do not call blocking ops when !T

UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2

2016-01-26 Thread Chris Bainbridge
Booting 4.5.0-rc1 with new UBSAN checker enabled: [3.805449] [3.805453] UBSAN: Undefined behaviour in ./arch/x86/include/asm/atomic.h:156:2 [3.805455] signed integer overflow: [3.805456] -1720106381

[PATCH 1/1] block: fix race between opening blkext device and freeing it

2016-01-26 Thread Roman Pen
There is a race introduced by the commit 2da78092dda13f1e, which causes oops with the following stack and preceding warning: WARNING: CPU: 2 PID: 28311 at include/linux/kref.h:47 kobject_get+0x42/0x50() Call Trace: [] dump_stack+0x46/0x58 [] warn_slowpath_common+0x8c/0xc0 [] warn_slowpath_null+

UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25

2016-01-26 Thread Chris Bainbridge
Booting 4.5.0-rc1 with new UBSAN checker enabled: [4.556968] [4.556972] UBSAN: Undefined behaviour in drivers/usb/core/devio.c:1517:25 [4.556975] shift exponent -1 is negative [4.556979] CPU: 2 PID: 3

UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10

2016-01-26 Thread Chris Bainbridge
Booting 4.5.0-rc1 with new UBSAN checker enabled: [3.859690] [3.859694] UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10 [3.859696] signed integer overflow: [3.859697] 9223372036854775807 + 1 ca

Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

2016-01-26 Thread John Garry
On 25/01/2016 22:24, Richard Weinberger wrote: Not every arch has io or DMA memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/scsi/hisi_sas/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/hisi_sas/Kconfig b/driver

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Mon, Jan 25, 2016 at 10:12:11PM -0800, Paul E. McKenney wrote: > On Mon, Jan 25, 2016 at 06:02:34PM +, Will Deacon wrote: > > Thanks for having a go at this. I tried defining something axiomatically, > > but got stuck pretty quickly. In my scheme, I used "data-directed > > transitivity" ins

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Mon, Jan 25, 2016 at 10:03:22PM -0800, Paul E. McKenney wrote: > On Mon, Jan 25, 2016 at 04:42:43PM +, Will Deacon wrote: > > On Fri, Jan 15, 2016 at 01:58:53PM -0800, Paul E. McKenney wrote: > > > On Fri, Jan 15, 2016 at 10:27:14PM +0100, Peter Zijlstra wrote: > > > > Yes, that seems a goo

[PATCH v4 02/13] mmc: sdhci-esdhc-imx: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci esdhc-imx driver to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann

[PATCH v4 07/13] mmc: sdhci-of-at91: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci-of-at91 driver to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann

[PATCH v4 09/13] mmc: sdhci-pxav3: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-pxav3 to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/

[PATCH v4 08/13] mmc: sdhci-of-esdhc: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci-of-esdhc driver to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann

[PATCH v4 13/13] mmc: sdhci-pltfm: remove priv variable from sdhci_pltfm_host

2016-01-26 Thread Jisheng Zhang
Now all clients migration to use sdhci_pltfm_init for private allocation is done and there's no users of the priv variable, so we can remove it from the sdhci_pltfm_host structure. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/mmc/host/sdhci-pltfm.h | 1 - 1 file changed, 1 d

[PATCH v4 11/13] mmc: sdhci-tegra: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-tegra to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/

[PATCH v4 10/13] mmc: sdhci-st: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-st to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/mmc

[PATCH v4 04/13] mmc: sdhci-msm: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-msm to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/mm

[PATCH v4 12/13] mmc: sdhci-pxav2: remove unnecessary assignment of pltfm_host->priv

2016-01-26 Thread Jisheng Zhang
The sdhci_pltfm_init() function has initialized the priv member as NULL, so there's no need to do it again. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/mmc/host/sdhci-pxav2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/hos

[PATCH v4 01/13] mmc: sdhci-bcm2835: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-bcm2835 to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- driver

[PATCH v4 06/13] mmc: sdhci-of-arasan: use sdhci_pltfm_init for private allocation

2016-01-26 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci-of-arasan driver to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Thu, Jan 14, 2016 at 02:20:46PM -0800, Paul E. McKenney wrote: > On Thu, Jan 14, 2016 at 01:24:34PM -0800, Leonid Yegoshin wrote: > > On 01/14/2016 12:48 PM, Paul E. McKenney wrote: > > > > > >So SYNC_RMB is intended to implement smp_rmb(), correct? > > Yes. > > > > > >You could use SYNC_ACQUIRE

Re: [PATCH V6 8/8] hvsock: introduce Hyper-V Socket feature

2016-01-26 Thread Olaf Hering
On Tue, Jan 26, Dexuan Cui wrote: > +#define AF_MAX 42 /* For now.. */ Maybe net/core/sock.c needs additional strings for the new socket? Olaf

[PATCH v4 05/13] mmc: sdhci-of-arasan: fix clk issue in sdhci_arasan_remove()

2016-01-26 Thread Jisheng Zhang
sdhci_pltfm_unregister() could operate host's registers, it will cause problems if the clk is already disabled and unprepared. Fix this issue by moving the clk_disable_unprepare() call to the end of remove function. Signed-off-by: Jisheng Zhang --- drivers/mmc/host/sdhci-of-arasan.c | 5 - 1

[PATCH v2 2/2] serial: atmel: add support for new UART version

2016-01-26 Thread Nicolas Ferre
Starting with sama5d2, the new UART revision has an hardware timer. So, add it to the IP detection code and set the "has_hw_timer" property for it. Signed-off-by: Nicolas Ferre Reported-by: David Mosberger --- v2: - add needed variable declaration drivers/tty/serial/atmel_serial.c | 7 ---

Re: [PATCH 2/2] serial: atmel: add support for new UART version

2016-01-26 Thread Nicolas Ferre
; > url: > https://github.com/0day-ci/linux/commits/Nicolas-Ferre/serial-atmel-trivial-clean-the-IP-version-decoding-code/20160126-014116 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git > usb-testing > config: i386-allmodconfig (attached as .config) > r

[PATCH v4 03/13] mmc: sdhci-msm: factorise sdhci_msm_pdata outisde of sdhci_msm_host

2016-01-26 Thread Jisheng Zhang
There's no need to allocate one sdhci_msm_pdata for each sdhci_msm_host. This patch removes the sdhci_msm_pdata member from sdhci_msm_host and uses one static global sdhci_msm_pdata for all sdhci msm hosts. It also marks sdhci_msm_ops as const. Signed-off-by: Jisheng Zhang --- drivers/mmc/host/s

[PATCH v2 1/2] serial: atmel: trivial: clean the IP version decoding code

2016-01-26 Thread Nicolas Ferre
No functional change is associated with this patch. A driver property depends on the Atmel serial IP revision. This property is the way the rx timeout is handled: by an hardware or software timer. So, change this property name and setup code so that it's easier to understand and more future proof

Re: [PATCH] gpio/sysfs: Add ID parameter for GPIO lines

2016-01-26 Thread Ricardo Ribalda Delgado
Hello! Any comment on this? Thanks! On Thu, Dec 17, 2015 at 5:48 PM, Ricardo Ribalda Delgado wrote: > On named GPIOs there is currently no find out their numerical id. > > Because of this, a GPIO pin named like: > /sys/class/gpio/PROG_B > > cannot be unexported by an application different than

gpu: kmalloc size WARNING in vga_arb_write

2016-01-26 Thread Dmitry Vyukov
Hello, I've hit the following warning while running syzkaller fuzzer: [ cut here ] WARNING: CPU: 2 PID: 29322 at mm/page_alloc.c:2999 __alloc_pages_nodemask+0x7d2/0x1760() Modules linked in: CPU: 2 PID: 29322 Comm: syz-executor Tainted: GB 4.5.0-rc1+ #283 Har

[PATCH v4 00/13] mmc: use sdhci_pltfm_init for private allocation and clean up

2016-01-26 Thread Jisheng Zhang
These patches are to complete the TODOs in Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register"), I.E: - todo: migrate clients to using allocation this way - todo: remove priv variable once migration is complete Since v3: - based on v4.5-rc1 - add Ludovic's ack for sdhci-of-a

Re: [PATCH v6 03/12] usb: dbc: probe and setup xhci debug capability

2016-01-26 Thread Lu Baolu
On 01/26/2016 03:36 PM, Greg Kroah-Hartman wrote: > On Tue, Jan 26, 2016 at 12:14:16PM +0800, Lu Baolu wrote: >> xHCI debug capability (DbC) is an optional functionality provided >> by an xHCI host controller. Software learns this capability by >> walking through the extended capability list in m

[PATCH] mmc: sdhci-iproc: use sdhci_pltfm_unregister directly

2016-01-26 Thread Jisheng Zhang
The sdhci_iproc_remove() is jsut a wrapper to sdhci_pltfm_unregister. So use the sdhci_pltfm_unregister() for the .remove hook directly. Signed-off-by: Jisheng Zhang --- drivers/mmc/host/sdhci-iproc.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/mmc/host/sdhc

undefined reference to `efi_call'

2016-01-26 Thread kbuild test robot
Hi Johannes, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 92e963f50fc74041b5e9e744c330dca48e04f08d commit: 489c2a20a414351fe0813a727c34600c0f7292ae mm: memcontrol: introduce CONFIG_MEMCG_LEGACY_KM

Re: [PATCH 1/2] crypto: jitterentropy - always select CRYPTO_RNG

2016-01-26 Thread Herbert Xu
On Mon, Jan 25, 2016 at 05:50:34PM +0100, Arnd Bergmann wrote: > When building the jitterentropy driver by itself, we get a link error > when CRYPTO_RNG is not enabled as well: > > crypto/built-in.o: In function `jent_mod_init': > jitterentropy-kcapi.c:(.init.text+0x98): undefined reference to >

Re: [patch] ceph: checking for IS_ERR instead of NULL

2016-01-26 Thread Ilya Dryomov
On Tue, Jan 26, 2016 at 10:24 AM, Dan Carpenter wrote: > ceph_osdc_alloc_request() returns NULL on error, it never returns error > pointers. > > Fixes: 5be0389dac66 ('ceph: re-send AIO write request when getting -EOLDSNAP > error') > Signed-off-by: Dan Carpenter > > diff --git a/fs/ceph/file.c b

Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

2016-01-26 Thread Richard Weinberger
Am 26.01.2016 um 11:15 schrieb John Garry: > On 25/01/2016 22:24, Richard Weinberger wrote: >> Not every arch has io or DMA memory. >> So, unbreak the build by fixing the dependencies. >> >> Signed-off-by: Richard Weinberger >> --- >> drivers/scsi/hisi_sas/Kconfig | 1 + >> 1 file changed, 1 in

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Peter Zijlstra
On Tue, Jan 26, 2016 at 11:24:02AM +0100, Peter Zijlstra wrote: > Yeah, this goes under the header: memory-barriers.txt is _NOT_ a > specification (I seem to keep repeating this). Do we want this ? --- Documentation/memory-barriers.txt | 17 + 1 file changed, 17 insertions(+) d

[PATCH] genirq: fix trigger flags check for shared irqs

2016-01-26 Thread Brian Starkey
For shared interrupts, if one requester passes in any IRQF_TRIGGER_* flags whilst another doesn't, __setup_irq() can erroneously fail. The no-flags case should be treated as "already configured", so change __setup_irq() to only check that the flags match if any have been provided. Signed-off-by:

Re: [PATCH v6 10/12] usb: dbc: add handshake between debug target and host

2016-01-26 Thread Julia Lawall
ed to the wrong git tree, please drop us a note to > help improving the system] > > url: > https://github.com/0day-ci/linux/commits/Lu-Baolu/usb-early-add-support-for-early-printk-through-USB3-debug-port/20160126-122049 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gr

Re: [PATCH V3 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-26 Thread Paul Bolle
John, On ma, 2016-01-25 at 12:56 +0100, John Crispin wrote: > --- /dev/null > +++ b/drivers/regulator/mt6323-regulator.c > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License version 2 as > + * published by the Free S

Re: [PATCH 1/4] crypto: sunxi - don't print uninitialized data

2016-01-26 Thread Herbert Xu
On Mon, Jan 25, 2016 at 05:53:48PM +0100, Arnd Bergmann wrote: > gcc correctly warns that the printk output contains a variable that > is not initialized in some cases: > > drivers/crypto/sunxi-ss/sun4i-ss-cipher.c: In function 'sun4i_ss_cipher_poll': > drivers/crypto/sunxi-ss/sun4i-ss-cipher.c:25

[PATCH] mmc: sdhci-of-at91: fix pm runtime unbalanced issue in error path

2016-01-26 Thread Jisheng Zhang
The device power usage counter is increased by pm_runtime_get_noresume but isn't decreased in err_add_host error path. Fix this issue by calling pm_runtime_put_noidle() in the error path to restore the device's power usage counter. Signed-off-by: Jisheng Zhang Fixes: f5f17813ae9b ("mmc: sdhci-of

Re: Regression in v4.5-rc1, bisected to commit 39bfcd5235e0 ("drm/i915: more virtual south bridge detection")

2016-01-26 Thread Harald Arnesen
Bjørn Mork [2016-01-25 03:52]: > Hello, > > my oldish Thinkpad X301 only wanted to show a blank screen in v4.5-rc1. Same thing with my Thinkpad T500. I had just started bisecting, but will try this revert first. -- Hilsen Harald

Re: [PATCH v6 8/9] Implement kernel live patching for ppc64le (ABIv2)

2016-01-26 Thread Miroslav Benes
[ added Petr to CC list ] On Mon, 25 Jan 2016, Torsten Duwe wrote: > * create the appropriate files+functions > arch/powerpc/include/asm/livepatch.h > klp_check_compiler_support, > klp_arch_set_pc > arch/powerpc/kernel/livepatch.c with a stub for > klp_write_mod

Re: [PATCH 16/26] libceph: Use skcipher

2016-01-26 Thread Herbert Xu
On Mon, Jan 25, 2016 at 05:18:47PM +0100, Ilya Dryomov wrote: > > Could you get rid of ivsize instead of assigning to it - see the > attached diff? How about an incremental patch like this? Thanks! ---8<--- From: Ilya Dryomov Subject: libceph: Remove unnecessary ivsize variables This patch rem

Re: [PATCH 03/22] scsi: Fix dependencies for !HAS_IOMEM and !HAS_DMA archs

2016-01-26 Thread John Garry
On 26/01/2016 10:31, Richard Weinberger wrote: Am 26.01.2016 um 11:15 schrieb John Garry: On 25/01/2016 22:24, Richard Weinberger wrote: Not every arch has io or DMA memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger --- drivers/scsi/hisi_sas/Kconfi

Re: [RFC] hwmon: (fam15h_power) Add bit masking for tdp_limit

2016-01-26 Thread Gi-Oh Kim
On 26.01.2016 03:25, Huang Rui wrote: On Mon, Jan 25, 2016 at 07:41:07PM +0800, Gioh Kim wrote: The bits [31:29] of D18F5xE8 TDP Limit3 are reserved. I think it'd better to add masking to read ApmTdpLimit[28:16] precisely. Signed-off-by: Gioh Kim --- drivers/hwmon/fam15h_power.c | 2 +- 1

Re: [PATCH] numa: fix /proc//numa_maps for hugetlbfs on s390

2016-01-26 Thread Michael Holzheu
On Mon, 25 Jan 2016 14:51:16 -0800 Andrew Morton wrote: > On Mon, 25 Jan 2016 17:30:42 +0100 Michael Holzheu > wrote: > > > When working with hugetlbfs ptes (which are actually pmds) is not > > valid to directly use pte functions like pte_present() because the > > hardware bit layout of pmds a

Re: [PATCH 04/22] staging: iio: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Geert Uytterhoeven
On Mon, Jan 25, 2016 at 11:24 PM, Richard Weinberger wrote: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH 21/22] mtd: cs553x: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Geert Uytterhoeven
Hi Richard, On Mon, Jan 25, 2016 at 11:24 PM, Richard Weinberger wrote: > Not every arch has io memory nor can this driver ever work > on UML/i386. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger > --- > drivers/mtd/nand/Kconfig | 1 + > 1 file changed,

Re: [PATCH V3 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-26 Thread John Crispin
On 26/01/2016 11:41, Paul Bolle wrote: > John, > > On ma, 2016-01-25 at 12:56 +0100, John Crispin wrote: >> --- /dev/null >> +++ b/drivers/regulator/mt6323-regulator.c > >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Publ

Re: [PATCH 11/22] mtd: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Geert Uytterhoeven
On Mon, Jan 25, 2016 at 11:24 PM, Richard Weinberger wrote: > Not every arch has io memory. > So, unbreak the build by fixing the dependencies. > > Signed-off-by: Richard Weinberger Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

Re: [PATCH] ASoC: fsl: add imx-cs427x machine driver

2016-01-26 Thread Felipe Ferreri Tonello
Hi Fabio, On 26/01/16 09:47, Fabio Estevam wrote: > Hi Felipe, > > On Tue, Jan 26, 2016 at 7:43 AM, Felipe Ferreri Tonello > wrote: > >> I agree, but that how it is today. These platform drivers for imx are >> similar but not identical. Looking at them I would guess that they have >> 50 to 60%

Re: [PATCH v6 10/12] usb: dbc: add handshake between debug target and host

2016-01-26 Thread Lu Baolu
>> Hi Lu, >> >> [auto build test WARNING on usb/usb-testing] >> [also build test WARNING on v4.5-rc1 next-20160125] >> [if your patch is applied to the wrong git tree, please drop us a note to >> help improving the system] >> >> url: >> https

[PATCH v2] serial: atmel: Use atmel_port consistently

2016-01-26 Thread Nicolas Ferre
From: Jaeden Amero In all functions other than atmel_serial_probe_fifos, atmel_serial_probe, and atmel_console_init, the name "port" is used to refer to an instance of struct uart_port. In many of these functions, "atmel_port" is used to refer to an instance of struct atmel_uart_port. We make th

Re: UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10

2016-01-26 Thread Holger Hoffstätte
On 01/26/16 11:13, Chris Bainbridge wrote: > Booting 4.5.0-rc1 with new UBSAN checker enabled: > > [3.859690] > > [3.859694] UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10 > [3.859696] signed inte

Re: UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10

2016-01-26 Thread David Sterba
On Tue, Jan 26, 2016 at 10:13:33AM +, Chris Bainbridge wrote: > Booting 4.5.0-rc1 with new UBSAN checker enabled: > > [3.859690] > > [3.859694] UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10 > [

Re: [PATCH] ASoC: fsl: add imx-cs427x machine driver

2016-01-26 Thread Fabio Estevam
On Tue, Jan 26, 2016 at 9:01 AM, Felipe Ferreri Tonello wrote: > Actually yes, thanks! I didn't know about the existence of fsl-asoc-card. > > I get some errors but I don't think they actually matter: > [ 19.734494] fsl-asrc 2034000.asrc: driver registered > [ 19.738707] fsl-asoc-card sound:

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-26 Thread Will Deacon
On Tue, Jan 26, 2016 at 11:32:00AM +0100, Peter Zijlstra wrote: > On Tue, Jan 26, 2016 at 11:24:02AM +0100, Peter Zijlstra wrote: > > > Yeah, this goes under the header: memory-barriers.txt is _NOT_ a > > specification (I seem to keep repeating this). > > Do we want this ? > > --- > Documentati

UBSAN: Undefined behaviour in net/mac80211/rc80211_minstrel.h:47:34

2016-01-26 Thread Chris Bainbridge
4.5.0-rc1 with the new UBSAN checker: [ 2624.978741] [ 2624.978749] UBSAN: Undefined behaviour in net/mac80211/rc80211_minstrel.h:47:34 [ 2624.978752] signed integer overflow: [ 2624.978754] -32768 * 100 cannot

Re: [PATCH v3 0/4] crypto: add algif_akcipher user space API

2016-01-26 Thread Herbert Xu
On Mon, Jan 25, 2016 at 10:34:53PM +0100, Stephan Mueller wrote: > Am Freitag, 18. Dezember 2015, 00:49:57 schrieb Stephan Mueller: > > Hi Herbert, > > [...] > > > Changes v3: > > * fix hack in alg_setkey and alg_setsockopt by avoding branches for > > setkey and setpubkey as pointed out by Mar

Re: [PATCH v4 34/78] atari_NCR5380: Use arbitration timeout

2016-01-26 Thread Geert Uytterhoeven
Hi Finn, On Tue, Jan 26, 2016 at 1:18 AM, Finn Thain wrote: > On Mon, 25 Jan 2016, Geert Uytterhoeven wrote: >> > In principle I think that Linux drivers should not carry workarounds >> > for emulators. >> >> Please consider ARAnyM is the current m68k workhorse, so it would be >> nice to handle t

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-01-26 Thread Petr Mladek
On Tue 2016-01-26 10:34:00, Jan Kara wrote: > On Sat 23-01-16 17:11:54, Thomas Gleixner wrote: > > On Sat, 23 Jan 2016, Ben Hutchings wrote: > > > On Fri, 2016-01-22 at 11:09 -0500, Tejun Heo wrote: > > > > > Looks like it requires more than trivial backport (I think). Tejun? > > > > > > > > The t

[PATCH v2] ix86: fix types used in pgprot cachability flags translations

2016-01-26 Thread Jan Beulich
For PAE kernels "unsigned long" is not suitable to hold page protection flags, since _PAGE_NX doesn't fit there. This is the reason for quite a few W+X pages getting reported as insecure during boot (observed namely for the entire initrd range). Fixes: 281d4078be ("x86: Make page cache mode a real

Re: [RFC][PATCH 2/4] arm64: Add option to force mapping with PAGE_SIZE pages

2016-01-26 Thread Mark Rutland
Hi, On Mon, Jan 25, 2016 at 08:52:13AM -0800, Laura Abbott wrote: > Under some circumstances (e.g. debugging) it may be useful to have all > kernel memory mapped using PAGE_SIZE pages. Add an option for this. > > Signed-off-by: Laura Abbott > --- > arch/arm64/Kconfig | 11 +++ > arch/a

Re: [patch] ceph: checking for IS_ERR instead of NULL

2016-01-26 Thread Yan, Zheng
> On Jan 26, 2016, at 18:30, Ilya Dryomov wrote: > > On Tue, Jan 26, 2016 at 10:24 AM, Dan Carpenter > wrote: >> ceph_osdc_alloc_request() returns NULL on error, it never returns error >> pointers. >> >> Fixes: 5be0389dac66 ('ceph: re-send AIO write request when getting -EOLDSNAP >> error') >

UBSAN: Undefined behaviour in net/mac80211/rx.c:924:18

2016-01-26 Thread Chris Bainbridge
4.5.0-rc1 another UBSAN error: [ 4845.229441] [ 4845.229454] UBSAN: Undefined behaviour in net/mac80211/rx.c:924:18 [ 4845.229458] load of value 2 is not a valid value for type '_Bool' [ 4845.229464] CPU: 1 PID: 6266

[PATCH 1/4] spi: Let drivers translate ACPI DeviceSelection to suitable Linux chip select

2016-01-26 Thread Mika Westerberg
In Windows it is up to the SPI host controller driver to handle the ACPI DeviceSelection as it likes. The SPI core does not take any part in it. This is different in Linux because we always expect to have chip select in range of 0 .. master->num_chipselect - 1. In order to support this in Linux we

Re: [PATCH v2] serial: atmel: Use atmel_port consistently

2016-01-26 Thread Nicolas Ferre
Le 26/01/2016 12:04, Nicolas Ferre a écrit : > From: Jaeden Amero > > In all functions other than atmel_serial_probe_fifos, > atmel_serial_probe, and atmel_console_init, the name "port" is used to > refer to an instance of struct uart_port. In many of these functions, > "atmel_port" is used to re

[PATCH 2/4] spi: pxa2xx: Translate ACPI DeviceSelection to Linux chip select on Baytrail

2016-01-26 Thread Mika Westerberg
The Windows Baytrail SPI host controller driver uses 1 as the first (and only) value for ACPI DeviceSelection like can be seen in DSDT taken from Lenovo Thinkpad 10: Device (FPNT) { ... Method (_CRS, 0, NotSerialized) // _CRS: Current Resource Settings {

[PATCH 4/4] spi: pxa2xx: Add support for both chip selects on Intel Braswell

2016-01-26 Thread Mika Westerberg
Intel Braswell LPSS SPI controller actually has two chip selects and there is no capabilities register where this could be found out. These two chip selects are controlled by bits which are in slightly differrent location than Broxton has. Braswell Windows driver also starts chip select (ACPI Devi

[PATCH 3/4] spi: pxa2xx: Move chip select control bits into lpss_config structure

2016-01-26 Thread Mika Westerberg
Some Intel LPSS SPI controllers, like the one in Braswell has these bits in a different location so move these bits to be part of the LPSS configuration. Since not all LPSS SPI controllers support multiple native chip selects we refactor selecting chip select to its own function and check control-

[PATCH 0/4] spi: pxa2xx: Chip select fixes for Intel Baytrail and Braswell

2016-01-26 Thread Mika Westerberg
It turns out that in Windows SPI drivers are responsible for handling ACPI DeviceSelection field themselves. Furthermore there has been separate drivers for big core and atom SPI host controllers. For atom (including Baytrail and Braswell) the driver starts DeviceSelection from 1 instead of 0 as e

Re: [PATCH 12/22] nvmem: Fix dependencies for !HAS_IOMEM archs

2016-01-26 Thread Srinivas Kandagatla
On 25/01/16 22:24, Richard Weinberger wrote: Not every arch has io memory. So, unbreak the build by fixing the dependencies. Signed-off-by: Richard Weinberger Acked-by: Srinivas Kandagatla Am happy to pick this one, unless you have plans to get all these patches merged via a single tree.

Re: [PATCH v2] ix86: fix types used in pgprot cachability flags translations

2016-01-26 Thread Juergen Gross
On 26/01/16 12:15, Jan Beulich wrote: > For PAE kernels "unsigned long" is not suitable to hold page protection > flags, since _PAGE_NX doesn't fit there. This is the reason for quite a > few W+X pages getting reported as insecure during boot (observed namely > for the entire initrd range). > > Fi

Re: [PATCH] kernel-doc: add support for asciidoc output

2016-01-26 Thread Jani Nikula
On Tue, 26 Jan 2016, Jonathan Corbet wrote: > On Mon, 18 Jan 2016 10:41:17 +0200 > Jani Nikula wrote: > >> Add new -asciidoc option to produce asciidoc output from kernel-doc. The >> output is formatted internally, with no dependencies on external >> tools. Any asciidoc formatting present in kern

Re: [RFC][PATCH 1/4] arm64: Drop alloc function from create_mapping

2016-01-26 Thread Mark Rutland
On Mon, Jan 25, 2016 at 08:52:12AM -0800, Laura Abbott wrote: > create_mapping is only used in fixmap_remap_fdt. All the create_mapping > calls need to happen on existing translation table pages without > additional allocations. Rather than have an alloc function be called > and fail, just set it t

Re: UBSAN: Undefined behaviour in fs/btrfs/inode.c:5845:10

2016-01-26 Thread Chris Bainbridge
On Tue, Jan 26, 2016 at 12:03:39PM +0100, David Sterba wrote: > On Tue, Jan 26, 2016 at 10:13:33AM +, Chris Bainbridge wrote: > > Booting 4.5.0-rc1 with new UBSAN checker enabled: > > > > [3.859690] > > > > [

Re: [PATCH 16/26] libceph: Use skcipher

2016-01-26 Thread Ilya Dryomov
On Tue, Jan 26, 2016 at 11:54 AM, Herbert Xu wrote: > On Mon, Jan 25, 2016 at 05:18:47PM +0100, Ilya Dryomov wrote: >> >> Could you get rid of ivsize instead of assigning to it - see the >> attached diff? > > How about an incremental patch like this? Thanks! > > ---8<--- > From: Ilya Dryomov > Su

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-26 Thread Mark Brown
On Tue, Jan 26, 2016 at 10:09:35AM +0100, Arnd Bergmann wrote: > * On 32-bit architectures, you generally cannot do 64-bit atomic I/O > operations, and we have two implementations that do it nonatomically, > depending on how a device is wired to the bus, see > include/linux/io-64-nonatomic-{

Re: [PATCH v3 14/17] XEN: EFI: Move x86 specific codes to architecture directory

2016-01-26 Thread Stefano Stabellini
On Tue, 26 Jan 2016, Shannon Zhao wrote: > On 2016/1/26 0:44, Stefano Stabellini wrote: > > On Sat, 23 Jan 2016, Shannon Zhao wrote: > >> > From: Shannon Zhao > >> > > >> > Move x86 specific codes to architecture directory and export those EFI > >> > runtime service functions. This will be useful

Re: [PATCH 1/1] [V2] irqchip: gicv3-its: Introduce indirect device-ITT table support

2016-01-26 Thread Marc Zyngier
Shanker, On 25/01/16 22:58, Shanker Donthineni wrote: > Current ITS driver implementation limits the device ID to a few > number of bits depending on memory that has been allocated to a > flat DEV-ITT table. Some of the devices are not usable when device > ID is spread out across a large range of

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-26 Thread Mark Brown
On Tue, Jan 26, 2016 at 12:01:25AM +0100, Arnd Bergmann wrote: > On Monday 25 January 2016 22:47:10 Mark Brown wrote: > > I can't identify *anything* which says we shouldn't use the __raw > > accessors in architecture neutral code with the possible exception of > > the __. Seriously, how is anyon

[PATCH v3] serial: atmel: Use atmel_port consistently

2016-01-26 Thread Nicolas Ferre
From: Jaeden Amero In all functions other than atmel_serial_probe_fifos, atmel_serial_probe, and atmel_console_init, the name "port" is used to refer to an instance of struct uart_port. In many of these functions, "atmel_port" is used to refer to an instance of struct atmel_uart_port. We make th

Re: [PATCH 16/26] libceph: Use skcipher

2016-01-26 Thread Herbert Xu
On Tue, Jan 26, 2016 at 12:29:57PM +0100, Ilya Dryomov wrote: > > LGTM. You want to take it through crypto? That's probably the easiest route since I'd like to take the first patch through cryptodev. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://g

Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

2016-01-26 Thread Mark Brown
On Tue, Jan 26, 2016 at 10:24:22AM +0100, Johannes Berg wrote: > On Tue, 2016-01-26 at 10:09 +0100, Arnd Bergmann wrote: > > However, we have some freedom at the regmap-mmio level, which we can > > sanitize in 4.6 if we want to make it more consistent with the rest > > of regmap. We have around 50

Re: [patch] ceph: checking for IS_ERR instead of NULL

2016-01-26 Thread Ilya Dryomov
On Tue, Jan 26, 2016 at 12:16 PM, Yan, Zheng wrote: > >> On Jan 26, 2016, at 18:30, Ilya Dryomov wrote: >> >> On Tue, Jan 26, 2016 at 10:24 AM, Dan Carpenter >> wrote: >>> ceph_osdc_alloc_request() returns NULL on error, it never returns error >>> pointers. >>> >>> Fixes: 5be0389dac66 ('ceph: re

Re: [PATCH v3 17/17] Xen: EFI: Parse DT parameters for Xen specific UEFI

2016-01-26 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Add a new function to parse DT parameters for Xen specific UEFI just > like the way for normal UEFI. Then it could reuse the existing codes. > > If Xen supports EFI, initialize runtime services. > > Signed-off-by: Shannon Zhao

<    3   4   5   6   7   8   9   10   11   12   >