Re: [PATCH] KVM: mmu: allow page tables to be in read-only slots

2013-09-02 Thread Gleb Natapov
On Mon, Sep 02, 2013 at 06:05:10PM +0800, Xiao Guangrong wrote: On 09/02/2013 05:49 PM, Gleb Natapov wrote: On Mon, Sep 02, 2013 at 05:42:25PM +0800, Xiao Guangrong wrote: On 09/01/2013 05:17 PM, Gleb Natapov wrote: On Fri, Aug 30, 2013 at 02:41:37PM +0200, Paolo Bonzini wrote: Page

[char-misc-next 0/3] mei: few more reset recursion fixes

2013-09-02 Thread Tomas Winkler
*** BLURB HERE *** Alexander Usyskin (1): mei: cancel stall timers in mei_reset Tomas Winkler (2): mei: make me client counters less error prone mei: bus: stop wait for read during cl state transition drivers/misc/mei/amthif.c | 1 + drivers/misc/mei/bus.c | 5 -

[char-misc-next 3/3] mei: cancel stall timers in mei_reset

2013-09-02 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Unset init_clients_timer and amthif_stall_timers in mei_reset in order to cancel timer ticking and hence avoid recursive reset calls. Cc: sta...@vger.kernel.org # 3.9+ Signed-off-by: Alexander Usyskin alexander.usys...@intel.com Signed-off-by:

[char-misc-next 1/3] mei: make me client counters less error prone

2013-09-02 Thread Tomas Winkler
1. u8 counters are prone to hard to detect overflow: make them unsigned long to match bit_ functions argument type 2. don't check me_clients_num for negativity, it is unsigned. 3. init all the me client counters from one place Cc: sta...@vger.kernel.org # 3.9+ Signed-off-by: Tomas Winkler

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-02 Thread Sedat Dilek
On Sun, Sep 1, 2013 at 5:55 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Sep 1, 2013 at 8:45 AM, Sedat Dilek sedat.di...@gmail.com wrote: Samples: 160K of event 'cycles:pp', Event count (approx.): 77003901089 + 12,46% t_lockref_from- [kernel.kallsyms] [k] irq_return

[char-misc-next 2/3] mei: bus: stop wait for read during cl state transition

2013-09-02 Thread Tomas Winkler
Bus layer omitted check for client state transition while waiting for read completion The client state transition may occur for example as result of firmware initiated reset Add mei_cl_is_transitioning wrapper to reduce the code repetition.: Cc: sta...@vger.kernel.org # 3.9+ Signed-off-by:

[PATCH] ACPI / LPSS: don't crash if a device has no MMIO resources

