Re: [PATCH v3 2/3] power: reset: imx-snvs-poweroff: add power off driver for i.mx6

2014-09-18 Thread Robin Gong
On Thu, Sep 18, 2014 at 06:53:16PM +0100, Mark Rutland wrote: > On Thu, Sep 18, 2014 at 03:21:27AM +0100, Robin Gong wrote: > > On Wed, Sep 17, 2014 at 06:52:44PM +0100, Mark Rutland wrote: > > > On Wed, Sep 17, 2014 at 10:57:59AM +0100, Robin Gong wrote: > > > > This driver register pm_power_off

[PATCH v3 5/5] drm/rockchip: Add support for Rockchip Soc EDP

2014-09-18 Thread Mark yao
This adds support for Rockchip soc edp found on rk3288 Signed-off-by: Mark Yao Signed-off-by: Jeff Chen --- Changes in v2: - fix code sytle - use some define from drm_dp_helper.h - use panel-simple driver for primary display. - remove unnecessary clock clk_24m_parent. Changes in v3: None

Re: [RFC] arm: Handle starting up in secure mode

2014-09-18 Thread Peter Maydell
On 17 September 2014 06:25, Christopher Covington wrote: > On 09/16/2014 05:24 PM, Christopher Covington wrote: >> On 09/16/2014 05:09 PM, Christopher Covington wrote: >>> ARM Linux currently has the most features available to it in hypervisor >>> (HYP) mode, so switch to it when possible. This

[PATCH v3 4/5] dt-bindings: video: Add documentation for rockchip edp

2014-09-18 Thread Mark yao
Add binding documentation for Rockchip SoC EDP driver. Signed-off-by: Jeff Chen Signed-off-by: Mark Yao --- Changes in v2: - add edp reset - add panel node - add port for display-subsystem Changes in v3: None .../devicetree/bindings/video/rockchip-edp.txt | 50 1

[PATCH v3 3/5] dt-bindings: video: Add documentation for rockchip vop

2014-09-18 Thread Mark yao
This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao --- Changes in v2: - rename "lcdc" to "vop" - add vop reset - add iommu node - add port for display-subsystem Changes in v3: None .../devicetree/bindings/video/rockchip-vop.txt | 58

[PATCH v3 2/5] dt-bindings: video: Add for rockchip display subsytem

2014-09-18 Thread Mark yao
This add a display subsystem comprise the all display interface nodes. Signed-off-by: Mark Yao --- Changes in v2: - add DRM master device node to list all display nodes that comprise the graphics subsystem. Changes in v3: None .../devicetree/bindings/video/rockchip-drm.txt | 19

[PATCH v3 1/5] drm/rockchip: Add basic drm driver

2014-09-18 Thread Mark yao
This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark yao --- Changes in v2: - use the component framework to defer main drm driver probe until all VOP devices have been probed. - use dma-mapping API with ARM_DMA_USE_IOMMU, create dma mapping by master

[PATCH v3 0/5] Add drm driver for Rockchip Socs

2014-09-18 Thread Mark yao
This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices, eDP. Future patches will add additional encoders/connectors, such as HDMI. The basic "crtc" for rockchip is a "VOP" - Video Output Processor. the vop devices found on Rockchip rk3288 Soc, rk3288 soc have two

Re: [PATCH 1/4] pci_ids: Add PCI device IDs for F15h M60h

2014-09-18 Thread Bjorn Helgaas
On Thu, Sep 18, 2014 at 02:56:35PM -0500, Aravind Gopalakrishnan wrote: > Add F3, F4 device IDs to be used in amd_nb.c and amd64_edac.c > > Signed-off-by: Aravind Gopalakrishnan Acked-by: Bjorn Helgaas Please merge this along with the rest of your series. > --- > include/linux/pci_ids.h | 2

[tip:perf/core] perf tool: fix compilation for ARM

2014-09-18 Thread tip-bot for Stephane Eranian
Commit-ID: 29a3ce31c38c8f73f4e076b7ffc0876b4f5dd6c3 Gitweb: http://git.kernel.org/tip/29a3ce31c38c8f73f4e076b7ffc0876b4f5dd6c3 Author: Stephane Eranian AuthorDate: Fri, 5 Sep 2014 06:21:04 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:09 -0300 perf tool:

[tip:perf/core] perf probe: Do not access kallsyms when analyzing user binaries

2014-09-18 Thread tip-bot for Masami Hiramatsu
Commit-ID: 2b394bc4468c2f5e6814a8dbb2a923c0448f8497 Gitweb: http://git.kernel.org/tip/2b394bc4468c2f5e6814a8dbb2a923c0448f8497 Author: Masami Hiramatsu AuthorDate: Wed, 17 Sep 2014 08:40:54 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 18:01:14 -0300 perf

[tip:perf/core] perf symbols: Ignore stripped vmlinux and fallback to kallsyms

