All of lore.kernel.org
 help / color / mirror / Atom feed
* PATCH-ACPI based CPU hotplug[0/6]
@ 2004-09-20 16:25 ` Keshavamurthy Anil S
  0 siblings, 0 replies; 153+ messages in thread
From: Keshavamurthy Anil S @ 2004-09-20 16:25 UTC (permalink / raw)
  To: Len Brown, ACPI Developer, LHNS list; +Cc: Linux IA64, Linux Kernel

Hi Len,
  I am resending the following set of patches which support ACPI based physical 
CPU hotplug for IA64 platform, after having including all the community 
feedback(of course I got very thin feedback) which I got on 
acpi-devel mailing list.

This set of patches has been tested on linux-2.6.9-rc2. Also this time I am 
cc'ing ia64/lkml mailing lists as patch 3/6 and patch 4/6 touches arch specific files.

Details:(Applies cleanly onto linux-2.6.9-rc2)
Patch[1/6]- Core ACPI enhancement support
Patch[2/6]- ACPI hotplug eject interface support
Patch[3/6]- Arch specific support for mapping lsapic to cpu
Patch[4/6]- Dynamic cpu registration and unregistration support
Patch[5/6]- Extend ACPI processor driver to support Hotplug
Patch[6/6]- ACPI container driver(New driver)

Please consider applying this patch onto your test tree.

Thanks,
Anil S Keshavamurthy

^ permalink raw reply	[flat|nested] 153+ messages in thread
* RE: [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interfacesupport
  2004-09-20 18:33     ` Dmitry Torokhov
  (?)
@ 2004-09-21  2:30 ` Yu, Luming
  -1 siblings, 0 replies; 153+ messages in thread
From: Yu, Luming @ 2004-09-21  2:30 UTC (permalink / raw)
  To: Alex Williamson, Dmitry Torokhov
  Cc: acpi-devel, Keshavamurthy, Anil S, Brown, Len, LHNS list,
	Linux IA64, Linux Kernel

>> > > 
>> > > Hi Anil,
>> > > 
>> > > I obviously failed to deliver my idea :) I meant that I 
>would like add eject
>> > > attribute (along with maybe status, hid and some others) 
>to kobjects in
>> > > /sys/firmware/acpi tree.
>> > > 
>> > 
>> > Dmitry,
>> > 
>> >    See the patch I just posted to acpi-devel and lkml (Subject:
>> > [PATCH/RFC] exposing ACPI objects in sysfs).  It exposes 
>acpi objects as
>> > you describe.   Something simple like:
>> > 
>> >  # cat /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/_EJ0
>> > 
>> > Will call the _EJ0 method on the ACPI device.  You can 
>evaluate eject
>> > dependencies using the _EJD method.
>> > 
>> > 	Alex
>> > 
>> 
>> Alex,
>> 
>> While I think that your patch is very important and should 
>be included (maybe
>> if not as is if somebody has some objections but in some 
>other form) I see it
>> more like developer's tool. I imagined status, HID, eject 
>etc. attributes to
>> be sanitized interface to kernel's data, not necessarily 
>causing re-evaluation.
>> 
>
>Dmitry,
>
>   I imagined the sanitized interfaces would be provided via a 
>userspace
>library, similar to how lspci provides a clean interface to all of the
>PCI data.  An "lsacpi" tool could extract the information into 
>something
>more like you suggest.  If you have objects exposed as human
>readable/writable files, I think you'll quickly end up with a _STA
>driver, _HID driver, _CID driver, _ADR driver, _UID driver, 
>_EJx driver,
>etc, etc, etc...  I don't think we want that kind of bloat in 
>the kernel
>(that's what userspace is for ;^).  Providing a solid, direct interface
>to ACPI methods in the kernel seems like the most flexible, powerful
>interface IMHO.  Thanks,
>
>	Alex
>
>> So it could be like this:
>> 
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/status
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/removable
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/lockable
>> ..
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/eject
>> 
>> And your raw access to the ACPI methods could reside under raw:
>> 
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/raw/_STA
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/raw/_RNV
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/raw/_LCK
>> ..
>> /sys/firmware/acpi/namespace/ACPI/_SB/LSB0/raw/_EJ0
>

  This sounds like a good idea. To call the raw AML methods from
User space, just need to solve the problem of argument passing.
But, some AML methods are risky to be called directly from user space,
Not only because the side effect of its execution, but also because
it could trigger potential AML method bug or interpreter bug, or even
architectural defect.  All of these headache is due to the AML method
 is NOT intended for being used by userspace program.

Thanks,
Luming



  


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

end of thread, other threads:[~2004-09-29  6:26 UTC | newest]

Thread overview: 153+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-20 16:25 PATCH-ACPI based CPU hotplug[0/6] Keshavamurthy Anil S
2004-09-20 16:25 ` Keshavamurthy Anil S
2004-09-20 16:29 ` PATCH-ACPI based CPU hotplug[0/6]-Core ACPI enhancement support Keshavamurthy Anil S
2004-09-20 16:29   ` Keshavamurthy Anil S
2004-09-20 16:34 ` PATCH-ACPI based CPU hotplug[1/6]-ACPI core " Keshavamurthy Anil S
2004-09-20 16:34   ` Keshavamurthy Anil S
     [not found]   ` <20040920093402.C14208-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2004-09-20 18:26     ` Dmitry Torokhov