2013-09-02 Thread Mika Westerberg
Intel LPSS devices that are enumerated from ACPI have both MMIO and IRQ resources returned in their _CRS method. However, Apple Macbook Air with Haswell has LPSS devices enumerated from PCI bus instead and _CRS method returns only an interrupt number (but the device has _HID set that causes the

[PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Tang Chen
In current kernel, we update min_pfn_mapped and max_pfn_mapped like this: init_mem_mapping() { while ( a loop iterates all memory ranges ) { init_range_memory_mapping(); |-init_memory_mapping() |-kernel_physical_mapping_init()

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-09-02 Thread Matt Fleming
On Tue, 13 Aug, at 10:58:16AM, Roy Franz wrote: Hi Matt, Do you have any more feedback on the X86 and common code (patches 1-13) that needs to be addressed? Mark Salter has a working ARM64 EFI stub implemented based on these patches, so the common code has now been tested with another

[PATCH RESEND 0/3] x86, ACPI, mm: Cleanup for {max|low|max_low}_pfn_mapped.

2013-09-02 Thread Tang Chen
This patch-set does the following: 1. Kill max_low_pfn_mapped as it is useless. This patch is from Yinghai. 2. Update min_pfn_mapped and max_pfn_mapped together in add_pfn_range_mapped(). 3. Move definition of max_pfn_mapped tp init.c together with min_pfn_mapped. Tang Chen (2): x86, mm:

[PATCH RESEND 3/3] x86, mm: Move max_pfn_mapped definition to init.c.

2013-09-02 Thread Tang Chen
min_pfn_mapped is defined in init.c, we can also define max_pfn_mapped here. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com --- arch/x86/kernel/setup.c |8 arch/x86/mm/init.c |9 + 2 files changed, 9 insertions(+), 8 deletions(-) diff --git

[PATCH RESEND 1/3] x86, ACPI, mm: Kill max_low_pfn_mapped.

2013-09-02 Thread Tang Chen
From: Yinghai Lu ying...@kernel.org Now we have pfn_mapped[] in , and max_low_pfn_mapped should not be used anymore. User should use pfn_mapped[] or just 1UL(32-PAGE_SHIFT) instead. Only user is ACPI_INITRD_TABLE_OVERRIDE, and it should not use that, as later accessing is using early_ioremap().

Re: [PATCH 0/8] partitions/efi: detect hybrid mbrs

2013-09-02 Thread Karel Zak
On Thu, Aug 15, 2013 at 06:37:19PM -0700, Davidlohr Bueso wrote: On Thu, 2013-08-15 at 12:29 -0700, Andrew Morton wrote: On Thu, 15 Aug 2013 09:59:42 -0700 Davidlohr Bueso davidl...@hp.com wrote: On Tue, 2013-08-06 at 14:16 -0700, Andrew Morton wrote: On Mon, 5 Aug 2013 22:21:08

Re: [PATCH] Fix bitoperation for compilation with clang

2013-09-02 Thread Herbert Xu
On Thu, Aug 29, 2013 at 08:09:24PM +0200, dl...@gmx.de wrote: From: Jan-Simon Möller dl...@gmx.de v2: Fix bug in statement as pointed out by Herbert Xu. Kudos to pipacs. Author: PaX Team pageexec at freemail.hu ML-Post:

Re: [PATCH v2 00/10] Series of fixes for NX driver

2013-09-02 Thread Herbert Xu
On Thu, Aug 29, 2013 at 11:36:30AM -0300, Marcelo Cerri wrote: This series of patches contains fixes in several algorithms implemented by the NX driver. The patches can be separated in three different categories: - Changes to split the data in several hyper calls to respect the limits

Re: [PATCH] hwrng: via-rng: Add MODULE_DEVICE_TABLE

2013-09-02 Thread Herbert Xu
On Sun, Sep 01, 2013 at 11:53:57PM +0100, Ben Hutchings wrote: via-rng currently isn't auto-loaded if built as a module. Signed-off-by: Ben Hutchings b...@decadent.org.uk Patch applied. Thanks. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/

Re: [alsa-devel] [PATCH] ASoC: codecs: da9055: Update driver name to fix breakage due to pmic driver with same name

2013-09-02 Thread Mark Brown
On Mon, Sep 02, 2013 at 09:49:20AM +, Opensource [Adam Thomson] wrote: Please fix your mailer to wrap within 80 columns, it makes your mails very hard to read if you don't do this. At present I believe your suggestion is to instantiate the codec regmap in the MFD core for the PMIC, and

Re: [patch 0/7] improve memcg oom killer robustness v2

2013-09-02 Thread azurIt
Hi azur, here is the x86-only rollup of the series for 3.2. Thanks! Johannes --- Johannes, unfortunately, one problem arises: I have (again) cgroup which cannot be deleted :( it's a user who had very high memory usage and was reaching his limit very often. Do you need any info which i can

Re: [RFC PATCH 1/2] i2c: prepare runtime PM support for I2C client devices

2013-09-02 Thread Mika Westerberg
On Wed, Aug 28, 2013 at 11:38:58AM +0200, Wolfram Sang wrote: On Tue, Aug 20, 2013 at 05:03:35PM +0300, Mika Westerberg wrote: From: Aaron Lu aaron...@intel.com This patch adds runtime PM support for the I2C bus in a similar way that has been done for PCI bus already. This means that the

RE: [PATCH 2/2] thp: support split page table lock

2013-09-02 Thread Kirill A. Shutemov
Naoya Horiguchi wrote: Thp related code also uses per process mm-page_table_lock now. So making it fine-grained can provide better performance. This patch makes thp support split page table lock which makes us use page-ptl of the pages storing pmd_trans_huge pmds. Hm. So, you use page-ptl

Re: [PATCH v3] dma: add driver for R-Car HPB-DMAC

2013-09-02 Thread Vinod Koul
On Sun, Aug 25, 2013 at 12:33:24AM +0400, Sergei Shtylyov wrote: From: Max Filippov max.filip...@cogentembedded.com Add support for HPB-DMAC found in Renesas R-Car SoCs, using 'shdma-base' DMA driver framework. Based on the original patch by Phil Edworthy phil.edwor...@renesas.com.

Re: Clock framework deadlock with external SPI clockchip

2013-09-02 Thread Peter De Schrijver
On Fri, Aug 30, 2013 at 03:24:45PM +0200, Lars-Peter Clausen wrote: Hi, I'm currently facing a deadlock in the common clock framework that unfortunately is not addressed by the reentrancy patches. I have a external clock chip that is controlled via SPI. So for example to configure the rate

[PATCH 1/5] xhci: fix usb3 streams

2013-09-02 Thread Gerd Hoffmann
xhci maintains a radix tree for each stream endpoint because it must be able to map a trb address to the stream ring. Each ring segment must be added to the ring for this to work. Currently xhci sticks only the first segment of each stream ring into the radix tree. Result is that things work

[PATCH 5/5] uas: remove BROKEN

2013-09-02 Thread Gerd Hoffmann
xhci streams support is fixed, unblock usb attached scsi. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/usb/storage/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/storage/Kconfig b/drivers/usb/storage/Kconfig index 8470e1b..4761a28 100644 ---

[PATCH 2/5] uas: properly reinitialize in uas_eh_bus_reset_handler

2013-09-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/usb/storage/uas.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/storage/uas.c b/drivers/usb/storage/uas.c index d966b59..f89202f 100644 --- a/drivers/usb/storage/uas.c +++ b/drivers/usb/storage/uas.c @@ -85,6 +85,8

[PATCH 4/5] uas: add dead request list

2013-09-02 Thread Gerd Hoffmann
This patch adds a new list where all requests which are canceled are added to, so we don't loose them. Then, after killing all inflight urbs on bus reset (and disconnect) we'll walk over the list and clean them up. Without this we can end up with aborted requests lingering around in case of

[PATCH 3/5] uas: rename work list lock + list field

2013-09-02 Thread Gerd Hoffmann
This patch prepares for the addition of another list and renames the work list lock and the list_head field in struct uas_cmd_info. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/usb/storage/uas.c | 50 +++ 1 file changed, 25 insertions(+),

[PATCH 2/4] ab8500-charger: Remove redundant break

2013-09-02 Thread Sachin Kamat
Each of the if-else blocks has a break statement. Remove the additional one which is unreachable. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/power/ab8500_charger.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/power/ab8500_charger.c

[PATCH 1/4] ab8500-charger: Check return value of regulator_enable

2013-09-02 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following type of warnings: drivers/power/ab8500_charger.c:1390:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc:

[PATCH 3/4] pm2301-charger: Check return value of regulator_enable

2013-09-02 Thread Sachin Kamat
Check the return value of regulator_enable to silence the following warning: drivers/power/pm2301_charger.c:725:20: warning: ignoring return value of ‘regulator_enable’, declared with attribute warn_unused_result [-Wunused-result] Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Lee Jones

[PATCH 4/4] pm2301-charger: Staticize pm2xxx_charger_die_therm_mngt

2013-09-02 Thread Sachin Kamat
pm2xxx_charger_die_therm_mngt is used only in this file. Make it static. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Lee Jones lee.jo...@linaro.org --- drivers/power/pm2301_charger.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pm2301_charger.c

Re: [PATCH] HID: Correct the USB IDs for the new Macbook Air 6

2013-09-02 Thread Jiri Kosina
On Sun, 1 Sep 2013, Henrik Rydberg wrote: A recent patch (9d9a04ee) added support for the new machine, but got the sequence of USB ids wrong. Reports from both Ian and Linus T show that the 0x0291 id is for ISO, not ANSI, which should have the missing number 0x0290. This patchs moves the

Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: kfree on a NULL pointer is a no-op. Null pointer check is not necessary. Applied, thanks ~Vinod -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/2] dma: ste_dma40: Remove duplicate const

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 01:44:58PM +0530, Sachin Kamat wrote: 'const' was added twice. Applied, both thanks ~Vinod -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v2] HID: usbhid: quirk for N-Trig DuoSense Touch Screen

2013-09-02 Thread Jiri Kosina
On Fri, 30 Aug 2013, Vasily Titskiy wrote: The DuoSense touchscreen device causes a 10 second timeout. This fix removes the delay. Signed-off-by: Vasily Titskiy qeh...@gmail.com --- drivers/hid/hid-ids.h |1 + drivers/hid/usbhid/hid-quirks.c |1 + 2 files changed, 2

Re: [PATCH 05/23] thp: represent file thp pages in meminfo and friends

2013-09-02 Thread Kirill A. Shutemov
Ning Qu wrote: Hi, Kirill I believe there is a typo in your previous commit, but you didn't include it in this series of patch set. Below is the link for the commit. I think you are trying to decrease the value NR_ANON_PAGES in page_remove_rmap, but it is currently adding the value instead

Re: [PATCH] HID: roccat: Added support for KonePureOptical v2

2013-09-02 Thread Jiri Kosina
On Fri, 30 Aug 2013, Stefan Achatz wrote: KonePureOptical is a KonePure with different sensor. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-09-02 Thread Vineet Gupta
Hi Gilad, On 09/02/2013 02:33 PM, Gilad Ben-Yossef wrote: Hi, On Tue, Aug 27, 2013 at 11:31 AM, Vineet Gupta vineet.gup...@synopsys.com wrote: Frame pointer on ARC doesn't serve the conventional purpose of stack unwinding due to the typical way ABI designates it's usage. More out of

[PATCH] mm: fix accounting on page_remove_rmap()

2013-09-02 Thread Kirill A. Shutemov
There's typo in page_remove_rmap(): we increase NR_ANON_PAGES counter instead of decreasing it. Let's fix this. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com Reported-by: Ning Qu qun...@google.com --- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: Memory synchronization vs. interrupt handlers

2013-09-02 Thread Catalin Marinas
On 26 August 2013 16:49, Alan Stern st...@rowland.harvard.edu wrote: Here's a question that doesn't seem to be answered in Documentation/memory-barriers.txt. Are memory accesses within an interrupt handler synchronized with respect to interrupts? In more detail, suppose we have an interrupt

Re: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 07:32:53AM +, Lu Jingchang-B35083 wrote: + chan-private = fn_param; why do you need to use chan-private? [Lu Jingchang] The private used here is to store the slot_id information, which must be used by the DMAMUX in alloc_chan_resources

Re: [PATCH v2 0/6] Remove the duplicated _MAT evaluation and simplify _acpi_map_lsapic()

2013-09-02 Thread Rafael J. Wysocki
On Monday, September 02, 2013 11:57:33 AM Hanjun Guo wrote: v1-v2: Return specific error value instead of just return -1, and correct some grammar mistake in changelog. For cpu hot add, evaluate _MAT or parse MADT will did twice to get APIC id: acpi_processor_add()

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Baoquan He
On 09/02/2013 05:04 PM, Ding Tianhong wrote: On 2013/9/2 16:24, Baoquan He wrote: Hi Tianhong, I applied your patch and execute below cmd. Then keyboard inputting problems happened, I can't enter user/password correctly, then reboot again, it's OK now. Thanks for your work, I don't

Re: [PATCH] ACPI / LPSS: don't crash if a device has no MMIO resources

2013-09-02 Thread Rafael J. Wysocki
On Monday, September 02, 2013 01:30:25 PM Mika Westerberg wrote: Intel LPSS devices that are enumerated from ACPI have both MMIO and IRQ resources returned in their _CRS method. However, Apple Macbook Air with Haswell has LPSS devices enumerated from PCI bus instead and _CRS method returns

can not debug using gdbserver

2013-09-02 Thread Suki Buryani
hi, i am tring debug a application on an arm based device using gdbserver, in code i am trying to add `set_debug_traps' and `breakpoint' functions but its giving me compilation error something like undefined reference to `set_debug_traps' multisoc.c:594: undefined reference to `breakpoint' i

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
at kernel/sched/cputime.c:584 cputime_adjust+0x132/0x140() [ 1295.311123] CPU: 1 PID: 2167 Comm: top Tainted: G C 3.11.0-rc7-next-20130902-dbg-dirty #2 [ 1295.311126] Hardware name: Acer Aspire 5741G/Aspire 5741G , BIOS V1.20 02/08/2011 [ 1295.311128] 0009

Re: [PATCH 2/2] cpufreq: serialize calls to __cpufreq_governor()

2013-09-02 Thread Rafael J. Wysocki
On Sunday, September 01, 2013 09:30:49 PM Viresh Kumar wrote: On 1 September 2013 18:58, Rafael J. Wysocki r...@sisk.pl wrote: On Sunday, September 01, 2013 10:56:02 AM Viresh Kumar wrote: We can't take a big lock around __cpufreq_governor() as this causes recursive locking for some

[PATCH 3/4] mm/hwpoison: fix false report 2nd try page recovery

2013-09-02 Thread Wanpeng Li
If the page is poisoned by software inject w/ MF_COUNT_INCREASED flag, there is a false report 2nd try page recovery which is not truth, this patch fix it by report first try free buddy page recovery if MF_COUNT_INCREASED is set. Before patch: [ 346.332041] Injecting memory failure at pfn

[PATCH 4/4] mm/hwpoison: fix the lack of one reference count against poisoned page

2013-09-02 Thread Wanpeng Li
The lack of one reference count against poisoned page for hwpoison_inject w/o hwpoison_filter enabled result in hwpoison detect -1 users still referenced the page, however, the number should be 0 except the poison handler held one after successfully unmap. This patch fix it by hold one

[PATCH 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Wanpeng Li
PageTransHuge() can't guarantee the page is transparent huge page since it return true for both transparent huge and hugetlbfs pages. This patch fix it by check the page is also !hugetlbfs page. Before patch: [ 121.571128] Injecting memory failure at pfn 23a200 [ 121.571141] MCE 0x23a200:

[PATCH 1/4] mm/hwpoison: fix traverse hugetlbfs page to avoid printk flood

2013-09-02 Thread Wanpeng Li
madvise_hwpoison won't check if the page is small page or huge page and traverse in small page granularity against the range unconditional, which result in a printk flood MCE xxx: already hardware poisoned if the page is huge page. This patch fix it by increase

[PATCH 3/3] mm/vmalloc: move VM_UNINITIALIZED just before show_numa_info

2013-09-02 Thread Wanpeng Li
The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch move the check just before show_numa_info in order

[PATCH 1/3] mm/vmalloc: don't set area-caller twice

2013-09-02 Thread Wanpeng Li
The caller address has already been set in set_vmalloc_vm(), there's no need to set it again in __vmalloc_area_node. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 1074543..d78d117 100644

[PATCH 2/3] mm/vmalloc: don't warning vmalloc allocation failure twice

2013-09-02 Thread Wanpeng Li
Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if __vmalloc_area_node allocation failure. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/vmalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index

Re: [PATCH v3 2/4] dmaengine: add driver for Samsung s3c24xx SoCs

2013-09-02 Thread Vinod Koul
On Wed, Aug 28, 2013 at 12:13:51AM +0200, Heiko Stübner wrote: This adds a new driver to support the s3c24xx dma using the dmaengine and makes the old one in mach-s3c24xx obsolete in the long run. Conceptually the s3c24xx-dma feels like a distant relative of the pl08x with numerous virtual

tsc2007 driver, read data abort after i2c timeout

2013-09-02 Thread Super Eichtig
Hello!   In the last few weeks I worked on a problem I had with I2C errors and the effect they had on the touchscreen performance with a TI TSC2007 IC. For I'm stuck with an old kernel (2.6.28) i used the tsc2003 driver, but the code seems to be close to the tsc2007.c .   I came across the

Re: [PATCH v4 0/6] dma: edma: Support scatter-lists of any length

2013-09-02 Thread Vinod Koul
On Thu, 2013-08-29 at 18:05 -0500, Joel Fernandes wrote: The following series adds support to EDMA driver to enable DMA of scatter-gather lists of arbitrary length, but still make use of only a certain MAX number of slots at a time for a given channel. Thus free-ing up the rest of the slots to

Re: [PATCH 4/7] dma: replace devm_request_and_ioremap by devm_ioremap_resource

2013-09-02 Thread Vinod Koul
On Mon, Aug 19, 2013 at 01:20:38PM +0200, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Use devm_ioremap_resource instead of devm_request_and_ioremap. This was done using the semantic patch scripts/coccinelle/api/devm_ioremap_resource.cocci The relevant call to

Re: [PATCH 1/2] dma: sh: use devm_ioremap_resource() instead of devm_request_and_ioremap()

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 12:04:29PM +0530, Vinod Koul wrote: On Mon, Sep 02, 2013 at 10:23:15AM +0900, Jingoo Han wrote: Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Applied both, Thanks I have removed this one and reapplied patch 2.

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Frederic Weisbecker
:4622750928 [ 1295.311063] [ cut here ] [ 1295.311072] WARNING: CPU: 1 PID: 2167 at kernel/sched/cputime.c:584 cputime_adjust+0x132/0x140() [ 1295.311123] CPU: 1 PID: 2167 Comm: top Tainted: G C 3.11.0-rc7-next-20130902-dbg-dirty #2 [ 1295.311126] Hardware

[PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Vinod Koul
As pointed by Russell in [1], the sg properties are already availble in struct device, so no need to duplicate here. [1]: http://marc.info/?l=linux-omapm=137416733628831 Signed-off-by: Vinod Koul vinod.k...@intel.com --- include/linux/dmaengine.h |8 1 files changed, 0

Re: perf_event: rdpmc self-monitoring overhead issue

2013-09-02 Thread Vince Weaver
On Mon, 2 Sep 2013, Stephane Eranian wrote: On Mon, Sep 2, 2013 at 4:50 AM, Andi Kleen a...@firstfloor.org wrote: Stephane Eranian eran...@googlemail.com writes: I don't see a flag in mmap() to fault it in immediately. MAP_PRESENT I could not find this constant defined anywhere in

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
On (09/02/13 15:07), Frederic Weisbecker wrote: $ dmesg | grep Ooops [ 1295.311056] Ooops: stime:4622750929 rtime:4622750928 [ 1301.384396] Ooops: stime:4654072951 rtime:4654072950 [ 1307.438935] Ooops: stime:4687858107 rtime:4687858106 [ 1313.493462] Ooops: stime:4724166945

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Stanislaw Gruszka
On Mon, Sep 02, 2013 at 03:07:45PM +0200, Frederic Weisbecker wrote: Hope this may help. I've added a silly check to make sure that `stime rtime' @@ -579,6 +582,10 @@ static void cputime_adjust(struct task_cputime *curr, if (total) { stime =

Please discard checkpatch: warn when using extern with function prototypes in .h files

2013-09-02 Thread David Howells
I noticed that a patch got committed to checkpatch to complain about function prototypes prefixed by extern. Please discard/revert this patch: commit 7cd0f806622836e386ef18ad1950a9a729803019 Author: Joe Perches j...@perches.com Date: Wed Aug 28 10:16:00 2013 +1000

Fix style in s3c-hsotg.c

2013-09-02 Thread Pavel Machek
Hi! checkpatch.pl has some valid complaints about style in s3c-hsotg.c : macro with if should be really enclosed in do {} while, and puts is going to be slightly faster. Here's suggested patch. I don't have the hardware, so it is completely untested. Signed-off-by: Pavel Machek, pa...@denx.de

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
On (09/02/13 15:50), Stanislaw Gruszka wrote: Date: Mon, 2 Sep 2013 15:50:34 +0200 From: Stanislaw Gruszka sgrus...@redhat.com To: Frederic Weisbecker fweis...@gmail.com Cc: Sergey Senozhatsky sergey.senozhat...@gmail.com, Ingo Molnar mi...@redhat.com, Peter Zijlstra pet...@infradead.org,

Re: [PATCH v4 3/6] ARM: edma: Add function to manually trigger an EDMA channel

2013-09-02 Thread Sekhar Nori
On 8/30/2013 4:35 AM, Joel Fernandes wrote: Manual trigger for events missed as a result of splitting a scatter gather list and DMA'ing it in batches. Add a helper function to trigger a channel incase any such events are missed. Signed-off-by: Joel Fernandes jo...@ti.com Acked-by: Sekhar

Re: [PATCHv2 3/5] drivers: thermal: make usage of CONFIG_THERMAL_HWMON optional

2013-09-02 Thread Eduardo Valentin
Hi, On 29-08-2013 16:12, Eduardo Valentin wrote: When registering a new thermal_device, the thermal framework will always add a hwmon sysfs interface. This patch adds a flag to make this behavior optional. Now when registering a new thermal device, the caller can optionally inform if hwmon

[PATCH RFC 0/6] ARM: OMAP2+: AM43x/AM335x prcm reset driver

2013-09-02 Thread Afzal Mohammed
Hi, This is an attempt to achieve reset on AM43x/AM335x based SoC's with reset driver making use of the reset framework. prcm node is added in device tree, which would hold reset bindings. Initially node was made as a one that represents reset functionality of SoC. but ended up with node for

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Frederic Weisbecker
On Mon, Sep 02, 2013 at 03:50:34PM +0200, Stanislaw Gruszka wrote: On Mon, Sep 02, 2013 at 03:07:45PM +0200, Frederic Weisbecker wrote: Hope this may help. I've added a silly check to make sure that `stime rtime' @@ -579,6 +582,10 @@ static void cputime_adjust(struct task_cputime

[PATCH RFC 1/6] reset: is_reset and clear_reset api's

2013-09-02 Thread Afzal Mohammed
Enhance reset framework with is_reset and clear_reset api's. is_reset - used by client driver to know reset status clear_reset - used by client driver to clear reset status These functionalities may sometimes be achieved by using existing api like deassert. But in some scenarios, steps to achieve

[PATCH RFC 2/6] doc: dt: binding: omap: am43x/am335x prcm reset

2013-09-02 Thread Afzal Mohammed
prcm reset binding for AM43x/AM335x SoC's. This was started with an attempt to add reset binding without a clear idea on the device node where binding should appear. So a new node with compatible am4372-reset to represent reset managment in prcm was added. But finally ended up with a node to

[PATCH RFC 3/6] reset: am43x/am335x support

2013-09-02 Thread Afzal Mohammed
Driver to handle reset block in prcm of AM43x, AM335x SoC's. There are three reset's that can be handled by this reset driver - gfx, m3 and pruss. Of this only gfx has been handled here, adding support for the remaining only require adding array entries with details of pruss and m3.

[PATCH RFC 4/6] ARM: OMAP2+: AM43x/AM335x: have reset controller

2013-09-02 Thread Afzal Mohammed
AM43x, AM335x have reset block as part of prcm, let reset driver be usable with these SoC's. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index

[PATCH RFC 6/6] ARM: dts: AM4372: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM4372 prcm node with reset binding. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 5a68fde..d0d11b3 100644 ---

[PATCH RFC 5/6] ARM: dts: AM335x: prcm node (for reset)

2013-09-02 Thread Afzal Mohammed
Add AM335x prcm node with reset binding. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am33xx.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4701e3c..c2ccf94 100644 ---

Re: [sched next] overflowed cpu time for kernel threads in /proc/PID/stat

2013-09-02 Thread Sergey Senozhatsky
On (09/02/13 16:13), Frederic Weisbecker wrote: On Mon, Sep 02, 2013 at 03:07:45PM +0200, Frederic Weisbecker wrote: Hope this may help. I've added a silly check to make sure that `stime rtime' @@ -579,6 +582,10 @@ static void cputime_adjust(struct task_cputime *curr,

[PATCH v2 0/7] fs: Introduce new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patch series is in response of the following post: http://lwn.net/Articles/556136/ ext4: introduce two new ioctls Dave chinner suggested that truncate_block_range (which was one of the ioctls name) should be an fallocate operation and not any fs

[PATCH v2 2/7] xfs: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/xfs/xfs_bmap.c | 174

[PATCH v2 1/7] fs: add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate. updated detailed semantics in comments. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/open.c | 24

[PATCH v3 3/7] ext4: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/ext4/ext4.h |3 + fs/ext4/extents.c | 286

[PATCH v4 4/7] xfsprogs: xfsio: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- io/prealloc.c | 39 ++- man/man8/xfs_io.8 |6

[PATCH v2 5/7] xfstest: Add test case to check various corner cases for collapsing range

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com This patch checks various corner cases for collapsing a range. This patch is based on generic/255 test case which checks various corner cases for punch hole. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan

[PATCH v2 7/7] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Update FALLOC_FL_COLLAPSE_RANGE flag in fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- man2/fallocate.2 | 17 - 1 file changed, 16 insertions(+), 1 deletion(-)

[PATCH v2 6/7] xfstest: Add test case to test multiple collapse range call

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com We execute collapse range multiple times on same file. Each collapse range call collapses a single alternate block. After the test execution, file will be left with 80 blocks and as much number of extents. We also check for file system consistency after

[PATCH v2 3/7] ext4: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- fs/ext4/ext4.h |3 + fs/ext4/extents.c | 286

[PATCH v2 4/7] xfsprogs: xfsio: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-09-02 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Add support FALLOC_FL_COLLAPSE_RANGE for fallocate. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ashish Sangwan a.sang...@samsung.com --- io/prealloc.c | 39 ++- man/man8/xfs_io.8 |6

[PATCH] smp: harmonize prototypes of smp functions

2013-09-02 Thread Javi Merino
Avoid unnecessary casts from int to bool in smp functions. Some functions in kernel/smp.c have a wait parameter that can be set to one if you want to wait for the command to complete. It's defined as bool in a few of them and int in the rest. If a function with wait declared as int calls a

RE: linux-next: build failure after merge of the final tree (drm tree related)

2013-09-02 Thread Deucher, Alexander
-Original Message- From: Stephen Rothwell [mailto:s...@canb.auug.org.au] Sent: Monday, September 02, 2013 5:01 AM To: Dave Airlie Cc: linux-n...@vger.kernel.org; linux-kernel@vger.kernel.org; Deucher, Alexander Subject: linux-next: build failure after merge of the final tree (drm

Re: [PATCH] ipv6: ipv6_create_tempaddr cleanup

2013-09-02 Thread Ding Tianhong
于 2013/9/2 2:35, Hannes Frederic Sowa 写道: On Fri, Aug 30, 2013 at 05:02:38PM +0200, Petr Holasek wrote: This two-liner removes max_addresses variable which is now unecessary related to patch [ipv6: remove max_addresses check from ipv6_create_tempaddr]. Signed-off-by: Petr Holasek

Re: [Xen-devel] [PATCH v5 02/13] arm: introduce a global dma_ops pointer

2013-09-02 Thread Julien Grall
On 08/29/2013 07:32 PM, Stefano Stabellini wrote: Initially set dma_ops to arm_dma_ops. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com CC: will.dea...@arm.com CC: li...@arm.linux.org.uk Changes in v3: - keep

Re: Clock framework deadlock with external SPI clockchip

2013-09-02 Thread Lars-Peter Clausen
On 09/02/2013 01:18 PM, Peter De Schrijver wrote: On Fri, Aug 30, 2013 at 03:24:45PM +0200, Lars-Peter Clausen wrote: Hi, I'm currently facing a deadlock in the common clock framework that unfortunately is not addressed by the reentrancy patches. I have a external clock chip that is

Re: [PATCH] dmaengine: dma_slave_caps: remove sg entries

2013-09-02 Thread Lars-Peter Clausen
On 09/02/2013 02:21 PM, Vinod Koul wrote: As pointed by Russell in [1], the sg properties are already availble in struct device, so no need to duplicate here. [1]: http://marc.info/?l=linux-omapm=137416733628831 Hm, I guess that will work as well, but shouldn't we update the drivers that

Re: [PATCH] drm/i2c: Fix broken TDA998x audio (was: Re: [PATCH v2 5/8] drm/i2c: tda998x: add video and audio input configuration)

2013-09-02 Thread Russell King - ARM Linux
On Wed, Aug 14, 2013 at 09:43:30PM +0200, Sebastian Hesselbarth wrote: From: Russell King rmk+ker...@arm.linux.org.uk This patch adds tda998x specific parameters to allow it to be configured for different boards using it. Also, this implements rudimentary audio support for S/PDIF attached

Re: [GIT PULL] ARM/ARM64 architected timer updates for v3.12, take 2

2013-09-02 Thread Daniel Lezcano
On 08/30/2013 06:52 PM, Sudeep KarkadaNagesha wrote: git://linux-arm.org/linux-skn.git timer_evtstrm Hi Sudeep, I don't see the acked-by from Olof or Kevin. Your patchset touches files under arch/arm which are maintained by them and I won't take the patchset if they don't agree the

[PATCH 1/1] drivers/acpi: acpi_ipmi.c replace mutex with spin_lock_irqsave

2013-09-02 Thread Tony Camuso
From: tcam...@redhat.com From: Tony Camuso tcam...@redhat.com We were getting occasional Scheduling while atomic call traces during boot on some systems. Problem was first seen on a Cisco C210 but we were able to reproduce it on a Cisco c220m3. Setting CONFIG_LOCKDEP and LOCKDEP_SUPPORT to 'y'

Re: [GIT PULL] ARM/ARM64 architected timer updates for v3.12, take 2

2013-09-02 Thread Sudeep KarkadaNagesha
On 02/09/13 15:54, Daniel Lezcano wrote: On 08/30/2013 06:52 PM, Sudeep KarkadaNagesha wrote: git://linux-arm.org/linux-skn.git timer_evtstrm Hi Sudeep, I don't see the acked-by from Olof or Kevin. Your patchset touches files under arch/arm which are maintained by them and I won't take

Re: [GIT PULL] ARM/ARM64 architected timer updates for v3.12, take 2

2013-09-02 Thread Daniel Lezcano
On 09/02/2013 05:04 PM, Sudeep KarkadaNagesha wrote: On 02/09/13 15:54, Daniel Lezcano wrote: On 08/30/2013 06:52 PM, Sudeep KarkadaNagesha wrote: git://linux-arm.org/linux-skn.git timer_evtstrm Hi Sudeep, I don't see the acked-by from Olof or Kevin. Your patchset touches files under

Re: [PATCH] Remove support for score architecture

2013-09-02 Thread Lennox Wu
Before we start the development of the S+core, Sunplus had licensed ARM and MIPS. We develop S+core for other reason such as the price. Some products on the web of Sunplus adopt S+core , for example the SPV7050.(http://w3.sunplus.com/products/spv7050.asp) These products could still be bought from

<    3   4   5   6   7   8   9   10   11   >