2014-09-18 Thread tip-bot for Anton Blanchard
Commit-ID: d0b0d0406fe6743e734e1ba780155f8db5f713e6 Gitweb: http://git.kernel.org/tip/d0b0d0406fe6743e734e1ba780155f8db5f713e6 Author: Anton Blanchard AuthorDate: Tue, 9 Sep 2014 08:59:29 +1000 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:10 -0300 perf

[tip:perf/core] perf tools: define _DEFAULT_SOURCE for glibc_2.20

2014-09-18 Thread tip-bot for Chanho Park
Commit-ID: 512fe365373b9c95a70b4b6357503ee74d27214f Gitweb: http://git.kernel.org/tip/512fe365373b9c95a70b4b6357503ee74d27214f Author: Chanho Park AuthorDate: Fri, 12 Sep 2014 11:10:17 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:10 -0300 perf tools:

[tip:perf/core] perf tools: Add perf_pmu__scan_file()

2014-09-18 Thread tip-bot for Adrian Hunter
Commit-ID: 7d4bdab5a441772bfc757d7f9eea9465ec5de0ec Gitweb: http://git.kernel.org/tip/7d4bdab5a441772bfc757d7f9eea9465ec5de0ec Author: Adrian Hunter AuthorDate: Thu, 31 Jul 2014 09:00:50 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:09 -0300 perf tools:

[tip:perf/core] perf tools: Don't include sys/poll.h directly

2014-09-18 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a8fa496092253a6309d46ecfe75eea4ab1d6fd79 Gitweb: http://git.kernel.org/tip/a8fa496092253a6309d46ecfe75eea4ab1d6fd79 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 15 Sep 2014 15:54:34 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:09 -0300

[tip:perf/core] perf record: Use ring buffer consume method to look like other tools

2014-09-18 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e5685730e2c620f97bc12380e9370e857e5bd7a7 Gitweb: http://git.kernel.org/tip/e5685730e2c620f97bc12380e9370e857e5bd7a7 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 17 Sep 2014 16:42:58 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 18:01:43 -0300

[tip:perf/core] perf probe: Do not use dwfl_module_addrsym if dwarf_diename finds symbol name

2014-09-18 Thread tip-bot for Masami Hiramatsu
Commit-ID: 664fee3dc37939bb8010906913fa9dbc52abb587 Gitweb: http://git.kernel.org/tip/664fee3dc37939bb8010906913fa9dbc52abb587 Author: Masami Hiramatsu AuthorDate: Wed, 17 Sep 2014 08:41:01 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 18:01:43 -0300 perf

[tip:perf/core] perf symbols: Add path to Ubuntu kernel debuginfo file

2014-09-18 Thread tip-bot for Anton Blanchard
Commit-ID: c657f423aed0d836c807ea1d6d8d28b3914446fa Gitweb: http://git.kernel.org/tip/c657f423aed0d836c807ea1d6d8d28b3914446fa Author: Anton Blanchard AuthorDate: Mon, 15 Sep 2014 16:57:56 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:10 -0300 perf

[tip:perf/core] perf kvm stat report: Unify the title bar output

2014-09-18 Thread tip-bot for Alexander Yarygin
Commit-ID: 1f3e5b55035549311e42c3f84007e6c799ed991f Gitweb: http://git.kernel.org/tip/1f3e5b55035549311e42c3f84007e6c799ed991f Author: Alexander Yarygin AuthorDate: Mon, 1 Sep 2014 17:44:55 +0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:08 -0300 perf kvm

[tip:perf/core] perf tools: Let a user specify a PMU event without any config terms

2014-09-18 Thread tip-bot for Adrian Hunter
Commit-ID: ad96227349901838e1a7f96f1dc22d96a97520c0 Gitweb: http://git.kernel.org/tip/ad96227349901838e1a7f96f1dc22d96a97520c0 Author: Adrian Hunter AuthorDate: Fri, 15 Aug 2014 22:08:40 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:08 -0300 perf tools:

[tip:perf/core] perf tools: Add +field argument support for --sort option

2014-09-18 Thread tip-bot for Jiri Olsa
Commit-ID: 1a1c0ffb2adb2d2ce7bb9c4dfd2935ba345cf2c2 Gitweb: http://git.kernel.org/tip/1a1c0ffb2adb2d2ce7bb9c4dfd2935ba345cf2c2 Author: Jiri Olsa AuthorDate: Sat, 23 Aug 2014 14:59:48 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:07 -0300 perf tools: Add

[tip:perf/core] perf tools: Add perf-with-kcore script

2014-09-18 Thread tip-bot for Adrian Hunter
Commit-ID: c501e90b4700e4f247ccdcf5ae81f9846a2ef5f9 Gitweb: http://git.kernel.org/tip/c501e90b4700e4f247ccdcf5ae81f9846a2ef5f9 Author: Adrian Hunter AuthorDate: Thu, 31 Jul 2014 09:01:12 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:08 -0300 perf tools:

[tip:perf/core] perf kvm stat report: Enable the target.system_wide flag

