Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-25 Thread Xufeng Zhang
On 7/25/12, Neil Horman nhor...@tuxdriver.com wrote: On Wed, Jul 25, 2012 at 05:22:19PM +0800, Xufeng Zhang wrote: On 7/25/12, Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/25/12, Vlad Yasevich vyasev...@gmail.com wrote: Actually not true. AUTH can be before SACK. So can any addip

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-25 Thread wwang
Hi Aaron: Thank you. I will modify our host per your suggestion. BR, wwang 于 2012年07月25日 18:16, Aaron Lu 写道: Hi Wei, We do not use MMC_CAP_MAX_CURRENT_* anymore, for your host, I would sugget you do something like this: static void realtek_init(struct realtek_sdmmc *host) { struct

Re: [PATCH 1/2] vsprintf: Fix %ps on non symbols when using kallsyms

2012-07-25 Thread Stephen Boyd
Hi Andrew, On 4/23/2012 2:55 PM, Andrew Morton wrote: On Mon, 23 Apr 2012 14:45:24 -0700 Stephen Boyd sb...@codeaurora.org wrote: Using %ps in a printk format will sometimes fail silently and print the empty string if the address passed in does not match a symbol that kallsyms knows about.

Re: [PATCH 2/2] Fetch dmi version from SMBIOS if it exist

2012-07-25 Thread zhenzhong.duan
于 2012-07-26 03:55, Andrew Morton 写道: On Wed, 25 Jul 2012 19:05:09 +0800 zhenzhong.duanzhenzhong.d...@oracle.com wrote: The right dmi version is in SMBIOS if it's zero in DMI region This description is too brief to permit me to understand the patch. Can you please provide a more detailed

Re: [PATCH] posix_types.h: Cleanup stale __NFDBITS and related definitions

2012-07-25 Thread Josh Boyer
On Wed, Jul 25, 2012 at 08:33:22PM -0500, Jonathan Nieder wrote: Hi, Josh Boyer wrote: Indeed. However, I believe Linus pointed out that even before 8b3d1cda4f5f the macros that were removed weren't actually used. It's likely safe to go back further than just 3.4. I'll verify

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
Thank you very much for taking the time to look into this. On 07/25/2012 06:00 PM, Phil Turmel wrote: Piles of small reads scattered across multiple drives, and a concentration of queued writes to /dev/sda. What's on /dev/sda? It's not a member of the raid, so it must be some other system

[PATCH] perf target: Fix check on buffer size

2012-07-25 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It was a mistake just replace assert to BUG_ON since its condition should be negated. Fix it. Cc: Kirill A. Shutemov kir...@shutemov.name Cc: Ulrich Drepper drep...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/target.c |

linux-next: manual merge of the rr tree with the arm tree

2012-07-25 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the rr tree got a conflict in arch/arm/Kconfig between commits 8c56cc8be5b3 (ARM: 7449/1: use generic strnlen_user and strncpy_from_user functions) and b9a50f74905a (ARM: 7450/1: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs) from the arm

Re: [PATCH] posix_types.h: Cleanup stale __NFDBITS and related definitions

2012-07-25 Thread Ben Hutchings
On Wed, 2012-07-25 at 21:27 -0400, Josh Boyer wrote: On Thu, Jul 26, 2012 at 12:26:36AM +0100, Ben Hutchings wrote: On Wed, 2012-07-25 at 10:40 -0400, Josh Boyer wrote: Recently, glibc made a change to suppress sign-conversion warnings in FD_SET (glibc commit ceb9e56b3d1). This

Re: RAID extremely slow

2012-07-25 Thread CoolCold
On Thu, Jul 26, 2012 at 5:55 AM, Kevin Ross ke...@familyross.net wrote: Thank you very much for taking the time to look into this. On 07/25/2012 06:00 PM, Phil Turmel wrote: Piles of small reads scattered across multiple drives, and a concentration of queued writes to /dev/sda. What's on

Re: [git patches] libata updates

2012-07-25 Thread Jeff Garzik
On 07/25/2012 07:30 PM, Linus Torvalds wrote: On Wed, Jul 25, 2012 at 3:58 PM, Jeff Garzik jgar...@pobox.com wrote: What is the right course in when a post-merge change is needed? Just describe the issue and the required change. Than I can just do it as part of the merge, and now the whole

Re: [PATCH] tlg2300: Declare MODULE_FIRMWARE usage

2012-07-25 Thread Huang Shijie
thanks. Acked-by: Huang Shijie shij...@gmail.com On Thu, Jul 26, 2012 at 3:41 AM, Tim Gardner tim.gard...@canonical.com wrote: Cc: Huang Shijie shij...@gmail.com Cc: Kang Yong kangy...@telegent.com Cc: Zhang Xiaobing xbzh...@telegent.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc:

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
On 07/25/2012 07:09 PM, CoolCold wrote: You might be interested in write intent bitmap then, it gonna help a lot. (resending in plain text) Thanks, I'll look into that! -- Kevin -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [RFC PATCH 00/13] firmware loader: introduce cache/uncache firmware

2012-07-25 Thread Ming Lei
On Thu, Jul 26, 2012 at 1:23 AM, Linus Torvalds torva...@linux-foundation.org wrote: So *if* the only problem wrt the USB hub code comes from this area, IMO, USB hub code may not be the only one because both device_add and device_del can just be run in process context, so any hotplug bus may

Re: [RFC PATCH 07/13] driver core: firmware loader: introduce cache_firmware and uncache_firmware

2012-07-25 Thread Ming Lei
On Wed, Jul 25, 2012 at 3:54 PM, Stephen Boyd sb...@codeaurora.org wrote: On 7/24/2012 10:00 AM, Ming Lei wrote: + +int cache_firmware(const char *name) +{ + return -ENOENT; +} + +int uncache_firmware(const char *name) +{ + return -EINVAL; +} These stubs need to be static

Re: [RFC PATCH 07/13] driver core: firmware loader: introduce cache_firmware and uncache_firmware

2012-07-25 Thread Ming Lei
On Wed, Jul 25, 2012 at 11:52 PM, Borislav Petkov b...@amd64.org wrote: You have similar functionality in fw_lookup_and_alloate_buf() above. Can't you reuse it instead of defining a new function? The problem is that the lock can't be released between lookup and allocate inside

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-25 Thread Vlad Yasevich
Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/25/12, Vlad Yasevich vyasev...@gmail.com wrote: And after take a moment to look into the relative codes, I think we can implement it by below way: 1). Add a flag(isi_err_needed) in the embedded struct peer of struct struct sctp_association

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-25 Thread Xufeng Zhang
On 7/26/12, Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/25/12, Vlad Yasevich vyasev...@gmail.com wrote: And after take a moment to look into the relative codes, I think we can implement it by below way: 1). Add a flag(isi_err_needed) in the embedded struct peer of struct struct

