Re: [PATCH] cifs: fix erroneous return value

2016-02-10 Thread Joe Perches
On Wed, 2016-02-10 at 12:50 -0500, Anton Protopopov wrote: > The setup_ntlmv2_rsp() function may return positive value ENOMEM instead > of -ENOMEM in case of kmalloc failure. How have you verified this change is correct? Have you checked that the callers of this function in fs/cifs/sess.c do the

[PATCH 3/5] staging/lustre: Adjust import state history output format

2016-02-10 Thread green
From: Oleg Drokin New test scripts expect spaces around state names and square brackets when parsing debugfs output, so add them to avoid false failures. Signed-off-by: Oleg Drokin --- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 14

Re: [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller

2016-02-10 Thread David Daney
On 02/10/2016 09:36 AM, Matt Redfearn wrote: From: Aleksey Makarov The OCTEON MMC controller is currently found on cn61XX and cnf71XX devices. Device parameters are configured from device tree data. eMMC, MMC and SD devices are supported. Tested-by: Aaro

[PATCH 1/5] staging/lustre/obdecho: Remove always true condition

2016-02-10 Thread green
From: Oleg Drokin Dan Carpenter noticed that since we already checked for (oa->o_valid & OBD_MD_FLID) == 0, that means (oa->o_valid & OBD_MD_FLID) is always true after that so no point in checking for it. Signed-off-by: Oleg Drokin Reported-by: Dan

Re: [PATCH 1/2] serial: 8250: fix building mediatek with SERIAL_8250=m

2016-02-10 Thread Matthias Brugger
On 08/02/16 13:51, Arnd Bergmann wrote: The Mediatek 8250 driver has a 'bool' Kconfig symbol, but that breaks when SERIAL_8250 is a loadable module: drivers/tty/built-in.o: In function `mtk8250_set_termios': 8250_ingenic.c:(.text+0x1bee8): undefined reference to `serial8250_do_set_termios'

Re: [PATCH] arm64: Add workaround for Cavium erratum 27456

2016-02-10 Thread David Daney
On 02/10/2016 10:15 AM, Will Deacon wrote: On Wed, Feb 10, 2016 at 10:08:17AM -0800, David Daney wrote: On 02/10/2016 01:28 AM, Will Deacon wrote: On Tue, Feb 09, 2016 at 11:29:16AM -0800, David Daney wrote: From: Andrew Pinski On ThunderX T88 pass 1.x through 2.1 parts,

Re: [PATCH] regulator: vexpress: rename vexpress regulator implementation

2016-02-10 Thread Sudeep Holla
Hi Mark, On 29/01/16 17:37, Sudeep Holla wrote: The vexpress regulator implementation is currently just called vexpress. This is a problem because it clashes with another module with the same name in hardware monitors. This patch renames the vexpress regulator implementation to

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-10 Thread Jonathan Cameron
On 10/02/16 02:19, William Breathitt Gray wrote: > On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: >> My only real question is on the naming of the module parameter. >> Is it the equivalent of the io address that a load of ISA >> radio drivers seem to use? (fed to me by grepping

Re: [PATCH V3 1/5] perf/amd/iommu: Consolidate and move perf_event_amd_iommu header

2016-02-10 Thread Borislav Petkov
On Thu, Feb 11, 2016 at 01:56:43AM +0700, Suravee Suthikulpanit wrote: > Ah.. agree then ;) So, I should branch off that tree of yours with the file > already moved. Could you point me to it? Not my tree, tip/master: http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git, the master branch.

Re: undefined reference to `efi_call'

2016-02-10 Thread H. Peter Anvin
On 02/10/16 11:52, Andrew Morton wrote: > On Wed, 10 Feb 2016 16:48:28 +0800 kbuild test robot > wrote: > >> 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 >>

Re: [PATCH 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-02-10 Thread Suman Anna
Hi Nishanth, On 02/09/2016 12:10 PM, Menon, Nishanth wrote: > On 09:43-20160209, Nishanth Menon wrote: >> On Tue, Feb 9, 2016 at 8:54 AM, Jassi Brar wrote: > [..] >> Let me prototype this as part of of_xlate and see if I can pull the >> qinst data back out.. obviously

Re: [PATCH 1/2] Documentation: dt: mailbox: Add TI Message Manager

2016-02-10 Thread Nishanth Menon
On Wed, Feb 10, 2016 at 2:13 PM, Suman Anna wrote: > Hi Nishanth, > > On 02/09/2016 12:10 PM, Menon, Nishanth wrote: >> On 09:43-20160209, Nishanth Menon wrote: >>> On Tue, Feb 9, 2016 at 8:54 AM, Jassi Brar wrote: >> [..] >>> Let me prototype this as

Re: linux-next: build failure after merge of the akpm-current tree

2016-02-10 Thread Stephen Rothwell
Hi Andrew, On Wed, 10 Feb 2016 11:55:07 -0800 Andrew Morton wrote: > > On Wed, 10 Feb 2016 16:55:14 +1100 Stephen Rothwell > wrote: > > > Hi Andrew, > > > > After merging the akpm-current tree, today's linux-next build (x86_64 > >

Re: [PATCH v11 3/4] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2016-02-10 Thread Suravee Suthikulpanit
Hi Fu Wei, On 2/10/16 00:00, fu@linaro.org wrote: From: Fu Wei This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann Signed-off-by: Suravee

Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

2016-02-10 Thread Aaro Koskinen
Hi, On Mon, Feb 08, 2016 at 11:36:45AM -0800, Tony Lindgren wrote: > * Ivaylo Dimitrov [160205 06:38]: > > Commit ("ARM: OMAP2+: Fix > > onenand rate detection to avoid filesystem corruption") partially fixed > > onenand configuration when GPMC module is reset.

compat_ioctl question/problem

2016-02-10 Thread Soohoon pho
Hi, following is the code in question. +static int compat_hdio_ioctl(struct inode *inode, struct file *file, + struct gendisk *disk, unsigned int cmd, unsigned long arg) +{ + mm_segment_t old_fs = get_fs(); + unsigned long kval; + unsigned int

Re: [PATCH] hpet: drop stale link

2016-02-10 Thread Jonathan Corbet
On Mon, 1 Feb 2016 13:32:56 +0200 "Michael S. Tsirkin" wrote: > Looks like the HPET spec at intel.com got moved. > It isn't hard to find so drop the link, just mention > the revision assumed. Hmm...what I see suggests this patch doesn't do that... > - *

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

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 09:27:07 Paul Burton wrote: > On Wed, Feb 10, 2016 at 05:55:51AM +, Bharat Kumar Gogada wrote: > > > On Tue, Feb 09, 2016 at 04:11:56PM +0530, Bharat Kumar Gogada wrote: > > > > Modifying Xilinx AXI PCIe Host Bridge Soft IP driver to work on both > > > > Zynq and

Re: [RFC] A first shot at asciidoc-based formatted docs

2016-02-10 Thread Jonathan Corbet
On Wed, 10 Feb 2016 16:03:38 +0200 Jani Nikula wrote: > I'd like to clarify the end goal a bit more before deciding what to do > next. In particular, is the aim to have asciidoc->HTML only or dual > asciidoc->HTML and asciidoc->XML->whatever? Or independent >

Re: [PATCH v3] err.h: allow IS_ERR_VALUE to handle properly more types

2016-02-10 Thread Arnd Bergmann
On Tuesday 09 February 2016 09:42:26 Andrzej Hajda wrote: > +cc Rasmus Villemoes, I forgot to add him earlier. > > On 02/08/2016 01:01 PM, Arnd Bergmann wrote: > > On Monday 08 February 2016 09:45:55 Andrzej Hajda wrote: > >> On 02/05/2016 11:52 AM, Arnd Bergmann wrote: > >>> On Thursday 04

Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree

2016-02-10 Thread Arnd Bergmann
On Thursday 11 February 2016 04:13:50 Suravee Suthikulpanit wrote: > > On 2/9/16 21:57, Arnd Bergmann wrote: > > On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote: > >> From: Suravee Suthikulpanit > >> > >> Fix DMA ranges of smb0 and pcie0 nodes in

[PATCH v2] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Bernhard Walle
It's perfectly valid to use the LTC3589 without an interrupt pin connected to it. Currently, the driver probing fails when client->irq is 0 (which means "no interrupt"). Don't register the interrupt handler in that case but successfully finish the device probing instead. Signed-off-by: Bernhard

Re: [RFC PATCH 3/3] mm: increase scalability of global memory commitment accounting

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 10:00:53 -0800 Tim Chen wrote: > On Wed, 2016-02-10 at 17:52 +0300, Andrey Ryabinin wrote: > > Currently we use percpu_counter for accounting committed memory. Change > > of committed memory on more than vm_committed_as_batch pages leads to > >

Re: [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller

2016-02-10 Thread David Daney
On 02/10/2016 11:01 AM, Ulf Hansson wrote: On 10 February 2016 at 18:36, Matt Redfearn wrote: From: Aleksey Makarov The OCTEON MMC controller is currently found on cn61XX and cnf71XX devices. Device parameters are configured from

Re: [PATCH] Doc: i2c: Fix typo in Documentation/i2c

2016-02-10 Thread Jonathan Corbet
On Tue, 2 Feb 2016 20:41:25 +0900 Masanari Iida wrote: > This path fix spelling typos found in Documentation/i2c. Applied to the docs tree, thanks. jon

Re: [PATCH] regulator: ltc3589: Make IRQ optional

2016-02-10 Thread Bernhard Walle
Hi, thanks for the review! Am 10.02.2016 10:44, schrieb Philipp Zabel: + IRQF_TRIGGER_LOW | IRQF_ONESHOT, + client->name, ltc3589); + if (ret) { + dev_err(dev,

[PATCH v2 2/2] dax: move writeback calls into the filesystems

2016-02-10 Thread Ross Zwisler
Previously calls to dax_writeback_mapping_range() for all DAX filesystems (ext2, ext4 & xfs) were centralized in filemap_write_and_wait_range(). dax_writeback_mapping_range() needs a struct block_device, and it used to get that from inode->i_sb->s_bdev. This is correct for normal inodes mounted

Re: linux-next: build failure after merge of the akpm-current tree

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 16:55:14 +1100 Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > In file included from arch/x86/include/asm/bug.h:35:0, > from

Re: [PATCH] Doc: DocBook: Fix a typo in device-drivers.tmpl

2016-02-10 Thread Jonathan Corbet
On Mon, 8 Feb 2016 21:02:43 +0900 Masanari Iida wrote: > This patch fix a spelling typo in device-drivers.tmpl. Applied to the docs tree, thanks. jon

Re: [PATCH v10 3/4] x86, mce: Add __mcsafe_copy()

2016-02-10 Thread Borislav Petkov
On Wed, Feb 10, 2016 at 11:39:05AM -0800, Luck, Tony wrote: > On Wed, Feb 10, 2016 at 11:58:43AM +0100, Borislav Petkov wrote: > > But one could take out that function do some microbenchmarking with > > different sizes and once with the current version and once with the > > pushes and pops of

[PATCH v2 1/2] dax: supply DAX clearing code with correct bdev

2016-02-10 Thread Ross Zwisler
dax_clear_blocks() needs a valid struct block_device and previously it was using inode->i_sb->s_bdev in all cases. This is correct for normal inodes on mounted ext2, ext4 and XFS filesystems, but is incorrect for DAX raw block devices and for XFS real-time devices. Instead, rename

[PATCH v2 0/2] DAX bdev fixes - move flushing calls to FS

2016-02-10 Thread Ross Zwisler
During testing of raw block devices + DAX I noticed that the struct block_device that we were using for DAX operations was incorrect. For the fault handlers, etc. we can just get the correct bdev via get_block(), which is passed in as a function pointer, but for the *sync code and for sector

Re: kernel pruning script..

2016-02-10 Thread David Rientjes
On Mon, 8 Feb 2016, Linus Torvalds wrote: > > I run this by hand every now and then. I'm probably doing it all wrong. > > > > --b. > > > > #!/bin/bash > > > > # because I use CONFIG_LOCALVERSION_AUTO, not the same version again and > > # again, /boot and /lib/modules/ eventually fill up. > > #

Re: [PATCH V2 03/12] dtb: amd: Fix DMA ranges in device tree

2016-02-10 Thread Suravee Suthikulpanit
Hi Arnd, On 2/9/16 21:57, Arnd Bergmann wrote: On Monday 08 February 2016 11:59:08 Suravee Suthikulpanit wrote: From: Suravee Suthikulpanit Fix DMA ranges of smb0 and pcie0 nodes in AMD Seattle SOC. Signed-off-by: Suravee Suthikulpanit

Re: [PATCH V4 12/23] x86, ia64, pci: Remove ACPI companion device from platform specific data.

2016-02-10 Thread Tomasz Nowicki
On 02/09/2016 06:28 PM, Lorenzo Pieralisi wrote: This patch has to be squashed with the previous one otherwise it has bisectability issues (ie the previous patch passes the parent to the pci_create_root_bus() call so, without this patch applied, the companion initialization would fail). I do not

Re: undefined reference to `efi_call'

2016-02-10 Thread Andrew Morton
On Wed, 10 Feb 2016 16:48:28 +0800 kbuild test robot wrote: > 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:

Re: [PATCH 1/2] serial: 8250: fix building mediatek with SERIAL_8250=m

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 19:06:27 Matthias Brugger wrote: > > --- > > I tried this with: > commit 2178cbc68f3602dc0b5949b9be2c8383ad3d93ef > > $ grep 8250 .config > CONFIG_SERIAL_8250=m > # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set > CONFIG_SERIAL_8250_PCI=m >

Re: [PATCH v1 13/14] ASoC: qcom: add mic support

2016-02-10 Thread Kenneth Westfield
On Wed, Feb 10, 2016 at 02:20:03AM -0800, Srinivas Kandagatla wrote: > diff --git a/sound/soc/qcom/lpass-platform.c > b/sound/soc/qcom/lpass-platform.c > index 26a046a..574aa33 100644 > --- a/sound/soc/qcom/lpass-platform.c > +++ b/sound/soc/qcom/lpass-platform.c ... > @@ -92,7 +93,13 @@ static

Re: [PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Kenneth Westfield
On Wed, Feb 10, 2016 at 02:16:58AM -0800, Srinivas Kandagatla wrote: > LPASS IP on QCOM SOC supports both Playback and capture > via I2S, but this feature is missing in existing code. > This patchset aims at adding capture support to lpass IP. > First few patches in this series does cleanup the

Re: [PATCH v6 4/7] clk: mediatek: Add MT2701 clock support

2016-02-10 Thread Michael Turquette
Quoting James Liao (2016-02-05 01:37:27) > +CLK_OF_DECLARE(mtk_topckgen, "mediatek,mt2701-topckgen", mtk_topckgen_init); > +CLK_OF_DECLARE(mtk_infrasys, "mediatek,mt2701-infracfg", mtk_infrasys_init); > +CLK_OF_DECLARE(mtk_pericfg, "mediatek,mt2701-pericfg", mtk_pericfg_init); >

Re: [PATCH] Doc: ja_JP: Fix a typo in HOWTO

2016-02-10 Thread Jonathan Corbet
On Mon, 1 Feb 2016 13:03:27 +0900 Masanari Iida wrote: > This patch fix a typo witin HOWTO, which was translated in Japanese. > Replace a word "kernlehacker" with "kernelhacker". Wouldn't want to misspell Mr. Kernelhacker's name! Applied, thanks. jon

Re: Another proposal for DAX fault locking

2016-02-10 Thread Dan Williams
On Wed, Feb 10, 2016 at 2:32 AM, Jan Kara wrote: > On Tue 09-02-16 10:18:53, Dan Williams wrote: >> On Tue, Feb 9, 2016 at 9:24 AM, Jan Kara wrote: >> > Hello, >> > >> > I was thinking about current issues with DAX fault locking [1] (data >> > corruption due to racing

Re: [RFC] A first shot at asciidoc-based formatted docs

2016-02-10 Thread Jonathan Corbet
On Wed, 10 Feb 2016 09:07:22 +0100 Daniel Vetter wrote: > I think for 4.6 it'd be best to go with the hybrid asciidoc->docbook > toolchain, since that's less disruptive. And with that we can also > fully concentrating on the frontend, and how it'll look and behave. That

Re: [PATCH v6 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 16:06:13 Joao Pinto wrote: > This patch has the goal to add support for DesignWare UFS Controller > specific operations and to add specific platform and pci drivers. > > Signed-off-by: Joao Pinto >

Re: [PATCH V4 11/23] pci, acpi: Move ACPI host bridge device companion assignment to core code.

2016-02-10 Thread Tomasz Nowicki
On 02/09/2016 07:02 PM, Lorenzo Pieralisi wrote: On Thu, Feb 04, 2016 at 06:28:49PM +0100, Tomasz Nowicki wrote: Currently we have two platforms (x86 & ia64) capable of PCI ACPI host bridge initialization. They both use sysdata to pass down parent device reference and both rely on NULL parent

[PATCH v2] Staging: fix coding style in rtl8188eu/core

2016-02-10 Thread Colin Vidal
Set constant operand on right of test, and refactor the code in a more compact and readable way. Signed-off-by: Colin Vidal --- drivers/staging/rtl8188eu/core/rtw_iol.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-10 Thread William Breathitt Gray
On Wed, Feb 10, 2016 at 06:55:45PM +, Jonathan Cameron wrote: >On 10/02/16 02:19, William Breathitt Gray wrote: >> On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: >>> My only real question is on the naming of the module parameter. >>> Is it the equivalent of the io address

Re: Computer fails to resume from suspend unless I rmmod jme before initiating the suspend

2016-02-10 Thread Diego Viola
On Wed, Feb 10, 2016 at 2:19 AM, Diego Viola wrote: > Hi Guo, > > I have an x86 computer with this network card: > > 02:00.0 Ethernet controller: JMicron Technology Corp. JMC260 PCI > Express Fast Ethernet Controller (rev 03) > > Every time I initiate a suspend (systemctl

[PATCH 3.13.y-ckt 26/30] ALSA: dummy: Disable switching timer backend via sysfs

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 7ee96216c31aabe1eb42fb91ff50dae9fcd014b2 upstream. ALSA dummy driver can switch the timer backend

[PATCH 3.13.y-ckt 22/30] ALSA: usb-audio: Fix TEAC UD-501/UD-503/NT-503 usb delay

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Guillaume Fougnies commit 5a4ff9ec8d6edd2ab1cfe8ce6a080d6e57cbea9a upstream. TEAC UD-501/UD-503/NT-503 fail

[PATCH 3.13.y-ckt 25/30] n_tty: Fix unsafe reference to "other" ldisc

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 6d27a63caad3f13e96cf065d2d96828c2006be6b upstream. Although n_tty_check_unthrottle()

[PATCH 3.13.y-ckt 24/30] SCSI: fix crashes in sd and sr runtime PM

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alan Stern commit 13b4389143413a1f18127c07f72c74cad5b563e8 upstream. Runtime suspend during driver probe

[PATCH 3.13.y-ckt 05/30] USB: serial: visor: fix crash on detecting device without write_urbs

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vladis Dronov commit cb3232138e37129e88240a98a1d2aba2187ff57c upstream. The visor driver crashes in

[PATCH 3.13.y-ckt 10/30] usb: cdc-acm: handle unlinked urb in acm read callback

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lu Baolu commit 19454462acb1bdef80542061bdc9b410e4ed1ff6 upstream. In current acm driver, the bulk-in

[PATCH 3.13.y-ckt 11/30] usb: cdc-acm: send zero packet for intel 7260 modem

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lu Baolu commit ffdb1e369a73b380fce95b05f8498d92c43842b4 upstream. For Intel 7260 modem, it is needed for

[PATCH 3.13.y-ckt 12/30] cdc-acm:exclude Samsung phone 04e8:685d

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oliver Neukum commit e912e685f372ab62a2405a1acd923597f524e94a upstream. This phone needs to be handled by a

[PATCH 3.13.y-ckt 08/30] iio: adis_buffer: Fix out-of-bounds memory access

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lars-Peter Clausen commit d590faf9e8f8509a0a0aa79c38e87fcc6b913248 upstream. The SPI tx and rx buffers are both

[PATCH 3.13.y-ckt 02/30] [media] usbvision: fix leak of usb_dev on failure paths in usbvision_probe()

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexey Khoroshilov commit afd270d1a45043cef14341bcceff62ed50e8dc9a upstream. There is no usb_put_dev() on

Re: compat_hdio_ioctl() question

2016-02-10 Thread Arnd Bergmann
On Tuesday 09 February 2016 17:38:56 Soohoon Lee wrote: > > Hi, > I found that you are the author of this code. I don't think I am, but that's fine. I think I just moved the code from one place to another. > So please let me ask a question. I hope it's ok for you to Cc this to a linux-ide and

Re: Another proposal for DAX fault locking

2016-02-10 Thread Dave Chinner
On Wed, Feb 10, 2016 at 11:32:49AM +0100, Jan Kara wrote: > On Tue 09-02-16 10:18:53, Dan Williams wrote: > > On Tue, Feb 9, 2016 at 9:24 AM, Jan Kara wrote: > > > Hello, > > > > > > I was thinking about current issues with DAX fault locking [1] (data > > > corruption due to racing

Re: [RFC PATCH v2] blk-mq: Introduce per sw queue time-slice

2016-02-10 Thread Andreas Herrmann
On Wed, Feb 10, 2016 at 08:47:15PM +0100, Markus Trippelsdorf wrote: > On 2016.02.10 at 20:34 +0100, Andreas Herrmann wrote: > > On Tue, Feb 09, 2016 at 06:41:56PM +0100, Markus Trippelsdorf wrote: > > > > Recently Johannes sent a patch to enable scsi-mq per driver, see > > > >

Re: [PATCH v2 02/13] EXPORT_SYMBOL() for asm

2016-02-10 Thread Nicolas Pitre
On Wed, 3 Feb 2016, Al Viro wrote: > From: Al Viro > > Add asm-usable variants of EXPORT_SYMBOL/EXPORT_SYMBOL_GPL. This > commit just adds the default implementation; most of the architectures > can simply add export.h to asm/Kbuild and start using > from assembler.

[PATCH v5 00/10] Input: synaptics-rmi4: Synaptics RMI4 Driver

2016-02-10 Thread Andrew Duggan
This is the v5 patch series which fixes the issues identified by kbuild and coccinelle in the previous patch series. These include: - Using ARRAY_SIZE instead of a custom macro to calculate the size of the function handler array. - Remove setting the .owner field for the driver in rmi_i2c and

Re: [PATCH v4 01/17] Xen: ACPI: Hide UART used by Xen

2016-02-10 Thread Rafael J. Wysocki
On Tuesday, February 09, 2016 11:19:02 AM Stefano Stabellini wrote: > On Mon, 8 Feb 2016, Rafael J. Wysocki wrote: > > On Monday, February 08, 2016 10:57:01 AM Stefano Stabellini wrote: > > > On Sat, 6 Feb 2016, Rafael J. Wysocki wrote: > > > > On Fri, Feb 5, 2016 at 4:05 AM, Shannon Zhao

[PATCH 0/1] Perf: fix overwritten of free running PEBSv3 timestamp

2016-02-10 Thread Tong Zhang
Hi, commit a7b58d211ba18c9175b139e18b68c86a6bcc3c3f introduced feature of timestamp on free running PEBSv3, however, the timestamp is later overwritten, which makes the effort in vain. This patch prevent overwritten by detecting whether a timestamp is provided. Tong Zhang (1): x86:

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Stephen Boyd
On 02/10, Mark Brown wrote: > On Wed, Feb 10, 2016 at 11:04:36AM -0800, Stephen Boyd wrote: > > > I don't follow the rest of your mail though. Are you suggesting > > that in this case we put the regulator control into the PMIC > > regulator driver (qcom_spmi-regulator.c) and then use a > >

[PATCH 3.13.y-ckt 28/30] x86/mm/pat: Avoid truncation when converting cpa->numpages to address

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matt Fleming commit 742563777e8da62197d6cb4b99f4027f59454735 upstream. There are a couple of nasty

[PATCH 3.13.y-ckt 27/30] drm/vmwgfx: respect 'nomodeset'

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Rob Clark commit 96c5d076f0a5e2023ecdb44d8261f87641ee71e0 upstream. Signed-off-by: Rob Clark

[PATCH 3.13.y-ckt 23/30] arm64: errata: Add -mpc-relative-literal-loads to build flags

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: dann frazier commit 67dfa1751ce71e629aad7c438e1678ad41054677 upstream. GCC6 (and Linaro's 2015.12

[PATCH 3.13.y-ckt 29/30] perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Markus Trippelsdorf commit d4913cbd05bab685e49c8174896e563b2487d054 upstream. The issue was pointed out by

[PATCH 3.13.y-ckt 06/30] ASN.1: Fix non-match detection failure on data overrun

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Howells commit 0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f upstream. If the ASN.1 decoder is asked to parse a

[PATCH 3.13.y-ckt 09/30] x86/irq: Call chip->irq_set_affinity in proper context

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Thomas Gleixner commit e23b257c293ce4bcc8cabb2aa3097b6ed8a8261a upstream. setup_ioapic_dest() calls

[PATCH 3.13.y-ckt 15/30] USB: visor: fix null-deref at probe

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johan Hovold commit cac9b50b0d75a1d50d6c056ff65c005f3224c8e0 upstream. Fix null-pointer dereference at probe should

Re: kernel pruning script..

2016-02-10 Thread Linus Torvalds
On Wed, Feb 10, 2016 at 1:05 PM, David Rientjes wrote: >> > for f in $(ls /lib/modules); do >> > if rpm -qf "/lib/modules/$f" >/dev/null; then >> > echo "keeping $f (installed from rpm)" >> > elif [ $(uname -r) = "$f" ]; then >> >

[PATCH 3.13.y-ckt 03/30] [media] usbvision: fix crash on detecting device with invalid configuration

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vladis Dronov commit fa52bd506f274b7619955917abfde355e3d19ffe upstream. The usbvision driver crashes when a

[PATCH] arm64: vdso: Mark vDSO code as read-only

2016-02-10 Thread David Brown
Although the arm64 vDSO is cleanly separated by code/data with the code being read-only in userspace mappings, the code page is still writable from the kernel. There have been exploits (such as http://itszn.com/blog/?p=21) that take advantage of this on x86 to go from a bad kernel write to full

Re: [PATCH v2 2/2] dax: move writeback calls into the filesystems

2016-02-10 Thread Dave Chinner
On Wed, Feb 10, 2016 at 01:48:56PM -0700, Ross Zwisler wrote: > Previously calls to dax_writeback_mapping_range() for all DAX filesystems > (ext2, ext4 & xfs) were centralized in filemap_write_and_wait_range(). > dax_writeback_mapping_range() needs a struct block_device, and it used to > get that

Re: [PATCH 4/6] dt-bindings: watchdog: Add ARM SP805 DT bindings

2016-02-10 Thread Florian Fainelli
On 09/02/16 22:10, Anup Patel wrote: > The ARM SP805 DT node is already present in various DTS files. > This patch adds missing DT bindings documentation for ARM SP805. > > Signed-off-by: Anup Patel > Reviewed-by: Ray Jui > Reviewed-by: Vikram Prakash

fs/udf and udftools

2016-02-10 Thread Steve Kenton
Is anyone maintaining these or am I about to volunteer for another job? I'm having to dig into fs/udf and udftools/mkudffs as part of a project I'm working on. It looks like both have been lacking in personal TLC for quite a while. The changes to fs/udf seem to be tree wide VFS work but not

[PATCH 0/3] x86: Test and fix a minor compat entry regression

2016-02-10 Thread Andy Lutomirski
I broke certain cases of compat syscall restart under ptrace. Here's a test and a fix. Andy Lutomirski (3): selftests/x86: Fix some error messages in ptrace_syscall selftests/x86: Add a test for syscall restart under ptrace x86/entry/compat: Keep TS_COMPAT set during signal delivery

[PATCH v5 04/10] Input: synaptics-rmi4: Add support for 2D sensors and F11

2016-02-10 Thread Andrew Duggan
RMI4 currently defines two functions for reporting data for 2D sensors (F11 and F12). This patch adds the common functionality which is shared by devices with 2D reporting along with implementing functionality for F11. Signed-off-by: Andrew Duggan Signed-off-by:

Re: [PATCH] x86, pci: Add quirk for unsizeable Broadwell EP bar

2016-02-10 Thread Andi Kleen
On Fri, Feb 05, 2016 at 10:34:27AM -0600, Bjorn Helgaas wrote: > On Fri, Feb 05, 2016 at 04:36:17AM +0100, Andi Kleen wrote: > > > > But would actually anything use it? > > > > > > You mean, would anything actually use the lspci output? I don't know, > > > but why would we want it to print

[PATCH v5 01/10] Input: synaptics-rmi4: Add support for Synaptics RMI4 devices

2016-02-10 Thread Andrew Duggan
Synaptics uses the Register Mapped Interface (RMI) protocol as a communications interface for their devices. This driver adds the core functionality needed to interface with RMI4 devices. RMI devices can be connected to the host via several transport protocols and can supports a wide variety of

[PATCH v5 05/10] Input: synaptics-rmi4: Add device tree support for 2d sensors and F11

2016-02-10 Thread Andrew Duggan
2D sensors have several parameter which can be set in the platform data. This patch adds support for getting those values from devicetree. Signed-off-by: Andrew Duggan --- .../bindings/input/rmi4/rmi_2d_sensor.txt | 56 +++

[PATCH v5 03/10] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2016-02-10 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Parameters for function drivers are defined in child nodes for each of the functions. Signed-off-by: Andrew Duggan --- .../devicetree/bindings/input/rmi4/rmi_f01.txt

[PATCH v5 02/10] Input: synaptics-rmi4: Add I2C transport driver

2016-02-10 Thread Andrew Duggan
Add the transport driver for devices using RMI4 over I2C. Signed-off-by: Andrew Duggan Signed-off-by: Christopher Heiny --- drivers/input/rmi4/Kconfig | 9 + drivers/input/rmi4/Makefile | 3 + drivers/input/rmi4/rmi_i2c.c | 387

Re: Another proposal for DAX fault locking

2016-02-10 Thread Cedric Blancher
AFAIK Solaris 11 uses a sparse tree instead of a array. Solves the scalability problem AND deals with variable page size. Ced On 10 February 2016 at 23:09, Dave Chinner wrote: > On Wed, Feb 10, 2016 at 11:32:49AM +0100, Jan Kara wrote: >> On Tue 09-02-16 10:18:53, Dan

Re: [PATCH v2] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-10 Thread Jonathan Cameron
On 10 February 2016 21:22:40 GMT+00:00, William Breathitt Gray wrote: >On Wed, Feb 10, 2016 at 06:55:45PM +, Jonathan Cameron wrote: >>On 10/02/16 02:19, William Breathitt Gray wrote: >>> On Tue, Feb 09, 2016 at 10:37:09PM +, Jonathan Cameron wrote: My only

[PATCH 3.13.y-ckt 04/30] tty: Fix unsafe ldisc reference via ioctl(TIOCGETD)

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 5c17c861a357e9458001f021a7afa7aab9937439 upstream. ioctl(TIOCGETD) retrieves the line

[3.13.y-ckt stable] Linux 3.13.11-ckt35 stable review

2016-02-10 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.13.11-ckt35 stable kernel. This version contains 30 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch:

[PATCH 3.13.y-ckt 13/30] usb: hub: do not clear BOS field during reset device

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Du, Changbin" commit d8f00cd685f5c8e0def8593e520a7fef12c22407 upstream. In function

[PATCH 3.13.y-ckt 16/30] USB: serial: option: Adding support for Telit LE922

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniele Palmas commit ff4e2494dc17b173468e1713fdf6237fd8578bc7 upstream. This patch adds support for two PIDs of

[PATCH 3.13.y-ckt 19/30] USB: serial: ftdi_sio: add support for Yaesu SCU-18 cable

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Greg Kroah-Hartman commit e03cdf22a2727c60307be6a729233edab3bfda9c upstream. Harald Linden reports that

[PATCH 3.13.y-ckt 14/30] USB: cp210x: add ID for IAI USB to RS485 adaptor

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Dedecker commit f487c54ddd544e1c9172cd510954f697b77b76e3 upstream. Added the USB serial console

[PATCH 3.13.y-ckt 07/30] qeth: initialize net_device with carrier off

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ursula Braun commit e5ebe63214d44d4dcf43df02edf3613e04d671b9 upstream. /sys/class/net//operstate for an

[PATCH 3.13.y-ckt 01/30] [media] usbvision fix overflow of interfaces array

2016-02-10 Thread Kamal Mostafa
3.13.11-ckt35 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oliver Neukum commit 588afcc1c0e45358159090d95bf7b246fb67565f upstream. This fixes the crash reported in:

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 8:47 PM, Steve Muckle wrote: > On 02/09/2016 07:09 PM, Rafael J. Wysocki wrote: >> I think additional hooks such as enqueue/dequeue would be needed in >> RT/DL. The task tick callbacks will only run if a task in that class is >>

[char-misc-next] mei: fix double freeing of a cb during link reset

2016-02-10 Thread Tomas Winkler
From: Alexander Usyskin Fix double freeing of the cb that can happen if link reset kicks in the middle of blocked write from a device on the cl bus. Free cb inside mei_cl_write function on failure and drop cb free operation from callers, during a link reset the

Re: [PATCH v2 07/13] arm: move exports to definitions

2016-02-10 Thread Nicolas Pitre
On Wed, 3 Feb 2016, Al Viro wrote: > From: Al Viro > > Signed-off-by: Al Viro The following construct is incompatible with my autoksyms series: > diff --git a/arch/arm/lib/bitops.h b/arch/arm/lib/bitops.h > index 7d807cf..df06638 100644 > ---

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 11:07 PM, Steve Muckle wrote: > On 02/10/2016 01:49 PM, Rafael J. Wysocki wrote: If done this way, I guess we may pass rq_clock_task(rq) as the time >> arg to cpufreq_update_util() from there and then the cpu_lock() call >> I've

<    1   2   3   4   5   6   7   8   9   10   >