Re: [RFC][PATCH v3 3/4] printk: remove console_trylock_for_printk

2016-02-11 Thread Petr Mladek
On Sat 2016-01-23 17:15:12, Sergey Senozhatsky wrote: > Remove console_trylock_for_printk() function, it can be > replaced with console_trylock() in vprintk_emit(). > > Signed-off-by: Sergey Senozhatsky Reviewed-by: Petr Mladek But as I already mentioned. I would fold this patch into the first

Re: [PATCH] documentation: add kernel-dot.emacs.txt

2016-02-11 Thread Geyslan G. Bem
Hello, ping... 2016-01-27 19:51 GMT-03:00 Geyslan G. Bem : > This patch adds kernel-dot-emacs.txt (elisp) which deliver best > indentation, comments and white space highlighting functionalities. > > This also changes the CodingStyle and 00-INDEX files by referencing > the new kernel-dot-emacs. > >

[PATCH v5 1/2] crash_dump: Add vmcore_elf32_check_arch

2016-02-11 Thread Daniel Wagner
parse_crash_elf{32|64}_headers will check the headers via the elf_check_arch respectively vmcore_elf64_check_arch macro. The MIPS architecture implements those two macros differently. In order to make the differentiation more explicit, let's introduce an vmcore_elf32_check_arch to allow the archs

Re: [PATCH 01/14] pinctrl: sunxi: Add A83T R_PIO controller support

2016-02-11 Thread Maxime Ripard
Hi Linus, On Thu, Feb 11, 2016 at 12:59:47PM +0100, Linus Walleij wrote: > On Sun, Jan 31, 2016 at 2:20 AM, Vishnu Patekar > wrote: > > > The A83T has R_PIO pin controller, it's same as A23, execpt A83T > > interrupt bit is 6th and A83T has one extra pin PL12. > > > > Signed-off-by: Vishnu Patek

[PATCH v5 0/2] Differentiate between 32 and 64 bit ELF header

2016-02-11 Thread Daniel Wagner
Hi Maciej, The missing typeof(*(hdr)) is back in this version. I wonder why I didn't see the warning by gcc with v4. cheers, daniel Daniel Wagner (2): crash_dump: Add vmcore_elf32_check_arch mips: Differentiate between 32 and 64 bit ELF header arch/mips/include/asm/elf.h | 13

[PATCH v5 2/2] mips: Differentiate between 32 and 64 bit ELF header

2016-02-11 Thread Daniel Wagner
Depending on the configuration either the 32 or 64 bit version of elf_check_arch() is defined. parse_crash_elf{32|64}_headers() does some basic verification of the ELF header via vmcore_elf{32|64}_check_arch() which happen to map to elf_check_arch(). Since the implementation 32 and 64 bit version o

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-11 Thread luca abeni
On Thu, 11 Feb 2016 12:27:54 + Juri Lelli wrote: > On 11/02/16 13:22, Luca Abeni wrote: > > Hi Juri, > > > > On Thu, 11 Feb 2016 12:12:57 + > > Juri Lelli wrote: > > [...] > > > I think we still have (at least) two problems: > > > > > > - select_task_rq_dl, if we select a different ta

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

2016-02-11 Thread Jan Kara
On Wed 10-02-16 13:48:54, Ross Zwisler wrote: > 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 functio

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-11 Thread Juri Lelli
On 11/02/16 13:40, Luca Abeni wrote: > On Thu, 11 Feb 2016 12:27:54 + > Juri Lelli wrote: > > > On 11/02/16 13:22, Luca Abeni wrote: > > > Hi Juri, > > > > > > On Thu, 11 Feb 2016 12:12:57 + > > > Juri Lelli wrote: > > > [...] > > > > I think we still have (at least) two problems: > > >

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

2016-02-11 Thread Jan Kara
On Wed 10-02-16 15:43:40, Ross Zwisler wrote: > On Thu, Feb 11, 2016 at 09:03:12AM +1100, Dave Chinner wrote: > > 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 i

Re: [PATCH] ARM: dts: cros-ec-keyboard: Add LOCK key to keyboard matrix

2016-02-11 Thread Heiko Stuebner
Am Samstag, 30. Januar 2016, 10:38:24 schrieb Daniel Kurtz: > From: James Chao > > The LOCK key is at KSO9/KSI3 for Chromebook Flip and other devices > that use the Chrome OS EC keyboard matrix. > > Signed-off-by: James Chao > Signed-off-by: Daniel Kurtz > Signed-off-by: YH Huang applied to

Re: [PATCH] ld-version: fix it on Fedora

2016-02-11 Thread Maciej W. Rozycki
On Thu, 7 Jan 2016, Ralf Baechle wrote: > > GNU ld version 2.25-15.fc23 > > > > But ld-version.sh fails to parse this, so e.g. mips build fails to > > enable VDSO, printing a warning that binutils >= 2.24 is required. > > > > To fix, teach ld-version to parse this format. > > > > Signed-off-by

Re: [PATCH v4 0/6] arm64 UEFI early FDT handling

