linux-next: Tree for Jul 30

2013-07-30 Thread Stephen Rothwell
Hi all, Changes since 20130729: The ext4 tree still has its build failure so I used the version from next-20130726. The next-next tree lost its build failure but gained another for which I reverted a commit. The spi tree lost its build failure. The usb-gadget tree gained a conflict against

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Felipe Balbi
Hi, On Tue, Jul 30, 2013 at 10:44:48AM +0530, Kishon Vijay Abraham I wrote: On Mon, Jul 29, 2013 at 08:59:26PM +0530, Kishon Vijay Abraham I wrote: Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while creating MUSB core device. So in usb_bind_phy (binds the controller

Re: ALSA: hda - Add power-welll support for haswell HDA

2013-07-30 Thread Takashi Iwai
At Mon, 29 Jul 2013 16:12:08 -0400, Dave Jones wrote: On Tue, Jul 09, 2013 at 11:36:26PM +, Linux Kernel wrote: Gitweb: http://git.kernel.org/linus/;a=commit;h=99a2008d0b32d72dfc2a54e7be1eb698dd2e3bd6 Commit: 99a2008d0b32d72dfc2a54e7be1eb698dd2e3bd6 Parent:

Re: [PATCH v2] PCI: Reset PCIe devices to stop ongoing DMA

2013-07-30 Thread Takao Indoh
(2013/07/29 23:17), Bjorn Helgaas wrote: On Sun, Jul 28, 2013 at 6:37 PM, Takao Indoh indou.ta...@jp.fujitsu.com wrote: (2013/07/26 2:00), Bjorn Helgaas wrote: On Wed, Jul 24, 2013 at 12:29 AM, Takao Indoh indou.ta...@jp.fujitsu.com wrote: Sorry for letting this discussion slide, I was busy

Re: [PATCH v2 1/1] tracing: trace_remove_event_call() should fail if call/file is in use

2013-07-30 Thread Masami Hiramatsu
(2013/07/30 2:50), Oleg Nesterov wrote: Change trace_remove_event_call(call) to return the error if this call is active. This is what the callers assume but can't verify outside of the tracing locks. Both trace_kprobe.c/trace_uprobe.c need the additional changes, unregister_trace_probe()

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Kishon Vijay Abraham I
Hi, On Tuesday 30 July 2013 11:31 AM, Felipe Balbi wrote: Hi, On Tue, Jul 30, 2013 at 10:44:48AM +0530, Kishon Vijay Abraham I wrote: On Mon, Jul 29, 2013 at 08:59:26PM +0530, Kishon Vijay Abraham I wrote: Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while creating MUSB

Re: [PATCH 0/9] Add namespace support for syslog v2

2013-07-30 Thread Bruno Prémont
On Mon, 29 Jul 2013 11:58:23 -0700 Eric W. Biederman wrote: Rui Xiang rui.xi...@huawei.com writes: This patchset introduces a system log namespace. The largest outstanding question is not answered. Can't we just fix iptables to log somehwere better than dmesg, and would that not entirely

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Felipe Balbi
Hi, On Tue, Jul 30, 2013 at 11:41:23AM +0530, Kishon Vijay Abraham I wrote: diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 244d8a5..17bb076 100644 --- a/arch/arm/mach-omap2/board-2430sdp.c +++ b/arch/arm/mach-omap2/board-2430sdp.c @@

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Kishon Vijay Abraham I
Hi, On Tuesday 30 July 2013 11:48 AM, Felipe Balbi wrote: Hi, On Tue, Jul 30, 2013 at 11:41:23AM +0530, Kishon Vijay Abraham I wrote: diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 244d8a5..17bb076 100644 ---

Re: [PATCH v3] usb: phy-samsung-usb: Simplify PMU register handling

2013-07-30 Thread Felipe Balbi
On Mon, Jul 29, 2013 at 02:44:13PM -0700, Julius Werner wrote: This patch simplifies the way the phy-samsung-usb code finds the correct power management register to enable PHY clock gating. Previously, the code would calculate the register address from a device tree supplied base address and

Re: [PATCH v2] fs/ocfs2: use list_for_each_entry() instead of list_for_each()

2013-07-30 Thread Dong Fang
On 07/30/2013 01:01 AM, Jeff Liu wrote: Hi Dong, On 07/31/2013 12:00 AM, Dong Fang wrote: On 07/29/2013 04:06 AM, Dan Carpenter wrote: Oh. It appears that nothing changed between v1 and v2. Only the CC list. It's probably that the list moderation on ocfs2-devel was confusing for

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Felipe Balbi
Hi, On Tue, Jul 30, 2013 at 11:55:04AM +0530, Kishon Vijay Abraham I wrote: On Tue, Jul 30, 2013 at 11:41:23AM +0530, Kishon Vijay Abraham I wrote: diff --git a/arch/arm/mach-omap2/board-2430sdp.c b/arch/arm/mach-omap2/board-2430sdp.c index 244d8a5..17bb076 100644 ---

[GIT PULL] Small fbdev fixes for 3.11-rc

2013-07-30 Thread Tomi Valkeinen
Hi Linus, The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git tags/fbdev-fixes-3.11-rc2 for you to fetch changes up to

Re: [PATCH] race condition fixing in sysfs_create_dir

2013-07-30 Thread Dennis Chen
On 07/26/2013 09:38 PM, Tejun Heo wrote: Hello, On Fri, Jul 26, 2013 at 05:59:00PM +0800, Dennis Chen wrote: On 07/26/2013 05:49 PM, Dennis Chen wrote: The patch is trying its best to avoid creating a dir under a parent dir which is removing from the system: PATH0 (create a dir under

Re: Re: Re: [RFC PATCH 0/5] Add a hash value for each line in /dev/kmsg

2013-07-30 Thread Hidehiro Kawai
Hello, (2013/07/29 21:46), Kay Sievers wrote: On Mon, Jul 29, 2013 at 1:54 PM, Hidehiro Kawai hidehiro.kawai...@hitachi.com wrote: Also, I heard about the discussion at the kernel summit 2 years ago. According to the article of LWN, it seems that Linus objected your approach (i.e. adding

Re: [PATCH] dts: wandboard: Add support for SDIO bcm4329

2013-07-30 Thread Shawn Guo
On Sun, Jul 28, 2013 at 12:00:20PM +1200, Tony Prisk wrote: The wandboard has a Broadcom 4329 WiFi connected via SDIO. This patch sets the required pins to enable the wifi module. Signed-off-by: Tony Prisk li...@prisktech.co.nz Applied, thanks. -- To unsubscribe from this list: send the

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Kishon Vijay Abraham I
Hi, On Tuesday 30 July 2013 11:58 AM, Felipe Balbi wrote: Hi, On Tue, Jul 30, 2013 at 11:55:04AM +0530, Kishon Vijay Abraham I wrote: On Tue, Jul 30, 2013 at 11:41:23AM +0530, Kishon Vijay Abraham I wrote: diff --git a/arch/arm/mach-omap2/board-2430sdp.c

Re: RE: [PATCH v8 05/12] clk: exynos5250: add gate clock descriptions of System MMU

2013-07-30 Thread Mike Turquette
Quoting Cho KyongHo (2013-07-27 02:08:11) -Original Message- From: Mike Turquette [mailto:mturque...@linaro.org] Sent: Saturday, July 27, 2013 5:01 AM Quoting Cho KyongHo (2013-07-26 04:27:54) This adds gate clocks of all System MMUs and their master IPs that are not

[PATCH] mm/hotplug: remove unnecessary BUG_ON in __offline_pages()

2013-07-30 Thread Xishi Qiu
I think we can remove BUG_ON(start_pfn = end_pfn) in __offline_pages(), because in memory_block_action() nr_pages = PAGES_PER_SECTION * sections_per_block is always greater than 0. memory_block_action() offline_pages() __offline_pages()

Re: [PATCH V2 0/3] ARM: dts: omap5-uevm: fixup wrong regulator configuration

2013-07-30 Thread Tony Lindgren
* Benoit Cousson benoit.cous...@gmail.com [130729 15:24]: Hi Nishanth, Thanks for the quick update. On 29/07/2013 19:03, Nishanth Menon wrote: Due to wrong older revision of documentation used as reference, we seem to have a bunch of LDOs wrongly configured on OMAP5 uEVM. This series

Re: [PATCH 4/9] dma: edma: Find missed events and issue them

2013-07-30 Thread Sekhar Nori
On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: In an effort to move to using Scatter gather lists of any size with EDMA as discussed at [1] instead of placing limitations on the driver, we work through the limitations of the EDMAC hardware to find missed events and issue them. The

Re: [PATCH 1/4] usb: phy: rename nop_usb_xceiv = usb_phy_gen_xceiv

2013-07-30 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [130729 05:27]: On Fri, Jul 26, 2013 at 10:15:54PM +0200, Sebastian Andrzej Siewior wrote: The nop driver isn't a do-nothing-stub but supports a couple functions like clock on/off or is able to use a voltage regulator. This patch simply renames the driver to

Re: [RFC PATCH - diffstat only] include/net: Remove extern from function prototypes

2013-07-30 Thread David Miller
From: Joe Perches j...@perches.com Date: Tue, 23 Jul 2013 10:58:11 -0700 Function prototypes don't need to be declared extern in .h files. It's assumed by the compiler and is as unnecessary as using auto is when declaring automatic/local variables in a block. I ran a script to remove

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-07-30 Thread Felipe Balbi
On Sun, Jul 21, 2013 at 08:46:53AM -0700, Greg KH wrote: On Sun, Jul 21, 2013 at 01:12:07PM +0200, Tomasz Figa wrote: On Sunday 21 of July 2013 16:37:33 Kishon Vijay Abraham I wrote: Hi, On Sunday 21 July 2013 04:01 PM, Tomasz Figa wrote: Hi, On Saturday 20 of July 2013

Re: [PATCH] drivers: power: reset: add msm restart support

2013-07-30 Thread Ivan T. Ivanov
Hi, On Mon, 2013-07-29 at 15:28 -0700, Abhimanyu Kapur wrote: Add support for restart and poweroff functionality present on MSM chipsets with the MPM2 ps-hold hardware. Signed-off-by: Abhimanyu Kapur abhim...@codeaurora.org --- .../bindings/power_supply/msm-poweroff.txt | 17

[PATCH] arch: *: Kconfig: add kernel/Kconfig.freezer to arch/*/Kconfig

2013-07-30 Thread Chen Gang
All architectures include kernel/Kconfig.freezer except three left, so let them include it too, or 'allmodconfig' will report error. The related errors: (with allmodconfig for openrisc): CC kernel/cgroup_freezer.o kernel/cgroup_freezer.c: In function 'freezer_css_online':

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Felipe Balbi
Hi, On Tue, Jul 30, 2013 at 12:16:20PM +0530, Kishon Vijay Abraham I wrote: the list of controller device (names) it can support (PHY framework does not maintain a separate list for binding like how we had in USB PHY library). e.g.

RE: [PATCH] lib: Add CRC64 ECMA module

2013-07-30 Thread Chereji Marian-Cornel-R27762
-Original Message- From: Andrew Morton [mailto:a...@linux-foundation.org] Sent: Saturday, July 27, 2013 1:01 AM To: Chereji Marian-Cornel-R27762 Cc: linux-kernel@vger.kernel.org; Grigore Sebastian-SGRIGOR1; Schmitt Richard-B43082; Fleming Andy-AFLEMING Subject: Re: [PATCH] lib:

[PATCH trivial] include/linux/coda.h: remove useless '#else'

2013-07-30 Thread Chen Gang
'#else' is useless, need remove. Signed-off-by: Chen Gang gang.c...@asianux.com --- include/linux/coda.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/linux/coda.h b/include/linux/coda.h index cff544f..d30209b 100644 --- a/include/linux/coda.h +++

call_usermodehelper() returns -513 when ocfs2 umounting filesystems

2013-07-30 Thread Xue jiufei
Hi, We have encountered an error when umounting ocfs2 filesystems. Function ocfs2_leave_group() calls call_usermodehelper() to stop heartbeat thread, but it returns -513(ERESTARTNOINTR) in one test. And after that error, every times umounting the filesystem, it returns the same error. And at the

Re: [PATCH 1/4] usb: phy: rename nop_usb_xceiv = usb_phy_gen_xceiv

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 09:08 AM, Tony Lindgren wrote: Looking at this patch there's a pretty high probability of introducing pointless merge conflicts. How about do the platform data related changes as a separate follow-up series? You can typically do this by keeping the old features around, then

Re: [PATCH v2 1/4] usb: phy: phy-omap-control: Add API to power and wakeup

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 06:53 AM, George Cherian wrote: Control module have 2 separate registers for phy on/off per instance (offset 0x620 and 0x628), where as wkup_ctrl is a shared control module register (offset 0x648). Currently the control module driver maps memory from 0x620 till beyond 0x648

Re: [RFC PATCH - diffstat only] include/net: Remove extern from function prototypes

2013-07-30 Thread Stephen Rothwell
Hi Joe, On Tue, 30 Jul 2013 00:10:01 -0700 (PDT) David Miller da...@davemloft.net wrote: From: Joe Perches j...@perches.com Date: Tue, 23 Jul 2013 10:58:11 -0700 Function prototypes don't need to be declared extern in .h files. It's assumed by the compiler and is as unnecessary as

Re: [PATCH v2] staging/lustre: lloop depends on BLOCK

2013-07-30 Thread Peng Tao
On Tue, Jul 30, 2013 at 8:29 AM, Xiong Zhou jencce.ker...@gmail.com wrote: From: Xiong Zhou jencce.ker...@gmail.com In the lustre client driver, lloop depends on BLOCK. Add an option for this dependence. Last version of this patch makes LUSTRE_FS depends on BLOCK. Remove unnecessary jdb head

Re: [PATCH resend] drop_caches: add some documentation and info message

2013-07-30 Thread Michal Hocko
On Mon 29-07-13 13:57:43, Andrew Morton wrote: On Fri, 26 Jul 2013 14:44:29 +0200 Michal Hocko mho...@suse.cz wrote: [...] --- a/fs/drop_caches.c +++ b/fs/drop_caches.c @@ -59,6 +59,8 @@ int drop_caches_sysctl_handler(ctl_table *table, int write, if (ret) return ret;

[RFC PATCH 00/10] Improve numa scheduling by consolidating tasks

2013-07-30 Thread Srikar Dronamraju
Here is an approach that looks to consolidate workloads across nodes. This results in much improved performance. Again I would assume this work is complementary to Mel's work with numa faulting. Here are the advantages of this approach. 1. Provides excellent consolidation of tasks. From my

[RFC PATCH 02/10] sched: Use numa weights while migrating tasks

2013-07-30 Thread Srikar Dronamraju
While migrating a task, check if moving it improves consolidation. However make sure that such a movement doesnt offset fairness or create imbalance in the nodes. Signed-off-by: Srikar Dronamraju sri...@linux.vnet.ibm.com --- include/linux/sched.h |1 + kernel/sched/core.c |1 +

[RFC PATCH 01/10] sched: Introduce per node numa weights

2013-07-30 Thread Srikar Dronamraju
Load balancer spreads the load evenly for fairness and for maintaining balance across different domains. However where possible related tasks could be scheduled in the same domain (esp at node domains) to allow tasks to have more local accesses. This consolidation can be done without affecting

[RFC PATCH 03/10] sched: Select a better task to pull across node using iterations

2013-07-30 Thread Srikar Dronamraju
While selecting a task to pull across a node, try to choose a task that improves locatity. i.e choose a task that has more affinity to the destination node. To achieve this, parse the list of tasks in multiple iterations. For now choose just two iterations. In the first iteration, a task is

[RFC PATCH 07/10] sched: Pass hint to active balancer about the task to be chosen

2013-07-30 Thread Srikar Dronamraju
If a task to be active balanced, which improves the numa affinity is already chosen, then pass the task to the actual migration. This helps in 2 ways. - Dont have to iterate through the list of tasks and again chose a task. - If the chosen task has already moved out of runqueue, avoid moving

[RFC PATCH 06/10] sched: Limit migrations from a node

2013-07-30 Thread Srikar Dronamraju
While tasks are being moved from one node to another, run-queue's look at nodes that have least numa affinity. However this can lead to more requests to pull tasks from a single node than the available non-local tasks on that node. Add a counter that limits the number of simultaneous migrations.

[RFC PATCH 05/10] sched: Extend idle balancing to look for consolidation of tasks

2013-07-30 Thread Srikar Dronamraju
If the cpu is idle even after a regular load balance, then try to move a task from another node to this node, such that node locality improves. While choosing a task to pull, choose a task/address-space from the currently running set of tasks on this node. Make sure that the chosen address-space

[RFC PATCH 04/10] sched: Move active_load_balance_cpu_stop to a new helper function

2013-07-30 Thread Srikar Dronamraju
Due to the way active_load_balance_cpu gets called and the parameters passed to it, the active_load_balance_cpu_stop call gets split into multiple lines. Instead move it into a separate helper function. this is a cleanup change. No functional changes. Signed-off-by: Srikar Dronamraju

[RFC PATCH 08/10] sched: Prevent a task from migrating immediately after an active balance

2013-07-30 Thread Srikar Dronamraju
Once a task has been carefully chosen to be migrated to a destination node from a source node, try to avoid some other cpus moving this task away from the destinagtion node. If not, tasks might end up being in a ping-pong; one cpu pulling it because of numa affinity, the other cpu pulling it for

[RFC PATCH 10/10] x86, mm: Prevent gcc to re-read the pagetables

2013-07-30 Thread Srikar Dronamraju
From: Andrea Arcangeli aarca...@redhat.com GCC is very likely to read the pagetables just once and cache them in the local stack or in a register, but it is can also decide to re-read the pagetables. The problem is that the pagetable in those places can change from under gcc. In the page fault

[RFC PATCH 09/10] sched: Choose a runqueue that has lesser local affinity tasks

2013-07-30 Thread Srikar Dronamraju
While migrating tasks to a different node, choosing the busiest runqueue may not always be the right choice. The busiest runqueue might have tasks that are already consolidated. Choosing such a runqueue might actually lead to more performance impact. Alternatively choose a runqueue that has less

Re: [RFC PATCH - diffstat only] include/net: Remove extern from function prototypes

2013-07-30 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Tue, 30 Jul 2013 17:38:00 +1000 I must admit I prefer the other way (i.e. with the explicit extern). If nothing else it makes it consistent with variable declarations in header files (which need the extern) and static inlines ... Making

Re: [RFC][PATCH 2/2] ARM64: introduce cluster id and make a difference between socket id

2013-07-30 Thread Hanjun Guo
On 2013-7-29 17:38, Vincent Guittot wrote: On 27 July 2013 12:42, Hanjun Guo hanjun@linaro.org wrote: In the cpu topology information, we define topology_physical_package_id() as cpu socket id, which means that the socket id is the idenfication for physical processor, not for a cluster in

Re: [RFC][PATCH 1/2] ARM64: add cpu topology definition

2013-07-30 Thread Hanjun Guo
On 2013-7-29 17:46, Vincent Guittot wrote: On 27 July 2013 12:42, Hanjun Guo hanjun@linaro.org wrote: Power aware scheduling needs the cpu topology information to improve the cpu scheduler decision making. It's not only power aware scheduling. The scheduler already uses topology and

Re: [PATCH v2 1/2] uio: provide vm access to UIO_MEM_PHYS maps

2013-07-30 Thread Uwe Kleine-König
[expanding Cc: to also include akpm and linux-mm] Hello, On Mon, Jul 29, 2013 at 01:09:14PM -0700, Greg Kroah-Hartman wrote: On Sun, Jul 28, 2013 at 12:09:37AM +0200, Uwe Kleine-König wrote: This makes it possible to let gdb access mappings of the process that is being debugged.

[PATCH 01/35] backlight: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/88pm860x_bl.c|2 +- drivers/video/backlight/aat2870_bl.c |2 +-

Re: [PATCH 1/4] usb: phy: rename nop_usb_xceiv = usb_phy_gen_xceiv

2013-07-30 Thread Tony Lindgren
* Sebastian Andrzej Siewior bige...@linutronix.de [130730 00:41]: On 07/30/2013 09:08 AM, Tony Lindgren wrote: Looking at this patch there's a pretty high probability of introducing pointless merge conflicts. How about do the platform data related changes as a separate follow-up

[PATCH 02/35] rtc: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-88pm80x.c |8 drivers/rtc/rtc-88pm860x.c|2 +- drivers/rtc/rtc-cmos.c|2 +-

[PATCH 03/35] watchdog: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/watchdog/iTCO_wdt.c |2 +- drivers/watchdog/mv64x60_wdt.c |2 +- drivers/watchdog/omap_wdt.c |3

Re: [PATCH] bluetooth: remove wrong dependency for BT_ATH3K

2013-07-30 Thread Hector Palacios
Hi Marcel, On 07/29/2013 06:43 PM, Marcel Holtmann wrote: Hi Hector, The Atheros firmware download driver is not dependent on HCI USB driver. This driver is needed to complement any Atheros driver like BT_HCIUART_ATH3K. Signed-off-by: Hector Palacios hector.palac...@digi.com CC: Suraj

Re: [PATCH 0/8] perf: add ability to sample physical data addresses

2013-07-30 Thread Stephane Eranian
On Mon, Jul 8, 2013 at 10:19 AM, Peter Zijlstra pet...@infradead.org wrote: On Sat, Jul 06, 2013 at 12:48:48AM +0200, Stephane Eranian wrote: So, I tried on an example using shmat(). I map the same shared segment twice in the same process. Then I fork(): I see this in /proc/PID/maps:

Re: [PATCH 4/4] ARM: dove: add initial DT file for Globalscale D2Plug

2013-07-30 Thread Sebastian Hesselbarth
On 07/29/2013 08:45 PM, Andrew Lunn wrote: On Mon, Jul 29, 2013 at 02:29:06PM +0200, Sebastian Hesselbarth wrote: This adds an initial DT file for the Globalscale D2Plug with Dove SoC. Currently, one LED is missing and I have not been able to get SD8787 driver working. Those will be taken care

[PATCH 17/35] dma: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/dma/imx-sdma.c|2 +- drivers/dma/iop-adma.c|6 +++--- drivers/dma/mv_xor.c |2 +- drivers/dma/pl330.c

[PATCH 18/35] mfd: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/mfd/88pm800.c |2 +- drivers/mfd/88pm805.c |2 +- drivers/mfd/88pm860x-core.c |2 +-

Re: [RFC][PATCH 1/2] ARM64: add cpu topology definition

2013-07-30 Thread Hanjun Guo
On 2013-7-29 21:36, Dave Martin wrote: On Mon, Jul 29, 2013 at 10:54:01AM +0100, Will Deacon wrote: On Mon, Jul 29, 2013 at 10:46:06AM +0100, Vincent Guittot wrote: On 27 July 2013 12:42, Hanjun Guo hanjun@linaro.org wrote: Power aware scheduling needs the cpu topology information to

[PATCH 19/35] extcon: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/extcon/extcon-adc-jack.c |2 +- drivers/extcon/extcon-gpio.c |2 +- drivers/extcon/extcon-palmas.c |2 +- 3 files

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Kishon Vijay Abraham I
On Tuesday 30 July 2013 12:46 PM, Felipe Balbi wrote: Hi, On Tue, Jul 30, 2013 at 12:16:20PM +0530, Kishon Vijay Abraham I wrote: the list of controller device (names) it can support (PHY framework does not maintain a separate list for binding like how we had in USB PHY library). e.g.

[PATCH] mutex: fix deadlock injection

2013-07-30 Thread Maarten Lankhorst
The check needs to be for 1, because ctx-acquired is already incremented. This will prevent ww_mutex_lock_slow from returning -EDEADLK and not locking the mutex. It caused a lot of false gpu lockups on radeon with CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y because a function that shouldn't be able to

Re: [RFC][PATCH 3/4] tracing/kprobes: Fail to unregister if probe event files are open

2013-07-30 Thread Masami Hiramatsu
(2013/07/04 12:33), Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org When one of the event files is opened, we need to prevent them from being removed. Modules do with with the module owner set (automated from the VFS layer). The ftrace buffer instances have a ref

Re: [PATCH 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-07-30 Thread Felipe Balbi
On Tue, Jul 30, 2013 at 01:41:23PM +0530, Kishon Vijay Abraham I wrote: On Tuesday 30 July 2013 12:46 PM, Felipe Balbi wrote: Hi, On Tue, Jul 30, 2013 at 12:16:20PM +0530, Kishon Vijay Abraham I wrote: the list of controller device (names) it can support (PHY framework does not

[PATCH RFC 0/3] Per-process power consumption measurement facility

2013-07-30 Thread Konstantin Krivyakin
This patchset adds per-process power consumption measurement facility. Power consumption is very important on mobile platforms. This code allows to measure consumed power in Watts*Hours. The consumed power for process is updated on scheduler switch and depends on current CPU voltage and frequency.

Re: [PATCH v3 3/4] hwmon: (lm90) add support to handle IRQ

2013-07-30 Thread Wei Ni
On 07/29/2013 11:58 PM, Jean Delvare wrote: Hi Wei, On Mon, 29 Jul 2013 18:14:56 +0800, Wei Ni wrote: On 07/27/2013 11:02 PM, Jean Delvare wrote: On Fri, 19 Jul 2013 14:41:54 +0800, Wei Ni wrote: 2. The pin ALERT/THERM2 is configured as ALERT, and it is connected to the interrupt line.

[PATCH RFC 2/3] Add power consumption counter in task_struct.

2013-07-30 Thread Konstantin Krivyakin
Signed-off-by: Konstantin Krivyakin k.krivya...@samsung.com --- include/linux/sched.h |2 ++ include/uapi/linux/taskstats.h |2 ++ kernel/fork.c |1 + kernel/sched/core.c|8 kernel/sched/cputime.c | 11 +++

Re: [RFC PATCH 00/10] Improve numa scheduling by consolidating tasks

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 01:18:15PM +0530, Srikar Dronamraju wrote: Here is an approach that looks to consolidate workloads across nodes. This results in much improved performance. Again I would assume this work is complementary to Mel's work with numa faulting. I highly dislike the use of task

[PATCH 33/35] power: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/power/88pm860x_battery.c|2 +- drivers/power/ab8500_btemp.c|2 +- drivers/power/ab8500_charger.c |2 +-

[PATCH RFC 3/3] Update current cpu power when cpu freq change for exynos.

2013-07-30 Thread Konstantin Krivyakin
Signed-off-by: Konstantin Krivyakin k.krivya...@samsung.com --- drivers/cpufreq/exynos-cpufreq.c |2 ++ drivers/cpufreq/exynos-cpufreq.h |1 + drivers/cpufreq/exynos4x12-cpufreq.c | 19 ++- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git

Re: memcg creates an unkillable task in 3.11-rc2

2013-07-30 Thread Eric W. Biederman
Li Zefan lize...@huawei.com writes: I am also seeing what looks like a leak somewhere in the cgroup code as well. After some runs of the same reproducer I get into a state where after everything is clean up. All of the control groups have been removed and the cgroup filesystem is unmounted,

Re: [RFC PATCH 00/10] Improve numa scheduling by consolidating tasks

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 10:17:55AM +0200, Peter Zijlstra wrote: On Tue, Jul 30, 2013 at 01:18:15PM +0530, Srikar Dronamraju wrote: Here is an approach that looks to consolidate workloads across nodes. This results in much improved performance. Again I would assume this work is complementary

[PATCH 34/35] regulator: use dev_get_platdata()

2013-07-30 Thread Jingoo Han
Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/regulator/88pm800.c|2 +- drivers/regulator/88pm8607.c |2 +- drivers/regulator/aat2870-regulator.c

[PATCH RFC 1/3] Add interface to receive current cpu power

2013-07-30 Thread Konstantin Krivyakin
Signed-off-by: Konstantin Krivyakin k.krivya...@samsung.com --- drivers/cpufreq/cpufreq.c | 17 + include/linux/cpufreq.h |6 ++ 2 files changed, 23 insertions(+) diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 6a015ad..4180e89 100644 ---

Re: [PATCH resend] drop_caches: add some documentation and info message

2013-07-30 Thread Andrew Morton
On Tue, 30 Jul 2013 09:45:31 +0200 Michal Hocko mho...@suse.cz wrote: On Mon 29-07-13 13:57:43, Andrew Morton wrote: On Fri, 26 Jul 2013 14:44:29 +0200 Michal Hocko mho...@suse.cz wrote: [...] --- a/fs/drop_caches.c +++ b/fs/drop_caches.c @@ -59,6 +59,8 @@ int

[PATCH v3 3/3] net/usb/r8152: adjust relative ocp function

2013-07-30 Thread Hayes Wang
- fix the conversion between cpu and __le32 - replace some pla_ocp and usb_ocp functions with generic_ocp function Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 66 + 1 file changed, 23 insertions(+), 43

[PATCH v3 1/3] net/usb/r815x: replace USB buffer from stack to DMA-able

2013-07-30 Thread Hayes Wang
Allocate the transfer buffer in probe(), and use the buffer for usb control transfer. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r815x.c | 117 +--- 1 file changed, 90 insertions(+), 27 deletions(-) diff --git

[PATCH v3 2/3] net/usb/r8152: replace USB buffer from stack to DMA-able

2013-07-30 Thread Hayes Wang
Allocate the required transfer buffer for usb_control_msg. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/usb/r8152.c | 91 +++-- 1 file changed, 66 insertions(+), 25 deletions(-) diff --git a/drivers/net/usb/r8152.c

Re: [PATCH 7/9] ARM: edma: Don't clear EMR of channel in edma_stop

2013-07-30 Thread Sekhar Nori
On Monday 29 July 2013 06:59 PM, Joel Fernandes wrote: We certainly don't want error conditions to be cleared anywhere 'anywhere' is a really loaded term. as this will make us 'forget' about missed events. We depend on knowing which events were missed in order to be able to reissue them.

[PATCH] host1x: hdmi: Make sure clock is enabled before dumping registers

2013-07-30 Thread Mikko Perttunen
The debugfs register dumping function did not enable the HDMI clock. This led to a possible system hang when reading the debugfs entry while no HDMI cable was connected to the system. This patch makes sure that the clock is enabled during the read. Signed-off-by: Mikko Perttunen

Re: [PATCH 0/8] perf: add ability to sample physical data addresses

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 10:02:01AM +0200, Stephane Eranian wrote: Ahh. We don't put the useful bits in the mmap event; we'll need to fix that too then ;-) Doing so is going to be a bit of a bother since we use the tail of PERF_RECORD_MMAP for filenames and thus aren't particularly

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-07-30 Thread Maxime Ripard
On Mon, Jul 29, 2013 at 10:35:03PM -0600, Grant Likely wrote: User acquires a machine running ARM Linux version 3.x, with u-boot and dtb in a read only flash partition. The board boots and works just fine. However, for his application, the user requires a new kernel feature that appeared

Re: [PATCH] mutex: fix deadlock injection

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 10:13:41AM +0200, Maarten Lankhorst wrote: The check needs to be for 1, because ctx-acquired is already incremented. This will prevent ww_mutex_lock_slow from returning -EDEADLK and not locking the mutex. It caused a lot of false gpu lockups on radeon with

Re: [PATCH v2] generic-ipi: kill unnecessary variable - csd_flags

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 11:06:09AM +0800, Xie XiuQi wrote: After commit:8969a5ede0f9e17da4b943712429aef2c9bcd82b generic-ipi: remove kmalloc(), wait = 0 can be guaranteed. And all callsites of generic_exec_single() do an unconditional csd_lock() now. So csd_flags is unnecessary now.

Re: [PATCH 4/4] ARM: dove: add initial DT file for Globalscale D2Plug

2013-07-30 Thread Andrew Lunn
On Tue, Jul 30, 2013 at 10:03:56AM +0200, Sebastian Hesselbarth wrote: On 07/29/2013 08:45 PM, Andrew Lunn wrote: On Mon, Jul 29, 2013 at 02:29:06PM +0200, Sebastian Hesselbarth wrote: This adds an initial DT file for the Globalscale D2Plug with Dove SoC. Currently, one LED is missing and I

[char-misc 3.11] mei: me: fix hardware reset flow

2013-07-30 Thread Tomas Winkler
Both H_IS and H_IE needs to be set to receive H_RDY interrupt 1. Assert H_IS to clear the interrupts during hw reset and use mei_me_reg_write instead of mei_hcsr_set as the later strips down the H_IS 2. fix interrupt disablement embarrassing typo hcsr |= ~H_IE - hcsr = ~H_IE; this will remove

Re: Enable arm_global_timer for Zynq brakes boot

2013-07-30 Thread Daniel Lezcano
On 07/30/2013 02:03 AM, Sören Brinkmann wrote: Hi Daniel, On Mon, Jul 29, 2013 at 02:51:49PM +0200, Daniel Lezcano wrote: (snip) the CPUIDLE_FLAG_TIMER_STOP flag tells the cpuidle framework the local timer will be stopped when entering to the idle state. In this case, the cpuidle

Re: [PATCH resend] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-30 Thread Simon Horman
[ Cc Vinod ] On Tue, Jul 23, 2013 at 11:12:41PM -0700, Kuninori Morimoto wrote: sh_desc-hw.tcr is controlling real data size, and, register TCR is controlling data transfer count which was xmit_shifted value of hw.tcr. Current sh_dmae_get_partial() is calculating in different unit. This

Re: call_usermodehelper() returns -513 when ocfs2 umounting filesystems

2013-07-30 Thread Xue jiufei
On 2013/7/30 15:30, Xue jiufei wrote: Hi, We have encountered an error when umounting ocfs2 filesystems. Function ocfs2_leave_group() calls call_usermodehelper() to stop heartbeat thread, but it returns -513(ERESTARTNOINTR) in one test. And after that error, every times umounting the

Re: [PATCH 0/8] perf: add ability to sample physical data addresses

2013-07-30 Thread Stephane Eranian
On Tue, Jul 30, 2013 at 10:37 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Jul 30, 2013 at 10:02:01AM +0200, Stephane Eranian wrote: Ahh. We don't put the useful bits in the mmap event; we'll need to fix that too then ;-) Doing so is going to be a bit of a bother since we use

Re: Build regressions/improvements in v3.11-rc3

2013-07-30 Thread Geert Uytterhoeven
On Tue, 30 Jul 2013, Geert Uytterhoeven wrote: JFYI, when comparing v3.11-rc3 to v3.11-rc2[3], the summaries are: - build errors: +38/-14 + arch/powerpc/kvm/book3s_emulate.c: error: 'bat' may be used uninitialized in this function [-Werror=uninitialized]: = 349:2 +

Re: [PATCH RFC 0/3] Per-process power consumption measurement facility

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 12:17:36PM +0400, Konstantin Krivyakin wrote: This patchset adds per-process power consumption measurement facility. Power consumption is very important on mobile platforms. This code allows to measure consumed power in Watts*Hours. The consumed power for process is

Re: [PATCH v2 2/4] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 07:19 AM, George Cherian wrote: So from what I see now, it is most likely the easiest thing to just add that wakeup to the phy driver I posted. Do you agree? The whole idea of writing a seperate phy driver was to use the generic phy framework and most of the am devices

Re: [PATCH 05/10] ARM: sunxi: Add Allwinner A31 DTSI

2013-07-30 Thread Marc Zyngier
Hi Maxime, On 23/07/13 23:25, Maxime Ripard wrote: Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/sun6i-a31.dtsi | 155 +++ 2 files changed, 157 insertions(+), 1 deletion(-)

Re: [PATCH 07/10] pinctrl: sunxi: Add Allwinner A31 pins set

2013-07-30 Thread Maxime Ripard
Hi Linus, On Mon, Jul 29, 2013 at 06:20:13PM +0200, Linus Walleij wrote: On Wed, Jul 24, 2013 at 12:25 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: The Allwinner A31 SoC uses the same IP than the one found in the A10/A13, with only different pins. Add the pins and the

Re: [PATCH 0/8] perf: add ability to sample physical data addresses

2013-07-30 Thread Peter Zijlstra
On Tue, Jul 30, 2013 at 10:51:46AM +0200, Stephane Eranian wrote: On Tue, Jul 30, 2013 at 10:37 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, Jul 30, 2013 at 10:02:01AM +0200, Stephane Eranian wrote: Ahh. We don't put the useful bits in the mmap event; we'll need to fix that too

Re: [RFC PATCH 00/10] Improve numa scheduling by consolidating tasks

2013-07-30 Thread Srikar Dronamraju
* Peter Zijlstra pet...@infradead.org [2013-07-30 10:20:01]: On Tue, Jul 30, 2013 at 10:17:55AM +0200, Peter Zijlstra wrote: On Tue, Jul 30, 2013 at 01:18:15PM +0530, Srikar Dronamraju wrote: Here is an approach that looks to consolidate workloads across nodes. This results in much

btrfs zero divide (was: Re: Linux 3.10 problem reports (yes, plural))

2013-07-30 Thread Geert Uytterhoeven
On Tue, 30 Jul 2013, Thorsten Glaser wrote: NEW problem: btrfs doesn’t work at all. I had to reboot my buildd into 3.2 using echo s/u/s/o /proc/sysrq-trigger as the attempt to mount it left the system hanging there. [0.00] Linux version 3.10-1-m68k (debian-ker...@lists.debian.org)

Re: [PATCH v3] mmc: sdhci-moxart: Add MOXA ART SDHCI driver

2013-07-30 Thread Mark Rutland
On Mon, Jul 29, 2013 at 11:49:34AM +0100, Jonas Jensen wrote: Add SDHCI driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com --- Notes: Changes since v2: 1. #include linux/bitops.h because BIT() comes from there 2. reinsert dev_set_drvdata() in

  1   2   3   4   5   6   7   8   9   10   >