Re: [PATCH 1/3] ftracetest: Use logfile name supported by busybox's mktemp

2014-11-05 Thread Masami Hiramatsu
(2014/11/06 11:04), Namhyung Kim wrote: When I run the ftracetest in a busybox docker container, I saw following error. Make the logfile template to comply with busybox's mktemp. It also keep the logfiles under the logs directory. # /linux/tools/testing/selftests/ftrace/ftracetest ===

Re: [PATCH 2/3] ftracetest: Clear trace buffer after running kprobe testcases

2014-11-05 Thread Masami Hiramatsu
(2014/11/06 11:04), Namhyung Kim wrote: The kprobe testcases create, use and delete dynamic events during the test but didn't clear the trace buffer so it'll leave the result after it finishes. # ./ftracetest ... # cat trace # tracer: nop # #

Re: [PATCH] include/linux/audit.h: Move dummy audit_file() from !AUDIT area to !AUDITSYSCALL area

2014-11-05 Thread Chen Gang
On 11/6/14 4:43, Paul Moore wrote: On Tuesday, November 04, 2014 11:09:52 PM Chen Gang wrote: audit_file() is related with AUDITSYSCALL, not related with AUDIT, so need move dummy one from !AUDIT area to !AUDITSYSCALL area. Or it will cause issue if CONFIG_AUDIT with !CONFIG_AUDITSYSCALL.

Re: [PATCH 00/13 v10] omap 8250 based UART + DMA

2014-11-05 Thread Greg KH
On Mon, Sep 29, 2014 at 08:06:36PM +0200, Sebastian Andrzej Siewior wrote: The queue is getting smaller. The highlights of v9…v10 - the DMA stall Frans Klaver reported which popped up in yocto is gone. It also seems that the ack the err-irq even if nothing happened in EDMA can be dropped.

Re: [PATCH net-next] r8152: disable the tasklet by default

2014-11-05 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Wed, 5 Nov 2014 10:17:02 +0800 Let the tasklet only be enabled after open(), and be disabled for the other situation. The tasklet is only necessary after open() for tx/rx, so it could be disabled by default. Signed-off-by: Hayes Wang

[PATCH 0/3] i2o: I2OPASSTHRU fix and cleanup

2014-11-05 Thread Ben Hutchings
i2o_cfg_passthru() provokes compiler warnings in 64-bit configurations. A very similar function in the same file, i2o_cfg_passthru32(), does not. Comparing the two, I found a DMA mapping leak in i2o_cfg_passthru32(), missing casts in i2o_cfg_passthru() and some other apparently arbitrary

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Alexandre Montplaisir
On 11/05/2014 01:50 PM, Sebastian Andrzej Siewior wrote: [...] If the trace events from both LTTng and perf represent the same thing (and I assume they should, since they come from the same tracepoints, right?), then we could just add a wrapper on the viewer side to decide which event/field

[PATCH 1/3] i2o: Fix DMA mapping leak in failure path of i2o_cfg_passthru32()

2014-11-05 Thread Ben Hutchings
If i2o_dma_alloc() fails then we don't free any DMA mappings already allocated. i2o_cfg_passthru() does not have this bug. Compile-tested only. Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/message/i2o/i2o_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 1/4] inet: Add skb_copy_datagram_iter

2014-11-05 Thread Al Viro
On Wed, Nov 05, 2014 at 04:57:19PM -0500, David Miller wrote: From: Al Viro v...@zeniv.linux.org.uk Date: Wed, 5 Nov 2014 21:07:45 + Ping me when you put it there, OK? I'll rebase the rest of old stuff on top of it (similar helpers, mostly). I just pushed it into net-next, thanks

[PATCH 2/3] i2o: Define i2o_cfg_passthru() and i2o_cfg_passthru32() consistently

2014-11-05 Thread Ben Hutchings
These functions are dealing with the same message structure regardless of the native word size, though there are some apparently arbitrary differences between them. i2o_cfg_passthru32() looks slightly more reasonable and has the necessary casts to make the compiler shut up about 32-bit virtual

Re: [Qemu-devel] [RFC PATCH] virtio-mmio: support for multiple irqs

2014-11-05 Thread Shannon Zhao
On 2014/11/5 23:27, Joel Schopp wrote: On 11/05/2014 03:12 AM, Shannon Zhao wrote: Hi Rémy, On 2014/11/5 16:26, GAUGUEY Rémy 228890 wrote: Hi Shannon, Type of backend bandwith(GBytes/sec) virtio-net 0.66 vhost-net 1.49 vhost-net with irqfd2.01

[PATCH 3/3] i2o: Delete the '64bit fix' comments from __i2o_cfg_passthru()

2014-11-05 Thread Ben Hutchings
We can't fix an API that is broken by definition. Signed-off-by: Ben Hutchings b...@decadent.org.uk --- drivers/message/i2o/i2o_config.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/message/i2o/i2o_config.c b/drivers/message/i2o/i2o_config.c index

