RE: [PATCH v2] ARM: cacheflush: Fix v7_exit_coherency_flush exynos build breakage on ARMv6

2014-09-24 Thread Kukjin Kim
Nicolas Pitre wrote: > > On Wed, 24 Sep 2014, Krzysztof Kozlowski wrote: > > > This fixes build breakage of platsmp.c if ARMv6 was chosen for compile > > time options (e.g. by building allmodconfig): > > > > $ make allmodconfig > > $ make > > CC arch/arm/mach-exynos/platsmp.o > >

RE: [PATCH v3] ARM: dts: add CPU nodes for Exynos4 SoCs

2014-09-24 Thread Kukjin Kim
Bartlomiej Zolnierkiewicz wrote: > > Recent patch by Tomasz Figa ("irqchip: gic: Fix core ID calculation > when topology is read from DT") fixed GIC driver to filter cluster ID > from values returned by cpu_logical_map() for SoCs having registers > mapped without per-CPU banking making it is

Re: [PATCH v2 3/5] gpio: vf610: add gpiolib/IRQ chip driver for Vybrid

2014-09-24 Thread Shawn Guo
On Tue, Sep 23, 2014 at 07:37:55PM +0200, Stefan Agner wrote: > diff --git a/drivers/gpio/gpio-vf610.c b/drivers/gpio/gpio-vf610.c > new file mode 100644 > index 000..6649a13 > --- /dev/null > +++ b/drivers/gpio/gpio-vf610.c > @@ -0,0 +1,284 @@ > +/* > + * vf610 GPIO support through PORT and

RE: [PATCH v4 1/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-09-24 Thread Dudley Du
> -Original Message- > From: linux-input-ow...@vger.kernel.org [mailto:linux-input- > ow...@vger.kernel.org] On Behalf Of Dmitry Torokhov > Sent: Thursday, September 25, 2014 8:49 AM > To: Dudley Du > Cc: Rafael J. Wysocki; Benson Leung; Patrik Fimml; > linux-in...@vger.kernel.org; >

[PATCH v2 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-09-24 Thread Muthu Mani
Adds support for USB-GPIO interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The GPIO get/set can be done through vendor command on control endpoint. Details about the device can be found at: http://www.cypress.com/?rID=84126 Signed-off-by: Muthu Mani Signed-off-by:

[PATCH v2 2/3] i2c: add support for Cypress CYUSBS234 USB-I2C adapter

2014-09-24 Thread Muthu Mani
Adds support for USB-I2C interface of Cypress Semiconductor CYUSBS234 USB-Serial Bridge controller. The read/write operation is setup using vendor command through control endpoint and actual data transfer happens through bulk in/out endpoints. Details about the device can be found at:

RE: [PATCH 3/3] gpio: add support for Cypress CYUSBS234 USB-GPIO adapter

2014-09-24 Thread Muthu Mani
> -Original Message- > From: Johan Hovold [mailto:jhov...@gmail.com] On Behalf Of Johan Hovold > Sent: Monday, September 22, 2014 5:14 PM > To: Muthu Mani > Cc: Samuel Ortiz; Lee Jones; Wolfram Sang; linux-...@vger.kernel.org; Linus > Walleij; Alexandre Courbot; linux-g...@vger.kernel.org;

RE: [PATCH 2/3] i2c: add support for Cypress CYUSBS234 USB-I2C adapter

2014-09-24 Thread Muthu Mani
> -Original Message- > From: Johan Hovold [mailto:jhov...@gmail.com] On Behalf Of Johan Hovold > Sent: Monday, September 22, 2014 5:00 PM > To: Muthu Mani > Cc: Samuel Ortiz; Lee Jones; Wolfram Sang; linux-...@vger.kernel.org; Linus > Walleij; Alexandre Courbot; linux-g...@vger.kernel.org;

linux-next: manual merge of the kvm-arm tree with the kvm tree

2014-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in virt/kvm/eventfd.c between commit 29f1b65b5984 ("KVM: EVENTFD: Remove inclusion of irq.h") from the kvm tree and commit 0ba09511ddc3 ("KVM: EVENTFD: remove inclusion of irq.h") from the kvm-arm tree. I fixed it up (I used the

[PATCH v3 1/3] cap11xx: make driver generic for variant support

2014-09-24 Thread Matt Ranostay
cap1106 driver can support much more one device make the driver generic for support of similiar parts. Signed-off-by: Matt Ranostay --- .../devicetree/bindings/input/cap1106.txt | 53 .../devicetree/bindings/input/cap11xx.txt | 54 drivers/input/keyboard/Kconfig

[PATCH v3 0/3] cap1106: add support for cap11xx variants

2014-09-24 Thread Matt Ranostay
Changes from v2: * Rename apply relevant CAP1106 references to CAP11XX to make generic for variant support Matt Ranostay (3): cap11xx: make driver generic for variant support cap11xx: Add support for various cap11xx devices cap11xx: support for irq-active-high option

[PATCH v3 3/3] cap11xx: support for irq-active-high option

2014-09-24 Thread Matt Ranostay
Some applications need to use the irq-active-high push-pull option. This allows it be enabled in the device tree child node. Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/input/cap11xx.txt | 4 drivers/input/keyboard/cap11xx.c| 8 2 files

[PATCH v3 2/3] cap11xx: Add support for various cap11xx devices

2014-09-24 Thread Matt Ranostay
Several other variants of the cap11xx device exists with a varying number of capacitance detection channels. Add support for creating the channels dynamically. Signed-off-by: Matt Ranostay --- .../devicetree/bindings/input/cap11xx.txt | 3 +- drivers/input/keyboard/cap11xx.c

Re: [PATCH v5 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-24 Thread Vivek Gautam
Hi Greg, On Mon, Sep 22, 2014 at 11:15 AM, Vivek Gautam wrote: > Now that we have completely moved from older USB-PHY drivers > to newer GENERIC-PHY drivers for PHYs available with USB controllers > on Exynos series of SoCs, we can remove the support for the same > in our host drivers too. > >

Re: [PATCH v2 03/13] powerpc/spapr: vfio: Implement spapr_tce_iommu_ops

2014-09-24 Thread Alexey Kardashevskiy
On 09/24/2014 06:42 AM, Alex Williamson wrote: > On Tue, 2014-09-23 at 13:00 +1000, Alexey Kardashevskiy wrote: >> Modern IBM POWERPC systems support multiple IOMMU tables per PE >> so we need a more reliable way (compared to container_of()) to get >> a PE pointer from the iommu_table struct

Re: [PATCH] kernel: acctc.c: Fixed else if not generally userful after a break or return warning

2014-09-24 Thread Joe Perches
On Thu, 2014-09-25 at 06:00 +0100, Al Viro wrote: > It's not you, it's checkpatch.pl plus the fairly common tendency to give > that thing a lot more respect than it deserves... > > Basically, it's OK as a tool that draws ones attention to a subset of > code that might or might not be worth

[PATCH] checkpatch: Add exception to return then else test

2014-09-24 Thread Joe Perches
Add an exception to the return before else warning when the line following it is also a return like: if (foo) return bar; else return baz; This form of a test then return is at least as readable as if (foo) return bar;

Re: [PATCH 00/20] arch atomic 'cleanup'

2014-09-24 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Sep 24, 2014 at 05:54:06PM +0100, Will Deacon wrote: > > Hi Peter, > > > > On Thu, May 08, 2014 at 02:58:40PM +0100, Peter Zijlstra wrote: > > > This series continues the arch atomic rework started with the smp_mb__ > > > interface cleanup. > > > > > > In

Re: [PATCH 1/5 - resend] SCHED: add some "wait..on_bit...timeout()" interfaces.

2014-09-24 Thread Ingo Molnar
* NeilBrown wrote: > > In commit c1221321b7c25b53204447cff9949a6d5a7c >sched: Allow wait_on_bit_action() functions to support a timeout > > I suggested that a "wait_on_bit_timeout()" interface would not meet my > need. This isn't true - I was just over-engineering. > > Including a

Re: [PATCH] kernel: acctc.c: Fixed else if not generally userful after a break or return warning

2014-09-24 Thread Al Viro
On Thu, Sep 25, 2014 at 12:34:11AM -0400, Elshad Mustafayev wrote: > I am sorry if I disturbed you. I just follow the steps in kernel newbies to > get me in kernel development. It's not you, it's checkpatch.pl plus the fairly common tendency to give that thing a lot more respect than it

Re: [PATCH] x86: Quark: Flush TLB via CR3 not CR4.PGE in setup_arch()

2014-09-24 Thread Ingo Molnar
* Bryan O'Donoghue wrote: > Quark X1000 requires CR3 to be rewritten to flush TLB entries > irrespective of the PGE bits in CR4 or PTE.PGE > > This patch flushes the TLB in the required way for Quark in setup_arch() > See Quark Core_DevMan_001.pdf section 6.4.11 > > Signed-off-by: Bryan

[tip:x86/platform] x86/intel/quark: Add comment on TLB flush to setup_arch()

2014-09-24 Thread tip-bot for Bryan O'Donoghue
Commit-ID: 02276a3a677d681f0cd227d7111c71fdbce23832 Gitweb: http://git.kernel.org/tip/02276a3a677d681f0cd227d7111c71fdbce23832 Author: Bryan O'Donoghue AuthorDate: Wed, 24 Sep 2014 21:26:03 +0100 Committer: Ingo Molnar CommitDate: Thu, 25 Sep 2014 06:52:15 +0200 x86/intel/quark: Add

Re: perf: perf_fuzzer triggers instant reboot

2014-09-24 Thread Vince Weaver
So I noticed Cong Wang's patch (3577af70a2ce4853d58e57d832e687d739281479) perf: Fix a race condition in perf_remove_from_context() and that sounds a lot like the weird fork()/memory-corruption bug that the fuzzer has been triggering. So I applied that patch alone on top of the 3.17-rc4

[PATCH] initramfs: allow again choice of the embedded compression algorithm

2014-09-24 Thread klondike
Choosing the appropriate option (for example on my tests, choosing CONFIG_INITRAMFS_COMPRESSION_NONE when compressing the using XZ) results in up to 500KiB differences (9MiB to 8.5MiB) in the kernel size as the dictionary will not get polluted with uncomprensible data and may reuse kernel data

Re: [PATCH v2] vfs: Don't exchange "short" filenames unconditionally.

2014-09-24 Thread Al Viro
On Wed, Sep 24, 2014 at 09:18:13PM +0100, Al Viro wrote: > On Wed, Sep 24, 2014 at 12:20:38PM -0700, Linus Torvalds wrote: > > On Wed, Sep 24, 2014 at 11:55 AM, Al Viro wrote: > > > > > > Yecc... Applied, but it's very ugly. Oh, well - regression is > > > regression, and I don't see a

linux-next: error trying to fetch the devicetree tree

2014-09-24 Thread Stephen Rothwell
Hi Grant, Fetching the devicetree tree (git://git.secretlab.ca/git/linux-2.6#devicetree/next) failes like this: fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. -- Cheers, Stephen Rothwell

Re: [PATCH] i2c: rk3x: adjust the LOW divison based on characteristics of SCL

2014-09-24 Thread Doug Anderson
Addy, On Wed, Sep 24, 2014 at 6:56 PM, addy ke wrote: > In my measurement,all paramter but "Data hold time" are match the > characteristics of SCL bus line. > the measured value is 0.928us("data hold time on RK3X" ~= "the low period / > 2") > but the maximum value described in table is 0.9us

Re: [PATCH] kprobes: Update Documentation/kprobes.txt

2014-09-24 Thread Masami Hiramatsu
(2014/09/25 11:32), Li Bin wrote: > The patch 125e564("Move Kconfig.instrumentation to arch/Kconfig and > init/Kconfig") had removed the "Instrumentation Support" menu, > and the configurations under this had be moved to "General setup". > Update Documentation/kprobes.txt to reflect this change. >

Re: [PATCH] kernel: acctc.c: Fixed else if not generally userful after a break or return warning

2014-09-24 Thread Joe Perches
On Wed, Sep 24, 2014 at 11:13:45PM -0400, Elshad Mustafayev wrote: > > Fixed a coding style issue. [] > > diff --git a/kernel/acct.c b/kernel/acct.c [] > > @@ -376,9 +376,8 @@ static comp2_t encode_comp2_t(u64 value) > > if (exp > MAXEXP2) { > > /* Overflow. Return largest

linux-next: build warning after merge of the battery tree

2014-09-24 Thread Stephen Rothwell
Hi Sebastian, After merging the battery tree, today's linux-next build (powerpc ppc64_defconfig and x86_64 allmodconfig) produced this warning: fs/sysfs/Kconfig:1:error: recursive dependency detected! fs/sysfs/Kconfig:1: symbol SYSFS is selected by CHARGER_MAX14577 drivers/power/Kconfig:327:

linux-next: manual merge of the mfd tree with the hwmon-staging tree

2014-09-24 Thread Stephen Rothwell
Hi Lee, Today's linux-next merge of the mfd tree got a conflict in drivers/mfd/Makefile between commit dfbdcd7cefca ("mfd: menf21bmc: Introduce MEN 14F021P00 BMC MFD Core driver") from the hwmon-staging tree and commit bc69ade0238e ("mfd: Add HI6421 PMIC Core driver") from the mfd tree. I fixed

Re: [RFC v3 0/4] vfs: Non-blockling buffered fs read (page cache only)

2014-09-24 Thread Michael Kerrisk
Hello Milosz, On Wed, Sep 24, 2014 at 11:46 PM, Milosz Tanski wrote: > This patcheset introduces an ability to perform a non-blocking read from > regular files in buffered IO mode. This works by only for those filesystems > that have data in the page cache. > > It does this by introducing new

[PATCH 1/1] perf/x86: Use KERN_INFO when checking PMU fails on virtual environment

2014-09-24 Thread Wei Huang
PMU checking can fail due to various reasons. On native machine, this is mostly caused by faulty hardware and it is reasonable to use KERN_ERR in reporting. However, when kernel is running on virtualized environment, this checking can fail if virtual PMU is not supported (e.g. KVM on AMD host). It

[PATCH 1/5 - resend] SCHED: add some "wait..on_bit...timeout()" interfaces.

2014-09-24 Thread NeilBrown
In commit c1221321b7c25b53204447cff9949a6d5a7c sched: Allow wait_on_bit_action() functions to support a timeout I suggested that a "wait_on_bit_timeout()" interface would not meet my need. This isn't true - I was just over-engineering. Including a 'private' field in wait_bit_key instead

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

2014-09-24 Thread Kim Phillips
On Wed, 24 Sep 2014 21:23:59 -0500 German Rivera wrote: > On 09/23/2014 07:49 PM, Kim Phillips wrote: > > On Fri, 19 Sep 2014 17:49:39 -0500 > > "J. German Rivera" wrote: > > > >> + * Delay in microseconds between polling iterations while > >> + * waiting for MC command completion > >> + */ >