Re: [PATCH v2] leds: add new lp8788 led driver

2012-07-25 Thread Bryan Wu
On Thu, Jul 26, 2012 at 2:43 AM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Wed, Jul 25, 2012 at 12:46:56PM +0800, Bryan Wu wrote: I'm going to Ack this driver and Mark will you merge this as whole patchset? Acked-by: Bryan Wu bryan...@canonical.com It's an MFD so Samuel would

Re: [RFC PATCH 05/13] driver core: firmware loader: introduce firmware_buf

2012-07-25 Thread Ming Lei
On Wed, Jul 25, 2012 at 9:59 PM, Borislav Petkov b...@amd64.org wrote: This is subtle: the caller of fw_free_buf might forget to assign NULL to the buf ptr. Who is the caller? Since it is always called inside firmware loader, we should make sure that. Why not pass struct firmware_priv

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-25 Thread Vlad Yasevich
Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/26/12, Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/25/12, Vlad Yasevich vyasev...@gmail.com wrote: And after take a moment to look into the relative codes, I think we can implement it by below way: 1). Add a flag(isi_err_needed) in

Re: [RFC PATCH 08/13] driver core: firmware loader: fix device lifetime

2012-07-25 Thread Ming Lei
On Thu, Jul 26, 2012 at 12:04 AM, Borislav Petkov b...@amd64.org wrote: Also this patch holds the reference cound of @device before count Good catch, will fix it in -v1. - * it is not possible to sleep for long time. It can't be called - * in

[PATCH] mainline 3.5, fcoe: remove the __exit annotation of fcoe_transport_exit()

2012-07-25 Thread Sha Zhengju
From: Sha Zhengju handai@taobao.com While testing linux mainline v3.5, it comes out the following warning: WARNING: drivers/scsi/fcoe/libfcoe.o(.init.text+0x21): Section mismatch in reference from the function init_module() to the function .exit.text:fcoe_transport_exit() The function

realtek card reader core driver

2012-07-25 Thread wwang
Hi Dan: Sorry to bother you. I can't find the maintainer of drivers/misc. So if I want to submit my driver as misc device, who should I contact to send my patch? Thank you very much. I really appreciate this help. BR, wwang -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-25 Thread Xufeng Zhang
On 7/26/12, Vlad Yasevich vyasev...@gmail.com wrote: Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/26/12, Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/25/12, Vlad Yasevich vyasev...@gmail.com wrote: And after take a moment to look into the relative codes, I think we can implement

Re: [PATCH 07/10] random: add new get_random_bytes_arch() function

