[RFC PATCH 3/8] PNPACPI: remove ids that does not comply with the ACPI PNP id rule

2014-02-26 Thread Zhang Rui
The PNPACPI white list just copies all the ids from all the struct pnp_device_id instances, but some of them do not comply with the ACPI PNP id rule (3 Alpha Charactors + 4 Hex numbers). For those ids, the coressponding devices will never be enumerated via ACPI, so it is safe to remove those ids

[RFC PATCH 0/8] ACPI: change the way of enumerating PNPACPI/Platform devices

2014-02-26 Thread Zhang Rui
Hi, all, Currently, PNP bus is used as the default bus for for enumerating ACPI devices with _HID/_CID. For a device that needs to be enumerated to platform bus, we need to add its _HID/_CID to the platform scan handler white list explicitly. This becomes a problem as more and more _HID devices

[RFC PATCH 2/8] PNPACPI: use whilte list for pnpacpi device enumeration

2014-02-26 Thread Zhang Rui
ACPI can be used to enumerate PNP devices, but the code does not handle this in a good manner. Currently, if an ACPI device 1. has _CRS method, 2. has an identifications of three capital charactors followed by four hex numbers, 3. is not in the exclude list, it is enumerated to PNP bus. So

[PATCH v2 2/2] pinctrl: sh-pfc: r8a7791: Add alternative MSIOF pin groups

2014-02-26 Thread Geert Uytterhoeven
From: Geert Uytterhoeven geert+rene...@linux-m68k.org Signed-off-by: Geert Uytterhoeven geert+rene...@linux-m68k.org Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- v2: - Correct 2 pins (Thanks, Laurent!) - Add Acked-by drivers/pinctrl/sh-pfc/pfc-r8a7791.c | 469

[PATCH v2 1/2] pinctrl: sh-pfc: r8a7790: Add alternative MSIOF pin groups

2014-02-26 Thread Geert Uytterhoeven
From: Geert Uytterhoeven geert+rene...@linux-m68k.org Signed-off-by: Geert Uytterhoeven geert+rene...@linux-m68k.org Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- v2: - Add Acked-by drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 129 ++ 1 file

[PATCH] staging: lustre: make functions as static

2014-02-26 Thread Daeseok Youn
These functions are only referenced in this file scope so it can be marked static. And remove space between function name and open parenthesis. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 94 ++-- 1 file changed,

