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 Thu, Aug 06, 2015 at 12:35:30PM +0800, Wangnan (F) wrote: > > > 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.*

[RFC PATCH v4 7/9] arm: lpc18xx_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/lpc18xx_def

[RFC PATCH v4 9/9] arm: zx_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/zx_defconfi

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 Thu, Aug 06, 2015 at 12:31:26PM +0800, Wangnan (F) wrote: > > > What about hacking ELF binary in memory? > > 1. load the object into memory; > 2. twist the machine code to EM_X86_64; > 3. load it using elf_begin; > 4. return the twested elf memory image using libdwfl's find_elf callback. > >

[RFC PATCH v4 8/9] arm: multi_v7_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/multi_v7_de

RE: [PATCH 5/9] KVM: x86: unify handling of interrupt window

2015-08-05 Thread Wu, Feng
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Paolo Bonzini > Sent: Wednesday, August 05, 2015 11:24 PM > To: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Cc: Steve Rutherford; rkrc...@redhat.com > Subjec

[RFC PATCH v4 6/9] arm: hisi_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/hisi_defcon

[RFC PATCH v4 5/9] arm: exynos_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/configs/exynos_defc

[RFC PATCH v4 4/9] arc: axs10x_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arc/configs/axs101_defc

[RFC PATCH v4 2/9] Documentation: synopsys-dw-mshc: add bindings for idmac and edmac

2015-08-05 Thread Shawn Lin
synopsys-dw-mshc supports three types of transfer mode. We add bindings and description for how to use them at runtime. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None .../devicetree/bindings/mmc/synopsys-dw-mshc.txt | 25 ++ 1 fil

[RFC PATCH v4 3/9] mips: pistachio_defconfig: remove CONFIG_MMC_DW_IDMAC

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller's transfer mode should be decided at runtime instead of compile-time. So we remove this config option and read dw_mmc's register to select DMA master. Signed-off-by: Shawn Lin --- Changes in v4: None Changes in v3: None Changes in v2: None arch/mips/configs/pistachio_

Re: [PATCH 00/11] omap_hsmmc: voltage switching and tuning

2015-08-05 Thread Tony Lindgren
* Kishon Vijay Abraham I [150805 08:03]: > Hi, > > On Wednesday 05 August 2015 04:13 PM, Tony Lindgren wrote: > > * Kishon Vijay Abraham I [150730 00:49]: > >> Patch series implements voltage switching and tuning for omap_hsmmc > >> driver. > >> > >> Did basic read/write test in J6, J6 Eco, Beag

[RFC PATCH v4 0/9]

2015-08-05 Thread Shawn Lin
Add external dma support for Synopsys MSHC Synopsys DesignWare mobile storage host controller supports three types of transfer mode: pio, internal dma and external dma. However, dw_mmc can only supports pio and internal dma now. Thus some platforms using dw-mshc integrated with generic dma can't w

[RFC PATCH v4 1/9] mmc: dw_mmc: Add external dma interface support

2015-08-05 Thread Shawn Lin
DesignWare MMC Controller can supports two types of DMA mode: external dma and internal dma. We get a RK312x platform integrated dw_mmc and ARM pl330 dma controller. This patch add edmac ops to support these platforms. I've tested it on RK312x platform with edmac mode and RK3288 platform with idmac

linux-next: manual merge of the akpm-current tree with the char-misc tree