2014-09-18 Thread tip-bot for Alexander Yarygin
Commit-ID: f181957c2849478fc963a8ac3c7dacf0a87c6b05 Gitweb: http://git.kernel.org/tip/f181957c2849478fc963a8ac3c7dacf0a87c6b05 Author: Alexander Yarygin AuthorDate: Mon, 1 Sep 2014 17:44:54 +0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:07 -0300 perf kvm

RE: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-18 Thread li.xi...@freescale.com
[...] > >create child: /dcsr@2000/dcsr-atbrepl@3a8000 > >create child: /dcsr@2000/dcsr-tsgen-ctrl@3a9000 > >create child: /dcsr@2000/dcsr-tsgen-read@3aa000 > >create child: /regulators/regulator@0 > >... > > > > As default the Linux will create all the platform

[tip:perf/core] perf tools: Disable kernel symbol demangling by default

2014-09-18 Thread tip-bot for Avi Kivity
Commit-ID: 763122ade725592402190f5ff3b8d2edf42b87e8 Gitweb: http://git.kernel.org/tip/763122ade725592402190f5ff3b8d2edf42b87e8 Author: Avi Kivity AuthorDate: Sat, 13 Sep 2014 07:15:05 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:09 -0300 perf tools:

[tip:perf/core] perf tools: Let default config be defined for a PMU

2014-09-18 Thread tip-bot for Adrian Hunter
Commit-ID: dc0a6202421170a6d8d2c6f5176575b3f60e0f85 Gitweb: http://git.kernel.org/tip/dc0a6202421170a6d8d2c6f5176575b3f60e0f85 Author: Adrian Hunter AuthorDate: Thu, 31 Jul 2014 09:00:49 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:08 -0300 perf tools:

[tip:perf/core] perf tools: Allow to specify lib compile variable for spec usage

2014-09-18 Thread tip-bot for Jiri Olsa
Commit-ID: 6997af72e6c1e9d8c1cc511dc9485e9ee69a5e20 Gitweb: http://git.kernel.org/tip/6997af72e6c1e9d8c1cc511dc9485e9ee69a5e20 Author: Jiri Olsa AuthorDate: Mon, 25 Aug 2014 16:55:52 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:08 -0300 perf tools:

[Patch Part3 V6 2/8] iommu/vt-d: Dynamically allocate and free seq_id for DMAR units

2014-09-18 Thread Jiang Liu
Introduce functions to support dynamic IOMMU seq_id allocating and releasing, which will be used to support DMAR hotplug. Also rename IOMMU_UNITS_SUPPORTED as DMAR_UNITS_SUPPORTED. Signed-off-by: Jiang Liu Reviewed-by: Yijing Wang --- drivers/iommu/dmar.c| 40

[Patch Part3 V6 0/8] Enable support of Intel DMAR device hotplug

2014-09-18 Thread Jiang Liu
When hot plugging a descrete IOH or a physical processor with embedded IIO, we need to handle DMAR(or IOMMU) unit in the PCIe host bridge if DMAR is in use. This patch set tries to enhance current DMAR/IOMMU/IR drivers to support hotplug and is based on latest Linus master branch. All

[tip:perf/core] perf tools powerpc: Fix build issue when DWARF support is disabled

2014-09-18 Thread tip-bot for Anton Blanchard
Commit-ID: 65ccb4faae872b63dd8f5fbc83d0195e3dfabf0d Gitweb: http://git.kernel.org/tip/65ccb4faae872b63dd8f5fbc83d0195e3dfabf0d Author: Anton Blanchard AuthorDate: Mon, 25 Aug 2014 18:25:06 +1000 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:07 -0300 perf tools

[Patch Part3 V6 4/8] iommu/vt-d: Search for ACPI _DSM method for DMAR hotplug

2014-09-18 Thread Jiang Liu
According to Intel VT-d specification, _DSM method to support DMAR hotplug should exist directly under corresponding ACPI object representing PCI host bridge. But some BIOSes doesn't conform to this, so search for _DSM method in the subtree starting from the ACPI object representing the PCI host

[tip:perf/core] perf kvm stat report: Save pid string in opts.target.pid

2014-09-18 Thread tip-bot for Alexander Yarygin
Commit-ID: 3ae4a76ac840021294c091884e04af7c92e481ae Gitweb: http://git.kernel.org/tip/3ae4a76ac840021294c091884e04af7c92e481ae Author: Alexander Yarygin AuthorDate: Mon, 1 Sep 2014 17:44:53 +0400 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Sep 2014 17:08:07 -0300 perf kvm

[Patch Part3 V6 5/8] iommu/vt-d: Enhance intel_irq_remapping driver to support DMAR unit hotplug

2014-09-18 Thread Jiang Liu
Implement required callback functions for intel_irq_remapping driver to support DMAR unit hotplug. Signed-off-by: Jiang Liu --- drivers/iommu/intel_irq_remapping.c | 226 ++- 1 file changed, 171 insertions(+), 55 deletions(-) diff --git

[Patch Part3 V6 8/8] pci, ACPI, iommu: Enhance pci_root to support DMAR device hotplug