[PATCH] x86, MCE, AMD: detect the threshold at the initialization period

2014-09-24 Thread Chen Yucong
ADM64 APM Volume 2 (9.3.2 Error-Reporting Register Banks)documents that the size of threshold counter is implementation-dependent, and the implementations with less than 16 bits fill the most significant unimplemented bits with zeros. So THRESHOLD_MAX should be detected at the initialization

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jiang Liu
On 2014/9/25 11:17, Jason Cooper wrote: > On Thu, Sep 25, 2014 at 11:04:37AM +0800, Jiang Liu wrote: >> Hi Joe, >> Thanks, I will merge them into my next version. >> Regards! >> Gerry >> >> On 2014/9/25 10:16, Joe.C wrote: >>> >>> Jiang, >>> >>> Please consider merge the following 2 changes

Re: [PATCH 1/5] SCHED: add some "wait..on_bit...timeout()" interfaces.

2014-09-24 Thread Trond Myklebust
On Wed, Sep 24, 2014 at 11:23 PM, NeilBrown wrote: > On Wed, 24 Sep 2014 09:04:18 +0200 Ingo Molnar wrote: > >> >> * NeilBrown wrote: >> >> > @@ -859,6 +860,8 @@ int wake_bit_function(wait_queue_t *wait, unsigned >> > mode, int sync, void *key); >> > >> > extern int bit_wait(struct

Re: [PATCH RESEND v3 5/6] AHCI: Optimize single IRQ interrupt processing

2014-09-24 Thread Tejun Heo
On Wed, Sep 24, 2014 at 03:59:07PM +0100, Alexander Gordeev wrote: > On Wed, Sep 24, 2014 at 10:39:13AM -0400, Tejun Heo wrote: > > Would it be possible for you compare threaded vs. unthreaded under > > relatively heavy load? > > I will try, although not quite soon. > > In the meantime I could

Re: linux-next: cgroup_mount() falls asleep forever

2014-09-24 Thread Tejun Heo
Hello, Al. On Thu, Sep 25, 2014 at 03:47:19AM +0100, Al Viro wrote: > > Yeah, it's an ugly thing to work around vfs interface not very > > conducive for filesystems which conditionally create or reuse > > superblocks during mount. There was a thread explaining what's going > > on. Looking up...

Re: [PATCH 1/5] SCHED: add some "wait..on_bit...timeout()" interfaces.

2014-09-24 Thread NeilBrown
On Wed, 24 Sep 2014 09:04:18 +0200 Ingo Molnar wrote: > > * NeilBrown wrote: > > > @@ -859,6 +860,8 @@ int wake_bit_function(wait_queue_t *wait, unsigned > > mode, int sync, void *key); > > > > extern int bit_wait(struct wait_bit_key *); > > extern int bit_wait_io(struct wait_bit_key *);

Re: [PATCH] kernel: acctc.c: Fixed else if not generally userful after a break or return warning.

2014-09-24 Thread Al Viro
On Wed, Sep 24, 2014 at 11:13:45PM -0400, Elshad Mustafayev wrote: > Fixed a coding style issue. > > Signed-off-by: Elshad Mustafayev > --- > kernel/acct.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/kernel/acct.c b/kernel/acct.c > index b4c667d..ed4cf00 100644 >

Re: Re: [RFC][PATCH] ftracetest: Add a couple of ftrace test cases

2014-09-24 Thread Masami Hiramatsu
(2014/09/25 10:14), Steven Rostedt wrote: > On Thu, 25 Sep 2014 09:35:05 +0900 > Masami Hiramatsu wrote: > >> (2014/09/25 0:58), Steven Rostedt wrote: >>> On Wed, 24 Sep 2014 11:42:35 -0400 >>> Steven Rostedt wrote: >>> > I think you'd better use exit_unsupported/exit_xfail to notify >

[PATCH v2] [media] videobuf-dma-contig: set vm_pgoff to be zero to pass the sanity check in vm_iomap_memory().

2014-09-24 Thread Fancy Fang
When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core will assign the corresponding offset to the 'boff' field of the videobuf_buffer for each requested buffer sequentially. Later, user may call mmap() to map one or all of the buffers with the 'offset' parameter which is equal to its

[PATCH v1] rtc: snvs: add poweroff function

2014-09-24 Thread Robin Gong
On i.mx6 chips, PMIC_ON_REQ can be pulled by snvs LPCR. That can be used poweroff system if PMIC_ON_REQ connected with external PMIC or power control circuit.Power up again if PMIC_ON_REQ pulled high. Signed-off-by: Robin Gong --- Documentation/devicetree/bindings/crypto/fsl-sec4.txt | 4

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jason Cooper
On Thu, Sep 25, 2014 at 11:04:37AM +0800, Jiang Liu wrote: > Hi Joe, > Thanks, I will merge them into my next version. > Regards! > Gerry > > On 2014/9/25 10:16, Joe.C wrote: > > > > Jiang, > > > > Please consider merge the following 2 changes into your next round. ummm. I'm confused.

Re: ACPI/i915: Cannot configure display brightness on Dell Latitude E6440

2014-09-24 Thread Aaron Lu
Hi Hans, Thanks for following up and explaining the situation to Pali. On 09/25/2014 02:21 AM, Pali Rohár wrote: > On Wednesday 24 September 2014 16:34:21 Hans de Goede wrote: >> Ok, so the dell-laptop interface is just an obsolete wrapper >> around the i915 opregion code, which shows that the

[PATCH] kernel: acctc.c: Fixed else if not generally userful after a break or return warning.

2014-09-24 Thread Elshad Mustafayev
Fixed a coding style issue. Signed-off-by: Elshad Mustafayev --- kernel/acct.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/acct.c b/kernel/acct.c index b4c667d..ed4cf00 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -376,9 +376,8 @@ static comp2_t

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jiang Liu
On 2014/9/25 0:04, Joe.C wrote: > From: "Joe.C" > > Here's the first draft of using hierarchy irqdomain to implement MTK intpol > support. I have tested it and intpol works fine. Before continue, I'd like > to get your comments. This is based on Jiang's hierarchy irqdomian [1] and > my

[PATCH v2] [media] videobuf-dma-contig: set vm_pgoff to be zero to pass the sanity check in vm_iomap_memory().

2014-09-24 Thread Fancy Fang
When user requests V4L2_MEMORY_MMAP type buffers, the videobuf-core will assign the corresponding offset to the 'boff' field of the videobuf_buffer for each requested buffer sequentially. Later, user may call mmap() to map one or all of the buffers with the 'offset' parameter which is equal to its

[PCI/MSI] WARNING: CPU: 0 PID: 1 at drivers/pci/msi.c:1034 pci_enable_msi_range+0x2c1/0x2f0()

2014-09-24 Thread Fengguang Wu
Hi Alexander, FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/msi commit 4ab2ee7c77875669230a797a3ed2228990f82545 ("PCI/MSI: Rename pci_msi_check_device() to pci_msi_supported()")

Re: [PATCH] [RFC] Using hierarchy irqdomian to implement MTK intpol.

2014-09-24 Thread Jiang Liu
Hi Joe, Thanks, I will merge them into my next version. Regards! Gerry On 2014/9/25 10:16, Joe.C wrote: > > Jiang, > > Please consider merge the following 2 changes into your next round. > > On Thu, 2014-09-25 at 00:04 +0800, Joe.C wrote: >> diff --git a/kernel/irq/irqdomain.c

RE: [RFC] fdt:free the fdt reserved memory

2014-09-24 Thread Wang, Yalin
> On Thu, 18 Sep 2014 17:25:12 +0800, "Wang, Yalin" > wrote: > > This patch make some change to unflatten_dt_node(), make sure the > > device_node don't reference to fdt raw blob memory, so that we can > > free the raw blob reserved memory after initcalls. > > > > Signed-off-by: Yalin Wang > >

RE: [PATCH RESEND v3 5/6] AHCI: Optimize single IRQ interrupt processing

2014-09-24 Thread Elliott, Robert (Server Storage)
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Tejun Heo ... > The thing I don't get is why multiple MSI handling and this patchset > are tied to threaded interrupt handling. Splitting locks don't > necessarily

[PATCH 3/3] rheap: move rheap.c from arch/powerpc/lib/ to lib/

2014-09-24 Thread Zhao Qiang
qe need to use the rheap, so move it to public directory. Signed-off-by: Zhao Qiang --- arch/powerpc/Kconfig| 3 --- arch/powerpc/include/asm/fsl_85xx_cache_sram.h | 2 +- arch/powerpc/lib/Makefile | 2 --

Re: [PATCH 0/2] sched: deferred set priority (dprio)

2014-09-24 Thread Mike Galbraith
On Wed, 2014-09-24 at 12:29 -0700, Sergey Oboguev wrote: > Message 1/2 contains the patch to the kernel tree (3.16.3). > Message 2/2 contains the patch for man pages tree. Peter/Ingo are unlikely to ship this off to @stable. If you want this to get off the ground, you'll need to submit against

[PATCH v2 09/22] x86/xen/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Tested-by: Konrad Rzeszutek Wilk Signed-off-by: Yijing Wang Acked-by: David Vrabel Reviewed-by: Konrad Rzeszutek Wilk CC: Konrad Rzeszutek Wilk ---

linux-next: manual merge of the net-next tree with the arm-soc tree

2014-09-24 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got conflicts in arch/arm/boot/dts/rk3188.dtsi and arch/arm/boot/dts/rk3xxx.dtsi between commits fd14e6f9b461 ("ARM: dts: rockchip: add dwc2 controllers for rk3066 and rk3188") and 4ff4ae1258a9 ("ARM: dts: rockchip: add emmc nodes for rk3066

[PATCH v2 02/22] PCI/MSI: Remove useless bus->msi assignment

2014-09-24 Thread Yijing Wang
Currently, PCI drivers will initialize bus->msi in pcibios_add_bus(). pcibios_add_bus() will be called in every pci bus initialization. So the bus->msi assignment in pci_alloc_child_bus() is useless. Signed-off-by: Yijing Wang CC: Thierry Reding CC: Thomas Petazzoni --- drivers/pci/probe.c |

Re: [patch] mm: memcontrol: do not iterate uninitialized memcgs

2014-09-24 Thread Tejun Heo
Hello, On Wed, Sep 24, 2014 at 10:31:18PM -0400, Johannes Weiner wrote: .. > not meet the ordering requirements for memcg, and so we still may see > partially initialized memcgs from the iterators. It's mainly the other way around - a fully initialized css may not show up in an iteration, but

[PATCH v2 10/22] Irq_remapping/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- drivers/iommu/irq_remapping.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH v2 1/2] gpio / CrystalCove: support virtual GPIO

2014-09-24 Thread Aaron Lu
The virtual GPIO introduced in ACPI table of Baytrail-T based system is used to solve a problem under Windows. We do not have such problems under Linux so we do not actually need them. But we have to tell GPIO library that the Crystal Cove GPIO chip has this many GPIO pins or the common GPIO

[PATCH v2 04/22] x86/xen/MSI: Eliminate arch_msix_mask_irq() and arch_msi_mask_irq()

2014-09-24 Thread Yijing Wang
Commit 0e4ccb150 added two __weak arch functions arch_msix_mask_irq() and arch_msi_mask_irq() to fix a bug found when running xen in x86. Introduced these two funcntions make MSI code complex. And mask/unmask is the irq actions related to interrupt controller, should not use weak arch functions to

[PATCH v2 03/22] MSI: Remove the redundant irq_set_chip_data()

2014-09-24 Thread Yijing Wang
Currently, pcie-designware, pcie-rcar, pci-tegra drivers use irq chip_data to save the msi_chip pointer. They already call irq_set_chip_data() in their own MSI irq map functions. So irq_set_chip_data() in arch_setup_msi_irq() is useless. Signed-off-by: Yijing Wang --- drivers/pci/msi.c |5

[PATCH v2 11/22] x86/MSI: Remove unused MSI weak arch functions

2014-09-24 Thread Yijing Wang
Now we can clean up MSI weak arch functions in x86. Signed-off-by: Yijing Wang --- arch/x86/include/asm/pci.h |3 --- arch/x86/include/asm/x86_init.h |4 arch/x86/kernel/apic/io_apic.c |2 +- arch/x86/kernel/x86_init.c | 24

[PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-24 Thread Yijing Wang
This series is based Bjorn's pci/msi branch git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/msi Currently, there are a lot of weak arch functions in MSI code. Thierry Reding Introduced MSI chip framework to configure MSI/MSI-X in arm. This series use MSI chip framework to

[PATCH v2 01/22] PCI/MSI: Clean up struct msi_chip argument

2014-09-24 Thread Yijing Wang
Msi_chip functions setup_irq/teardown_irq rarely use msi_chip argument. We can look up msi_chip pointer by the device pointer or irq number, so clean up msi_chip argument. Signed-off-by: Yijing Wang CC: Thierry Reding CC: Thomas Petazzoni --- drivers/irqchip/irq-armada-370-xp.c |8

[PATCH v2 14/22] MIPS/Xlp/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/mips/pci/msi-xlp.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH v2 07/22] PCI/MSI: Refactor struct msi_chip to make it become more common

2014-09-24 Thread Yijing Wang
Now there are a lot of __weak arch functions in MSI code. These functions make MSI driver complex. Thierry Reding Introduced a new MSI chip framework to configure MSI/MSI-X irq in ARM. Use the new MSI chip framework to refactor all other platform MSI arch code to eliminate weak arch MSI functions.

[PATCH v2 12/22] MIPS/Octeon/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/mips/pci/msi-octeon.c | 35 ++- 1 files changed, 22 insertions(+), 13 deletions(-) diff

[PATCH v2 13/22] MIPS/Xlp: Remove the dead function destroy_irq() to fix build error

2014-09-24 Thread Yijing Wang
Commit 465665f78a7 ("mips: Kill pointless destroy_irq()") removed the destroy_irq(). So remove the leftover one in xlp_setup_msix() to fix build error. arch/mips/pci/msi-xlp.c: In function 'xlp_setup_msix': arch/mips/pci/msi-xlp.c:447:3: error: implicit declaration of function 'destroy_irq'..

[PATCH v2 06/22] PCI/MSI: Introduce weak arch_find_msi_chip() to find MSI chip

2014-09-24 Thread Yijing Wang
Introduce weak arch_find_msi_chip() to find the match msi_chip. Currently, MSI chip associates pci bus to msi_chip. Because in ARM platform, there may be more than one MSI controller in system. Associate pci bus to msi_chip help pci device to find the match msi_chip and setup MSI/MSI-X irq

[PATCH v2 15/22] MIPS/Xlr/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/mips/pci/pci-xlr.c | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git

[PATCH v2 17/22] s390/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang Acked-by: Sebastian Ott --- arch/s390/pci/pci.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff

[PATCH v2 16/22] Powerpc/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang Acked-by: Michael Ellerman --- arch/powerpc/kernel/msi.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-)

