[patch]smp: make smp_call_function_many use the similar logic like smp_call_function_single

2012-12-23 Thread Shaohua Li
I'm testing swapout workload in a two-socket Xeon machine. The workload has 10 threads, each thread sequentially accesses separate memory region. TLB flush overhead is very big in the workload. For each page, page reclaim need move it from active lru list and then unmap it. Both need a TLB flush.

Re: [PATCH v2 0/5] Multiqueue virtio-scsi, and API for piecewise buffer submission

2012-12-23 Thread Wanlong Gao
On 12/18/2012 09:42 PM, Michael S. Tsirkin wrote: > On Tue, Dec 18, 2012 at 01:32:47PM +0100, Paolo Bonzini wrote: >> Hi all, >> >> this series adds multiqueue support to the virtio-scsi driver, based >> on Jason Wang's work on virtio-net. It uses a simple queue steering >> algorithm that expects

[PATCH] iio: (max1363) Fix probe error path

2012-12-23 Thread Guenter Roeck
Instantiating the driver with no available regulator results in: [39711.686393] i2c i2c-7: new_device: Instantiated device max1139 at 0x35 [39711.688687] BUG: unable to handle kernel paging request at fe13 [39711.688734] IP: [] regulator_disable+0x1b/0x80 [39711.688788] PGD 1c0e067

Re: [PATCH 6/6] perf annotate: Add --gtk option

2012-12-23 Thread Namhyung Kim
On Sat, Dec 22, 2012 at 12:44 AM, Borislav Petkov wrote: > On Fri, Dec 21, 2012 at 06:16:46PM +0900, Namhyung Kim wrote: >> Current setup_browser() code checks the stdin to be a tty and if >> not it assumes piping to other commands so set the use_browser to 0 >> (stdio) and disables GTK output.

[PATCH 3/7] MFD:rtsx: Declare that the DMA address limitation is 32bit explicitly

2012-12-23 Thread wei_wang
From: Wei WANG Signed-off-by: Wei WANG --- drivers/mfd/rtsx_pcr.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c index fa2c2bc..2ee6be5 100644 --- a/drivers/mfd/rtsx_pcr.c +++ b/drivers/mfd/rtsx_pcr.c @@ -1084,6 +1084,10 @@ static int

[PATCH 5/7] MMC:rtsx: Using callback function to switch output voltage

2012-12-23 Thread wei_wang
From: Wei WANG Different card reader has different method to switch output voltage, so we have to use the callback function provided by MFD driver to switch output pad voltage. Signed-off-by: Wei WANG --- drivers/mmc/host/rtsx_pci_sdmmc.c | 30 +- 1 file changed,

[PATCH 0/7] rtsx patchset for MFD and MMC tree

2012-12-23 Thread wei_wang
From: Wei WANG Wei WANG (7): MFD:rtsx: Fix typo in comment MFD:rtsx: Remove redundant code MFD:rtsx: Declare that the DMA address limitation is 32bit explicitly MFD:rtsx: Add callback function switch_output_voltage MMC:rtsx: Using callback function to switch output voltage MFD:rtsx:

[PATCH 2/7] MFD:rtsx: Remove redundant code

2012-12-23 Thread wei_wang
From: Wei WANG Signed-off-by: Wei WANG --- drivers/mfd/rtsx_pcr.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c index 3a44efa..fa2c2bc 100644 --- a/drivers/mfd/rtsx_pcr.c +++ b/drivers/mfd/rtsx_pcr.c @@ -325,7 +325,6 @@ static void

[PATCH 6/7] MFD:rtsx: Add callback function conv_clk_and_div_n

2012-12-23 Thread wei_wang
From: Wei WANG Add callback function conv_clk_and_div_n to convert between SSC clock and its divider N. For rtl8411, the formula to calculate SSC clock divider N is different with the other card reader models. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c | 13 +

[PATCH 4/7] MFD:rtsx: Add callback function switch_output_voltage

2012-12-23 Thread wei_wang
From: Wei WANG Different card reader has different method to switch output voltage, add this callback to let the card reader implement its individual switch function. Signed-off-by: Wei WANG --- drivers/mfd/rtl8411.c| 16 drivers/mfd/rts5209.c| 20

[PATCH 7/7] MFD:rtsx: Fix checkpatch warning

2012-12-23 Thread wei_wang
From: Wei WANG WARNING: Avoid CamelCase: + u8 N, min_N, max_N, clk_divider; WARNING: Avoid CamelCase: + u8 N, min_N, max_N, clk_divider; Signed-off-by: Wei WANG --- drivers/mfd/rtsx_pcr.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff

[PATCH 1/7] MFD:rtsx: Fix typo in comment

