[PATCH] drivers/net/usb/zd1201.c: Gigabyte GN-WLBZ201 dongle usbid

2005-07-08 Thread Mathieu
Gigabyte GN-WLBZ201 wifi usb dongle works very well, using the zd1201 driver. the only missing part is that the corresponding usbid is not declared. The following patch should fix this. Mathieu Index: linux-2.6.12/drivers/usb/net/zd1201.c

Re: Brand-new notebook useless with Linux...

2005-09-05 Thread Mathieu
> Additionally, the system clock runs at 2x normal speed with PowerNow enabled. > Am I stuck with running XP on this thing? I do not think so :) another problem is the Synaptics device, which does not seem to come up if the framebuffer is used -- Mathieu - To unsubscribe from this list:

Re: oops in VMWARE vmnet, on 2.6.12.x

2005-09-06 Thread Mathieu
"linux-os \(Dick Johnson\)" <[EMAIL PROTECTED]> disait dernièrement que : are you serious or just on drugs ? > On Tue, 6 Sep 2005, Christoph Hellwig wrote: > >> On Thu, Aug 11, 2005 at 08:17:28AM +0200, Jan Engelhardt wrote: >>> Nothing in the tarball mentiones any opensource license. If vm

Re: [RFC v2] epoll: avoid spinlock contention with wfcqueue

2013-03-18 Thread Mathieu Desnoyers
he queue as soon as it is processed. I'm also not entirely sure why you need to add enum epoll_item_state along with expensive atomic ops to compute the state. Wouldn't it be enough to know in which queue the nodes are located ? If need be, you could add new queues, e.g

Re: [RFC v2] epoll: avoid spinlock contention with wfcqueue

2013-03-18 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Mathieu Desnoyers wrote: > > * Eric Wong (normalper...@yhbt.net) wrote: > > > Eric Wong wrote: > > > > I'm posting this lightly tested version since I may not be able to do > > > > more testing/ben

Re: [PATCH] tracepoints: prevents null probe from being added

2013-03-20 Thread Mathieu Desnoyers
y that I have personally used this "remove all" feature much though. Thanks, Mathieu > > > But, the code is not handled as expected. Since the tracepoint_entry > > maintains funcs array's last func as NULL in order to mark it as the end > > of the array. Also NUL

Re: [PATCH] tracepoints: prevents null probe from being added

2013-03-20 Thread Mathieu Desnoyers
* Keun-O Park (kpark3...@gmail.com) wrote: > On Thu, Mar 21, 2013 at 8:01 AM, Steven Rostedt wrote: > > On Wed, 2013-03-20 at 14:01 -0400, Mathieu Desnoyers wrote: > >> * Steven Rostedt (rost...@goodmis.org) wrote: > >> > On Wed, 2013-03-20 at 12:18 +0900, kpark3...@

Re: [PATCH] tracepoints: prevents null probe from being added

2013-03-20 Thread Mathieu Desnoyers
* Keun-O Park (kpark3...@gmail.com) wrote: > On Thu, Mar 21, 2013 at 11:45 AM, Mathieu Desnoyers > wrote: > > * Keun-O Park (kpark3...@gmail.com) wrote: > >> On Thu, Mar 21, 2013 at 8:01 AM, Steven Rostedt > >> wrote: > >> > On Wed, 2013-03-

Re: [PATCH] wfcqueue: add function for unsynchronized prepend

2013-04-02 Thread Mathieu Desnoyers
exposed by the API. Just for fun, I tried making your "prepend" wait-free (thus not requiring a mutex), but it's really not obvious, because of its impact on splice operation and dequeue-last-node operation. Thoughts ? Thanks, Mathieu > > Signed-off-by: Eric Wong >

Re: [tracepoint] cargo-culting considered harmful...

2013-01-25 Thread Mathieu Desnoyers
point-probe-sample,cargo-cult}.c > > or git mv samples cargo-cult... > > I wonder if we should just remove the samples/tracepoints/ all together. > The tracepoint code is now only used internally by the trace_event code, > and there should not be any users of tracepoints directly. Y

Re: [tracepoint] cargo-culting considered harmful...