[PATCH v2 05/22] s390/MSI: Use __msi_mask_irq() instead of default_msi_mask_irq()

2014-09-24 Thread Yijing Wang
Now only s390/MSI use default_msi_mask_irq() and default_msix_mask_irq(), replace them with the common msi mask irq functions __msi_mask_irq() and __msix_mask_irq(). Remove default_msi_mask_irq() and default_msix_mask_irq(). Signed-off-by: Yijing Wang --- arch/s390/pci/pci.c |4 ++--

[PATCH v2 22/22] PCI/MSI: Clean up unused MSI arch functions

2014-09-24 Thread Yijing Wang
Now we use struct msi_chip in all platforms to configure MSI/MSI-X. We can clean up the unused arch functions. Signed-off-by: Yijing Wang Reviewed-by: Lucas Stach --- drivers/iommu/irq_remapping.c |2 +- drivers/pci/msi.c | 100 +++-

[PATCH v2 08/22] x86/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/x86/include/asm/pci.h |1 + arch/x86/kernel/apic/io_apic.c | 12 2 files changed, 13 insertions(+),

[PATCH v2 20/22] Sparc/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/sparc/kernel/pci.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH v2 21/22] tile/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/tile/kernel/pci_gx.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git

[PATCH v2 19/22] IA64/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/ia64/kernel/msi_ia64.c | 18 ++ 1 files changed, 14 insertions(+), 4 deletions(-) diff --git

[PATCH v2 18/22] arm/iop13xx/MSI: Use MSI chip framework to configure MSI/MSI-X irq

2014-09-24 Thread Yijing Wang
Use MSI chip framework instead of arch MSI functions to configure MSI/MSI-X irq. So we can manage MSI/MSI-X irq in a unified framework. Signed-off-by: Yijing Wang --- arch/arm/mach-iop13xx/include/mach/pci.h |2 ++ arch/arm/mach-iop13xx/iq81340mc.c|1 +

Re: [PATCH v2 2/5] pinctrl: imx: add gpio pinmux support for vf610

2014-09-24 Thread Shawn Guo
On Tue, Sep 23, 2014 at 07:37:54PM +0200, Stefan Agner wrote: > Add pinmux support for GPIO for Vybrid (vf610) IOMUX controller. > This is needed since direction configuration is not part of the > GPIO module in Vybrid. > > Signed-off-by: Stefan Agner > --- > drivers/pinctrl/pinctrl-imx.c |

[PATCH 2/3] qe_common: add qe common functions to qe_common.c

2014-09-24 Thread Zhao Qiang
qe need to call some common functions, move them into public directory, add a new file drivers/soc/qe/qe_common.c for them. Signed-off-by: Zhao Qiang --- drivers/soc/qe/Makefile| 2 +- drivers/soc/qe/qe_common.c | 185 + include/linux/fsl/qe.h