2012-12-23 Thread wei_wang
From: Wei WANG Fix a misspelling word in comment Signed-off-by: Wei WANG --- include/linux/mfd/rtsx_pci.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mfd/rtsx_pci.h b/include/linux/mfd/rtsx_pci.h index 060b721..bebe9f9 100644 ---

Re: [PATCH 3/6] perf ui/gtk: Implement basic GTK2 annotation browser

2012-12-23 Thread Namhyung Kim
Hi all, Merry Christmas! On Fri, Dec 21, 2012 at 11:51 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Dec 21, 2012 at 05:20:15PM +0900, Namhyung Kim escreveu: >> Basic implementation of perf annotate on GTK2. Currently only >> shows first symbol. > > I merged the first two patches in this

kernel panic when running /etc/init.d/iptables restart

2012-12-23 Thread canqun zhang
Hi Patrick, If i start one lxc container instance, and then in the system there will be two net namespaces,one is init_net namespace, the other is created by lxc.If running "/etc/init.d/iptables restart",the system will be panic. I find iptables restarting will clean init_net namespace

Re: [PATCH 1/2] asm-generic: uaccess: allow arch to over-ride __get_user_fn()

2012-12-23 Thread Vineet Gupta
On Saturday 22 December 2012 01:13 AM, Arnd Bergmann wrote: > On Tuesday 20 November 2012, vineet.gup...@synopsys.com wrote: >> From: Vineet Gupta >> >> Signed-off-by: Vineet Gupta > Acked-by: Arnd Bergmann Thx, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH] CONFIG_GENERIC_SIGALTSTACK build breakage with asm-generic/syscalls.h

2012-12-23 Thread Vineet Gupta
For arches which include asm-generic/syscalls.h as well as newly introduced CONFIG_GENERIC_SIGALTSTACK, there's a build breakage due to conflicting prototypes of sys_sigaltstack(), due to removal of struct pt_regs from latter based code. --->8- In file

[PATCH] mfd, TWL4030: TWL4030 need select REGMAP_I2C

2012-12-23 Thread Chuansheng Liu
This patch fix the below build error: drivers/built-in.o: In function `twl_probe': drivers/mfd/twl-core.c:1256: undefined reference to `devm_regmap_init_i2c' make: *** [vmlinux] Error 1 Signed-off-by: liu chuansheng --- drivers/mfd/Kconfig |1 + 1 files changed, 1 insertions(+), 0

Re: [PATCH v6] KSM: numa awareness sysfs knob

2012-12-23 Thread Greg KH
On Mon, Dec 24, 2012 at 04:22:54AM +0100, Petr Holasek wrote: > Introduces new sysfs boolean knob /sys/kernel/mm/ksm/merge_across_nodes > which control merging pages across different numa nodes. All sysfs files must be documented in Documentation/ABI, please update the files there as well

[PATCH V2] output the cpu number when printking.

2012-12-23 Thread he, bo
From: "he, bo" We often hit kernel panic issues on SMP machines because processes race on multiple cpu. By adding a new parameter printk.cpu, kernel prints cpu number at printk information line. It’s useful to debug what cpus are racing. Signed-off-by: he, bo ---

Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdisk and bzImage above 4G