2014-09-18 Thread Jiang Liu
Finally enhance pci_root driver to support DMAR device hotplug when hot-plugging PCI host bridges. Signed-off-by: Jiang Liu Reviewed-by: Yijing Wang --- drivers/acpi/pci_root.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/pci_root.c

[Patch Part3 V6 6/8] iommu/vt-d: Enhance error recovery in function intel_enable_irq_remapping()

2014-09-18 Thread Jiang Liu
Enhance error recovery in function intel_enable_irq_remapping() by tearing down all created data structures. Signed-off-by: Jiang Liu Reviewed-by: Yijing Wang --- drivers/iommu/intel_irq_remapping.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

[Patch Part3 V6 7/8] iommu/vt-d: Enhance intel-iommu driver to support DMAR unit hotplug

2014-09-18 Thread Jiang Liu
Implement required callback functions for intel-iommu driver to support DMAR unit hotplug. Signed-off-by: Jiang Liu Reviewed-by: Yijing Wang --- drivers/iommu/intel-iommu.c | 206 +++ 1 file changed, 151 insertions(+), 55 deletions(-) diff --git

[Patch Part3 V6 3/8] iommu/vt-d: Implement DMAR unit hotplug framework

2014-09-18 Thread Jiang Liu
On Intel platforms, an IO Hub (PCI/PCIe host bridge) may contain DMAR units, so we need to support DMAR hotplug when supporting PCI host bridge hotplug on Intel platforms. According to Section 8.8 "Remapping Hardware Unit Hot Plug" in "Intel Virtualization Technology for Directed IO Architecture

[Patch Part3 V6 1/8] iommu/vt-d: Introduce helper function dmar_walk_resources()

2014-09-18 Thread Jiang Liu
Introduce helper function dmar_walk_resources to walk resource entries in DMAR table and ACPI buffer object returned by ACPI _DSM method for IOMMU hot-plug. Signed-off-by: Jiang Liu --- drivers/iommu/dmar.c| 209 +++ drivers/iommu/intel-iommu.c |

Re: [GIT PULL 00/20] perf/core improvements and fixes

2014-09-18 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit c88f2096136416b261bd3647cc260935f6e95805: > > perf: Do not check PERF_EVENT_STATE_EXIT on syscall read path (2014-09-16 > 10:30:36 +0200) > > are

Re: [PATCH] Export functions from pcie-designware

2014-09-18 Thread Bjorn Helgaas
On Tue, Sep 16, 2014 at 10:11:22PM -0700, Bjorn Helgaas wrote: > On Tue, Sep 16, 2014 at 9:54 PM, Mohit KUMAR DCG wrote: > > Hello Bjorn, > > > >> -Original Message- > >> From: Bjorn Helgaas [mailto:bhelg...@google.com] > >> Sent: Wednesday, September 17, 2014 5:09 AM > >> To: Fabio

Re: [PATCH] asm/uapi: Add definition of TIOC[SG]RS485

2014-09-18 Thread Guenter Roeck
On 09/17/2014 11:45 PM, Ricardo Ribalda Delgado wrote: Commit: e676253b19b2d269cccf67fdb1592120a0cd0676 (serial/8250: Add support for RS485 IOCTLs), adds support for RS485 ioctls for 825_core on all the archs. Unfortunaltely the definition of TIOCSRS485 and s/Unfortunaltely/Unfortunately/

Re: [PATCH] openrisc: Support both old (or32) and new (or1k) toolchain

2014-09-18 Thread Guenter Roeck
ping ... comments / feedback anyone ? Guenter On 09/08/2014 02:00 PM, Guenter Roeck wrote: The output file format for openrisc has changed from "elf32-or32" to "elf32-or1k" when using the or1k instead of the older or32 toochain. Select the correct output format automatically to be able to

Re: [PATCH v2 2/2] sched/fair: leverage the idle state info when choosing the "idlest" cpu

2014-09-18 Thread Yao Dongdong
On 2014/9/4 23:32, Nicolas Pitre wrote: > The code in find_idlest_cpu() looks for the CPU with the smallest load. > However, if multiple CPUs are idle, the first idle CPU is selected > irrespective of the depth of its idle state. > > Among the idle CPUs we should pick the one with with the

Re: [HPDD-discuss] [PATCH] staging: lustre: llite: Use kzalloc and rewrite null tests

2014-09-18 Thread Julia Lawall
With respect to the upper case lower case issue, does the thing need to be a macro? I think that the lowercase is more or less fine, but only if what is behind it is a function. I say more or less fine, because normally in the kernel the special allocators have special purposes, eg allocating

Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-18 Thread Dong Aisheng
On Fri, Sep 19, 2014 at 11:38:03AM +0800, Xiubo Li-B47053 wrote: > > > Thanks for testing. In that case I will post this change, as I feel this > > > should be > > > fixed irrespective of my syscon patch. > > > > > > > But as Xiubo pointed in another mail, it may still cause other issues. > > > >

Re: [PATCH v2 1/1] power: Add simple gpio-restart driver

