Re: [PATCH 9/9 v3] dma: shdma: convert to the shdma base library

2012-07-25 Thread Paul Mundt
On Thu, Jul 26, 2012 at 12:19:21PM +0530, Vinod Koul wrote: > On Wed, 2012-07-25 at 12:59 +0900, Paul Mundt wrote: > > On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote: > > > The shdma base library has originally been extracted from the shdma > > > driver, > > > which now can

Re: [GIT PULL] x86/build change for v3.6

2012-07-25 Thread Ingo Molnar
* Sam Ravnborg wrote: > > > > No, the reason for the odd looking diff is that lots of lines in > > arch/x86/Makefile have 8-space tabs for histerical reasons but > > new code (such as this one) has proper tabs. > > Use of tabs for indent in a Makefile is just asking for > trouble. Ok, I gu

Re: [PATCH] scripts/kernel-doc: added support for html5

2012-07-25 Thread Dan Luedtke
On Wed, 2012-07-25 at 11:14 -0700, Randy Dunlap wrote: > Just say "html5" or "html version 5". > A few years from now it won't be modern. Haven't thought of that. Will be changed, thanks! > Have you tested typedef, enum, DOC:, etc.? Yes, here are a few examples: DOC: https://www.nonattached.net/l

[PATCH 3/3] scripts/kernel-doc: added ids to articles for reference

2012-07-25 Thread Dan Luedtke
An id has been added to block-level elements "article". This allows jumping to a particular article via url. E.g. doc.html#func:foo would sroll down to the documentation of function foo. Signed-off-by: Dan Luedtke --- scripts/kernel-doc | 30 +++--- 1 file changed, 23 i

[PATCH 2/3] scripts/kernel-doc: modern html -> html version 5

2012-07-25 Thread Dan Luedtke
Fixed non-timeless comment. Signed-off-by: Dan Luedtke --- scripts/kernel-doc |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f85b278..1d3c779 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -189,7 +189,7 @@ my $loc

[PATCH 1/3] scripts/kernel-doc: added support for html5

2012-07-25 Thread Dan Luedtke
New output option html5 writes validating HTML5 and adds CSS classes ready to be selected by third-party stylesheets. Signed-off-by: Dan Luedtke --- scripts/kernel-doc | 255 ++-- 1 file changed, 249 insertions(+), 6 deletions(-) diff --git a/scr

Re: [PATCH 9/9 v3] dma: shdma: convert to the shdma base library

2012-07-25 Thread Vinod Koul
On Wed, 2012-07-25 at 12:59 +0900, Paul Mundt wrote: > On Wed, May 09, 2012 at 05:09:21PM +0200, Guennadi Liakhovetski wrote: > > The shdma base library has originally been extracted from the shdma driver, > > which now can be converted to actually use it. > > > > Signed-off-by: Guennadi Liakhovet

[PATCH] rtc: tps65910: Add RTC driver for TPS65910 PMIC RTC

2012-07-25 Thread Venu Byravarasu
TPS65910 PMIC is a MFD with RTC as one of the device. Adding RTC driver for supporting RTC device present inside TPS65910 PMIC. Only support for RTC alarm is implemented as part of this patch. Signed-off-by: Venu Byravarasu --- drivers/rtc/Kconfig | 10 ++ drivers/rtc/Makefile

[PATCH] media: rc: Add support to decode Remotes using NECx IR protocol

2012-07-25 Thread Ravi Kumar V
Some remotes use NECx IR protocol to send remote control key events. Present nec decoder in rc framework is assuming to have 2 stop bits (pulse width of 560us & space width 5600us) in NECx, but in reality NECx sends only pulse of 560us and space untill next frame.So here we can ignore the space wid

Re: [PATCH] dw_dmac: use devm_* functions to simplify code

2012-07-25 Thread Vinod Koul
On Tue, 2012-07-24 at 11:00 +0300, Andy Shevchenko wrote: > Use devm_kzalloc, devm_clk_get, devm_request_irq, and devm_request_and_ioremap > to reduce the code and to simplify the error path. > > Signed-off-by: Andy Shevchenko > Cc: Viresh Kumar Applied thanks -- ~Vinod -- To unsubscribe from