2004-09-20 19:01       ` [ACPI] " Keshavamurthy Anil S
2004-09-20 19:01         ` Keshavamurthy Anil S
2004-09-20 19:01         ` Keshavamurthy Anil S
2004-09-20 20:26         ` Bjorn Helgaas
2004-09-20 20:26           ` Bjorn Helgaas
2004-09-20 20:44           ` Keshavamurthy Anil S
2004-09-20 20:44             ` Keshavamurthy Anil S
2004-09-24 23:22             ` Keshavamurthy Anil S
2004-09-24 23:22               ` Keshavamurthy Anil S
2004-09-20 16:35 ` PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface support Keshavamurthy Anil S
2004-09-20 16:35   ` Keshavamurthy Anil S
2004-09-20 18:33   ` [ACPI] " Dmitry Torokhov
2004-09-20 18:33     ` Dmitry Torokhov
2004-09-20 19:24     ` Keshavamurthy Anil S
2004-09-20 19:24       ` Keshavamurthy Anil S
2004-09-20 23:12       ` Dmitry Torokhov
2004-09-20 23:12         ` Dmitry Torokhov
2004-09-21  0:52         ` Alex Williamson
2004-09-21  0:52           ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface Alex Williamson
2004-09-21  1:20           ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface support Dmitry Torokhov
2004-09-21  1:20             ` Dmitry Torokhov
2004-09-21  1:25             ` Keshavamurthy Anil S
2004-09-21  1:25               ` Keshavamurthy Anil S
2004-09-21  1:41             ` Alex Williamson
2004-09-21  1:41               ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface Alex Williamson
2004-09-21  5:34               ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface support Dmitry Torokhov
2004-09-21  5:34                 ` Dmitry Torokhov
2004-09-21  5:34                 ` Dmitry Torokhov
2004-09-21  1:38         ` Keshavamurthy Anil S
2004-09-21  1:38           ` Keshavamurthy Anil S
2004-09-21  5:51           ` Dmitry Torokhov
2004-09-21  5:51             ` Dmitry Torokhov
2004-09-21 21:51             ` Keshavamurthy Anil S
2004-09-21 21:51               ` Keshavamurthy Anil S
2004-09-21 22:23               ` [Lhns-devel] " Russ Anderson
2004-09-21 22:23                 ` Russ Anderson
2004-09-21 22:23                 ` Russ Anderson
2004-09-22  3:10               ` Dmitry Torokhov
2004-09-22  3:10                 ` Dmitry Torokhov
2004-09-24 23:28         ` Keshavamurthy Anil S
2004-09-24 23:28           ` Keshavamurthy Anil S
2004-09-24 23:28           ` Keshavamurthy Anil S
2004-09-27  6:12           ` Dmitry Torokhov
2004-09-27  6:12             ` Dmitry Torokhov
2004-09-27  6:12             ` Dmitry Torokhov
2004-09-27 16:53             ` Keshavamurthy Anil S
2004-09-27 16:53               ` Keshavamurthy Anil S
2004-09-27 16:53               ` Keshavamurthy Anil S
2004-09-27 18:09               ` Dmitry Torokhov
2004-09-27 18:09                 ` Dmitry Torokhov
2004-09-27 18:09                 ` Dmitry Torokhov
2004-09-22  4:17   ` Keiichiro Tokunaga
2004-09-22  4:17     ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface Keiichiro Tokunaga
2004-09-22 16:59     ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interface support Keshavamurthy Anil S
2004-09-22 16:59       ` Keshavamurthy Anil S
     [not found] ` <20040920092520.A14208-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2004-09-20 16:38   ` PATCH-ACPI based CPU hotplug[3/6]-Mapping lsapic to cpu Keshavamurthy Anil S
2004-09-20 16:38     ` Keshavamurthy Anil S
2004-09-20 16:38     ` Keshavamurthy Anil S
2004-09-22  2:10     ` [ACPI] " Keiichiro Tokunaga
2004-09-22  2:10       ` Keiichiro Tokunaga
2004-09-23  6:55       ` Keshavamurthy Anil S
2004-09-23  6:55         ` Keshavamurthy Anil S
2004-09-22 13:15     ` Keiichiro Tokunaga
2004-09-22 13:15       ` Keiichiro Tokunaga
2004-09-22 13:23       ` Keiichiro Tokunaga
2004-09-22 13:23         ` Keiichiro Tokunaga
2004-09-22 14:52       ` Alex Williamson
2004-09-22 14:52         ` Alex Williamson
2004-09-22 17:10         ` Keiichiro Tokunaga
2004-09-22 17:10           ` Keiichiro Tokunaga
2004-09-22 17:54           ` Keshavamurthy Anil S
2004-09-22 17:54             ` Keshavamurthy Anil S
2004-09-24 23:36           ` Keshavamurthy Anil S
2004-09-24 23:36             ` Keshavamurthy Anil S
2004-09-27 11:47             ` Keiichiro Tokunaga
2004-09-27 11:47               ` Keiichiro Tokunaga
2004-09-27 12:50             ` Keiichiro Tokunaga
2004-09-27 12:50               ` Keiichiro Tokunaga
2004-09-27 20:44               ` Keshavamurthy Anil S
2004-09-27 20:44                 ` Keshavamurthy Anil S
2004-09-27 20:44                 ` Keshavamurthy Anil S
2004-09-20 16:41   ` PATCH-ACPI based CPU hotplug[4/6]-Dynamic cpu register/unregister support Keshavamurthy Anil S
2004-09-20 16:41     ` Keshavamurthy Anil S
2004-09-20 16:41     ` Keshavamurthy Anil S
2004-09-22  8:34     ` [ACPI] " Keiichiro Tokunaga
2004-09-22  8:34       ` [ACPI] PATCH-ACPI based CPU hotplug[4/6]-Dynamic cpu Keiichiro Tokunaga
2004-09-22 17:10       ` [ACPI] PATCH-ACPI based CPU hotplug[4/6]-Dynamic cpu register/unregister support Keshavamurthy Anil S
2004-09-22 17:10         ` Keshavamurthy Anil S
     [not found]       ` <20040922173400.4e717946.tokunaga.keiich-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2004-09-24 23:40         ` Keshavamurthy Anil S
2004-09-24 23:40           ` [ACPI] " Keshavamurthy Anil S
2004-09-24 23:40           ` Keshavamurthy Anil S
2004-09-20 16:43   ` PATCH-ACPI based CPU hotplug[5/6]-ACPI processor driver extension Keshavamurthy Anil S
2004-09-20 16:43     ` Keshavamurthy Anil S
2004-09-20 16:43     ` Keshavamurthy Anil S
2004-09-22  9:57     ` [ACPI] " Keiichiro Tokunaga
2004-09-22  9:57       ` [ACPI] PATCH-ACPI based CPU hotplug[5/6]-ACPI processor driver Keiichiro Tokunaga
     [not found]     ` <20040920094352.G14208-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2004-09-24 23:48       ` PATCH-ACPI based CPU hotplug[5/6]-ACPI processor driver extension Keshavamurthy Anil S
2004-09-24 23:48         ` Keshavamurthy Anil S
2004-09-24 23:48         ` Keshavamurthy Anil S
2004-09-20 16:47   ` PATCH-ACPI based CPU hotplug[6/6]-ACPI Container driver Keshavamurthy Anil S
2004-09-20 16:47     ` Keshavamurthy Anil S
2004-09-20 16:47     ` Keshavamurthy Anil S
2004-09-23 16:23     ` [PATCH][0/4] NUMA node handling support for ACPI container driver Keiichiro Tokunaga
2004-09-23 16:23       ` Keiichiro Tokunaga
2004-09-23 16:31       ` [PATCH][1/4] Add unregister_node() to drivers/base/node.c Keiichiro Tokunaga
2004-09-23 16:31         ` Keiichiro Tokunaga
2004-09-23 16:43         ` [Lhns-devel] " Dave Hansen
2004-09-23 16:43           ` [Lhns-devel] [PATCH][1/4] Add unregister_node() to Dave Hansen
2004-09-24  3:12           ` [Lhns-devel] [PATCH][1/4] Add unregister_node() to drivers/base/node.c Keiichiro Tokunaga
2004-09-24  3:12             ` Keiichiro Tokunaga
2004-09-24  3:12             ` [Lhns-devel] [PATCH][1/4] Add unregister_node() to Keiichiro Tokunaga
2004-09-27 18:52         ` [PATCH][1/4] Add unregister_node() to drivers/base/node.c Keshavamurthy Anil S
2004-09-27 18:52           ` Keshavamurthy Anil S
2004-09-28 10:19           ` Keiichiro Tokunaga
2004-09-28 10:19             ` Keiichiro Tokunaga
2004-09-23 16:32       ` [PATCH][2/4] Add arch_register_node() for ia64 Keiichiro Tokunaga
2004-09-23 16:32         ` Keiichiro Tokunaga
2004-09-23 16:32       ` [PATCH][3/4] Add hotplug support to drivers/acpi/numa.c Keiichiro Tokunaga
2004-09-23 16:32         ` Keiichiro Tokunaga
2004-09-27 12:58         ` Keiichiro Tokunaga
2004-09-27 12:58           ` Keiichiro Tokunaga
2004-09-27 20:06         ` Keshavamurthy Anil S
2004-09-27 20:06           ` Keshavamurthy Anil S
2004-09-29  6:26           ` Keiichiro Tokunaga
2004-09-29  6:26             ` Keiichiro Tokunaga
2004-09-23 16:36       ` [PATCH][4/4] Add NUMA node handling to the container driver Keiichiro Tokunaga
2004-09-23 16:36         ` Keiichiro Tokunaga
     [not found]         ` <20040924013642.00003b08.tokunaga.keiich-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2004-09-23 22:09           ` Mika Penttilä