2014-09-18 Thread Guenter Roeck
On 08/27/2014 12:23 PM, David Riley wrote: This driver registers a restart handler to set a GPIO line high/low to reset a board based on devicetree bindings. Signed-off-by: David Riley Reviewed-by: Guenter Roeck -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [RFC PATCH 1/3] rcu: Add early boot self tests

2014-09-18 Thread Paul E. McKenney
On Thu, Sep 18, 2014 at 09:03:43PM -0400, Pranith Kumar wrote: > On Thu, Sep 18, 2014 at 5:29 PM, Paul E. McKenney > wrote: > > >> +static int rcu_self_test_counter; > >> +static struct rcu_head head; > > > > This needs to be within the individual functions, because otherwise the > > lists get

[PATCH] workqueue: give a protection when get_work_pwq return NULL.

2014-09-18 Thread jun . zhang
From: zhang jun if pwq==NULL, system could panic. next is the panic log. [12973.660792] BUG: unable to handle kernel NULL pointer dereference at 0004 [12973.668787] IP: [] process_one_work+0x2b/0x3e0 [12973.674735] *pdpt = 304b0001 *pde = [12973.681167] Oops:

Re: [PATCH]imx-drm coding style fixes

2014-09-18 Thread Giedrius Statkevičius
On 2014.09.19 01:57, Rene Kolarik wrote: > Hello, > > I've fixed coding style issues in drivers/staging/imx-drm directory. This is > a part of Eudyptula Challenge. Please submit your patches "inline" (look at /Documentation/SubmittingPatches section 7). Also, think about if it's worth

Re: [PATCH v2] watchdog: omap_wdt: Add 'early_disable' module parameter

2014-09-18 Thread Guenter Roeck
On 09/17/2014 08:22 AM, Rostislav Lisovy wrote: Hello Guenter; Thanks for the review. On Út, 2014-09-16 at 08:49 -0700, Guenter Roeck wrote: How do you know that the watchdog was already running ? Seems to me you are just making an assumption that it is running without really knowing for sure.

How to build the kernel with Clang?

2014-09-18 Thread Masahiro Yamada
Hi Clang folks, I'd like to know the status of Clang support in the Linux mainline. I can see some "clang" specific parts in makefiles, so I guess Clang is already supported to a certain extent. I just tried to build with "HOSTCC=clang CC=clang" but it would not work. Is there any tips I am

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Guenter Roeck
On 09/18/2014 08:32 PM, Josh Cartwright wrote: On Thu, Sep 18, 2014 at 07:47:54PM -0700, Guenter Roeck wrote: On 09/18/2014 03:27 PM, Josh Cartwright wrote: The WDT's BITE_TIME warm-reset behavior can be leveraged as a last resort mechanism for triggering chip reset. Usually, other restart

Re: [PATCH v2] kvm: Faults which trigger IO release the mmap_sem

2014-09-18 Thread Andres Lagar-Cavilla
On Thu, Sep 18, 2014 at 5:32 PM, Wanpeng Li wrote: > On Thu, Sep 18, 2014 at 09:13:26AM +0300, Gleb Natapov wrote: >>On Thu, Sep 18, 2014 at 08:29:17AM +0800, Wanpeng Li wrote: >>> Hi Andres, >>> On Wed, Sep 17, 2014 at 10:51:48AM -0700, Andres Lagar-Cavilla wrote: >>> [...] >>> > static inline

Re: linux-next: Tree for Sep 1