[PATCH] Input: gpio_keys - Report wakeup events if device may wakeup

2012-07-25 Thread Benson Leung
If a button is configured to wake the system, report a pm wakeup event. Signed-off-by: Benson Leung --- drivers/input/keyboard/gpio_keys.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index cb

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

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 > Cc: Jeremy Fitzhardinge > Cc: Thomas Gleixner > Cc: Ingo

[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.

[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 find_idl

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

2012-07-25 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli 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 -e probe_libc:mal

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

2012-07-25 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli 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 instruction caused an

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

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov [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 > matter bu

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 po

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 supporte

[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 Signed-off-by: Xiao Guangrong --- arch/x86/kvm/emulate.c | 31 ++- 1 files changed, 14

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

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 A

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: [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 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 wrote: >> > On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu wrote: >> >> On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross wrote: >> >>> Some trigge

Re: RAID extremely slow

2012-07-25 Thread Kevin Ross
unused devices: # 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 those

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

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov [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 the onl

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

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov [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 to >of

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

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov [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() into find_nod

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

2012-07-25 Thread Srikar Dronamraju
* Oleg Nesterov [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. > > Signed-off-by: Oleg

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 weeks.

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,

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 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 atomic64_dec_if_pos

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

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

[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 featur

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 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 the SDIO interru

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 wrote: > > On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu wrote: > >> On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross wrote: > >>> Some triggers create sysfs files when they are enabled. Send a uev

[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 --- include/linux/kvm_host.h |3 +- v

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 Bergma

[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 --- arch/x86/kvm/m

[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 t

[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 pag

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 kern

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 wrote: > On Tue, Jul 24, 2012 at 11:11 PM, Bryan Wu wrote: >> On Wed, Jul 25, 2012 at 8:32 AM, Colin Cross wrote: >>> Some triggers create sysfs files when they are enabled. Send a uevent >>> "change" notification whenever the trigger is changed to a

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 xfer_secondary_po

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 of

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

2012-07-25 Thread Xufeng Zhang
On 7/26/12, Vlad Yasevich wrote: > Xufeng Zhang wrote: > >>On 7/26/12, Xufeng Zhang wrote: >>> On 7/25/12, Vlad Yasevich 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 embedd

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 linux-kerne

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

2012-07-25 Thread Sha Zhengju
From: Sha Zhengju 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 __init init_module() refere

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 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 atomic con

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

2012-07-25 Thread Vlad Yasevich
Xufeng Zhang wrote: >On 7/26/12, Xufeng Zhang wrote: >> On 7/25/12, Vlad Yasevich 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_

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 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 *fw_priv to the fu

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 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 > > It's an MFD so Samuel would normally apply if it were going via the MFD > tr

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

2012-07-25 Thread Xufeng Zhang
On 7/26/12, Xufeng Zhang wrote: > On 7/25/12, Vlad Yasevich 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 >>> just like sack

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

2012-07-25 Thread Vlad Yasevich
Xufeng Zhang wrote: >On 7/25/12, Vlad Yasevich 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 >>> just like sack_needed flag

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 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 fw_lookup_and_alloate_buf().

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 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 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 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 have this kind of problem sin

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 majord...@vg

Re: [PATCH] tlg2300: Declare MODULE_FIRMWARE usage

2012-07-25 Thread Huang Shijie
thanks. Acked-by: Huang Shijie On Thu, Jul 26, 2012 at 3:41 AM, Tim Gardner wrote: > Cc: Huang Shijie > Cc: Kang Yong > Cc: Zhang Xiaobing > Cc: Mauro Carvalho Chehab > Cc: linux-me...@vger.kernel.org > Signed-off-by: Tim Gardner > --- > drivers/media/video/tlg2300/pd-main.c |4 +++- >

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 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 series is bisectabl

Re: RAID extremely slow

2012-07-25 Thread CoolCold
On Thu, Jul 26, 2012 at 5:55 AM, Kevin Ross 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 /dev/sda?

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).

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

[PATCH] perf target: Fix check on buffer size

2012-07-25 Thread Namhyung Kim
From: Namhyung Kim It was a mistake just replace assert to BUG_ON since its condition should be negated. Fix it. Cc: Kirill A. Shutemov Cc: Ulrich Drepper Signed-off-by: Namhyung Kim --- tools/perf/util/target.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/per

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 task

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'l

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.duan" 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 explanation? This issu

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 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. A coworker

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 mm

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

2012-07-25 Thread Xufeng Zhang
On 7/25/12, Neil Horman wrote: > On Wed, Jul 25, 2012 at 05:22:19PM +0800, Xufeng Zhang wrote: >> On 7/25/12, Xufeng Zhang wrote: >> > On 7/25/12, Vlad Yasevich wrote: >> >> >> >> Actually not true. AUTH can be before SACK. So can any addip chunks >> >> that >> >> aid in locating an associatio

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

2012-07-25 Thread Jonathan Nieder
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 again in the morning and include the furthest back we could > remove these

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

2012-07-25 Thread Xufeng Zhang
On 7/25/12, Vlad Yasevich 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 >> just like sack_needed flag. >> 2). When "invalid stream

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

2012-07-25 Thread Josh Boyer
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 uncovered an issue with the kernel's > > definition of __NFDBI

Re: RAID extremely slow

2012-07-25 Thread Phil Turmel
[Added linux-raid to the CC] Hi Kevin, Notes interleaved: On 07/25/2012 06:52 PM, Kevin Ross wrote: > Hello, > > I'm having a problem. After a while, my software RAID rebuild becomes > extremely slow, and the filesystem on the RAID is essentially blocked. > I don't know what is causing this.

Re: [PATCH] firmware: remove computone driver firmware and documentation

2012-07-25 Thread Rob Landley
On 07/25/2012 11:42 AM, Tim Gardner wrote: > As far as I can tell, the only Computone support left in the > kernel is in drivers/tty/serial/8250/8250_pci.c. CONFIG_COMPUTONE > is no longer a valid option. Therefore, remove firmware, documentation, > and the last vestiges of this driver. > > Cc: Rob

Re: [PATCH 15/19] perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific

2012-07-25 Thread Namhyung Kim
On Wed, 25 Jul 2012 14:41:30 -0300, Arnaldo Carvalho de Melo wrote: > From: Kirill A. Shutemov > > Perf uses GNU-specific version of strerror_r(). The GNU-specific strerror_r() > returns a pointer to a string containing the error message. This may be > either > a pointer to a string that the fun

Re: [RFC][PATCH 0/14] PM / shmobile: Pass power domain information via DT (was: Re: [RFD] PM: Device tree representation of power domains)

2012-07-25 Thread Kevin Hilman
"Rafael J. Wysocki" writes: > On Wednesday, July 25, 2012, Arnd Bergmann wrote: >> On Tuesday 24 July 2012, Rafael J. Wysocki wrote: >> > On Tuesday, July 24, 2012, Arnd Bergmann wrote: >> > > On Tuesday 24 July 2012, Rafael J. Wysocki wrote: >> > > > On Tuesday, July 24, 2012, Arnd Bergmann wrot

Re: [PATCH] random: mix in architectural randomness in extract_buf()

2012-07-25 Thread H. Peter Anvin
On 07/25/2012 04:50 PM, Ben Hutchings wrote: > On Wed, 2012-07-25 at 10:37 -0700, H. Peter Anvin wrote: >> From: "H. Peter Anvin" >> >> RDRAND is so much faster than the Linux pool system that we can >> always just mix in architectural randomness. > [...] >> Signed-off-by: H. Peter Anvin >> Acked

[RESEND][PATCH] audit: replace defines with C stubs

2012-07-25 Thread Kees Cook
This replaces the #defines used when CONFIG_AUDIT or CONFIG_AUDIT_SYSCALLS are disabled so we get type checking during those builds. Suggested-by: Andrew Morton Signed-off-by: Kees Cook --- include/linux/audit.h | 173 - 1 files changed, 127 inse

[PATCH 1/2] fs: add link restrictions

2012-07-25 Thread Kees Cook
This adds symlink and hardlink restrictions to the Linux VFS. Symlinks: A long-standing class of security issues is the symlink-based time-of-check-time-of-use race, most commonly seen in world-writable directories like /tmp. The common method of exploitation of this flaw is to cross privilege bo

[PATCH 2/2] fs: add link restriction audit reporting

2012-07-25 Thread Kees Cook
Adds audit messages for unexpected link restriction violations so that system owners will have some sort of potentially actionable information about misbehaving processes. Signed-off-by: Kees Cook --- fs/namei.c|2 ++ include/linux/audit.h |4 kernel/audit.c| 2

[RESEND][PATCH v2012.5 0/2] fs: add link restrictions

2012-07-25 Thread Kees Cook
Resending; originally posted 2012-07-02: https://lkml.org/lkml/2012/7/2/394 This cleans up the various issues that Al Viro pointed out[1], and rebases to Linus's current tree. Thanks, -Kees [1] https://lkml.org/lkml/2012/6/30/42 -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH] [media] davinci: vpfe: Add documentation

2012-07-25 Thread Laurent Pinchart
Hi Manjunath, On Tuesday 17 July 2012 10:43:54 Hadli, Manjunath wrote: > On Sun, Jul 15, 2012 at 18:16:25, Laurent Pinchart wrote: > > On Wednesday 11 July 2012 21:09:26 Manjunath Hadli wrote: > > > Add documentation on the Davinci VPFE driver. Document the subdevs, > > > and private IOTCLs the dr

Linux 3.2.24

2012-07-25 Thread Ben Hutchings
I'm announcing the release of the 3.2.24 kernel. All users of the 3.2 kernel series should upgrade. The updated 3.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.2.y and can be browsed at the normal kernel.org git web browser:

Re: PM: Summary of changes for v3.6

2012-07-25 Thread Kevin Hilman
Len Brown writes: >> The disappeared from Len's tree for a little while after the 3.5 merge >> window, which is why they started appearing other places. Now that >> they have returned to Len's tree, hopefully to stay, they should be >> considered the official version. > > Yes, they are staged fo

Re: [PATCH] dynamic_debug: Restore dev_dbg/netdev_dbg functionality, reduce stack use

2012-07-25 Thread David Miller
From: Joe Perches Date: Wed, 25 Jul 2012 17:10:00 -0700 > commit c4e00daaa9 ("driver-core: extend dev_printk() to pass structured data") > changed __dev_printk and broke dynamic-debug's ability to control the > dynamic prefix of dev_dbg(dev,..). > > dynamic_emit_prefix() adds "[tid] module:func:

Re: [PATCH] [media] davinci: vpfe: Add documentation

2012-07-25 Thread Laurent Pinchart
Hi Manjunath, Please ignore the previous reply, I've hit the sent button too soon by mistake. -- Regards, Laurent Pinchart -- 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 http://vger.kerne

Re: [PATCH] [media] davinci: vpfe: Add documentation

2012-07-25 Thread Laurent Pinchart
Hi Manjunath, On Tuesday 17 July 2012 10:43:54 Hadli, Manjunath wrote: > On Sun, Jul 15, 2012 at 18:16:25, Laurent Pinchart wrote: > > On Wednesday 11 July 2012 21:09:26 Manjunath Hadli wrote: > > > Add documentation on the Davinci VPFE driver. Document the subdevs, > > > and private IOTCLs the dr

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

2012-07-25 Thread Chanwoo Choi
On 07/25/2012 08:11 PM, Mark Brown wrote: >> Why do you should report released event to all of buttons? I think that >> you should only >> report released event to previous pressed button. If user press two >> button on the headset >> at the same time and then user release only one button with pre

[PATCH] dynamic_debug: Restore dev_dbg/netdev_dbg functionality, reduce stack use

2012-07-25 Thread Joe Perches
commit c4e00daaa9 ("driver-core: extend dev_printk() to pass structured data") changed __dev_printk and broke dynamic-debug's ability to control the dynamic prefix of dev_dbg(dev,..). dynamic_emit_prefix() adds "[tid] module:func:line:" to the output and those additions got lost. In addition, the

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

2012-07-25 Thread Alan Cox
On Thu, 26 Jul 2012 08:51:27 +1000 Stephen Rothwell wrote: > Hi Greg, Alan, > > [Sorry, Alan, I forgot to cc you the first time around.] > > On Fri, 20 Jul 2012 13:33:49 +1000 Stephen Rothwell > wrote: > > > > After merging the tty tree, today's linux-next build (x86_64 > > allmodconfig) faile

Re: linux-next: build failure after merge of the final tree (tty tree related)

2012-07-25 Thread Alan Cox
> > if (serial->type->set_termios) { > > - tty->termios->c_cflag = cflag; > > - tty_termios_encode_baud_rate(tty->termios, > > baud, baud); > > + tty->termios.c_cflag = cflag; > > + > > tty_termios_encode_baud_rate(&tty->termios, bau

[GIT PATCH] USB merge for 3.6-rc1

2012-07-25 Thread Greg KH
The following changes since commit 84a1caf1453c3d44050bd22db958af4a7f99315c: Linux 3.5-rc7 (2012-07-14 15:40:28 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.6-rc1 for you to fetch changes up to e387ef5c47ddeaeaa3cbdc

Re: [PATCH] random: mix in architectural randomness in extract_buf()

2012-07-25 Thread Ben Hutchings
On Wed, 2012-07-25 at 10:37 -0700, H. Peter Anvin wrote: > From: "H. Peter Anvin" > > RDRAND is so much faster than the Linux pool system that we can > always just mix in architectural randomness. [...] > Signed-off-by: H. Peter Anvin > Acked-by: Ingo Molnar > Cc: DJ Johnston [...] This is no

Re: [PATCH] Rewrite Documentation/SubmittingPatches.

2012-07-25 Thread Junio C Hamano
Stefan Beller writes: > +5) "git format-patch HEAD~n" > + > +Use "git format-patch HEAD~n" to extract the last n patches from your > +git repository. They will be be saved in textfiles named > + > +0001-Introduce-new-Feature.patch > +0002-Improve-Documentation.patch Two comments and a ha

Re: [PATCH v3 0/4] ACPI: hotplug messages improvement

2012-07-25 Thread Toshi Kani
On Wed, 2012-07-25 at 16:31 -0700, Joe Perches wrote: > On Wed, 2012-07-25 at 17:12 -0600, Toshi Kani wrote: > > This patchset improves logging messages for ACPI CPU, Memory, and > > Container hotplug notify handlers. The patchset introduces a set of > > new macro interfaces, acpi_pr_(), and updat

Re: [PATCH v4 01/12] block: Generalized bio pool freeing

2012-07-25 Thread Kent Overstreet
On Wed, Jul 25, 2012 at 02:06:23PM +0300, Boaz Harrosh wrote: > On 07/24/2012 11:11 PM, Kent Overstreet wrote: > > > With the old code, when you allocate a bio from a bio pool you have to > > implement your own destructor that knows how to find the bio pool the > > bio was originally allocated fro

Re: [PATCH -mm] remove __GFP_NO_KSWAPD fixes

2012-07-25 Thread Minchan Kim
On Wed, Jul 25, 2012 at 02:51:19PM -0400, Rik van Riel wrote: > Turns out I missed two spots where __GFP_NO_KSWAPD is used. > > The removal from the trace code is obvious, since the flag > got removed there is no need to print it. > > For mtdcore.c, now that memory compaction has been fixed, > we

  1   2   3   4   5   6   7   >