2016-02-11 Thread Ganapatrao Kulkarni
Hi Ard, On Thu, Feb 11, 2016 at 5:44 PM, Ard Biesheuvel wrote: > On 11 February 2016 at 12:42, Robert Richter > wrote: >> (+RobH and MarkR) >> >> On 09.02.16 15:35:42, Ard Biesheuvel wrote: >>> (+ Grant) >>> >>> On 9 February 2016 at 14:53, Robert Richter >>> wrote: >>> > From: Robert Richter

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-11 Thread luca abeni
On Thu, 11 Feb 2016 12:49:59 + Juri Lelli wrote: [...] > > > > > Luca, did you already face this problem (if I got it right) > > > > > and thought of a way to fix it? I'll go back and stare a bit > > > > > more at those paths. > > > > In my patch I took care of the first case (modifying > > >

Re: [PATCH v2 1/1] powerpc/86xx: Consolidate common platform code

2016-02-11 Thread Murali Sampath
Original Message From: Denis Kirjanov Sent: Thursday, February 11, 2016 4:22 AM To: Alessio Igor Bogani Cc: Scott Wood; linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/1] powerpc/86xx: Consolidate common platform code On 2/11/16, Alessio Igor Bogani wrote

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

2016-02-11 Thread Will Deacon
Hi David, Thanks for the reply. On Wed, Feb 10, 2016 at 10:42:18AM -0800, David Daney wrote: > 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, D

Re: [PATCH v8 4/8] ppc64 ftrace_with_regs configuration variables