2012-12-23 Thread H. Peter Anvin
Makes sense. Ljmpq it is. A comment might be useful. Borislav Petkov wrote: >On Sun, Dec 23, 2012 at 10:00:26AM -0800, Yinghai Lu wrote: >> On Sun, Dec 23, 2012 at 6:33 AM, H. Peter Anvin >wrote: >> > Explanation please? >> >> you have following change in the patch >> >> /* Finally

Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdisk and bzImage above 4G

2012-12-23 Thread H. Peter Anvin
Err, lretq it is. Borislav Petkov wrote: >On Sun, Dec 23, 2012 at 10:00:26AM -0800, Yinghai Lu wrote: >> On Sun, Dec 23, 2012 at 6:33 AM, H. Peter Anvin >wrote: >> > Explanation please? >> >> you have following change in the patch >> >> /* Finally jump to run C code and to be on real

Re: [PATCH] kconfig:lxdialog: remove duplicate code

2012-12-23 Thread Wang YanQing
On Mon, Dec 17, 2012 at 07:19:07PM +0100, Yann E. MORIN wrote: > Wang, All, > > On Monday 17 December 2012 Wang YanQing wrote: > > dialog.h has two line the same below: > > extern char dialog_input_result[]; > > This patch remove one of them. > > > > Signed-off-by: Wang YanQing > >

RE: [PATCH] usb: tegra: Removing dependency on PHY instance number

2012-12-23 Thread Venu Byravarasu
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Saturday, December 22, 2012 2:32 AM > To: Venu Byravarasu > Cc: st...@rowland.harvard.edu; gre...@linuxfoundation.org; > ba...@ti.com; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re:

Re: dire state of rtl driver in 3.7

2012-12-23 Thread Mike Galbraith
On Sun, 2012-12-23 at 13:10 -0600, Larry Finger wrote: > Note, the RTL8188CE uses rtl8192ce, while the RTL8191SE uses rtl8192se. They > share the underlying plumbing in driver rtlwifi, but the rest is completely > different. Driver here is rtl8192se. 08:00.0 0280: 10ec:8172 (rev 10)

RE: [PATCH v3] usb: phy: use kzalloc to allocate struct tegra_usb_phy

2012-12-23 Thread Venu Byravarasu
Thanks Stephen. Venu > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Saturday, December 22, 2012 2:25 AM > To: Venu Byravarasu > Cc: ba...@ti.com; gre...@linuxfoundation.org; sshtyl...@mvista.com; > linux-kernel@vger.kernel.org;

MIPS: MSP71xx: Indicate new location of source files in Platform file

2012-12-23 Thread Shane McDonald
The source files for the MSP71xx support code have been moved in commit 13a347ef60c68e490809dad8fcf79c25eabc4d58, "MIPS: MSP71xx: Move code." Update the Platform file to indicate the new location. Signed-off-by: Shane McDonald --- arch/mips/pmcs-msp71xx/Platform |4 ++-- 1 files changed, 2

Re: [PATCH] output the cpu number when printking.

2012-12-23 Thread he, bo
Thanks randy's comments, I will modifiy it. On Sun, 2012-12-23 at 19:37 -0800, Randy Dunlap wrote: > On 12/23/12 18:31, he, bo wrote: > > From: "he, bo" > > > > We often hit kernel panic issues on SMP machines because processes race > > on multiple cpu. By adding a new parameter printk.cpu,

Re: Linux 3.8-rc1 - another regression on USB :-(

2012-12-23 Thread Woody Suwalski
Greg Kroah-Hartman wrote: On Sun, Dec 23, 2012 at 02:35:49PM -0800, Linus Torvalds wrote: Woody, Any chance you can bisect this? It's not going to be hugely pleasant (with 11k+ commits in between 3.7 and 3.8-rc1 you'll have to compile and test at least 14 kernels), but it would help

Re: [PATCH] output the cpu number when printking.

2012-12-23 Thread Randy Dunlap
On 12/23/12 18:31, he, bo wrote: > From: "he, bo" > > We often hit kernel panic issues on SMP machines because processes race > on multiple cpu. By adding a new parameter printk.cpu, kernel prints > cpu number at printk information line. It’s useful to debug what cpus > are racing. > >

[PATCH v6] KSM: numa awareness sysfs knob

2012-12-23 Thread Petr Holasek
Introduces new sysfs boolean knob /sys/kernel/mm/ksm/merge_across_nodes which control merging pages across different numa nodes. When it is set to zero only pages from the same node are merged, otherwise pages from all nodes can be merged together (default behavior). Typical use-case could be a

linux-next: Tree for Dec 24

2012-12-23 Thread Stephen Rothwell
Hi all, Merry to you all! Changes since 20121221: The driver-core.current tree gained conflicts against Linus' tree. The slave-dma tree gained a conflict against the driver-core.current tree. The pinctl tree gained a conflict against the driver-core.current tree. The akpm tree gained a

[PATCH] output the cpu number when printking.

2012-12-23 Thread he, bo
From: "he, bo" We often hit kernel panic issues on SMP machines because processes race on multiple cpu. By adding a new parameter printk.cpu, kernel prints cpu number at printk information line. It’s useful to debug what cpus are racing. Signed-off-by: he, bo ---

[PATCH 18/29] drivers/net: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: "David S. Miller" Cc: Michael Chan Cc: Thomas Sailer Cc: Jean-Paul Roubelat Cc: Bing Zhao Cc: net...@vger.kernel.org Cc: linux-h...@vger.kernel.org Cc:

[PATCH 19/29] batman-adv: fix random jitter calculation

2012-12-23 Thread Akinobu Mita
batadv_iv_ogm_emit_send_time() attempts to calculates a random integer in the range of 'orig_interval +- BATADV_JITTER' by the below lines. msecs = atomic_read(_priv->orig_interval) - BATADV_JITTER; msecs += (random32() % 2 * BATADV_JITTER); But it actually gets 'orig_interval'

[PATCH 17/29] mtd: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: David Woodhouse Cc: Artem Bityutskiy Cc: linux-...@lists.infradead.org --- drivers/mtd/nand/nandsim.c | 6 +++--- drivers/mtd/tests/mtd_nandecctest.c | 10

[PATCH 26/29] net/core: rename random32() and net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: "David S. Miller" Cc: net...@vger.kernel.org --- net/core/neighbour.c | 4 ++-- net/core/pktgen.c| 29 +++-- net/core/stream.c| 2 +- 3

[PATCH 13/29] ubifs: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: Adrian Hunter Cc: linux-...@lists.infradead.org --- fs/ubifs/debug.c | 8 fs/ubifs/lpt_commit.c | 14 +++---

[PATCH 16/29] scsi: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: "James E.J. Bottomley" Cc: Robert Love Cc: de...@open-fcoe.org Cc: James Smart Cc: Andrew Vasquez Cc: linux-dri...@qlogic.com Cc: linux-s...@vger.kernel.org ---

[PATCH 05/29] lib/: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita --- lib/fault-inject.c | 2 +- lib/list_sort.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fault-inject.c b/lib/fault-inject.c index

[PATCH 09/29] infiniband: rename random32() and net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: Steve Wise Cc: linux-r...@vger.kernel.org --- drivers/infiniband/core/cma.c | 2 +-

[PATCH 06/29] mm/: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: linux...@kvack.org --- mm/swapfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/swapfile.c b/mm/swapfile.c index e97a0e5..3af83bf 100644 ---

[PATCH 03/29] x86: pageattr-test: remove srandom32 call

2012-12-23 Thread Akinobu Mita
pageattr-test calls srandom32() once every test iteration. But calling srandom32() after late_initcalls is not meaningfull. Because the random states for random32() is mixed by good random numbers in late_initcall prandom_reseed(). So this removes the call to srandom32(). Signed-off-by: Akinobu

[PATCH 10/29] mmc: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Chris Ball Cc: linux-...@vger.kernel.org --- drivers/mmc/core/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/core/core.c

[PATCH 23/29] net/ipv4: rename net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Cc: net...@vger.kernel.org --- net/ipv4/devinet.c | 2 +-

[PATCH 22/29] net/sched: rename random32() and net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Stephen Hemminger Cc: Jamal Hadi Salim Cc: "David S. Miller" Cc: ne...@lists.linux-foundation.org Cc: net...@vger.kernel.org Cc: net...@vger.kernel.org ---

[PATCH 12/29] xfs: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Ben Myers Cc: Alex Elder Cc: x...@oss.sgi.com --- fs/xfs/xfs_alloc.c | 2 +- fs/xfs/xfs_error.c | 2 +- fs/xfs/xfs_ialloc.c | 2 +- fs/xfs/xfs_log.c| 2 +- 4 files

[PATCH 15/29] lguest: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Rusty Russell Cc: lgu...@lists.ozlabs.org --- drivers/lguest/page_tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/lguest/page_tables.c

[PATCH 20/29] batman-adv: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Marek Lindner Cc: Simon Wunderlich Cc: Antonio Quartulli Cc: b.a.t.m@lists.open-mesh.org Cc: "David S. Miller" Cc: net...@vger.kernel.org ---

[PATCH 24/29] net/ipv6: rename net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: "David S. Miller" Cc: Alexey Kuznetsov Cc: James Morris Cc: Hideaki YOSHIFUJI Cc: Patrick McHardy Cc: net...@vger.kernel.org --- net/ipv6/addrconf.c | 4 ++--

[PATCH 04/29] x86: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org --- arch/x86/mm/pageattr-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 07/29] kernel/: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita --- kernel/rcutree.c | 2 +- kernel/test_kprobes.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/rcutree.c b/kernel/rcutree.c index

[PATCH 28/29] net/: rename net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Jesse Gross Cc: Venkat Venkatsubra Cc: Vlad Yasevich Cc: Sridhar Samudrala Cc: Neil Horman Cc: Steffen Klassert Cc: Herbert Xu Cc: "David S. Miller" Cc:

[PATCH 29/29] remove unused net_random(), net_srandom(), random32(), and srandom32()

2012-12-23 Thread Akinobu Mita
After finishing a naming transition, remove unused backward compatibility wrapper macros Signed-off-by: Akinobu Mita Cc: "Theodore Ts'o" Cc: "David S. Miller" Cc: net...@vger.kernel.org --- include/linux/net.h| 3 --- include/linux/random.h | 7 --- 2 files changed, 10 deletions(-)

[PATCH 21/29] net/sunrpc: rename random32() and net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: "J. Bruce Fields" Cc: Trond Myklebust Cc: "David S. Miller" Cc: net...@vger.kernel.org Cc: linux-...@vger.kernel.org --- net/sunrpc/auth_gss/gss_krb5_wrap.c | 4 ++--

[PATCH 25/29] net/netfilter: rename random32() and net_random() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Pablo Neira Ayuso Cc: Patrick McHardy Cc: netfilter-de...@vger.kernel.org Cc: netfil...@vger.kernel.org Cc: coret...@netfilter.org Cc: "David S. Miller" Cc:

[PATCH 27/29] net/core: remove duplicate statements by do-while loop

2012-12-23 Thread Akinobu Mita
Remove duplicate statements by using do-while loop instead of while loop. - A; - while (e) { + do { A; - } + } while (e); Signed-off-by: Akinobu Mita Cc: "David S. Miller" Cc: net...@vger.kernel.org --- net/core/pktgen.c | 15 ++- 1 file changed, 6 insertions(+), 9

[PATCH 11/29] video/uvesafb: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: Michal Januszewski Cc: Florian Tobias Schandinat Cc: linux-fb...@vger.kernel.org --- drivers/video/uvesafb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 14/29] uwb: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: linux-...@vger.kernel.org --- drivers/uwb/rsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c index

[PATCH 08/29] drbd: rename random32() to prandom_u32()

2012-12-23 Thread Akinobu Mita
Use more preferable function name which implies using a pseudo-random number generator. Signed-off-by: Akinobu Mita Cc: drbd-...@lists.linbit.com Cc: Jens Axboe --- drivers/block/drbd/drbd_receiver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH 02/29] uuid: use prandom_bytes()

2012-12-23 Thread Akinobu Mita
Use prandom_bytes() to generate 16 bytes of pseudo-random bytes. Signed-off-by: Akinobu Mita Cc: "Theodore Ts'o" Cc: Huang Ying --- lib/uuid.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/uuid.c b/lib/uuid.c index 52a6fe6..398821e 100644 --- a/lib/uuid.c +++

[PATCH 01/29] raid6test: use prandom_bytes()

2012-12-23 Thread Akinobu Mita
Use prandom_bytes() to generate random bytes for test data. Signed-off-by: Akinobu Mita Cc: Dan Williams Cc: Vinod Koul --- crypto/async_tx/raid6test.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/crypto/async_tx/raid6test.c b/crypto/async_tx/raid6test.c index

[PATCH 00/29] rename random32 and net_random to prandom

2012-12-23 Thread Akinobu Mita
Commit 496f2f93b1cc286f5a4f4f9acdc1e5314978683f ("random32: rename random32 to prandom") renamed random32() and srandom32() to prandom_u32() and prandom_seed() respectively. Due to the volume of existing random32() callers, they were preserved as backword compatibility wrapper macros. This patch

linux-next: manual merge of the akpm tree with the driver-core.current tree

2012-12-23 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/rtc/rtc-tegra.c between commit 9889589ba308 ("Drivers: rtc: remove __dev* attributes") from the driver-core.current tree and commit "drivers/rtc/rtc-tegra.c: convert to DT driver" from the akpm tree. I fixed it up

RE: mvsas regression since 3.5

2012-12-23 Thread Jack Wang
[Jack Wang] Do you see bug51881, which may relate to what you see https://bugzilla.kernel.org/show_bug.cgi?id=51881 btw: also correct Dan's mail address. I'm using Asus PIKE 6480 SAS card, whose chipset is "RAID bus controller: Marvell Technology Group Ltd. MV64460/64461/64462 System

[PATCH 1/1] linux/audit.h: move ptrace.h include to kernel header

2012-12-23 Thread Mike Frysinger
While the kernel internals want pt_regs (and so it includes linux/ptrace.h), the user version of audit.h does not need it. So move the include out of the uapi version. This avoids issues where people want the audit defines and userland ptrace api. Including both the kernel ptrace and the

linux-next: manual merge of the pinctrl tree with the driver-core.current tree

2012-12-23 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/pinctrl/pinctrl-sirf.c between commit c2c57b329c7b ("Drivers: pinctrl: remove __dev* attributes") from the driver-core.current tree and commit 19d601d8e0a7 ("pinctrl: sirf: enable GPIO pullup/down configuration from

RE: [PATCH] mmc:core:if detect mmc card remove,don't wait for req done

2012-12-23 Thread zhenpeng.qian
OK, Thanks . Brs, Qian Zhenpeng -Original Message- From: Chris Ball [mailto:c...@laptop.org] Sent: 2012年12月22日 5:32 To: Linus Torvalds Cc: Qian Zhenpeng; Greg KH; Linux Kernel Mailing List; Linux Driver Project; linux-...@vger.kernel.org Subject: Re: [PATCH] mmc:core:if detect mmc

[PATCH v2 2/2] regulator: 88pm8607: Use apply_[reg|bit] with regmap based voltage_sel operations

2012-12-23 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/88pm8607.c | 38 ++ 1 file changed, 6 insertions(+), 32 deletions(-) diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 5c4879a..a957e8c 100644 --- a/drivers/regulator/88pm8607.c +++

[PATCH 1/2] [PATCH] regulator: 88pm8607: Update update_bit for BUCK2 in pm8607_set_voltage_sel

2012-12-23 Thread Axel Lin
BUCK2 has the update_bit setting, but current code does not set update_bit in pm8607_set_voltage_sel. Signed-off-by: Axel Lin --- hi Haojian, I prefer no behavior change during API conversion. So I send this fix first, next patch is on top of this patch. Regards, Axel

linux-next: manual merge of the slave-dma tree with the driver-core.current tree

2012-12-23 Thread Stephen Rothwell
Hi Vinod, Today's linux-next merge of the slave-dma tree got a conflict in drivers/dma/ioat/dma_v3.c between commit b9016739011f ("Drivers: dma: remove __dev* attributes") from the driver-core.current tree and commit 370e97b07d80 ("ioat: Add alignment workaround for IVB platforms") from the

Re: [ANNOUNCE] 3.7-nohz1

2012-12-23 Thread Frederic Weisbecker
2012/12/21 Steven Rostedt : > On Thu, 2012-12-20 at 19:32 +0100, Frederic Weisbecker wrote: >> Let's imagine you have 4 CPUs. We keep the CPU 0 to offline RCU callbacks >> there and to >> handle the timekeeping. We set the rest as full dynticks. So you need the >> following kernel >> parameters:

[PATCH] ACPI / power: Remove useless message from device registering routine

2012-12-23 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit 71fbad6 (PCI/ACPI: Notify PCI devices when their power resource is turned on) made acpi_pci_bind() call acpi_power_resource_register_device(), the debug message at the end of the latter appears in the kernel log for every PCI device that doesn't happen to

Re: [2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Willy Tarreau
On Sun, Dec 23, 2012 at 09:11:36PM +, Ben Hutchings wrote: (...) > In 2.6.32 the relevant code is in arch/x86/kernel/efi.c. With the > filename changed, the patch applies cleanly and works for me. OK, thanks Ben, I had not looked at it yet. Best regards, Willy -- To unsubscribe from this

Re: linux-next: manual merge of the driver-core.current tree with Linus' tree

2012-12-23 Thread Greg KH
On Mon, Dec 24, 2012 at 09:56:14AM +1100, Stephen Rothwell wrote: > Hi Greg, > > On Mon, 24 Dec 2012 09:52:00 +1100 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the driver-core.current tree got conflicts > > in 21 files in drivers/i2c between commit 0b255e927d47 ("i2c: remove >

Re: [PATCH] mm: compare MIGRATE_ISOLATE selectively

2012-12-23 Thread Minchan Kim
On Fri, Dec 21, 2012 at 01:46:23PM +0100, Michal Nazarewicz wrote: > > On Thu, Dec 20, 2012 at 04:49:44PM +0100, Michal Nazarewicz wrote: > >> Perhaps “is_migrate_isolate” to match already existing “is_migrate_cma”? > > On Fri, Dec 21 2012, Minchan Kim wrote: > > Good poking. In fact, while I

Re: Linux 3.8-rc1 - another regression on USB :-(

2012-12-23 Thread Greg Kroah-Hartman
On Sun, Dec 23, 2012 at 02:35:49PM -0800, Linus Torvalds wrote: > Woody, > Any chance you can bisect this? It's not going to be hugely pleasant > (with 11k+ commits in between 3.7 and 3.8-rc1 you'll have to compile > and test at least 14 kernels), but it would help enormously. Of > course, maybe

Re: [GIT PULL] perf changes for v3.8

2012-12-23 Thread David Ahern
On 12/23/12 2:23 AM, Gleb Natapov wrote: Your patch alone was not enough. Start here: https://lkml.org/lkml/2012/7/12/3 I cannot reproduce this failure. I reverted 20b279ddb38c and ran "perf record -e cycles:ppG" while guest was running. Admittedly I ran the test for a short time, but

Re: [RFC PATCH 3/3] x86,smp: auto tune spinlock backoff delay factor

2012-12-23 Thread Rafael Aquini
On Fri, Dec 21, 2012 at 10:58:48PM -0500, Rik van Riel wrote: > On 12/21/2012 10:49 PM, Steven Rostedt wrote: > >On Fri, Dec 21, 2012 at 09:51:35PM -0500, Rik van Riel wrote: > > >>However, since spinlock contention should not be the > >>usual state, and all a scalable lock does is make sure >

Re: linux-next: manual merge of the driver-core.current tree with Linus' tree

2012-12-23 Thread Stephen Rothwell
Hi Greg, On Mon, 24 Dec 2012 09:52:00 +1100 Stephen Rothwell wrote: > > Today's linux-next merge of the driver-core.current tree got conflicts > in 21 files in drivers/i2c between commit 0b255e927d47 ("i2c: remove > __dev* attributes from subsystem") from Linus' tree and commit > eeb30d064414

Re: [RFC PATCH 2/3] x86,smp: proportional backoff for ticket spinlocks

2012-12-23 Thread Rafael Aquini
On Fri, Dec 21, 2012 at 06:51:15PM -0500, Rik van Riel wrote: > Subject: x86,smp: proportional backoff for ticket spinlocks > > Simple fixed value proportional backoff for ticket spinlocks. > By pounding on the cacheline with the spin lock less often, > bus traffic is reduced. In cases of a data

linux-next: manual merge of the driver-core.current tree with Linus' tree

2012-12-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core.current tree got conflicts in 21 files in drivers/i2c between commit 0b255e927d47 ("i2c: remove __dev* attributes from subsystem") from Linus' tree and commit eeb30d064414 ("Drivers: i2c: remove __dev* attributes") from the driver-core.current

Re: [RFC PATCH 1/3] x86,smp: move waiting on contended lock out of line

2012-12-23 Thread Rafael Aquini
On Fri, Dec 21, 2012 at 06:50:38PM -0500, Rik van Riel wrote: > Subject: x86,smp: move waiting on contended ticket lock out of line > > Moving the wait loop for congested loops to its own function allows > us to add things to that wait loop, without growing the size of the > kernel text

Re: Linux 3.8-rc1 - another regression on USB :-(

2012-12-23 Thread Linus Torvalds
Woody, Any chance you can bisect this? It's not going to be hugely pleasant (with 11k+ commits in between 3.7 and 3.8-rc1 you'll have to compile and test at least 14 kernels), but it would help enormously. Of course, maybe some USB person can guess what would cause the device to go offline..

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Linus Torvalds
On Sun, Dec 23, 2012 at 12:21 PM, Mauro Carvalho Chehab wrote: > > Agreed: ENOENT was a bad choice, and it should be reverted. Well, *any* other error value is likely a bad choice. > What I'm trying to understand is why pulseaudio is complaining. > Is it because it only accepts EINVAL error

linux-next stats (Was: Linux 3.8-rc1)

2012-12-23 Thread Stephen Rothwell
On Fri, 21 Dec 2012 18:00:58 -0800 Linus Torvalds wrote: > > The longest night of the year is upon us (*), and what better thing to > do than get yourself some nice mulled wine, sit back, relax, and play > with the most recent rc kernel? > > This has been a big merge window: we've got more

Re: [PATCH] brd: enable diskstats

2012-12-23 Thread Ryo Onodera
Hi, I'm Ryo Onodera. This is a resend for my earlier patch. Because I got no reply, I've added other people as CC, picking from the commit history of the relevant file. I created this very tiny patch to enable /proc/diskstats for /dev/ramX. I'm contacting Nick Piggin as the maintainer of

[PATCH] brd: enable diskstats

2012-12-23 Thread Ryo Onodera
Signed-off-by: Ryo Onodera --- drivers/block/brd.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/block/brd.c b/drivers/block/brd.c index 531ceb3..181b2d7 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c @@ -332,6 +332,7 @@ static void brd_make_request(struct

Re: [REGRESSION][3.8.-rc1][ INFO: possible circular locking dependency detected ]

2012-12-23 Thread Christian Kujau
On Sat, 22 Dec 2012 at 16:28, Maciej Rutecki wrote: > Got during suspend to disk: I got a similar message on a powerpc G4 system, right after bootup (no suspend involved): http://nerdbynature.de/bits/3.8.0-rc1/ [ 97.803049] == [

Segfault in perf tool

2012-12-23 Thread Stefan Beller
Hi, I get segmentation faults when running one of these commands: perf report -g --sort symbol_to perf report -g --sort symbol_from perf report -g --sort dso_from perf report -g --sort dso_to I am running uname -a Linux sb 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64

Re: [2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Ben Hutchings
On Sun, 2012-12-23 at 22:03 +0100, Willy Tarreau wrote: > Hi Jonathan, > > [ccing Paul for 2.6.34] > > On Sun, Dec 23, 2012 at 12:59:50PM -0800, Jonathan Nieder wrote: > > Hi Willy et al, > > > > Please consider > > > > f70e957cda22 x86: Don't use the EFI reboot method by default, > >

Re: [2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Willy Tarreau
Hi Jonathan, [ccing Paul for 2.6.34] On Sun, Dec 23, 2012 at 12:59:50PM -0800, Jonathan Nieder wrote: > Hi Willy et al, > > Please consider > > f70e957cda22 x86: Don't use the EFI reboot method by default, >2011-07-06 > > for application to the 2.6.32.y and 2.6.34.y trees.

[2.6.32.y, 2.6.34.y] Re: [PATCH] x86: Don't use the EFI reboot method by default

2012-12-23 Thread Jonathan Nieder
Hi Willy et al, Please consider f70e957cda22 x86: Don't use the EFI reboot method by default, 2011-07-06 for application to the 2.6.32.y and 2.6.34.y trees. The patch was applied upstream late in the 3.0 cycle, so newer kernels don't need it. In 2011, Keith Ward wrote[1]: >

Re: [v3.8-rc1] Multimedia regression, ioctl(17,..)-API changed ?

2012-12-23 Thread Mauro Carvalho Chehab
Hi Jörg, Em Sun, 23 Dec 2012 17:46:07 +0100 Jörg Otte escreveu: > With kernel v3.8 all multimedia programs under KDE4 don't work (Kubuntu > 12.04). > They alltogether ( at least Dragonplayer (Mediaplayer), Knotify4 > (system-sound), > System-Settings-Multimedia,..) are looping forever

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Laurent Pinchart
Hi Linus, On Sunday 23 December 2012 09:36:15 Linus Torvalds wrote: > On Sun, Dec 23, 2012 at 6:08 AM, Mauro Carvalho Chehab wrote: > > Are you saying that pulseaudio is entering on some weird loop if the > > returned value is not -EINVAL? That seems a bug at pulseaudio. > > Mauro, SHUT THE FUCK

Re: [Regression w/ patch] Media commit causes user space to misbahave (was: Re: Linux 3.8-rc1)

2012-12-23 Thread Mauro Carvalho Chehab
Linus, Em Sun, 23 Dec 2012 09:36:15 -0800 Linus Torvalds escreveu: > To make matters worse, commit f0ed2ce840b3 is clearly total and utter > CRAP even if it didn't break applications. ENOENT is not a valid error > return from an ioctl. Never has been, never will be. ENOENT means "No > such file

[PATCH 1/3] mm, sparse: allocate bootmem without panicing in sparse_mem_maps_populate_node

2012-12-23 Thread Sasha Levin
__alloc_bootmem_node_high() would panic if it failed allocating, so the fallback would never get reached. Switch to using __alloc_bootmem_node_high_nopanic(). Signed-off-by: Sasha Levin --- mm/sparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/sparse.c b/mm/sparse.c

[PATCH 3/3] mm, sparse: don't check return value of alloc_bootmem calls

2012-12-23 Thread Sasha Levin
There's no need to check the result of alloc_bootmem() functions since they'll panic if allocation fails. Signed-off-by: Sasha Levin --- mm/sparse.c | 4 1 file changed, 4 deletions(-) diff --git a/mm/sparse.c b/mm/sparse.c index 72a0db6..949fb38 100644 --- a/mm/sparse.c +++ b/mm/sparse.c

[PATCH 2/3] mm, bootmem: panic in bootmem alloc functions even if slab is available

2012-12-23 Thread Sasha Levin
Bootmem alloc functions are supposed to panic if allocation fails unless a *_nopanic() function is used. However, if slab is available this is not the case currently, and the function might return a NULL. Currect it to panic on failed allocations even if slab is available. Signed-off-by: Sasha

Re: dire state of rtl driver in 3.7

2012-12-23 Thread Larry Finger
On 12/23/2012 07:21 AM, Borislav Petkov wrote: On Sun, Dec 23, 2012 at 06:49:55AM +0100, Mike Galbraith wrote: Looks a lot like my driver experience with older kernels, I had to use the external driver in the rare event that I needed wireless to work. The in tree driver works peachy these days

Re: [PATCH 1/3] uprobes: Kill uprobe_events, use RB_EMPTY_ROOT() instead

2012-12-23 Thread Oleg Nesterov
On 12/13, Srikar Dronamraju wrote: > > * Oleg Nesterov [2012-11-25 23:33:44]: almost month ago ;) > Acked-by: Srikar Dronamraju Thanks! but what about 2/3 and 3/3? I'd like to send the final (and technically trivial) series which actually turns the filtering on. Oleg. -- To unsubscribe

  1   2   3   4   >