Re: [RFC][PATCH 02/26] mm, mpol: Remove NUMA_INTERLEAVE_HIT

2012-07-06 Thread Peter Zijlstra
On Fri, 2012-07-06 at 23:54 +0900, Kyungmin Park wrote: > > static struct zonelist *policy_zonelist(gfp_t gfp, struct mempolicy > > *policy, > > int nd) > > { > > switch (policy->mode) { > > + case MPOL_INTERLEAVE: > > + nd = interleave_nodes(policy); > Jut ni

Re: [RFC][PATCH 02/26] mm, mpol: Remove NUMA_INTERLEAVE_HIT

2012-07-06 Thread Peter Zijlstra
On Fri, 2012-07-06 at 23:48 +0900, Minchan Kim wrote: > > I alreay sent a patch about that but didn't have a reply from > Peter/Ingo. > > https://lkml.org/lkml/2012/7/3/477 Yeah sorry for that.. it looks like Ingo picked up the fix from hnaz though. Thanks both! -- To unsubscribe from this lis

Re: [PATCH 3/3] slub: release a lock if freeing object with a lock is failed in __slab_free()

2012-07-06 Thread Christoph Lameter
On Fri, 6 Jul 2012, JoonSoo Kim wrote: > >> At CPU2, we don't need lock anymore, because this slab already in partial > >> list. > > > > For that scenario we could also simply do a trylock there and redo > > the loop if we fail. But still what guarantees that another process will > > not modify t

Re: [PATCH v3] printk: Have printk() never buffer its data

2012-07-06 Thread Kay Sievers
On Fri, Jul 6, 2012 at 12:46 PM, Kay Sievers wrote: > On Fri, Jul 6, 2012 at 5:47 AM, Michael Neuling wrote: > >>> 4,89,24561;NIP: c0048164 LR: c0048160 CTR: >>> 4,90,24576;REGS: c0007e59fb50 TRAP: 0700 Tainted: GW >>> (3.5.0-rc4-mikey) >>> 4,91

Re: [PATCH 0/4] zsmalloc improvements

2012-07-06 Thread Seth Jennings
On 07/04/2012 03:43 PM, Konrad Rzeszutek Wilk wrote: > On Mon, Jul 02, 2012 at 04:15:48PM -0500, Seth Jennings wrote: >> This exposed an interesting and unexpected result: in all >> cases that I tried, copying the objects that span pages instead >> of using the page table to map them, was _always_

Re: [PATCH v4 24/25] memcg/slub: shrink dead caches

2012-07-06 Thread Christoph Lameter
On Mon, 18 Jun 2012, Glauber Costa wrote: > In the slub allocator, when the last object of a page goes away, we > don't necessarily free it - there is not necessarily a test for empty > page in any slab_free path. This is the same btw in SLAB which keeps objects in per cpu caches and keeps empty

Re: [PATCH 0/5] ubi: Fix bad PEBs reserve caclulation

2012-07-06 Thread Richard Genoud
I've got an oops... this is my dev-kernel in 3.5-rc5 + some work to be able to boot on my board NB: If I use ubi_format it's ok. the mtd1 device has 1984 PEB the 4 last are UBI reserved + BBT I didn't test without your patch, but anyway something is wrong there. # flash_erase /dev/mtd1 0 1980 Era

[PATCH 1/6] staging: bcm: use %pM to print MAC addresses

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Cc: Kevin McKinney --- drivers/staging/bcm/CmHost.c | 44 +++--- 1 file changed, 16 insertions(+), 28 deletions(-) diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c index 189d243..9c8c9b1 100644 --- a/dr

[PATCH 5/6] staging: vt6656: use %pM for the BSSID

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Cc: Marcos Paulo de Souza --- drivers/staging/vt6656/bssdb.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c index 619c257..0999367 100644 --- a/drivers/staging/vt6656/b

[PATCH 6/6] staging: ccg: print MAC addresses via %pM

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Cc: Kyungmin Park --- drivers/staging/ccg/ccg.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c index a5b36a9..62f5d92 100644 --- a/drivers/staging/ccg/ccg.c +++ b/drivers/staging/

[PATCH 4/6] staging: vt6655: use %pM for BSSID

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Cc: Forest Bond Cc: Masanari Iida --- drivers/staging/vt6655/bssdb.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c index 1368e8c..f4f108f 100644 --- a/drivers/staging/vt6

[PATCH 3/6] staging: gdm72xx: use %pM for MAC

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Cc: Ben Chan --- drivers/staging/gdm72xx/gdm_wimax.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/staging/gdm72xx/gdm_wimax.c b/drivers/staging/gdm72xx/gdm_wimax.c index 110bdbc..e616de1 100644 --- a/drivers/staging/gdm72

[PATCH 2/6] staging: csr: print MAC addresses via %pM

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Cc: Lauri Hintsala --- drivers/staging/csr/sme_mgt.c | 10 ++ drivers/staging/csr/sme_sys.c | 29 drivers/staging/csr/sme_wext.c | 27 ++ drivers/staging/csr/un

[PATCH] mm: don't invoke __alloc_pages_direct_compact when order 0

2012-07-06 Thread Joonsoo Kim
__alloc_pages_direct_compact has many arguments so invoking it is very costly. And in almost invoking case, order is 0, so return immediately. Let's not invoke it when order 0 Signed-off-by: Joonsoo Kim diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6092f33..f4039aa 100644 --- a/mm/page_a

Re: [PATCH v2 net-next 2/2] r8169: support RTL8168G

2012-07-06 Thread Francois Romieu
hayeswang : > Francois Romieu [rom...@fr.zoreil.com] [...] > > - fix r8168g_mdio_write (if (reg_addr == 0x1f) { if (reg_addr == 0) snafu) > > -> Please check this one. > > That is fine. Thanks, I'll merge your patch and feed both drivers to davem. -- Ueimor -- To unsubscribe from this list:

Re: [PATCH v2 net-next 2/2] r8169: support RTL8168G

2012-07-06 Thread Francois Romieu
Joe Perches : [...] > This pattern is used a couple more times. > There's no failure handling either. I can do something for the initialize path. Other than that it's mostly deeply burried hardware failure so I'd rather concentrate a bit on current problem reports. This series already took me a

Re: [PATCH 6/6] staging: ccg: print MAC addresses via %pM

2012-07-06 Thread Kyungmin Park
Acked-by: Kyungmin Park On Sat, Jul 7, 2012 at 12:28 AM, Andy Shevchenko wrote: > Signed-off-by: Andy Shevchenko > Cc: Kyungmin Park > --- > drivers/staging/ccg/ccg.c |8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/ccg/ccg.c b/drivers/stagin

Re: [RFC PATCH 1/4] mm: introduce a safer interface to check whether a page is managed by SLxB

2012-07-06 Thread Jiang Liu
Hi Chris, Really appreciate your suggestions and I will work out a new version to fix callers of PageSlab() instead of changing the slab allocator. Thanks! Gerry On 07/06/2012 09:50 PM, Christoph Lameter wrote: > On Fri, 6 Jul 2012, Jiang Liu wrote: > >> Originally th

Re: [PATCH v2 net-next 2/2] r8169: support RTL8168G

2012-07-06 Thread Joe Perches
On Fri, 2012-07-06 at 17:20 +0200, Francois Romieu wrote: > Joe Perches : > [...] > > This pattern is used a couple more times. > > There's no failure handling either. > > I can do something for the initialize path. Other than that it's mostly > deeply burried hardware failure so I'd rather conce

[Patch v2] staging: ccg: print MAC addresses via %pM

2012-07-06 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko Acked-by: Kyungmin Park Cc: Andrzej Pietrasiewicz --- drivers/staging/ccg/ccg.c |8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c index a5b36a9..c77c465 100644 --- a/drivers/staging

Re: [PATCH 5/5] ARM: tegra: enable wireless in defconfig

2012-07-06 Thread Stephen Warren
On 07/05/2012 09:08 PM, Wei Ni wrote: > On Fri, 2012-07-06 at 03:59 +0800, Stephen Warren wrote: >> On 07/04/2012 03:34 AM, Wei Ni wrote: >>> New options enabled: >>> * WIRELESS: (dependency) >>> * CFG80211: (dependency) >>> * WLAN: (dependency) >>> * BRCMFMAC: wlan driver, enable as module. >> >>>

Re: [PATCH V2] regulator: tps65910: add support for input supply

2012-07-06 Thread Stephen Warren
On 07/06/2012 02:43 AM, Laxman Dewangan wrote: > There is multiple voltage input pins on device which > takes the voltage input for different voltage regulator. > Support to configure the voltage input supplied by > different regulator for each regulators. > > Signed-off-by: Laxman Dewangan Acke

[PATCH] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-07-06 Thread David Howells
Provide count_leading/trailing_zeros() macros based on extant arch bit scanning functions rather than reimplementing from scratch in MPILIB. Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x). Also move the definition to asm-generic as other people may be interested in usi

Re: [tip:sched/numa] mm/mpol: Re-implement check_*_range() using walk_page_range()

2012-07-06 Thread Rik van Riel
On 05/18/2012 06:21 AM, tip-bot for Peter Zijlstra wrote: Commit-ID: 8c41549ed1b3adefe17fa78a2cab81ed7060f0e5 Gitweb: http://git.kernel.org/tip/8c41549ed1b3adefe17fa78a2cab81ed7060f0e5 Author: Peter Zijlstra AuthorDate: Mon, 30 Jan 2012 17:23:26 +0100 Committer: Ingo Molnar CommitDate:

Re: [PATCH 6/6] staging: ccg: print MAC addresses via %pM

2012-07-06 Thread Daniel Hazelton
On 07/06/2012 11:32 AM, Kyungmin Park wrote: > Acked-by: Kyungmin Park > > On Sat, Jul 7, 2012 at 12:28 AM, Andy Shevchenko > wrote: >> Signed-off-by: Andy Shevchenko >> Cc: Kyungmin Park >> --- >> drivers/staging/ccg/ccg.c |8 ++-- >> 1 file changed, 2 insertions(+), 6 deletions(-) >>

Re: incorrect layout of globals from head_64.S during kexec boot

2012-07-06 Thread Daniel Kiper
On Fri, Jul 06, 2012 at 02:07:50PM +0200, Olaf Hering wrote: > On Fri, Jul 06, Daniel Kiper wrote: > > > Copy is done a few times durnig kexec/kdump but the most important > > in this case, I think, is in relocate_kernel() function (look for > > rep movsl or rep movsq and code around it). But I am

Re: [PATCH 6/6] staging: ccg: print MAC addresses via %pM

2012-07-06 Thread Andy Shevchenko
On Fri, Jul 6, 2012 at 6:54 PM, Daniel Hazelton wrote: >>> --- a/drivers/staging/ccg/ccg.c >>> +++ b/drivers/staging/ccg/ccg.c >>> @@ -564,9 +564,7 @@ static int rndis_function_bind_config(struct >>> ccg_usb_function *f, >>>                 return -1; >>>         } >>> >>> -       pr_info("%s MAC

Re: [PATCH] mm: don't invoke __alloc_pages_direct_compact when order 0

2012-07-06 Thread Minchan Kim
Hi Joonsoo, On Sat, Jul 07, 2012 at 12:28:41AM +0900, Joonsoo Kim wrote: > __alloc_pages_direct_compact has many arguments so invoking it is very costly. It's already slow path so it's pointless for such optimization. > And in almost invoking case, order is 0, so return immediately. You can't m

Suspend/resume/suspend broken in Linux 3.5-rc5

2012-07-06 Thread Sven Joachim
Hi, I'm sorry having to report that I'm only able to suspend once with Linux 3.5-rc5; any subsequent attempts fail. This is a regression from 3.4 where suspend/resume worked flawlessly and arbitrarily often on my machine. Bisection show that the problem was introduced in commit c420b2dc8dc: ,--

[PATCH] perf lock: fix segfault with info subcommand following move to libtraceevent

2012-07-06 Thread David Ahern
Running 'perf lock info' on a "random" perf.data file crashes: 0 0x004a5618 in __parse_common (pevent=0x0, data=0x0, size=0xa0, offset=0x9c, name= 0x556e02 "common_type") at /opt/sw/ahern/kernels/kernel.git/tools/lib/traceevent/event-parse.c:2851 1 0x004a56a7 in trace_parse

Re: [PATCH v2 0/5] uprobes: write_opcode() cleanups

2012-07-06 Thread Oleg Nesterov
On 07/06, Ingo Molnar wrote: > > * Oleg Nesterov wrote: > > > Hello, > > > > write_opcode() cleanups resend + new minor fix. > > > > Changes: > > > > - document the new argument in 2/5. > > > > - drop the buggy 5/5, thanks Anton for your quick nack. > > Probably I'll return to this l

Re: [PATCH v3 0/6] Port Tegra to generic clk framework

2012-07-06 Thread Stephen Warren
On 07/06/2012 08:35 AM, Prashant Gaikwad wrote: > On Friday 06 July 2012 12:19 AM, Stephen Warren wrote: >> On 07/05/2012 03:55 AM, Prashant Gaikwad wrote: >>> This patch set ports Tegra clock code to generic clock framework. > >> (The one slight difference between the 2 branches I tested is that

Re: [PATCH v2 0/5] uprobes: write_opcode() cleanups

2012-07-06 Thread Oleg Nesterov
On 07/06, Oleg Nesterov wrote: > > On 07/06, Ingo Molnar wrote: > > > > * Oleg Nesterov wrote: > > > > > Hello, > > > > > > write_opcode() cleanups resend + new minor fix. > > > > > > Changes: > > > > > > - document the new argument in 2/5. > > > > > > - drop the buggy 5/5, thanks Anton for yo

Re: [PATCH V3 5/6] Avoid duplicate probe for of platform devices

2012-07-06 Thread Greg KH
On Fri, Jul 06, 2012 at 06:07:43AM +, Jia Hongtao-B38951 wrote: > > > -Original Message- > > From: Greg KH [mailto:g...@kroah.com] > > Sent: Friday, July 06, 2012 12:26 PM > > To: Jia Hongtao-B38951 > > Cc: Rob Herring; devicetree-disc...@lists.ozlabs.org; linux- > > ker...@vger.kernel

Re: [PATCH v2 2/5] uprobes: __replace_page() should not use page_address_in_vma()

2012-07-06 Thread Oleg Nesterov
On 06/24, Oleg Nesterov wrote: > > However, page_address_in_vma() can actually fail if page->mapping was > cleared by __delete_from_page_cache() after get_user_pages() returns. > But this means the race with page reclaim, write_opcode() should not > fail, it should retry and read this page again. N

Re: [net-next RFC V5 0/5] Multiqueue virtio-net

2012-07-06 Thread Rick Jones
On 07/06/2012 12:42 AM, Jason Wang wrote: I'm not expert of tcp, but looks like the changes are reasonable: - we can do full-sized TSO check in tcp_tso_should_defer() only for westwood, according to tcp westwood - run tcp_tso_should_defer for tso_segs = 1 when tso is enabled. I'm sure Eric and

Re: [PATCH 01/10] random: make 'add_interrupt_randomness()' do something sane

2012-07-06 Thread Linus Torvalds
On Fri, Jul 6, 2012 at 6:01 AM, Theodore Ts'o wrote: > What in the world is "fast count"? I've grepped for it, > and I can't find it. It's your own fast-pool counter that Matt was talking about. > I can simply not credit entropy of the timer is on the irq, but I > think you and Matt were sugges

Re: [PATCH] ACPI: Add ACPI CPU hot-remove support

2012-07-06 Thread Jiang Liu
Hi Toshi, I think a better solution here is to send a notification to acpid daemon instead of directly ejecting the physical processor in kernel by apci hotplug work thread. The daemon should do: 1) check whether user policy allows to remove the physical processor 2) resolve

Re: [PATCH 2/6] rcu: Allow rcu_user_enter()/exit() to nest

2012-07-06 Thread Paul E. McKenney
On Fri, Jul 06, 2012 at 02:00:14PM +0200, Frederic Weisbecker wrote: > Allow calls to rcu_user_enter() even if we are already > in userspace (as seen by RCU) and allow calls to rcu_user_exit() > even if we are already in the kernel. > > This makes the APIs more flexible to be called from architect

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-06 Thread Linus Torvalds
On Thu, Jul 5, 2012 at 11:20 PM, tip-bot for Peter Zijlstra wrote: > > Several perf interrupt handlers (PEBS,IBS,BTS) re-write regs->ip but > do not update the segment registers. So use an regs->ip based test > instead of an regs->cs/regs->flags based test. Christ, people, YOU CANNOT DO THIS! It

[PATCH 0/1] Input: xpad - Add a variation of Mad Catz Beat Pad

2012-07-06 Thread Yuri Khan
Hello all, I have a dance pad that has the vendor and product IDs of a Mad Catz Beat Pad (0738:4540), but it doesn't get handled by xpad.ko because xpad expects (a) interface class and subclass of 'X':'B', or (b) interface class 255, subclass 93, protocol 1 or 129; while my device identifies as

[PATCH 1/1] Input: xpad - Add a variation of Mad Catz Beat Pad

2012-07-06 Thread Yuri Khan
* Add a quirk to usbhid to ignore this device Signed-off-by: Yuri Khan --- drivers/hid/hid-ids.h |3 +++ drivers/hid/usbhid/hid-quirks.c |2 ++ drivers/input/joystick/xpad.c |2 ++ 3 files changed, 7 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.

Re: [PATCH 1/6] rcu: Settle config for userspace extended quiescent state

2012-07-06 Thread Paul E. McKenney
On Fri, Jul 06, 2012 at 02:00:13PM +0200, Frederic Weisbecker wrote: > Create a new config option under the RCU menu that put > CPUs under RCU extended quiescent state (as in dynticks > idle mode) when they run in userspace. This require > some contribution from architectures to hook into kernel >

[PATCH] drivers/rtc/rtc-twl.c: fix threaded IRQ to use IRQF_ONESHOT

2012-07-06 Thread Kevin Hilman
Requesting a threaded interrupt without a primary handler and without IRQF_ONESHOT is dangerous, and after commit 1c6c6952 (genirq: Reject bogus threaded irq requests), these requests are rejected. This causes ->probe() to fail, and the RTC driver not to be availble. To fix, add IRQF_ONESHOT to t

Re: [PATCH 6/6] x86: Exit RCU extended QS on notify resume

2012-07-06 Thread Paul E. McKenney
On Fri, Jul 06, 2012 at 02:00:18PM +0200, Frederic Weisbecker wrote: > do_notify_resume() may be called on irq exit but it won't > be protected between rcu_irq_enter() and rcu_irq_exit() > and we don't call rcu_user_exit() on irq entry (unlike > syscalls/exceptions entry). > > Since it can use RCU

Re: [PATCH v3] NFSd: set nfsd_serv to NULL after service destruction

2012-07-06 Thread J. Bruce Fields
On Fri, Jul 06, 2012 at 01:09:01PM +0400, Stanislav Kinsbursky wrote: > 06.07.2012 01:21, J. Bruce Fields пишет: > >On Tue, Jul 03, 2012 at 04:46:41PM +0400, Stanislav Kinsbursky wrote: > >>v3: > >>1) Rebased for 3.6 kernel. > >> > >>v2: > >>1) Set global nfsd_serv pointer to NULL only if no runnin