Re: [PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-02-26 Thread Michael S. Tsirkin
On Wed, Feb 26, 2014 at 03:11:21PM +0800, Jason Wang wrote: On 02/26/2014 02:32 PM, Qin Chuanyu wrote: On 2014/2/26 13:53, Jason Wang wrote: On 02/25/2014 09:57 PM, Michael S. Tsirkin wrote: On Tue, Feb 25, 2014 at 02:53:58PM +0800, Jason Wang wrote: We used to stop the handling of tx when

Re: [PATCH] staging: lustre: make functions as static

2014-02-26 Thread Dan Carpenter
On Wed, Feb 26, 2014 at 06:17:59PM +0900, Daeseok Youn wrote: These functions are only referenced in this file scope so it can be marked static. And remove space between function name and open parenthesis. If it's on the same line as a static change then it's fine, otherwise it should go in

Re: Re: [RFC PATCH v1 0/2] perf: Support for SDT markers

2014-02-26 Thread Masami Hiramatsu
(2014/02/26 17:18), Namhyung Kim wrote: Hi Masami and Hemant, On Tue, 25 Feb 2014 21:27:07 +0530, Hemant Kumar wrote: On 02/25/2014 05:14 PM, Masami Hiramatsu wrote: (2014/02/24 18:14), Hemant Kumar wrote: First, scan the binaries using : # perf list sdt --scan Creating a cache of SDT

Re: [PATCH 5/8] locking, mutex: Cancelable MCS lock for adaptive spinning

2014-02-26 Thread Peter Zijlstra
On Tue, Feb 25, 2014 at 11:56:19AM -0800, Jason Low wrote: On Mon, 2014-02-10 at 20:58 +0100, Peter Zijlstra wrote: +unqueue: + /* +* Step - A -- stabilize @prev +* +* Undo our @prev-next assignment; this will make @prev's +* unlock()/unqueue() wait for a next

Re: [RFCv3 2/7] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-02-26 Thread Lee Jones
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel s...@debian.org --- drivers/mfd/twl4030-madc.c | 122 ++--- 1 file changed, 115 insertions(+), 7 deletions(-)

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-26 Thread Borislav Petkov
On Wed, Feb 26, 2014 at 07:56:58AM +0100, Stephane Eranian wrote: Also IVB, model 58? Yes. Right, so it must be chipset-specific. Dunno. What do you mean by pm callbacks exactly? I don't know that code so I have to ask. power management callbacks. Ok, just as I thought. But why

Re: [PATCH 2/3] x86/hash: swap parameters of crc32_u32()

2014-02-26 Thread Jan Beulich
On 25.02.14 at 21:37, H. Peter Anvin h...@zytor.com wrote: On 02/25/2014 12:34 PM, Daniel Borkmann wrote: On 02/25/2014 09:26 PM, H. Peter Anvin wrote: On 02/21/2014 02:33 AM, Jan Beulich wrote: ... to match its two callers (i.e. the alternative would have been to swap the arguments at the

Re: WARNING: Unnecessary parentheses - maybe == should be = ?

2014-02-26 Thread Dan Carpenter
On Mon, Feb 10, 2014 at 01:59:56PM -0800, Joe Perches wrote: On Mon, 2014-02-10 at 23:24 +0300, Dan Carpenter wrote: On Mon, Feb 10, 2014 at 09:19:46AM -0800, Joe Perches wrote: On Mon, 2014-02-10 at 12:27 +0300, Dan Carpenter wrote: We do not want to encourage a million first patch

Re: [PATCH] [media] rtl28xxu: add USB ID for Genius TVGo DVB-T03

2014-02-26 Thread Antti Palosaari
Thank for the patch. Even I didn't added any comment to driver ID list, which apparently should be there, that empty line before Astrometa DVB-T2 entry was there because I wanted to separate RTL2832P entries from RTL2832U entries (different chipset version). So if possible, could you provide

Re: [PATCH V1 2/3] MFD: da9052: Add new DA9053 BC chip variant

2014-02-26 Thread Lee Jones
The advice here is usually that sending against -next is a good proxy for sending against the individual tree without having to figure out all the different trees - almost all of the time the effect is the same. This only applies when sending patches via e-mail, for git pulls it's an

Re: [PATCH] sched/rt: fix rt timer activation/deactivation

2014-02-26 Thread Kirill Tkhai
26.02.2014, 13:07, Peter Zijlstra pet...@infradead.org: On Wed, Feb 26, 2014 at 03:37:38AM +0100, Mike Galbraith wrote:  BTW, I noticed you can no longer turn the turn the noisy thing off since  we grew DL.  I added an old SGI boot parameter to tell it to go away. You're talking about the

Re: [PATCH v4 4/6] arm: add early_ioremap support

2014-02-26 Thread Leif Lindholm
Hi Rob, Thanks for having a look. Since I'm at least partially responsible for the below, I'll respond before Mark wakes up. On Tue, Feb 25, 2014 at 11:48:19PM -0600, Rob Herring wrote: On Wed, Feb 12, 2014 at 2:56 PM, Mark Salter msal...@redhat.com wrote: This patch uses the generic

[PATCH v2 2/2] cciss: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-02-26 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() or pci_enable_msi_exact() and pci_enable_msix_range() or pci_enable_msix_exact() interfaces.

Re: Re: [RFC PATCH v1 0/2] perf: Support for SDT markers

2014-02-26 Thread Masami Hiramatsu
(2014/02/26 18:03), Hemant Kumar wrote: On 02/26/2014 01:48 PM, Namhyung Kim wrote: Hi Masami and Hemant, On Tue, 25 Feb 2014 21:27:07 +0530, Hemant Kumar wrote: On 02/25/2014 05:14 PM, Masami Hiramatsu wrote: (2014/02/24 18:14), Hemant Kumar wrote: First, scan the binaries using : # perf

Re: [PATCH RESEND v10 3/4] PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver

2014-02-26 Thread Kishon Vijay Abraham I
On Tuesday 25 February 2014 11:44 AM, Loc Ho wrote: This patch adds support for APM X-Gene SoC 15Gbps Multi-purpose PHY. This is the physical layer interface for the corresponding host controller. Currently, only external clock and SATA mode are supported. Signed-off-by: Loc Ho l...@apm.com

Re: [PATCH 00/10] pinctrl: mvebu: remove hard-coded addresses from Dove pinctrl

2014-02-26 Thread Linus Walleij
On Wed, Feb 26, 2014 at 1:09 AM, Jason Cooper ja...@lakedaemon.net wrote: Sebastian has now re-organized the branches as I asked, and I confirmed that the final result is the exact same as mine (diff is null). Okay! Usually when I submit pull requests to arm-soc, they like to see the

[3.5.y.z extended stable] Linux 3.5.7.31

2014-02-26 Thread Luis Henriques
I am announcing the release of the Linux 3.5.7.31 kernel. The updated 3.5.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.5.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.5.y;a=shortlog The diff from v3.5.7.30 is

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-26 Thread Stephane Eranian
Hi, Ok, so I am getting the same error message as you. I checked my syslog now. I have my uncore_imc addr=0xfed1 (after masking) And I also have pnp 00:01 overlapping the imc range completely. What pnp device does it really represent? the DRAM controller? So I think my laptop behaves

[PATCH 1/1] AX88179_178A: Add VID:DID for Lenovo OneLinkDock Gigabit LAN

2014-02-26 Thread freddy
From: Freddy Xin fre...@asix.com.tw Add VID:DID for Lenovo OneLinkDock Gigabit LAN Signed-off-by: Freddy Xin fre...@asix.com.tw --- drivers/net/usb/ax88179_178a.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/net/usb/ax88179_178a.c

Re: [PATCH v4 2/2] hyperv-fb: kick off efifb early

2014-02-26 Thread Gerd Hoffmann
Hi, diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index b7b3dd0..1b11886 100644 --- a/drivers/video/hyperv_fb.c +++ b/drivers/video/hyperv_fb.c @@ -683,6 +683,7 @@ static int hvfb_getmem(struct fb_info *info) info-apertures-ranges[0].base =

[3.11.y.z extended stable] Linux 3.11.10.5

2014-02-26 Thread Luis Henriques
I am announcing the release of the Linux 3.11.10.5 kernel. The updated 3.11.y tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.11.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.11.y;a=shortlog The diff from v3.11.10.4 is

Build regressions/improvements in v3.14-rc4

2014-02-26 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.14-rc4[1] compared to v3.13[2]. Summarized: - build errors: +7/-29 - build warnings: +190/-70 JFYI, when comparing v3.14-rc4[1] to v3.14-rc3[3], the summaries are: - build errors: +3/-15 - build warnings: +117/-111

Re: [patch 1/2] mm: page_alloc: reset aging cycle with GFP_THISNODE

2014-02-26 Thread Mel Gorman
On Tue, Feb 25, 2014 at 03:27:01PM -0500, Johannes Weiner wrote: Jan Stancek reports manual page migration encountering allocation failures after some pages when there is still plenty of memory free, and bisected the problem down to 81c0a2bb515f (mm: page_alloc: fair zone allocator policy).

Re: Build regressions/improvements in v3.14-rc4

2014-02-26 Thread Geert Uytterhoeven
On Wed, Feb 26, 2014 at 10:52 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v3.14-rc4[1] to v3.14-rc3[3], the summaries are: - build errors: +3/-15 + /scratch/kisskb/src/arch/sh/mm/cache-sh4.c: error: 'cached_to_uncached' undeclared (first use in this function):

Re: [patch 10/26] blackfin:Use generic /proc/interrupts implementation

2014-02-26 Thread Steven Miao
Hi Thomas, On Mon, Feb 24, 2014 at 5:40 AM, Thomas Gleixner t...@linutronix.de wrote: There is nothing special in that blackfin code. Use the core implementation. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Steven Miao real...@gmail.com Cc: bfin

Re: [PATCH] sched/rt: fix rt timer activation/deactivation

2014-02-26 Thread Kirill Tkhai
26.02.2014, 13:35, Kirill Tkhai tk...@yandex.ru: 26.02.2014, 13:07, Peter Zijlstra pet...@infradead.org:  On Wed, Feb 26, 2014 at 03:37:38AM +0100, Mike Galbraith wrote:   BTW, I noticed you can no longer turn the turn the noisy thing off since   we grew DL.  I added an old SGI boot

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-26 Thread Borislav Petkov
Can you please, pretty please, not top-post... On Wed, Feb 26, 2014 at 10:47:05AM +0100, Stephane Eranian wrote: Hi, Ok, so I am getting the same error message as you. I checked my syslog now. I have my uncore_imc addr=0xfed1 (after masking) And I also have pnp 00:01 overlapping

Re: [PATCH] sched/rt: fix rt timer activation/deactivation

2014-02-26 Thread Mike Galbraith
On Wed, 2014-02-26 at 10:07 +0100, Peter Zijlstra wrote: On Wed, Feb 26, 2014 at 03:37:38AM +0100, Mike Galbraith wrote: BTW, I noticed you can no longer turn the turn the noisy thing off since we grew DL. I added an old SGI boot parameter to tell it to go away. You're talking about the

Re: [PATCH, RFC 05/30] [media] omap_vout: avoid sleep_on race

2014-02-26 Thread Hans Verkuil
On 02/26/14 10:03, Arnd Bergmann wrote: On Friday 17 January 2014, Hans Verkuil wrote: On 01/02/2014 01:07 PM, Arnd Bergmann wrote: sleep_on and its variants are broken and going away soon. This changes the omap vout driver to use interruptible_sleep_on_timeout instead, I assume you mean

Re: linux-next: build failure after merge of the final tree (akpm-current tree related)

2014-02-26 Thread Josh Triplett
On Wed, Feb 26, 2014 at 07:16:27PM +1100, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (powerpc64 allnoconfig) failed like this: arch/powerpc/kernel/built-in.o: In function `.machine_check_queue_event': (.text+0x11260): undefined reference to

Re: [PATCH] irqchip:gic: change access of gicc_ctrl register to read modify write.

2014-02-26 Thread Marc Zyngier
[Fixing tglx's email address so he too can enjoy the fun...] On 25/02/14 20:19, Feng Kan wrote: On Wed, Feb 19, 2014 at 2:33 AM, Marc Zyngier marc.zyng...@arm.com wrote: Hi Feng, On 18/02/14 22:12, Feng Kan wrote: This change is made to preserve the GIC v2 releated bits in the GIC_CPU_CTRL

Re: [PATCH v5 1/10] fs: Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2014-02-26 Thread Dave Chinner
On Tue, Feb 25, 2014 at 09:25:40PM -0800, Hugh Dickins wrote: On Wed, 26 Feb 2014, Dave Chinner wrote: On Tue, Feb 25, 2014 at 03:41:20PM -0800, Hugh Dickins wrote: On Mon, 24 Feb 2014, Dave Chinner wrote: On Sat, Feb 22, 2014 at 09:06:25AM -0500, Theodore Ts'o wrote: On Wed, Feb

[PATCH] pinctrl: sh-pfc: r8a7791: SD1_CLK fix

2014-02-26 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Fix the SD1_CLK handling for r8a7791. Without this patch it is impossible to request all pins needed for SDHI1 on the Koelsch board. Signed-off-by: Magnus Damm d...@opensource.se Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Developed on

Re: mm: OS boot failed when set command-line kmemcheck=1

2014-02-26 Thread Vegard Nossum
On 26 February 2014 09:43, Peter Zijlstra pet...@infradead.org wrote: On Wed, Feb 19, 2014 at 02:24:41PM -0800, David Rientjes wrote: On Wed, 19 Feb 2014, Xishi Qiu wrote: Here is a warning, I don't whether it is relative to my hardware. If set kmemcheck=1 nowatchdog, it can boot. code:

[PATCH] ia64: select CONFIG_TTY for use of tty_write_message in unaligned

2014-02-26 Thread Josh Triplett
arch/ia64/kernel/unaligned.c uses tty_write_message to print an unaligned access exception to the TTY of the current user process. Enable TTY to prevent a build error. Signed-off-by: Josh Triplett j...@joshtriplett.org --- Not tested, but this *should* fix the build error with CONFIG_TTY=n.

Re: Tegra clockframework fixes for 3.14

2014-02-26 Thread Peter De Schrijver
Mike, On Mon, Feb 24, 2014 at 02:02:11AM +0100, Mike Turquette wrote: Quoting Peter De Schrijver (2014-02-20 09:27:44) Hi Mike, Could you merge these fixes still for 3.14? No problem, but can you provide a list of the regressions fixed? I'll add those to my merge commit

Re: [PATCH v2 0/3] power_supply: modelgauge_battery: Add Maxim ModelGauge ICs gauge

2014-02-26 Thread Vladimir Barinov
Hello Dmitry, In accordance to this change you've taken the responsibility for power supply maintainership. https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/MAINTAINERS?id=573189354b7c97cd2256b87cf083ee435584594e It passed almost month and no answer from you. Does it

Re: [BUG?] Interrupts enabled after xen_acpi_processor_resume+0x0/0x34 [xen_acpi_processor]

2014-02-26 Thread Stanislaw Gruszka
On Mon, Feb 10, 2014 at 09:37:27AM -0500, Konrad Rzeszutek Wilk wrote: But I'm not sure if that is good solution. It crate some not necessery sysfs directories and files. Additionaly it can restore CPU C-states after some other drivers resume, which prehaps require proper C-states.

Re: [PATCH RFC v1 3/3] ARM hibernation / suspend-to-disk

2014-02-26 Thread Lorenzo Pieralisi
On Tue, Feb 25, 2014 at 05:55:31PM +, Sebastian Capella wrote: Quoting Lorenzo Pieralisi (2014-02-25 03:32:51) On Sun, Feb 23, 2014 at 08:02:08PM +, Sebastian Capella wrote: I'll go with leaving the soft_restart as is unless someone feels strongly against. Leaving it as it is

[PATCH] xen/acpi-processor: fix enabling interrupts on syscore_resume

2014-02-26 Thread Stanislaw Gruszka
syscore-resume() callback is expected to do not enable interrupts, it generates warning like below otherwise: [ 9386.365390] WARNING: CPU: 0 PID: 6733 at drivers/base/syscore.c:104 syscore_resume+0x9a/0xe0() [ 9386.365403] Interrupts enabled after xen_acpi_processor_resume+0x0/0x34

[PATCH v7 0/9] ARM: brcmstb: Add Broadcom STB SoC support

2014-02-26 Thread Marc Carino
This patchset contains the board support package for the Broadcom BCM7445 ARM-based SoC [1]. These changes contain a minimal set of code needed for a BCM7445-based board to boot the Linux kernel. These changes heavily leverage the OF/devicetree framework. The machine is also built into the

[PATCH v7 1/9] ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs

2014-02-26 Thread Marc Carino
The BCM7xxx series of Broadcom SoCs are used primarily in set-top boxes. This patch adds machine support for the ARM-based Broadcom SoCs. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- arch/arm/configs/multi_v7_defconfig |1 +

[PATCH v7 8/9] ARM: brcmstb: gic: add compatible string for Broadcom Brahma15

2014-02-26 Thread Marc Carino
Document the Broadcom Brahma B15 GIC implementation as compatible with the ARM GIC standard. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- Documentation/devicetree/bindings/arm/gic.txt |1 + 1 files changed, 1 insertions(+), 0

Re: [uclinux-dist-devel] [PATCH] blackfin: bf60x: fix typo CONFIG_PM_BFIN_WAKE_PA15_POL

2014-02-26 Thread Steven Miao
Hi Paul, On Thu, Feb 13, 2014 at 5:46 PM, Paul Bolle pebo...@tiscali.nl wrote: [Added current lists.] On Wed, 2013-03-20 at 13:26 +0800, Steven Miao wrote: good catch, thanks This typo is still present in v3.14-rc2. Was my patch perhaps lost? Sorry for the late reply. I'v applied this patch

[PATCH v7 6/9] ARM: brcmstb: add CPU binding for Broadcom Brahma15

2014-02-26 Thread Marc Carino
Add the Broadcom Brahma B15 CPU to the DT CPU binding list. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- Documentation/devicetree/bindings/arm/cpus.txt |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: mm: OS boot failed when set command-line kmemcheck=1

2014-02-26 Thread Peter Zijlstra
On Wed, Feb 26, 2014 at 11:14:41AM +0100, Vegard Nossum wrote: On 26 February 2014 09:43, Peter Zijlstra pet...@infradead.org wrote: On Wed, Feb 19, 2014 at 02:24:41PM -0800, David Rientjes wrote: On Wed, 19 Feb 2014, Xishi Qiu wrote: Here is a warning, I don't whether it is relative to

[PATCH v7 7/9] ARM: brcmstb: add misc. DT bindings for brcmstb

2014-02-26 Thread Marc Carino
Document the bindings that the Broadcom STB platform needs for proper bootup. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- .../devicetree/bindings/arm/brcm-brcmstb.txt | 95 1 files changed, 95 insertions(+), 0

[PATCH v7 2/9] power: reset: Add reboot driver for brcmstb

2014-02-26 Thread Marc Carino
Add support for reboot functionality on boards with ARM-based Broadcom STB chipsets. Signed-off-by: Marc Carino marc.cee...@gmail.com Cc: Dmitry Eremin-Solenikov dbarysh...@gmail.com Cc: David Woodhouse dw...@infradead.org --- arch/arm/mach-bcm/Kconfig|1 +

[PATCH v7 9/9] ARM: brcmstb: dts: add a reference DTS for Broadcom 7445

2014-02-26 Thread Marc Carino
Add a sample DTS which will allow bootup of a board populated with the BCM7445 chip. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com Cc: Matt Porter mpor...@linaro.org --- arch/arm/boot/dts/bcm7445-bcm97445svmb.dts | 14

[PATCH v7 3/9] ARM: brcmstb: add debug UART for earlyprintk support

2014-02-26 Thread Marc Carino
Add the UART definitions needed to support earlyprintk on brcmstb machines. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com --- arch/arm/Kconfig.debug | 15 ++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git

[PATCH v7 5/9] ARM: Enable erratum 798181 for Broadcom Brahma-B15

2014-02-26 Thread Marc Carino
From: Gregory Fong gregory.0...@gmail.com Broadcom Brahma-B15 (r0p0..r0p2) is also affected by Cortex-A15 erratum 798181, so enable the workaround for Brahma-B15. Signed-off-by: Gregory Fong gregory.0...@gmail.com Acked-by: Marc Carino marc.cee...@gmail.com Cc: Rob Herring

[PATCH v7 4/9] ARM: do CPU-specific init for Broadcom Brahma15 cores

2014-02-26 Thread Marc Carino
Perform any CPU-specific initialization required on the Broadcom Brahma-15 core. Signed-off-by: Marc Carino marc.cee...@gmail.com Acked-by: Florian Fainelli f.faine...@gmail.com Cc: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/mm/proc-v7.S | 11 +++ 1 files changed, 11

[PATCH] rtc: fix chardev initialization races

2014-02-26 Thread Ales Novak
In many rtc modules, the chardevice file in rtc module probe is being created prematurely. If the probe fails after the chardevice file has been created (e.g. after rtc_device_register), it's possible for a program to open() it, which subsequently can cause memory corruption. The race looks like

Re: [PATCH] blackfin: bf537: fix typo CONFIG_SND_SOC_ADV80X_MODULE

2014-02-26 Thread Steven Miao
Hi Paul, On Thu, Feb 13, 2014 at 5:40 PM, Paul Bolle pebo...@tiscali.nl wrote: [Replaced previous maintainer and list with current maintainer and list.] On Fri, 2013-03-08 at 13:06 +0100, Paul Bolle wrote: There's a (rather subtle) typo in CONFIG_SND_SOC_ADV80X_MODULE. Fix it once and for

Re: [PATCH v7 5/9] ARM: Enable erratum 798181 for Broadcom Brahma-B15

2014-02-26 Thread Will Deacon
On Wed, Feb 26, 2014 at 10:29:08AM +, Marc Carino wrote: From: Gregory Fong gregory.0...@gmail.com Broadcom Brahma-B15 (r0p0..r0p2) is also affected by Cortex-A15 erratum 798181, so enable the workaround for Brahma-B15. Really... *exactly* the same erratum? That sounds pretty unlikely,

[PATCH v5 0/2] hyperv-fb: add support for generation 2 virtual machines

2014-02-26 Thread Gerd Hoffmann
Hi, This patch series adds support for uefi-based gen2 virtual machines to the hyperv-fb driver. It depends on a few vmbus changes which are staged in Greg's char-misc tree (and linux-next). Patch #1 implements gen2 vm support for hyperv-fb. Patch #2 unregisters efifb early to make sure the

[PATCH v5 2/2] hyperv-fb: kick off efifb early

2014-02-26 Thread Gerd Hoffmann
Remove firmware framebuffer before initializing hyperv-fb. Needed on gen2 virtual machines. Letting register_framebuffer handle the switchover results in efifb still being active while hyperv graphics are initialized, which in turn can make the linux kernel hang. Signed-off-by: Gerd Hoffmann

[PATCH v5 1/2] hyperv-fb: add support for generation 2 virtual machines.

2014-02-26 Thread Gerd Hoffmann
UEFI-based generation 2 virtual machines support vmbus devices only. There is no pci bus. Thus they use a different mechanism for the graphics framebuffer: Instead of using the vga pci bar a chunk of memory muct be allocated from the hyperv mmio region declared using APCI. This patch implements

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-26 Thread Grant Likely
On Mon, 24 Feb 2014 18:36:29 +0100, Philipp Zabel p.za...@pengutronix.de wrote: Am Dienstag, den 18.02.2014, 16:26 + schrieb Grant Likely: You can find it under Documentation/devicetree/bindings/media/video-interfaces.txt Okay, I think I'm okay with moving the helpers, but I

[PATCH 10/16] atm: nicstar: remove interruptible_sleep_on_timeout

2014-02-26 Thread Arnd Bergmann
We are trying to finally kill off interruptible_sleep_on_timeout. the two uses in the nicstar driver can be trivially replaced with wait_event_interruptible_lock_irq_timeout, which prevents the wake-up race and is able to check the buffer state with scq-lock held. Signed-off-by: Arnd Bergmann

[PATCH 07/16] [media] radio-cadet: avoid interruptible_sleep_on race

2014-02-26 Thread Arnd Bergmann
interruptible_sleep_on is racy and going away. This replaces one use in the radio-cadet driver with an wait_event_interruptible call that lets us check the condition under the mutex but sleep without it. The first version of this patch was done by Arnd, but Hans came up with a nicer solution.

[PATCH 11/16] atm: firestream: fix interruptible_sleep_on race

2014-02-26 Thread Arnd Bergmann
interruptible_sleep_on is racy and going away. This replaces the one use in the firestream driver with the appropriate wait_event_interruptible variant. Signed-off-by: Arnd Bergmann a...@arndb.de Acked-by: Chas Williams c...@cmf.nrl.navy.mil Cc: linux-atm-gene...@lists.sourceforge.net Cc:

[PATCH 00/16] sleep_on removal, second try

2014-02-26 Thread Arnd Bergmann
It's been a while since the first submission of these patches, but a lot of them have made it into linux-next already, so here is the stuff that is not merged yet, hopefully addressing all the comments. Geert and Michael: the I was expecting the ataflop and atari_scsi patches to be merged

[PATCH 15/16] isdn: fix multiple sleep_on races

2014-02-26 Thread Arnd Bergmann
The isdn core code uses a couple of wait queues with interruptible_sleep_on, which is racy and about to get removed from the kernel. Fortunately, we know for each case what we are waiting for, so they can all be converted to the better wait_event_interruptible interface. Signed-off-by: Arnd

[PATCH 16/16] NOTYET: sched: remove sleep_on() and friends

2014-02-26 Thread Arnd Bergmann
Do not apply yet, we first have to wait for the other patches in the series to get merged. Comments appreciated. 8 We probably should have done this 15 years ago. I have created patches for every remaining user of the four sleep_on variants that are all broken, and this patch should get

[PATCH 02/16] scsi: atari_scsi: fix sleep_on race

2014-02-26 Thread Arnd Bergmann
sleep_on is known broken and going away. The atari_scsi driver is one of two remaining users in the falcon_get_lock() function, which is a rather crazy piece of code. This does not attempt to fix the driver's locking scheme in general, but at least prevents falcon_get_lock from going to sleep when

[PATCH 05/16] [media] omap_vout: avoid sleep_on race

2014-02-26 Thread Arnd Bergmann
sleep_on and its variants are broken and going away soon. This changes the omap vout driver to use interruptible_sleep_on_timeout instead, which fixes potential race where the dma is complete before we schedule. Signed-off-by: Arnd Bergmann a...@arndb.de Reviewed-by: Hans Verkuil

[PATCH 14/16] isdn: divert, hysdn: fix interruptible_sleep_on race

2014-02-26 Thread Arnd Bergmann
These two drivers use identical code for their procfs status file handling, which contains a small race against status data becoming available while reading the file. This uses wait_event_interruptible instead to fix this particular race and eventually get rid of all sleep_on instances. There

[PATCH 03/16] DAC960: remove sleep_on usage

2014-02-26 Thread Arnd Bergmann
sleep_on and its variants are going away. The use of sleep_on() in DAC960_V2_ExecuteUserCommand seems to be bogus because the command by the time we get there, the command has completed already and we just enter the timeout. Based on this interpretation, I concluded that we can replace it with a

[PATCH 13/16] isdn: hisax/elsa: fix sleep_on race in elsa FSM

2014-02-26 Thread Arnd Bergmann
The state machine code in the elsa driver uses interruptible_sleep_on to wait for state changes, which is racy. A closer look at the possible states reveals that it is always used to wait for getting back into ARCOFI_NOP, so we can use wait_event_interruptible instead. Signed-off-by: Arnd

[PATCH 09/16] parport: fix interruptible_sleep_on race

2014-02-26 Thread Arnd Bergmann
The interruptible_sleep_on function is can still lead to the deadlock mentioned in the comment above the caller, and we want to remove it soon, so replace it now with the race-free wait_event_interruptible. Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Andrew Morton a...@osdl.org Cc: Greg

[PATCH 12/16] isdn: pcbit: fix interruptible_sleep_on race

2014-02-26 Thread Arnd Bergmann
interruptible_sleep_on is racy and going away. In case of pcbit, the driver would run into a timeout if the card is initialized before we start waiting for it. This uses wait_event to fix the race. In order to do this, the state machine handling for the timeout case has to get trivially

[PATCH 06/16] [media] usbvision: drop unused define USBVISION_SAY_AND_WAIT

2014-02-26 Thread Arnd Bergmann
This define uses the deprecated interruptible_sleep_on_timeout function. Since this define is unused anyway we just remove it. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc:

[PATCH 08/16] [media] arv: fix sleep_on race

2014-02-26 Thread Arnd Bergmann
interruptible_sleep_on is racy and going away. In the arv driver that race has probably never caused problems since it would require a whole video frame to be captured before the read function has a chance to go to sleep, but using wait_event_interruptible lets us kill off the old interface. In

[PATCH 04/16] swim3: fix interruptible_sleep_on race

2014-02-26 Thread Arnd Bergmann
interruptible_sleep_on is racy and going away. This replaces the one caller in the swim3 driver with the equivalent race-free wait_event_interruptible call. Since we're here already, this also fixes the case where we get interrupted from atomic context, which used to just spin in the loop.

[PATCH 01/16] ataflop: fix sleep_on races

2014-02-26 Thread Arnd Bergmann
sleep_on() is inherently racy, and has been deprecated for a long time. This fixes two instances in the atari floppy driver: * fdc_wait/fdc_busy becomes an open-coded mutex. We cannot use the regular mutex since it gets released in interrupt context. The open-coded version using wait_event()

Re: [PATCH] staging: lustre: make functions as static

2014-02-26 Thread DaeSeok Youn
Actually , I saw some code like this file which is seperate line between return value and function name. So I didn't make one line of them. Ok, I will make another patch after merge this one. Thanks. Daeseok Youn. 2014-02-26 18:20 GMT+09:00, Dan Carpenter dan.carpen...@oracle.com: On Wed, Feb

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

2014-02-26 Thread Jan Kara
On Wed 26-02-14 19:04:36, Stephen Rothwell wrote: Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/notify/fanotify/fanotify_user.c: In function 'SYSC_fanotify_init': fs/notify/fanotify/fanotify_user.c:707:8: error: 'struct

Re: [PATCH] sched: put rq's sched_avg under CONFIG_FAIR_GROUP_SCHED

2014-02-26 Thread Dietmar Eggemann
On 25/02/14 20:52, Peter Zijlstra wrote: On Tue, Feb 25, 2014 at 11:47:42AM +, Dietmar Eggemann wrote: +++ b/kernel/sched/sched.h @@ -630,7 +630,9 @@ struct rq { struct llist_head wake_list; #endif +#ifdef CONFIG_FAIR_GROUP_SCHED struct sched_avg avg; +#endif };

Re: [PATCH v2 1/1] arm64: make a single hook to syscall_trace() for all syscall features

2014-02-26 Thread Will Deacon
On Wed, Feb 26, 2014 at 02:00:19AM +, AKASHI Takahiro wrote: On 02/26/2014 12:00 AM, Will Deacon wrote: On Tue, Feb 25, 2014 at 09:14:43AM +, AKASHI Takahiro wrote: Currently syscall_trace() is called only for ptrace. With additional TIF_xx flags defined, it is now called in all the

Re: [PATCH v2] mm: per-thread vma caching

2014-02-26 Thread Mel Gorman
On Tue, Feb 25, 2014 at 10:16:46AM -0800, Davidlohr Bueso wrote: From: Davidlohr Bueso davidl...@hp.com This patch is a continuation of efforts trying to optimize find_vma(), avoiding potentially expensive rbtree walks to locate a vma upon faults. The original approach

Re: [PATCH] staging: lustre: make functions as static

2014-02-26 Thread Dan Carpenter
On Wed, Feb 26, 2014 at 08:11:40PM +0900, DaeSeok Youn wrote: Actually , I saw some code like this file which is seperate line between return value and function name. So I didn't make one line of them. Ok, I will make another patch after merge this one. No, you are misunderstanding what I

Re: [PATCHv7 3/7] zram: factor out single stream compression

2014-02-26 Thread Sergey Senozhatsky
Hello Minchan, On (02/26/14 13:34), Minchan Kim wrote: Hello Sergey, On Tue, Feb 25, 2014 at 02:34:29PM +0300, Sergey Senozhatsky wrote: This is preparation patch to add multi stream support to zcomp. Introduce struct zcomp_strm_single and a set of functions to manage zcomp_strm

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-02-26 Thread Grant Likely
On Tue, 25 Feb 2014 15:58:22 +0100, Philipp Zabel p.za...@pengutronix.de wrote: From: Philipp Zabel philipp.za...@gmail.com This patch moves the parsing helpers used to parse connected graphs in the device tree, like the video interface bindings documented in

[PATCH] video: pwm backlight: power off when necessary

2014-02-26 Thread Liu Ying
The pwm backlight should be powered off only in two cases: 1) pwm polarity is normal and brightness is zero. 2) pwm polarity is inversed and brightness is maximal, that is, 100% duty. This patch implements this logic in the pwm backlight driver and actually fixes the issue that backlight is on

Re: linux-next: manual merge of the clk tree with the keystone tree

2014-02-26 Thread Ivan Khoronzhuk
On 02/26/2014 09:15 AM, Stephen Rothwell wrote: Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/boot/dts/keystone-clocks.dtsi between commit 0cfc9ccec2a8 (ARM: dts: keystone: preparatory patch to support K2L and K2E SOCs) from the keystone tree and commit

Re: [PATCH V1 2/3] MFD: da9052: Add new DA9053 BC chip variant

2014-02-26 Thread Mark Brown
On Wed, Feb 26, 2014 at 09:32:03AM +, Lee Jones wrote: It can be worth doing anyway with a subsystem that's actively developed since sometimees the dependencies are the other way - the APIs in Linus' tree may have gone away. Then what happens if the tree that your patch finally gets

Re: [PATCH] staging: lustre: make functions as static

2014-02-26 Thread DaeSeok Youn
Oh.. sorry. Ok, I will seperate this patch as you said. Thanks. Daeseok Youn. 2014-02-26 20:31 GMT+09:00, Dan Carpenter dan.carpen...@oracle.com: On Wed, Feb 26, 2014 at 08:11:40PM +0900, DaeSeok Youn wrote: Actually , I saw some code like this file which is seperate line between return value

Re: [RFCv3 0/7] Convert twl4030-madc to IIO API and add DT support

2014-02-26 Thread Belisko Marek
Hi Sebastian, On Wed, Feb 26, 2014 at 1:24 AM, Sebastian Reichel s...@debian.org wrote: Hi, This is RFCv3 for converting twl4030-madc to the IIO API and adding DT support. The patchset compiles and has been tested on my Nokia N900. Changes since RFCv2: * Use --find-renames for the move

Re: [PATCH] ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf

2014-02-26 Thread Satoru Takeuchi
At Tue, 25 Feb 2014 21:21:18 -0500, MUNEDA Takahiro wrote: On Mon, 24 Feb 2014 09:30:39 -0500, Steven Rostedt rost...@goodmis.org wrote: On Sun, 23 Feb 2014 10:19:28 +0900 Satoru Takeuchi satoru.takeu...@gmail.com wrote: From: Satoru Takeuchi satoru.takeu...@gmail.com As

Re: [PATCH v5 01/11] of: document bindings for reserved-memory nodes

2014-02-26 Thread Grant Likely
On Fri, 21 Feb 2014 13:25:17 +0100, Marek Szyprowski m.szyprow...@samsung.com wrote: From: Grant Likely grant.lik...@linaro.org Reserved memory nodes allow for the reservation of static (fixed address) regions, or dynamically allocated regions for a specific purpose. Signed-off-by: Grant

[PATCH v2 0/2] KVM: x86: more xsave and mpx improvements

2014-02-26 Thread Paolo Bonzini
Here are the patches I mentioned while reviewing Liu Jinsong's MPX series. Patch 1 is a further cleanup of xcr0 handling, and patch 2 introduces nested virtualization support for MPX. Please review. Thanks, Paolo Paolo Bonzini (2): KVM: x86: introduce kvm_supported_xcr0() KVM: x86: Add

[PATCH v2 2/2] KVM: x86: Add nested virtualization support for MPX

2014-02-26 Thread Paolo Bonzini
This is simple to do, the host BNDCFGS is either 0 or the guest value. However, both controls have to be present. We cannot provide MPX if we only have one of the load BNDCFGS or clear BNDCFGS controls. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- arch/x86/kvm/vmx.c | 17

Re: [PATCH v2] thermal,rcar_thermal: Add dependency on HAS_IOMEM

2014-02-26 Thread Richard Weinberger
Am 27.01.2014 12:32, schrieb Laurent Pinchart: Hi Richard, Thank you for the patch. On Monday 27 January 2014 09:40:58 Richard Weinberger wrote: Commit beeb5a1e (thermal: rcar-thermal: Enable driver compilation with COMPILE_TEST) broke build on archs wihout io memory. On archs like S390

<    5   6   7   8   9   10   11   12   13   14   >