Re: [PATCH] tty: serial: 8250_mtk: Fix quot calculation

2014-11-05 Thread Greg KH
On Fri, Oct 10, 2014 at 10:10:45AM +0200, Matthias Brugger wrote: 2014-10-09 23:52 GMT+02:00 Greg KH gre...@linuxfoundation.org: On Thu, Oct 09, 2014 at 06:23:31PM +0200, Matthias Brugger wrote: The calculation of value quot for highspeed register set to three was wrong. This patch fixes

Re: [PATCH] drm/panel: ld9040: Update calls to gpiod_get*()

2014-11-05 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 6:45 PM, Andrzej Hajda a.ha...@samsung.com wrote: On 10/23/2014 10:16 AM, Alexandre Courbot wrote: Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument)

Re: [PATCH] drm/panel: s6e8aa0: Update calls to gpiod_get*()

2014-11-05 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 6:46 PM, Andrzej Hajda a.ha...@samsung.com wrote: On 10/23/2014 10:16 AM, Alexandre Courbot wrote: Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument)

Re: [PATCH] drm/panel: simple: Update calls to gpiod_get*()

2014-11-05 Thread Alexandre Courbot
On Thu, Oct 23, 2014 at 5:16 PM, Alexandre Courbot acour...@nvidia.com wrote: Add the new flags argument to calls of (devm_)gpiod_get*() and remove any direction setting code afterwards. Currently both forms (with or without the flags argument) are valid thanks to transitional macros in

[PATCH 2/4] ARM: dts: sunxi: unify APB1 clock

2014-11-05 Thread Chen-Yu Tsai
From: Emilio López emi...@elopez.com.ar With the new factors infrastructure in place, we can unify apb1 and apb1_mux as a single clock now. Signed-off-by: Emilio López emi...@elopez.com.ar [w...@csie.org: Change apb1 node label to apb1; reword commit title] Signed-off-by: Chen-Yu Tsai

[PATCH 0/4] clk: sunxi: Unify sun4i apb1 clock

2014-11-05 Thread Chen-Yu Tsai
Hi everyone, This series unifies the apb1 clock driver for sun4i, which was previously split into apb1-mux and apb1. This also fixes the apb2 clock on sun6i/sun8i, which we now have documents for. The first 2 patches were done by Emilio. Patch 1 unifies the apb1-mux and apb1 clock drivers using

[PATCH 1/4] clk: sunxi: unify APB1 clock

2014-11-05 Thread Chen-Yu Tsai
From: Emilio López emi...@elopez.com.ar This commit unifies the APB1 mux with the APB1 clock, using the new factors infrastructure. Signed-off-by: Emilio López emi...@elopez.com.ar [w...@csie.org: Add mux mask bits] Signed-off-by: Chen-Yu Tsai w...@csie.org ---

[PATCH 3/4] ARM: dts: sunxi: Use sun4i-a10-apb1-clk for sun6i/sun8i apb2 clocks.

2014-11-05 Thread Chen-Yu Tsai
The apb2 clocks are actually the same as apb1 clocks on the other sunxi platforms, hence compatible with allwinner,sun4i-a10-apb1-clk. Update the dtsi to use the new unified apb1 clk. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/boot/dts/sun6i-a31.dtsi | 12 ++--

[PATCH 4/4] clk: sunxi: Removed unused/incorrect sun6i-a31-apb2-clk driver

2014-11-05 Thread Chen-Yu Tsai
This driver does not match the hardware, which is actually compatible to sun4i-a10-apb1-clk. Since we've switch to the correct one, drop this driver. Signed-off-by: Chen-Yu Tsai w...@csie.org --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 - drivers/clk/sunxi/clk-sunxi.c

Re: [PATCH -next v2 10/26] tty: Don't take tty_mutex for tty count changes

2014-11-05 Thread Greg Kroah-Hartman
On Wed, Nov 05, 2014 at 09:50:22PM -0500, Peter Hurley wrote: On 11/05/2014 09:39 PM, Peter Hurley wrote: On 11/05/2014 09:33 PM, Greg Kroah-Hartman wrote: On Wed, Nov 05, 2014 at 12:12:53PM -0500, Peter Hurley wrote: Holding tty_mutex is no longer required to serialize changes to the

Re: [PATCH 0/7] Pinctrl support for Zynq

2014-11-05 Thread Andreas Färber
Am 05.11.2014 um 18:03 schrieb Sören Brinkmann: On Wed, 2014-11-05 at 06:56AM +0100, Andreas Färber wrote: I've tracked down all 54 MIO pins of the Parallella and cooked up the equivalent DT patch. [...] For testing purposes I've configured a heartbeat trigger for the USER_LED (CR10). To my

[RFC][PATCH] x86: Make x32 syscall support conditional on a kernel parameter

2014-11-05 Thread Ben Hutchings
Enabling x32 in a distribution default kernel increases its attack surface while providing no benefit to the vast majority of its users. No-one seems interested in regularly checking for vulnerabilities specific to x32 (at least no-one with a white hat). Still, requiring a separate or custom