Re: general protection fault on ttm_init()

2012-07-06 Thread Dave Airlie
On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu wrote: > ... The missed kconfig. > > On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: >> Hi Thomas, Wierd, I'm sorta tempted to just depend drm on CONFIG_PROC_FS, but it looks like the error path is failing to dtrt. Dave. -- To unsubscrib

Re: [PATCH 01/10] random: make 'add_interrupt_randomness()' do something sane

2012-07-06 Thread Theodore Ts'o
On Fri, Jul 06, 2012 at 09:24:00AM -0700, Linus Torvalds wrote: > On Fri, Jul 6, 2012 at 6:01 AM, Theodore Ts'o wrote: > > What in the world is "fast count"? I've grepped for it, > > and I can't find it. > > It's your own fast-pool counter that Matt was talking about. When he said "check it aga

Re: [PATCH 0/1] Input: xpad - Add a variation of Mad Catz Beat Pad

2012-07-06 Thread Yuri Khan
On Fri, Jul 6, 2012 at 11:32 PM, Yuri Khan wrote: > When I add a usbhid option quirks=0x0738:0x4540:0x4 (so that usbhid does > not attempt to handle this device) and rebuild the xpad module with the > following patch, the device works as expected. Dmitry Torokhov, the > current maintainer of inpu