2012-07-25 Thread H. Peter Anvin
On 07/25/2012 08:10 AM, Theodore Ts'o wrote: Aside from whether it's better to do this step in xfer_secondary_pool() or extract_entropy() ... By the way, I looked at doing this in xfer_secondary_pool()... the problem there is that xfer_secondary_pool() is called exactly once per invocation

Re: [PATCH 07/10] random: add new get_random_bytes_arch() function

2012-07-25 Thread H. Peter Anvin
On 07/25/2012 08:16 PM, H. Peter Anvin wrote: On 07/25/2012 08:10 AM, Theodore Ts'o wrote: Aside from whether it's better to do this step in xfer_secondary_pool() or extract_entropy() ... By the way, I looked at doing this in xfer_secondary_pool()... the problem there is that

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-25 Thread Bryan Wu
On Thu, Jul 26, 2012 at 2:54 AM, Colin Cross ccr...@android.com wrote: On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu bryan...@canonical.com wrote: On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross ccr...@android.com wrote: Some triggers create sysfs files when they are enabled. Send a uevent change

Re: [PATCH] posix_types.h: Cleanup stale __NFDBITS and related definitions

2012-07-25 Thread Jonathan Nieder
Josh Boyer wrote: That should be the question, yes. The answer is: However far back people wish to use older stable kernel-headers to build applications against newer glibc. It isn't a clear answer. Thanks for explaining. Some people stick with older kernels

[PATCH v2 0/3] KVM: remove dummy pages

2012-07-25 Thread Xiao Guangrong
Changelog: correct some typos in the title/changelog. Currently, kvm allocates some pages (e.g: bad_page/fault_page) and use them as error indicators, it wastes memory and is not good for scalability. Base on Avi's suggestion, in this patchset, we introduce some error codes instead of these

[PATCH v2 2/3] KVM: use kvm_release_page_clean to release the page

2012-07-25 Thread Xiao Guangrong
In kvm_async_pf_wakeup_all, it uses bad_page to generate broadcast wakeup, and uses put_page to release bad_page, the work depends on the fact that bad_page is the normal page. But we will use the error code instead of bad_page, so use kvm_release_page_clean to release the page which will release

[PATCH v2 1/3] KVM: MMU: use kvm_release_pfn_clean to release pfn

2012-07-25 Thread Xiao Guangrong
The current code depends on the fact that fault_page is the normal page, however, we will use the error code instead of these dummy pages in the later patch, so we use kvm_release_pfn_clean to release pfn which will release the error code properly Signed-off-by: Xiao Guangrong

Re: realtek card reader core driver

2012-07-25 Thread gre...@linuxfoundation.org
On Thu, Jul 26, 2012 at 11:11:50AM +0800, wwang wrote: Hi Dan: Sorry to bother you. I can't find the maintainer of drivers/misc. So if I want to submit my driver as misc device, who should I contact to send my patch? From the MAINTAINERS file: CHAR and MISC DRIVERS M: Arnd Bergmann

[PATCH v2 3/3] KVM: remove dummy pages

2012-07-25 Thread Xiao Guangrong
Currently, kvm allocates some pages and use them as error indicators, it wastes memory and is not good for scalability Base on Avi's suggestion, we use the error codes instead of these pages to indicate the error conditions Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com ---

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-25 Thread Greg KH
On Thu, Jul 26, 2012 at 11:29:48AM +0800, Bryan Wu wrote: On Thu, Jul 26, 2012 at 2:54 AM, Colin Cross ccr...@android.com wrote: On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu bryan...@canonical.com wrote: On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross ccr...@android.com wrote: Some triggers

RE: [PATCH v4] mmc: dw_mmc: Disable low power mode if SDIO interrupts are used

2012-07-25 Thread Seungwon Jeon
July 26, 2012, Doug Anderson diand...@chromium.org wrote: The documentation for the dw_mmc part says that the low power mode should normally only be set for MMC and SD memory and should be turned off for SDIO cards that need interrupts detected. The best place I could find to do this is when

[git pull] drm tree for v3.6-rc1

2012-07-25 Thread Dave Airlie
Hi Linus, one of the smaller drm -next pulls in ages! Ben (nouveau) has a rewrite in progress but we decided to leave it stew for another cycle, so just some fixes from him. radeon: lots of documentation work, fixes, more ring and locking changes, pcie gen2, more dp fixes, i915: haswell

Re: [PATCH v5 8/8] Added /proc/net/sco via bt_procfs_init()

2012-07-25 Thread Gustavo Padovan
Hi Masatake, * Masatake YAMATO yam...@redhat.com [2012-07-26 01:30:12 +0900]: Added /proc/net/sco via bt_procfs_init(). Signed-off-by: Masatake YAMATO yam...@redhat.com --- net/bluetooth/sco.c |9 + 1 file changed, 9 insertions(+) All 8 patches have been applied to