2015-08-05 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: include/linux/kexec.h between commit: 2b94ed245861 ("kexec: define kexec_in_progress in !CONFIG_KEXEC case") from the char-misc tree and commit: 3d86985f695b ("kexec: split kexec_load syscall from kexec core

Re: [PATCH v2 1/3] mailbox/omap: Add ti,mbox-send-noirq quirk to fix AM33xx CPU Idle

2015-08-05 Thread Tony Lindgren
* Suman Anna [150805 08:35]: > Hi Tony, > > On 08/05/2015 05:28 AM, Tony Lindgren wrote: > > * Dave Gerlach [150717 13:59]: > >> --- a/Documentation/devicetree/bindings/mailbox/omap-mailbox.txt > >> +++ b/Documentation/devicetree/bindings/mailbox/omap-mailbox.txt > >> @@ -75,6 +75,14 @@ data tha

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

2015-08-05 Thread Scott Feldman
On Wed, Aug 5, 2015 at 10:44 PM, Vivien Didelot wrote: > 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/switch

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-08-05 Thread Tony Lindgren
* Kishon Vijay Abraham I [150805 07:59]: > Hi Tony, > > On Wednesday 05 August 2015 03:17 PM, Tony Lindgren wrote: > > * Kishon Vijay Abraham I [150727 04:27]: > >> vsel_reg and enable_reg of the pbias regulator descriptor should actually > >> have the offset from syscon. However after the pbias

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

2015-08-05 Thread Michael Ellerman
On Wed, 2015-08-05 at 20:50 -0700, Joe Perches wrote: > 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 Thanks. cheers -- To

Re: [PATCH v3 5/8] ARM: mediatek: add smp bringup code for MT6580

2015-08-05 Thread Sascha Hauer
On Wed, Aug 05, 2015 at 06:47:03PM +0200, Matthias Brugger wrote: > On Tuesday, August 04, 2015 09:54:21 PM Scott Shu wrote: > > Add support for cpu enable-method "mediatek,mt6580-smp" for booting > > secondary CPUs on MT6580. > > > > Signed-off-by: Scott Shu > > --- > > arch/arm/mach-mediatek/p

Re: [PATCH] jffs2: Remove NULL checks from jffs2_destroy_slab_caches

2015-08-05 Thread Julia Lawall
On Wed, 5 Aug 2015, Sergey Senozhatsky wrote: > > Hi, > > Cc Julia Lawall > > On (08/04/15 13:06), Brian Norris wrote: > > On Tue, Aug 04, 2015 at 08:46:30PM +0100, Salah Triki wrote: > > > kmem_cache_destroy can be called with NULL values. Thus, the checks that > > > precede the calls are us

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-05 Thread Krzysztof Kozlowski
On 06.08.2015 15:03, Vaibhav Hiremath wrote: > > > On Thursday 06 August 2015 05:28 AM, Krzysztof Kozlowski wrote: >> On 05.08.2015 17:45, Vaibhav Hiremath wrote: >>> >>> >>> On Thursday 23 July 2015 10:21 AM, Krzysztof Kozlowski wrote: 2015-07-22 1:23 GMT+09:00 Vaibhav Hiremath : >

Re: [PATCH-v2 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-05 Thread Vaibhav Hiremath
On Thursday 06 August 2015 05:28 AM, Krzysztof Kozlowski wrote: On 05.08.2015 17:45, Vaibhav Hiremath wrote: On Thursday 23 July 2015 10:21 AM, Krzysztof Kozlowski wrote: 2015-07-22 1:23 GMT+09:00 Vaibhav Hiremath : 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase

RE: about the time consuming kvm_vcpu_ioctl issue in rhel kernel

2015-08-05 Thread Li, Liang Z
Please Ignore the following message in the brace { 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. } The upstream kernel does not have such issue, only the rhel kerne

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 card

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: > > > O

[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(+) di

[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 dup

[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, crash_

[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 sm

[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 --- drivers/net/ethe

[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 Cc

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 wrote:

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 in

[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 - drivers/net/dsa/mv

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, b29983@freescale.c

[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 +--- driv

[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 di

[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 co

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) ] > > $ p

[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 -EN

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 Bonzin

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 description.

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 a

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; linux-kernel@vge

[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 1

[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 th

[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 would

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; > driverdev-de...@linuxdriver

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 instr

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 o

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 tr

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 > > wrote:

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 us

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 cleanly

[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 --- net/wimax/op-

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 body

[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 include/uapi/linu

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 g

[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 --- scr

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 64-

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. > > > > Signed-off-

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 ldt_s

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 /de

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 represe

[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 zynqmp_dma_all

[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 file

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 Q

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 a

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 irq_mask(

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 seqlock

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 WARN

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 wh

[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
mit fa362949e874 ("Merge branch '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 t

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. > > Thi

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; pbonz...@redhat.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 > C

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; ga...@codeaur

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: https://g

  1   2   3   4   5   6   7   8   9   10   >