Re: linux-next: cgroup_mount() falls asleep forever

2014-09-24 Thread Al Viro
On Wed, Sep 24, 2014 at 03:24:56PM -0400, Tejun Heo wrote: > > Lovely... First of all, that thing is obviously racy - there's nothing > > to prevent another mount happening between these two places. Moreover, > > kernfs_mount() calling conventions are really atrocious - pointer to > > bool just

[patch v2] mm: memcontrol: do not iterate uninitialized memcgs

2014-09-24 Thread Johannes Weiner
Argh, buggy css_put() against the root. Hand grenades, everywhere. Update: --- >From 9b0b4d72d71cd8acd7aaa58d2006c751decc8739 Mon Sep 17 00:00:00 2001 From: Johannes Weiner Date: Wed, 24 Sep 2014 22:00:20 -0400 Subject: [patch] mm: memcontrol: do not iterate uninitialized memcgs The cgroup

RE: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-24 Thread chen.f...@freescale.com
Thanks for your idea, Marek and Hans. This change makes sense. And I've already verified it. I'll resubmit my change soon. Best regards, Fancy Fang -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Wednesday, September 24, 2014 8:43 PM To: Marek Szyprowski; Fang

[patch] mm: memcontrol: do not iterate uninitialized memcgs

2014-09-24 Thread Johannes Weiner
The cgroup iterators yield css objects that have not yet gone through css_online(), but they are not complete memcgs at this point and so the memcg iterators should not return them. d8ad30559715 ("mm/memcg: iteration skip memcgs not yet fully initialized") set out to implement exactly this, but

