Re: [PATCH v7 03/13] ARM: Berlin: select the reset controller

2014-11-14 Thread Sebastian Hesselbarth
On 11/14/2014 04:33 PM, Arnd Bergmann wrote: On Friday 14 November 2014 16:25:53 Antoine Tenart wrote: menuconfig ARCH_BERLIN bool "Marvell Berlin SoCs" if ARCH_MULTI_V7 + select ARCH_HAS_RESET_CONTROLLER select ARCH_REQUIRE_GPIOLIB select ARM_GIC

Re: [PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Marc Kleine-Budde
On 11/14/2014 04:20 PM, Sören Brinkmann wrote: Please look the at suspend/resume code and count the clock_enable/disable manually. After a suspend/resume cycle, you have enabled the clock twice, but disabled it once. I think you have to abstract the clock handling behind

Re: [RFC][PATCH 10/23 v4] tracing/uprobes: Do not use return values of trace_seq_printf()

2014-11-14 Thread Masami Hiramatsu
(2014/11/14 10:12), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The functions trace_seq_printf() and friends will soon no longer have > return values. Using trace_seq_has_overflowed() and trace_handle_return() > should be used instead. > > Cc: Masami Hiramatsu > Cc: Namhyung

Re: [PATCH v7 03/13] ARM: Berlin: select the reset controller

2014-11-14 Thread Arnd Bergmann
On Friday 14 November 2014 16:25:53 Antoine Tenart wrote: > menuconfig ARCH_BERLIN > bool "Marvell Berlin SoCs" if ARCH_MULTI_V7 > + select ARCH_HAS_RESET_CONTROLLER > select ARCH_REQUIRE_GPIOLIB > select ARM_GIC > select GENERIC_IRQ_CHIP > select

Re: [PATCH v2 net-next 1/7] bpf: add 'flags' attribute to BPF_MAP_UPDATE_ELEM command

2014-11-14 Thread Alexei Starovoitov
On Fri, Nov 14, 2014 at 4:11 AM, Hannes Frederic Sowa wrote: > On Do, 2014-11-13 at 17:36 -0800, Alexei Starovoitov wrote: >> the current meaning of BPF_MAP_UPDATE_ELEM syscall command is: >> either update existing map element or create a new one. >> Initially the plan was to add a new command to

[PATCH] clk-divider: Fix READ_ONLY when divider > 1

2014-11-14 Thread James Hogan
Commit 79c6ab509558 (clk: divider: add CLK_DIVIDER_READ_ONLY flag) in v3.16 introduced the CLK_DIVIDER_READ_ONLY flag which caused the recalc_rate() and round_rate() clock callbacks to be omitted. However using this flag has the unfortunate side effect of causing the clock recalculation code when

[PATCH v7 04/13] ARM: dts: berlin: add a required reset property in the chip controller node

2014-11-14 Thread Antoine Tenart
The chip controller node now also describes the Marvell Berlin reset controller. Add the required 'reset-cells' property. Signed-off-by: Antoine Tenart Acked-by: Philipp Zabel --- arch/arm/boot/dts/berlin2.dtsi | 1 + arch/arm/boot/dts/berlin2cd.dtsi | 1 + arch/arm/boot/dts/berlin2q.dtsi |

Re: [patch 07/16] genirq: Introduce helper irq_domain_set_info() to reduce duplicated code

2014-11-14 Thread Marc Zyngier
On 12/11/14 13:43, Thomas Gleixner wrote: > From: Jiang Liu > > Signed-off-by: Jiang Liu > Cc: Bjorn Helgaas > Cc: Grant Likely > Cc: Marc Zyngier > Cc: Yingjoe Chen > Cc: Yijing Wang > Signed-off-by: Thomas Gleixner > --- > include/linux/irqdomain.h |5 + >

[PATCH v7 03/13] ARM: Berlin: select the reset controller

2014-11-14 Thread Antoine Tenart
The Marvell Berlin SoCs now has a reset controller. Add the needed configuration. Signed-off-by: Antoine Tenart --- arch/arm/mach-berlin/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig index 24f85be71671..5803f773a065

Re: [RFC][PATCH 09/23 v4] tracing/probes: Do not use return value of trace_seq_printf()

2014-11-14 Thread Masami Hiramatsu
(2014/11/14 10:12), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The functions trace_seq_printf() and friends will soon not have a return > value and will only be a void function. Use trace_seq_has_overflowed() > instead to know if the trace_seq operations succeeded or not. >

Re: [PATCH] x86, ia64: Do not lose track of the EFI default VGA device

2014-11-14 Thread Henrik Rydberg
On 11/14/2014 03:42 PM, Bruno Prémont wrote: > On Fri, 14 Nov 2014 13:53:30 +0100 Henrik Rydberg wrote: >> Since commit 20cde694027e ("x86, ia64: Move EFI_FB >> vga_default_device() initialization to pci_vga_fixup()") in the 3.17 >> merge window, the EFI framebuffer depends on the VGA arbitration

[PATCH v7 07/13] usb: chipidea: fix phy handling

2014-11-14 Thread Antoine Tenart
The generic platform device for CI drivers is probed by calling ci_hdrc_probe. This is not the same device as the one for the specific driver, so the of_node isn't the one we're looking into. This result in not being able to probe the phys. Since all CI driver are retrieving their phys in the

[PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx

2014-11-14 Thread Antoine Tenart
Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock and DMA mask, to support USB2 ChipIdea controllers that don't need specific functions. Tested on the Marvell Berlin SoCs USB controllers. Signed-off-by: Antoine Tenart --- drivers/usb/chipidea/Makefile | 1 +

[PATCH v7 05/13] phy: add the Berlin USB PHY driver

2014-11-14 Thread Antoine Tenart
Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Tenart --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-usb.c | 224

[PATCH v7 09/13] Documentation: bindings: add doc for the USB2 ChipIdea USB driver

2014-11-14 Thread Antoine Tenart
Document the USB2 ChipIdea driver (ci13xxx) bindings. Signed-off-by: Antoine Tenart --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt diff --git

[PATCH v7 10/13] ARM: dts: berlin: add BG2Q nodes for USB support

2014-11-14 Thread Antoine Tenart
Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q SoC has 3 USB host controller, compatible with ChipIdea. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2q.dtsi | 55 + 1 file changed, 55 insertions(+) diff --git

[PATCH v7 00/13] ARM: berlin: USB support

2014-11-14 Thread Antoine Tenart
This series adds the support for ChipIdea USB2 (ci13xxx) controllers, the USB PHYs of the Marvell Berlin SoCs and also adds a reset controller for these SoCs. The reset controller is used by the PHY driver and shares the existing chip controller node with the clocks and one pin controller. The

[PATCH v7 02/13] Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs

2014-11-14 Thread Antoine Tenart
Add the reset binding documentation to the SoC binding documentation as the reset driver in Marvell Berlin SoC is part of the chip/system control registers. This patch adds the required properties to configure the reset controller. Signed-off-by: Antoine Tenart Acked-by: Philipp Zabel ---

[PATCH v7 13/13] ARM: dts: berlin: enable USB on the Google Chromecast

2014-11-14 Thread Antoine Tenart
From: Sebastian Hesselbarth Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4 1 file changed, 4

[PATCH v7 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-11-14 Thread Antoine Tenart
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts

[PATCH v7 12/13] ARM: dts: berlin: add BG2CD nodes for USB support

2014-11-14 Thread Antoine Tenart
From: Sebastian Hesselbarth Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role capable. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2cd.dtsi |

[PATCH v7 06/13] Documentation: bindings: add doc for the Berlin USB PHY

2014-11-14 Thread Antoine Tenart
Document the bindings of the Marvell Berlin USB PHY driver. Signed-off-by: Antoine Tenart --- Documentation/devicetree/bindings/phy/berlin-usb-phy.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/berlin-usb-phy.txt diff --git

[PATCH v7 01/13] reset: add the Berlin reset controller driver

2014-11-14 Thread Antoine Tenart
Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Tenart Signed-off-by: Sebastian Hesselbarth Acked-by: Philipp Zabel --- drivers/reset/Makefile | 1 + drivers/reset/reset-berlin.c | 131

[3.16.y-ckt stable] Linux 3.16.7-ckt1

2014-11-14 Thread Luis Henriques
I am announcing the release of the Linux 3.16.7-ckt1 kernel. The updated 3.16.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.16.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.16.y;a=shortlog The diff from v3.16.7

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-14 Thread Jiang Liu
On 2014/11/14 23:16, Marc Zyngier wrote: > On 14/11/14 14:26, Jiang Liu wrote: >> On 2014/11/14 22:11, Yijing Wang wrote: >>> >> We have achieved 1 and 2. And seems we could also achieve 3 by >> converting all arch specific PCI MSI code to use hierarchy >> irqdomain. But not sure whether we could

[PATCH 01/11] x86, mpx: rename cfg_reg_u and status_reg

2014-11-14 Thread Dave Hansen
From: Dave Hansen According to Intel SDM extension, MPX configuration and status registers should be BNDCFGU and BNDSTATUS. This patch renames cfg_reg_u and status_reg to bndcfgu and bndstatus. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/arch/x86/include/asm/processor.h |

[PATCH 03/11] mips: sync struct siginfo with general version

2014-11-14 Thread Dave Hansen
From: Dave Hansen New fields about bound violation are added into general struct siginfo. This will impact MIPS and IA64, which extend general struct siginfo. This patch syncs this struct for MIPS with general version. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen ---

[PATCH 00/11] [v11] Intel MPX support

2014-11-14 Thread Dave Hansen
From: Dave Hansen Changes since v10: * get rid of some generic #ifdefs and add mpx_mm_init(mm) * add comment about reasons for doing xsaves * Cleanups in "on-demand allocation" patch, and add a missing return * Changes in some of the unmapping code error handling. Make it more strict

[PATCHv2 04/16] clocksource: time-armada-370-xp: add suspend/resume support

2014-11-14 Thread Thomas Petazzoni
This commit adds a set of suspend/resume syscore_ops to respectively save and restore a number of timer registers, in order to make sure the clockevent and clocksource devices continue to work properly across a suspend/resume cycle. Signed-off-by: Thomas Petazzoni Cc: Daniel Lezcano Cc: Thomas

[PATCH 04/11] ia64: sync struct siginfo with general version

2014-11-14 Thread Dave Hansen
From: Dave Hansen New fields about bound violation are added into general struct siginfo. This will impact MIPS and IA64, which extend general struct siginfo. This patch syncs this struct for IA64 with general version. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen ---

[PATCHv2 08/16] clk: mvebu: add suspend/resume for gatable clocks

2014-11-14 Thread Thomas Petazzoni
This commit adds suspend/resume support for the gatable clock driver used on Marvell EBU platforms. When getting out of suspend, the Marvell EBU platforms go through the bootloader, which re-enables all gatable clocks. However, upon resume, the clock framework will not disable again all gatable

[PATCH 08/11] x86, mpx: [new code] decode MPX instruction to get bound violation information

2014-11-14 Thread Dave Hansen
From: Dave Hansen Note: This is substantially different code from the v9 set. This patch sets bound violation fields of siginfo struct in #BR exception handler by decoding the user instruction and constructing the faulting pointer. We have to be very careful when decoding these instructions.

[PATCH 06/11] x86, mpx: introduce VM_MPX to indicate that a VMA is MPX specific

2014-11-14 Thread Dave Hansen
From: Dave Hansen MPX-enabled applications using large swaths of memory can potentially have large numbers of bounds tables in process address space to save bounds information. These tables can take up huge swaths of memory (as much as 80% of the memory on the system) even if we clean them up

[PATCHv2 03/16] irqchip: irq-armada-370-xp: suspend/resume support

2014-11-14 Thread Thomas Petazzoni
This commit adds suspend/resume support to the irqchip driver used on Armada XP platforms (amongst others). It does so by adding a set of suspend/resume syscore_ops, that will respectively save and restore the necessary registers to ensure interrupts continue to work after resume. It is worth

Re: [PATCH 2/3] x86: allow dma_get_required_mask() to be overridden

2014-11-14 Thread Stefano Stabellini
On Wed, 12 Nov 2014, David Vrabel wrote: > Use dma_ops->get_required_mask() if provided, defaulting to > dma_get_requried_mask_from_max_pfn(). > > This is needed on systems (such as Xen PV guests) where the DMA > address and the physical address are not equal. > > Signed-off-by: David Vrabel

[PATCH 09/11] x86, mpx: on-demand kernel allocation of bounds tables

2014-11-14 Thread Dave Hansen
From: Dave Hansen changes from v10: * move mm init-time #ifdef to mpx.h * add comment in do_bounds() about why xsave is needed * add missing return in do_bounds(); * unconvolute mpx_handle_bd_fault() -- This is really the meat of the MPX patch set. If there is one patch to review in the

Re: [PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Sören Brinkmann
On Fri, 2014-11-14 at 04:09PM +0100, Marc Kleine-Budde wrote: > On 11/14/2014 04:05 PM, Sören Brinkmann wrote: > > On Fri, 2014-11-14 at 09:54AM +0100, Marc Kleine-Budde wrote: > >> On 11/14/2014 09:16 AM, Kedareswara rao Appana wrote: > >>> The drvdata in the suspend/resume is of type struct

[PATCH 07/11] x86, mpx: add MPX-specific mmap interface

2014-11-14 Thread Dave Hansen
From: Dave Hansen We have chosen to perform the allocation of bounds tables in kernel (See the patch "on-demand kernel allocation of bounds tables") and to mark these VMAs with VM_MPX. However, there is currently no suitable interface to actually do this. Existing interfaces, like

[PATCH 11/11] x86, mpx: add documentation on Intel MPX

2014-11-14 Thread Dave Hansen
From: Dave Hansen This patch adds the Documentation/x86/intel_mpx.txt file with some information about Intel MPX. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/Documentation/x86/intel_mpx.txt | 234 ++ 1 file changed, 234 insertions(+)

[PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Dave Hansen
From: Dave Hansen This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If CONFIG_X86_INTEL_MPX=y, then the cpuid flag will be checked

[PATCH v2] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
When kvm_register_device_ops() fails, need disable_percpu_irq(), need vgic_arch_unsetup(), need __unregister_cpu_notifier(), and also need free_percpu_irq(). At present, there is no vgic_arch_unsetup(), so add it for resetting '__vgic_sr_vectors'. Signed-off-by: Chen Gang ---

[PATCH 02/11] mpx: extend siginfo structure to include bound violation information

2014-11-14 Thread Dave Hansen
From: Dave Hansen This patch adds new fields about bound violation into siginfo structure. si_lower and si_upper are respectively lower bound and upper bound when bound violation is caused. Signed-off-by: Qiaowei Ren Signed-off-by: Dave Hansen --- b/include/uapi/asm-generic/siginfo.h |

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/14/2014 10:53 PM, Marc Zyngier wrote: > On 14/11/14 14:27, Chen Gang wrote: >> On 11/14/2014 10:09 PM, Marc Zyngier wrote: >>> On 14/11/14 14:05, Chen Gang wrote: On 11/13/2014 11:30 PM, Marc Zyngier wrote: > On 13/11/14 15:04, Chen Gang wrote: >> When kvm_register_device_ops()

[PATCH 10/11] x86, mpx: cleanup unused bound tables

2014-11-14 Thread Dave Hansen
From: Dave Hansen The previous patch allocates bounds tables on-demand. As noted in an earlier description, these can add up to *HUGE* amounts of memory. This has caused OOMs in practice when running tests. This patch adds support for freeing bounds tables when they are no longer in use.

Re: [PATCH] HID: usbhid: get/put around clearing needs_remote_wakeup

2014-11-14 Thread Alan Stern
On Thu, 13 Nov 2014, Benson Leung wrote: > Hi Alan, > > On Thu, Nov 13, 2014 at 2:11 PM, Alan Stern wrote: > > Wait a minute -- in your previous email you said this approach didn't > > work. So does it work or doesn't it? > > Sorry for the confusion. The approach *does* work. > > That was

Re: [PATCH v4 4/6] ARM: zynq: Extend SLCR driver to read OCM configuration

2014-11-14 Thread Sören Brinkmann
On Fri, 2014-11-14 at 11:52AM +0100, Michal Simek wrote: > Get OCM configuration from SLCR. > > Signed-off-by: Michal Simek > --- > > Changes in v4: > - slcr.h has moved to soc/include/ folder. Move definition there too. > > Changes in v3: None > Changes in v2: None > >

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-14 Thread Marc Zyngier
On 14/11/14 14:26, Jiang Liu wrote: > On 2014/11/14 22:11, Yijing Wang wrote: >> >> 在 2014/11/14 9:39, Jiang Liu 写道: >>> On 2014/11/14 9:31, Thomas Gleixner wrote: On Fri, 14 Nov 2014, Yijing Wang wrote: >>> Hi Thomas, >>> So we need something like: >>> struct msi_chip

Re: [PATCH v8 4/8] OF: platform: Add OF notifier handler

2014-11-14 Thread Pantelis Antoniou
Hi Grant, > On Nov 14, 2014, at 01:29 , Grant Likely wrote: > > On Tue, 28 Oct 2014 22:36:01 +0200 > , Pantelis Antoniou > wrote: >> Add OF notifier handler needed for creating/destroying platform devices >> according to dynamic runtime changes in the DT live tree. >> >> Signed-off-by:

Re: [Xen-devel] [PATCH 1/3] dma, ia64: add dma_get_required_mask_from_max_pfn()

2014-11-14 Thread Stefano Stabellini
On Wed, 12 Nov 2014, David Vrabel wrote: > ia64 provides a duplicate of the generic dma_get_required_mask() > because it has ARCH_HAS_GET_REQUIRED_MASK. Provide a common > dma_get_require_mask_max_pfn() instead. > > Signed-off-by: David Vrabel > Cc: Tony Luck > Cc: Fenghua Yu > Cc:

Re: [PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Marc Kleine-Budde
On 11/14/2014 04:05 PM, Sören Brinkmann wrote: > On Fri, 2014-11-14 at 09:54AM +0100, Marc Kleine-Budde wrote: >> On 11/14/2014 09:16 AM, Kedareswara rao Appana wrote: >>> The drvdata in the suspend/resume is of type struct net_device, >>> not the platform device.Enable the clocks in the suspend

Re: [PATCH] zsmalloc: correct fragile [kmap|kunmap]_atomic use

2014-11-14 Thread Seth Jennings
On Fri, Nov 14, 2014 at 10:11:01AM +0900, Minchan Kim wrote: > The kunmap_atomic should use virtual address getting by kmap_atomic. > However, some pieces of code in zsmalloc uses modified address, > not the one got by kmap_atomic for kunmap_atomic. > > It's okay for working because zsmalloc

Re: anon_vma accumulating for certain load still not addressed

2014-11-14 Thread Rik van Riel
On 11/14/2014 08:08 AM, Michal Hocko wrote: Hi, back in 2012 [1] there was a discussion about a forking load which accumulates anon_vmas. There was a trivial test case which triggers this and can potentially deplete the memory by local user. We have a report for an older enterprise distribution

Re: [PATCH V2 0/2] spi: IMG SPFI driver

2014-11-14 Thread Mark Brown
On Thu, Nov 13, 2014 at 05:36:31PM +, Mark Brown wrote: > On Wed, Nov 12, 2014 at 07:08:14PM -0800, Andrew Bresticker wrote: > > This series adds support for the Sychronous Peripheral Flash Interface > > master found on IMG SoCs. The controller supports up to 5 chip-select > > lines and

Re: [PATCH V2 4/7] arm64: dts: Add Designware GPIO dts binding to APM X-Gene platform

2014-11-14 Thread Arnd Bergmann
On Thursday 13 November 2014 16:19:58 Feng Kan wrote: > + dwgpio: dwgpio@1c024000 { > + compatible = "snps,dw-apb-gpio"; > + reg = <0x0 0x1c024000 0x0 0x1000>; > + reg-io-width = <4>; > +

[GIT PULL] ACPI and power management fixes for 3.18-rc5

2014-11-14 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.18-rc5 to receive ACPI and power management fixes for v3.18-rc5 with top-most commit 31689497d90e589d7050fc7bc850b4b46e632bfc Merge branches 'pm-domains', 'pm-sleep' and 'pm-cpufreq' on

Re: [PATCH v2] can: Fix bug in suspend/resume

2014-11-14 Thread Sören Brinkmann
On Fri, 2014-11-14 at 09:54AM +0100, Marc Kleine-Budde wrote: > On 11/14/2014 09:16 AM, Kedareswara rao Appana wrote: > > The drvdata in the suspend/resume is of type struct net_device, > > not the platform device.Enable the clocks in the suspend before > > accessing the registers of the CAN. > >

Re: [PATCH] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2014-11-14 Thread Boris Brezillon
Hi Sakari, On Fri, 14 Nov 2014 15:58:31 +0200 Sakari Ailus wrote: > Hi Boris, > > On Fri, Nov 14, 2014 at 11:36:00AM +0100, Boris Brezillon wrote: > > Add RGB444_1X12 and RGB565_1X16 format definitions and update the > > documentation. > > > > Signed-off-by: Boris Brezillon > > Acked-by:

Re: [PATCH V2 1/7] arm64: dts: Add APM X-Gene USB DTS node

2014-11-14 Thread Arnd Bergmann
On Thursday 13 November 2014 16:19:55 Feng Kan wrote: > > + usb0: dwusb@1900 { > + status = "disabled"; > + compatible = "xhci-platform"; > + reg = <0x0 0x1900 0x0 0x10>; > +

Re: [PATCH v2 13/14] ARM: STi: DT: STiH410: Add usb2 picophy dt nodes

2014-11-14 Thread Arnd Bergmann
On Friday 14 November 2014 13:34:25 Peter Griffin wrote: > > > > > From looking around in the source I see a few different ways people have > > > done this: - > > > > > > 1) Some drivers encode the data statically into the source and make a > > > decision based on compatible string. > > > 2)

Re: + syscallsx86-implement-execveat-system-call.patch added to -mm tree

2014-11-14 Thread David Drysdale
On Fri, Nov 14, 2014 at 12:11 AM, Oleg Nesterov wrote: >> @@ -1479,7 +1489,26 @@ static int do_execve_common(struct filen >> >> bprm->file = file; >> - bprm->filename = bprm->interp = filename->name; >> + if (fd == AT_FDCWD || filename->name[0] == '/') { >> +

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Marc Zyngier
On 14/11/14 14:27, Chen Gang wrote: > On 11/14/2014 10:09 PM, Marc Zyngier wrote: >> On 14/11/14 14:05, Chen Gang wrote: >>> On 11/13/2014 11:30 PM, Marc Zyngier wrote: On 13/11/14 15:04, Chen Gang wrote: > When kvm_register_device_ops() fails, also need call free_percpu_irq() > just

Re: [Linaro-acpi] [RFC PATCH 4/4] arm64, acpi, pci: Provide arch-specific calls for PCI host bridge dirver (PNP0A03).

2014-11-14 Thread Arnd Bergmann
On Friday 14 November 2014 15:10:12 Tomasz Nowicki wrote: > On 07.11.2014 15:24, Arnd Bergmann wrote: > > On Friday 07 November 2014 14:27:56 Tomasz Nowicki wrote: > >> > >> #ifdef CONFIG_PCI > >> +struct pci_controller { > >> + struct acpi_device *companion; > >> + int segment; > >> + int

Re: [PATCH 2/2] kernel: add support for live patching

2014-11-14 Thread Petr Mladek
On Fri 2014-11-14 14:30:30, Miroslav Benes wrote: > On Thu, 13 Nov 2014, Seth Jennings wrote: > > > On Thu, Nov 13, 2014 at 11:16:00AM +0100, Miroslav Benes wrote: > > > > > > Hi, > > > > > > thank you for the first version of the united live patching core. > > > > > > The patch below

Re: [PATCH] x86, ia64: Do not lose track of the EFI default VGA device

2014-11-14 Thread Bruno Prémont
On Fri, 14 Nov 2014 13:53:30 +0100 Henrik Rydberg wrote: > Since commit 20cde694027e ("x86, ia64: Move EFI_FB > vga_default_device() initialization to pci_vga_fixup()") in the 3.17 > merge window, the EFI framebuffer depends on the VGA arbitration > layer. However, the configuration does not

Re: [RFC][PATCH 12/23 v4] tracing: Remove return values of most trace_seq_*() functions

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 14:17:28 +0100 Petr Mladek wrote: > > -int trace_seq_putmem_hex(struct trace_seq *s, const void *mem, > > +void trace_seq_putmem_hex(struct trace_seq *s, const void *mem, > > unsigned int len) > > { > > unsigned char hex[HEX_CHARS]; > > const

Re: [PATCH] kvm: x86: increase user memory slots to 509

2014-11-14 Thread Paolo Bonzini
On 14/11/2014 15:10, Igor Mammedov wrote: > On Thu, 06 Nov 2014 17:23:58 +0100 Paolo Bonzini wrote: >> It would use more memory, and some loops are now becoming more >> expensive. In general adding a memory slot to a VM is not cheap, and >> I question the wisdom of having 256 hotplug memory

Re: [RFC][PATCH 07/23 v4] kprobes/tracing: Use trace_seq_has_overflowed() for overflow checks

2014-11-14 Thread Masami Hiramatsu
(2014/11/14 10:12), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Instead of checking the return value of trace_seq_printf() and friends > for overflowing of the buffer, use the trace_seq_has_overflowed() helper > function. > > This cleans up the code quite a bit and also takes

Re: [PATCH v8 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-11-14 Thread Arnd Bergmann
On Friday 14 November 2014 15:11:58 Marek Szyprowski wrote: > > I assume that after all comments from previous versions, no more changes > are needed > to this patchset and I would really like to have it queued to v3.19. > > Arnd, Olof: could you take this patchset thought arm-soc tree? It

Re: [PATCH v12 5/6] dmaengine: pl330: Add PM sleep support

2014-11-14 Thread Krzysztof Kozlowski
On pią, 2014-11-14 at 15:22 +0100, Ulf Hansson wrote: > On 14 November 2014 14:47, Krzysztof Kozlowski > wrote: > > On pią, 2014-11-14 at 14:31 +0100, Ulf Hansson wrote: > >> On 14 November 2014 09:50, Krzysztof Kozlowski > >> wrote: > >> > Add system suspend/resume capabilities to the pl330

Re: [PATCH 1/3] kvm: memslots: track id_to_index changes during the insertion sort

2014-11-14 Thread Radim Krčmář
2014-11-14 15:29+0100, Paolo Bonzini: > On 14/11/2014 14:35, Radim Krčmář wrote: > > We are replacing in a sorted array, so the the direction of our > > traversal doesn't change, (and we could lose one tab level here,) > > > > if (new->npages < mslots[i].npages) { > > while (i <

Re: [PATCH 1/3] kvm: memslots: track id_to_index changes during the insertion sort

2014-11-14 Thread Paolo Bonzini
On 14/11/2014 15:41, Radim Krčmář wrote: > Yes, your improvement is great and would work even for higher amounts. > > I meant that our lookup is currently pretty sad -- O(N) that is > presumably optimized by looking at the largest regions first. Yes, that's the optimization. > Maybe we would

[GIT PULL] at91: drivers for 3.19 #1

2014-11-14 Thread Nicolas Ferre
Arnd, Olof, Kevin, This is a pull-request about AT91-related drivers that are easier to take via arm-soc. There is a little merge conflict with the "cleanup" branch because of removal of at91sam9g45 and at91sam9rl legacy code. The resolution is pretty simple but you can have a look at the

[PATCH 1/1] drivers: net: cpsw: Fix TX_IN_SEL offset

2014-11-14 Thread John Ogness
The TX_IN_SEL offset for the CPSW_PORT/TX_IN_CTL register was incorrect. This caused the Dual MAC mode to never get set when it should. It also caused possible unintentional setting of a bit in the CPSW_PORT/TX_BLKS_REM register. The purpose of setting the Dual MAC mode for this register is to:

[PATCH] i2c: Add parameters to sysfs-added i2c devices

2014-11-14 Thread minyard
From: Corey Minyard Some devices might need parameters to control their operation, add the ability to pass these parameters to the client. This also makes the parsing of sysfs-added I2C devices a little more flexible, allowing tabs and arbitrary numbers of spaces. Signed-off-by: Corey Minyard

Re: [PATCH 1/3] kvm: memslots: track id_to_index changes during the insertion sort

2014-11-14 Thread Radim Krčmář
2014-11-14 15:17+0100, Igor Mammedov: > > (We'll have to change it into an interval tree, or something, if the > > number of slots rises anyway.) > Only if it rises to huge amount, I've played with proposed 512 memslots > and it takes ~1 cycles which is 5% of current heapsort overhead. >

Re: mm: shmem: freeing mlocked page

2014-11-14 Thread Sasha Levin
On 11/06/2014 11:27 PM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel, I've stumbled on the following spew: > > [ 1441.564471] BUG: Bad page state in process trinity-c612 pfn:12593a > [ 1441.564476] page:ea0006e175c0

Re: [PATCH 4/4] arm: dts: omap3-gta04: Add static configuration for devconf1 register

2014-11-14 Thread Grazvydas Ignotas
On Fri, Nov 14, 2014 at 1:58 AM, Tony Lindgren wrote: > * Paul Walmsley [141113 15:01]: >> Hi >> >> On Thu, 13 Nov 2014, Tony Lindgren wrote: >> >> > * Tomi Valkeinen [141113 03:33]: >> > > On 12/11/14 17:02, Tony Lindgren wrote: >> > > >> > > >> And, with a quick grep, I see CONTROL_DEVCONF1

Re: [PATCH 1/3] kvm: memslots: track id_to_index changes during the insertion sort

2014-11-14 Thread Paolo Bonzini
On 14/11/2014 14:35, Radim Krčmář wrote: > We are replacing in a sorted array, so the the direction of our > traversal doesn't change, (and we could lose one tab level here,) > > if (new->npages < mslots[i].npages) { > while (i < (KVM_MEM_SLOTS_NUM - 1) && >

[PATCH] serial: 8250_dw: Use 64-bit access for OCTEON.

2014-11-14 Thread Aleksey Makarov
From: David Daney Although the existing code appears to work on most hardware, the hardware designers tell us that 8-bit access to the registers is not guaranteed to be reliable. Also the OCTEON simulation environments prohibit 8-bit accesses. For these reasons, we use __raw_readq/__raw_writeq

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/14/2014 10:09 PM, Marc Zyngier wrote: > On 14/11/14 14:05, Chen Gang wrote: >> On 11/13/2014 11:30 PM, Marc Zyngier wrote: >>> On 13/11/14 15:04, Chen Gang wrote: When kvm_register_device_ops() fails, also need call free_percpu_irq() just like others have down within

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-14 Thread Jiang Liu
On 2014/11/14 22:11, Yijing Wang wrote: > > 在 2014/11/14 9:39, Jiang Liu 写道: >> On 2014/11/14 9:31, Thomas Gleixner wrote: >>> On Fri, 14 Nov 2014, Yijing Wang wrote: >>> >> Hi Thomas, >> So we need something like: >> struct msi_chip *pci_get_msi_chip(struct pci_dev *); >> or: >> struct

Re: [PATCH 3/3] kvm: simplify update_memslots invocation

2014-11-14 Thread Igor Mammedov
On Fri, 14 Nov 2014 12:12:02 +0100 Paolo Bonzini wrote: > The update_memslots invocation is only needed in one case. Make > the code clearer by moving it to __kvm_set_memory_region, and > removing the wrapper around insert_memslot. > > Signed-off-by: Paolo Bonzini > --- > virt/kvm/kvm_main.c

Re: SystemD fanboi Erich Schubert claims others have done no contributions to opensource software. (information within)

2014-11-14 Thread Cecil Westerhof
Op Friday 14 Nov 2014 07:54 CET schreef George Malone: > I expect this post to be censored, it is par for the course for > people like you. Could you stop flaming? I have seen this at least ten times. This does beg the question: could the problem be with you? -- Cecil Westerhof Senior Software

Re: [PATCH v12 5/6] dmaengine: pl330: Add PM sleep support

2014-11-14 Thread Ulf Hansson
On 14 November 2014 14:47, Krzysztof Kozlowski wrote: > On pią, 2014-11-14 at 14:31 +0100, Ulf Hansson wrote: >> On 14 November 2014 09:50, Krzysztof Kozlowski >> wrote: >> > Add system suspend/resume capabilities to the pl330 driver so the amba >> > bus clock could be also unprepared to

Re: [PATCH 2/3] kvm: commonize allocation of the new memory slots

2014-11-14 Thread Igor Mammedov
On Fri, 14 Nov 2014 12:12:01 +0100 Paolo Bonzini wrote: > The two kmemdup invocations can be unified. I find that the new > placement of the comment makes it easier to see what happens. > > Signed-off-by: Paolo Bonzini > --- > virt/kvm/kvm_main.c | 28 +++- > 1 file

Re: [PATCH 1/3] kvm: memslots: track id_to_index changes during the insertion sort

2014-11-14 Thread Igor Mammedov
On Fri, 14 Nov 2014 14:35:00 +0100 Radim Krčmář wrote: > 2014-11-14 12:12+0100, Paolo Bonzini: > > This completes the optimization from the previous patch, by > > removing the KVM_MEM_SLOTS_NUM-iteration loop from insert_memslot. > > > > Signed-off-by: Paolo Bonzini > > --- > >

Re: [PATCHv4 2/6] phy: improved lookup method

2014-11-14 Thread Heikki Krogerus
Hi Vivek, On Thu, Nov 13, 2014 at 07:03:01PM +0530, Vivek Gautam wrote: > Hi Heikki, Kishon, > > How about adding the change in attached patch [1] on top of this patch. > Just introduced the phy pointer in "phy_lookup" structure, and > modified phy_find() accordingly. > > [1] Attachment: >

Re: [PATCH v8 0/7] Enable L2 cache support on Exynos4210/4x12 SoCs

2014-11-14 Thread Marek Szyprowski
Hello, On 2014-11-13 14:18, Marek Szyprowski wrote: This is an updated patchset, which intends to add support for L2 cache on Exynos4 SoCs on boards running under secure firmware, which requires certain initialization steps to be done with help of firmware, as selected registers are writable

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-14 Thread Yijing Wang
在 2014/11/14 9:39, Jiang Liu 写道: On 2014/11/14 9:31, Thomas Gleixner wrote: On Fri, 14 Nov 2014, Yijing Wang wrote: Could you please use a mail client which does proper line wraps or configure yours to do so? Associate the irq domain and PCI bus is not necessary, because all PCI buses under

Re: [PATCH] kvm: x86: increase user memory slots to 509

2014-11-14 Thread Igor Mammedov
On Thu, 06 Nov 2014 17:23:58 +0100 Paolo Bonzini wrote: > > > On 06/11/2014 16:52, Igor Mammedov wrote: > > With the 3 private slots, this gives us 512 slots total. > > Motivation for this is in addition to assigned devices > > support more memory hotplug slots, where 1 slot is > > used by a

Re: [RFC PATCH 4/4] arm64, acpi, pci: Provide arch-specific calls for PCI host bridge dirver (PNP0A03).

2014-11-14 Thread Tomasz Nowicki
On 07.11.2014 15:24, Arnd Bergmann wrote: On Friday 07 November 2014 14:27:56 Tomasz Nowicki wrote: #ifdef CONFIG_PCI +struct pci_controller { + struct acpi_device *companion; + int segment; + int node; /* nearest node with memory or NUMA_NO_NODE for global

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Marc Zyngier
On 14/11/14 14:05, Chen Gang wrote: > On 11/13/2014 11:30 PM, Marc Zyngier wrote: >> On 13/11/14 15:04, Chen Gang wrote: >>> When kvm_register_device_ops() fails, also need call free_percpu_irq() >>> just like others have down within kvm_vgic_hyp_init(). >>> >>> Signed-off-by: Chen Gang >>> ---

Re: [PATCH v4] bitops: Fix shift overflow in GENMASK macros

2014-11-14 Thread Maxime Coquelin
On 11/13/2014 11:09 PM, Andrew Morton wrote: On Thu, 6 Nov 2014 10:54:19 +0100 Maxime COQUELIN wrote: On some 32 bits architectures, including x86, GENMASK(31, 0) returns 0 instead of the expected ~0UL. This is the same on some 64 bits architectures with GENMASK_ULL(63, 0). This is due

Re: [PATCH] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2014-11-14 Thread Sakari Ailus
Hi Boris, On Fri, Nov 14, 2014 at 11:36:00AM +0100, Boris Brezillon wrote: > Add RGB444_1X12 and RGB565_1X16 format definitions and update the > documentation. > > Signed-off-by: Boris Brezillon > Acked-by: Mauro Carvalho Chehab > --- > Documentation/DocBook/media/v4l/subdev-formats.xml | 40

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/13/2014 11:30 PM, Marc Zyngier wrote: > On 13/11/14 15:04, Chen Gang wrote: >> When kvm_register_device_ops() fails, also need call free_percpu_irq() >> just like others have down within kvm_vgic_hyp_init(). >> >> Signed-off-by: Chen Gang >> --- >> virt/kvm/arm/vgic.c | 10 -- >> 1

Re: [PATCH v4] ALSA: ice1712: consider error value

2014-11-14 Thread Sudip Mukherjee
On Fri, Nov 14, 2014 at 02:46:43PM +0100, Takashi Iwai wrote: > At Fri, 14 Nov 2014 19:15:02 +0530, > Sudip Mukherjee wrote: > > > > On Fri, Nov 14, 2014 at 02:18:31PM +0100, Takashi Iwai wrote: > > > At Fri, 14 Nov 2014 18:12:21 +0530, > > > Sudip Mukherjee wrote: > > > > > > > > earlier we

Re: [PATCH] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
On 11/13/2014 11:30 PM, Marc Zyngier wrote: > On 13/11/14 15:04, Chen Gang wrote: >> When kvm_register_device_ops() fails, also need call free_percpu_irq() >> just like others have down within kvm_vgic_hyp_init(). >> >> Signed-off-by: Chen Gang >> --- >> virt/kvm/arm/vgic.c | 10 -- >> 1

[PATCH V3 2/3] perf tool: Move cpumode resolve code to add_callchain_ip

2014-11-14 Thread kan . liang
From: Kan Liang Move the cpumode resolve code to add_callchain_ip function. No change in behavior. Signed-off-by: Kan Liang --- tools/perf/util/machine.c | 62 ++- 1 file changed, 29 insertions(+), 33 deletions(-) diff --git

[PATCH V3 1/3] perf tools: enable LBR call stack support

2014-11-14 Thread kan . liang
From: Kan Liang Currently, there are two call chain recording options, fp and dwarf. Haswell has a new feature that utilizes the existing LBR facility to record call chains. So it provides the third options to record call chain. This patch enables the lbr call stack support. LBR call stack has

[PATCH V3 3/3] perf tools: Construct LBR call chain

2014-11-14 Thread kan . liang
From: Kan Liang LBR call stack only has user callchain. It is output as PERF_SAMPLE_BRANCH_STACK data format. For the kernel callchain, it's still from PERF_SAMPLE_CALLCHAIN. The perf tool has to handle both data sources to construct a complete callstack. For perf report -D option, both lbr and

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