linux-next: manual merge of the akpm tree with the rr tree

2012-07-25 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/s390/Kconfig arch/x86/Kconfig between commit 380470027b5c (Make most arch asm/module.h files use asm-generic/module.h) from the rr tree and commit 3fcc9766e733 (atomic64_test: simplify the #ifdef for

ACPI Power Management Patches for Linux-3.6-merge

2012-07-25 Thread Len Brown
Hi Linus, Please pull these ACPI Power Management patches. re-write of the turbostat tool. lower overhead was necessary for measuring very large system when they are very idle. IVB support in intel_idle It's what I run on my IVB, others should be able to also:-) ACPICA

linux-next: manual merge of the akpm tree with the rr tree

2012-07-25 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got conflicts in arch/alpha/Kconfig, arch/avr32/Kconfig, arch/blackfin/Kconfig, arch/cris/Kconfig, arch/h8300/Kconfig, arch/m32r/Kconfig, arch/m68k/Kconfig, arch/microblaze/Kconfig, arch/mips/Kconfig, arch/mn10300/Kconfig, arch/powerpc/Kconfig,

Re: [git patches] libata updates

2012-07-25 Thread Aaron Lu
On 07/26/2012 05:38 AM, Jeff Garzik wrote: On 07/25/2012 04:35 PM, Jeff Garzik wrote: * Updating libata to directly bind with ACPI / runtime power mgmt. This is a pre-req for SATA ZPODD (CD-ROM power management). Touches ACPI (exports++) and SCSI in minor ways. Has been in linux-next for

Re: [PATCH 1/4] uprobes: introduce vaddr_to_offset(vma, vaddr)

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:17]: Add the new helper, vaddr_to_offset(vma, vaddr) which returns the offset in vma-vm_file this vaddr is mapped at. Change build_probe_list() and find_active_uprobe() to use the new helper, the next patch adds another user.

Re: [PATCH] uprobes: teach build_probe_list() to consider the range

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-07-09 15:35:10]: Currently build_probe_list() builds the list of all uprobes attached to the given inode, and the caller should filter out those who don't fall into the [start,end) range, this is sub-optimal. This patch turns find_least_offset_node()

Re: [PATCH 3/4] uprobes: rename vma_address() and make it return unsigned long

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:22]: 1. vma_address() returns loff_t, this looks confusing and this is unnecessary after the previous change. Make it return ulong, all callers truncate the result anyway. 2. Its name conflicts with mm/rmap.c:vma_address(), rename it

Re: [PATCH 2/4] uprobes: fix register_for_each_vma()-vma_address() check

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:20]: 1. register_for_each_vma() checks that vma_address() == vaddr but this is not enough. We should also ensure that vaddr = vm_start, find_vma() guarantees vaddr vm_end only. 2. After the prevous changes, register_for_each_vma() is

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
unused devices:none # cat /proc/sys/dev/raid/speed_limit_min 1 MD is unable to reach its minimum rebuild rate while other system activity is ongoing. You might want to lower this number to see if that gets you out of the stalls. Or temporarily shut down mythtv. I will try lowering

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-25 Thread Bryan Wu
On Thu, Jul 26, 2012 at 11:59 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Jul 26, 2012 at 11:29:48AM +0800, Bryan Wu wrote: On Thu, Jul 26, 2012 at 2:54 AM, Colin Cross ccr...@android.com wrote: On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu bryan...@canonical.com wrote: On Wed, Jul

linux-next: Tree for July 26

2012-07-25 Thread Stephen Rothwell
Hi all, Please do not add anything to linux-next included branches/series that is destined for v3.7 until after v3.6-rc1 is released. Reminder: do not rebase your branches before asking Linus to pull them ... Changes since 20120725: The libata tree lost its merge fix patch. The scsi tree lost

Re: [git patches] libata updates

2012-07-25 Thread James Bottomley
On Thu, 2012-07-26 at 12:47 +0800, Aaron Lu wrote: On 07/26/2012 05:38 AM, Jeff Garzik wrote: On 07/25/2012 04:35 PM, Jeff Garzik wrote: * Updating libata to directly bind with ACPI / runtime power mgmt. This is a pre-req for SATA ZPODD (CD-ROM power management). Touches ACPI

Re: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks on v3.6

2012-07-25 Thread Michael Wang
On 07/26/2012 05:16 AM, Sasha Levin wrote: On 07/25/2012 10:36 AM, Michael Wang wrote: On 07/25/2012 01:10 AM, Sasha Levin wrote: Hi all, I was fuzzing with trinity inside a KVM tools guest, on the current 3.6, and stumbled on the following: Hi, Sasha I'm currently trying to reproduce