[PATCH] Make Documenation depend on headers_install

2014-09-24 Thread Peter Foley
Cc: rdun...@infradead.org Cc: linux-...@vger.kernel.org Cc: sudeep.d...@intel.com Cc: nikhil@intel.com Cc: ashutosh.di...@intel.com Cc: a...@linux-foundation.org Cc: gre...@linuxfoundation.org Signed-off-by: Peter Foley --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git

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

2014-09-24 Thread German Rivera
On 09/23/2014 07:49 PM, Kim Phillips wrote: On Fri, 19 Sep 2014 17:49:39 -0500 "J. German Rivera" wrote: +int mc_get_version(struct fsl_mc_io *mc_io, struct mc_version *mc_ver_info) ... + err = mc_send_command(mc_io, ); + if (err) + return err; + +

[PATCH] regulator: qcom_rpm: Fix FORCE_MODE_IS_2_BITS macro

2014-09-24 Thread Axel Lin
Current code does not take the macro parameter, fix it. This is not a problem at this moment because the only user actually passes vreg to FORCE_MODE_IS_2_BITS(). Signed-off-by: Axel Lin --- drivers/regulator/qcom_rpm-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH] [media] videobuf-dma-contig: replace vm_iomap_memory() with remap_pfn_range().

2014-09-24 Thread chen.f...@freescale.com
Thanks for your idea, Marek and Hans. This change makes sense. And I've already verified it. I'll resubmit my change soon. Best regards, Fancy Fang -Original Message- From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Wednesday, September 24, 2014 8:43 PM To: Marek Szyprowski; Fang

Re: [PATCH v4 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant

2014-09-24 Thread Tejun Heo
On Thu, Sep 25, 2014 at 09:40:17AM +0800, Zefan Li wrote: > Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags") > defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing > because it is used as bit number. Redefine it as decimal bit number. > > Note this changes the

Re: [PATCH v2 1/5] pinctrl: imx: detect uninitialized pins

2014-09-24 Thread Shawn Guo
On Tue, Sep 23, 2014 at 07:37:53PM +0200, Stefan Agner wrote: > The pinctrl driver initialized the register offsets for the pins > with 0. On Vybrid an offset of 0 is a valid offset for the pinctrl > mux register. So far, this was solved using the ZERO_OFFSET_VALID > flag which allowed offsets of

[PATCH] kprobes: Update Documentation/kprobes.txt

2014-09-24 Thread Li Bin
The patch 125e564("Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig") had removed the "Instrumentation Support" menu, and the configurations under this had be moved to "General setup". Update Documentation/kprobes.txt to reflect this change. Signed-off-by: Li Bin ---

Re: [PATCH] ACPI / platform / LPSS: disable async suspend/resume of LPSS devices

2014-09-24 Thread Li, Aubrey
On 2014/9/25 4:32, Rafael J. Wysocki wrote: > On Wednesday, September 24, 2014 11:19:22 PM Fu, Zhonghui wrote: >> This is a multi-part message in MIME format. >> --040808000309050202010005 >> Content-Type: text/plain; charset=UTF-8 >> Content-Transfer-Encoding: 7bit >> >> >> On

Re: [PATCH] i2c: rk3x: adjust the LOW divison based on characteristics of SCL

2014-09-24 Thread addy ke
Hi, Doug On 2014/9/25 1:13, Doug Anderson wrote: > Addy, > > On Wed, Sep 24, 2014 at 1:23 AM, addy ke wrote: >> >> >> On 2014/9/24 12:10, Doug Anderson wrote: >>> Addy, >>> >>> On Tue, Sep 23, 2014 at 6:55 PM, Addy Ke wrote: As show in I2C specification: - Standard-mode: the

Re: [PATCH] pwm: atmel-pwm: fix calculation of prescale value

2014-09-24 Thread Bo Shen
Hi, Correct the PWM maintainer Thierry Reding's e-mail address. and Add linux-arm-kernel ML. On 09/25/2014 09:50 AM, Bo Shen wrote: Hi Nikolaus Voss, On 09/23/2014 09:30 PM, Nikolaus Voss wrote: The prescale value used for calculating the period was incremented afterwards, thus the

Re: [PATCH] pwm: atmel-pwm: fix calculation of prescale value

2014-09-24 Thread Bo Shen
Hi Nikolaus Voss, On 09/23/2014 09:30 PM, Nikolaus Voss wrote: The prescale value used for calculating the period was incremented afterwards, thus the resulting prescale value is by one too high. This resulted in a pwm frequency only half as high as requested. This patch moves the 64 bit

[PATCH] patch "staging: rtl8723au: os_dep: declared cfg80211_infrastructure_mode static

2014-09-24 Thread Rahul Garg
Declared cfg80211_infrastructure_mode method static to remove sparse warning Signed-off-by: Rahul Garg --- drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c

  1   2   3   4   5   6   7   8   9   10   >