linux-next: manual merge of the usb-gadget tree with the usb tree

2014-11-05 Thread Stephen Rothwell
Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/chipidea/otg_fsm.c between commit 51f1741fcc16 (usb: chipidea: otg_fsm: delete unnecessary 'out of memory' messages) from the usb tree and commit ef44cb4226d1 (usb: allow to supply the PHY in the drivers when

Re: [Patch Part2 v4 20/31] PCI/MSI: Kill redundant calling for irq_set_msi_desc() for MSIx interrupts

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 6:32 PM, Yijing Wang wangyij...@huawei.com wrote: On 2014/11/6 6:45, Bjorn Helgaas wrote: On Tue, Nov 04, 2014 at 08:01:54PM +0800, Jiang Liu wrote: It's arch_setup_msi_irq()/arch_setup_msi_irqs()'s responsibility to call irq_set_msi_desc() to associate IRQ descriptors

Re: [PATCH V2 1/5] sched: idle: cpuidle: Check the latency req before idle

2014-11-05 Thread Preeti U Murthy
On 11/05/2014 07:58 PM, Daniel Lezcano wrote: On 10/29/2014 03:01 AM, Preeti U Murthy wrote: On 10/29/2014 12:29 AM, Daniel Lezcano wrote: On 10/28/2014 04:51 AM, Preeti Murthy wrote: Hi Daniel, On Thu, Oct 23, 2014 at 2:31 PM, Daniel Lezcano daniel.lezc...@linaro.org wrote: When the pmqos

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 6:48 PM, Liu, Chuansheng chuansheng@intel.com wrote: Hello Bjorn, -Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Thursday, November 06, 2014 3:04 AM To: Barto Cc: Liu, Chuansheng; Lu, Aaron; Tejun Heo; Rafael Wysocki;

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 6:58 PM, Yijing Wang wangyij...@huawei.com wrote: +{ +return (irq_hw_number_t)msidesc-msi_attrib.entry_nr | +PCI_DEVID(pdev-bus-number, pdev-devfn) 11 | +(pci_domain_nr(pdev-bus) 0x) 27; Where does this bit layout come from? Is

Re: [PATCH 0/7] Pinctrl support for Zynq

2014-11-05 Thread Sören Brinkmann
On Thu, 2014-11-06 at 04:51AM +0100, Andreas Färber wrote: Am 05.11.2014 um 18:03 schrieb Sören Brinkmann: On Wed, 2014-11-05 at 06:56AM +0100, Andreas Färber wrote: I've tracked down all 54 MIO pins of the Parallella and cooked up the equivalent DT patch. [...] For testing purposes I've

Re: [PATCH next] xen: pcifront: Process failure for pcifront_(re)scan_root()

2014-11-05 Thread Bjorn Helgaas
On Mon, Oct 06, 2014 at 11:04:45AM +0800, Chen Gang wrote: When pcifront_rescan_root() or pcifront_scan_root() fails, need return error code, neither set XenbusStateConnected state, just like the other areas have done. For pcifront_rescan_root(), it will return error code (num_roots = 0;,

Re: [Patch Part2 v4 20/31] PCI/MSI: Kill redundant calling for irq_set_msi_desc() for MSIx interrupts

2014-11-05 Thread Jiang Liu
On 2014/11/6 9:32, Yijing Wang wrote: On 2014/11/6 6:45, Bjorn Helgaas wrote: On Tue, Nov 04, 2014 at 08:01:54PM +0800, Jiang Liu wrote: It's arch_setup_msi_irq()/arch_setup_msi_irqs()'s responsibility to call irq_set_msi_desc() to associate IRQ descriptors and MSI descriptors, so kill the

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-05 Thread Kiran Raparthy
Hi Felipe, On 6 November 2014 01:10, Felipe Balbi ba...@ti.com wrote: On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode Some systems require a mechanism to

Re: [RESUBMIT PATCH v6 7/8] regulator: sky81452: Add compatible string for device binding

2014-11-05 Thread Gyungoh Yoo
On Tue, Nov 04, 2014 at 11:41:20AM +, Mark Brown wrote: On Tue, Nov 04, 2014 at 02:45:34PM +0900, Gyungoh Yoo wrote: On Tue, Nov 04, 2014 at 12:53:29AM +, Mark Brown wrote: I'm having a hard time understanding why it is difficult to split the two changes - they are in completely

Re: [PATCH 3/3] ftracetest: Add basic event tracing test cases

2014-11-05 Thread Masami Hiramatsu
(2014/11/06 11:04), Namhyung Kim wrote: This patch adds basic event tracing tests like enable/disable with top-level, subsystem-level and individual event files. # ./ftracetest === Ftrace unit tests === [1] Basic trace file check [PASS] [2] Basic trace clock test [PASS] [3]

linux-next: manual merge of the y2038 tree with the staging tree

2014-11-05 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c between commit ecdd21c7b982 (staging: ft1000: Whitespace neatening) from the staging tree and commit 4115d2b27a50 (staging: ft1000: Replace timeval and time_t with time64_t) from

Re: [RESUBMIT PATCH v6 7/8] regulator: sky81452: Add compatible string for device binding

2014-11-05 Thread Gyungoh Yoo
On Mon, Nov 03, 2014 at 10:45:39PM +0100, Paul Bolle wrote: On Fri, 2014-10-31 at 16:44 +, Mark Brown wrote: On Fri, Oct 31, 2014 at 04:08:41PM +0900, gyun...@gmail.com wrote: From: Gyungoh Yoo jack@skyworksinc.com Signed-off-by: Gyungoh Yoo jack@skyworksinc.com This

[PATCH net-next 0/3] r8152: rtl_ops_init modify

2014-11-05 Thread Hayes Wang
Initialize the ops through tp-version. This could skip checking each VID/PID. Hayes Wang (3): r8152: move r8152b_get_version r8152: modify rtl_ops_init r8152: remove the definitions of the PID drivers/net/usb/r8152.c | 92 + 1 file changed,

linux-next: manual merge of the y2038 tree with the staging tree

2014-11-05 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/ft1000/ft1000-usb/ft1000_debug.c between commit ecdd21c7b982 (staging: ft1000: Whitespace neatening) from the staging tree and commit 4115d2b27a50 (staging: ft1000: Replace timeval and time_t with time64_t) from

[PATCH net-next 2/3] r8152: modify rtl_ops_init

2014-11-05 Thread Hayes Wang
Replace using VID/PID with using tp-version to initialize the ops. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 79 ++--- 1 file changed, 28 insertions(+), 51 deletions(-) diff --git a/drivers/net/usb/r8152.c

[PATCH net-next 1/3] r8152: move r8152b_get_version

2014-11-05 Thread Hayes Wang
Move r8152b_get_version() to the location before rtl_ops_init(). Then, the rtl_ops_init() could use tp-version. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c

[PATCH net-next 3/3] r8152: remove the definitions of the PID

2014-11-05 Thread Hayes Wang
The PIDs are only used in the id table, so the definitions are unnacessary. Remove them wouldn't have confusion. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/net/usb/r8152.c

Re: [PATCHv2 3/5] mmc: shdci-bcm2835: add efficient back-to-back write workaround

2014-11-05 Thread Stephen Warren
On 11/04/2014 11:55 PM, Scott Branden wrote: On 14-11-04 08:57 PM, Stephen Warren wrote: On 10/30/2014 12:36 AM, Scott Branden wrote: The bcm2835 has clock domain issues when back to back writes to certain registers are written. The existing driver works around this issue with udelay. A

Re: [PATCHv2 5/5] mmc: sdhci-bcm2835: add sdhci quirk SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12

2014-11-05 Thread Stephen Warren
On 11/05/2014 12:02 AM, Scott Branden wrote: On 14-11-04 09:00 PM, Stephen Warren wrote: On 10/30/2014 12:36 AM, Scott Branden wrote: SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 is missing and needed for this controller. This seems fine, although any explanation of why this quirk is needed would be

Re: linux-next: manual merge of the y2038 tree with the staging tree

2014-11-05 Thread Stephen Rothwell
Hi Arnd, On Thu, 6 Nov 2014 15:48:15 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/ft1000/ft1000-usb/ft1000_debug.c between commit ecdd21c7b982 (staging: ft1000: Whitespace neatening) from the staging tree

[PATCH] x86: Drop redundant memory-block sizing code

2014-11-05 Thread Daniel J Blueman
Drop the unused code from selecting a fixed memory block size of 2GB on large-memory x86-64 systems. Signed-off-by: Daniel J Blueman dan...@numascale.com --- arch/x86/mm/init_64.c | 18 +- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/arch/x86/mm/init_64.c

Re: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-05 Thread Alexandre Montplaisir
Hi Mathieu, On 11/05/2014 06:21 PM, Mathieu Desnoyers wrote: [...] The cpu_id field change will be addressed soon on our side. Now, the remaining things: The domain = kernel thingy (or another identifier if desired) is something we could add. Unless the event data is exactly the same, it

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Yijing Wang
On 2014/11/6 12:10, Bjorn Helgaas wrote: On Wed, Nov 5, 2014 at 6:58 PM, Yijing Wang wangyij...@huawei.com wrote: +{ +return (irq_hw_number_t)msidesc-msi_attrib.entry_nr | +PCI_DEVID(pdev-bus-number, pdev-devfn) 11 | +(pci_domain_nr(pdev-bus) 0x) 27;

linux-next: manual merge of the y2038 tree with the v4l-dvb tree

2014-11-05 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the y2038 tree got a conflict in drivers/staging/media/lirc/lirc_sasem.c between commit f3a75505ab5f ([media] Staging: media: lirc: cleaned up packet dump in 2 files) from the v4l-dvb tree and commit db77d73bffbc (staging: media: lirc: Replace timeval with

Re: [RFC v5] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-11-05 Thread Felipe Balbi
On Thu, Nov 06, 2014 at 10:04:01AM +0530, Kiran Raparthy wrote: Hi Felipe, On 6 November 2014 01:10, Felipe Balbi ba...@ti.com wrote: On Tue, Nov 04, 2014 at 03:30:54PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB is

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Jiang Liu
On 2014/11/6 7:09, Bjorn Helgaas wrote: On Tue, Nov 04, 2014 at 08:01:55PM +0800, Jiang Liu wrote: In your topic: PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain There's no need to repeat PCI MSI. Please run git log --oneline drivers/pci/msi.c and make your similar

Re: linux-next: manual merge of the usb-gadget tree with the usb tree

2014-11-05 Thread Felipe Balbi
On Thu, Nov 06, 2014 at 02:58:32PM +1100, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/chipidea/otg_fsm.c between commit 51f1741fcc16 (usb: chipidea: otg_fsm: delete unnecessary 'out of memory' messages) from the usb tree

Re: linux-next: manual merge of the usb tree with the usb.current tree

2014-11-05 Thread Stephen Rothwell
Hi all, On Wed, 5 Nov 2014 18:19:34 -0800 Greg KH g...@kroah.com wrote: On Wed, Nov 05, 2014 at 09:33:33AM +0100, Paul Bolle wrote: On Tue, 2014-11-04 at 20:30 -0800, Greg KH wrote: On Wed, Nov 05, 2014 at 03:18:25PM +1100, Stephen Rothwell wrote: Today's linux-next merge of the usb

Re: [PATCHv2 4/5] mmc: shdci-bcm2835: add verify for 32-bit back-to-back workaround

2014-11-05 Thread Stephen Warren
On 11/05/2014 12:00 AM, Scott Branden wrote: On 14-11-04 08:59 PM, Stephen Warren wrote: On 10/30/2014 12:36 AM, Scott Branden wrote: Add a verify option to driver to print out an error message if a potential back to back write could cause a clock domain issue. index f8c450a..11af27f 100644

[git pull] vfs.git fixes

2014-11-05 Thread Al Viro
A fix for embarrassing braino in o2net_send_tcp_msg(). -stable fodder... Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-linus Shortlog: Al Viro (1): fix breakage in o2net_send_tcp_msg() Diffstat: fs/ocfs2/cluster/tcp.c |2

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Jiang Liu
On 2014/11/6 9:58, Yijing Wang wrote: @@ -1098,3 +1099,128 @@ int pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, return nvec; } EXPORT_SYMBOL(pci_enable_msix_range); + +#ifdef CONFIG_PCI_MSI_IRQ_DOMAIN Space, not tab. +static inline irq_hw_number_t

Re: [PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-05 Thread Stephen Warren
On 11/05/2014 04:45 PM, Matthias Klein wrote: The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the I2S interface. Tested-by: Stephen Warren swar...@nvidia.com (On a model B rev 2, UART, SD card, and enumeration of built-in USB devices works fine) Lee, how do you want to

Re: [PATCH v2] ARM: bcm2835: add device tree for Raspberry Pi model B+

2014-11-05 Thread Stephen Warren
On 11/05/2014 04:45 PM, Matthias Klein wrote: The model B and B+ differ in the GPIO lines for ACT and PWR leds, and the I2S interface. BTW, according to: http://raspberryalphaomega.org.uk/2013/02/06/automatic-raspberry-pi-board-revision-detection-model-a-b1-and-b2/ ... there are actually 2

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Bjorn Helgaas
On Wed, Nov 5, 2014 at 9:58 PM, Jiang Liu jiang@linux.intel.com wrote: On 2014/11/6 7:09, Bjorn Helgaas wrote: On Tue, Nov 04, 2014 at 08:01:55PM +0800, Jiang Liu wrote: +{ +return (irq_hw_number_t)msidesc-msi_attrib.entry_nr | +PCI_DEVID(pdev-bus-number, pdev-devfn) 11

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Barto
Hello Bjorn, in my bugreport I have already tried to add the JMicron 368 in the if statement and it didn't work, check my message here : https://bugzilla.kernel.org/show_bug.cgi?id=84861#c11 if Chuansheng has choosen a more generic way ( applying the patch to all JMicron devices ) it's because

RE: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Liu, Chuansheng
Hello Bjorn, -Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Thursday, November 06, 2014 12:09 PM To: Liu, Chuansheng Cc: Barto; Tejun Heo (t...@kernel.org); Lu, Aaron; Rafael Wysocki; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re:

Re: Re: [PATCH v4 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-11-05 Thread Masami Hiramatsu
(2014/11/06 11:15), Josh Stone wrote: On 11/05/2014 01:05 AM, Masami Hiramatsu wrote: [Off topic] I really don't like that the current SDT's semaphore. If the user apps see the instruction at the probe point, it is easy to check whether the event is enabled or not. Thus I recommend to

Re: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Aaron Lu
On 11/06/2014 01:29 PM, Liu, Chuansheng wrote: Hello Bjorn, -Original Message- From: Bjorn Helgaas [mailto:bhelg...@google.com] Sent: Thursday, November 06, 2014 12:09 PM To: Liu, Chuansheng Cc: Barto; Tejun Heo (t...@kernel.org); Lu, Aaron; Rafael Wysocki;

RE: [PATCH v2] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sharma, Sanjeev
-Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Wednesday, November 05, 2014 10:46 PM To: Sharma, Sanjeev Cc: larry.fin...@lwfinger.net; jes.soren...@redhat.com; gre...@linuxfoundation.org; linux-wirel...@vger.kernel.org; de...@driverdev.osuosl.org;

[PATCH] x86/mm: Give the correct initail value to the pmd_idx

2014-11-05 Thread Minfei Huang
The variable value is undefined from the stack eara. So it makes sense to init the variable to run process correctly. If the variable pmd_idx inits the value more than PTRS_PER_PMD, the count may be smaller than the correct value, and the allocated page may be not enough for pte entry. The

Re: [Patch Part2 v4 21/31] PCI/MSI: enhance PCI MSI core to support hierarchy irqdomain

2014-11-05 Thread Yijing Wang
On 2014/11/6 13:06, Jiang Liu wrote: On 2014/11/6 9:58, Yijing Wang wrote: @@ -1098,3 +1099,128 @@ int pci_enable_msix_range(struct pci_dev *dev, struct msix_entry *entries, return nvec; } EXPORT_SYMBOL(pci_enable_msix_range); + +#ifdefCONFIG_PCI_MSI_IRQ_DOMAIN Space, not

linux-next: build failure after merge of the akpm-current tree

2014-11-05 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: mm/fremap.c: In function 'SYSC_remap_file_pages': mm/fremap.c:241:22: error: 'struct address_space' has no member named 'i_mmap_mutex' mutex_lock(mapping-i_mmap_mutex);

[PATCH V2 2/5] xen: Delay m2p_override initialization

2014-11-05 Thread Juergen Gross
The m2p overrides are used to be able to find the local pfn for a foreign mfn mapped into the domain. They are used by driver backends having to access frontend data. As this functionality isn't used in early boot it makes no sense to initialize the m2p override functions very early. It can be

[PATCH V2 4/5] x86: Introduce function to get pmd entry pointer

2014-11-05 Thread Juergen Gross
Introduces lookup_pmd_address() to get the address of the pmd entry related to a virtual address in the current address space. This function is needed for support of a virtual mapped sparse p2m list in xen pv domains. Signed-off-by: Juergen Gross jgr...@suse.com ---

RE: [PATCH 1/2v6] procfs: show hierarchy of pid namespace

2014-11-05 Thread Chen, Hanxiao
-Original Message- From: Richard Weinberger [mailto:rich...@nod.at] Sent: Wednesday, November 05, 2014 8:52 PM To: Serge E. Hallyn Cc: Chen, Hanxiao/陈 晗霄; Eric W. Biederman; Serge Hallyn; Oleg Nesterov; contain...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Mateusz

[PATCH V2 0/5] xen: Switch to virtual mapped linear p2m list

2014-11-05 Thread Juergen Gross
Paravirtualized kernels running on Xen use a three level tree for translation of guest specific physical addresses to machine global addresses. This p2m tree is used for construction of page table entries, so the p2m tree walk is performance critical. By using a linear virtual mapped p2m list

[PATCH V2 3/5] xen: Delay invalidating extra memory

2014-11-05 Thread Juergen Gross
When the physical memory configuration is initialized the p2m entries for not pouplated memory pages are set to invalid. As those pages are beyond the hypervisor built p2m list the p2m tree has to be extended. This patch delays processing the extra memory related p2m entries during the boot

[PATCH V2 1/5] Xen: Delay remapping memory of pv-domain

2014-11-05 Thread Juergen Gross
Early in the boot process the memory layout of a pv-domain is changed to match the E820 map (either the host one for Dom0 or the Xen one) regarding placement of RAM and PCI holes. This requires removing memory pages initially located at positions not suitable for RAM and adding them later at

[PATCH V2 5/5] Xen: switch to linear virtual mapped sparse p2m list

2014-11-05 Thread Juergen Gross
At start of the day the Xen hypervisor presents a contiguous mfn list to a pv-domain. In order to support sparse memory this mfn list is accessed via a three level p2m tree built early in the boot process. Whenever the system needs the mfn associated with a pfn this tree is used to find the mfn.

ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Herbert Xu
On Thu, Nov 06, 2014 at 03:25:34AM +, Al Viro wrote: * there's some really weird stuff in there. Just what is this static int raw_probe_proto_opt(struct flowi4 *fl4, struct msghdr *msg) { It looks like newbie coding that's all. There's nothing tricky here as far as I can tell.

Re: [PATCH v3 0/2] dmaengine: Add driver documentation

2014-11-05 Thread Vinod Koul
On Tue, Oct 28, 2014 at 09:55:48PM +0100, Maxime Ripard wrote: Hi, This is the third attempt at documenting how to write a dmaengine driver. Applied all, thanks. Fixed minor typos in second one. Also we need to move dmatest.txt to new folder and also update MAINTAINERS, so applied with

Re: [PATCH 00/11] dmaengine: Cleanup chancnt

2014-11-05 Thread Vinod Koul
On Thu, Oct 16, 2014 at 11:00:52AM +0200, Maxime Ripard wrote: Hi everyone, As pointed out in the documentation thread [1], the chancnt variable is filled during the driver registration in dma_async_device_register, from the liste of channels that has been set. This serie removes the

Re: [PATCH v2 0/2] pinctrl: Intel Cherryview/Braswell support

2014-11-05 Thread Mika Westerberg
On Wed, Nov 05, 2014 at 01:44:24PM -0800, Olof Johansson wrote: Pinctrl setup has traditionally always been done by firmware on x86, and some ARM platforms are again moving back to that state (since reconfiguring pinctrl in the kernel is in some cases not safe). What's the purpose of

Re: [Patch Part2 v4 01/31] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-11-05 Thread Jiang Liu
On 2014/11/6 7:48, Thomas Gleixner wrote: On Tue, 4 Nov 2014, Jiang Liu wrote: /* Number of irqs reserved for a legacy isa controller */ #define NUM_ISA_INTERRUPTS 16 @@ -64,6 +66,16 @@ struct irq_domain_ops { int (*xlate)(struct irq_domain *d, struct device_node *node,

[PATCH] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following error. ERROR: spaces required around that '' (ctx:WxV) ERROR: that open brace { should be on the previous line Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 83

Re: [RFC PATCH V2] ACPI: Add _DEP(Operation Region Dependencies) support to fix battery issue on the Asus T100TA

2014-11-05 Thread Mika Westerberg
On Wed, Nov 05, 2014 at 10:55:23PM +0100, Rafael J. Wysocki wrote: On Wednesday, November 05, 2014 10:54:14 AM Mika Westerberg wrote: On Mon, Oct 27, 2014 at 11:09:44PM +0800, Lan Tianyu wrote: ACPI 5.0 introduces _DEP to designate device objects that OSPM should assign a higher priority

[PATCH v8 0/3] ARM: rk3288 : Add PM Domain support

2014-11-05 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. https://chromium-review.googlesource.com/#/c/220253/9 This is the GPU driver, add the following information in DT, and it can support the PMDOMAIN gpu: gpu@ffa3 {

[PATCH v8 2/3] dt-bindings: add document of Rockchip power domain

2014-11-05 Thread Caesar Wang
Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Changes in v8: - document go back to v2 Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in

[PATCH v8 1/3] power-domain: rockchip: add power domain drivers

2014-11-05 Thread Caesar Wang
In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power ot the whole chip. Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong

[PATCH v8 3/3] ARM: dts: add rk3288 power-domain node

2014-11-05 Thread Caesar Wang
Signed-off-by: Jack Dai jack@rock-chips.com Signed-off-by: jinkun.hong jinkun.h...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- Changes in v8: - DTS go back to v2 Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3:

Re: [PATCH 2/5] DMA: Remove .owner field for driver

2014-11-05 Thread Vinod Koul
On Wed, Sep 24, 2014 at 12:09:23PM +0530, Kiran Padwal wrote: There is no need to init .owner field. Based on the patch from Peter Griffin peter.grif...@linaro.org mmc: remove .owner field for drivers using module_platform_driver This patch removes the superflous .owner field for drivers

[PATCH] bridge: missing null bridge device check causing null pointer dereference (bugfix)

2014-11-05 Thread Su-Hyun Park
the bridge device can be null if the bridge is being deleted while processing the packet, which causes the null pointer dereference in switch statement. crash dump snippet: 1BUG: unable to handle kernel NULL pointer dereference at 0021 1IP: [814179f6]

[PATCH] staging:rtl8723au: core: Fix Warning reported by checkpatch.

2014-11-05 Thread Sanjeev Sharma
This is a patch to the rtw_cmd.c file that fixes following Warning by introducing temporary structure. WARNING: line over 80 characters Signed-off-by: Sanjeev Sharma sanjeev_sha...@mentor.com --- drivers/staging/rtl8723au/core/rtw_cmd.c | 123 +++ 1 file changed, 60

RE: [PATCH v2] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-11-05 Thread Sharma, Sanjeev
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Wednesday, November 05, 2014 9:58 PM To: Sharma, Sanjeev Cc: larry.fin...@lwfinger.net; jes.soren...@redhat.com; de...@driverdev.osuosl.org; linux-wirel...@vger.kernel.org; linux-kernel@vger.kernel.org Subject:

Re: [PATCH] regulator: adding disable options for regulator-always-on and regulator-boots-on

2014-11-05 Thread Hugh Kang
On 2014년 11월 05일 04:56, Mark Brown wrote: On Tue, Nov 04, 2014 at 05:20:11PM +0900, Hugh Kang wrote: Please fix your mailer to word wrap within paragraphs. I understand that I could make Rev.B with b.dtsi due to LDOs option is different. However, aim to use device tree is that making easy

RE: [PATCH] PCI: Do not enable async suspend for JMicron chips

2014-11-05 Thread Liu, Chuansheng
-Original Message- From: Lu, Aaron Sent: Thursday, November 06, 2014 1:37 PM To: Liu, Chuansheng; Bjorn Helgaas Cc: Barto; Tejun Heo (t...@kernel.org); Rafael Wysocki; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] PCI: Do not enable async suspend for

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Al Viro
On Thu, Nov 06, 2014 at 01:50:23PM +0800, Herbert Xu wrote: + /* We only need the first two bytes. */ + err = memcpy_fromiovecend((void *)icmph, msg-msg_iov, 0, 2); + if (err) + return err; + + fl4-fl4_icmp_type = icmph.type; + fl4-fl4_icmp_code = icmph.code;

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Herbert Xu
On Thu, Nov 06, 2014 at 06:43:18AM +, Al Viro wrote: On Thu, Nov 06, 2014 at 01:50:23PM +0800, Herbert Xu wrote: + /* We only need the first two bytes. */ + err = memcpy_fromiovecend((void *)icmph, msg-msg_iov, 0, 2); + if (err) + return err; + +

Re: [PATCH v5 2/8] phy: miphy28lp: Add PHY header file for DT x Driver defines

2014-11-05 Thread Kishon Vijay Abraham I
Hi, On Tuesday 04 November 2014 04:21 PM, Gabriel FERNANDEZ wrote: This provides the shared header file which will be reference from both PHY driver and its associated Device Tree node(s). Signed-off-by: Gabriel Fernandez gabriel.fernan...@linaro.org --- include/dt-bindings/phy/phy.h | 18

Re: [PATCH 1/2] clocksource: enable pxa_timer for SA-1100 platform

2014-11-05 Thread Dmitry Eremin-Solenikov
Hello, 2014-10-20 23:07 GMT+04:00 Arnd Bergmann a...@arndb.de: On Wednesday 15 October 2014 16:50:04 Dmitry Eremin-Solenikov wrote: SA-11x0 platform used the same IP block as was used on PXA. Consequently it makes sense to have only one driver. Enable pxa_timer clocksource for StrongARM

Re: [PATCH 04/10] libata: use __scsi_format_command()

2014-11-05 Thread Christoph Hellwig
On Tue, Nov 04, 2014 at 09:06:43AM +0100, Hannes Reinecke wrote: libata already uses an internal buffer, so we should be using __scsi_format_command() here. Looks good, Reviewed-by: Christoph Hellwig h...@lst.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH v4 5/5] perf/sdt: Add support to perf record to trace SDT events

2014-11-05 Thread Hemant Kumar
On 11/05/2014 02:35 PM, Masami Hiramatsu wrote: (2014/11/05 16:06), Namhyung Kim wrote: On Tue, 04 Nov 2014 21:56:53 +0900, Masami Hiramatsu wrote: Hi, (2014/11/04 17:06), Hemant Kumar wrote: Hi Namhyung, On 11/04/2014 01:08 PM, Namhyung Kim wrote: Hi Hemant, As you know, you need to

Re: [PATCH] bridge: missing null bridge device check causing null pointer dereference (bugfix)

2014-11-05 Thread Toshiaki Makita
On 2014/11/06 15:26, Su-Hyun Park wrote: the bridge device can be null if the bridge is being deleted while processing the packet, which causes the null pointer dereference in switch statement. How can this happen?? It is guarded by rcu. netdev_rx_handler_unregister() ensures rx_handler_data

Re: ipv4: Use standard iovec primitive in raw_probe_proto_opt

2014-11-05 Thread Al Viro
On Thu, Nov 06, 2014 at 02:46:29PM +0800, Herbert Xu wrote: On Thu, Nov 06, 2014 at 06:43:18AM +, Al Viro wrote: On Thu, Nov 06, 2014 at 01:50:23PM +0800, Herbert Xu wrote: + /* We only need the first two bytes. */ + err = memcpy_fromiovecend((void *)icmph, msg-msg_iov, 0, 2); + if

Re: [PATCH] PCI: fix sriov enabling with virtual bus

2014-11-05 Thread Yinghai Lu
On Wed, Nov 5, 2014 at 1:57 PM, Bjorn Helgaas bhelg...@google.com wrote: It's relatively common to start with a pci_dev and look for an ACPI handle that corresponds to that device or the closest enclosing scope, so maybe there should be a way to do that directly. For pci_get_hp_params(), I

<    5   6   7   8   9   10   11   12   13   14   >