2016-02-11 Thread Murali Sampath
Original Message From: Balbir Singh Sent: Thursday, February 11, 2016 4:37 AM To: Kamalesh Babulal Cc: Petr Mladek; Jessica Yu; linux-kernel@vger.kernel.org; Steven Rostedt; Torsten Duwe; Jiri Kosina; live-patch...@vger.kernel.org; Miroslav Benes; linuxppc-...@lists.ozlabs.org Subject: Re: [P

Re: [PATCH v8 4/8] ppc64 ftrace_with_regs configuration variables

2016-02-11 Thread Murali Sampath
‎ t Original Message From: Balbir Singh Sent: Thursday, February 11, 2016 4:37 AM To: Kamalesh Babulal Cc: Petr Mladek; Jessica Yu; linux-kernel@vger.kernel.org; Steven Rostedt; Torsten Duwe; Jiri Kosina; live-patch...@vger.kernel.org; Miroslav Benes; linuxppc-...@lists.ozlabs.org Subject: Re:

Re: [PATCH v2 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-11 Thread Linus Walleij
On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: > sunxi_pmx_set accepts pin number and then calculates offset by > subtracting pin_base from it. sunxi_pinctrl_gpio_get, on the other hand, > gets offset so we have to convert it to pin number so we won't get > negative value in sunxi_pmx_

[PATCH] libata: fix HDIO_GET_32BIT ioctl

2016-02-11 Thread Arnd Bergmann
As reported by Soohoon Lee, the HDIO_GET_32BIT ioctl does not work correctly in compat mode with libata. I have investigated the issue further and found multiple problems that all appeared with the same commit that originally introduced HDIO_GET_32BIT handling in libata back in linux-2.6.8 and pre

[PATCHv2 1/1] dmaengine: enable mxs-dma for imx6ul

2016-02-11 Thread Lothar Waßmann
The mxs-dma unit is also available on i.MX6UL. Make it possible to select it in Kconfig. Changes vs. V1: - use SOC_IMX6UL rather than SOC_MX6UL Signed-off-by: Lothar Waßmann Acked-by: Vinod Koul --- drivers/dma/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH] dmaengine: edma: Fetch echan->edesc while holding lock in edma_comletion_handler

2016-02-11 Thread Peter Ujfalusi
In order to avoid possible race condition when client drivers are using dmaengine_terminate_sync() call to disable the channel. Signed-off-by: Peter Ujfalusi Suggested-by: Lars-Peter Clausen --- drivers/dma/edma.c | 54 +++--- 1 file changed, 27 i

Re: [PATCH v2 3/5] pinctrl: sunxi: Add H3 R_PIO controller support

2016-02-11 Thread Linus Walleij
On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: > H3 has additional PIO controller similar to what we can find on A23. > It's a 12 pin port, described in H3 Datasheet rev 1.1, pages 345-350. > > Signed-off-by: Krzysztof Adamski Patch applied with Maxime's ACK. Yours, Linus Walleij

Re: [PATCH v2 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-11 Thread Chen-Yu Tsai
Hi, On Thu, Feb 11, 2016 at 9:17 PM, Linus Walleij wrote: > On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: > >> sunxi_pmx_set accepts pin number and then calculates offset by >> subtracting pin_base from it. sunxi_pinctrl_gpio_get, on the other hand, >> gets offset so we have to conve

Re: [linux-sunxi] Re: [PATCH v2 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-11 Thread Krzysztof Adamski
On Thu, Feb 11, 2016 at 02:17:41PM +0100, Linus Walleij wrote: On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: sunxi_pmx_set accepts pin number and then calculates offset by subtracting pin_base from it. sunxi_pinctrl_gpio_get, on the other hand, gets offset so we have to convert it

Re: [PATCH 0/6] net: thunderx: Setting IRQ affinity hints and other optimizations

2016-02-11 Thread Sunil Kovvuri
Hi David, If time permits, can you please look at this patchset. Thanks, Sunil. On Mon, Feb 8, 2016 at 5:37 PM, wrote: > From: Sunil Goutham > > This patch series contains changes > - To add support for virtual function's irq affinity hint > - Replace napi_schedule() with napi_schedule_irqoff

Re: [PATCH v2 2/7] irqchip: add the Alpine MSIX interrupt controller

2016-02-11 Thread Marc Zyngier
On 10/02/16 13:22, Antoine Tenart wrote: > This patch adds the Alpine MSIX interrupt controller driver. > > Signed-off-by: Antoine Tenart > Signed-off-by: Tsahee Zidenberg Acked-by: Marc Zyngier M. -- Jazz is not dead. It just smells funny...

Re: [PATCH v3 0/5] Cavium ThunderX PMU support

2016-02-11 Thread Jan Glauber
On Wed, Feb 03, 2016 at 06:11:55PM +0100, Jan Glauber wrote: > Hi, > > I'm reposting the whole series just in case my previous attempt to > repost only the broken patch was confusing. Patches are based on > 4.5-rc2. Can I get a review for these patches? thanks, Jan > Patches 1-3 add support for

Re: [PATCH v2] pinctrl: sunxi: H3 requires irq_read_needs_mux

2016-02-11 Thread Linus Walleij
On Fri, Feb 5, 2016 at 2:51 PM, Chen-Yu Tsai wrote: > On Fri, Feb 5, 2016 at 9:39 PM, Linus Walleij > wrote: >> On Wed, Feb 3, 2016 at 8:57 AM, Krzysztof Adamski wrote: >> >>> It seems that on H3, just like on A10, when GPIOs are configured as >>> external interrupt data registers does not cont

Re: [PATCH v4 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-11 Thread Linus Walleij
On Tue, Feb 9, 2016 at 3:58 PM, Krzysztof Adamski wrote: > sunxi_pmx_set accepts pin number and then calculates offset by > subtracting pin_base from it. sunxi_pinctrl_gpio_get, on the other hand, > gets offset so we have to convert it to pin number so we won't get > negative value in sunxi_pmx_s

Re: [PATCH v2 3/7] Documentation: bindings: document the Alpine MSIX driver

2016-02-11 Thread Marc Zyngier
On 10/02/16 13:22, Antoine Tenart wrote: > Following the addition of the Alpine MSIX driver, this patch adds the > corresponding bindings documentation. > > Signed-off-by: Antoine Tenart > Signed-off-by: Tsahee Zidenberg > --- > .../interrupt-controller/al,alpine-msix.txt| 24 > +++

[PATCH] X.509: Fix test for self-signed certificate

2016-02-11 Thread Michal Marek
If either the Subject + subjectKeyId or the Issuer + Serial number differs between the certificate and the CA, the certificate is not self-signed. In practice, both will be equal for self-signed certificates and both will differ for CA-signed certificates. It is only an issue if the CA used the sam

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

2016-02-11 Thread Andrey Ryabinin
On 02/10/2016 08:46 PM, Konstantin Khlebnikov wrote: > On Wed, Feb 10, 2016 at 5:52 PM, 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 >> grab of counter's spinlock. The ba

Re: [GIT PULL] Miscellaneous keyrings and modsign fixes

2016-02-11 Thread Sasha Levin
On 02/11/2016 03:11 AM, Philipp Hahn wrote: > Hello David, cc:stable, cc:Sasha, > > Am 25.09.2015 um 17:54 schrieb David Howells: >> Can you pass these changes on to Linus? There are four: > ... >> (3) Don't strip leading zeros from the key ID when using it to construct a >> key description

Re: [PATCH v2 0/7] irqchip: introduce the Alpine MSIX driver

2016-02-11 Thread Marc Zyngier
Antoine, On 10/02/16 13:22, Antoine Tenart wrote: > Hi all, > > This series introduce the Alpine MSIX driver, and enables it in both > the Alpine v1 and Alpine v2 device trees. > > This series depends on "[PATCH v2 0/3] arm64: introduce the Alpine support": > https://lkml.org/lkml/2016/2/10/83 >

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

2016-02-11 Thread Jani Nikula
On Thu, 11 Feb 2016, Keith Packard wrote: > I think it should be pretty easy to hack asciidoc to add diversions to > hold TOC contents while generating the rest of the doc and then replay > the diversion into the final document. One of the chief complaints with the current pipeline (and some of t

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

2016-02-11 Thread Will Deacon
On Wed, Feb 10, 2016 at 01:52:22PM -0800, David Brown wrote: > 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 t

Re: Bug 4.1.16: self-detected stall in net/unix/?

2016-02-11 Thread Philipp Hahn
Hi, Am 05.02.2016 um 16:28 schrieb Philipp Hahn: > Am 03.02.2016 um 02:43 schrieb Hannes Frederic Sowa: >> On 02.02.2016 17:25, Philipp Hahn wrote: >>> we recently updated our kernel to 4.1.16 + patch for "unix: properly >>> account for FDs passed over unix sockets" and have since then >>> self-de

[PATCH v5] iio: adc: Add TI ADS1015 ADC driver support

2016-02-11 Thread Daniel Baluta
The driver has sysfs readings with runtime PM support for power saving. It also offers buffer support that can be used together with IIO software triggers. Datasheet can be found here: http://www.ti.com.cn/cn/lit/ds/symlink/ads1015.pdf Signed-off-by: Daniel Baluta --- Changes since v4:

Re: [PATCH 01/14] pinctrl: sunxi: Add A83T R_PIO controller support

2016-02-11 Thread Linus Walleij
On Thu, Feb 11, 2016 at 1:36 PM, Maxime Ripard wrote: > On Thu, Feb 11, 2016 at 12:59:47PM +0100, Linus Walleij wrote: >> On Sun, Jan 31, 2016 at 2:20 AM, Vishnu Patekar >> wrote: >> >> > The A83T has R_PIO pin controller, it's same as A23, execpt A83T >> > interrupt bit is 6th and A83T has one e

[PATCH] mmc: sdhci-of-at91: fix card detect when using runtime PM

2016-02-11 Thread Ludovic Desroches
Add quirk broken card detection to enable card detection polling. It is a short term solution until reworking PM stuff. If the card detect signal is connected to the sdhci controller and not a gpio, when runtime PM suspend happens, we have no way to wake up on a card detect event since these irqs

[PATCH] null_blk: oops when initializing without lightnvm

2016-02-11 Thread Matias Bjørling
If the LightNVM subsystem is not compiled into the kernel, and the null_blk device driver requests lightnvm to be initialized. The call to nvm_register fails and the null_add_dev function cleans up the initialization. However, at this point the null block device has already been added to the nullb_

Re: [linux-sunxi] Re: [PATCH v2 5/5] pinctrl: sunxi: Use pin number when calling sunxi_pmx_set

2016-02-11 Thread Linus Walleij
On Thu, Feb 11, 2016 at 2:20 PM, Krzysztof Adamski wrote: > On Thu, Feb 11, 2016 at 02:17:41PM +0100, Linus Walleij wrote: >> >> On Tue, Feb 2, 2016 at 10:21 PM, Krzysztof Adamski wrote: >> >>> sunxi_pmx_set accepts pin number and then calculates offset by >>> subtracting pin_base from it. sunxi_

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

2016-02-11 Thread Arnd Bergmann
On Monday 08 February 2016 11:55:35 Paul Gortmaker wrote: > > drivers/tty/built-in.o: In function `mtk8250_set_termios': > > 8250_ingenic.c:(.text+0x1bee8): undefined reference to > > `serial8250_do_set_termios' > > 8250_ingenic.c:(.text+0x1bf10): undefined reference to `uart_get_baud_rate' > > 82

Re: [PATCH v3 2/2] dt-bindings: rockchip-pinctrl: Support the RK3399 SoCs compatible

2016-02-11 Thread Linus Walleij
On Sat, Jan 30, 2016 at 1:16 PM, Heiko Stuebner wrote: > Hi David, > > Am Samstag, 30. Januar 2016, 19:31:57 schrieb David Wu: >> Change-Id: Ic1bdb3dc358837e97d7b48dd58be2f8d9d08d766 > > please no Change-Id, it's missing the Signed-off, and as Linus Walleij said, > the compatible addition to the d

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

2016-02-11 Thread Andrey Ryabinin
On 02/11/2016 03:24 AM, Tim Chen wrote: > On Wed, 2016-02-10 at 13:28 -0800, Andrew Morton wrote: > >> >> If a process is unmapping 4MB then it's pretty crazy for us to be >> hitting the percpu_counter 32 separate times for that single operation. >> >> Is there some way in which we can batch up

Re: [PATCH] arm64: reenable interrupt when handling ptrace breakpoint

2016-02-11 Thread Will Deacon
On Fri, Feb 05, 2016 at 01:25:47PM -0800, Shi, Yang wrote: > On 1/13/2016 10:10 AM, Shi, Yang wrote: > >On 1/13/2016 9:23 AM, Will Deacon wrote: > >>On Wed, Jan 13, 2016 at 09:17:46AM -0800, Shi, Yang wrote: > >>>On 1/13/2016 2:26 AM, Will Deacon wrote: > On Tue, Jan 12, 2016 at 11:59:54AM -080

[PATCH 3.12 02/64] ALSA: hda - Add inverted dmic for Packard Bell DOTS

2016-02-11 Thread Jiri Slaby
From: David Henningsson 3.12-stable review patch. If anyone has any objections, please let me know. === commit 02f6ff90400d055f08b0ba0b5f0707630b6faed7 upstream. On the internal mic of the Packard Bell DOTS, one channel has an inverted signal. Add a quirk to fix this up. BugLink:

[PATCH 3.12 00/64] 3.12.54-stable review

2016-02-11 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.54 release. There are 64 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Feb 15 14:54:53 CET 2016. Anything receiv

[PATCH 3.12 22/64] ARM: 8160/1: drop warning about return_address not using unwind tables

2016-02-11 Thread Jiri Slaby
From: Uwe Kleine-König 3.12-stable review patch. If anyone has any objections, please let me know. === commit e16343c47e4276f5ebc77ca16feb5e50ca1918f9 upstream. The warning was introduced in 2009 (commit 4bf1fa5a34aa ([ARM] 5613/1: implement CALLER_ADDRESSx)). The only "problem" h

[PATCH 3.12 24/64] drm: radeon: ni_dpm: Fix unused variable warning when CONFIG_ACPI=n

2016-02-11 Thread Jiri Slaby
From: Fabio Estevam 3.12-stable review patch. If anyone has any objections, please let me know. === commit 71473dbd66d4a61be4cd531ef96b4877f6ee3941 upstream. With CONFIG_ACPI=n the following build warning is seen: drivers/gpu/drm/radeon/ni_dpm.c:3448:31: warning: unused variable

[PATCH 3.12 01/64] ALSA: rme96: Fix unexpected volume reset after rate changes

2016-02-11 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit a74a821624c0c75388a193337babd17a8c02c740 upstream. rme96 driver needs to reset DAC depending on the sample rate, and this results in resetting to the max volume suddenly. It'

[PATCH 3.12 18/64] USB: ipaq.c: fix a timeout loop

2016-02-11 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit abdc9a3b4bac97add99e1d77dc6d28623afe682b upstream. The code expects the loop to end with "retries" set to zero but, because it is a post-op, it will end set to -1. I have fi

[Patch v9] SATA: OCTEON: support SATA on OCTEON platform

2016-02-11 Thread Zubair Lutfullah Kakakhel
From: Aleksey Makarov The OCTEON SATA controller is currently found on cn71XX devices. Cc: Arnd Bergmann Acked-by: Hans de Goede Acked-by: Rob Herring Signed-off-by: David Daney Signed-off-by: Vinita Gupta Signed-off-by: Aleksey Makarov Signed-off-by: Zubair Lutfullah Kakakhel --- Change

[PATCH 3.12 55/64] x86: vvar, fix excessive gcc-6 DECLARE_VVAR warnings

2016-02-11 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === On 3.12, with gcc-6, I see a lot of: arch/x86/include/asm/vvar.h:33:28: warning: ‘vvaraddr_jiffies’ defined but not used [-Wunused-const-variable] static type const * const vvaraddr_ ## name = \

[PATCH 3.12 64/64] HID: usbhid: fix recursive deadlock

2016-02-11 Thread Jiri Slaby
From: Ioan-Adrian Ratiu 3.12-stable review patch. If anyone has any objections, please let me know. === commit e470127e9606b1fa151c4184243e61296d1e0c0f upstream. The critical section protected by usbhid->lock in hid_ctrl() is too big and because of this it causes a recursive deadl

[PATCH 3.12 62/64] dm btree: fix leak of bufio-backed block in btree_split_sibling error path

2016-02-11 Thread Jiri Slaby
From: Mike Snitzer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 30ce6e1cc5a0f781d60227e9096c86e188d2c2bd upstream. The block allocated at the start of btree_split_sibling() is never released if later insert_at() fails. Fix this by releasi

[PATCH 3.12 63/64] drivers/base/memory.c: prohibit offlining of memory blocks with missing sections

2016-02-11 Thread Jiri Slaby
From: Seth Jennings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 26bbe7ef6d5cdc7ec08cba6d433fca4060f258f3 upstream. Commit bdee237c0343 ("x86: mm: Use 2GB memory block size on large-memory x86-64 systems") and 982792c782ef ("x86, mm: probe

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-11 Thread Heikki Krogerus
Hi Greg, > > But surely everybody agrees that decision about the policies regarding > > USB Type-C ports, like which data role to use, do we charge or are we > > letting the other end charge, etc., belongs to the user? > > No, I don't agree. It's still unknown if userspace can react fast > thoug

[PATCH 3.12 60/64] recordmcount: Fix endianness handling bug for nop_mcount

2016-02-11 Thread Jiri Slaby
From: libin 3.12-stable review patch. If anyone has any objections, please let me know. === commit c84da8b9ad3761eef43811181c7e896e9834b26b upstream. In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault i

[PATCH 3.12 58/64] Revert "workqueue: make sure delayed work run in local cpu"

2016-02-11 Thread Jiri Slaby
From: Tejun Heo 3.12-stable review patch. If anyone has any objections, please let me know. === commit 041bd12e272c53a35c54c13875839bcb98c999ce upstream. This reverts commit 874bbfe600a660cba9c776b3957b1ce393151b76. Workqueue used to implicity guarantee that work items queued wit

[PATCH 3.12 61/64] crypto: algif_hash - Only export and import on sockets with data

2016-02-11 Thread Jiri Slaby
From: Herbert Xu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4afa5f9617927453ac04b24b584f6c718dfb4f45 upstream. The hash_accept call fails to work on sockets that have not received any data. For some algorithm implementations it may caus

[PATCH 3.12 31/64] connector: bump skb->users before callback invocation

2016-02-11 Thread Jiri Slaby
From: Florian Westphal 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 55285bf09427c5abf43ee1d54e892f352092b1f1 ] Dmitry reports memleak with syskaller program. Problem is that connector bumps skb usecount but might not invoke call

[PATCH 3.12 56/64] openrisc: fix CONFIG_UID16 setting

2016-02-11 Thread Jiri Slaby
From: Andrew Morton 3.12-stable review patch. If anyone has any objections, please let me know. === commit 04ea1e91f85615318ea91ce8ab50cb6a01ee4005 upstream. openrisc-allnoconfig: kernel/uid16.c: In function 'SYSC_setgroups16': kernel/uid16.c:184:2: error: implicit declaratio

[PATCH 3.12 53/64] compiler/gcc4+: Remove inaccurate comment about 'asm goto' miscompiles

2016-02-11 Thread Jiri Slaby
From: Steven Noonan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5631b8fba640a4ab2f8a954f63a603fa34eda96b upstream. The bug referenced by the comment in this commit was not completely fixed in GCC 4.8.2, as I mentioned in a thread back in

[PATCH 3.12 54/64] compiler-gcc: integrate the various compiler-gcc[345].h files

2016-02-11 Thread Jiri Slaby
From: Joe Perches 3.12-stable review patch. If anyone has any objections, please let me know. === commit cb984d101b30eb7478d32df56a0023e4603cba7f upstream. As gcc major version numbers are going to advance rather rapidly in the future, there's no real value in separate files for e

[PATCH 3.12 57/64] vmstat: explicitly schedule per-cpu work on the CPU we need it to run on

2016-02-11 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit 176bed1de5bf977938cad26551969eca8f0883b1 upstream. The vmstat code uses "schedule_delayed_work_on()" to do the initial startup of the delayed work on the right CPU, but then

[PATCH 3.12 59/64] xhci: fix placement of call to usb_disabled()

2016-02-11 Thread Jiri Slaby
From: Greg Kroah-Hartman 3.12-stable review patch. If anyone has any objections, please let me know. === In the backport of 1eaf35e4dd592c59041bc1ed3248c46326da1f5f, the call to usb_disabled() was too late, after we had already done some allocation. Move that call to the top of the

[PATCH 3.12 52/64] arm64: restore bogomips information in /proc/cpuinfo

2016-02-11 Thread Jiri Slaby
From: Yang Shi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 92e788b749862ebe9920360513a718e5dd4da7a9 upstream. As previously reported, some userspace applications depend on bogomips showed by /proc/cpuinfo. Although there is much less lega

[PATCH 3.12 49/64] parisc iommu: fix panic due to trying to allocate too large region

2016-02-11 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit e46e31a3696ae2d66f32c207df3969613726e636 upstream. When using the Promise TX2+ SATA controller on PA-RISC, the system often crashes with kernel panic, for example just writ

[PATCH 3.12 30/64] sctp: sctp should release assoc when sctp_make_abort_user return NULL in sctp_close

2016-02-11 Thread Jiri Slaby
From: Xin Long 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 068d8bd338e855286aea54e70d1c101569284b21 ] In sctp_close, sctp_make_abort_user may return NULL because of memory allocation failure. If this happens, it will bypass any

[PATCH 3.12 50/64] HID: core: Avoid uninitialized buffer access

2016-02-11 Thread Jiri Slaby
From: Richard Purdie 3.12-stable review patch. If anyone has any objections, please let me know. === commit 79b568b9d0c7c5d81932f4486d50b38efdd6da6d upstream. hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where nothing would

Re: [REGRESSION] i915: No HDMI output with 4.4

2016-02-11 Thread Ville Syrjälä
On Thu, Feb 11, 2016 at 01:16:53PM +0200, Oleksandr Natalenko wrote: > Ville, > > here is another dmesg: [1] > > I've reconnected HDMI cable three times. > > Forgot to note, it is HDMI monitor plugged into machine's DVI with > HDMI-DVI cable. I guess this should matter as well. Shouldn't reall

[PATCH v2 5/8] arm: dts: add Artpec-6 development board dts

2016-02-11 Thread Lars Persson
Signed-off-by: Lars Persson --- arch/arm/boot/dts/Makefile | 2 ++ arch/arm/boot/dts/artpec6-devboard.dts | 64 ++ 2 files changed, 66 insertions(+) create mode 100644 arch/arm/boot/dts/artpec6-devboard.dts diff --git a/arch/arm/boot/dts/Makefile b/a

[PATCH v2 3/8] arm: add device-tree SoC bindings for Axis Artpec-6

2016-02-11 Thread Lars Persson
This adds device tree bindings for the Artpec-6 SoC. Signed-off-by: Lars Persson --- Documentation/devicetree/bindings/arm/axis.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/axis.txt diff --git a/Documentation/dev

Re: [PATCH V3 00/10] Introduce ACPI world to GICv3 & ITS irqchip

2016-02-11 Thread Tomasz Nowicki
On 11.02.2016 12:47, Marc Zyngier wrote: Thomas, Hanjun, On 19/01/16 13:11, Tomasz Nowicki wrote: Patches base on Suravee's ACPI GICv2m support: https://lkml.org/lkml/2015/12/10/475 The following git branch contains submitted patches along with the useful patches from the test point of view (m

[PATCH v2 6/8] arm: initial machine port for artpec-6 SoC

2016-02-11 Thread Lars Persson
Basic machine port for the Artpec-6 SoC from Axis Communications. Signed-off-by: Lars Persson --- arch/arm/Kconfig | 2 + arch/arm/Makefile| 1 + arch/arm/mach-artpec/Kconfig | 20 ++ arch/arm/mach-artpec/Makefile| 1 + arch/arm/

Re: [BUG REPORT] use of unreachable() masks uninitialized variables warnings

2016-02-11 Thread Theodore Ts'o
On Wed, Feb 10, 2016 at 08:13:09PM -0700, Jeff Merkey wrote: > Here are the sources of several bugs I have seen recently in ext4 I am > pretty sure with a null bh. One good check is to set the BUG() macro > NOT TO call unreachable() as a build test since the compiler will > ignore uninitialized va

[PATCH v2 2/8] clk: add artpec-6 pll1 clock driver

2016-02-11 Thread Lars Persson
The PLL1 clock is a fixed-factor clock with factors derived from boot mode pins. This driver is a simple wrapper to register the fixed factor clock according to the pin settings. Signed-off-by: Lars Persson --- drivers/clk/Makefile | 1 + drivers/clk/clk-artpec6.c | 70

[PATCH v2 1/8] clk: add device tree binding for artpec-6 pll1 clock

2016-02-11 Thread Lars Persson
Add device tree documentation for the main PLL in the Artpec-6 SoC. Signed-off-by: Lars Persson --- Documentation/devicetree/bindings/clock/artpec6.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/artpec6.txt diff --git a/Do

[PATCH v2 4/8] arm: dts: add Artpec-6 SoC dtsi file

2016-02-11 Thread Lars Persson
Initial device tree for the Artpec-6 SoC. Signed-off-by: Lars Persson --- arch/arm/boot/dts/artpec6.dtsi | 236 + 1 file changed, 236 insertions(+) create mode 100644 arch/arm/boot/dts/artpec6.dtsi diff --git a/arch/arm/boot/dts/artpec6.dtsi b/arch/arm/b

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-11 Thread Heikki Krogerus
On Wed, Feb 10, 2016 at 02:04:07PM +0100, Oliver Neukum wrote: > On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > > +#define UCSI_CONSTAT_BC_NOT_CHARGING 0 > > +#define UCSI_CONSTAT_BC_NOMINAL_CHARGING 1 > > +#define UCSI_CONSTAT_BC_SLOW_CHARGING 2 > > +#define U

[PATCH v2 7/8] arm: multi_v7_defconfig: add MACH_ARTPEC6

2016-02-11 Thread Lars Persson
Signed-off-by: Lars Persson --- arch/arm/configs/multi_v7_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 8e8b2ac..1149642 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/mult

[GIT PULL] GPIO fixes for v4.5

2016-02-11 Thread Linus Walleij
Hi Linus, here are some GPIO fixes for the v4.5 series. Very few so far given that I was refactoring around like a madman for this merge window. I thank the zeroday build tests for the smoothness. Please pull these little things in. Yours, Linus Walleij The following changes since commit 92e963

[PATCH v2 8/8] arm: mach-artpec: add entry to MAINTAINERS

2016-02-11 Thread Lars Persson
Signed-off-by: Lars Persson Signed-off-by: Jesper Nilsson --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7f1fa4f..d32c1aa 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -932,6 +932,16 @@ M: Tsahee Zidenberg S: Maintained F:

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-11 Thread Heikki Krogerus
On Wed, Feb 10, 2016 at 09:26:19AM -0800, Greg KH wrote: > On Wed, Feb 10, 2016 at 12:38:40PM +0200, Heikki Krogerus wrote: > > > And what is userspace going to do with these files? Why does it care? > > > > The OS policy regarding USB Type-C ports needs to come from user > > space. > > What dri

Re: [PATCH 3.12 00/64] 3.12.54-stable review

2016-02-11 Thread Nikolay Borisov
Hi Jiri, I think this commit should also be included: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=18d03e8c25f173f4107a40d0b8c24defb6ed69f3 On 02/11/2016 03:59 PM, Jiri Slaby wrote: > This is the start of the stable review cycle for the 3.12.54 release. > There are 6

Re: Fwd: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-11 Thread Heikki Krogerus
On Thu, Feb 11, 2016 at 10:13:11AM +0200, Andy Shevchenko wrote: > -- Forwarded message -- > From: Andy Shevchenko > Date: Thu, Feb 11, 2016 at 10:10 AM > Subject: Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System > Software Interface > To: Oliver Neukum > > > On Wed, Feb

Re: [PATCH 3.12 00/64] 3.12.54-stable review

2016-02-11 Thread Jiri Slaby
On 02/11/2016, 03:09 PM, Nikolay Borisov wrote: > Hi Jiri, > > I think this commit should also be included: > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=18d03e8c25f173f4107a40d0b8c24defb6ed69f3 Hi, given it is marked as: Fixes: 905e51b39a555 ("dm thin: commit

[PATCH v2 0/8] arm: Add Artpec-6 SoC

2016-02-11 Thread Lars Persson
Basic support for the Axis Artpec-6 ARM SoC. Timers, interrupts, UARTs and ethernet are wired up. Changes since v1: - Corrected bindings for axis,artpec6-pll1-clock. - Moved the uart aliases to the board dts. - Kconfig cleanup. - Added a device tree binding for the dma configuration. - Added CONFI

Re: [Patch v9] SATA: OCTEON: support SATA on OCTEON platform

2016-02-11 Thread Arnd Bergmann
On Thursday 11 February 2016 13:53:08 Zubair Lutfullah Kakakhel wrote: > From: Aleksey Makarov > > The OCTEON SATA controller is currently found on cn71XX devices. > > Cc: Arnd Bergmann > Acked-by: Hans de Goede > Acked-by: Rob Herring > Signed-off-by: David Daney > Signed-off-by: Vinita Gup

[PATCH 3.12 45/64] arm64: KVM: Fix AArch32 to AArch64 register mapping

2016-02-11 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0f0963464c24e034b858441205455bf2a5d93ad upstream. When running a 32bit guest under a 64bit hypervisor, the ARMv8 architecture defines a mapping of the 32bit registers in the

[PATCH 3.12 48/64] arm64: mm: ensure that the zero page is visible to the page table walker

2016-02-11 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit 32d6397805d00573ce1fa55f408ce2bca15b0ad3 upstream. In paging_init, we allocate the zero page, memset it to zero and then point TTBR0 to it in order to avoid speculative fetches

[PATCH 3.12 46/64] arm64: fix building without CONFIG_UID16

2016-02-11 Thread Jiri Slaby
From: Arnd Bergmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit fbc416ff86183e2203cdf975e2881d7c164b0271 upstream. As reported by Michal Simek, building an ARM64 kernel with CONFIG_UID16 disabled currently fails because the system call ta

[PATCH 3.12 40/64] xfrm: dst_entries_init() per-net dst_ops

2016-02-11 Thread Jiri Slaby
From: Dan Streetman 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit a8a572a6b5f2a79280d6e302cb3c1cb1fbaeb3e8 ] Remove the dst_entries_init/destroy calls for xfrm4 and xfrm6 dst_ops templates; their dst_entries counters will never b

[PATCH 3.12 39/64] team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid

2016-02-11 Thread Jiri Slaby
From: Ido Schimmel 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 60a6531bfe4981ccd65f66a350cc5693fcde ] We can't be within an RCU read-side critical section when deleting VLANs, as underlying drivers might sleep during the ha

[PATCH 3.12 29/64] ipv6/addrlabel: fix ip6addrlbl_get()

2016-02-11 Thread Jiri Slaby
From: Andrey Ryabinin 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit e459dfeeb64008b2d23bdf600f03b3605dbb8152 ] ip6addrlbl_get() has never worked. If ip6addrlbl_hold() succeeded, ip6addrlbl_get() will exit with '-ESRCH'. If ip6add

[PATCH 3.12 44/64] scripts/recordmcount.pl: support data in text section on powerpc

2016-02-11 Thread Jiri Slaby
From: Ulrich Weigand 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2e50c4bef77511b42cc226865d6bc568fa7f8769 upstream. If a text section starts out with a data blob before the first function start label, disassembly parsing doing in recordmc

[PATCH 3.12 41/64] powerpc/tm: Block signal return setting invalid MSR state

2016-02-11 Thread Jiri Slaby
From: Michael Neuling 3.12-stable review patch. If anyone has any objections, please let me know. === commit d2b9d2a5ad5ef04ff978c9923d19730cb05efd55 upstream. Currently we allow both the MSR T and S bits to be set by userspace on a signal return. Unfortunately this is a reserved

[PATCH 3.12 43/64] powerpc: Make {cmp}xchg* and their atomic_ versions fully ordered

2016-02-11 Thread Jiri Slaby
From: Boqun Feng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 81d7a3294de7e9828310bbf986a67246b13fa01e upstream. According to memory-barriers.txt, xchg*, cmpxchg* and their atomic_ versions all need to be fully ordered, however they are no

<    1   2   3   4   5   6   7   8   9   >