[PATCH v2] KVM: x86: simplify read_emulated

2012-07-25 Thread Xiao Guangrong
No need split mmio read region into 8-bits pieces since we do it in emulator_read_write_onepage Changelog: Add a WARN_ON to check read-cache overflow Acked-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- arch/x86/kvm/emulate.c | 31

Re: [PATCH 08/11] perf tool: precise mode requires exclude_guest

2012-07-25 Thread David Ahern
On 7/24/12 12:03 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 24, 2012 at 11:28:48AM -0600, David Ahern escreveu: On 7/24/12 10:15 AM, Robert Richter wrote: On AMD cpus precise_ip maps to IBS, which does not support hardware options as perfctrs do. Thus, following attr flags are not

Re: [git patches] libata updates

2012-07-25 Thread Aaron Lu
On 07/26/2012 01:05 PM, James Bottomley wrote: On Thu, 2012-07-26 at 12:47 +0800, Aaron Lu wrote: On 07/26/2012 05:38 AM, Jeff Garzik wrote: On 07/25/2012 04:35 PM, Jeff Garzik wrote: * Updating libata to directly bind with ACPI / runtime power mgmt. This is a pre-req for SATA ZPODD (CD-ROM

Re: [PATCH 4/4] uprobes: __replace_page() needs munlock_vma_page()

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-07-12 19:10:25]: Like do_wp_page(), __replace_page() should do munlock_vma_page() for the case when the old page still has other !VM_LOCKED mappings. Unfortunately this needs mm/internal.h. Also, move put_page() outside of ptl lock. This doesn't really

[PATCH 1/2] powerpc: Add trap_nr to thread_struct

2012-07-25 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli ana...@in.ibm.com Add thread_struct.trap_nr and use it to store the last exception the thread experienced. In this patch, we populate the field at various places where we force_sig_info() to the process. This is also used in uprobes to determine if the probed

[PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-07-25 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli ana...@in.ibm.com This is the port of uprobes to powerpc. Usage is similar to x86. [root@ ~]# ./bin/perf probe -x /lib64/libc.so.6 malloc Added new event: probe_libc:malloc(on 0xb4860) You can now use it in all perf tools, such as: perf record

[PATCH 2/2] sched: fix a logical error in select_task_rq_fair

2012-07-25 Thread Alex Shi
If find_idlest_cpu() return '-1', and sd-child is NULL. The function select_task_rq_fair will return -1. That is not the function's purpose. The patch introduced a latest_cpu as temporay varible to store find_idlest_cpu() return value, and let new_cpu to store the latest workable cpu. If

[PATCH 1/2] sched: recover SD_WAKE_AFFINE in select_task_rq_fair and code clean up

2012-07-25 Thread Alex Shi
Since power saving code was removed from sched now, the implement code is out of service in this function, and even pollute other logical. like, 'want_sd' never has chance to be set '0', that remove the effect of SD_WAKE_AFFINE here. So, clean up the obsolete code and some other unnecessary code.

Re: [PATCH] x86/mm: stop allocating pmd page if failed

2012-07-25 Thread Jeremy Fitzhardinge
On 07/24/2012 06:15 AM, Yuanhan Liu wrote: The old code would call __get_free_page() even though previous allocation fail met. This is not needed. Yeah, I guess, but its hardly worth changing. J Signed-off-by: Yuanhan Liu yliu.n...@gmail.com Cc: Jeremy Fitzhardinge jer...@goop.org

Re: [PATCH 08/11] perf tool: precise mode requires exclude_guest

2012-07-25 Thread Gleb Natapov
On Wed, Jul 25, 2012 at 10:35:46PM +0200, Peter Zijlstra wrote: On Tue, 2012-07-24 at 18:15 +0200, Robert Richter wrote: David, On 24.07.12 08:20:19, David Ahern wrote: On 7/23/12 12:13 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 20, 2012 at 05:25:53PM -0600, David Ahern

[PATCH V7 2/4] (Updated) MIPS: Add board support for Loongson1B

2012-07-25 Thread Kelvin Cheung
This patch adds basic platform devices for Loongson1B, including serial port, ethernet, usb, rtc and interrupt handler. Loongson1B UART is compatible with NS16550A. Loongson1B GMAC is built around Synopsys IP Core. Use normal descriptor instead of enhanced descriptor. Thanks to Giuseppe for

[PATCH V7 3/4] (Updated) MIPS: Add Makefile and Kconfig for Loongson1B

2012-07-25 Thread Kelvin Cheung
This patch adds Makefile and Kconfig related to Loongson1B. Signed-off-by: Kelvin Cheung keguang.zh...@gmail.com --- V7(updated): Change the load address of kernel to 0x8010. --- arch/mips/Kbuild.platforms |1 + arch/mips/Kconfig | 31

[PATCH V7 4/4] (Updated) MIPS: Add defconfig for Loongson1B

2012-07-25 Thread Kelvin Cheung
This patch adds defconfig for Loongson1B. Signed-off-by: Kelvin Cheung keguang.zh...@gmail.com --- V7(updated): Add CONFIG_USB_ANNOUNCE_NEW_DEVICES in default configuration. --- arch/mips/configs/ls1b_defconfig | 109 ++ 1 files changed, 109

Re: [PATCH] fixed a macro coding style issue

2012-07-25 Thread Baodong Chen
this patch definitely changes semantics. so please discard it, sorry about that! On Wed, Jul 25, 2012 at 1:37 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: On Wed, Jul 25, 2012 at 01:20:56PM +0800, Baodong Chen wrote: Fixed a coding style issue in driver/input/input.c Signed-off-by:

Re: [PATCH] extcon: arizona: Implement button detection support

2012-07-25 Thread Chanwoo Choi
Hi Mark, On 07/21/2012 01:07 AM, Mark Brown wrote: As well as identifying accessories the accessory detection hardware on Arizona class devices can also detect a number of buttons which we should report via the input API. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com ---

Re: [PATCH] leds: triggers: send uevent when changing triggers

2012-07-25 Thread Bryan Wu
On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross ccr...@android.com wrote: Some triggers create sysfs files when they are enabled. Send a uevent change notification whenever the trigger is changed to allow userspace processes such as udev to modify permissions on the new files. This looks like

Re: [PATCH] fixed a macro coding style issue

2012-07-25 Thread Al Viro
On Tue, Jul 24, 2012 at 10:37:55PM -0700, Dmitry Torokhov wrote: On Wed, Jul 25, 2012 at 01:20:56PM +0800, Baodong Chen wrote: Fixed a coding style issue in driver/input/input.c Signed-off-by: Baodong Chen chenbdche...@gmail.com --- drivers/input/input.c |6 -- 1 files

RE: [PATCH v2 0/4] ACPI: hotplug messages improvement

2012-07-25 Thread Pandarathil, Vijaymohan R
Hi Toshi, Tested your patches on a KVM setup. Since all your acpi_pr* macros are in the error path, I didn't see an easy way to trigger them. Instead added an acpi_pr_err() message in the success path and tested out vcpu addition/deletion sequence. No regressions seen in the functional tests

Re: [PATCH] extcon: extcon_gpio: Replace gpio_request_one by devm_gpio_request_one

2012-07-25 Thread Chanwoo Choi
On 07/24/2012 10:26 AM, Axel Lin wrote: commit 01eaf24 extcon: Convert extcon_gpio to devm_gpio_request_one missed the replacement for devm_gpio_request_one. fix it. Signed-off-by: Axel Lin axel@gmail.com --- drivers/extcon/extcon_gpio.c |3 ++- 1 file changed, 2 insertions(+), 1

[ANNOUNCE] autofs 5.0.7 release

2012-07-25 Thread Ian Kent
Hi all, Once again this is long overdue so there are many changes. The kernel patches are not being updated any more because of the introduction of the vfs-automount changes to the VFS. If there are needs in this area we will need to discuss how to deal with them on the mailing list. Known

[PATCH] spi: omap2-mcspi: In case of dma errors fall back to pio

2012-07-25 Thread Shubhrajyoti D
In case there are dma errors currently the driver exits. Make the spi driver fall back to pio mode in case of dma errors. If the DMA engine is not selected the driver exits.This patch makes the spi fall back to pio in that case. Also adds a field dma_unusable to struct omap2_mcspi.

[Fwd: [ANNOUNCE] autofs 5.0.7 release]

2012-07-25 Thread Ian Kent
Hi all, Oops, I sent this without updating the autofs mailing list address in my release announcement template and I didn't sign the message which I wanted to do. Sorry for the noise. Ian Forwarded Message From: Ian Kent ra...@themaw.net To: aut...@linux.kernel.org Cc:

[PATCH 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-07-25 Thread Hideki EIRAKU
This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides address translation including tile-linear translation.

[PATCH 1/3] ARM: dma-mapping: define ARCH_HAS_DMA_MMAP_COHERENT

2012-07-25 Thread Hideki EIRAKU
ARCH_HAS_DMA_MMAP_COHERENT indicates that there is dma_mmap_coherent() API in this architecture. The name is already defined in PowerPC. Signed-off-by: Hideki EIRAKU h...@igel.co.jp --- arch/arm/include/asm/dma-mapping.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[PATCH 0/3] Use dma_mmap_coherent to support IOMMU mapper

2012-07-25 Thread Hideki EIRAKU
There is a dma_mmap_coherent() API in some architectures. This API provides a mmap function for memory allocated by dma_alloc_coherent(). Some drivers mmap a dma_addr_t returned by dma_alloc_coherent() as a physical address. But such drivers do not work correctly when IOMMU mapper is used.

[PATCH 3/3] fbdev: sh_mobile_lcdc: use dma_mmap_coherent if available

2012-07-25 Thread Hideki EIRAKU
fb_mmap() implemented in fbmem.c uses smem_start as the physical address of the frame buffer. In the sh_mobile_lcdc driver, the smem_start is a dma_addr_t that is not a physical address when IOMMU is enabled. dma_mmap_coherent() maps the address correctly. It is available on ARM platforms.

[PATCH 2/3] media: videobuf2-dma-contig: use dma_mmap_coherent if available

2012-07-25 Thread Hideki EIRAKU
Previously the vb2_dma_contig_mmap() function was using a dma_addr_t as a physical address. The two addressses are not necessarily the same. For example, when using the IOMMU funtion on certain platforms, dma_addr_t addresses are not directly mappable physical address. dma_mmap_coherent() maps

[PATCH 0/2] Renesas IPMMU driver for sh7372

2012-07-25 Thread Hideki EIRAKU
This is the Renesas IPMMU driver, IOMMU API implementation and IPMMU device support for sh7372 (AP4EVB and Mackerel). The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides

[PATCH 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-07-25 Thread Hideki EIRAKU
This patch adds an IPMMU device and notifies the IPMMU driver which devices are connected via the IPMMU module. All devices connected to the main memory bus via the IPMMU module MUST be registered when SHMOBILE_IPMMU and SHMOBILE_IOMMU are enabled because physical address cannot be used while the

Re: [Bcache v15 07/16] Closures

2012-07-25 Thread Kent Overstreet
On Tue, Jul 24, 2012 at 09:04:50AM -0700, Alex Elsayed wrote: Out of curiosity, have you seen Featherstitch[1]?. Valerie Aurora did a really nice article[2] about it for LWN a ways back. I don't think I had. Not sure if any of it is applicable, but interesting stuff :) [1]

UNABLE TO PROCESS LOG SUBMISSION: hello

2012-07-25 Thread Contest Robot
(This is an automatic reply.) Your message to iar...@iaru.org could not be processed because the Subject: of the message hello is not a valid callsign. Please resubmit your log with an email Subject: header that looks like this Subject: your-callsign If you are

Re: [PATCH] fixed a macro coding style issue

2012-07-25 Thread Dmitry Torokhov
On Wed, Jul 25, 2012 at 07:15:12AM +0100, Al Viro wrote: On Tue, Jul 24, 2012 at 10:37:55PM -0700, Dmitry Torokhov wrote: On Wed, Jul 25, 2012 at 01:20:56PM +0800, Baodong Chen wrote: Fixed a coding style issue in driver/input/input.c Signed-off-by: Baodong Chen chenbdche...@gmail.com

[PATCH] mmc: card: Add Sanitize unit test

2012-07-25 Thread Maya Erez
This test write data to the card, then send DISCARD on random addresses on the card, send SANITIZE to the card to erase all the unmapped areas. Signed-off-by: Maya Erez me...@codeaurora.org --- This patch depends of the following patches: [PATCH RESEND v7 1/2] block: ioctl support for sanitize

tasklist_lock lockdep warnings on 3.6

2012-07-25 Thread Sasha Levin
Hi all, I've stumbled on the following while fuzzing with trinity inside a KVM tools guest on 3.6 kernel: [ 250.495512] == [ 250.496020] [ INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected ] [ 250.496020] 3.5.0-sasha-01646-g39c0dda

Re: [linux-pm] ACPI Power Management Patches for Linux-3.6-merge - part 1

2012-07-25 Thread Amit Kachhap
On 25 July 2012 09:10, Len Brown l...@kernel.org wrote: Here is my initial queue of patches for Linux 3.6. Please let me know if you see troubles with any of them. Hi Len, I cannot see my patches (V5) http://www.spinics.net/lists/linux-pm/msg27866.html in your list. V4 version was part of your

Re: linux-next: manual merge of the mfd tree with Linus' tree

2012-07-25 Thread Laxman Dewangan
On Wednesday 25 July 2012 06:48 AM, Stephen Rothwell wrote: * PGP Signed by an unknown key Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in arch/arm/configs/tegra_defconfig between commit dbebe1589d3a (ARM: tegra: defconfig updates) from Linus' tree and commit 05f3ad2b8ae5

Re: [PATCH 2/2] cpu: intel, amd: mask cleared cpuid features

2012-07-25 Thread Vladimir Davydov
On 07/25/2012 04:57 AM, H. Peter Anvin wrote: On 07/24/2012 04:09 AM, Vladimir Davydov wrote: We have not encountered this situation in our environments and I hope we won't :-) But look, these CPUID functions cover majority of CPU features, don't they? So, most of normal apps inside VM will

[git pull] Input updates for 3.6-rc0

2012-07-25 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive first set of updates for the input subsystem. You will get a new touchscreen driver (Melfas mms114), a new keypad driver for LPC32xx SoC, large update to Atmel mXT touchscreen

Re: [PATCH v2 1/4] ACPI: Add acpi_pr_level() interfaces

2012-07-25 Thread Joe Perches
On Fri, 2012-07-20 at 10:54 -0600, Toshi Kani wrote: This patch introduces acpi_pr_level(), where level is a message level such as err/warn/info, to support improved logging messages for ACPI, esp. in hotplug operations. acpi_pr_level() appends ACPI prefix and ACPI object path to the

Re: linux-next: manual merge of the akpm tree with the tip tree

2012-07-25 Thread Ingo Molnar
* Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in mm/migrate.c between the tip tree and commit mm: memcg: fix compaction/migration failing due to memcg limits from the akpm tree. The commit 4783af477d3d (mm:

[PATCH] fixed coding style issues

2012-07-25 Thread Baodong Chen
Fexed coding style issues from scripts/checkpatch.pl in drivers/input Signed-off-by: Baodong Chen chenbdche...@gmail.com --- drivers/input/apm-power.c |2 +- drivers/input/evdev.c | 52 +++- drivers/input/ff-core.c |4 +-

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-25 Thread Vlad Yasevich
Xufeng Zhang xufengzhang.m...@gmail.com wrote: On 7/24/12, Vlad Yasevich vyasev...@gmail.com wrote: And I should clarify the above judgment code. AFAIK, there should be two cases for the bundling when invalid stream identifier error happens: 1). COOKIE_ACK ERROR SACK 2). ERROR SACK So I

Re: [PATCH 07/10] random: add new get_random_bytes_arch() function

2012-07-25 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: For those who have read the Google+ thread[1] it is pretty clear that there are varying opinions on the idea of removing the RDRAND bypass. I have gathered some performance numbers to make the debate more concrete: RDRAND is between 12 and 15

Re: [PATCH] fixed coding style issues

2012-07-25 Thread Joe Perches
On Wed, 2012-07-25 at 15:11 +0800, Baodong Chen wrote: Fexed coding style issues from scripts/checkpatch.pl in drivers/input Not all checkpatch messages need to be fexed. :) Please use some taste and judgment before submitting patches based solely on checkpatch output. diff --git

Re: linux-next: manual merge of the akpm tree with the tip tree

2012-07-25 Thread Johannes Weiner
On Wed, Jul 25, 2012 at 09:10:44AM +0200, Ingo Molnar wrote: * Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in mm/migrate.c between the tip tree and commit mm: memcg: fix compaction/migration failing due to

Re: [REPOST #3 PATCH v2] Input: atkbd - make repeat period more accurate.

2012-07-25 Thread Dmitry Torokhov
Hi George, On Sat, Jul 21, 2012 at 11:42:28PM -0400, George Spelvin wrote: This replaces some inaccurate lookup tables with an exact computation. Although the diff adds source comments, it shrinks binary size. (By only 50 bytes, but hey.) AT keyboard repeat rates are multiples of 1/240

Re: [PATCH 1/3] perf tools: Fix trace events storms due to weight demux

2012-07-25 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: In case you wonder. This doesn't fix a regression so this is 3.6 material. The newline and tracing one might be argued a regression, but yeah, these are probably best for v3.6. Thanks, Ingo -- To unsubscribe from this list: send the

Re: [PATCH] fixed coding style issues

2012-07-25 Thread Baodong Chen
i want to participate in and to start from fixing simple issues! how could i choose issues form checkpatch's output to find which should be fixed which are not? or checkpatch.pl should be updated?? On Wed, Jul 25, 2012 at 3:30 PM, Joe Perches j...@perches.com wrote: On Wed, 2012-07-25 at 15:11

Re: [PATCH] debug: Do not permit CONFIG_DEBUG_STACK_USAGE=y on IA64 or PARISC

2012-07-25 Thread Ingo Molnar
* Tony Luck tony.l...@intel.com wrote: The stack_not_used() function in linux/sched.h assumes that stacks grow downwards. This is not true on IA64 or PARISC, so this function would walk off in the wrong direction and into the weeds. Found on IA64 because of a compilation failure with

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