Re: [PATCH] mm: don't invoke __alloc_pages_direct_compact when order 0

2012-07-06 Thread JoonSoo Kim
2012/7/7 Minchan Kim : > Hi Joonsoo, > > On Sat, Jul 07, 2012 at 12:28:41AM +0900, Joonsoo Kim wrote: >> __alloc_pages_direct_compact has many arguments so invoking it is very >> costly. > > It's already slow path so it's pointless for such optimization. I know this is so minor optimization. But

Re: [PATCH 0/1] Input: xpad - Add a variation of Mad Catz Beat Pad

2012-07-06 Thread Dmitry Torokhov
On Fri, Jul 06, 2012 at 11:57:44PM +0700, Yuri Khan wrote: > On Fri, Jul 6, 2012 at 11:32 PM, Yuri Khan wrote: > > > When I add a usbhid option quirks=0x0738:0x4540:0x4 (so that usbhid does > > not attempt to handle this device) and rebuild the xpad module with the > > following patch, the device

Re: Network namespace and bonding WARNING at fs/proc/generic.c remove_proc_entry

2012-07-06 Thread Serge E. Hallyn
Quoting Eric W. Biederman (ebied...@xmission.com): > "Serge E. Hallyn" writes: > > > Quoting Dilip Daya (dilip.d...@hp.com): > >> Hi, > >> > >> I'd discussed the following with Serge Hallyn. > >> > >> => Environment based on 3.2.18 / x86_64 kernel. > >> => WARNING: at fs/proc/generic.c:808 remo

