[tip: irq/core] irqchip/mmp: Mask off interrupts from other cores

2019-09-06 Thread tip-bot2 for Andres Salomon
The following commit has been merged into the irq/core branch of tip: Commit-ID: 9e8e8912b05f276dd02d39cb596dc3cf03718377 Gitweb: https://git.kernel.org/tip/9e8e8912b05f276dd02d39cb596dc3cf03718377 Author:Andres Salomon AuthorDate:Thu, 22 Aug 2019 11:26:31 +02:00

Re: [PATCH] platform: olpc: make ec explicitly non-modular

2016-08-15 Thread Andres Salomon
Fine by me. Acked-by: Andres Salomon <dilin...@queued.net> On Mon, 15 Aug 2016 18:25:17 -0400 Paul Gortmaker <paul.gortma...@windriver.com> wrote: > The Kconfig entry controlling compilation of this code is: > > arch/x86/Kconfig:config OLPC > arch/x86/Kconfig: bo

Re: [PATCH] platform: olpc: make ec explicitly non-modular

2016-08-15 Thread Andres Salomon
Fine by me. Acked-by: Andres Salomon On Mon, 15 Aug 2016 18:25:17 -0400 Paul Gortmaker wrote: > The Kconfig entry controlling compilation of this code is: > > arch/x86/Kconfig:config OLPC > arch/x86/Kconfig: bool "One Laptop Per Child support" > >

Re: [PATCH] Staging: olpc_dcon: replace some magic numbers

2013-08-03 Thread Andres Salomon
On Sat, 3 Aug 2013 23:36:15 +0200 Jens Frederich wrote: > On Sat, Aug 3, 2013 at 11:16 PM, Andres Salomon > wrote: > > Please Cc Daniel on these. Cjb and myself are no longer at olpc. > > > > Do you know what's with Jon Nettleton? He is also on the TODO list? Let's

Re: [PATCH] Staging: olpc_dcon: replace some magic numbers

2013-08-03 Thread Andres Salomon
Please Cc Daniel on these. Cjb and myself are no longer at olpc. On Sat, 3 Aug 2013 22:44:35 +0200 Jens Frederich wrote: > This patch replace some magic numbers. I believe it makes > the driver more readable. > > The magic number 0x26 is the XO system embedded controller > (EC) command

Re: [PATCH] Staging: olpc_dcon: replace some magic numbers

2013-08-03 Thread Andres Salomon
Please Cc Daniel on these. Cjb and myself are no longer at olpc. On Sat, 3 Aug 2013 22:44:35 +0200 Jens Frederich jfreder...@gmail.com wrote: This patch replace some magic numbers. I believe it makes the driver more readable. The magic number 0x26 is the XO system embedded controller

Re: [PATCH] Staging: olpc_dcon: replace some magic numbers

2013-08-03 Thread Andres Salomon
On Sat, 3 Aug 2013 23:36:15 +0200 Jens Frederich jfreder...@gmail.com wrote: On Sat, Aug 3, 2013 at 11:16 PM, Andres Salomon dilin...@queued.net wrote: Please Cc Daniel on these. Cjb and myself are no longer at olpc. Do you know what's with Jon Nettleton? He is also on the TODO list

Re: [PATCH] staging: olpc_dcon: provide detailed FB_OLPC_DCON help section

2013-07-30 Thread Andres Salomon
Acked-by: Andres Salomon On Tue, 30 Jul 2013 20:11:34 +0200 Jens Frederich wrote: > The FB_OLPC_DCON help section is to short according to checkpatch.pl. > We want more information about the controller type, its task, its > video pipeline position and so on. > > There are

Re: [PATCH] staging: olpc_dcon: provide detailed FB_OLPC_DCON help section

2013-07-30 Thread Andres Salomon
Acked-by: Andres Salomon dilin...@queued.net On Tue, 30 Jul 2013 20:11:34 +0200 Jens Frederich jfreder...@gmail.com wrote: The FB_OLPC_DCON help section is to short according to checkpatch.pl. We want more information about the controller type, its task, its video pipeline position and so

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread Andres Salomon
Bad news on this patch; I've been told that it breaks booting on an XO-1.5. Does anyone from OLPC know why yet? On Wed, 10 Oct 2012 12:59:27 -0700 Andres Salomon wrote: > Thanks for Cc'ing me. I just tested this on an XO-1, and it doesn't > appear to break anything. So, looks fine

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread Andres Salomon
Bad news on this patch; I've been told that it breaks booting on an XO-1.5. Does anyone from OLPC know why yet? On Wed, 10 Oct 2012 12:59:27 -0700 Andres Salomon dilin...@queued.net wrote: Thanks for Cc'ing me. I just tested this on an XO-1, and it doesn't appear to break anything. So

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2012-10-10 Thread Andres Salomon
Thanks for Cc'ing me. I just tested this on an XO-1, and it doesn't appear to break anything. So, looks fine to me. Acked-by: Andres Salomon On Mon, 24 Sep 2012 16:27:19 -0700 "H. Peter Anvin" wrote: > From: "H. Peter Anvin" > > %cr4 is supposed to reflect

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2012-10-10 Thread Andres Salomon
Thanks for Cc'ing me. I just tested this on an XO-1, and it doesn't appear to break anything. So, looks fine to me. Acked-by: Andres Salomon dilin...@queued.net On Mon, 24 Sep 2012 16:27:19 -0700 H. Peter Anvin h...@linux.intel.com wrote: From: H. Peter Anvin h...@linux.intel.com %cr4

[PATCH 2/5] staging/olpc_dcon: move wait queue into dcon_priv struct

2012-10-01 Thread Andres Salomon
Another global variable (dcon_wait_queue) moved into the dcon_priv struct. In the process, replace an instance of a manually implemented wait_event_timeout. This code came from Jordan's original gxfb_dcon.c driver wy back in 2006; well past time for a replacement. Signed-off-by: Andres

[PATCH 1/5] staging/olpc_dcon: drop useaa module arg

2012-10-01 Thread Andres Salomon
The 'useaa' module parameter was a workaround for a buggy DCON prototype not supporting the optional anti-aliasing mode properly. There's no reason to disable it any more, so drop the option. Signed-off-by: Andres Salomon --- drivers/staging/olpc_dcon/olpc_dcon.c | 12 ++-- 1 file

[PATCH 4/5] staging/olpc_dcon: drop pin frobbing code for xo1.5

2012-10-01 Thread Andres Salomon
). Signed-off-by: Andres Salomon --- drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c b/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c index 352dd3d..6a4d379 100644 --- a/drivers

[PATCH 3/5] staging/olpc_dcon: drop fb_notifier code

2012-10-01 Thread Andres Salomon
that to put the DCON to sleep. For those status updates where the blanking isn't changed, dcon_sleep will do nothing. Signed-off-by: Andres Salomon --- drivers/staging/olpc_dcon/olpc_dcon.c | 25 - drivers/staging/olpc_dcon/olpc_dcon.h |1 - 2 files changed, 4

[PATCH 5/5] staging/olpc_dcon: use s/r hooks from device_driver->pm

2012-10-01 Thread Andres Salomon
..instead of the i2c_driver hooks. This should silence the following runtime warnings: [ 17.820321] i2c-core: driver [olpc_dcon] using legacy suspend method [ 17.846082] i2c-core: driver [olpc_dcon] using legacy resume method Signed-off-by: Andres Salomon --- drivers/staging/olpc_dcon

[PATCH 3/5] staging/olpc_dcon: drop fb_notifier code

2012-10-01 Thread Andres Salomon
that to put the DCON to sleep. For those status updates where the blanking isn't changed, dcon_sleep will do nothing. Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/staging/olpc_dcon/olpc_dcon.c | 25 - drivers/staging/olpc_dcon/olpc_dcon.h |1 - 2 files

[PATCH 5/5] staging/olpc_dcon: use s/r hooks from device_driver-pm

2012-10-01 Thread Andres Salomon
..instead of the i2c_driver hooks. This should silence the following runtime warnings: [ 17.820321] i2c-core: driver [olpc_dcon] using legacy suspend method [ 17.846082] i2c-core: driver [olpc_dcon] using legacy resume method Signed-off-by: Andres Salomon dilin...@queued.net --- drivers

[PATCH 4/5] staging/olpc_dcon: drop pin frobbing code for xo1.5

2012-10-01 Thread Andres Salomon
). Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c | 30 -- 1 file changed, 30 deletions(-) diff --git a/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c b/drivers/staging/olpc_dcon/olpc_dcon_xo_1_5.c index 352dd3d..6a4d379 100644

[PATCH 1/5] staging/olpc_dcon: drop useaa module arg

2012-10-01 Thread Andres Salomon
The 'useaa' module parameter was a workaround for a buggy DCON prototype not supporting the optional anti-aliasing mode properly. There's no reason to disable it any more, so drop the option. Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/staging/olpc_dcon/olpc_dcon.c | 12

[PATCH 2/5] staging/olpc_dcon: move wait queue into dcon_priv struct

2012-10-01 Thread Andres Salomon
Another global variable (dcon_wait_queue) moved into the dcon_priv struct. In the process, replace an instance of a manually implemented wait_event_timeout. This code came from Jordan's original gxfb_dcon.c driver wy back in 2006; well past time for a replacement. Signed-off-by: Andres

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-08-17 Thread Andres Salomon
Looks good to me, thanks. Acked-by: Andres Salomon On Fri, 17 Aug 2012 14:37:21 +0900 Toshiaki Yamane wrote: > The below checkpatch warnings was fixed, > > - WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... > - WARNING: Prefer pr_warn(... to printk(KERN_WARNING, ...

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-08-17 Thread Andres Salomon
Looks good to me, thanks. Acked-by: Andres Salomon dilin...@queued.net On Fri, 17 Aug 2012 14:37:21 +0900 Toshiaki Yamane yamaneto...@gmail.com wrote: The below checkpatch warnings was fixed, - WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ... - WARNING: Prefer pr_warn(... to printk

[GIT PULL] OLPC platform updates for 3.6

2012-07-31 Thread Andres Salomon
/ for-linus-3.6 Andres Salomon (9): Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver drivers: OLPC: update various drivers to include olpc-ec.h Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it Platform: OLPC: turn EC

[GIT PULL] OLPC platform updates for 3.6

2012-07-31 Thread Andres Salomon
/ for-linus-3.6 Andres Salomon (9): Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver drivers: OLPC: update various drivers to include olpc-ec.h Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it Platform: OLPC: turn EC

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-27 Thread Andres Salomon
Looks fine to me, thanks. Acked-by: Andres Salomon On Fri, 27 Jul 2012 20:45:52 +0900 Toshiaki Yamane wrote: > fixed some checkpatch warnings. > (Excluding -WARNING: msleep < 20ms can sleep for up to 20ms-) > > $ find drivers/staging/olpc_dcon/ -name > "*.[ch]"|x

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-27 Thread Andres Salomon
Looks fine to me, thanks. Acked-by: Andres Salomon dilin...@queued.net On Fri, 27 Jul 2012 20:45:52 +0900 Toshiaki Yamane yamaneto...@gmail.com wrote: fixed some checkpatch warnings. (Excluding -WARNING: msleep 20ms can sleep for up to 20ms-) $ find drivers/staging/olpc_dcon/ -name *.[ch

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Andres Salomon
On Fri, 27 Jul 2012 08:49:19 +0900 Toshiaki Yamane wrote: > Now checkpatch clean. > > $ find drivers/staging/olpc_dcon/ -name > "*.[ch]"|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut > -f3- -d":"|sort |uniq -c|sort -n 2 WARNING: msleep < 20ms can sleep > for up to 20ms; see

Re: [PATCH] staging/olpc_dcon: fix checkpatch warnings

2012-07-26 Thread Andres Salomon
On Fri, 27 Jul 2012 08:49:19 +0900 Toshiaki Yamane yamaneto...@gmail.com wrote: Now checkpatch clean. $ find drivers/staging/olpc_dcon/ -name *.[ch]|xargs ./scripts/checkpatch.pl \ -f --terse --nosummary|cut -f3- -d:|sort |uniq -c|sort -n 2 WARNING: msleep 20ms can sleep for up to 20ms;

[PATCH RESEND 9/9] x86: OLPC: move s/r-related EC cmds to EC driver

2012-07-18 Thread Andres Salomon
The new EC driver calls platform-specific suspend and resume hooks; run XO-1-specific EC commands from there, rather than deep in s/r code. If we attempt to run EC commands after the new EC driver has suspended, it is refused by the ec->suspended checks. Signed-off-by: Andres Salomon --- a

[PATCH RESEND 8/9] Platform: OLPC: move global variables into priv struct

2012-07-18 Thread Andres Salomon
Populate olpc_ec_priv with variables that were previously global. This makes things a tad bit clearer, IMO. Signed-off-by: Andres Salomon --- drivers/platform/olpc/olpc-ec.c | 48 ++ 1 files changed, 28 insertions(+), 20 deletions(-) diff --git a/drivers

[PATCH RESEND 7/9] Platform: OLPC: move debugfs support from x86 EC driver

2012-07-18 Thread Andres Salomon
There's nothing about the debugfs interface for the EC driver that is architecture-specific, so move it into the arch-independent driver. The code is mostly unchanged with the exception of renamed variables, coding style changes, and API updates. Signed-off-by: Andres Salomon --- arch/x86

[PATCH RESEND 6/9] x86: OLPC: switch over to using new EC driver on x86

2012-07-18 Thread Andres Salomon
This uses the new EC driver framework in drivers/platform/olpc. The XO-1 and XO-1.5-specific code is still in arch/x86, but the generic stuff (including a new workqueue; no more running EC commands with IRQs disabled!) can be shared with other architectures. Signed-off-by: Andres Salomon

[PATCH RESEND 5/9] Platform: OLPC: add a suspended flag to the EC driver

2012-07-18 Thread Andres Salomon
-off-by: Andres Salomon --- drivers/platform/olpc/olpc-ec.c | 46 ++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index d00523c..cfba41f 100644 --- a/drivers/platform/olpc/olpc

[PATCH RESEND 4/9] Platform: OLPC: turn EC driver into a platform_driver

2012-07-18 Thread Andres Salomon
the EC's resume hooks earlier than other drivers (which may want to run EC commands). Signed-off-by: Andres Salomon --- drivers/platform/olpc/olpc-ec.c | 48 +++ include/linux/olpc-ec.h |6 + 2 files changed, 54 insertions(+), 0 deletions(-) diff

[PATCH RESEND 3/9] Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it

2012-07-18 Thread Andres Salomon
, and they will by serialized and sleep while only one executes on the EC at a time. We don't provide an unregister function, as that doesn't make sense within the context of OLPC machines - there's only ever 1 EC, it's critical to functionality, and it certainly not hotpluggable. Signed-off-by: Andres

[PATCH RESEND 2/9] drivers: OLPC: update various drivers to include olpc-ec.h

2012-07-18 Thread Andres Salomon
Switch over to using olpc-ec.h in multiple steps, so as not to break builds. This covers every driver that calls olpc_ec_cmd(). Signed-off-by: Andres Salomon --- arch/x86/include/asm/olpc.h|1 - arch/x86/platform/olpc/olpc-xo1-pm.c |1 + arch/x86/platform/olpc/olpc-xo1

[PATCH RESEND 1/9] Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC driver has outgrown arch/x86/platform/. It's time to both share common code amongst different architectures, as well as move it out of arch/x86/. The XO-1.75 is ARM-based, and the EC driver shares a lot of code with the x86 code. Signed-off-by: Andres Salomon --- arch/x86/include

[PATCH RESEND 0/9] OLPC: create a generic OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC (Embedded Controller) code that is currently upstream is x86-only, originally written for the XO-1. Since then, we've had the XO-1.5 (also x86), and XO-1.75 (arm-based) enter mass production. The 1.75 uses a vastly different EC protocol, and future hardware revisions are likely to

Re: [PATCH 6/9] x86: OLPC: switch over to using new EC driver on x86

2012-07-18 Thread Andres Salomon
Damnit, my mailer mangled the resend. Okay, 3rd time's a charm.. (sorry for the noise!) On Wed, 18 Jul 2012 21:28:27 -0700 Andres Salomon wrote: > This uses the new EC driver framework in drivers/platform/olpc. The > XO-1 and XO-1.5-specific code is still in arch/x86, but the generic &

[PATCH 4/9] Platform: OLPC: turn EC driver into a platform_driver

2012-07-18 Thread Andres Salomon
the EC's resume hooks earlier than other drivers (which may want to run EC commands). Signed-off-by: Andres Salomon --- drivers/platform/olpc/olpc-ec.c | 48 +++ include/linux/olpc-ec.h |6 + 2 files changed, 54 insertions(+), 0 deletions(-) diff

[PATCH 9/9] x86: OLPC: move s/r-related EC cmds to EC driver

2012-07-18 Thread Andres Salomon
The new EC driver calls platform-specific suspend and resume hooks; run XO-1-specific EC commands from there, rather than deep in s/r code. If we attempt to run EC commands after the new EC driver has suspended, it is refused by the ec->suspended checks. Signed-off-by: Andres Salomon --- a

[PATCH 8/9] Platform: OLPC: move global variables into priv struct

2012-07-18 Thread Andres Salomon
Populate olpc_ec_priv. Signed-off-by: Andres Salomon --- drivers/platform/olpc/olpc-ec.c | 48 ++ 1 files changed, 28 insertions(+), 20 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index 1a15a79..0f9f859 100644

[PATCH 7/9] Platform: OLPC: move debugfs support from x86 EC driver

2012-07-18 Thread Andres Salomon
There's nothing about the debugfs interface for the EC driver that is architecture-specific, so move it into the arch-independent driver. The code is mostly unchanged with the exception of renamed variables, coding style changes, and API updates. Signed-off-by: Andres Salomon --- arch/x86

[PATCH 6/9] x86: OLPC: switch over to using new EC driver on x86

2012-07-18 Thread Andres Salomon
This uses the new EC driver framework in drivers/platform/olpc. The XO-1 and XO-1.5-specific code is still in arch/x86, but the generic stuff (including a new workqueue; no more running EC commands with IRQs disabled!) can be shared with other architectures. Signed-off-by: Andres Salomon

[PATCH 5/9] Platform: OLPC: add a suspended flag to the EC driver

2012-07-18 Thread Andres Salomon
-by: Andres Salomon --- drivers/platform/olpc/olpc-ec.c | 46 ++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index d00523c..cfba41f 100644 --- a/drivers/platform/olpc/olpc

[PATCH 3/9] Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it

2012-07-18 Thread Andres Salomon
, and they will by serialized and sleep while only one executes on the EC at a time. We don't provide an unregister function, as that doesn't make sense within the context of OLPC machines - there's only ever 1 EC, it's critical to functionality, and it certainly not hotpluggable. Signed-off-by: Andres

[PATCH 2/9] drivers: OLPC: update various drivers to include olpc-ec.h

2012-07-18 Thread Andres Salomon
Switch over to using olpc-ec.h in multiple steps, so as not to break builds. This covers every driver that calls olpc_ec_cmd(). Signed-off-by: Andres Salomon --- arch/x86/include/asm/olpc.h|1 - arch/x86/platform/olpc/olpc-xo1-pm.c |1 + arch/x86/platform/olpc/olpc-xo1

[PATCH 1/9] Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC driver has outgrown arch/x86/platform/. It's time to both share common code amongst different architectures, as well as move it out of arch/x86/. The XO-1.75 is ARM-based, and the EC driver shares a lot of code with the x86 code. Signed-off-by: Andres Salomon --- arch/x86/include

[PATCH 0/9] OLPC: create a generic OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC (Embedded Controller) code that is currently upstream is x86-only, originally written for the XO-1. Since then, we've had the XO-1.5 (also x86), and XO-1.75 (arm-based) enter mass production. The 1.75 uses a vastly different EC protocol, and future hardware revisions are likely to

[PATCH 0/9] OLPC: create a generic OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC (Embedded Controller) code that is currently upstream is x86-only, originally written for the XO-1. Since then, we've had the XO-1.5 (also x86), and XO-1.75 (arm-based) enter mass production. The 1.75 uses a vastly different EC protocol, and future hardware revisions are likely to

[PATCH 1/9] Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC driver has outgrown arch/x86/platform/. It's time to both share common code amongst different architectures, as well as move it out of arch/x86/. The XO-1.75 is ARM-based, and the EC driver shares a lot of code with the x86 code. Signed-off-by: Andres Salomon dilin...@queued.net

[PATCH 2/9] drivers: OLPC: update various drivers to include olpc-ec.h

2012-07-18 Thread Andres Salomon
Switch over to using olpc-ec.h in multiple steps, so as not to break builds. This covers every driver that calls olpc_ec_cmd(). Signed-off-by: Andres Salomon dilin...@queued.net --- arch/x86/include/asm/olpc.h|1 - arch/x86/platform/olpc/olpc-xo1-pm.c |1 + arch/x86

[PATCH 3/9] Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it

2012-07-18 Thread Andres Salomon
, and they will by serialized and sleep while only one executes on the EC at a time. We don't provide an unregister function, as that doesn't make sense within the context of OLPC machines - there's only ever 1 EC, it's critical to functionality, and it certainly not hotpluggable. Signed-off-by: Andres

[PATCH 5/9] Platform: OLPC: add a suspended flag to the EC driver

2012-07-18 Thread Andres Salomon
-by: Andres Salomon dilin...@queued.net --- drivers/platform/olpc/olpc-ec.c | 46 ++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index d00523c..cfba41f 100644 --- a/drivers

[PATCH 6/9] x86: OLPC: switch over to using new EC driver on x86

2012-07-18 Thread Andres Salomon
This uses the new EC driver framework in drivers/platform/olpc. The XO-1 and XO-1.5-specific code is still in arch/x86, but the generic stuff (including a new workqueue; no more running EC commands with IRQs disabled!) can be shared with other architectures. Signed-off-by: Andres Salomon dilin

[PATCH 7/9] Platform: OLPC: move debugfs support from x86 EC driver

2012-07-18 Thread Andres Salomon
There's nothing about the debugfs interface for the EC driver that is architecture-specific, so move it into the arch-independent driver. The code is mostly unchanged with the exception of renamed variables, coding style changes, and API updates. Signed-off-by: Andres Salomon dilin...@queued.net

[PATCH 8/9] Platform: OLPC: move global variables into priv struct

2012-07-18 Thread Andres Salomon
Populate olpc_ec_priv. Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/platform/olpc/olpc-ec.c | 48 ++ 1 files changed, 28 insertions(+), 20 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index

[PATCH 9/9] x86: OLPC: move s/r-related EC cmds to EC driver

2012-07-18 Thread Andres Salomon
The new EC driver calls platform-specific suspend and resume hooks; run XO-1-specific EC commands from there, rather than deep in s/r code. If we attempt to run EC commands after the new EC driver has suspended, it is refused by the ec-suspended checks. Signed-off-by: Andres Salomon dilin

[PATCH 4/9] Platform: OLPC: turn EC driver into a platform_driver

2012-07-18 Thread Andres Salomon
the EC's resume hooks earlier than other drivers (which may want to run EC commands). Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/platform/olpc/olpc-ec.c | 48 +++ include/linux/olpc-ec.h |6 + 2 files changed, 54 insertions(+), 0

Re: [PATCH 6/9] x86: OLPC: switch over to using new EC driver on x86

2012-07-18 Thread Andres Salomon
Damnit, my mailer mangled the resend. Okay, 3rd time's a charm.. (sorry for the noise!) On Wed, 18 Jul 2012 21:28:27 -0700 Andres Salomon dilin...@queued.net wrote: This uses the new EC driver framework in drivers/platform/olpc. The XO-1 and XO-1.5-specific code is still in arch/x86

[PATCH RESEND 0/9] OLPC: create a generic OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC (Embedded Controller) code that is currently upstream is x86-only, originally written for the XO-1. Since then, we've had the XO-1.5 (also x86), and XO-1.75 (arm-based) enter mass production. The 1.75 uses a vastly different EC protocol, and future hardware revisions are likely to

[PATCH RESEND 1/9] Platform: OLPC: add a stub to drivers/platform/ for the OLPC EC driver

2012-07-18 Thread Andres Salomon
The OLPC EC driver has outgrown arch/x86/platform/. It's time to both share common code amongst different architectures, as well as move it out of arch/x86/. The XO-1.75 is ARM-based, and the EC driver shares a lot of code with the x86 code. Signed-off-by: Andres Salomon dilin...@queued.net

[PATCH RESEND 2/9] drivers: OLPC: update various drivers to include olpc-ec.h

2012-07-18 Thread Andres Salomon
Switch over to using olpc-ec.h in multiple steps, so as not to break builds. This covers every driver that calls olpc_ec_cmd(). Signed-off-by: Andres Salomon dilin...@queued.net --- arch/x86/include/asm/olpc.h|1 - arch/x86/platform/olpc/olpc-xo1-pm.c |1 + arch/x86

[PATCH RESEND 3/9] Platform: OLPC: allow EC cmd to be overridden, and create a workqueue to call it

2012-07-18 Thread Andres Salomon
, and they will by serialized and sleep while only one executes on the EC at a time. We don't provide an unregister function, as that doesn't make sense within the context of OLPC machines - there's only ever 1 EC, it's critical to functionality, and it certainly not hotpluggable. Signed-off-by: Andres

[PATCH RESEND 4/9] Platform: OLPC: turn EC driver into a platform_driver

2012-07-18 Thread Andres Salomon
the EC's resume hooks earlier than other drivers (which may want to run EC commands). Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/platform/olpc/olpc-ec.c | 48 +++ include/linux/olpc-ec.h |6 + 2 files changed, 54 insertions(+), 0

[PATCH RESEND 5/9] Platform: OLPC: add a suspended flag to the EC driver

2012-07-18 Thread Andres Salomon
-off-by: Andres Salomon dilin...@queued.net --- drivers/platform/olpc/olpc-ec.c | 46 ++- 1 files changed, 45 insertions(+), 1 deletions(-) diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c index d00523c..cfba41f 100644 --- a/drivers

[PATCH RESEND 6/9] x86: OLPC: switch over to using new EC driver on x86

2012-07-18 Thread Andres Salomon
This uses the new EC driver framework in drivers/platform/olpc. The XO-1 and XO-1.5-specific code is still in arch/x86, but the generic stuff (including a new workqueue; no more running EC commands with IRQs disabled!) can be shared with other architectures. Signed-off-by: Andres Salomon dilin

[PATCH RESEND 7/9] Platform: OLPC: move debugfs support from x86 EC driver

2012-07-18 Thread Andres Salomon
There's nothing about the debugfs interface for the EC driver that is architecture-specific, so move it into the arch-independent driver. The code is mostly unchanged with the exception of renamed variables, coding style changes, and API updates. Signed-off-by: Andres Salomon dilin

[PATCH RESEND 8/9] Platform: OLPC: move global variables into priv struct

2012-07-18 Thread Andres Salomon
Populate olpc_ec_priv with variables that were previously global. This makes things a tad bit clearer, IMO. Signed-off-by: Andres Salomon dilin...@queued.net --- drivers/platform/olpc/olpc-ec.c | 48 ++ 1 files changed, 28 insertions(+), 20 deletions

[PATCH RESEND 9/9] x86: OLPC: move s/r-related EC cmds to EC driver

2012-07-18 Thread Andres Salomon
The new EC driver calls platform-specific suspend and resume hooks; run XO-1-specific EC commands from there, rather than deep in s/r code. If we attempt to run EC commands after the new EC driver has suspended, it is refused by the ec-suspended checks. Signed-off-by: Andres Salomon dilin

[PATCH] x86: geode: MSR cleanup

2008-02-24 Thread Andres Salomon
Note that I didn't bother cleaning up the gxfb and lxfb headers wrt MSRs; that's coming in another patch (which is still in progress). >From 22b8ddf47f77f01a59afb937779f4c83e9862f9e Mon Sep 17 00:00:00 2001 From: Andres Salomon <[EMAIL PROTECTED]> Date: Sun, 24 Feb 2008 13:14:57 -050

[PATCH] x86: geode: MSR cleanup

2008-02-24 Thread Andres Salomon
Note that I didn't bother cleaning up the gxfb and lxfb headers wrt MSRs; that's coming in another patch (which is still in progress). From 22b8ddf47f77f01a59afb937779f4c83e9862f9e Mon Sep 17 00:00:00 2001 From: Andres Salomon [EMAIL PROTECTED] Date: Sun, 24 Feb 2008 13:14:57 -0500 Subject

[PATCH 4/4] gxfb: use PCI_DEVICE() for gxfb's pci device table

2008-02-22 Thread Andres Salomon
Drop the class/class_mask stuff; it's unnecessary as long as the vendor and device IDs match. Signed-off-by: Andres Salomon <[EMAIL PROTECTED]> --- drivers/video/geode/gxfb_core.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/video/geode/gxfb_co

[PATCH 2/4] gxfb: Set the right registers to tweak the sync polarity

2008-02-22 Thread Andres Salomon
igh) when FB_SYNC_VERT_HIGH_ACT is unset. Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]> Signed-off-by: Andres Salomon <[EMAIL PROTECTED]> --- drivers/video/geode/video_gx.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/video/geode/video_gx.c b/drivers/v

[PATCH 3/4] gxfb: Don't enable the CRT DACs when we are in flatpanel mode

2008-02-22 Thread Andres Salomon
ed, don't turn on the CRT DACs - that will save about 35 mA of power. Updated/cleaned up by Andres Salomon. Signed-off-by: Andres Salomon <[EMAIL PROTECTED]> Acked-by: Jordan Crouse <[EMAIL PROTECTED]> --- drivers/video/geode/video_gx.c | 32 +--- 1 files c

[PATCH 1/4] gxfb: Replace FBSIZE config option with a kernel argument

2008-02-22 Thread Andres Salomon
Use a command line option (fbsize:) rather than hardcoding the vram size. LxFB already does this; it's useful for machines that can't query the BIOS for fb size. This patch originated from David Woodhouse, was modified by Jordan Crouse, and was then modified further by me. Signed-off-by: Andres

[PATCH 1/4] gxfb: Replace FBSIZE config option with a kernel argument

2008-02-22 Thread Andres Salomon
Use a command line option (fbsize:) rather than hardcoding the vram size. LxFB already does this; it's useful for machines that can't query the BIOS for fb size. This patch originated from David Woodhouse, was modified by Jordan Crouse, and was then modified further by me. Signed-off-by: Andres

[PATCH 2/4] gxfb: Set the right registers to tweak the sync polarity

2008-02-22 Thread Andres Salomon
is unset. Signed-off-by: Jordan Crouse [EMAIL PROTECTED] Signed-off-by: Andres Salomon [EMAIL PROTECTED] --- drivers/video/geode/video_gx.c | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/video/geode/video_gx.c b/drivers/video/geode/video_gx.c index

[PATCH 3/4] gxfb: Don't enable the CRT DACs when we are in flatpanel mode

2008-02-22 Thread Andres Salomon
on the CRT DACs - that will save about 35 mA of power. Updated/cleaned up by Andres Salomon. Signed-off-by: Andres Salomon [EMAIL PROTECTED] Acked-by: Jordan Crouse [EMAIL PROTECTED] --- drivers/video/geode/video_gx.c | 32 +--- 1 files changed, 17 insertions(+), 15

[PATCH 4/4] gxfb: use PCI_DEVICE() for gxfb's pci device table

2008-02-22 Thread Andres Salomon
Drop the class/class_mask stuff; it's unnecessary as long as the vendor and device IDs match. Signed-off-by: Andres Salomon [EMAIL PROTECTED] --- drivers/video/geode/gxfb_core.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/video/geode/gxfb_core.c b/drivers

Re: Geode GX/LX watchdog timer (RESEND)

2008-02-17 Thread Andres Salomon
On Sun, 17 Feb 2008 16:10:09 + Iain Paton <[EMAIL PROTECTED]> wrote: > Adrian Bunk wrote: > > On Sun, Feb 17, 2008 at 03:46:01PM +0100, Arnd Hannemann wrote: > >> Never tried to built it as a module. > >> Probably there are issues with that. If I remember correctly I saw a patch > >> in

Re: Geode GX/LX watchdog timer (RESEND)

2008-02-17 Thread Andres Salomon
On Sun, 17 Feb 2008 16:10:09 + Iain Paton [EMAIL PROTECTED] wrote: Adrian Bunk wrote: On Sun, Feb 17, 2008 at 03:46:01PM +0100, Arnd Hannemann wrote: Never tried to built it as a module. Probably there are issues with that. If I remember correctly I saw a patch in 2.6.25-rc which

[git pull] geode updates

2008-01-29 Thread Andres Salomon
Hi Thomas, Can you please pull from the following? It's a bunch of Geode cleanups and fixes. git://git.infradead.org/geode.git for-tglx Andres Salomon (5): GEODE: MFGPT: Minor cleanups GEODE: MFGPT: drop module owner usage from MFGPT API GEODE: MFGPT: replace 'flags

[git pull] geode updates

2008-01-29 Thread Andres Salomon
Hi Thomas, Can you please pull from the following? It's a bunch of Geode cleanups and fixes. git://git.infradead.org/geode.git for-tglx Andres Salomon (5): GEODE: MFGPT: Minor cleanups GEODE: MFGPT: drop module owner usage from MFGPT API GEODE: MFGPT: replace 'flags

Re: 2.6.24-rc8-git does not boot on Geode LX

2008-01-21 Thread Andres Salomon
On Sun, 20 Jan 2008 09:14:42 +0100 Willy Tarreau <[EMAIL PROTECTED]> wrote: > Hi, > > I've just pulled latest -git and tried this morning in on one of my ALIX > mobos equipped with an AMD Geode LX800 + CS5536. HEAD is a7da60f41551*. > > Last kernel which runs on it was 2.6.22.14. I've not yet

Re: 2.6.24-rc8-git does not boot on Geode LX

2008-01-21 Thread Andres Salomon
On Sun, 20 Jan 2008 09:14:42 +0100 Willy Tarreau [EMAIL PROTECTED] wrote: Hi, I've just pulled latest -git and tried this morning in on one of my ALIX mobos equipped with an AMD Geode LX800 + CS5536. HEAD is a7da60f41551*. Last kernel which runs on it was 2.6.22.14. I've not yet tried

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Andres Salomon
On Thu, 17 Jan 2008 20:53:57 +0100 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > Andres Salomon schrieb: > > On Thu, 17 Jan 2008 10:54:30 +0100 > > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > >> Andres Salomon schrieb: > >>> On Wed, 1

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Andres Salomon
On Thu, 17 Jan 2008 10:54:30 +0100 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > Andres Salomon schrieb: > > On Wed, 16 Jan 2008 16:19:12 -0500 > > Andres Salomon <[EMAIL PROTECTED]> wrote: > > > >> On Wed, 16 Jan 2008 18:44:07 +0100 > >> Arnd

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-17 Thread Andres Salomon
On Thu, 17 Jan 2008 20:53:57 +0100 Arnd Hannemann [EMAIL PROTECTED] wrote: Andres Salomon schrieb: On Thu, 17 Jan 2008 10:54:30 +0100 Arnd Hannemann [EMAIL PROTECTED] wrote: Andres Salomon schrieb: On Wed, 16 Jan 2008 16:19:12 -0500 Andres Salomon [EMAIL PROTECTED] wrote: On Wed

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-16 Thread Andres Salomon
On Wed, 16 Jan 2008 16:19:12 -0500 Andres Salomon <[EMAIL PROTECTED]> wrote: > On Wed, 16 Jan 2008 18:44:07 +0100 > Arnd Hannemann <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), > > and it h

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-16 Thread Andres Salomon
On Wed, 16 Jan 2008 18:44:07 +0100 Arnd Hannemann <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), > and it hangs during boot: > > [ 12.689971] NET: Registered protocol family 16 > [ 12.703329] geode-mfgpt: Registered timer 0 > [ 12.716149]

Re: [PATCH] input: psmouse: fix input_dev leak in lifebook driver

2008-01-16 Thread Andres Salomon
On Tue, 15 Jan 2008 17:04:01 -0500 Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > On Sat, Jan 12, 2008 at 03:12:52PM -0500, Andres Salomon wrote: > > > > The lifebook driver may register a second input device, but it never > > unregisters it. This fixes that. >

Re: [PATCH] input: psmouse: fix input_dev leak in lifebook driver

2008-01-16 Thread Andres Salomon
On Tue, 15 Jan 2008 17:04:01 -0500 Dmitry Torokhov [EMAIL PROTECTED] wrote: On Sat, Jan 12, 2008 at 03:12:52PM -0500, Andres Salomon wrote: The lifebook driver may register a second input device, but it never unregisters it. This fixes that. Signed-off-by: Andres Salomon [EMAIL

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-16 Thread Andres Salomon
On Wed, 16 Jan 2008 18:44:07 +0100 Arnd Hannemann [EMAIL PROTECTED] wrote: Hi, I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), and it hangs during boot: [ 12.689971] NET: Registered protocol family 16 [ 12.703329] geode-mfgpt: Registered timer 0 [ 12.716149]

Re: 2.6.24-rc8 hangs at mfgpt-timer

2008-01-16 Thread Andres Salomon
On Wed, 16 Jan 2008 16:19:12 -0500 Andres Salomon [EMAIL PROTECTED] wrote: On Wed, 16 Jan 2008 18:44:07 +0100 Arnd Hannemann [EMAIL PROTECTED] wrote: Hi, I'm trying to boot 2.6.24-rc8 on a GEODE LX board (ALIX.3), and it hangs during boot: [ 12.689971] NET: Registered protocol

[PATCH] input: psmouse: fix potential input register race in psmouse_connect()

2008-01-12 Thread Andres Salomon
). This calls input_unregister_device from the error path, and sets input_dev to NULL so that we don't attempt to also call input_free_device on it. Signed-off-by: Andres Salomon <[EMAIL PROTECTED]> --- drivers/input/mouse/psmouse-base.c |2 ++ 1 files changed, 2 insertions(+), 0 del

[PATCH] input: psmouse: fix input_dev leak in lifebook driver

2008-01-12 Thread Andres Salomon
The lifebook driver may register a second input device, but it never unregisters it. This fixes that. Signed-off-by: Andres Salomon <[EMAIL PROTECTED]> --- drivers/input/mouse/lifebook.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/input

  1   2   3   >