2013-01-25 Thread Mathieu Desnoyers
re we give at least some info */ trace_lttng_statedump_file_descriptor(session, p, i, IS_ERR(path) ? filp->f_dentry->d_name.name : path); } spin_unlock(&p-&

Re: [tracepoint] cargo-culting considered harmful...

2013-01-25 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: > On Fri, 2013-01-25 at 09:38 -0500, Mathieu Desnoyers wrote: > > > Yep, I'd be OK with removing this example, since now all users are > > expected to user TRACE_EVENT(), which is built on top of tracepoints. > > Can

Re: [tracepoint] cargo-culting considered harmful...

2013-01-25 Thread Mathieu Desnoyers
* Al Viro (v...@zeniv.linux.org.uk) wrote: > On Fri, Jan 25, 2013 at 09:49:53AM -0500, Mathieu Desnoyers wrote: > > static > > void lttng_enumerate_task_fd(struct lttng_session *session, > > struct task_struct *p, char *tmp) > > { > > struct

[PATCH] Fix: compat_rw_copy_check_uvector() misuse in aio, readv, writev, and security keys

2013-02-25 Thread Mathieu Desnoyers
ling. Acked-by: Linus Torvalds Acked-by: Al Viro Signed-off-by: Mathieu Desnoyers --- fs/compat.c| 15 +++ mm/process_vm_access.c |8 security/keys/compat.c |4 ++-- 3 files changed, 9 insertions(+), 18 deletions(-) Index: li

[PATCH] Add leading underscores to filldir, fillonedir, compat_fillonedir, filldir64

2013-02-25 Thread Mathieu Desnoyers
Document that these functions expect access_ok() to be performed on dirent between reception from user-space and call to these functions. Signed-off-by: Mathieu Desnoyers CC: Al Viro --- fs/compat.c |4 ++-- fs/readdir.c | 14 +++--- 2 files changed, 9 insertions(+), 9 deletions

Re: Reproduceable SATA lockup on 3.7.8 with SSD

2013-02-25 Thread Mathieu Desnoyers
* Marc MERLIN (m...@merlins.org) wrote: > Howdy, > > I seem to have the same problem (or similar) as Mathieu Desnoyers in > https://lkml.org/lkml/2013/2/22/437 > > I can reliably get my SSD to drop from the SATA bus given the right workload > on linux. > > How can I

Re: [PATCH v4] drivers/tty: Folding Android's keyreset driver in sysRQ

2013-02-27 Thread Mathieu Poirier
uch. > > So I *think* the fix might be something like the attached. Totally > untested. It may compile, or it may not. > > Linus > Your fix is compiling, running and yielding the correct results - apologies about that. Acked-by: Mathieu Poirier -- To unsubscr

[BUG] Lenovo x230: SATA errors with 180GB Intel 520 SSD under heavy write load

2013-02-22 Thread Mathieu Desnoyers
are on the SSD might be part of the problem, but it might be good if we could to confirm that Intel's firmwares work fine. Thoughts, ideas, hints about who to contact on this issue would be very much welcome, Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com -- To u

Re: [PATCH] Fix: compat_rw_copy_check_uvector() misuse in aio, readv, writev, and security keys

2013-03-13 Thread Mathieu Desnoyers
for the fs/bio.c one? I didn't follow all the call-chains... The fs/bio.c issue is unrelated to this patch, so that separate issue still stands. I did not get any feedback on that private RFC though. Should I repost it CCing lkml ? Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. htt

Re: [RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation

2013-03-14 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Mathieu Desnoyers wrote: > > Ported to the Linux kernel from Userspace RCU library, at commit > > 108a92e5b97ee91b2b902dba2dd2e78aab42f420. > > > > Ref: http://git.lttng.org/userspace-rcu.git > > > > It is

[RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation (v2)

2013-03-14 Thread Mathieu Desnoyers
-by: Mathieu Desnoyers CC: Lai Jiangshan CC: Paul E. McKenney CC: Stephen Hemminger CC: Davide Libenzi CC: Eric Wong --- include/linux/wfcqueue.h | 444 +++ 1 file changed, 444 insertions(+) Index: linux/include/linux/wfcqueue.h

Re: [RFC] epoll: avoid spinlock contention with wfcqueue

2013-03-14 Thread Mathieu Desnoyers
is should be the > only possibly-noticeable change (in case there's an app that blindly > adds/deletes things from the rbtree but never calls epoll_wait) > > Barely-tested-by: Eric Wong > Cc: Davide Libenzi > Cc: Al Viro > Cc: Andrew Morton > Cc: Mathieu Desnoy

Re: [RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation

2013-03-14 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Mathieu Desnoyers wrote: > > * Eric Wong (normalper...@yhbt.net) wrote: > > > Mathieu Desnoyers wrote: > > > > +/* > > > > + * Load a data from shared memory. > > > > + */ > &g

Re: [RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation

2013-03-14 Thread Mathieu Desnoyers
* Peter Hurley (pe...@hurleysoftware.com) wrote: > On Mon, 2013-03-11 at 17:36 -0400, Mathieu Desnoyers wrote: > > +/* > > + * Do not put head and tail on the same cache-line if concurrent > > + * enqueue/dequeue are expected from many CPUs. This eliminates > > + * fa

Re: [RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation

2013-03-14 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Mathieu Desnoyers wrote: > > * Eric Wong (normalper...@yhbt.net) wrote: > > > Mathieu Desnoyers wrote: > > > > The advantage of using splice() over dequeue() is that you will reduce > > > > the amount of i

Re: [PATCH] Documentation: Remove text on tracepoint samples

2013-03-15 Thread Mathieu Desnoyers
* Paul Bolle (pebo...@tiscali.nl) wrote: > The tracepoint sample code got removed. Remove a few lines on its usage > too. > > Signed-off-by: Paul Bolle Thanks! Acked-by: Mathieu Desnoyers > --- > Documentation/trace/tracepoints.txt | 15 --- > 1 file

Re: [RFC PATCH] Linux kernel Wait-Free Concurrent Queue Implementation

2013-03-16 Thread Mathieu Desnoyers
* Eric Wong (normalper...@yhbt.net) wrote: > Eric Wong wrote: > > Mathieu Desnoyers wrote: > > > * Eric Wong (normalper...@yhbt.net) wrote: > > > > Mathieu Desnoyers wrote: > > > > > +/* > > > > > + * Load a data from shared

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-08-28 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: > On 08/25/2012 06:24 AM, Mathieu Desnoyers wrote: > > * Tejun Heo (t...@kernel.org) wrote: > >> Hello, > >> > >> On Sat, Aug 25, 2012 at 12:59:25AM +0200, Sasha Levin wrote: > >>> Thats the thing,

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-08-28 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: > On 08/28/2012 12:11 PM, Mathieu Desnoyers wrote: > > * Sasha Levin (levinsasha...@gmail.com) wrote: > >> On 08/25/2012 06:24 AM, Mathieu Desnoyers wrote: > >>> * Tejun Heo (t...@kernel.org) wrote: > >>>>

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-08-28 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > * Sasha Levin (levinsasha...@gmail.com) wrote: > > On 08/28/2012 12:11 PM, Mathieu Desnoyers wrote: > > > * Sasha Levin (levinsasha...@gmail.com) wrote: > > >> On 08/25/2012 06:24 AM, Mathieu Desnoyers

[PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-30 Thread mathieu . poirier
From: "Mathieu J. Poirier" This patch adds keyreset functionality to the sysrq driver. It allows certain button/key combinations to be used in order to trigger device resets. The first time the key-combo is detected a work function that syncs the filesystems is scheduled and the kerne

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-31 Thread Mathieu Poirier
On 12-08-30 05:01 PM, Dmitry Torokhov wrote: > Hi Matthieu, > > On Thu, Aug 30, 2012 at 04:30:54PM -0600, mathieu.poir...@linaro.org wrote: >> From: "Mathieu J. Poirier" >> >> This patch adds keyreset functionality to the sysrq driver. It >> allows ce

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-31 Thread Mathieu Poirier
tion here but aren't we loosing flexibility in what we can achieve when the event has been triggered ? What do you think of adding a keyreset event that would be fired (and caught by a registering subsystem) instead of calling reset_fn() ? Thanks, Mathieu. > > Alan > -- To un

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-08-31 Thread Mathieu Poirier
sily stuff needed data into a sysfs attribute during booting. > > And we should be able to get this from DT even without the platform > device (this was the next step, wasn't it?). Correct - my hope was to get the main functionality accepted before adding DT support. Do you think t

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-04 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: > On Tue, 2012-08-28 at 19:00 -0400, Mathieu Desnoyers wrote: > > > Looking again at: > > > > +#define hash_for_each_size(name, bits, bkt, node, obj, member) > > \ > > + for

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-04 Thread Mathieu Desnoyers
* Pedro Alves (pal...@redhat.com) wrote: > On 09/04/2012 05:30 PM, Pedro Alves wrote: > > On 09/04/2012 04:35 PM, Steven Rostedt wrote: > >> On Tue, 2012-08-28 at 19:00 -0400, Mathieu Desnoyers wrote: > >> > >>> Looking again at: > >>> > >

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-04 Thread Mathieu Poirier
On 12-08-31 05:22 PM, Dmitry Torokhov wrote: > On Fri, Aug 31, 2012 at 04:57:04PM -0600, Mathieu Poirier wrote: >> On 12-08-31 04:41 PM, Dmitry Torokhov wrote: >>> On Fri, Aug 31, 2012 at 11:02:27PM +0100, Alan Cox wrote: >>>>>> Why do we need to involve a plat

Re: [PATCH 06/23 -v8] handle accurate time keeping over long delays

2008-01-31 Thread Mathieu Desnoyers
mulated cycles" approach (which creates a virtual counted instead) would be better. So I would recommend using an algorithm that would return a clock value which is the same as the underlying hardware counter. Mathieu > Signed-off-by: John Stultz <[EMAIL PROTECTED]> > Signed-off-by

Re: [PATCH 21/23 -v8] Add markers to various events

2008-01-31 Thread Mathieu Desnoyers
handler instrumentation which would have a different name... Mathieu > Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]> > --- > arch/x86/kernel/apic_32.c |2 ++ > arch/x86/kernel/irq_32.c |1 + > arch/x86/kernel/irq_64.c |2 ++ > arch/x86/kernel/trap

Re: [PATCH 06/23 -v8] handle accurate time keeping over long delays

2008-02-01 Thread Mathieu Desnoyers
* John Stultz ([EMAIL PROTECTED]) wrote: > > On Thu, 2008-01-31 at 07:10 -0500, Mathieu Desnoyers wrote: > > * Steven Rostedt ([EMAIL PROTECTED]) wrote: > > > From: John Stultz <[EMAIL PROTECTED]> > > > > > > Handle accurate time even if there&#

Re: [PATCH 21/23 -v8] Add markers to various events

2008-02-02 Thread Mathieu Desnoyers
* Steven Rostedt ([EMAIL PROTECTED]) wrote: > 5B > > On Thu, 31 Jan 2008, Mathieu Desnoyers wrote: > > > * Steven Rostedt ([EMAIL PROTECTED]) wrote: > > > This patch adds markers to various events in the kernel. > > > (interrupts, task activation and hrtimers

Re: [PATCH 06/23 -v8] handle accurate time keeping over long delays

2008-02-02 Thread Mathieu Desnoyers
* Steven Rostedt ([EMAIL PROTECTED]) wrote: > > > > On Fri, 1 Feb 2008, Mathieu Desnoyers wrote: > > > > > > accumulated clock cycles. > > > > > > > > > > > > > About this one.. we talked a lot about the importance of timekee

[PATCH] Linux Kernel Markers Support for Proprierary Modules

2008-02-02 Thread Mathieu Desnoyers
find any discussion about this aspect. If this is the intent, it seems misguided to me. There may instead be a relationship to TAINT_FORCED_{RMMOD,MODULE}. Mathieu? - FChE On Tue, 2008-01-22 at 22:10 -0500, Mathieu Desnoyers wrote: On my part, its mostly a matter of not crashing the kerne

[patch 0/5] Instrumentation Menu Removal

2008-02-02 Thread Mathieu Desnoyers
-instrumentation-menu.patch create-arch-kconfig.patch add-have-oprofile.patch add-have-kprobes.patch move-kconfiginstrumentation-to-arch-kconfig-and-init-kconfig.patch Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C

[patch 5/5] Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig

2008-02-02 Thread Mathieu Desnoyers
;. Delete the kernel/Kconfig.instrumentation file. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Cc: Linus Torvalds <[EMAIL PROTECTED]> CC: Sam Ravnborg <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> --- arch/Kconfig | 28 arch/alpha/Kc

[patch 2/5] Create arch/Kconfig

2008-02-02 Thread Mathieu Desnoyers
specific Kconfig file in a suitable place do: config SUITABLE_OPTION select ARCH_HAS_FOO The naming of ARCH_HAS_ is fixed and shall be: ARCH_HAS_ Only a single line added pr. architecture. And we will end up with a (maybe even commented) list of trivial selects. - Yet another update

[patch 4/5] Add HAVE_KPROBES

2008-02-02 Thread Mathieu Desnoyers
w. - Update ARM for kprobes support. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> Cc: David Howells <[EMAIL PROTECTED]> Cc: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> --- arch/arm/

[patch 3/5] Add HAVE_OPROFILE

2008-02-02 Thread Mathieu Desnoyers
ou to just use config ARCH_SUPPORTS_KPROBES def_bool y instead, which is a bit denser. We seem to use both kinds of syntax for these things, but this is really what "def_bool" is there for... Changelog : - Moving to HAVE_*. - Add AVR32 oprofile. Signed-off-b

[patch 1/5] Fix ARM to play nicely with generic Instrumentation menu

2008-02-02 Thread Mathieu Desnoyers
that late in the release cycle. Therefore I submit this for the next release cycle. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Cc: Sam Ravnborg <[EMAIL PROTECTED]> Cc: Jeff Dike <[EMAIL PROTECTED]> Cc: David Howells <[EMAIL PROTECTED]> Cc: Ananth N Mavinakayan

[patch 0/3] Kprobes mutex cleanup

2008-02-02 Thread Mathieu Desnoyers
This patchset cleans the kprobes mutexes. It makes usage of the Text Edit Lock possible. It applies on top of 2.6.24-git12 in this order : kprobes-use-mutex-for-insn-pages.patch kprobes-dont-use-kprobes-mutex-in-arch-code.patch kprobes-declare-kprobes-mutex-static.patch Mathieu -- Mathieu

[patch 2/3] Kprobes - do not use kprobes mutex in arch code

2008-02-02 Thread Mathieu Desnoyers
Remove the kprobes mutex from kprobes.h, since it does not belong there. Also remove all use of this mutex in the architecture specific code, replacing it by a proper mutex lock/unlock in the architecture agnostic code. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: An

[patch 1/3] Kprobes - use a mutex to protect the instruction pages list.

2008-02-02 Thread Mathieu Desnoyers
Protect the instruction pages list by a specific insn pages mutex, called in get_insn_slot() and free_insn_slot(). It makes sure that architectures that does not need to call arch_remove_kprobe() does not take an unneeded kprobes mutex. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]>

[patch 3/3] Kprobes - declare kprobe_mutex static

2008-02-02 Thread Mathieu Desnoyers
Since it will not be used by other kernel objects, it makes sense to declare it static. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] --- kernel/kpro

[patch 0/2] x86 : Enhance DEBUG_RODATA support

2008-02-02 Thread Mathieu Desnoyers
Hi Ingo, These patches enhances the DEBUG_RODATA support of the x86 architecture. They apply on top of 2.6.24-git12 in this order : #Enhance DEBUG_RODATA support x86-enhance-debug-rodata-support-alternatives.patch x86-enhance-debug-rodata-support-for-hotplug-and-kprobes.patch Mathieu

[patch 2/2] x86 - Enhance DEBUG_RODATA support for hotplug and kprobes

2008-02-02 Thread Mathieu Desnoyers
Standardize DEBUG_RODATA, removing special cases for hotplug and kprobes. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Andi Kleen <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: Thomas Gleixner <[EMAIL PROTECTED]> CC: Ingo Molnar <[EMAIL PROTECTED]> CC: H. Peter

[patch 1/2] x86 - Enhance DEBUG_RODATA support - alternatives

2008-02-02 Thread Mathieu Desnoyers
g cr0 from kernel_wp_save/restore. Change the macro name for kernel_wp_disable/enable. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Andi Kleen <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] CC: Thomas Gleixner <[EMAIL PROTECTED]> CC: Ingo Molnar <[EMAIL PROTECTED]> CC

[patch 1/2] Text Edit Lock - Architecture Independent Code

2008-02-02 Thread Mathieu Desnoyers
of the breakpoint. Other user of this interface: immediate values. Paravirt and alternatives are always done when SMP is inactive, so there is no need to use locks. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Andi Kleen <[EMAIL PROTECTED]> CC: Ingo Molnar <[

[patch 0/2] Text Edit Lock

2008-02-02 Thread Mathieu Desnoyers
kprobes mutex cleanup) text-edit-lock-architecture-independent-code.patch text-edit-lock-kprobes-architecture-independent-support.patch Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25

[patch 2/2] Text Edit Lock - kprobes architecture independent support

2008-02-02 Thread Mathieu Desnoyers
Use the mutual exclusion provided by the text edit lock in the kprobes code. It allows coherent manipulation of the kernel code by other subsystems. Changelog: Move the kernel_text_lock/unlock out of the for loops. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Acked-by: An

[patch 0/7] Immediate Values

2008-02-02 Thread Mathieu Desnoyers
-immediate-values.patch # Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[patch 1/7] Immediate Values - Architecture Independent Code

2008-02-02 Thread Mathieu Desnoyers
LIGN(8) before the __imv section. It is packed now. - Uses an IPI busy-loop on each CPU with interrupts disabled as a simple, architecture agnostic, update mechanism. - Use imv_* instead of immediate_*. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Rusty Russell <[EMAIL PRO

[patch 7/7] Scheduler Profiling - Use Immediate Values

2008-02-02 Thread Mathieu Desnoyers
Use immediate values with lower d-cache hit in optimized version as a condition for scheduler profiling call. Changelog : - Use imv_* instead of immediate_*. - Follow the white rabbit : kvm_main.c which becomes x86.c. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Ingo Molnar &

[patch 6/7] Immediate Values - Documentation

2008-02-02 Thread Mathieu Desnoyers
Changelog: - Remove imv_set_early (removed from API). - Use imv_* instead of immediate_*. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Rusty Russell <[EMAIL PROTECTED]> --- Documentation/immediate.txt | 221 1 file changed, 22

[patch 4/7] Add text_poke and sync_core to powerpc

2008-02-02 Thread Mathieu Desnoyers
ent code. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Rusty Russell <[EMAIL PROTECTED]> CC: Christoph Hellwig <[EMAIL PROTECTED]> CC: Paul Mackerras <[EMAIL PROTECTED]> --- include/asm-powerpc/cacheflush.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(

[patch 5/7] Immediate Values - Powerpc Optimization

2008-02-02 Thread Mathieu Desnoyers
code : now handled by architecture agnostic code. - Use imv_* instead of immediate_*. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Rusty Russell <[EMAIL PROTECTED]> CC: Christoph Hellwig <[EMAIL PROTECTED]> CC: Paul Mackerras <[EMAIL PROTECTED]> -

[patch 2/7] Immediate Values - Kconfig menu in EMBEDDED

2008-02-02 Thread Mathieu Desnoyers
compile out all the immediate code when we decide not to use optimized immediate values at all (it removes otherwise unused code). Changelog: - Change ARCH_SUPPORTS_IMMEDIATE for ARCH_HAS_IMMEDIATE Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Rusty Russell <[EMAIL PROTECTED]> C

[patch 3/7] Immediate Values - x86 Optimization

2008-02-02 Thread Mathieu Desnoyers
es not protect against NMI nor MCE. - Pack the __imv section. Use smallest types required for size (char). - Use imv_* instead of immediate_*. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> CC: Andi Kleen <[EMAIL PROTECTED]> CC: "H. Peter Anvin" <[EMAIL PROTECTED]>

Re: [PATCH] kbuild: Fix instrumentation removal breakage on avr32

2008-02-04 Thread Mathieu Desnoyers
* Haavard Skinnemoen ([EMAIL PROTECTED]) wrote: > On Sun, 3 Feb 2008 22:10:42 +0100 > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > Mathieu Desnoyers (5): > > Move Kconfig.instrumentation to arch/Kconfig and init/Kconfig > > AVR32 still includes Kconfig.i

Re: [PATCH 02/22 -v7] Add basic support for gcc profiler instrumentation

2008-02-04 Thread Mathieu Desnoyers
t x is a parameter, and the function > add_op is not in a header file. > Tell me if I am mistakened, but applying Paul's explanation to your example would give (I unroll the loop for clarity) : Writer: void add_op(struct myops *x) { /* x->next may be garbage here */

[PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-10-05 Thread mathieu . poirier
From: "Mathieu J. Poirier" Andrew, After requesting a number of changes that, to my understanding have been implemented, I have not been able to get the attention of the subsystem maintainer on this patch. If there are still issues, I'm open to making changes but I want to make

Re: [PATCH] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-10-05 Thread Mathieu Poirier
On 12-10-05 12:16 PM, Dmitry Torokhov wrote: > On Fri, Oct 05, 2012 at 11:59:29AM -0600, mathieu.poir...@linaro.org wrote: >> From: "Mathieu J. Poirier" >> >> Andrew, >> >> After requesting a number of changes that, to my understanding >> have

[PATCH] spufs support multiple probes markers

2008-02-12 Thread Mathieu Desnoyers
* Mathieu Desnoyers ([EMAIL PROTECTED]) wrote: > * Andrew Morton ([EMAIL PROTECTED]) wrote: > > > > fyi, I have this on hold because I spotted spufs build breakage, > > but I haven't had time to investigate. powerpc allmodconfig, iirc. > > Christoph told

Cast cmpxchg64 and cmpxchg64_local result for 386 and 486 - Fix missing parenthesis

2008-02-12 Thread Mathieu Desnoyers
have never appeared in the first place. The aim was to fix cmpxchg and cmpxchg_local, which were used in slub. cmpxchg64 and cmpxchg64_local happen to be only used in LTTng currently. Signed-off-by: Mathieu Desnoyers <[EMAIL PROTECTED]> Cc: Christoph Lameter <[EMAIL PROTECTED]> Cc: Vegard No

Re: [2.6 patch] fix module_update_markers() compile error

2008-02-13 Thread Mathieu Desnoyers
-by: Adrian Bunk <[EMAIL PROTECTED]> > Thanks for spotting this. Acked-by: Mathieu Desnoyers <[EMAIL PROTECTED]> > --- > 8d811a4160c6e2cb92391076e0e0b500e1b4a8a2 diff --git a/include/linux/module.h > b/include/linux/module.h > index 330bec0..819c4e8 100644 > --- a/incl

Re: [PATCH] markers: Fix build for MODULES=n.

2008-02-14 Thread Mathieu Desnoyers
rror 1 > make: *** [kernel] Error 2 > > module_update_markers() doesn't take any arguments, update the MODULES=n > version of it to reflect that. > Hi Paul, thanks for submitting this. Adrian-the-roadrunner has been faster than you though. :) He already submitted this fix here : http://lkml.

Re: [PATCH] samples: build fix

2008-02-14 Thread Mathieu Desnoyers
. > Sam, is this ok with the samples intent ? I think as long as we do not include them with the kernel image and have a "make samples" to build them, it's ok. Having them built upon make modules seems like a good idea to me. Mathieu > Signed-off-by: Roland McGrath <[EM

Re: [PATCH] spufs support multiple probes markers

2008-02-14 Thread Mathieu Desnoyers
* Christoph Hellwig ([EMAIL PROTECTED]) wrote: > On Tue, Feb 12, 2008 at 06:56:50PM -0500, Mathieu Desnoyers wrote: > > Update spufs to the new linux kernel markers API, which supports connecting > > more than one probe to a single marker. > > Compiles and works for me. But

Re: [PATCH] samples: build fix

2008-02-14 Thread Mathieu Desnoyers
* Sam Ravnborg ([EMAIL PROTECTED]) wrote: > On Thu, Feb 14, 2008 at 08:27:52AM -0500, Mathieu Desnoyers wrote: > > * Roland McGrath ([EMAIL PROTECTED]) wrote: > > > > > > The samples/ subdirectory contains only modules. > > > But the only make run done there

Re: [2.6 patch] make marker_debug static

2008-02-14 Thread Mathieu Desnoyers
* Adrian Bunk ([EMAIL PROTECTED]) wrote: > With the needlessly global marker_debug being static gcc can optimize > the unused code away. > > Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> > Thanks, Acked-by: Mathieu Desnoy

Re: [PATCH] MARKERS depends on MODULES

2008-02-15 Thread Mathieu Desnoyers
rker site. Can be > dynamically changed for a probe function. It should not be needed. Please try Adrian's fix there : http://lkml.org/lkml/2008/2/13/714 It should fix your problem. Mathieu -- Mathieu Desnoyers Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal

[RESEND PATCH v3] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-24 Thread mathieu . poirier
From: "Mathieu J. Poirier" The last version of this patch was sent a week ago but did not generate comments or an acknowledgement. It is being resent after a rebase on 3.6-rc7. This patch adds keyreset functionality to the sysrq driver. It allows certain button/key combinations to

[PATCH 01/57] power: ab8500_bm: Charger current step-up/down

2012-09-25 Thread mathieu . poirier
From: Johan Bjornstedt There is no state machine in the AB to step up/down the charger current to avoid dips and spikes on VBUS and VBAT when charging is started. Instead this is implemented in SW Signed-off-by: Johan Bjornstedt Signed-off-by: Mattias Wallin Signed-off-by: Mathieu Poirier

[PATCH 04/57] power: ab8500: bm: movimg back to ab8500 platform data managment

2012-09-25 Thread mathieu . poirier
From: Philippe Langlais Signed-off-by: Philippe Langlais Signed-off-by: Mathieu Poirier --- drivers/power/ab8500_btemp.c |8 ++-- drivers/power/ab8500_charger.c|9 +++-- drivers/power/ab8500_fg.c |8 ++-- drivers/power/abx500_chargalg.c |7

[PATCH 09/57] power: ab8500_fg: usleep_range instead of short msleep

2012-09-25 Thread mathieu . poirier
From: Jonas Aaberg Signed-off-by: Jonas ABERG Signed-off-by: Mathieu Poirier Reviewed-by: Johan BJORNSTEDT --- drivers/power/ab8500_fg.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index 1e02b00..0db17c7

[PATCH 18/57] power: Add sysfs interfaces for capacity

2012-09-25 Thread mathieu . poirier
From: Daniel WILLERUD Switchable depending on whether capacity scaling is enabled Signed-off-by: Marcus Cooper Signed-off-by: Daniel WILLERUD Signed-off-by: Mathieu Poirier Reviewed-by: Jonas ABERG --- drivers/power/ab8500_fg.c | 57 - 1 files

[PATCH 24/57] power: ab8500_fg: Adjust for RF bursts voltage drops.

2012-09-25 Thread mathieu . poirier
: Mathieu Poirier Reviewed-by: Jonas ABERG Reviewed-by: Marcus COOPER --- drivers/power/ab8500_fg.c | 44 ++-- 1 files changed, 30 insertions(+), 14 deletions(-) diff --git a/drivers/power/ab8500_fg.c b/drivers/power/ab8500_fg.c index 7c42150..861927d 100644

[PATCH 31/57] power: ab8500_fg: fix to use correct battery charge full design

2012-09-25 Thread mathieu . poirier
From: Rajkumar Kasirajan If battery is not identified while fg probe, mah_max_design gets initialized with unknown battery's charge full design. Reinitialize mah_max_design if battery is identified after fg probe. Signed-off-by: Rajkumar Kasirajan Signed-off-by: Mathieu Poirier Review

[PATCH 34/57] power: ab8500_fg: add power cut feature for ab8505

2012-09-25 Thread mathieu . poirier
From: Rikard Olsson Add support for a power cut feature which allows user to configure when ab8505 should shut down system due to low battery. Signed-off-by: Rikard Olsson Signed-off-by: Mathieu Poirier Reviewed-by: Martin SJOBLOM Reviewed-by: Jonas ABERG --- drivers/power/ab8500_fg.c

[PATCH 51/57] power: ab8500: Re-alignment with internal developement.

2012-09-25 Thread mathieu . poirier
From: "Mathieu J. Poirier" A lot of developement happened internally since the first mainlining of the battery managmenent driver. Most of the new code can be historically accounted for but some of it can't. This patch is a gathering of the code for which history was lost but st

[PATCH 54/57] power: ab8500_charger: Use USBLink1Status Register

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper The newer AB's such as the AB8505, AB9540 etc include a USBLink1 Status register which detects a larger range of external devices. This should be used instead of the USBLine Status register. Signed-off-by: Marcus Cooper Signed-off-by: Mathieu Poirier Reviewed-by:

[PATCH 57/57] power: ab8500_charger: Limit USB charger current

2012-09-25 Thread mathieu . poirier
From: Martin Bergstrom The USB charger current is limited according to information comming from the USB driver Signed-off-by: Martin Bergstrom Signed-off-by: Mathieu Poirier Reviewed-by: Jonas ABERG --- drivers/power/ab8500_charger.c |4 1 files changed, 4 insertions(+), 0

[PATCH 56/57] power: abx500_chargalg: Fix quick re-attach charger issue.

2012-09-25 Thread mathieu . poirier
ned-off-by: Marcus Cooper Signed-off-by: Mathieu Poirier Reviewed-by: Martin SJOBLOM Reviewed-by: Hakan BERG Reviewed-by: Jonas ABERG --- drivers/power/abx500_chargalg.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/power/abx500_chargalg.c b/dri

[PATCH 44/57] power: ab8500: remove unecesary define flag

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper Remove flag that serve no purpose from source code, Kconfig and Makefile. Signed-off-by: Marcus Cooper Signed-off-by: Mathieu Poirier Reviewed-by: Hakan BERG Reviewed-by: Mian Yousaf KAUKAB --- drivers/power/Kconfig |7 --- drivers/power

[PATCH 46/57] power: chargealg: Realign with upstream version

2012-09-25 Thread mathieu . poirier
next code reversion and realignment with mainline Signed-off-by: Loic Pallardy Signed-off-by: Mathieu Poirier Reviewed-by: Philippe LANGLAIS --- drivers/power/ab8500_charger.c | 166 +++--- include/linux/mfd/abx500.h | 10 ++- include/linux/mfd/abx

[PATCH 52/57] power: abx500_chargalg: Use hrtimer

2012-09-25 Thread mathieu . poirier
hrtimers to allow CPU to be waked up in a more optimal power saving way. A 5 minute delay to time out timers on hours does not impact on safety. Signed-off-by: Hakan Berg Signed-off-by: Mathieu Poirier Reviewed-by: Mian Yousaf KAUKAB --- drivers/power/abx500_chargalg.c | 94

[PATCH 55/57] power: ab8500_charger: Add UsbLineCtrl2 reference

2012-09-25 Thread mathieu . poirier
From: Marcus Cooper When the state of USB Charge detection is changed then the calls use a define for another register in other bank. This change creates a new define for the correct register and removes the magic numbers that are present. Signed-off-by: Marcus Cooper Signed-off-by: Mathieu

[PATCH 53/57] power: ab8500_fg: Moving structure definitions to header file

2012-09-25 Thread mathieu . poirier
From: "Mathieu J. Poirier" Signed-off-by: Mathieu Poirier --- drivers/power/ab8500_fg.c | 196 +-- drivers/power/ab8500_fg.h | 201 + 2 files changed, 206 insertions(+), 191 deletions(-) create m

[PATCH 50/57] power: ab8500-chargalg: update battery health on safety timer exp

2012-09-25 Thread mathieu . poirier
lt in the battery of some kind. Hence report as POWER_SUPPLY_HEALTH_UNSPEC_FAILURE. Signed-off-by: Hakan Berg Signed-off-by: Mathieu Poirier Reviewed-by: Arun MURTHY Reviewed-by: Karl KOMIEROWSKI --- drivers/power/abx500_chargalg.c |4 1 files changed, 4 insertions(+), 0 deletions(-)

[PATCH 49/57] power: Cancelling status charging notification.

2012-09-25 Thread mathieu . poirier
From: "Mathieu J. Poirier" Signed-off-by: Mathieu Poirier --- drivers/power/abx500_chargalg.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/power/abx500_chargalg.c b/drivers/power/abx500_chargalg.c index ce58f20..4db0ef0 100644 --- a/dri

[PATCH 48/57] power: ab8500 : quick re-attach for ext charger

2012-09-25 Thread mathieu . poirier
From: Rupesh Kumar Quick re-attach charging behaviour is not required for external ac charger. Internal AC/USB Charger removal detection problem is due to a bug in AB8500 ASICs. Signed-off-by: Rupesh Kumar Signed-off-by: Mathieu Poirier Reviewed-by: Hakan BERG Reviewed-by: Philippe LANGLAIS

  1   2   3   4   5   6   7   8   9   10   >