Re: general protection fault on ttm_init()

2012-07-06 Thread Dave Airlie
On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu wrote: >> ... The missed kconfig. >> >> On Fri, Jul 06, 2012 at 10:46:22PM +0800, Fengguang Wu wrote: >>> Hi Thomas, > > Wierd, I'm sorta tempted to just depend drm on CONFIG_PROC_FS, but it > looks

Re: [PATCH] Bluetooth: btusb: Add vendor specific ID (0a5c:21f4) BCM20702A0

2012-07-06 Thread Manoj Iyer
On Fri, 13 Apr 2012, Gustavo Padovan wrote: Gustavo, Sorry it took a long time to locate the hardware to get this info, I got this info from one our QA engg cced here. Do you want me to resubmit the patch ? Before the patch = T: Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Sp

Re: [PATCH] perf tool: save cmdline from user in file header vs what is passed to record

2012-07-06 Thread Arnaldo Carvalho de Melo
Em Thu, Jul 05, 2012 at 10:09:22PM -0600, David Ahern escreveu: > A number of builtin commands process some user args and then pass the rest > to cmd_record. cmd_record then saves argc/argv that it receives into the > header of the perf data file. But this loses the arguments handled by the > first

Re: [PATCH] perf lock: fix segfault with info subcommand following move to libtraceevent

