Re: Armadaxp GPIO interrupts

2015-08-05 Thread raghu MG
Hi Andrew, My platform/board is ATCA carrier card which is getting interface to I/O card. The I/O card is hot-pluggable or Jack-in or Jack out. Also I/O card consists of hot-plugable SFP interface. These events are triggered using GPIO's So the events the carrier card recieves are 1) If I/O

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-05 Thread Chenhui Zhao
On Thu, Aug 6, 2015 at 1:46 PM, Scott Wood wrote: On Thu, 2015-08-06 at 12:20 +0800, Chenhui Zhao wrote: On Thu, Aug 6, 2015 at 10:57 AM, Scott Wood wrote: > On Wed, 2015-08-05 at 18:11 +0800, Chenhui Zhao wrote: > > On Tue, Aug 4, 2015 at 4:26 AM, Scott Wood > > wrote: > > >

[PATCH V2] virtio-input: reset device and detach unused during remove

2015-08-05 Thread Jason Wang
Spec requires a device reset during cleanup, so do it and avoid warn in virtio core. And detach unused buffers to avoid memory leak. Signed-off-by: Jason Wang --- Changes from V1: detach unused buffers for sts queue. --- drivers/virtio/virtio_input.c | 4 1 file changed, 4 insertions(+)

[V3 PATCH 1/4] panic/x86: Fix re-entrance problem due to panic on NMI

2015-08-05 Thread Hidehiro Kawai
If panic on NMI happens just after panic() on the same CPU, panic() is recursively called. As the result, it stalls after failing to acquire panic_lock. To avoid this problem, don't call panic() in NMI context if we've already entered panic(). V3: - Introduce nmi_panic() macro to reduce code

[V3 PATCH 0/4] Fix race issues among panic, NMI and crash_kexec

2015-08-05 Thread Hidehiro Kawai
When an HA cluster software or administrator detects non-response of a host, they issue an NMI to the host to completely stop current works and take a crash dump. If the kernel has already panicked or is capturing a crash dump at that time, further NMI can cause a crash dump failure. Also,

[V3 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-08-05 Thread Hidehiro Kawai
Currently, panic() and crash_kexec() can be called at the same time. For example (x86 case): CPU 0: oops_end() crash_kexec() mutex_trylock() // acquired nmi_shootdown_cpus() // stop other cpus CPU 1: panic() crash_kexec() mutex_trylock() // failed to acquire

[PATCH net-next v2 1/7] net: switchdev: change fdb addr for a byte array

2015-08-05 Thread Vivien Didelot
The address in the switchdev_obj_fdb structure is currently represented as a pointer. Replacing it for a 6-byte array allows switchdev to carry addresses directly read from hardware registers, not stored by the switch chip driver (as in Rocker). Signed-off-by: Vivien Didelot ---

[V3 PATCH 2/4] panic/x86: Allow cpus to save registers even if they are looping in NMI context

2015-08-05 Thread Hidehiro Kawai
When cpu-A panics on NMI just after cpu-B has panicked, cpu-A loops infinitely in NMI context. Especially for x86, cpu-B issues NMI IPI to other cpus to save their register states and do some cleanups if kdump is enabled, but cpu-A can't handle the NMI and fails to save register states. To solve

[V3 PATCH 4/4] x86/apic: Introduce noextnmi boot option

2015-08-05 Thread Hidehiro Kawai
This patch introduces new boot option "noextnmi" which disables external NMI. This option is useful for the dump capture kernel so that an HA application or administrator wouldn't mistakenly shoot down the kernel by NMI. Currently, only x86 supports this option. Signed-off-by: Hidehiro Kawai

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-05 Thread Scott Wood
On Thu, 2015-08-06 at 12:20 +0800, Chenhui Zhao wrote: > On Thu, Aug 6, 2015 at 10:57 AM, Scott Wood > wrote: > > On Wed, 2015-08-05 at 18:11 +0800, Chenhui Zhao wrote: > > > On Tue, Aug 4, 2015 at 4:26 AM, Scott Wood > > > wrote: > > > > On Mon, 2015-08-03 at 19:32 +0800, Chenhui Zhao

Re: [PATCH-v5 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support

2015-08-05 Thread Vaibhav Hiremath
On Thursday 06 August 2015 12:41 AM, Robert Jarzmik wrote: My next slot is probably this comming Sunday. I'll do the test and report Thanks a lot. Thanks, Vaibhav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH net-next v2 4/7] net: dsa: mv88e6xxx: extend fid mask

2015-08-05 Thread Vivien Didelot
The driver currently manages one FID per port (or bridge group), with a mask of DSA_MAX_PORTS bits, where 0 means that the FID is in use. The Marvell 88E6xxx switches support up to 4094 FIDs (from 1 to 0xfff; FID 0 means that multiple address databases are not being used). This patch changes the

[PATCH net-next v2 2/7] net: switchdev: support static FDB addresses

2015-08-05 Thread Vivien Didelot
This patch adds a is_static boolean to the switchdev_obj_fdb structure, in order to set the ndm_state to either NUD_NOARP or NUD_REACHABLE. Signed-off-by: Vivien Didelot --- include/net/switchdev.h | 1 + net/switchdev/switchdev.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff

[PATCH net-next v2 5/7] net: dsa: mv88e6xxx: rename ATU MAC accessors

2015-08-05 Thread Vivien Didelot
Rename the __mv88e6xxx_{read,write}_addr functions to more explicit _mv88e6xxx_atu_mac_{read,write} functions, which also respect the single underscore convention used in the file (meaning SMI lock must be held). In the meantime, define their MAC address parameters as an array of ETH_ALEN bytes

[PATCH net-next v2 3/7] net: dsa: add support for switchdev FDB objects

2015-08-05 Thread Vivien Didelot
Remove the fdb_{add,del,getnext} function pointer in favor of new port_fdb_{add,del,getnext}. Implement the switchdev_port_obj_{add,del,dump} functions in DSA to support the SWITCHDEV_OBJ_PORT_FDB objects. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6171.c | 3 -

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Scott Wood
On Thu, 2015-08-06 at 12:32 +0800, Chenhui Zhao wrote: > On Thu, Aug 6, 2015 at 11:16 AM, Scott Wood > wrote: > > On Wed, 2015-08-05 at 19:08 +0800, Chenhui Zhao wrote: > > > On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood > > > wrote: > > > > On Fri, 2015-07-31 at 17:20 +0800,

[PATCH net-next v2 7/7] net: dsa: mv88e6xxx: rework FDB add/del operations

2015-08-05 Thread Vivien Didelot
Add a low level function for the ATU Load operation, and provide FDB add and delete wrappers functions. Signed-off-by: Vivien Didelot --- drivers/net/dsa/mv88e6171.c | 2 + drivers/net/dsa/mv88e6352.c | 2 + drivers/net/dsa/mv88e6xxx.c | 110 +---

[PATCH net-next v2 6/7] net: dsa: mv88e6xxx: rework FDB getnext operation

2015-08-05 Thread Vivien Didelot
This commit adds a low level _mv88e6xxx_atu_getnext function and helpers to rewrite the mv88e6xxx_port_fdb_getnext operation. A mv88e6xxx_atu_entry structure is added for convenient access to the hardware, and GLOBAL_ATU_FID is defined instead of the raw 0x01 value. The previous implementation

[PATCH net-next v2 0/7] net: dsa: mv88e6xxx: support switchdev FDB objects

2015-08-05 Thread Vivien Didelot
This patchset refactors the DSA and mv88e6xxx code to use the switchdev FDB objects. The first two patches add minor but necessary changes to switchdev, the third one implements the switchdev glue in DSA for FDB routines, and the remaining ones refactor the FDB access functions in the mv88e6xxx

Re: [BUG] perf/script: segfault on simple command

2015-08-05 Thread Jiri Olsa
On Wed, Aug 05, 2015 at 03:40:32PM -0700, Stephane Eranian wrote: > Hi Arnaldo, Jiri > > Running this simple command from tip.git tree, I get: > > > $ perf record ls > > [ perf record: Woken up 1 times to write data ] > [ perf record: Captured and wrote 0.011 MB perf.data (9 samples) ] > > $

[PATCH] mmc: Kconfig: Add dependency on GPIOLIB for MMC_SDHCI

2015-08-05 Thread Michal Simek
Add GPIOLIB dependency for MMC_SDHCI. Problem was observed after adding the patch "mmc: sdhci-of-arasan: Call OF parsing for MMC" (sha1: 16b23787fc709fe60c5d2bd05927b1a3da33d4e9) which calls mmc_of_parse() -> mmc_gpiod_request_cd() (slot-gpio.c) which calls devm_gpiod_get_index() which returns

RE: about the time consuming kvm_vcpu_ioctl issue in rhel kernel

2015-08-05 Thread Li, Liang Z
The synchronize_rcu() is a time consuming operation, the unpstream kernel still have some issue, the KVM_RUN ioctl will take more then 10ms when resume the VM after migration. Liang > -Original Message- > From: Li, Liang Z > Sent: Thursday, August 06, 2015 11:47 AM > To: 'Paolo

Re: [PATCH 1/4] ASN.1: Fix handling of CHOICE in ASN.1 compiler

2015-08-05 Thread David Howells
James Morris wrote: > What are the security implications of these bugs? I've fed them various bits of butchered ASN.1 and observed the effects as well as checking what happens in the code. I don't think there are any security implications. I've outlined my reasoning in each patch

Re: [PATCH] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-08-05 Thread Joe Perches
On Thu, 2015-08-06 at 13:16 +0800, Chen Yu wrote: > Since Surface Pro 3 does not follow the specs of "Windows ACPI Design > Guide for SoC Platform", code in drivers/input/misc/soc_array.c can > not detect these buttons on it. style trivia: > diff --git a/drivers/platform/x86/surfacepro3_button.c

[PATCH] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-08-05 Thread Chen Yu
Since Surface Pro 3 does not follow the specs of "Windows ACPI Design Guide for SoC Platform", code in drivers/input/misc/soc_array.c can not detect these buttons on it. According to bios implementation, Surface Pro 3 encapsulates these buttons in a device named "VGBI", with _HID "MSHW0028". When

RE: [PATCH V4 4/7] Drivers: hv: vmbus: add APIs to register callbacks to process hvsock connection

2015-08-05 Thread Dexuan Cui
> From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf > Of Dexuan Cui > Sent: Thursday, July 30, 2015 18:20 > To: David Miller ; KY Srinivasan > Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; > driverdev-de...@linuxdriverproject.org;

[PATCH v4 2/2] Documentation: dt: binding: atmel-sama5d4-wdt: for SAMA5D4 watchdog driver

2015-08-05 Thread Wenyou Yang
The compatible "atmel,sama5d4-wdt" supports the SAMA5D4 watchdog driver and the watchdog's WDT_MR register can be written more than once. Signed-off-by: Wenyou Yang --- .../bindings/watchdog/atmel-sama5d4-wdt.txt| 35 1 file changed, 35 insertions(+) create mode

[PATCH v4 1/2] drivers: watchdog: add a driver to support SAMA5D4 watchdog timer

2015-08-05 Thread Wenyou Yang
>From SAMA5D4, the watchdog timer is upgrated with a new feature, which is describled as in the datasheet, "WDT_MR can be written until a LOCKMR command is issued in WDT_CR". That is to say, as long as the bootstrap and u-boot don't issue a LOCKMR command, WDT_MR can be written more than once in

[PATCH v4 0/2] add a new driver to support SAMA5D4 watchdog timer

2015-08-05 Thread Wenyou Yang
Hello, Because the watchdog WDT_MR register can be written more than once, its work mechanism is different from the at91sam9260 watchdog driver. Open the device file to enable the watchdog hardware, close to disable it, and ping it from the user space directly to keep it alive. Changes from v3.0

Re: [RFCv3 1/4] docs: dts: Added documentation for Xilinx Zynq Reset Controller bindings.

2015-08-05 Thread Michal Simek
On 08/05/2015 09:43 PM, Moritz Fischer wrote: > Michal, > > On Tue, Aug 4, 2015 at 8:10 AM, Philipp Zabel wrote: >> Hi Moritz, >> >> Am Dienstag, den 04.08.2015, 08:05 -0700 schrieb Moritz Fischer: >>> Hi Philip, >>> >>> On Tue, Aug 4, 2015 at 1:09 AM, Philipp Zabel >>> wrote: Hi Moritz,

Re: [PATCH v3] PCI: Only enable IO window if supported

2015-08-05 Thread Guenter Roeck
On 08/05/2015 09:25 PM, Yinghai Lu wrote: On Wed, Aug 5, 2015 at 7:22 PM, Guenter Roeck wrote: On 08/05/2015 06:38 PM, Yinghai Lu wrote: On Wed, Aug 5, 2015 at 6:14 PM, Yinghai Lu wrote: It only can avoid warning with bridge, and still have warning on devices under the bridge. also

RE: [PATCH V4 7/7] Drivers: hv: vmbus: disable local interrupt when hvsock's callback is running

2015-08-05 Thread Dexuan Cui
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On Behalf > Of Dexuan Cui > Sent: Thursday, July 30, 2015 18:18 > To: David Miller ; KY Srinivasan > Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; >

Re: [PATCH v2 2/2] powerpc32: optimise csum_partial() loop

2015-08-05 Thread Segher Boessenkool
On Wed, Aug 05, 2015 at 09:31:41PM -0500, Scott Wood wrote: > On Wed, 2015-08-05 at 19:30 -0500, Segher Boessenkool wrote: > > On Wed, Aug 05, 2015 at 03:29:35PM +0200, Christophe Leroy wrote: > > > On the 8xx, load latency is 2 cycles and taking branches also takes > > > 2 cycles. So let's unroll

Re: [PATCH] x86: correct fpu emulation access to ldt

2015-08-05 Thread Andy Lutomirski
On Aug 5, 2015 8:35 PM, "Juergen Gross" wrote: > > On 08/05/2015 08:24 PM, Andy Lutomirski wrote: >> >> On Wed, Aug 5, 2015 at 2:11 AM, Juergen Gross wrote: >>> >>> On 08/04/2015 08:01 PM, Andy Lutomirski wrote: On Tue, Aug 4, 2015 at 8:02 AM, Juergen Gross wrote: > >

Re: [llvm-dev] [LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-05 Thread Wangnan (F)
On 2015/8/6 11:22, Alexei Starovoitov wrote: On Wed, Aug 05, 2015 at 04:28:13PM +0800, Wangnan (F) wrote: It doesn't work for me at first since in my llvm there's only llvm.bpf.load.*. I think llvm.bpf.store.* belone to some patches you haven't posted yet? nope. only loads have special

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Chenhui Zhao
On Thu, Aug 6, 2015 at 11:16 AM, Scott Wood wrote: On Wed, 2015-08-05 at 19:08 +0800, Chenhui Zhao wrote: On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood wrote: > On Fri, 2015-07-31 at 17:20 +0800, b29983@freescale.comwrote: > > + /* > > + * If both threads are

Re: [llvm-dev] [LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-05 Thread Wangnan (F)
On 2015/8/6 11:41, Alexei Starovoitov wrote: On Wed, Aug 05, 2015 at 04:59:01PM +0800, He Kuang wrote: Hi, Alexei On 2015/7/30 1:13, Alexei Starovoitov wrote: On 7/29/15 2:38 AM, He Kuang wrote: Hi, Alexei On 2015/7/28 10:18, Alexei Starovoitov wrote: On 7/25/15 3:04 AM, He Kuang wrote:

Re: [RFC PATCH 2/2] mtd: nand: use nand_check_erased_ecc_chunk in default ECC read functions

2015-08-05 Thread Andrea Scian
Il 04/08/2015 09:21, Richard Weinberger ha scritto: Andrea, Am 04.08.2015 um 09:02 schrieb Andrea Scian: I'm not sure whether introducing a read-before-write check is the best solution. At least we need hard numbers for slow/old SLC NANDs too. We can enable the feature only for MLC, AFAIK it

Re: [PATCH v3] PCI: Only enable IO window if supported

2015-08-05 Thread Yinghai Lu
On Wed, Aug 5, 2015 at 7:22 PM, Guenter Roeck wrote: > On 08/05/2015 06:38 PM, Yinghai Lu wrote: >> >> On Wed, Aug 5, 2015 at 6:14 PM, Yinghai Lu wrote: >>> >>> >>> It only can avoid warning with bridge, and still have warning on >>> devices under the bridge. >>> >>> also would have problem on

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-05 Thread Chenhui Zhao
On Thu, Aug 6, 2015 at 10:57 AM, Scott Wood wrote: On Wed, 2015-08-05 at 18:11 +0800, Chenhui Zhao wrote: On Tue, Aug 4, 2015 at 4:26 AM, Scott Wood wrote: > On Mon, 2015-08-03 at 19:32 +0800, Chenhui Zhao wrote: > > > > > > On Sat, Aug 1, 2015 at 7:59 AM, Scott Wood > >

page-flags behavior on compound pages: a worry

2015-08-05 Thread Hugh Dickins
Hi Kirill, I had a nasty thought this morning. Andrew had prodded me gently to re-examine my concerns with your page-flags rework in mmotm. I still dislike the bloat (my mm/built-in.o text goes up from 478513 to 490183 bytes on a non-DEBUG_VM build); but I was hoping to set that aside, to let

Re: 4.2-rc5 rcu stalls.

2015-08-05 Thread Dave Jones
On Wed, Aug 05, 2015 at 02:37:59PM +0200, Frederic Weisbecker wrote: > On Tue, Aug 04, 2015 at 08:12:50PM -0400, Dave Jones wrote: > > On Tue, Aug 04, 2015 at 12:54:35AM -0400, Sasha Levin wrote: > > > On 08/03/2015 06:03 PM, Paul E. McKenney wrote: > > > >> > Ugh, that doesn't revert

[PATCH] [trivial] net:wimax: Fix doucble word "the the" in networking.xml

2015-08-05 Thread Masanari Iida
This patch fix a double word "the the" in Documentation/DocBook/networking.xml and Documentation/DocBook/networking/API-Wimax-report-rfkill-sw.html. These files are generated from comment in source, so I had to fix the typo in net/wimax/io-rfkill.c Signed-off-by: Masanari Iida ---

Re: [PATCH] checkpatch: Don't complain about long "Fixes:" lines

2015-08-05 Thread Joe Perches
On Thu, 2015-08-06 at 13:44 +1000, Michael Ellerman wrote: > We encourage people to mention the commit they are fixing, if any, using > a Fixes line, see SubmittingPatches. https://lkml.org/lkml/2015/7/31/1271 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[PATCH V5] audit: use macros for unset inode and device values

2015-08-05 Thread Richard Guy Briggs
Clean up a number of places were casted magic numbers are used to represent unset inode and device numbers in preparation for the audit by executable path patch set. Signed-off-by: Richard Guy Briggs --- v6: Change dev macro cast from unsigned int to dev_t. v5: Move macros from

about the time consuming kvm_vcpu_ioctl issue in rhel kernel

2015-08-05 Thread Li, Liang Z
Hi Paolo & Juan, I found some of the kvm_vcpu_ioctl operation takes about more than 10ms with the 3.10.0-229.el7.x86_64 kernel, which prolong the VM service downtime when doing live migration about 20~30ms. This happened when doing the KVM_KVMCLOCK_CTRL ioctl. It's worse if more VCPUs used by

[PATCH] checkpatch: Don't complain about long "Fixes:" lines

2015-08-05 Thread Michael Ellerman
We encourage people to mention the commit they are fixing, if any, using a Fixes line, see SubmittingPatches. Although it's not mentioned explicitly, it's preferable if the Fixes line is not wrapped, so skip Fixes lines when checking for overlength lines. Signed-off-by: Michael Ellerman ---

Re: [llvm-dev] [LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-05 Thread Alexei Starovoitov
On Wed, Aug 05, 2015 at 04:59:01PM +0800, He Kuang wrote: > Hi, Alexei > > On 2015/7/30 1:13, Alexei Starovoitov wrote: > >On 7/29/15 2:38 AM, He Kuang wrote: > >>Hi, Alexei > >> > >>On 2015/7/28 10:18, Alexei Starovoitov wrote: > >>>On 7/25/15 3:04 AM, He Kuang wrote: > I noticed that for

Re: [PATCH V5] audit: use macros for unset inode and device values

2015-08-05 Thread Richard Guy Briggs
On 15/08/05, Paul Moore wrote: > On Wednesday, August 05, 2015 04:19:09 PM Richard Guy Briggs wrote: > > Clean up a number of places were casted magic numbers are used to represent > > unset inode and device numbers in preparation for the audit by executable > > path patch set. > > > >

Re: [PATCH] x86: correct fpu emulation access to ldt

2015-08-05 Thread Juergen Gross
On 08/05/2015 08:24 PM, Andy Lutomirski wrote: On Wed, Aug 5, 2015 at 2:11 AM, Juergen Gross wrote: On 08/04/2015 08:01 PM, Andy Lutomirski wrote: On Tue, Aug 4, 2015 at 8:02 AM, Juergen Gross wrote: Commit 14805442532c ("x86/ldt: Make modify_ldt synchronous") introduced a new struct

Re: [PATCH v5 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-08-05 Thread Andy Gross
On Wed, Aug 05, 2015 at 06:27:24PM -0700, Stephen Boyd wrote: > On 04/28/2015 12:23 PM, Kumar Gala wrote: > >+ > >+int __qcom_scm_call_armv8_64(u64 x0, u64 x1, u64 x2, u64 x3, u64 x4, u64 x5, > >+u64 *ret1, u64 *ret2, u64 *ret3) > >+{ > >+register u64 r0 asm("r0") =

Re: regression introduced by "block: Add support for DAX reads/writes to block devices"

2015-08-05 Thread Dave Chinner
On Wed, Aug 05, 2015 at 09:42:54PM -0400, Linda Knippers wrote: > On 08/05/2015 06:01 PM, Dave Chinner wrote: > > On Wed, Aug 05, 2015 at 04:19:08PM -0400, Jeff Moyer wrote: > >> Hi, Matthew, > >> > >> Linda Knippers noticed that commit (bbab37ddc20b) breaks mkfs.xfs: > >> > >> # mkfs -t xfs -f

Re: [llvm-dev] [LLVMdev] Cc llvmdev: Re: llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-08-05 Thread Alexei Starovoitov
On Wed, Aug 05, 2015 at 04:28:13PM +0800, Wangnan (F) wrote: > > It doesn't work for me at first since in my llvm there's only > llvm.bpf.load.*. > > I think llvm.bpf.store.* belone to some patches you haven't posted yet? nope. only loads have special instructions ld_abs/ld_ind which are

[PATCH v4 2/2] dma: Add Xilinx zynqmp dma engine driver support

2015-08-05 Thread Punnaiah Choudary Kalluri
Added the basic driver for zynqmp dma engine used in Zynq UltraScale+ MPSoC. The initial release of this driver supports only memory to memory transfers. Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v4: - Modified the defines to start with ZYNQMP_DMA perfix - Changed the

[PATCH v4 1/2] Documentation: dt: Add Xilinx zynqmp dma device tree binding documentation

2015-08-05 Thread Punnaiah Choudary Kalluri
Device-tree binding documentation for Xilinx zynqmp dma engine used in Zynq UltraScale+ MPSoC. Signed-off-by: Punnaiah Choudary Kalluri --- Changes in v4: - None Changes in v3: - None Changes in v2: - None --- .../devicetree/bindings/dma/xilinx/zynqmp_dma.txt | 61 1

Re: [PATCH 3/3] PowerPC/mpc85xx: Add hotplug support on E6500 cores

2015-08-05 Thread Scott Wood
On Wed, 2015-08-05 at 19:08 +0800, Chenhui Zhao wrote: > On Sat, Aug 1, 2015 at 8:22 AM, Scott Wood > wrote: > > On Fri, 2015-07-31 at 17:20 +0800, b29983@freescale.comwrote: > > > + /* > > > + * If both threads are offline, reset core to start. > > > +

Re: [RFC v4] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-08-05 Thread Scott Wood
On Wed, 2015-08-05 at 14:50 +0800, Zhao Qiang wrote: > Bytes alignment is required to manage some special RAM, > so add gen_pool_first_fit_align to genalloc, > meanwhile add gen_pool_alloc_data to pass data to > gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper) > > Signed-off-by: Zhao

Re: [PATCH v3 3/8] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-08-05 Thread Scott Shu
On Wed, 2015-08-05 at 10:50 +0200, Sascha Hauer wrote: > On Tue, Aug 04, 2015 at 09:54:19PM +0800, Scott Shu wrote: > > This adds a CPU power domain driver for the Mediatek SCPSYS unit on > > MT6580. > > > > Signed-off-by: Scott Shu > > --- > > drivers/soc/mediatek/mtk-scpsys.c | 250 > >

Re: [PATCH v2 8/9] KVM: MMU: fully check zero bits for sptes

2015-08-05 Thread Xiao Guangrong
On 08/05/2015 06:12 PM, Paolo Bonzini wrote: On 05/08/2015 06:04, Xiao Guangrong wrote: - for_each_shadow_entry_lockless(vcpu, addr, iterator, spte) + for_each_shadow_entry_lockless(vcpu, addr, iterator, spte) { + leaf = iterator.level; + + if (!root)

Re: linux-next: build failure after merge of the slave-dma tree

2015-08-05 Thread Vinod Koul
On Thu, Aug 06, 2015 at 12:22:03PM +1000, Stephen Rothwell wrote: > Hi Vinod, > > After merging the slave-dma tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/dma/at_hdmac.c: In function 'atc_prep_dma_memset': > drivers/dma/at_hdmac.c:960:6: error: 'struct

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-05 Thread Scott Wood
On Wed, 2015-08-05 at 18:11 +0800, Chenhui Zhao wrote: > On Tue, Aug 4, 2015 at 4:26 AM, Scott Wood > wrote: > > On Mon, 2015-08-03 at 19:32 +0800, Chenhui Zhao wrote: > > > > > > > > > On Sat, Aug 1, 2015 at 7:59 AM, Scott Wood > > > wrote: > > > > > > > > > > Could you explain

Re: [PATCH] Documentation: add new description of path-name lookup.

2015-08-05 Thread Randy Dunlap
On 08/05/15 19:54, NeilBrown wrote: > On Sun, 26 Jul 2015 20:41:52 -0700 Randy Dunlap > wrote: > >> On 07/24/15 17:28, NeilBrown wrote: >>> >> >> Hi Neil, >> >> Some edits for you to consider. > > Wow, thanks. I think I agree with all ... had to do some research for > "neither is" though. >

Re: [PATCH] Documentation: add new description of path-name lookup.

2015-08-05 Thread NeilBrown
On Sun, 26 Jul 2015 20:41:52 -0700 Randy Dunlap wrote: > On 07/24/15 17:28, NeilBrown wrote: > > > > Hi Neil, > > Some edits for you to consider. Wow, thanks. I think I agree with all ... had to do some research for "neither is" though. > > > +However, there is a little bit more to

Re: [PATCH v6 3/4] bpf: Implement function bpf_perf_event_read() that get the selected hardware PMU conuter

2015-08-05 Thread xiakaixu
于 2015/8/5 21:53, Peter Zijlstra 写道: > On Wed, Aug 05, 2015 at 12:04:25PM +0200, Peter Zijlstra wrote: >> Also, you probably want a WARN_ON(in_nmi()) there, this function is >> _NOT_ NMI safe. > > I had a wee think about that, and I think the below is safe. > > (with the obvious problem that

Re: [linux-sunxi] Re: [PATCH] Input: axp20x-pek: Add module alias

2015-08-05 Thread Chen-Yu Tsai
On Wed, Aug 5, 2015 at 1:46 AM, Dmitry Torokhov wrote: > On Tue, Aug 04, 2015 at 05:04:55PM +0800, Chen-Yu Tsai wrote: >> On Tue, Aug 4, 2015 at 4:42 PM, Paul Bolle wrote: >> > On ma, 2015-08-03 at 15:48 +0800, Chen-Yu Tsai wrote: >> >> Add a proper module alias so the driver can be autoloaded

[PATCH RESEND] regmap: debugfs: Fix misuse of IS_ENABLED

2015-08-05 Thread Axel Lin
IS_ENABLED should only be used for CONFIG_* symbols. I have done a small test: #define REGMAP_ALLOW_WRITE_DEBUGFS IS_ENABLED(REGMAP_ALLOW_WRITE_DEBUGFS) returns 0. #define REGMAP_ALLOW_WRITE_DEBUGFS 0 IS_ENABLED(REGMAP_ALLOW_WRITE_DEBUGFS) returns 0. #define REGMAP_ALLOW_WRITE_DEBUGFS

Re: [PATCH v2 2/2] powerpc32: optimise csum_partial() loop

2015-08-05 Thread Scott Wood
On Wed, 2015-08-05 at 19:30 -0500, Segher Boessenkool wrote: > On Wed, Aug 05, 2015 at 03:29:35PM +0200, Christophe Leroy wrote: > > On the 8xx, load latency is 2 cycles and taking branches also takes > > 2 cycles. So let's unroll the loop. > > This is not true for most other 32-bit PowerPC; this

[PATCH] regamp: debugfs: Fix misuse of IS_ENABLED

2015-08-05 Thread Axel Lin
IS_ENABLED should only be used for CONFIG_* symbols. I have done a small test: #define REGMAP_ALLOW_WRITE_DEBUGFS IS_ENABLED(REGMAP_ALLOW_WRITE_DEBUGFS) returns 0. #define REGMAP_ALLOW_WRITE_DEBUGFS 0 IS_ENABLED(REGMAP_ALLOW_WRITE_DEBUGFS) returns 0. #define REGMAP_ALLOW_WRITE_DEBUGFS

Re: [PATCH v2 1/3] cgroup: define controller file conventions

2015-08-05 Thread Kamezawa Hiroyuki
On 2015/08/05 16:47, Michal Hocko wrote: On Wed 05-08-15 09:39:40, KAMEZAWA Hiroyuki wrote: [...] so, for memory controller, we'll have We currently have only current, low, high, max and events currently. All other knobs are either deprecated or waiting for a usecase to emerge before they get

Re: [PATCH v3] PCI: Only enable IO window if supported

2015-08-05 Thread Guenter Roeck
On 08/05/2015 06:38 PM, Yinghai Lu wrote: On Wed, Aug 5, 2015 at 6:14 PM, Yinghai Lu wrote: It only can avoid warning with bridge, and still have warning on devices under the bridge. also would have problem on transparent bridges, like BRIDGE_A BRIDGE_AADEVICE_AA

linux-next: build failure after merge of the slave-dma tree

2015-08-05 Thread Stephen Rothwell
'for-linus' into next") I have used the slave-dma tree from next-20150805 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH] smaps: fill missing fields for vma(VM_HUGETLB)

2015-08-05 Thread David Rientjes
On Tue, 4 Aug 2015, Jörn Engel wrote: > > From: Naoya Horiguchi > > Subject: [PATCH] smaps: fill missing fields for vma(VM_HUGETLB) > > > > Currently smaps reports many zero fields for vma(VM_HUGETLB), which is > > inconvenient when we want to know per-task or per-vma base hugetlb usage. > >

RE: [PATCH v3] virt: IRQ bypass manager

2015-08-05 Thread Wu, Feng
> -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Thursday, August 06, 2015 6:08 AM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: eric.au...@st.com; eric.au...@linaro.org; j...@8bytes.org; > avi.kiv...@gmail.com;

RE: [PATCH v3 1/2] drivers: watchdog: add a driver to support SAMA5D4 watchdog timer

2015-08-05 Thread Yang, Wenyou
Hi Guenter, Thank you for your review. > -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 2015年8月5日 23:05 > To: Yang, Wenyou; w...@iguana.be; robh...@kernel.org; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk; ga...@codeaurora.org >

RE: [PATCH v3 1/2] drivers: watchdog: add a driver to support SAMA5D4 watchdog timer

2015-08-05 Thread Yang, Wenyou
Hi Lothar, Thank you for your review. > -Original Message- > From: Lothar Waßmann [mailto:l...@karo-electronics.de] > Sent: 2015年8月5日 18:41 > To: Yang, Wenyou > Cc: w...@iguana.be; robh...@kernel.org; pawel.m...@arm.com; > mark.rutl...@arm.com; ijc+devicet...@hellion.org.uk;

Re: perf eBPF patch ordering. was: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs

2015-08-05 Thread Wangnan (F)
Hi Arnaldo, Have you tried 'perf test BPF'? Is that okay on your environment? Thank you. On 2015/8/5 0:11, Arnaldo Carvalho de Melo wrote: Em Tue, Aug 04, 2015 at 12:55:57PM -0300, Arnaldo Carvalho de Melo escreveu: Em Tue, Aug 04, 2015 at 06:39:39PM +0800, Wangnan (F) escreveu:

Re: [PATCH v2] mmc: dw_mmc: Fix coding style issues

2015-08-05 Thread Jaehoon Chung
Hi, Shawn. Applied this patch at my dw-mmc tree. I will request pull on this weekend. Thanks a lot! Best Regards, Jaehoon Chung On 08/03/2015 04:07 PM, Shawn Lin wrote: > This patch fixes the following issues reported by checkpatch.pl: > - use -EINVAL instead of -ENOSYS, to fix warning message:

Re: [PATCH] mmc: dw_mmc: fix pio mode when internal dmac is enabled

2015-08-05 Thread Jaehoon Chung
Hi, Heiko. Applied this patch at my dw-mmc tree. I will request pull on this weekend. Thanks a lot! Best Regards, Jaehoon Chung On 08/04/2015 12:04 AM, Heiko Stübner wrote: > The dw_mci_init_dma() may decide to not use dma, but pio instead, caused > by things like wrong dma settings in the

Re: [PATCH 1/4] ASN.1: Fix handling of CHOICE in ASN.1 compiler

2015-08-05 Thread James Morris
On Wed, 5 Aug 2015, David Howells wrote: > Fix the handling of CHOICE types in the ASN.1 compiler to make SEQUENCE and > SET elements in a CHOICE be correctly rendered as skippable and conditional > as appropriate. What are the security implications of these bugs? It's pretty late in the -rc

Re: [PATCH v4 1/3] dt-binding: spi: Mediatek: Document devicetree bindings for spi bus

2015-08-05 Thread leilk liu
On Tue, 2015-08-04 at 18:42 +0100, Mark Brown wrote: > On Wed, Jul 29, 2015 at 07:04:32PM +0800, Leilk Liu wrote: > > Signed-off-by: Leilk Liu > > Please use subject lines reflecting the style for the subsystem so > people can spot if patches are relevant to them. > OK, I will change the title

Re: [PATCH v3] PCI: Only enable IO window if supported

2015-08-05 Thread Guenter Roeck
On 08/05/2015 06:14 PM, Yinghai Lu wrote: On Thu, Jul 30, 2015 at 7:15 PM, Guenter Roeck wrote: The PCI subsystem always assumes that I/O is supported on PCIe bridges and tries to assign an I/O window to each child bus even if that is not the case. This may result in messages such as:

Re: regression introduced by "block: Add support for DAX reads/writes to block devices"

2015-08-05 Thread Linda Knippers
On 08/05/2015 06:01 PM, Dave Chinner wrote: > On Wed, Aug 05, 2015 at 04:19:08PM -0400, Jeff Moyer wrote: >> Hi, Matthew, >> >> Linda Knippers noticed that commit (bbab37ddc20b) breaks mkfs.xfs: >> >> # mkfs -t xfs -f /dev/pmem0 >> meta-data=/dev/pmem0 isize=256agcount=4,

Re: [RFC PATCH] regulator: Fix recursive mutex lockdep warning

2015-08-05 Thread Krzysztof Kozlowski
2015-08-06 1:02 GMT+09:00 Srinivas Kandagatla : > A recursive lockdep warning occurs if you call regulator_set_voltage() > on a load switches that are modelled as regulators with a parent supply as > there is no nesting annotation for the rdev->mutex. > To avoid this warning, use the unlocked

Re: [PATCH v3] PCI: Only enable IO window if supported

2015-08-05 Thread Yinghai Lu
On Wed, Aug 5, 2015 at 6:14 PM, Yinghai Lu wrote: > > It only can avoid warning with bridge, and still have warning on > devices under the bridge. > > also would have problem on transparent bridges, like > > BRIDGE_A BRIDGE_AADEVICE_AA >| >\--

Re: [PATCH v1 4/7] ARM: dts: apq8064: Add MDP support

2015-08-05 Thread Stephen Boyd
On 07/28/2015 05:54 AM, Srinivas Kandagatla wrote: @@ -618,5 +633,77 @@ compatible = "qcom,tcsr-apq8064", "syscon"; reg = <0x1a40 0x100>; }; + + hdmi: qcom,hdmi-tx@4a0 { + compatible =

Re: [PATCH v5 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-08-05 Thread Stephen Boyd
On 04/28/2015 12:23 PM, Kumar Gala wrote: + +int __qcom_scm_call_armv8_64(u64 x0, u64 x1, u64 x2, u64 x3, u64 x4, u64 x5, + u64 *ret1, u64 *ret2, u64 *ret3) +{ + register u64 r0 asm("r0") = x0; + register u64 r1 asm("r1") = x1; + register u64 r2

Re: [PATCH v3] PCI: Only enable IO window if supported

2015-08-05 Thread Yinghai Lu
On Thu, Jul 30, 2015 at 7:15 PM, Guenter Roeck wrote: > The PCI subsystem always assumes that I/O is supported on PCIe bridges > and tries to assign an I/O window to each child bus even if that is not > the case. > > This may result in messages such as: > > pcieport :02:00.0: res[7]=[io

Re: [PATCH v2 0/3] Add the efuse driver on rockchip platform

2015-08-05 Thread Shunqian Zheng
On 2015年08月05日 00:11, Srinivas Kandagatla wrote: Hi Shunqian, Sorry for delay in reply, I was on Holidays.. Thanks for testing. On 31/07/15 10:27, Shunqian Zheng wrote: 1. Without the following diff, `hexdump /sys/bus/nvmem/devices/rockchip-efuse0/nvmem` is wrong with "INVALID ARGUMENT":

Re: [PATCH v4 3/3] MIPS: set stack/data protection as non-executable

2015-08-05 Thread David Daney
On 08/05/2015 05:46 PM, Leonid Yegoshin wrote: On 08/05/2015 05:37 PM, David Daney wrote: This just means that your userspace is broken. If GLibC cannot do the right thing then it should be fixed. Let's skip this until you explain how to create a fully non-executable-stack process. Build

Re: [PATCH v4 00/16] ARM: shmobile: Add CPG/MSTP Clock Domain

2015-08-05 Thread Simon Horman
On Wed, Aug 05, 2015 at 08:58:29AM +0200, Geert Uytterhoeven wrote: > Hi Simon, > > On Wed, Aug 5, 2015 at 2:55 AM, Simon Horman wrote: > > On Tue, Aug 04, 2015 at 10:48:28PM +0900, Simon Horman wrote: > >> I have tentatively queued this up in its own branch, > >> cpg-mstp-clock-domain-for-v4.3.

Re: [PATCH v4 3/3] MIPS: set stack/data protection as non-executable

2015-08-05 Thread Leonid Yegoshin
On 08/05/2015 05:37 PM, David Daney wrote: This just means that your userspace is broken. If GLibC cannot do the right thing then it should be fixed. Let's skip this until you explain how to create a fully non-executable-stack process. GLIBC people is ready to do something but after we

Re: [PATCH v4 3/3] MIPS: set stack/data protection as non-executable

2015-08-05 Thread Paul Burton
On Wed, Aug 05, 2015 at 05:23:55PM -0700, Leonid Yegoshin wrote: > It is actually any application which requests non-executable stack > protection and needs some emulation BEFORE GLIBC cancels that non-executable > stack protection due to libraries. > > If you build all libraries with

Re: [PATCH v4 3/3] MIPS: set stack/data protection as non-executable

2015-08-05 Thread David Daney
On 08/05/2015 05:23 PM, Leonid Yegoshin wrote: On 08/05/2015 05:14 PM, David Daney wrote: On 08/05/2015 05:06 PM, Leonid Yegoshin wrote: On 08/05/2015 04:55 PM, Paul Burton wrote: As was pointed out last time you posted this, it breaks backwards compatibility with userland & thus cannot be

Re: [PATCH] sky2: Add module parameter for passing the MAC address

2015-08-05 Thread Florian Fainelli
On 05/08/15 16:16, Stephen Hemminger wrote: > Something like this: > > Subject: [PATCH net-next] sky2: use random address if EEPROM is bad > > On some embedded systems the EEPROM does not contain a valid MAC address. > In that case it is better to fallback to a generated mac address and > let

Re: [PATCH v2 2/2] powerpc32: optimise csum_partial() loop

2015-08-05 Thread Segher Boessenkool
On Wed, Aug 05, 2015 at 03:29:35PM +0200, Christophe Leroy wrote: > On the 8xx, load latency is 2 cycles and taking branches also takes > 2 cycles. So let's unroll the loop. This is not true for most other 32-bit PowerPC; this patch makes performance worse on e.g. 6xx/7xx/7xxx. Let's not!

Re: [PATCH v3 13/24] visorbus: switch from ioremap_cache to memremap

2015-08-05 Thread Greg Kroah-Hartman
On Thu, Jul 30, 2015 at 12:54:51PM -0400, Dan Williams wrote: > In preparation for deprecating ioremap_cache() convert its usage in > visorbus to memremap. > > Cc: Benjamin Romer > Cc: David Kershner > Signed-off-by: Dan Williams > --- > drivers/staging/unisys/visorbus/visorchannel.c | 16

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-08-05 Thread Marcelo Tosatti
On Wed, Aug 05, 2015 at 01:22:57PM +0100, Matt Fleming wrote: > On Sun, 02 Aug, at 12:31:57PM, Tejun Heo wrote: > > > > But we're doing it the wrong way around. You can do most of what > > cgroup interface can do with systemcall-like interface with some > > inconvenience. The other way doesn't

Re: [PATCH v4 3/3] MIPS: set stack/data protection as non-executable

2015-08-05 Thread Leonid Yegoshin
On 08/05/2015 05:14 PM, David Daney wrote: On 08/05/2015 05:06 PM, Leonid Yegoshin wrote: On 08/05/2015 04:55 PM, Paul Burton wrote: As was pointed out last time you posted this, it breaks backwards compatibility with userland & thus cannot be applied. Never observed since first version.

Re: [PATCH] sky2: Add module parameter for passing the MAC address

2015-08-05 Thread David Miller
From: Liviu Dudau Date: Wed, 5 Aug 2015 16:50:54 +0100 > For designs where EEPROMs are not connected to PCI Yukon2 > chips we need to get the MAC address from the firmware. > Add a module parameter called 'mac_address' for this. It > will be used if no DT node can be found and the B2_MAC >

[PATCH v4 REPOST 2/8] staging: rtl8712: simplify size calculation

2015-08-05 Thread Joshua Clayton
replace item-by-item size calculation of a struct with the size of the struct. This gets rid of a use of typedef NDIS_802_11_RATES_EX Signed-off-by: Joshua Clayton --- drivers/staging/rtl8712/rtl871x_cmd.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >