public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* sbs-linux acpi-ec-nospinlock patch for 2.6.11
@ 2005-03-06  9:08 Hendrik Jürgens
       [not found] ` <422AC893.7070304-ULHALamj7Vx/+Jgy1241yg@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Hendrik Jürgens @ 2005-03-06  9:08 UTC (permalink / raw)
  To: ACPI mailing list

Hi!

is the acpi-ec-nospinlock patch for the new 2.6.11 anywhere on the net?
the patch for the 2.6.10 does not work for 2.6.11 =/

Bye
Hendrik


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sbs-linux acpi-ec-nospinlock patch for 2.6.11
       [not found] ` <422AC893.7070304-ULHALamj7Vx/+Jgy1241yg@public.gmane.org>
@ 2005-03-06 18:32   ` Rich Townsend
  0 siblings, 0 replies; 7+ messages in thread
From: Rich Townsend @ 2005-03-06 18:32 UTC (permalink / raw)
  To: Hendrik Jürgens; +Cc: ACPI mailing list

Hendrik Jürgens wrote:
> Hi!
> 
> is the acpi-ec-nospinlock patch for the new 2.6.11 anywhere on the net?
> the patch for the 2.6.10 does not work for 2.6.11 =/
> 
> Bye
> Hendrik
> 

I'll be fixing this in the latest release of the SBS stuff -- sometime 
over the next few days.

cheers,

Rich


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: sbs-linux acpi-ec-nospinlock patch for 2.6.11
@ 2005-03-11  5:48 Yu, Luming
  2005-03-11 16:37 ` Rich Townsend
  0 siblings, 1 reply; 7+ messages in thread
From: Yu, Luming @ 2005-03-11  5:48 UTC (permalink / raw)
  To: Rich Townsend, Hendrik Jürgens; +Cc: ACPI mailing list

I don't know what is acpi-ec-nospinlock patch.
But the patch at http://bugzilla.kernel.org/show_bug.cgi?id=3851#c52 is worthy testing, if you have EC related issue.
Thanks,
Luming
-----Original Message-----
From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org [mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of Rich Townsend
Sent: 2005年3月7日 2:32
To: Hendrik Jürgens
Cc: ACPI mailing list
Subject: Re: [ACPI] sbs-linux acpi-ec-nospinlock patch for 2.6.11

Hendrik Jürgens wrote:
> Hi!
> 
> is the acpi-ec-nospinlock patch for the new 2.6.11 anywhere on the net?
> the patch for the 2.6.10 does not work for 2.6.11 =/
> 
> Bye
> Hendrik
> 

I'll be fixing this in the latest release of the SBS stuff -- sometime 
over the next few days.

cheers,

Rich


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=ick
_______________________________________________
Acpi-devel mailing list
Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sbs-linux acpi-ec-nospinlock patch for 2.6.11
  2005-03-11  5:48 sbs-linux acpi-ec-nospinlock patch for 2.6.11 Yu, Luming
@ 2005-03-11 16:37 ` Rich Townsend
       [not found]   ` <4231C946.4090301-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Rich Townsend @ 2005-03-11 16:37 UTC (permalink / raw)
  To: Yu, Luming, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f



Yu, Luming wrote:
> I don't know what is acpi-ec-nospinlock patch.
> But the patch at http://bugzilla.kernel.org/show_bug.cgi?id=3851#c52 is worthy testing, if you have EC related issue.
> Thanks,
> Luming

It was a small patch I wrote, to lock EC access using a semaphore rather 
than a spinlock. This was to stop the stuttering caused when the EC 
driver was polling for completion of a transaction.

Eventually, of course, we want to switch over to event-based EC 
management. I already tried one of the older EC/event patches on the 
page you give above, with not much success; but I'll give one of the 
newer ones a shot.

I'm currently also playing around with a patch sent to me by Dmitry 
Torokhov, which I believe was a fork from the EC/event patches. It seems 
to work (in that there is no more stuttering), but there are a lot of 
AE_TIME errors returned by the address-space handler, which screws up 
execution of many DSDT methods that use the EC.

cheers,

Rich


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sbs-linux acpi-ec-nospinlock patch for 2.6.11
       [not found]   ` <4231C946.4090301-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
@ 2005-03-11 16:55     ` Rich Townsend
       [not found]       ` <4231CD8E.5080105-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Rich Townsend @ 2005-03-11 16:55 UTC (permalink / raw)
  To: Yu, Luming; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Rich Townsend wrote:
> 
> Yu, Luming wrote:
> 
>>I don't know what is acpi-ec-nospinlock patch.
>>But the patch at http://bugzilla.kernel.org/show_bug.cgi?id=3851#c52 is worthy testing, if you have EC related issue.
>>Thanks,
>>Luming
> 
> 
> It was a small patch I wrote, to lock EC access using a semaphore rather 
> than a spinlock. This was to stop the stuttering caused when the EC 
> driver was polling for completion of a transaction.
> 
> Eventually, of course, we want to switch over to event-based EC 
> management. I already tried one of the older EC/event patches on the 
> page you give above, with not much success; but I'll give one of the 
> newer ones a shot.
> 

OK, I've tried the newest patch (I needed to fix a small error in it, 
relating to a statement label, to get it to work on 2.6.11). It seems to 
work OK in all respects apart from speed. On bootup, it takes about 30 
seconds for the EC to get initialized. Battery status reads take about 4 
seconds. Events (eg, AC power change) take about 5 seconds before they 
actually reach /proc/acpi/events.

This clearly makes the patch of limited usefullness. What can be done to 
increase the speed?

cheers,

Rich


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: sbs-linux acpi-ec-nospinlock patch for 2.6.11
       [not found]       ` <4231CD8E.5080105-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
@ 2005-03-11 17:54         ` Stefan Seyfried
       [not found]           ` <20050311175452.GB21611-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Seyfried @ 2005-03-11 17:54 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Fri, Mar 11, 2005 at 11:55:42AM -0500, Rich Townsend wrote:
 
> This clearly makes the patch of limited usefullness. What can be done to 
> increase the speed?

Do you have CONFIG_ACPI_DEBUG enabled? Switch it off, it is slow as hell.
-- 
Stefan Seyfried



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: sbs-linux acpi-ec-nospinlock patch for 2.6.11
       [not found]           ` <20050311175452.GB21611-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
@ 2005-03-11 20:50             ` Rich Townsend
  0 siblings, 0 replies; 7+ messages in thread
From: Rich Townsend @ 2005-03-11 20:50 UTC (permalink / raw)
  To: Stefan Seyfried; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Stefan Seyfried wrote:
> On Fri, Mar 11, 2005 at 11:55:42AM -0500, Rich Townsend wrote:
>  
> 
>>This clearly makes the patch of limited usefullness. What can be done to 
>>increase the speed?
> 
> 
> Do you have CONFIG_ACPI_DEBUG enabled? Switch it off, it is slow as hell.

Nope, its already off. Still slow as hell.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-11 20:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-11  5:48 sbs-linux acpi-ec-nospinlock patch for 2.6.11 Yu, Luming
2005-03-11 16:37 ` Rich Townsend
     [not found]   ` <4231C946.4090301-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-03-11 16:55     ` Rich Townsend
     [not found]       ` <4231CD8E.5080105-OBnUx95tOyn10jlvfTC4gA@public.gmane.org>
2005-03-11 17:54         ` Stefan Seyfried
     [not found]           ` <20050311175452.GB21611-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-03-11 20:50             ` Rich Townsend
  -- strict thread matches above, loose matches on Subject: below --
2005-03-06  9:08 Hendrik Jürgens
     [not found] ` <422AC893.7070304-ULHALamj7Vx/+Jgy1241yg@public.gmane.org>
2005-03-06 18:32   ` Rich Townsend

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox