[RFC PATCH] perf: Update event buffer tail when overwriting old events

2013-04-15 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com If perf event buffer is in overwrite mode, the kernel only updates the data head when it overwrites old samples. The program that owns the buffer need periodically check the buffer and update a variable that tracks the date tail. If the program fails to do

Re: [PATCH v5] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-15 Thread Sekhar Nori
On 4/10/2013 5:42 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node along with pin-mux details. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. Signed-off-by: Philip Avinash avinashphi...@ti.com Looks good to me. Will try and see if this can make it to

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-15 Thread Alex Shi
On 04/14/2013 11:59 PM, Borislav Petkov wrote: On Sun, Apr 14, 2013 at 09:28:50AM +0800, Alex Shi wrote: Even some scenario the total energy cost more, at least the avg watts dropped in that scenarios. Ok, what's wrong with x = 32 then? So basically if you're looking at avg watts, you don't

Re: Latest randconfig build errors

2013-04-15 Thread Thierry Reding
On Sun, Apr 14, 2013 at 12:29:46AM -0400, Rob Clark wrote: On Sat, Apr 13, 2013 at 5:45 PM, Thierry Reding [...] I had been thinking about this on and off for a while, but I haven't come up with anything concrete. Ideally we could just have some kind of event that userspace would listen

Re: [PATCH] process cputimer is moving faster than its corresponding clock

2013-04-15 Thread Olivier Langlois
On Fri, 2013-04-12 at 17:55 +0200, Peter Zijlstra wrote: On Fri, 2013-04-12 at 12:50 +0200, Peter Zijlstra wrote: I'll try and dig through the rest of your email later.. sorry for being a tad slow etc. So at thread_group_cputimer() we initialize the cputimer-cputime state by using

Re: [PATCH] perf: Power7: Make CPI stack events available in sysfs

2013-04-15 Thread Michael Ellerman
On Sat, Apr 06, 2013 at 09:48:03AM -0700, Sukadev Bhattiprolu wrote: From bdeacf7175241f6c79b5b2be0fa6b20b0d0b7d1c Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Date: Sat, 6 Apr 2013 08:48:26 -0700 Subject: [PATCH] perf: Power7: Make CPI stack events available

Re: arch/s390/lib/uaccess_pt.c: Missing breaks: ?

2013-04-15 Thread Joe Perches
On Mon, 2013-04-15 at 07:58 +0200, Heiko Carstens wrote: On Sun, Apr 14, 2013 at 10:53:27PM -0700, Joe Perches wrote: On Mon, 2013-04-15 at 07:48 +0200, Heiko Carstens wrote: On Sat, Apr 13, 2013 at 11:06:14PM -0700, Joe Perches wrote: Commit ea81531d (s390/uaccess: fix page table walk)

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-15 Thread Alex Shi
On 04/15/2013 02:04 PM, Alex Shi wrote: On 04/14/2013 11:59 PM, Borislav Petkov wrote: On Sun, Apr 14, 2013 at 09:28:50AM +0800, Alex Shi wrote: Even some scenario the total energy cost more, at least the avg watts dropped in that scenarios. Ok, what's wrong with x = 32 then? So

Re: [BUG][s390x] mm: system crashed

2013-04-15 Thread Zhouping Liu
On 04/15/2013 01:56 PM, Heiko Carstens wrote: On Sun, Apr 14, 2013 at 11:28:40PM -0400, Zhouping Liu wrote: Hi All, I hit the below crashed when doing memory related tests[1] on s390x: --- snip - � 15929.351639¨ � 0021c0a6¨

[PATCH] cpufreq: exynos5440: Protect opp search calls with rcu lock

2013-04-15 Thread Amit Daniel Kachhap
As per the OPP library documentation(Documentation/power/opp.txt) all opp find/get calls should be protected by rcu locks. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- This patch is created against linux-next tree and is suggested by Nishanth Menon.

[PATCH] cgroup: remove cgrp-top_cgroup

2013-04-15 Thread Li Zefan
It's not used, and it can be retrieved via cgrp-root-top_cgroup. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 1 - kernel/cgroup.c| 2 -- 2 files changed, 3 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 9c300ad..64047ae 100644

Re: [PATCH] cgroup: remove cgrp-top_cgroup

2013-04-15 Thread Tejun Heo
On Mon, Apr 15, 2013 at 02:25:05PM +0800, Li Zefan wrote: It's not used, and it can be retrieved via cgrp-root-top_cgroup. Signed-off-by: Li Zefan lize...@huawei.com Applied to cgroup/for-3.10. Thanks. -- tejun -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

adding rpmsg.git to linux next

2013-04-15 Thread Ohad Ben-Cohen
Hi Stephen, Could you please add: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/rpmsg.git#for-next to linux-next to include new stuff coming from Rob? Thanks, Ohad. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH RESEND] clk: export __clk_get_flags for modular clock providers

2013-04-15 Thread Sebastian Hesselbarth
The common clock api provides some helpers for clk-providers but does not export these helpers. This hinders clk-providers to be built as modules. This patch adds __clk_get_flags() to the list of exported symbols. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com --- Cc: Mike

[PATCH] clk: si5351: make clk-si5351 depend on CONFIG_OF

2013-04-15 Thread Sebastian Hesselbarth
Calling clk-si5351 driver non-OF ready was too early. This patch makes clk-si5351 depend on CONFIG_OF again, until things get sorted out. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Reported-by: Stephen Rottweil s...@canb.auug.org.au --- Cc: Stephen Rothwell

Re: [PATCH V2] cpufreq: ARM big LITTLE: Add generic cpufreq driver and its DT glue

2013-04-15 Thread Viresh Kumar
On 14 April 2013 01:43, Francesco Lavra francescolavra...@gmail.com wrote: + for_each_child_of_node(of_find_node_by_path(/cpus), np) { If of_find_node_by_path() returns NULL, there will be a NULL pointer dereference. + if (count++ != cpu_dev-id) +

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

2013-04-15 Thread Sebastian Hesselbarth
On 04/15/2013 07:04 AM, Stephen Rothwell wrote: After merging the clk tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: of_clk_add_provider [drivers/clk/clk-si5351.ko] undefined! ERROR: of_clk_src_onecell_get [drivers/clk/clk-si5351.ko] undefined! Stephen, I must

[PATCH 1/2] cpufreq: ARM big LITTLE: put DT nodes after using them

2013-04-15 Thread Viresh Kumar
DT nodes should be put using of_node_put() to balance their usage counts. This is not done properly in ARM's big LITTLE driver. Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- Hi Rafael, These are fixes for 3.10 drivers/cpufreq/arm_big_little_dt.c | 43

[PATCH 2/2] cpufreq: ARM big LITTLE: Adapt to latest cpufreq updates

2013-04-15 Thread Viresh Kumar
This driver isn't updated to work with latest cpufreq core updates that happened recently. Fix them. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- As original patch breaks compilation, its best to merge this patch with original patch. drivers/cpufreq/arm_big_little.c | 10 +++---

[PATCH 0/2 V2] iommu/amd: Changing interrupt handling scheme and HW bug workaround

2013-04-15 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com This patch set contains two patches which affect IOMMU interrupt handling. Patch 1 Implements the workaround for hardware issue when handling interrupts and independent of patch 2. Patch 2 Modify interrupt handling thread to only handle

[PATCH 1/2 V2] iommu/amd: Add workaround for ERBT1312

2013-04-15 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com The IOMMU interrupt handling in bottom half must clear the PPR log interrupt and event log interrupt bits to re-enable the interrupt. This is done by writing 1 to the memory mapped register to clear the bit. Due to hardware bug, if the

[PATCH 2/2 V2] iommu/AMD: Per-thread IOMMU Interrupt Handling

2013-04-15 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com In the current interrupt handling scheme, there are as many threads as the number of IOMMUs. Each thread is created and assigned to an IOMMU at the time of registering interrupt handlers (request_threaded_irq). When an IOMMU HW generates

[PATCH] cpufreq: cpu0: Put cpu parent node after using it

2013-04-15 Thread Viresh Kumar
Parent node must be put after using it to balance its usage count. This was missing in cpufreq-cpu0 driver. Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/cpufreq/cpufreq-cpu0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-cpu0.c

Re: [PATCH 2/8] mmc: fix max_discard_sectors

2013-04-15 Thread Adrian Hunter
On 13/04/13 16:38, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com https://lkml.org/lkml/2013/4/1/292 As per above discussion, there is possibility that request's __data_len field may overflow when max_discard_sectors greater than UINT_MAX 9 If multiple discard requests get

Re: [PATCH 1/8] Remove syslog prefix in uncompressed oops text

2013-04-15 Thread Michael Ellerman
On Wed, Apr 10, 2013 at 12:51:00PM +0530, Aruna Balakrishnaiah wrote: Removal of syslog prefix in the uncompressed oops text will help in capturing more oops data. Why does it help? Does this effect any existing tools? cheers -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] firmware, memmap: fix firmware_map_entry leak

2013-04-15 Thread Yasuaki Ishimatsu
2013/04/15 16:04, Wanpeng Li wrote: On Mon, Apr 15, 2013 at 02:48:17PM +0900, Yasuaki Ishimatsu wrote: When hot removing a memory, a firmware_map_entry which has memory range of the memory is released by release_firmware_map_entry(). If the entry is allocated by bootmem,

Re: [PATCH] net: usb: active URB submitted multiple times

2013-04-15 Thread Petko Manolov
On Fri, 12 Apr 2013, David Miller wrote: When submitting a new version of a patch, you must list what changed from the previous version after the --- delimiter rather than having people try and guess. Got it. However, i've already spammed you, Sarah and two major mailing lists so i assume

Re: [PATCH 2/8] Add version and timestamp to oops header

2013-04-15 Thread Michael Ellerman
On Wed, Apr 10, 2013 at 12:51:12PM +0530, Aruna Balakrishnaiah wrote: Introduce version and timestamp information in the oops header. oops_log_info (oops header) holds version (to distinguish between old and new format oops header), length of the oops text (compressed or uncompressed) and

Re: [PATCH] powerpc/perf: Power8 PMU support

2013-04-15 Thread Benjamin Herrenschmidt
On Mon, 2013-04-15 at 14:17 +1000, Michael Ellerman wrote: This patch adds preliminary support for the power8 PMU to perf. Might be worthwhile to have a small blurb explaining roughly what you mean by preliminary :-) Cheers, Ben. Signed-off-by: Michael Ellerman mich...@ellerman.id.au ---

Re: [PATCH 3/8] Introduce generic read function to read nvram-partitions

2013-04-15 Thread Michael Ellerman
On Wed, Apr 10, 2013 at 12:51:25PM +0530, Aruna Balakrishnaiah wrote: Introduce generic read function to read nvram partitions other than rtas. nvram_read_error_log will be retained which is used to read rtas partition from rtasd. nvram_read_partition is the generic read function to read from

Re: [PATCH 0/8] Nvram-to-pstore

2013-04-15 Thread Michael Ellerman
On Wed, Apr 10, 2013 at 12:50:47PM +0530, Aruna Balakrishnaiah wrote: Currently the kernel provides the contents of p-series NVRAM only as a simple stream of bytes via /dev/nvram, which must be interpreted in user space by the nvram command in the powerpc-utils package. This patch set

Re: [PATCH 1/8] Remove syslog prefix in uncompressed oops text

2013-04-15 Thread aruna
On Monday 15 April 2013 12:50 PM, Michael Ellerman wrote: On Wed, Apr 10, 2013 at 12:51:00PM +0530, Aruna Balakrishnaiah wrote: Removal of syslog prefix in the uncompressed oops text will help in capturing more oops data. Why does it help? Does this effect any existing tools? cheers By

[patch] mwave: info leak in mwave_ioctl()

2013-04-15 Thread Dan Carpenter
Smatch complains that on 64 bit systems, there is a hole in the MW_ABILITIES struct between -component_count and -component_list[]. It leaks stack information from the mwave_ioctl() function. I've added a memset() to initialize the struct to zero. Signed-off-by: Dan Carpenter

[PATCH v3] MFD: ab8500: pass AB8500 IRQ to debugfs code by resource

2013-04-15 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org The AB8500 debug code which was merged in parallel with the multiplatform work incidentally introduced a new instance using the mach/irqs.h header which is now deleted, causing this build regression: drivers/mfd/ab8500-debugfs.c:95:23: fatal error:

Re: [PATCH 2/8] mmc: fix max_discard_sectors

2013-04-15 Thread Namjae Jeon
2013/4/15, Adrian Hunter adrian.hun...@intel.com: On 13/04/13 16:38, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com https://lkml.org/lkml/2013/4/1/292 As per above discussion, there is possibility that request's __data_len field may overflow when max_discard_sectors greater

[pull] drm-intel-next

2013-04-15 Thread Daniel Vetter
Hi Dave, Since I expect Linus to open the merge window in about a week I guess this is the last i915 feature pull for 3.10. Highlights: Updated testing tree for -next. Highlights: - Corner case fixes discovered with static analyzers (Damien). - More fixes to combat unclaimed register errors on

Re: [PATCH 4/8] Read/Write oops nvram partition via pstore

2013-04-15 Thread Michael Ellerman
On Wed, Apr 10, 2013 at 12:53:03PM +0530, Aruna Balakrishnaiah wrote: This patch exploits pstore infrastructure in power systems. IBM's system p machines provide persistent storage for LPARs In the kernel we use pseries instead of system p. through NVRAM. NVRAM's lnx,oops-log partition is

Re: [PATCH 5/5] kexec: X86: Pass memory ranges via e820 table instead of memmap= boot parameter

2013-04-15 Thread HATAYAMA Daisuke
(2013/04/15 14:58), Dave Hansen wrote: On 04/14/2013 09:52 PM, HATAYAMA Daisuke wrote: This sounds like there's no such issue on x86 cache mechanism. Is it correct? If so, what is the difference between ia64 and x86 cache mechanisms? I'm just going by the code comments: drivers/char/mem.c

Linux kernel support -O0 optimization flag?

2013-04-15 Thread Ley Foon Tan
Change KBUILD_CFLAGS to -O0 in Makefile and got the compilation error as below. Is the Linux kernel support -O0 optimization flag? Note, I have tried 2 architecture compilers and got the same error. In function 'zap_pmd_range', inlined from 'zap_pud_range' at mm/memory.c:1288:8,

Re: [PATCH 2/8] Add version and timestamp to oops header

2013-04-15 Thread aruna
On Monday 15 April 2013 01:01 PM, Michael Ellerman wrote: On Wed, Apr 10, 2013 at 12:51:12PM +0530, Aruna Balakrishnaiah wrote: Introduce version and timestamp information in the oops header. oops_log_info (oops header) holds version (to distinguish between old and new format oops header),

Re: [PATCH 5/8] Read rtas partition via pstore

2013-04-15 Thread Michael Ellerman
On Wed, Apr 10, 2013 at 12:53:27PM +0530, Aruna Balakrishnaiah wrote: This patch exploits pstore infrastructure to read the details from NVRAM's rtas partition. Does that mean it's exposed in the pstore filesystem? Signed-off-by: Aruna Balakrishnaiah ar...@linux.vnet.ibm.com Reviewed-by: Jim

Re: [PATCH] regulator: ab8500: Fix get_mode for shared mode regulators

2013-04-15 Thread Bengt Jönsson
On 04/08/2013 02:31 PM, Axel Lin wrote: The special handling code for getting shared mode status is wrong because it needs to check info-shared_mode-lp_mode_req for both regulators that shared the same mode register. In set_mode(), current code ensures we won't set mode to REGULATOR_MODE_IDLE

[PATCH] net/macb: fix error return code in macb_probe()

2013-04-15 Thread Nicolas Ferre
Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Original-idea-by: yongjun_...@trendmicro.com.cn Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Hi, This fix was written originally for at91_ether.c and I found it

Re: [PATCH v1 2/7] xen-blkback: use balloon pages for all mappings

2013-04-15 Thread Roger Pau Monné
On 09/04/13 16:47, Konrad Rzeszutek Wilk wrote: On Wed, Mar 27, 2013 at 12:10:38PM +0100, Roger Pau Monne wrote: Using balloon pages for all granted pages allows us to simplify the logic in blkback, especially in the xen_blkbk_map function, since now we can decide if we want to map a grant

[PATCH 1/3] x86: reserve_crashkernel: use memblock_is_region_reserved to simplify code

2013-04-15 Thread Wang YanQing
Use memblock_is_region_reserved instead of memblock_find_in_range to simplify the check codes, and gain a little speed benefit. Signed-off-by: Wang YanQing udkni...@gmail.com --- arch/x86/kernel/setup.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git

[PATCH 2/3] x86:aperture_64: code pattern clean

2013-04-15 Thread Wang YanQing
This patch don't change code function, it just do prepare for import the memblock_alloc_in_range to do the code pattern which looks like below in one function: memblock_find_in_range() follow by memblock_reserve() Signed-off-by: Wang YanQing udkni...@gmail.com --- arch/x86/kernel/aperture_64.c

Re: [PATCH v1] mmc: card: Adding support for sanitize in eMMC 4.5

2013-04-15 Thread merez
Hi Chris and Luca, Sorry for the late response. Yaniv is on vacation for the last month and will be back at the end of the week. We will add the HPI in case Sanitize times-out. Thanks, Maya Hi Yaniv, Maya, On Mon, Mar 11 2013, Luca Porzio (lporzio) wrote: In case of Sanitize timeout, the

[PATCH 3/3] mm:memblock: add memblock_alloc_in_[range|range_nid]

2013-04-15 Thread Wang YanQing
There is a memblock code use pattern in kernel which looks like below: in nobootmem.c: addr = memblock_find_in_range_node(goal, limit, size, align, nid); if (!addr) return NULL; ptr = phys_to_virt(addr); memset(ptr, 0, size);

Re: [PATCH] regulator: ab8500: Fix get_mode for shared mode regulators

2013-04-15 Thread Lee Jones
Hi Axel, Ping. Hi Lee, Can you review this patch. I think this one is a bug fix. Bengt is the SME for all things ab*-regulator related. No one knows the driver better than him. Bengt, would you mind reviewing? 2013/4/8 Axel Lin axel@ingics.com: The special handling code for

Re: [Xen-devel] [PATCH v1 2/7] xen-blkback: use balloon pages for all mappings

2013-04-15 Thread Roger Pau Monné
Perhaps you could update the comment from saying 'map this grant' (which implies doing it NOW as opposed to have done it already), and say: /* .. continue using the grant non-persistently. Note that we mapped it in the earlier loop and the earlier if conditional sets

Re: [PATCH v1 2/7] xen-blkback: use balloon pages for all mappings

2013-04-15 Thread Roger Pau Monné
On 09/04/13 17:46, Konrad Rzeszutek Wilk wrote: On Wed, Mar 27, 2013 at 12:10:38PM +0100, Roger Pau Monne wrote: Using balloon pages for all granted pages allows us to simplify the logic in blkback, especially in the xen_blkbk_map function, since now we can decide if we want to map a grant

Re: 3.0.60: general protection fault: 0000, Fixing recursive fault but reboot is needed

2013-04-15 Thread Mike Galbraith
On Mon, 2013-04-15 at 07:33 +0200, Nikola Ciprich wrote: Hi, one of our servers keeps spitting GPF messages: (sorry for long message) [34110.179005] general protection fault: [#1] PREEMPT SMP [34110.185000] CPU 0 [34110.186872] Modules linked in: ipmi_devintf ipmi_si

Re: [PATCH] base/core.c: improve comment of the function device_find_child()

2013-04-15 Thread Federico Vaga
On Friday 12 April 2013 14:51:25 Greg Kroah-Hartman wrote: On Fri, Apr 12, 2013 at 01:59:32PM +0200, Federico Vaga wrote: Signed-off-by: Federico Vaga federico.v...@gmail.com --- drivers/base/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/base/core.c

Re: [PATCH] regulator: ab8500: Fix get_mode for shared mode regulators

2013-04-15 Thread Axel Lin
2013/4/15 Bengt Jönsson bengt.g.jons...@stericsson.com: On 04/08/2013 02:31 PM, Axel Lin wrote: The special handling code for getting shared mode status is wrong because it needs to check info-shared_mode-lp_mode_req for both regulators that shared the same mode register. In set_mode(),

[PATCH RFT] regulator: ab8500: Fix voltage_shift setting for AB8540_LDO_DMIC

2013-04-15 Thread Axel Lin
The voltage_mask is 0xc0, thus we need to set voltage_shift = 6 to get correct selector in get_voltage_sel and set_voltage_sel. Signed-off-by: Axel Lin axel@ingics.com --- Hi Bengt, I don't have the datasheet. Can you confirm if this fix is correct? BTW, can you also review a couple patches

Re: [PATCH v2] x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)

2013-04-15 Thread Alexander van Heukelum
On Fri, Apr 12, 2013, at 22:15, Hans de Bruin wrote: On 03/27/2013 10:18 PM, Alexander van Heukelum wrote: On Wed, Mar 27, 2013, at 20:46, Al Viro wrote: On Wed, Mar 27, 2013 at 08:31:02PM +0100, Alexander van Heukelum wrote: Hi Al, Hans de Bruin found a regression due to one of your

[PATCH] dma: of-dma: check OF pointer property before dereferencing it

2013-04-15 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com --- drivers/dma/of-dma.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dma/of-dma.c b/drivers/dma/of-dma.c index 69d04d2..9628298 100644 --- a/drivers/dma/of-dma.c +++ b/drivers/dma/of-dma.c @@ -91,6

[PATCH] dma: of-dma: check OF pointer property before dereferencing

2013-04-15 Thread Paolo Pisati
Unable to handle kernel NULL pointer dereference at virtual address pgd = c0004000 [] *pgd= Internal error: Oops: 5 [#1] SMP ARM CPU: 0Tainted: GW (3.9.0-rc739rc7fix1-dirty #10) PC is at of_dma_controller_register+0xb8/0x11c LR is at

[PATCH V4 2/5] spi: s3c64xx: added support for polling mode

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com The 64xx spi driver supports partial polling mode. Only the last chunk of the transfer length is transferred or recieved in polling mode. Some SoC's that adopt this controller might not have have dma interface. This patch adds support for complete polling

[PATCH V4 4/5] spi: s3c64xx: Added provision for dedicated cs pin

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com The existing driver supports gpio based /cs signal. For controller's that have one device per controller, the slave device's /cs signal might be internally controlled by the chip select bit of slave select register. They are not externally

[PATCH RESEND V3 5/5] spi: s3c64xx: Added support for exynos5440 spi

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com This patch adds support for the exynos5440 spi controller. The integration of the spi IP in exynos5440 is different from other SoC's. The I/O pins are no more configured via gpio, they have dedicated pins. Signed-off-by: Girish K S ks.g...@samsung.com ---

[PATCH V3 RESEND 3/5] spi: s3c64xx: Added provision for non-gpio i/o's

2013-04-15 Thread Girish K S
From: Girish K S girishks2...@gmail.com Currently the drivers supports only the GPIO based i/o pins. But there are Exynos SoC's that use the same controller with dedicated i/o pins. This patch provides provision to support gpio/dedicated pins. The decision is made by parsing the gpios property

[PATCH] ARM: dts: omap4-panda: Add USB Host support

2013-04-15 Thread Roger Quadros
Provide the RESET and Power regulators for the USB PHY, the USB Host port mode and the PHY device. The USB PHY needs AUXCLK3 to operate. Provide this information as well. Also provide pin multiplexer information for the USB host pins. This patch depends on OMAP clock binding introduced in

Re: [PATCH] regulator: ab8500: Fix get_mode for shared mode regulators

2013-04-15 Thread Axel Lin
My understanding is for shared mode regulators: It can be in LP mode only when *BOTH* are in LP mode. If only one of the regulator in HP mode, then *BOTH* should be in HP mode. Did I misunderstand something? Let me put this issue this way: Current code behavior: get_mode() returns IDLE if

Re: drivers/base/core.c: about device_find_child() function

2013-04-15 Thread Federico Vaga
Hi Lars, Considering that there seems to be a common pattern here where the caller only wants to know if the device exists, but is not really interested in the device itself, how about adding a helper function for this? It was my first thought when I opened this thread. But now I'm convinced

Re: drivers/base/core.c: about device_find_child() function

2013-04-15 Thread Federico Vaga
Thank you very much Greg I did not study serial_core, I was looking only for device_find_child(). Probably I'm missing something. Anyway, here what does not convice me: (line number on next-20130412) serial_core.c:2003 tty_dev = device_find_child(uport-dev, match,

Re: [PATCHv1] crypto: caam - fix job ring cleanup code

2013-04-15 Thread Horia Geantă
On 4/15/2013 7:25 AM, Vakul Garg wrote: The job ring init function creates a platform device for each job ring. While the job ring is shutdown, e.g. while caam module removal, its platform device was not being removed. This leads to failure while reinsertion and then removal of caam module

Re: [PATCH] firmware, memmap: fix firmware_map_entry leak

2013-04-15 Thread Tang Chen
Reviewed-by: Tang Chen tangc...@cn.fujitsu.com Thanks. :) On 04/15/2013 01:48 PM, Yasuaki Ishimatsu wrote: When hot removing a memory, a firmware_map_entry which has memory range of the memory is released by release_firmware_map_entry(). If the entry is allocated by bootmem,

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-04-15 Thread Takao Indoh
(2013/04/10 13:47), Takao Indoh wrote: (2013/04/05 20:06), Joerg Roedel wrote: On Wed, Apr 03, 2013 at 09:24:39AM +0100, David Woodhouse wrote: On Wed, 2013-04-03 at 16:11 +0900, Takao Indoh wrote: Yeah, you are right. I forgot such a case. If you disable translation and there's some device

Re: [PATCH RFT] regulator: ab8500: Fix voltage_shift setting for AB8540_LDO_DMIC

2013-04-15 Thread Bengt Jönsson
On 04/15/2013 10:36 AM, Axel Lin wrote: The voltage_mask is 0xc0, thus we need to set voltage_shift = 6 to get correct selector in get_voltage_sel and set_voltage_sel. Signed-off-by: Axel Lin axel@ingics.com The patch is correct. Voltage selection is done with 0xc0. Acked-by: Bengt

Re: [PATCH v1 2/7] xen-blkback: use balloon pages for all mappings

2013-04-15 Thread Roger Pau Monné
On 09/04/13 16:47, Konrad Rzeszutek Wilk wrote: On Wed, Mar 27, 2013 at 12:10:38PM +0100, Roger Pau Monne wrote: Using balloon pages for all granted pages allows us to simplify the logic in blkback, especially in the xen_blkbk_map function, since now we can decide if we want to map a grant

[PATCH v2] base/core.c: improve comment of the function device_find_child()

2013-04-15 Thread Federico Vaga
Signed-off-by: Federico Vaga federico.v...@gmail.com --- drivers/base/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/base/core.c b/drivers/base/core.c index 016312437..3c8512f 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1372,6 +1372,8 @@ int

Re: [PATCH 1/5] ptrace/x86: Revert hw_breakpoints: Fix racy access to ptrace breakpoints

2013-04-15 Thread Ingo Molnar
* Oleg Nesterov o...@redhat.com wrote: This reverts commit 87dc669ba25777b67796d7262c569429e58b1ed4. The patch was fine but we can no longer race with SIGKILL after 9899d11f ptrace: ensure arch_ptrace/ptrace_request can never race with SIGKILL, the __TASK_TRACED tracee can't be woken up

Re: [RFC PATCH 0/2] sched: move content out of core files for load average

2013-04-15 Thread Ingo Molnar
* Paul Gortmaker paul.gortma...@windriver.com wrote: Recent activity has had a focus on moving functionally related blocks of stuff out of sched/core.c into stand-alone files. The code relating to load average calculations has grown significantly enough recently to warrant placing it

Re: [pull] drm-intel-next

2013-04-15 Thread Daniel Vetter
On Mon, Apr 15, 2013 at 09:56:29AM +0200, Daniel Vetter wrote: Hi Dave, Since I expect Linus to open the merge window in about a week I guess this is the last i915 feature pull for 3.10. Highlights: Updated testing tree for -next. Highlights: - Corner case fixes discovered with static

[PATCH 0/3] Little error fix and cleanup.

2013-04-15 Thread Tang Chen
This patch-set did the following things: patch1: Remove unused parameter nr_pages of pages_correctly_reserved(). patch2: Use CONFIG_MEMORY_HOTREMOVE to protect kernel_physical_mapping_remove(). patch3: Add comments for parameter nid for memblock_insert_region(). Tang Chen (3): mm: Remove

[PATCH 1/3] mm: Remove unused parameter of pages_correctly_reserved()

2013-04-15 Thread Tang Chen
nr_pages is not used in pages_correctly_reserved(). So remove it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Reviewed-by: Wang Shilong wangsl-f...@cn.fujitsu.com Reviewed-by: Wen Congyang we...@cn.fujitsu.com --- drivers/base/memory.c |5 ++--- 1 files changed, 2 insertions(+), 3

[PATCH 3/3] memblock: Fix missing comment of memblock_insert_region().

2013-04-15 Thread Tang Chen
There is no comment for parameter nid of memblock_insert_region(). This patch adds comment for it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- mm/memblock.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index

[PATCH 2/3] mem-hotplug: Put kernel_physical_mapping_remove() declaration in CONFIG_MEMORY_HOTREMOVE.

2013-04-15 Thread Tang Chen
kernel_physical_mapping_remove() is only called by arch_remove_memory() in init_64.c, which is enclosed in CONFIG_MEMORY_HOTREMOVE. So when we don't configure CONFIG_MEMORY_HOTREMOVE, the compiler will give a warning: warning: ‘kernel_physical_mapping_remove’ defined but not used So put

Re: [patch v7 0/21] sched: power aware scheduling

2013-04-15 Thread Borislav Petkov
On Mon, Apr 15, 2013 at 02:16:55PM +0800, Alex Shi wrote: And I need to say again. the powersaving policy just effect on system under utilisation. when system goes busy, it won't has effect. performance oriented policy will take over balance behaviour. And AFACU your patches, you do this

Re: [PATCH 1/1] move exit_task_namespaces() outside of exit_notify()

2013-04-15 Thread Andrey Wagin
2013/4/13 Oleg Nesterov o...@redhat.com exit_notify() does exit_task_namespaces() after forget_original_parent(). This was needed to ensure that -nsproxy can't be cleared prematurely, an exiting child we are going to reparent can do do_notify_parent() and use the parent's (ours) pid_ns.

Very poor latency when using hard drive (raid1)

2013-04-15 Thread l...@tigusoft.pl
There are 2 hard drives (normal, magnetic) in software raid 1 on 3.2.41 kernel. When I write into them e.g. using dd from /dev/zero to a local file (ext4 on default settings), running 2 dd at once (writing two files) it starves all other programs that try to use the disk. Running ls on any

[GIT pull] timer fixes for 3.9

2013-04-15 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus * Single bug fix for a cpu hotplug race. Thanks, tglx -- Michael Bohan (1): hrtimer: Don't reinitialize a

Re: [PATCH] of: add managed version of of_iomap()

2013-04-15 Thread Grant Likely
On Sun, 24 Mar 2013 14:58:13 +0100, Lubomir Rintel lkund...@v3.sk wrote: This introduces a routine devm_of_iomap(), which acts exactly like of_iomap() apart from that managed deivce resource subsystem takes care of reclaiming the resources wherever appropriate. Signed-off-by: Lubomir Rintel

[GIT pull] irq fixes for 3.9

2013-04-15 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus * Single bugfix for a wrong return value, which prevents the calling function to invoke the software fallback. Thanks, tglx

Re: 3.0.60: general protection fault: 0000, Fixing recursive fault but reboot is needed

2013-04-15 Thread Nikola Ciprich
Hi Mike, Feeding that to scripts/decodecode thanks, didn't know about that! . . . . That's here in dup_fd(): for (i = open_files; i != 0; i--) { struct file *f = *old_fds++; if (f) { get_file(f); It's doing that

Re: [PATCH] x86, FPU: Fix FPU initialization

2013-04-15 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: And 0x3f76 + 0x104 gives exactly 0x407a which is the address at which we #PF: [ 15.921486] BUG: unable to handle kernel paging request at 407a [ 15.921486] IP: [41071ab0] __lock_acquire.isra.19+0x3e0/0xb00 More hmmm... It gave me

Re: scsi: ufs: add support for query requests

2013-04-15 Thread Dolev Raviv
Santosh, thank you very much for your comments. Most where adopted, others where replied inline. Please note the comment on removing ufs_coe.c file. I will appreciated your opinion on that. linux-...@vger.kernel.org is for UFS filesystem. The API for submitting a query request is

Re: [PATCH v2] arm64: Fix task tracing

2013-04-15 Thread Catalin Marinas
On Tue, Apr 09, 2013 at 01:33:34PM +0100, Christopher Covington wrote: For accurate accounting pass contextidr_thread_switch the prev task pointer, since cpu_switch_to has at that point changed the the stack pointer. Signed-off-by: Christopher Covington c...@codeaurora.org ---

Re: Bulk CPU Hotplug (Was Re: [PATCH] Do not force shutdown/reboot to boot cpu.)

2013-04-15 Thread Ingo Molnar
* Robin Holt h...@sgi.com wrote: From 1767003c943325e52ac78cac6fdbaf2ab63d Mon Sep 17 00:00:00 2001 From: Robin Holt h...@sgi.com Date: Wed, 3 Apr 2013 13:52:00 -0500 Subject: [PATCH] Migrate shutdown/reboot to boot cpu. We recently noticed that reboot of a 1024 cpu machine takes

Re: [PATCH] x86, FPU: Fix FPU initialization

2013-04-15 Thread Borislav Petkov
On Mon, Apr 15, 2013 at 12:08:58PM +0200, Ingo Molnar wrote: It gave me the impression of memory corruption - but impressions can deceive ;-) Anyway, not sure I can test/bisect it this week - merge window preparations and all that. Ok, and also, in your oops, it said 3.9.0-rc6+ but

Re: [PATCH] x86, FPU: Fix FPU initialization

2013-04-15 Thread Ingo Molnar
* Borislav Petkov b...@alien8.de wrote: On Mon, Apr 15, 2013 at 12:08:58PM +0200, Ingo Molnar wrote: It gave me the impression of memory corruption - but impressions can deceive ;-) Anyway, not sure I can test/bisect it this week - merge window preparations and all that. Ok, and

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-04-15 Thread Joerg Roedel
On Mon, Apr 15, 2013 at 06:00:13PM +0900, Takao Indoh wrote: On DMAR initialization during kdump boot, do you guys agree to change order like this? Current order: (1) Disable translation (2) PCI initialization (3) Make pgtable and enable translation. Order I'm proposing: (1) PCI

Re: [PATCH v3 0/6] Generic PHY Framework

2013-04-15 Thread Grant Likely
On Wed, 20 Mar 2013 14:41:59 +0530, Kishon Vijay Abraham I kis...@ti.com wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference

Re: [PATCH] powerpc/perf: Power8 PMU support

2013-04-15 Thread Michael Ellerman
On Mon, Apr 15, 2013 at 09:31:26AM +0200, Benjamin Herrenschmidt wrote: On Mon, 2013-04-15 at 14:17 +1000, Michael Ellerman wrote: This patch adds preliminary support for the power8 PMU to perf. Might be worthwhile to have a small blurb explaining roughly what you mean by preliminary :-)

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-04-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:35 Mon 07 Jan , Arnd Bergmann wrote: (Adding Sascha Hauer, Linus Walleij, Lee Jones to Cc) On Monday 07 January 2013, Tony Lindgren wrote: At the end of the line, some kind of hardware glue is going to be needed. I just feel that drawing from a sample size of 1 (maybe 2

Re: [PATCH 4/4] nohz: New option to force all CPUs in full dynticks range

2013-04-15 Thread Ingo Molnar
* Christoph Lameter c...@linux.com wrote: On Thu, 11 Apr 2013, Frederic Weisbecker wrote: It may be too general for a naming. But I don't mind just selecting CONFIG_RCU_NOCBS_ALL unconditionally. It's easily changed in the future if anybody complains. I like the general nature of

[PATCH] Notify userspace about bridge learning MAC on new port

2013-04-15 Thread michael-dev
Hi, currently, the userspace is informed about the port the MAC is learned on a bridge and about the bridge removing the MAC from its forwarding table, but not when the MAC is learned on a different port. This is inconsistent and makes it difficult for applications to keep track of all MACs

Re: Basic perf PMU support for Haswell v10

2013-04-15 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: * Andi Kleen a...@firstfloor.org wrote: This is based on v7 of the full Haswell PMU support, This series looks mostly good - I've got two requests: - please rename intx - in_tx, INTX - IN_TX, as 'intx' is confusing - please port to the

Re: [PATCH v3 0/6] Generic PHY Framework

2013-04-15 Thread Kishon Vijay Abraham I
Hi, On Monday 15 April 2013 03:50 PM, Grant Likely wrote: On Wed, 20 Mar 2013 14:41:59 +0530, Kishon Vijay Abraham I kis...@ti.com wrote: Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to

  1   2   3   4   5   6   7   8   9   10   >