2004-09-23 22:09             ` Mika Penttilä
2004-09-23 22:09             ` Mika Penttilä
2004-09-24  4:44             ` Keiichiro Tokunaga
2004-09-24  4:44               ` Keiichiro Tokunaga
2004-09-23 16:38       ` [PATCH][0/4] NUMA node handling support for ACPI " Keshavamurthy Anil S
2004-09-23 16:38         ` Keshavamurthy Anil S
2004-09-24 23:51     ` PATCH-ACPI based CPU hotplug[6/6]-ACPI Container driver Keshavamurthy Anil S
2004-09-24 23:51       ` Keshavamurthy Anil S
2004-09-24 23:51       ` Keshavamurthy Anil S
  -- strict thread matches above, loose matches on Subject: below --
2004-09-21  2:30 [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interfacesupport Yu, Luming
2004-09-21  2:30 ` Yu, Luming
2004-09-21  2:30 ` Yu, Luming
2004-09-21  3:02 ` Alex Williamson
2004-09-21  3:02   ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject Alex Williamson
2004-09-21 17:25   ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject interfacesupport Theodore Ts'o
2004-09-21 17:25     ` Theodore Ts'o
2004-09-21 18:10     ` Alex Williamson
2004-09-21 18:10       ` [ACPI] PATCH-ACPI based CPU hotplug[2/6]-ACPI Eject Alex Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.