Re: [PATCH 2/4] powerpc kvm: added multiple TCEs requests support

2013-02-18 Thread Alexey Kardashevskiy
On 15/02/13 14:24, Paul Mackerras wrote: On Mon, Feb 11, 2013 at 11:12:41PM +1100, a...@ozlabs.ru wrote: +static long emulated_h_put_tce(struct kvmppc_spapr_tce_table *stt, + unsigned long ioba, unsigned long tce) +{ + unsigned long idx = ioba SPAPR_TCE_SHIFT; +

Re: [RFC] sched: The removal of idle_balance()

2013-02-18 Thread Srikar Dronamraju
The cache misses dropped by ~23% and migrations dropped by ~28%. I really believe that the idle_balance() hurts performance, and not just for something like hackbench, but the aggressive nature for migration that idle_balance() causes takes a large hit on a process' cache. Think about it

Re: [PATCH 1/5] perf, x86: Add Haswell PEBS record support v3

2013-02-18 Thread Ingo Molnar
* Andi Kleen a...@firstfloor.org wrote: --- a/arch/x86/kernel/cpu/perf_event_intel_ds.c +++ b/arch/x86/kernel/cpu/perf_event_intel_ds.c @@ -41,6 +41,22 @@ struct pebs_record_nhm { u64 status, dla, dse, lat; }; +/* + * Same as pebs_record_nhm, with two additional fields. + */

Re: [PATCH] Input: psmouse - retry getid command in psmouse_probe()

2013-02-18 Thread 王崇懿
Hi Dmitry and other maintainers, Not sure if you have any comment on the patch? As this patch tries to help some platforms (especially for lenovo's machines) to rescan the touchpad device after resuming from suspend if the first probe fails. Thanks, Chung-yih On Mon, Feb 18, 2013 at 4:17 PM,

Re: [PATCH 3/4] regulator: palmas: Removing duplicated code

2013-02-18 Thread Graeme Gregory
On 18/02/13 05:14, J Keerthy wrote: Removing duplicate assignment in the existing code. Signed-off-by: J Keerthy j-keer...@ti.com --- drivers/regulator/palmas-regulator.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c

Re: sched: circular dependency between sched_domains_mutex and oom_notify_list

2013-02-18 Thread Ingo Molnar
* Sasha Levin sasha.le...@oracle.com wrote: I suspect it's the result of adding the new rcu_oom_notify, but that happened about half a year ago so I'm not sure why this showed up only now. [ 1039.634183] == [ 1039.635717] [ INFO: possible

Re: [patch v5 01/15] sched: set initial value for runnable avg of sched entities.

2013-02-18 Thread Joonsoo Kim
Hello, Alex. On Mon, Feb 18, 2013 at 01:07:28PM +0800, Alex Shi wrote: We need initialize the se.avg.{decay_count, load_avg_contrib} to zero after a new task forked. Otherwise random values of above variables cause mess when do new task I think that these are not random values. In

[tip:perf/core] perf/x86/amd: Enable northbridge performance counters on AMD family 15h

2013-02-18 Thread tip-bot for Jacob Shin
Commit-ID: e259514eef764a5286873618e34c560ecb6cff13 Gitweb: http://git.kernel.org/tip/e259514eef764a5286873618e34c560ecb6cff13 Author: Jacob Shin jacob.s...@amd.com AuthorDate: Wed, 6 Feb 2013 11:26:29 -0600 Committer: Ingo Molnar mi...@kernel.org CommitDate: Sat, 16 Feb 2013 09:37:27

[tip:sched/core] sched/rt: Add linux/sched/rt.h header to linux/init_task.h

2013-02-18 Thread tip-bot for Ingo Molnar
Commit-ID: e341c59c6da2aa90719955809d9efc3cd41e6b49 Gitweb: http://git.kernel.org/tip/e341c59c6da2aa90719955809d9efc3cd41e6b49 Author: Ingo Molnar mi...@kernel.org AuthorDate: Sat, 16 Feb 2013 09:46:48 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 18 Feb 2013 09:02:28

RE: [PATCH 3/4] regulator: palmas: Removing duplicated code

2013-02-18 Thread J, KEERTHY
-Original Message- From: Graeme Gregory [mailto:g...@slimlogic.co.uk] Sent: Monday, February 18, 2013 1:54 PM To: J, KEERTHY Cc: broo...@opensource.wolfsonmicro.com; lgirdw...@gmail.com; linux- ker...@vger.kernel.org Subject: Re: [PATCH 3/4] regulator: palmas: Removing duplicated

Re: Debugging Thinkpad T430s occasional suspend failure.

2013-02-18 Thread Ingo Molnar
* H. Peter Anvin h...@zytor.com wrote: On 02/16/2013 11:46 AM, Linus Torvalds wrote: Adding Peter Anvin to the people, just in case he sees what's wrong with the system call stub generation that keeps excessively old object files around. If it's easy to fix, it might be worth trying to make

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-18 Thread Joonsoo Kim
Hello, Alex. On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it. For powersaving policy, only the history util 25% task has chance to be packed, and

[PATCH] Input: synaptics - add retry mechanism for reconnect

2013-02-18 Thread Chung-yih Wang
On the Samsung Series 5 Chromebook, the Synaptics ClickPad will sometimes not send an 0xFA PS/2 ACK in response to a command byte during the reconnect sequence following a resume from suspend. From our experiments, the failure can happen during any byte of any of the commands in the reconnect

Re: [-rc7 regression] Buggy commit: mm: use aligned zone start for pfn_to_bitidx calculation

2013-02-18 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: Right, that's the commit causing the x86 regression: c060f943d0929f3e429c5d9522290584f6281d6e is the first bad commit commit c060f943d0929f3e429c5d9522290584f6281d6e Date: Fri Jan 11 14:31:51 2013 -0800 mm: use aligned

Re: [PATCH v4] x86, apic: Check fadt x2apic phys in x2apic_phys_probe()

2013-02-18 Thread Lin-Bao Zhang
Hi Yinghai , this patch has been committed into some git repository ? if yes , which repository ? I just git log arch/x86/kernel/apic/x2apic_phys.c on linux-stable , but I could not find it. i guess maybe you will put it into another repository ,thanks very much! -- To unsubscribe from this

Re: [PATCH v2 1/1] eventfd: implementation of EFD_MASK flag

2013-02-18 Thread Martin Sustrik
On 14/02/13 23:54, Andrew Morton wrote: +/* On x86-64 keep the same binary layout as on i386. */ +#ifdef __x86_64__ +#define EVENTFD_MASK_PACKED __packed +#else +#define EVENTFD_MASK_PACKED +#endif + +struct eventfd_mask { + __u32 events; + __u64 data; +} EVENTFD_MASK_PACKED; The

Re: + futex-avoid-kernel-taint-caused-by-get_robust_list.patch added to -mm tree

2013-02-18 Thread Thomas Gleixner
On Sat, 16 Feb 2013, Cyrill Gorcunov wrote: On Fri, Feb 15, 2013 at 11:44:44PM +0100, Richard Weinberger wrote: The ability to deprecate this code has been called into question[1], but if that remains to be finalized, then making this change in the interim seems to make sense. Do

Re: [patch v5 10/15] sched: packing transitory tasks in wake/exec power balancing

2013-02-18 Thread Alex Shi
On 02/18/2013 04:44 PM, Joonsoo Kim wrote: Hello, Alex. On Mon, Feb 18, 2013 at 01:07:37PM +0800, Alex Shi wrote: If the waked/execed task is transitory enough, it will has a chance to be packed into a cpu which is busy but still has time to care it. For powersaving policy, only the history

Re: [PATCH 4/9] virtio-blk: use virtqueue_start_buf on req path

2013-02-18 Thread Paolo Bonzini
Il 17/02/2013 07:37, Asias He ha scritto: static int __virtblk_add_req(struct virtqueue *vq, - struct virtblk_req *vbr) + struct virtblk_req *vbr, + struct scatterlist *data_sg, + unsigned

Re: [PATCH] drivers/gpio/*twl* need call irq_free_descs when leaving

2013-02-18 Thread Peter Ujfalusi
On 02/16/2013 08:26 AM, Chen Gang wrote: since already call irq_alloc_descs before, we need call irq_free_descs when quiting, or resource leak. While it is true that we need to free the descs, but this patch is not correct. We have other issues to fix in the driver - I have not looked

[PATCH] param, charp: Cache val length

2013-02-18 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de ... instead of doing strlen twice. Signed-off-by: Borislav Petkov b...@suse.de Cc: Rusty Russell ru...@rustcorp.com.au Cc: Greg Kroah-Hartman gre...@linuxfoundation.org --- kernel/params.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

Re: [PATCH] drivers/gpio/*twl* need call irq_free_descs when leaving

2013-02-18 Thread Chen Gang
于 2013年02月18日 17:09, Peter Ujfalusi 写道: On 02/16/2013 08:26 AM, Chen Gang wrote: since already call irq_alloc_descs before, we need call irq_free_descs when quiting, or resource leak. While it is true that we need to free the descs, but this patch is not correct. We have other

Re: [PATCH 0/7] hid driver transport cleanup

2013-02-18 Thread Jiri Kosina
On Fri, 8 Feb 2013, Benjamin Tissoires wrote: Hi guys, so, here is the hid drivers cleanup. The aim is to remove as much as possible direct calls to usbhid for hid drivers. Thus, other transport layers can use the existing hid drivers (like I2C or uhid). Henrik, patches 1 to 5 are yours.

Re: [patch v5 01/15] sched: set initial value for runnable avg of sched entities.

2013-02-18 Thread Alex Shi
On 02/18/2013 04:28 PM, Joonsoo Kim wrote: On Mon, Feb 18, 2013 at 01:07:28PM +0800, Alex Shi wrote: We need initialize the se.avg.{decay_count, load_avg_contrib} to zero after a new task forked. Otherwise random values of above variables cause mess when do new task I think that these are

Re: [Suggestion] drivers/mfd/twl*: about power_count in twl6040_remove

2013-02-18 Thread Peter Ujfalusi
On 02/16/2013 10:07 AM, Chen Gang wrote: if necessary to treat 'power_count' as a counter when power_count is more than 1, we do not really power off it. this may cause issue: after finish calling twl6040_remove, another modules still use it. suggest to give additional

Re: [PATCH] HID: ntrig: use input_configured() callback to set the name

2013-02-18 Thread Jiri Kosina
On Sun, 17 Feb 2013, Rafi Rubin wrote: Looks good, and I can confirm it works fine. Applied, thanks. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [Suggestion] drivers/mfd/twl*: about power_count in twl6040_remove

2013-02-18 Thread Chen Gang
于 2013年02月18日 17:16, Peter Ujfalusi 写道: The module can be only removed when all depending modules has been already removed. If we remove the core MFD driver we _should_ power off the chip no matter what. ok, thanks. it is my fault. -- Chen Gang Asianux Corporation -- To unsubscribe

RE: [PATCH 2/3] HID: sensor-hub: get rid of unused sensor_hub_grabbed_usages[] table

2013-02-18 Thread Jiri Kosina
On Mon, 11 Feb 2013, Pandruvada, Srinivas wrote: This was added to load sensor hub driver on USB plug in without explicit modprobe. But with last few changes to remove vendor and product id, we need to do modprobe this driver. So removal is OK. Srinivas, sorry, I have a hard time

Re: [PATCH] Input: psmouse - retry getid command in psmouse_probe()

2013-02-18 Thread li guang
seems a special change for a special device so, you may need to place this change with corresponding CONFIG_xxx_xxx. generally, if command F2 failed, we will assume there's no ps2 device, it's normal, or do you have some materials(SPEC) to specify the change you have made? 在 2012-10-31三的 18:11

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Jiri Kosina
On Mon, 11 Feb 2013, Benjamin Tissoires wrote: We now have two transport mediums: USB and I2C, where sensor hubs can exists. So instead of constraining the driver to only these two we let it to match any HID bus as long as the group is HID_GROUP_SENSOR_HUB. Signed-off-by: Mika

[PATCH v4] Input: synaptics - use firmware data for Cr-48

2013-02-18 Thread Chung-yih Wang
The profile sensor clickpad in a Cr-48 Chromebook does a reasonable job of tracking individual fingers. This tracking isn't perfect, but, experiments show that it works better than just passing semi-mt data to userspace, and making userspace try to deduce where the fingers are given a bounding

Re: [PATCH 1/4] of/pci: Provide support for parsing PCI DT ranges property

2013-02-18 Thread Andrew Murray
On Fri, Feb 15, 2013 at 01:16:17PM +, Linus Walleij wrote: n Thu, Feb 14, 2013 at 8:17 PM, Thierry Reding thierry.red...@avionic-design.de wrote: On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote: Thierry, If you don't have much bandwidth I'd be quite happy to take this

Re: [PATCH] Documentation: update top level 00-INDEX file with new additions

2013-02-18 Thread Jiri Kosina
On Thu, 14 Feb 2013, Paul Gortmaker wrote: It seems there are about 80 new, but undocumented addtions at the top level Documentation directory. This fixes up the top level 00-INDEX by adding new entries and deleting a couple orphans. Some subdirs could probably still use a check/cleanup too

Re: [PATCH] Input: psmouse - retry getid command in psmouse_probe()

2013-02-18 Thread 王崇懿
Yes, I could add CONFIG_MOUSE_PS2_SYNAPTICS for the change as we only need it for synaptics touchpad/touchpoint on lenovo's machines. On Mon, Feb 18, 2013 at 5:26 PM, li guang lig.f...@cn.fujitsu.com wrote: seems a special change for a special device so, you may need to place this change with

Re: [V2 2/8] USB: EHCI: make ehci-atmel a separate driver

2013-02-18 Thread Bo Shen
On 02/15/2013 06:24 PM, Manjunath Goudar wrote: Separate the Atmel host controller driver from ehci-hcd host code into its own driver module. In V2: Resolved below compiler error. drivers/usb/host/ehci-atmel.c: In function 'ehci_atmel_drv_remove': drivers/usb/host/ehci-atmel.c:167: error:

RE: [PATCH] EnhanceIO ssd caching software

2013-02-18 Thread Sanoj Unnikrishnan
-Original Message- From: Darrick J. Wong [mailto:darrick.w...@oracle.com] Sent: Saturday, February 16, 2013 2:02 AM To: OS Engineering Cc: Greg Kroah-Hartman; LKML; Jens Axboe; Sanoj Unnikrishnan; 王金浦; Amit Kale; dm-de...@redhat.com; koverstr...@google.com; thorn...@redhat.com

[PATCH v2] mfd: as3711: add OF support

2013-02-18 Thread Guennadi Liakhovetski
Add device-tree bindings to the AS3711 regulator and backlight drivers. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- v2: 1. remove of_device_is_available() - it breaks compilation with CONFIG_OF disabled and is redundant anyway - I2C devices are only registered for available

Re: [PATCH v3 0/5] virtio-scsi multiqueue

2013-02-18 Thread Wanlong Gao
On 02/12/2013 09:06 PM, Paolo Bonzini wrote: This series implements virtio-scsi queue steering, which gives performance improvements of up to 50% (measured both with QEMU and tcm_vhost backends). The patches build on top of the new virtio APIs at

Re: [PATCH v3 0/5] virtio-scsi multiqueue

2013-02-18 Thread Paolo Bonzini
Il 18/02/2013 10:32, Wanlong Gao ha scritto: Ok for 3.9? It would probably be easier to get it in via Rusty's tree because of the prerequisites. James, can I get your Acked-by? I can't apply this series on top of Rusty's virtio-next, I missed something or needed rebase them ? It's on top

Re: [regression] openSUSE 12.2 stable kernel 3.7.8-1 big USB 2.0 slowdown

2013-02-18 Thread Jiri Slaby
On 02/18/2013 06:25 AM, Anja Nützel wrote: Maybe it startet with 3.7.7. I could copy several MB onto my USB 2.0 sticks with 3.7.6. (I think). Even with full speed. With openSUSE 12.2 DVD (kernel 3.4.x) it works OK, too. Now it degrates to 12 mbits (full-speed USB only). This is an

[PATCH] pci: do not try to assign irq 255

2013-02-18 Thread Hannes Reinecke
The PCI config space reseves a byte for the interrupt line, so irq 255 actually refers to 'not set'. However, the 'irq' field for struct pci_dev is an integer, so the original meaning is lost, causing the system to assign an interrupt '255', which fails. So we should _not_ assign an interrupt

Re: [V2 2/8] USB: EHCI: make ehci-atmel a separate driver

2013-02-18 Thread Arnd Bergmann
On Monday 18 February 2013, Bo Shen wrote: - .name = atmel-ehci, + .name = hcd_name, This change will cause atmel ehci won't work with the none device tree kernel. it can be fixed with replace other places using atmel-ehci with hcd_name, that means replace

[PATCH v2] i2c-designware: make SDA hold time configurable

2013-02-18 Thread Christian Ruppert
This patch makes the SDA hold time configurable through device tree. It was tested on a hybrid of i2c/next and arc-3.8-baseline (see https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commits/arc-3.8-baseline) since our platform is ARC based and this architecture is not yet supported

Re: uhid: broken interface: 32/64-bit compatibility

2013-02-18 Thread Kirill A. Shutemov
Dmitry Torokhov wrote: On Fri, Feb 15, 2013 at 03:51:41PM +0200, Kirill A. Shutemov wrote: Johan Hedberg wrote: Hi David, On Fri, Feb 15, 2013, David Herrmann wrote: On Fri, Feb 15, 2013 at 12:29 PM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: Hi David and

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Vincent Guittot
On 15 February 2013 20:40, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Hi Vincent, On 02/15/2013 06:58 PM, Vincent Guittot wrote: Hi Srivatsa, I have run some tests with you branch (thanks Paul for the git tree) and you will find results below. Thank you very much for

Re: [RFT][PATCH 1/2] regulator: ab8500: Fix build error

2013-02-18 Thread Lee Jones
Hi Axel, This build error is introduced by commit 6a9fe8319 regulator: ab8500: Added get_optimum_mode on regulators with idle mode. CC drivers/regulator/ab8500.o drivers/regulator/ab8500.c:500:23: error: 'ab8500_regulator_fixed_ops' undeclared here (not in a function)

WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-02-18 Thread Jiri Slaby
Hi, we have a report of WARNING from 3.7.6 in nouveau at drivers/gpu/drm/nouveau/core/core/mm.c:242 here: https://bugzilla.novell.com/show_bug.cgi?id=802347#c11 There is an order 4 allocation failure in nouveau_drm_open - nouveau_vm_create, i.e. this one failed: vm-pgt = kcalloc(vm-lpde -

Re: uhid: broken interface: 32/64-bit compatibility

2013-02-18 Thread Jiri Kosina
On Fri, 15 Feb 2013, Dmitry Torokhov wrote: Here's my attempt to fix the issue. Not sure if tricks with padding in a good idea. We can just use __u64 instead of pointer, but it will require update of userspace to silence cast warning and will cause warning if you will try to use

Re: [PATCH RFC] video: Add Hyper-V Synthetic Video Frame Buffer Driver

2013-02-18 Thread Geert Uytterhoeven
On Fri, Feb 15, 2013 at 8:09 PM, Haiyang Zhang haiya...@microsoft.com wrote: +/* Allocate framebuffer memory */ +#define FOUR_MEGA (4*1024*1024) +#define NALLOC 10 +static void *hvfb_getmem(void) +{ + ulong *p; + int i, j; + ulong ret = 0; + + if (screen_fb_size

Re: [PATCH v2] cgroup: fix cgroup_rmdir() vs close(eventfd) race

2013-02-18 Thread Kirill A. Shutemov
On Mon, Feb 18, 2013 at 02:12:23PM +0800, Li Zefan wrote: commit 205a872bd6f9a9a09ef035ef1e90185a8245cc58 (cgroup: fix lockdep warning for event_control) solved a deadlock by introducing a new bug. Move cgrp-event_list to a temporary list doesn't mean you can traverse this list locklessly,

Re: [PATCH 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-02-18 Thread Lin Feng
Hi Mel, See below. On 02/05/2013 07:57 PM, Mel Gorman wrote: On Mon, Feb 04, 2013 at 04:06:24PM -0800, Andrew Morton wrote: The ifdefs aren't really needed here and I encourage people to omit them. This keeps the header files looking neater and reduces the chances of things later breaking

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Srivatsa S. Bhat
On 02/18/2013 03:54 PM, Vincent Guittot wrote: On 15 February 2013 20:40, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Hi Vincent, On 02/15/2013 06:58 PM, Vincent Guittot wrote: Hi Srivatsa, I have run some tests with you branch (thanks Paul for the git tree) and you will find

Re: [PATCH v2] cgroup: fix cgroup_rmdir() vs close(eventfd) race

2013-02-18 Thread Li Zefan
On 2013/2/18 18:36, Kirill A. Shutemov wrote: On Mon, Feb 18, 2013 at 02:12:23PM +0800, Li Zefan wrote: commit 205a872bd6f9a9a09ef035ef1e90185a8245cc58 (cgroup: fix lockdep warning for event_control) solved a deadlock by introducing a new bug. Move cgrp-event_list to a temporary list doesn't

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Srivatsa S. Bhat
On 02/18/2013 04:04 PM, Srivatsa S. Bhat wrote: On 02/18/2013 03:54 PM, Vincent Guittot wrote: On 15 February 2013 20:40, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Hi Vincent, On 02/15/2013 06:58 PM, Vincent Guittot wrote: Hi Srivatsa, I have run some tests with you branch

Re: [PATCH v2] i2c-designware: make SDA hold time configurable

2013-02-18 Thread Mika Westerberg
On Mon, Feb 18, 2013 at 11:14:27AM +0100, Christian Ruppert wrote: This patch makes the SDA hold time configurable through device tree. It was tested on a hybrid of i2c/next and arc-3.8-baseline (see https://github.com/foss-for-synopsys-dwc-arc-processors/linux/commits/arc-3.8-baseline) since

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Thomas Gleixner
On Mon, 18 Feb 2013, Srivatsa S. Bhat wrote: Lockup observed while running this patchset, with CPU_IDLE and INTEL_IDLE turned on in the .config: smpboot: CPU 1 is now offline Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 11 Pid: 0, comm: swapper/11 Not tainted

[PATCH v3] cgroup: fix cgroup_rmdir() vs close(eventfd) race

2013-02-18 Thread Li Zefan
commit 205a872bd6f9a9a09ef035ef1e90185a8245cc58 (cgroup: fix lockdep warning for event_control) solved a deadlock by introducing a new bug. Move cgrp-event_list to a temporary list doesn't mean you can traverse this list locklessly, because at the same time cgroup_event_wake() can be called and

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Vincent Guittot
On 18 February 2013 11:51, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: On 02/18/2013 04:04 PM, Srivatsa S. Bhat wrote: On 02/18/2013 03:54 PM, Vincent Guittot wrote: On 15 February 2013 20:40, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: Hi Vincent, On 02/15/2013

Re: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Srivatsa S. Bhat
On 02/18/2013 04:24 PM, Thomas Gleixner wrote: On Mon, 18 Feb 2013, Srivatsa S. Bhat wrote: Lockup observed while running this patchset, with CPU_IDLE and INTEL_IDLE turned on in the .config: smpboot: CPU 1 is now offline Kernel panic - not syncing: Watchdog detected hard LOCKUP on cpu 11

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Alexander Holler
Am 11.02.2013 11:31, schrieb Mika Westerberg: We now have two transport mediums: USB and I2C, where sensor hubs can exists. So instead of constraining the driver to only these two we let it to match any HID bus as long as the group is HID_GROUP_SENSOR_HUB. Signed-off-by: Mika Westerberg

Re: [PATCH v6 4/7] fat: restructure export_operations

2013-02-18 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: + if (MSDOS_SB(inode-i_sb)-options.nfs == FAT_NFS_NOSTALE_RO) { + if (inode-i_ino == MSDOS_ROOT_INO) + stat-ino = MSDOS_ROOT_INO; Can we simply set i_pos = MSDOS_ROOT_INO in fat_read_root()? If so, I think we can

KGTP (Linux debugger and tracer) 20130218 release (add watch tracepoint control hardware breakpoints to record memory and bug fix)

2013-02-18 Thread Hui Zhu
://code.google.com/p/kgtp/wiki/HOWTO (Chinese) to get more info about howto use KGTP. Now, KGTP 20130218 release. You can get the package for it from http://kgtp.googlecode.com/files/kgtp_20130218.tar.bz2 or svn co https://kgtp.googlecode.com/svn/tags/20130218 The main change of this release is add watch

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Mika Westerberg
On Mon, Feb 18, 2013 at 12:03:04PM +0100, Alexander Holler wrote: Am 11.02.2013 11:31, schrieb Mika Westerberg: We now have two transport mediums: USB and I2C, where sensor hubs can exists. So instead of constraining the driver to only these two we let it to match any HID bus as long as the

Re: [PATCH v6 7/7] Documentation: update nfs option in filesystem/vfat.txt

2013-02-18 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: -nfs -- This option maintains an index (cache) of directory - inodes by i_logstart which is used by the nfs-related code to - improve look-ups. +nfs= stale_rw|nostale_ro Strange space after nfs=. -- OGAWA Hirofumi

Re: [PATCH] :fs :fat Delete unnecessary blank line.

2013-02-18 Thread OGAWA Hirofumi
Maksim Pikhenko pikhe...@gmail.com writes: Fixing a code style issue. Signed-off-by: Maksim Pikhenko pikhe...@gmail.com Acked-by: OGAWA Hirofumi hirof...@mail.parknet.co.jp --- fs/fat/inode.c |1 - 1 file changed, 1 deletion(-) diff --git a/fs/fat/inode.c b/fs/fat/inode.c index

Re: RCU?: Scheduling while atomic with 3.4.23-rt33

2013-02-18 Thread Thomas Gleixner
On Mon, 18 Feb 2013, Tim Sander wrote: Here is a transtribed backtrace for easier reading: c0010fac t dump_backtrace c022c188 T dump_stack c022c71c t __schedule_bug c022fb28 t __schedule c0230644 t rt_spin_lock_slowlock c0230ba8 T rt_spin_lock c003a9b8 T __wake_up c0052a44 t

Re: [PATCH 5/5] staging/xgifb: Remove duplicated code in loops.

2013-02-18 Thread Dan Carpenter
On Fri, Feb 15, 2013 at 08:37:13PM +0100, Peter Huewe wrote: - for (i = 0; i 256; i++) { - outb((unsigned char) DAC_TEST_PARMS[0], (pVBInfo-P3c8 + 1)); - outb((unsigned char) DAC_TEST_PARMS[1], (pVBInfo-P3c8 + 1)); - outb((unsigned char)

Re: [PATCH V2] ARM: dts: omap3-devkit8000: Enable audio support

2013-02-18 Thread Peter Ujfalusi
On 02/16/2013 08:33 AM, Anil Kumar wrote: Add the needed sections to enable audio support on Devkit8000 when booted with DT blob. Signed-off-by: Anil Kumar anilk...@gmail.com Looks good: Acked-by: Peter Ujfalusi peter.ujfal...@ti.com --- This patch is based on top of kernel 3.8-rc5 and

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Alexander Holler
Am 18.02.2013 12:12, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:03:04PM +0100, Alexander Holler wrote: Am 11.02.2013 11:31, schrieb Mika Westerberg: We now have two transport mediums: USB and I2C, where sensor hubs can exists. So instead of constraining the driver to only these two we

Re: [PATCH 3/5] staging/xgifb: Remove code without effect

2013-02-18 Thread Dan Carpenter
On Fri, Feb 15, 2013 at 08:37:11PM +0100, Peter Huewe wrote: The tempal variable is assigned and then immediately overwritten. - remove everything without effect. The inb is kept for possible side effects. This was dead code after we removed old mode = 14 support in 34c13ee2b staging:

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Mika Westerberg
On Mon, Feb 18, 2013 at 12:22:58PM +0100, Alexander Holler wrote: Am 18.02.2013 12:12, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:03:04PM +0100, Alexander Holler wrote: Am 11.02.2013 11:31, schrieb Mika Westerberg: We now have two transport mediums: USB and I2C, where sensor hubs can

[PATCH v3 1/1] eventfd: implementation of EFD_MASK flag

2013-02-18 Thread Martin Sustrik
When implementing network protocols in user space, one has to implement fake file descriptors to represent the sockets for the protocol. Polling on such fake file descriptors is a problem (poll/select/epoll accept only true file descriptors) and forces protocol implementers to use various

[PATCH, RFC 0/8] ARM: AM43 (OMAP2+) boot support

2013-02-18 Thread Afzal Mohammed
(Resending, since it seems, LAKML doesn't accept patches with subject prefix only as RFC, but requires PATCH prefix also) Hi, This series adds minimal support to boot Linux on platforms having AM43 based SoC's. This is being sent as an RFC to seek opinion about modification in twd to register

[PATCH, RFC 1/8] ARM: localtimer: return percpu clkevt on register

2013-02-18 Thread Afzal Mohammed
Return percpu clock event on local timer register. It is the boot cpu that calls this and it can use the returned percpu clock event to register a clock event in the case of SMP configuration with one core. This helps to have a booting Kernel even if no other timer is registered for clock tick.

[PATCH, RFC 2/8] ARM: twd: register clock event for 1 core SMP

2013-02-18 Thread Afzal Mohammed
Register percpu local timer for scheduler tick in the case of one core SMP configuration. In other cases - secondary cpu's as well as boot cpu's having more than one core, this is being registered as per existing boot flow, with a difference that they happens after delay calibration. Registering

[PATCH, RFC 4/8] ARM: am33xx: ll debug config help

2013-02-18 Thread Afzal Mohammed
Selecting DEBUG_AM33XXUART1 routes low level debug messages to first UART instance of AM335x based SoC's. This selection is valid for upcoming AM43 based SoC's too. Make this information available upon configuring. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/Kconfig.debug | 3 +++ 1

[PATCH, RFC 5/8] ARM: OMAP2+: am43: Kconfig

2013-02-18 Thread Afzal Mohammed
Add Kconfig option for AM43 family of SoC's, these are ARM Cortex A9 based (SMP configuration with 1 core). Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/mach-omap2/Kconfig | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/mach-omap2/Kconfig

[PATCH, RFC 6/8] ARM: OMAP2+: am43: basic dt support

2013-02-18 Thread Afzal Mohammed
Describe minimal DT boot machine details for AM43 based SoC's. AM43 family of SoC's are ARM Cortex-A9 based with one core in SMP configuration. Low level debug could be achieved by selecting DEBUG_AM33XXUART1. To boot AM43 SoC, this change is sufficient w.r.t Kernel (considering the fact that

[PATCH, RFC 7/8] ARM: dts: am4372: initial support

2013-02-18 Thread Afzal Mohammed
DT source (minimal) for AM4372 SoC. Those represented here are the minimal DT nodes necessary to get kernel booting. Signed-off-by: Afzal Mohammed af...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 55 +++ 1 file changed, 55 insertions(+) create mode 100644

[PATCH, RFC 8/8] ARM: dts: am43-pre-silicon support

2013-02-18 Thread Afzal Mohammed
AM43 SoC is in pre-silicon stage, meanwhile it has been modelled in a pre-silicon platform. To validate and boot Linux in pre-silicon platform that emulates an AM43 SoC, add DT build support. As bootloader is not used, bootargs is passed through DT. Note: This would be replaced by an original

[PATCH, RFC 3/8] ARM: twd: clock rate from DT (if no DT clk tree)

2013-02-18 Thread Afzal Mohammed
Add an optional property to find clock-frequency from DT. This helps as a fallback mechanism in case there is no representation of clock tree in DT. Signed-off-by: Afzal Mohammed af...@ti.com --- Documentation/devicetree/bindings/arm/twd.txt | 7 ++- arch/arm/kernel/smp_twd.c

[PATCH] net: wireless: orinoco: orinoco_usb.c: fix DMA buffers on stack

2013-02-18 Thread Kumar Amit Mehta
This patch fixes an instance of DMA buffer on stack(being passed to usb_control_msg) for the wireless USB version of the Agere Orinoco card driver. It also fixes the missing audit for the return value of firmware download routine. Found using smatch. Signed-off-by: Kumar Amit Mehta

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Alexander Holler
Am 18.02.2013 12:33, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:22:58PM +0100, Alexander Holler wrote: Am 18.02.2013 12:12, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:03:04PM +0100, Alexander Holler wrote: Am 11.02.2013 11:31, schrieb Mika Westerberg: We now have two

Re: [PATCH v6 4/7] fat: restructure export_operations

2013-02-18 Thread OGAWA Hirofumi
OGAWA Hirofumi hirof...@mail.parknet.co.jp writes: +if (parent (len FAT_FID_SIZE_WITH_PARENT)) { +*lenp = FAT_FID_SIZE_WITH_PARENT; +return 255; +} else if (len FAT_FID_SIZE_WITHOUT_PARENT) { +*lenp = FAT_FID_SIZE_WITHOUT_PARENT; +

Re: kswapd craziness round 2

2013-02-18 Thread Hillf Danton
On Mon, Feb 18, 2013 at 2:18 PM, Daniel J Blueman dan...@numascale-asia.com wrote: On Monday, 18 February 2013 06:10:02 UTC+8, Jiri Slaby wrote: Hi, You still feel the sour taste of the kswapd craziness in v3.7 thread, right? Welcome to the hell, part two :{. I believe this started

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Mika Westerberg
On Mon, Feb 18, 2013 at 12:37:52PM +0100, Alexander Holler wrote: Am 18.02.2013 12:33, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:22:58PM +0100, Alexander Holler wrote: Am 18.02.2013 12:12, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:03:04PM +0100, Alexander Holler wrote: Am

Re: Stupid user with user-space questions, matrix LED driving with user space code only.

2013-02-18 Thread el es
Jonathan Andrews jon at jonshouse.co.uk writes: What about a yield alignment mechanism for user space. IE the process calls the kernel with a request schedule me first after a yeild - then the process at least has whatever the timer granularity is to do something timing critical... add a

Re: [PATCH v2 1/1] eventfd: implementation of EFD_MASK flag

2013-02-18 Thread Martin Sustrik
On 14/02/13 23:54, Andrew Morton wrote: This patch adds userspace interfaces which will require manpage updates. Please Cc Michael and work with him on getting those changes completed. Right. It adds the efd_mask structure. As far as I understand how it works is that the actual user-space

[PATCH v4] media: ths7353: add support for ths7353 video amplifier

2013-02-18 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar@ti.com The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver. This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This

[PATCH] net: wireless: hostap: hostap_ap.c: Return -ENOMEM instead of -1 for if kmalloc() fails.

2013-02-18 Thread Kumar Amit Mehta
When memory allocation using, kmalloc() fails, report appropriate error value. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/net/wireless/hostap/hostap_ap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/hostap/hostap_ap.c

Re: [PATCH 3/3] HID: sensor-hub: don't limit the driver only to USB bus

2013-02-18 Thread Alexander Holler
Am 18.02.2013 12:54, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:37:52PM +0100, Alexander Holler wrote: Am 18.02.2013 12:33, schrieb Mika Westerberg: On Mon, Feb 18, 2013 at 12:22:58PM +0100, Alexander Holler wrote: Am 18.02.2013 12:12, schrieb Mika Westerberg: On Mon, Feb 18, 2013

Re: Getting rid of freezer for suspend [was Re: [fuse-devel] [PATCH] fuse: make fuse daemon frozen along with kernel threads]

2013-02-18 Thread Rafael J. Wysocki
On Monday, February 18, 2013 06:26:34 AM Li, Fei wrote: -Original Message- From: Rafael J. Wysocki [mailto:r...@sisk.pl] Sent: Friday, February 15, 2013 1:38 AM To: Miklos Szeredi Cc: Pavel Machek; Goswin von Brederlow; Li, Fei; Brown, Len; mi...@redhat.com;

Re: linux-next: manual merge of the pm tree with the pci tree

2013-02-18 Thread Rafael J. Wysocki
Hi Stephen, On Monday, February 18, 2013 12:17:07 PM Stephen Rothwell wrote: Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/acpi/scan.c between commits 668192b67820 (PCI: acpiphp: Move host bridge hotplug to pci_root.c) and ab1a2e038ff2 (ACPI / PCI: Make

Re: linux-next: manual merge of the pm tree with the pci tree

2013-02-18 Thread Rafael J. Wysocki
Hi Stephen, On Monday, February 18, 2013 12:11:05 PM Stephen Rothwell wrote: Hi Rafael, Today's linux-next merge of the pm tree got a conflict in drivers/acpi/internal.h between commits 668192b67820 (PCI: acpiphp: Move host bridge hotplug to pci_root.c) and ab1a2e038ff2 (ACPI / PCI: Make

Re: [PATCH] ACPI / scan: Make it clear that acpi_bus_trim() cannot fail

2013-02-18 Thread Vasilis Liaskovitis
with linux-next-20130207 and linux-next-20130218 by doing an SCI-eject request on a hot-plugged dimm. Are there more patches in development for safe memory hot-remove? thanks, - Vasilis -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [PATCH v3 1/2] sched: fix init NOHZ_IDLE flag

2013-02-18 Thread Vincent Guittot
On 8 February 2013 19:05, Vincent Guittot vincent.guit...@linaro.org wrote: On my smp platform which is made of 5 cores in 2 clusters, I have the nr_busy_cpu field of sched_group_power struct that is not null when the platform is fully idle. The root cause seems to be: During the boot

[patch] Re: RCU?: Scheduling while atomic with 3.4.23-rt33

2013-02-18 Thread Tim Sander
Am Montag, 18. Februar 2013, 12:16:41 schrieb Thomas Gleixner: On Mon, 18 Feb 2013, Tim Sander wrote: Here is a transtribed backtrace for easier reading: c0010fac t dump_backtrace c022c188 T dump_stack c022c71c t __schedule_bug c022fb28 t __schedule c0230644 t rt_spin_lock_slowlock

[PATCH v6 00/46] CPU hotplug: stop_machine()-free CPU hotplug

2013-02-18 Thread Srivatsa S. Bhat
Hi, This patchset removes CPU hotplug's dependence on stop_machine() from the CPU offline path and provides an alternative (set of APIs) to preempt_disable() to prevent CPUs from going offline, which can be invoked from atomic context. The motivation behind the removal of stop_machine() is to

[PATCH v6 01/46] percpu_rwlock: Introduce the global reader-writer lock backend

2013-02-18 Thread Srivatsa S. Bhat
A straight-forward (and obvious) algorithm to implement Per-CPU Reader-Writer locks can also lead to too many deadlock possibilities which can make it very hard/impossible to use. This is explained in the example below, which helps justify the need for a different algorithm to implement flexible

[PATCH v6 03/46] percpu_rwlock: Provide a way to define and init percpu-rwlocks at compile time

2013-02-18 Thread Srivatsa S. Bhat
Add the support for defining and initializing percpu-rwlocks at compile time for those users who would like to use percpu-rwlocks really early in the boot process (even before dynamic per-CPU allocations can begin). Cc: David Howells dhowe...@redhat.com Signed-off-by: Srivatsa S. Bhat

  1   2   3   4   5   6   >