2014-09-18 Thread Tejun Heo
On Tue, Sep 02, 2014 at 10:00:07AM -0500, Christoph Lameter wrote: > On Tue, 2 Sep 2014, Christoph Lameter wrote: > > > Oww.. This is double indirection deal there. A percpu offset pointing to > > a pointer? > > > > Generally the following is true (definition from > > include/asm-generic/percpu.h

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Guenter Roeck
On 09/18/2014 08:24 PM, Josh Cartwright wrote: On Thu, Sep 18, 2014 at 07:41:17PM -0700, Guenter Roeck wrote: On 09/18/2014 03:26 PM, Josh Cartwright wrote: Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064.

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:47:54PM -0700, Guenter Roeck wrote: > On 09/18/2014 03:27 PM, Josh Cartwright wrote: > >The WDT's BITE_TIME warm-reset behavior can be leveraged as a last > >resort mechanism for triggering chip reset. Usually, other restart > >methods (such as PS_HOLD) are preferrable

RE: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-18 Thread li.xi...@freescale.com
> > Thanks for testing. In that case I will post this change, as I feel this > > should be > > fixed irrespective of my syscon patch. > > > > > But as Xiubo pointed in another mail, it may still cause other issues. > > > Looking at regmap.c, there're still some other places using the device > >

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Guenter Roeck
On 09/18/2014 07:54 PM, Guenter Roeck wrote: On 09/18/2014 03:32 PM, Josh Cartwright wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Choose

Re: [PATCH] LSM: Pass comm name via get_task_comm() [was: Re: [PATCH] Change task_struct->comm to use RCU.]

2014-09-18 Thread Richard Guy Briggs
On 14/03/27, Stephen Smalley wrote: > On 03/27/2014 01:20 PM, Richard Guy Briggs wrote: > > On 14/03/12, James Morris wrote: > >> On Tue, 11 Mar 2014, Tetsuo Handa wrote: > >> > >>> And the same phrase goes to James Morris... > >>> > >>> If you are sure that it is safe to use get_task_comm() from

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Josh Cartwright
On Thu, Sep 18, 2014 at 07:41:17PM -0700, Guenter Roeck wrote: > On 09/18/2014 03:26 PM, Josh Cartwright wrote: > >Add a driver for the watchdog timer block found in the Krait Processor > >Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. > > > >Signed-off-by: Josh Cartwright > > Hi Josh, >

linux-next: manual merge of the security tree with the file-locks tree

2014-09-18 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the security tree got a conflict in security/smack/smack_lsm.c between commit 1f5a9ba7910c ("security: make security_file_set_fowner, f_setown and __f_setown void return") from the file-locks tree and commit 21c7eae21a21 ("Make Smack operate on smack_known

Re: [PATCH v9 0/4] APM X-Gene PCIe host controller

2014-09-18 Thread Ming Lei
Hi Tanmay, On Wed, Sep 17, 2014 at 6:33 AM, Tanmay Inamdar wrote: > This patch adds support for AppliedMicro X-Gene PCIe host controller. The > driver is tested on X-Gene platform with different gen1/2/3 PCIe endpoint > cards. > > X-Gene PCIe controller driver has depedency on the pcie arm64

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread German Rivera
On 09/18/2014 03:22 PM, Kim Phillips wrote: On Thu, 18 Sep 2014 15:14:03 +0200 unnecessarily complicated error path, plus a simpler implementation can be made if fn can return the mapped address, like so: static void __iomem *map_mc_portal(phys_addr_t mc_portal_phys_addr,

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Nishanth Menon
On 17:57-20140918, Thomas Gleixner wrote: > On Thu, 18 Sep 2014, Nishanth Menon wrote: > > +static irqreturn_t palmas_wake_irq(int irq, void *_palmas) > > +{ > > + /* > > +* Return Not handled so that interrupt is disabled. > > And how is that interrupt di

Re: [HPDD-discuss] [PATCH] staging: lustre: llite: Use kzalloc and rewrite null tests

2014-09-18 Thread Drokin, Oleg
On Sep 18, 2014, at 10:57 PM, Drokin, Oleg wrote: > would not be easy to do. Perhaps registered callbacks for pools that could be > called on alloc and on free - though such pools would also need to allow to > allocate different sized chunks too). Come think of it - we don't even need

Re: [PATCH] staging: lustre: llite: Use kzalloc and rewrite null tests

2014-09-18 Thread Drokin, Oleg
Hello! On Sep 18, 2014, at 7:43 PM, Dan Carpenter wrote: > On Thu, Sep 18, 2014 at 10:24:02PM +0200, Julia Lawall wrote: >> From: Julia Lawall >> >> This patch removes some kzalloc-related macros and rewrites the >> associated null tests to use !x rather than x == NULL. > This is sort of

Re: [PATCH] pinctrl: qcom: use restart_notifier mechanism for ps_hold

2014-09-18 Thread Guenter Roeck
On 09/18/2014 03:32 PM, Josh Cartwright wrote: By converting to the restart_notifier mechanism for restart, we allow for other mechanisms, like the watchdog, to be used for restart in the case where PS_HOLD has failed to reset the chip. Choose priority 128, as according to documentation, this

Re: [PATCH] Add-Quark-X1000-PCI-desc-clock-and-register-data

2014-09-18 Thread Greg KH
Your subject is very odd, please fix it up and use ' ' characters... Also use a prefix with the area of the kernel you are modifying, for this one it would be something like "serial: 8250: Care to try it again please? thanks, greg k-h -- To unsubscribe from this list: send the line

Re: [PATCH 3/3] watchdog: qcom: register a restart notifier

2014-09-18 Thread Guenter Roeck
On 09/18/2014 03:27 PM, Josh Cartwright wrote: The WDT's BITE_TIME warm-reset behavior can be leveraged as a last resort mechanism for triggering chip reset. Usually, other restart methods (such as PS_HOLD) are preferrable for issuing a more complete reset of the chip. As such, keep the

Re: [PATCH 1/3] watchdog: qcom: add support for KPSS WDT

2014-09-18 Thread Guenter Roeck
On 09/18/2014 03:26 PM, Josh Cartwright wrote: Add a driver for the watchdog timer block found in the Krait Processor Subsystem (KPSS) on the MSM8960, APQ8064, and IPQ8064. Signed-off-by: Josh Cartwright Hi Josh, comments inline. Thanks, Guenter --- drivers/watchdog/Kconfig| 10

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread German Rivera
On 09/18/2014 08:14 AM, Alexander Graf wrote: +int __must_check fsl_create_mc_io(phys_addr_t mc_portal_phys_addr, + uint32_t mc_portal_size, + uint32_t flags, struct fsl_mc_io **new_mc_io) +{ +int error = -EINVAL; +struct fsl_mc_io *mc_io = NULL; +

[PATCH] audit: remove open_arg() function that is never used

2014-09-18 Thread Richard Guy Briggs
open_arg() was added in commit 55669bfa "audit: AUDIT_PERM support" and never used. Remove it. Signed-off-by: Richard Guy Briggs --- kernel/auditsc.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 4e17443..63a74a7

Re: [PATCH v2 1/5] drm/rockchip: Add basic drm driver

2014-09-18 Thread yaozq
On 2014年09月18日 22:53, Daniel Vetter wrote: On Thu, Sep 18, 2014 at 04:52:14PM +0200, Daniel Vetter wrote: On Thu, Sep 18, 2014 at 05:36:31PM +0800, Mark yao wrote: This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark yao --- Changes in v2: - use the

Re: BUG in ext4_setattr

2014-09-18 Thread Pranith Kumar
On Thu, Sep 18, 2014 at 2:19 PM, Theodore Ts'o wrote: > On Thu, Sep 18, 2014 at 12:01:00PM -0400, Pranith Kumar wrote: >> >> The following splat occurs in the latest rc5+ kernel. I am not sure >> this is enough information. Please let me know what options to enable >> to get more meaningful info.

[PATCH v7 12/13] input: cyapa: add gen5 trackpad device baseline and calibrate functions support

2014-09-18 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen5 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 670

[PATCH v7 11/13] input: cyapa: add gen5 trackpad device firmware update function support

2014-09-18 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 294

[PATCH v7 08/13] input: cyapa: add gen3 trackpad device baseline and calibrate functions support

2014-09-18 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen3 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 135

[PATCH v7 10/13] input: cyapa: add gen5 trackpad device basic functions support

2014-09-18 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set

[PATCH v7 09/13] input: cyapa: add gen3 trackpad device read firmware image function support

2014-09-18 Thread Dudley Du
>From 2d1596848fe879263ffeb39633ab3c7a985a704f Mon Sep 17 00:00:00 2001 From: Dudley Du Date: Thu, 18 Sep 2014 18:11:39 +0800 Subject: [PATCH 09/13] input: cyapa: add gen3 trackpad device read firmware image function support To: dmitry.torok...@gmail.com, rydb...@euromail.se Cc:

[PATCH v7 07/13] input: cyapa: add gen3 trackpad device firmware update function support

2014-09-18 Thread Dudley Du
>From 056ada54f536a84888dba12d30a21718aefdb7fc Mon Sep 17 00:00:00 2001 From: Dudley Du Date: Thu, 18 Sep 2014 18:11:38 +0800 Subject: [PATCH 07/13] input: cyapa: add gen3 trackpad device firmware update function support To: dmitry.torok...@gmail.com, rydb...@euromail.se Cc:

[PATCH v7 13/13] input: cyapa: add gen5 trackpad device read firmware image and raw data functions support

2014-09-18 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, which its function is supplied through cyapa core read_fw interface. Through this interface, upper layer application can read out, check and backup the firmware image in trackpad device before updated with new one when new

[PATCH v7 05/13] input: cyapa: add read firmware image and raw data interfaces in debugfs system

2014-09-18 Thread Dudley Du
Add read_fw and raw_data debugfs interfaces for easier issues location and collection when report by user. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 221 1 file changed, 221 insertions(+) diff --git

[PATCH v7 06/13] input: cyapa: add gen3 trackpad device basic functions support

2014-09-18 Thread Dudley Du
Based on the cyapa core, add the gen3 trackpad device's basic functions supported, so gen3 trackpad device can work with kernel input system. The basic function is absolutely same as previous cyapa driver only support gen3 trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du ---

[PATCH v7 04/13] input: cyapa: add cyapa key function interfaces in sysfs system

2014-09-18 Thread Dudley Du
>From 6e5124fcaaa449e3731e58a85e1d45f46df65166 Mon Sep 17 00:00:00 2001 From: Dudley Du Date: Thu, 18 Sep 2014 18:11:37 +0800 Subject: [PATCH 04/13] input: cyapa: add cyapa key function interfaces in sysfs system To: dmitry.torok...@gmail.com, rydb...@euromail.se Cc: ble...@google.com,

[PATCH v7 03/13] input: cyapa: add cyapa driver runtime power management interfaces support

2014-09-18 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 142

[PATCH v7 02/13] input: cyapa: add cyapa driver power management interfaces support

2014-09-18 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 85

[PATCH v7 00/13] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-09-18 Thread Dudley Du
V7 patches have below updates compared with v6 patches: 1) [PATCH v7 01/13] - Split the irq cmd hander function to separated function cyapa_default_irq_cmd_handler() and set it to interface cyapa_default_ops.irq_cmd_handler. 2) [PATCH v7 06/13] - Add cyapa->gen check in

[PATCH v7 01/13] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-09-18 Thread Dudley Du
In order to support two different communication protocol based trackpad device in one cyapa, the new cyapa driver is re-designed with one cyapa driver core and two devices' functions component. The cyapa driver core is contained in this patch, it supplies the basic function with input and kernel

Re: [PATCH 3/3] arm: vfp: Bounce undefined instructions in vectored mode

2014-09-18 Thread Will Deacon
On Thu, Sep 18, 2014 at 11:55:31PM +0100, Russell King - ARM Linux wrote: > On Thu, Sep 18, 2014 at 02:43:12PM -0700, Stephen Boyd wrote: > > From: Stepan Moskovchenko > > > > Certain ARM CPU implementations (e.g. Cortex-A15) may not raise a > > floating- point exception whenever deprecated

Re: [PATCH] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-09-18 Thread micky
On 09/19/2014 08:21 AM, Lee Jones wrote: On Thu, 18 Sep 2014, micky wrote: On 09/18/2014 12:53 PM, Lee Jones wrote: On Thu, 18 Sep 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching Fix rts5227&5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-18 Thread Stuart Yoder
> -Original Message- > From: Kim Phillips [mailto:kim.phill...@freescale.com] > Sent: Monday, September 15, 2014 6:45 PM > To: Rivera Jose-B46482 > Cc: gre...@linuxfoundation.org; a...@arndb.de; linux-kernel@vger.kernel.org; > Yoder Stuart-B08248; Phillips > Kim-R1AAHA; Wood

[PATCH] Add-Quark-X1000-PCI-desc-clock-and-register-data

2014-09-18 Thread Bryan O'Donoghue
Adds PCI identifier for the X1000 Adds clocking and register size and register shift Signed-off-by: Bryan O'Donoghue --- drivers/tty/serial/8250/8250_pci.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/tty/serial/8250/8250_pci.c

Re: [RFC PATCH 1/3] rcu: Add early boot self tests

2014-09-18 Thread Pranith Kumar
On Thu, Sep 18, 2014 at 5:29 PM, Paul E. McKenney wrote: >> +static int rcu_self_test_counter; >> +static struct rcu_head head; > > This needs to be within the individual functions, because otherwise the > lists get messed up when you to multiple tests during the same boot... > Hmm, I thought

Re: [PATCH 0/6] Add initial support for Broadcom Cygnus SoC

2014-09-18 Thread Scott Branden
On 14-09-18 03:54 PM, Hauke Mehrtens wrote: On 09/19/2014 12:39 AM, Florian Fainelli wrote: On 09/18/2014 03:31 PM, Hauke Mehrtens wrote: On 09/16/2014 09:58 PM, Jonathan Richardson wrote: Hi, This patchset contains initial support for Broadcom's Cygnus SoC based on our iProc architecture.

Re: [PATCH v4 1/4] ftracetest: Initial commit for ftracetest

2014-09-18 Thread Masami Hiramatsu
(2014/09/18 22:07), Shuah Khan wrote: > On 09/18/2014 06:04 AM, Masami Hiramatsu wrote: >> ftracetest is a collection of testcase shell-scripts for ftrace. >> To avoid regressions of ftrace, these testcases check correct >> ftrace behaviors. If someone would like to add any features on >> ftrace,

Re: [PATCH] drm/exynos: switch to universal plane API

2014-09-18 Thread Joonyoung Shim
Hi Andrzej, On 09/18/2014 10:17 PM, Andrzej Hajda wrote: > The patch replaces legacy functions > drm_plane_init() / drm_crtc_init() with > drm_universal_plane_init() and drm_crtc_init_with_planes(). > It allows to replace fake primary plane with the real one. > > Signed-off-by: Andrzej Hajda >

Re: x86, microcode: BUG: microcode update that changes x86_capability

2014-09-18 Thread Andy Lutomirski
On Sep 18, 2014 5:28 PM, "H. Peter Anvin" wrote: > > The cpuid bit gets twiddled... Yes, but how? I assume that BIOS isn't switching between two different ucode blobs, and I don't know about any wrcpuid instruction. So there must be *some* way, at least on new ucode (and maybe on old ucode) to

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Thomas Gleixner
On Thu, 18 Sep 2014, Nishanth Menon wrote: > +static irqreturn_t palmas_wake_irq(int irq, void *_palmas) > +{ > + /* > + * Return Not handled so that interrupt is disabled. And how is that interrupt disabled by returning IRQ_NONE? You mean it gets disabled after it got reraised 10

[PATCH] selinux: hooks: cleanup orphan keywords in audit log text

2014-09-18 Thread Richard Guy Briggs
Convert audit_log() call to WARN_ONCE(). Rename "type=" to nlmsg_type=" to avoid confusion with the audit record type. Added "protocol=" to help track down which protocol (NETLINK_AUDIT?) was used within the netlink protocol family. Signed-off-by: Richard Guy Briggs ---

[PATCH] selinux: services: cleanup orphan keywords in audit log text

2014-09-18 Thread Richard Guy Briggs
Restructure to keyword=value pairs without spaces. Drop superfluous words in text. Make invalid_context a keyword. Change result= keyword to seresult=. Signed-off-by: Richard Guy Briggs --- security/selinux/ss/services.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-)

  1   2   3   4   5   6   7   8   9   10   >