2012-07-06 Thread David Ahern
On 7/6/12 11:14 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 06, 2012 at 10:02:18AM -0600, David Ahern escreveu: +++ b/tools/perf/builtin-lock.c @@ -877,6 +877,9 @@ static int read_events(void) if (!session) die("Initializing perf session failed\n"); + if (!perf

Re: [PATCH V2] Suspend,cpuidle:resume_hang fix with cpuidle

2012-07-06 Thread Rafael J. Wysocki
On Friday, July 06, 2012, preeti wrote: > > From: Preeti U Murthy > > On certain bios,resume hangs if cpus are allowed to enter idle states > during suspend[1] > > This was fixed in apci idle driver[2].But intel_idle driver does not > have this fix.Thus instead of replicating the fix in both th

Re: [PATCH] perf tool: save cmdline from user in file header vs what is passed to record

2012-07-06 Thread David Ahern
On 7/6/12 11:17 AM, Arnaldo Carvalho de Melo wrote: Can you please state for what branch, perf/urgent (i.e. current merge window) or perf/core (next), this is intended? I usually have been making the call, but having feedback from the submitter can help things and help meet expectations more freq

[PATCH] regulator: core: Mark all DT based boards as having full constraints

2012-07-06 Thread Mark Brown
Since DT doesn't provide an idiomatic mechanism for enabling full constraints and since it's much more natural with DT to provide them just assume that a DT enabled system has full constraints. Signed-off-by: Mark Brown --- drivers/regulator/core.c |9 + 1 file changed, 9 insertions(

Re: [PATCH V2] Suspend,cpuidle:resume_hang fix with cpuidle

2012-07-06 Thread Dave Hansen
On 07/06/2012 10:23 AM, Rafael J. Wysocki wrote: > OK, this looks good to me. Queuing up in the linux-next branch of the > linux-pm.git tree. If no problems with it are reported, I'll move it to the > pm-cpuidle branch in a couple of days. I've got this running on the problem hardware. It seems

Re: [PATCH] CONFIG_CC_STACKPROTECTOR is no longer experimental

2012-07-06 Thread Randy Dunlap
On 07/06/2012 07:08 AM, Jean Delvare wrote: > This feature has been around for over 5 years now, so I presume it is > no longer considered experimental. > > Signed-off-by: Jean Delvare > Cc: Ingo Molnar > Cc: Arjan van de Ven > Cc: Andi Kleen > --- > Or is there any reason to still consider t

Re: [PATCH V2] Suspend,cpuidle:resume_hang fix with cpuidle

2012-07-06 Thread Rafael J. Wysocki
On Friday, July 06, 2012, Dave Hansen wrote: > On 07/06/2012 10:23 AM, Rafael J. Wysocki wrote: > > OK, this looks good to me. Queuing up in the linux-next branch of the > > linux-pm.git tree. If no problems with it are reported, I'll move it to the > > pm-cpuidle branch in a couple of days. > >

Re: [PATCH] [RFC] nfsd: fix possible dereference of static NULL nfsd_serv pointer

2012-07-06 Thread J. Bruce Fields
On Fri, Jul 06, 2012 at 05:45:56PM +0400, Stanislav Kinsbursky wrote: > This is a bug fix for 3.5 kernel. > In case on NFSd service start failure svc_shutdown_net() will call svc_destroy > callback and zeroize global nfsd_serv pointer, this in turn will lead to Oops > in svc_destroy(). > > This pa

Re: [PATCH] regulator: core: Mark all DT based boards as having full constraints

2012-07-06 Thread Liam Girdwood
On Fri, 2012-07-06 at 18:20 +0100, Mark Brown wrote: > Since DT doesn't provide an idiomatic mechanism for enabling full > constraints and since it's much more natural with DT to provide them > just assume that a DT enabled system has full constraints. > > Signed-off-by: Mark Brown Acked-by: Lia

perf lock record fails

2012-07-06 Thread David Ahern
What config options need to be enabled for 'perf lock record' to work? I tried a number of custom builds and stock Fedora kernels. I always get: $ perf lock record -- sleep 1 invalid or unsupported event: 'lock:lock_acquire' Though trace_lock_acquire exists, CONFIG_LOCKDEP is set, and ftrace is

[PATCH] synaptics_usb: Remove TrackPoint name trailing whitespace

2012-07-06 Thread Bob Ross
The USB TrackPoint name string contains a space at the trailing end that can cause confusion/difficulty when creating udev rules. Example: "Synaptics Inc. Composite TouchPad / TrackPoint (Stick) " This patch removes the trailing space. Signed-off-by: Bob Ross --- This patch was based from the

Re: [Xen-devel] incorrect layout of globals from head_64.S during kexec boot

2012-07-06 Thread Olaf Hering
On Fri, Jul 06, Jan Beulich wrote: > > Could it be that some code tweaks the stack content used by decompress() > > in some odd way? But that would most likely lead to a crash, not to > > unexpected uncompressing results. > > Especially if the old and new kernel are using the exact same > image,

Re: USB: option: Add MEDIATEK product ids

2012-07-06 Thread Sergei Shtylyov
On 07/06/2012 05:50 PM, gaosen wrote: > From 86fcd5bb701bd927d588386c480c37784d10040a Mon Sep 17 00:00:00 2001 > From: Gaosen Zhang > Date: Fri, 6 Jul 2012 21:44:10 +0800 > Subject: [PATCH 1/1] USB: option: Add MEDIATEK product ids > Signed-off-by: Gaosen Zhang > --- > drivers/usb/serial/optio

Re: USB: option: Add MEDIATEK product ids

2012-07-06 Thread Greg KH
On Fri, Jul 06, 2012 at 09:50:50PM +0800, gaosen wrote: > >From 86fcd5bb701bd927d588386c480c37784d10040a Mon Sep 17 00:00:00 2001 > From: Gaosen Zhang > Date: Fri, 6 Jul 2012 21:44:10 +0800 > Subject: [PATCH 1/1] USB: option: Add MEDIATEK product ids > > > Signed-off-by: Gaosen Zhang > --- > d

New Defect found by Coverity Scan based on code change in last 1.5 week

2012-07-06 Thread Scan Subscription
New Defect found by Coverity Scan based on code change in last 1.5 week Defect Summary ** CID 200075: Free of array-typed value (BAD_FREE.array) /linux/fs/splice.c: 317 Alexander Viro ** CID 709210: Self assignment (NO_EFFE

Re: [PATCH 1/3] arch/tile: provide kernel support for the tilegx USB shim

2012-07-06 Thread Greg KH
On Wed, May 09, 2012 at 12:25:02PM -0400, Chris Metcalf wrote: > This change adds support for accessing the USB shim from within the > kernel. Note that this change by itself does not allow the kernel > to act as a host or as a device; it merely exposes the built-in on-chip > hardware to the kerne

Re: [PATCH 7/9] Input: ab8500-ponkey: Create AB8500 domain IRQ mapping

2012-07-06 Thread Dmitry Torokhov
Hi Lee, On Fri, Jul 06, 2012 at 08:52:43AM +0100, Lee Jones wrote: > Sorry Dmitry, looks like I missed you off of the CC list on this one. > > Here it is again: > > Before we can use any domain allocated IRQ, we need to first create a > map between the Hardware IRQ (hwirq) and the Linux Virtual

Re: [PATCH] isp1362-hcd.c: usb message always saved in case of underrun

2012-07-06 Thread Greg KH
On Wed, Jun 27, 2012 at 06:01:39PM +0200, Claudio Scordino wrote: > Hi Olav, > > please find below a patch for the isp1362-hcd.c driver to always > save the message in case of underrun. More information is provided > inside the patch comment. Let us know if you need any further > information

Bug 44211 - /proc/kmsg does not (always) block for 1-byte reads

2012-07-06 Thread Jukka Ollila
Hello, A few days ago I filed a kernel regression report concerning a change in /proc/kmsg behaviour with short reads: https://bugzilla.kernel.org/show_bug.cgi?id=44211 The comments suggest that this is probably intentional, but that it would be best make sure that the current semantics wrt shor

Re: [PATCH] perf lock: fix segfault with info subcommand following move to libtraceevent

2012-07-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 06, 2012 at 11:17:41AM -0600, David Ahern escreveu: > On 7/6/12 11:14 AM, Arnaldo Carvalho de Melo wrote: > >Em Fri, Jul 06, 2012 at 10:02:18AM -0600, David Ahern escreveu: > >>+++ b/tools/perf/builtin-lock.c > >>@@ -877,6 +877,9 @@ static int read_events(void) > >>if (!session) > >

Re: Bug 44211 - /proc/kmsg does not (always) block for 1-byte reads

2012-07-06 Thread Greg KH
On Fri, Jul 06, 2012 at 08:45:44PM +0300, Jukka Ollila wrote: > Hello, > > A few days ago I filed a kernel regression report concerning a change > in /proc/kmsg behaviour with short reads: > > https://bugzilla.kernel.org/show_bug.cgi?id=44211 > > The comments suggest that this is probably intent

Re: [RFC 4/4] remoteproc: Add driver for STE Modem

2012-07-06 Thread Ohad Ben-Cohen
Hi Sjur, On Fri, Jul 6, 2012 at 12:18 PM, Sjur BRENDELAND wrote: > The simple story is that when Host writes a bit indicated with TX-mask > it generates an interrupt on the modem-side. And likewise when the > modem writes a bit indicated with RX mask the Host will receive an > interrupt. Ok, tha

Re: [PATCH] CONFIG_CC_STACKPROTECTOR is no longer experimental

2012-07-06 Thread Jean Delvare
Hi Randy, Le vendredi 06 juillet 2012 à 10:23 -0700, Randy Dunlap a écrit : > On 07/06/2012 07:08 AM, Jean Delvare wrote: > > > This feature has been around for over 5 years now, so I presume it is > > no longer considered experimental. > > > > Signed-off-by: Jean Delvare > > Cc: Ingo Molnar >

Re: [PATCH] CONFIG_CC_STACKPROTECTOR is no longer experimental

2012-07-06 Thread Arjan van de Ven
On 7/6/2012 10:57 AM, Jean Delvare wrote: > Hi Randy, > > Le vendredi 06 juillet 2012 à 10:23 -0700, Randy Dunlap a écrit : >> On 07/06/2012 07:08 AM, Jean Delvare wrote: >> >>> This feature has been around for over 5 years now, so I presume it is >>> no longer considered experimental. >>> >>> Sig

Re: [PATCH 1/3] arch/tile: provide kernel support for the tilegx USB shim

2012-07-06 Thread Chris Metcalf
On 7/6/2012 1:36 PM, Greg KH wrote: > On Wed, May 09, 2012 at 12:25:02PM -0400, Chris Metcalf wrote: >> This change adds support for accessing the USB shim from within the >> kernel. Note that this change by itself does not allow the kernel >> to act as a host or as a device; it merely exposes the

Re: Network namespace and bonding WARNING at fs/proc/generic.c remove_proc_entry

2012-07-06 Thread Dilip Daya
Hi Eric, On Thu, 2012-07-05 at 17:41 -0700, Eric W. Biederman wrote: > "Serge E. Hallyn" writes: > > > Quoting Dilip Daya (dilip.d...@hp.com): > >> Hi, > >> > >> I'd discussed the following with Serge Hallyn. > >> > >> => Environment based on 3.2.18 / x86_64 kernel. > >> => WARNING: at fs/proc

Re: Network namespace and bonding WARNING at fs/proc/generic.c remove_proc_entry

2012-07-06 Thread Dilip Daya
Hi Serge, On Fri, 2012-07-06 at 17:05 +, Serge E. Hallyn wrote: > Quoting Eric W. Biederman (ebied...@xmission.com): > > "Serge E. Hallyn" writes: > > > > > Quoting Dilip Daya (dilip.d...@hp.com): > > >> Hi, > > >> > > >> I'd discussed the following with Serge Hallyn. > > >> > > >> => Envi

Re: SPI, GPIO, and DT maintainer ship (cry for help)

2012-07-06 Thread Mark Brown
On Thu, Jul 05, 2012 at 10:09:17PM +0200, Wolfram Sang wrote: > Hi Grant, > > the next merge window, and quite possibly the next window. Since you > > three have agreed to co-maintain those subsystems with me, can you > > please take a look at the patches that have been posted, pick up the > > on

Re: [Ksummit-2012-discuss] Linux Foundation Technical Advisory Board Elections and Nomination process

2012-07-06 Thread Randy Dunlap
On 07/06/2012 06:49 AM, James Bottomley wrote: > The elections for five of the ten members of the Linux Foundation > Technical Advisory Board[TAB] are held every year. Currently the > election will be at the 2011 Kernel Summit at one of the Joint events > (probably on the Wednesday 29 August) and

Re: [PATCH v3] mfd: max77686: Add device tree support.

2012-07-06 Thread Mark Brown
On Fri, Jul 06, 2012 at 05:02:55PM +0530, Yadwinder Singh Brar wrote: > + regulator_name { > + regulator-compatible = LDOn/BUCKn Trivial thing but this should really have "" as it's a string. But people will probably figure that out. Reviwed-by: Mark Brown signature.asc Descr

Re: [PATCH V2] regulator: tps65910: add support for input supply

2012-07-06 Thread Mark Brown
On Fri, Jul 06, 2012 at 02:13:12PM +0530, Laxman Dewangan wrote: > There is multiple voltage input pins on device which > takes the voltage input for different voltage regulator. > Support to configure the voltage input supplied by > different regulator for each regulators. Applied, thanks. sign

Re: [PATCH] perf lock: fix segfault with info subcommand following move to libtraceevent

2012-07-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 06, 2012 at 10:02:18AM -0600, David Ahern escreveu: > +++ b/tools/perf/builtin-lock.c > @@ -877,6 +877,9 @@ static int read_events(void) > if (!session) > die("Initializing perf session failed\n"); > > + if (!perf_session__has_traces(session, "lock record")) >

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-06 Thread Peter Zijlstra
On Fri, 2012-07-06 at 09:29 -0700, Linus Torvalds wrote: > On Thu, Jul 5, 2012 at 11:20 PM, tip-bot for Peter Zijlstra > wrote: > > > > Several perf interrupt handlers (PEBS,IBS,BTS) re-write regs->ip but > > do not update the segment registers. So use an regs->ip based test > > instead of an regs

Re: [Bug 43331] Re: Bug on bootup of Linux kernel on Panasonic Toughbook S10

2012-07-06 Thread Bjorn Helgaas
On Sat, Jun 02, 2012 at 11:30:23AM +0800, Jiang Liu wrote: > ... address range 0xfed98000-0xfed9 has been reserved by motherboard > device(PNP0C02). I guess that BIOS has assigned address "0xfed98000" to > :00:04.0 for thermal management functionality. The BAR0 of > :00:04.0 may be loc

Re: [PATCH] kvm: handle last_boosted_vcpu = 0 case

2012-07-06 Thread Marcelo Tosatti
On Tue, Jun 19, 2012 at 04:51:04PM -0400, Rik van Riel wrote: > On Wed, 20 Jun 2012 01:50:50 +0530 > Raghavendra K T wrote: > > > > > In ple handler code, last_boosted_vcpu (lbv) variable is > > serving as reference point to start when we enter. > > > Also statistical analysis (below) is showin

Re: [PATCH 3/3] audit: clean up refcounting in audit-tree

2012-07-06 Thread Eric Paris
On Mon, 2012-06-25 at 19:46 +0200, Miklos Szeredi wrote: > From: Miklos Szeredi > > Drop the initial reference by fsnotify_init_mark early instead of > audit_tree_freeing_mark() at destroy time. > > In the cases we destroy the mark before we drop the initial reference we need > to > get rid of

Re: [PATCH 1/2] kvm, Add x86_hyper_kvm to complete detect_hypervisor_platform check [v2]

2012-07-06 Thread Prarit Bhargava
On 07/06/2012 07:27 AM, Marcelo Tosatti wrote: > On Thu, Jul 05, 2012 at 09:37:00AM -0400, Prarit Bhargava wrote: >> >> >> On 07/05/2012 09:26 AM, Avi Kivity wrote: >>> Please copy at least k...@vger.kernel.org, and preferably Marcelo as well >>> (the other kvm co-maintainer). >>> >>> >> >> While

Re: [PATCH 2/3] audit: fix refcounting in audit-tree

2012-07-06 Thread Eric Paris
On Mon, 2012-06-25 at 19:46 +0200, Miklos Szeredi wrote: > From: Miklos Szeredi > > Refcounting of fsnotify_mark in audit tree is broken. E.g: > > refcount > create_chunk > alloc_chunk 1 > fsnotify_add_mark 2 > > untag_chunk > fsnot

Re: [PATCH 1/3] audit: don't free_chunk() after fsnotify_add_mark()

2012-07-06 Thread Eric Paris
On Mon, 2012-06-25 at 19:46 +0200, Miklos Szeredi wrote: > From: Miklos Szeredi > > Don't do free_chunk() after fsnotify_add_mark(). That one does a delayed > unref > via the destroy list and this results in use-after-free. > > Signed-off-by: Miklos Szeredi > CC: sta...@vger.kernel.org Al, c

Re: inotify: notify IN_DELETE_SELF when file is deleted or inode deleted ?

2012-07-06 Thread Eric Paris
It is inode oriented. Makes it a pain to work with, but that's how it is. Sorry! On Fri, Jun 29, 2012 at 10:06 AM, Pierre PEIFFER wrote: > Hi, > > By playing with inotify (on user side) to know whether the file I'm using is > deleted by someone else, I have noted that I do not receive the > IN

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-06 Thread Linus Torvalds
On Fri, Jul 6, 2012 at 11:12 AM, Peter Zijlstra wrote: > > PEBS, BTS, LBR don't have CS. PEBS does have eflags. > > If we cannot do this I'm not sure what we can do :/ Well, you're passed in a "pt_regs". Which *does* have CS, and has it right. If some code then changes the values in the pt_regs,

Re: [PATCH 6/6] regulator: max77686: Initialise rmatch.of_node to NULL.

2012-07-06 Thread Mark Brown
On Fri, Jul 06, 2012 at 02:50:08PM +0530, Yadwinder Singh Brar wrote: > Now of_regulator_match() returns without finding the match if match->of_node > is not NULL. Applied, thanks. signature.asc Description: Digital signature

Re: AF_BUS socket address family

2012-07-06 Thread Chris Friesen
On Saturday 2012-06-30 01:12, Vincent Sanders wrote: Firstly it is intended is an interprocess mechanism and not to rely on a configured IP system, indeed one of its primary usages is to provide mechanism for various tools to set up IP networking. Using IP as a localhost IPC is not uncommon (ind

Re: [tip:perf/core] perf/x86: Fix USER/KERNEL tagging of samples

2012-07-06 Thread Linus Torvalds
On Fri, Jul 6, 2012 at 11:16 AM, Linus Torvalds wrote: > > If some code then changes the values in the pt_regs, it is *that* code > that needs to think twice about what it does. Where is that code? >From a quick grep it looks like it is __intel_pmu_pebs_event() that does this. THAT is where you

Re: [PATCH 1/3] arch/tile: provide kernel support for the tilegx USB shim

2012-07-06 Thread Greg KH
On Fri, Jul 06, 2012 at 01:59:48PM -0400, Chris Metcalf wrote: > On 7/6/2012 1:36 PM, Greg KH wrote: > > On Wed, May 09, 2012 at 12:25:02PM -0400, Chris Metcalf wrote: > >> This change adds support for accessing the USB shim from within the > >> kernel. Note that this change by itself does not all

  1   2   3   >