public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Patch against kernels 2.4.x and some questions
       [not found] ` <1032636606.2215.49.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
@ 2002-09-21 14:35   ` Marc-Christian Petersen
       [not found]     ` <200209211635.51419.m.c.p-hi6Y0CQ0nG0@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Marc-Christian Petersen @ 2002-09-21 14:35 UTC (permalink / raw)
  To: acpi-devel; +Cc: Sérgio Monteiro Basto

On Saturday 21 September 2002 21:30, Sérgio Monteiro Basto wrote:

Hi Sérgio,

> I already done the patches for kernels 2.4.19 and 2.4.18,
> and I have 3 questions :
where can I find those patches against 2.4.18 for current ACPI code? :)

-- 
Kind regards
        Marc-Christian Petersen

http://sourceforge.net/projects/wolk

PGP/GnuPG Key: 1024D/569DE2E3DB441A16
Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
Key available at www.keyserver.net. Encrypted e-mail preferred.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Patch against kernels 2.4.x and some questions
@ 2002-09-21 19:30 Sérgio Monteiro Basto
       [not found] ` <1032636606.2215.49.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
       [not found] ` <1033803567.30458.4.camel@darkstar.portugal>
  0 siblings, 2 replies; 5+ messages in thread
From: Sérgio Monteiro Basto @ 2002-09-21 19:30 UTC (permalink / raw)
  To: Andrew Grover; +Cc: acpi-devel

On Thu, 2002-09-19 at 16:09, Grover, Andrew wrote:
> 
> If someone does a patch against 2.4.19 we can put it on sf.net, but
I'm not
> going to spend my time doing it.
> 
> -- Andy

I already done the patches for kernels 2.4.19 and 2.4.18,
and I have 3 questions :
1- Configure.help what your version still have incorrect help for
options when configure kernel, if I should include help from the version
(i think) 0709 .

diff -Nura linux-2.4.19orig/Documentation/Configure.help linux-2.4.19acpi/Documentation/Configure.help
--- linux-2.4.19orig/Documentation/Configure.help	Fri Aug  2 20:39:42 2002
+++ linux-2.4.19acpi/Documentation/Configure.help	Sat Sep 21 01:00:07 2002
@@ -17586,70 +17586,64 @@
   will issue the hlt instruction if nothing is to be done, thereby
   sending the processor to sleep and saving power.
 
-ACPI support
+ACPI Support
 CONFIG_ACPI
-  ACPI/OSPM support for Linux is currently under development. As such,
-  this support is preliminary and EXPERIMENTAL.  Configuring ACPI
-  support enables kernel interfaces that allow higher level software
-  (OSPM) to manipulate ACPI defined hardware and software interfaces,
-  including the evaluation of ACPI control methods.  If unsure, choose
-  N here.  Note, this option will enlarge your kernel by about 120K.
-
-  This support requires an ACPI compliant platform (hardware/firmware).
-  If both ACPI and Advanced Power Management (APM) support are
-  configured, whichever is loaded first shall be used.
-
-  This code DOES NOT currently provide a complete OSPM implementation
-  -- it has not yet reached APM's level of functionality.  When fully
-  implemented, Linux ACPI/OSPM will provide a more robust functional
-  replacement for legacy configuration and power management
-  interfaces, including the Plug-and-Play BIOS specification (PnP
-  BIOS), the Multi-Processor Specification (MPS), and the Advanced
-  Power Management specification (APM).
-
-  Linux support for ACPI/OSPM is based on Intel Corporation's ACPI
-  Component Architecture (ACPI CA). The latest ACPI CA source code,
-  documentation, debug builds, and implementation status information
-  can be downloaded from:
-  <http://developer.intel.com/technology/iapc/acpi/downloads.htm>.
-
-  The ACPI Sourceforge project may also be of interest:
-  <http://sf.net/projects/acpi/>
-
-Enable ACPI 2.0 with errata 1.3
-CONFIG_ACPI20
-  Enable support for the 2.0 version of the ACPI interpreter.  See the
-  help for ACPI for caveats and discussion.
-
-ACPI kernel configuration manager
-CONFIG_ACPI_KERNEL_CONFIG
-  If you say `Y' here, Linux's ACPI support will use the
-  hardware-level system descriptions found on IA64 machines.
+  Advanced Configuration and Power Interface (ACPI) support for 
+  Linux requires an ACPI compliant platform (hardware/firmware),
+  and assumes the presence of OS-directed configuration and power
+  management (OSPM) software.  This option will enlarge your 
+  kernel by about 70K.
+
+  Linux ACPI provides a robust functional replacement for several 
+  legacy configuration and power management intefaces, including 
+  the Plug-and-Play BIOS specification (PnP BIOS), the 
+  MultiProcessor Specification (MPS), and the Advanced Power 
+  Management (APM) specification.  If both ACPI and APM support 
+  are configured, whichever is loaded first shall be used.
+  
+  Add "acpi=off" to the kernel command line to disable this feature.
+  (Try "man bootparam" or see the documentation of your boot loader 
+  about how to pass options to the kernel at boot time.)
+
+  Add "acpi=ht-only" to the kernel command line to limit ACPI 
+  support to processor enumeration only (see CONFIG_ACPI_HT_ONLY). 
+
+  ----------
+
+  The ACPI SourceForge project contains the latest source code, 
+  documentation, tools, mailing list subscription, and other 
+  information.  This project is available at:
+    <http://sourceforge.net/projects/acpi>
+
+  Linux support for ACPI is based on Intel Corporation's ACPI
+  Component Architecture (ACPI CA).  For more information see:
+    <http://developer.intel.com/technology/iapc/acpi>
+
+  ACPI is an open industry specification co-developed by Compaq, 
+  Intel, Microsoft, Phoenix, and Toshiba.  The specification is 
+  available at:
+    <http://www.acpi.info>
+
+CONFIG_ACPI_HT_ONLY
+  This option enables limited ACPI support -- just enough to 
+  enumerate processors from the ACPI Multiple APIC Description 
+  Table (MADT).  Note that ACPI supports both logical (e.g. Hyper-
+  Threading) and physical processors, where the MultiProcessor 
+  Specification (MPS) table only supports physical processors.
 
-ACPI Debug Statements
-CONFIG_ACPI_DEBUG
-  The ACPI driver can optionally report errors with a great deal
-  of verbosity. Saying Y enables these statements. This will increase
-  your kernel size by around 50K.
+  Full ACPI support (CONFIG_ACPI) is preferred.  Use this option 
+  only if you wish to limit ACPI's role to processor enumeration.
 
-ACPI Bus Manager
-CONFIG_ACPI_BUSMGR
-  The ACPI Bus Manager enumerates devices in the ACPI namespace, and
-  handles PnP messages.  All ACPI devices use its services, so using
-  them requires saying Y here.
-
-ACPI System Driver
-CONFIG_ACPI_SYS
-  This driver will enable your system to shut down using ACPI, and
-  dump your ACPI DSDT table using /proc/acpi/dsdt.
+CONFIG_ACPI_AC
+  This driver adds support for the AC Adapter object, which indicates
+  whether a system is on AC, or not.  Typically, only mobile systems 
+  have this object, since desktops are always on AC.
 
-ACPI Processor Driver
-CONFIG_ACPI_CPU
-  This driver installs ACPI as the idle handler for Linux, and uses
-  ACPI C2 and C3 processor states to save power, on systems that
-  support it.
+CONFIG_ACPI_BATTERY
+  This driver adds support for battery information through
+  /proc/acpi/battery. If you have a mobile system with a battery, 
+  say Y.
 
-ACPI Button
 CONFIG_ACPI_BUTTON
   This driver registers for events based on buttons, such as the
   power, sleep, and lid switch.  In the future, a daemon will read
@@ -17657,27 +17651,34 @@
   down the system.  Until then, you can cat it, and see output when
   a button is pressed.
 
-ACPI AC Adapter
-CONFIG_ACPI_AC
-  This driver adds support for the AC Adapter object, which indicates
-  whether a system is on AC, or not.  Typically, only laptops have
-  this object, since desktops are always on AC.
-
-ACPI Embedded Controller
 CONFIG_ACPI_EC
   This driver is required on some systems for the proper operation of
-  the battery and thermal drivers.  If you are compiling for a laptop,
-  say Y.
+  the battery and thermal drivers.  If you are compiling for a 
+  mobile system, say Y.
 
-ACPI Control Method Battery
-CONFIG_ACPI_CMBATT
-  This driver adds support for battery information through
-  /proc/acpi/battery. If you have a laptop with a battery, say Y.
+CONFIG_ACPI_PROCESSOR
+  This driver installs ACPI as the idle handler for Linux, and uses
+  ACPI C2 and C3 processor states to save power, on systems that
+  support it.
 
-ACPI Thermal
 CONFIG_ACPI_THERMAL
-  This driver handles overheating conditions on laptops. It is HIGHLY
-  recommended, as your laptop CPU may be damaged without it.
+  This driver adds support for ACPI thermal zones.  Most mobile and
+  some desktop systems support ACPI thermal zones.  It is HIGHLY
+  recommended that this option be enabled, as your processor(s)
+  may be damaged without it.
+
+CONFIG_ACPI_FAN
+  This driver adds support for ACPI fan devices, allowing user-mode 
+  applications to perform basic fan control (on, off, status).
+
+CONFIG_ACPI_SYSTEM
+  This driver will enable your system to shut down using ACPI, and
+  dump your ACPI DSDT table using /proc/acpi/dsdt.
+
+CONFIG_ACPI_DEBUG
+  The ACPI driver can optionally report errors with a great deal
+  of verbosity. Saying Y enables these statements. This will increase
+  your kernel size by around 50K.
 
 Advanced Power Management BIOS support
 CONFIG_APM


2- is the black list I will suggest one small patch:

--- linux-2.4.19acpi/drivers/acpi/blacklist.c.orig	Sat Sep 21 15:16:51 2002
+++ linux-2.4.19acpi/drivers/acpi/blacklist.c	Sat Sep 21 15:17:04 2002
@@ -97,7 +97,7 @@
 
 	while (acpi_blacklist[i].oem_id[0] != '\0')
 	{
-		if (!acpi_get_table_header_early(acpi_blacklist[i].table, &table_header)) {
+		if (acpi_get_table_header_early(acpi_blacklist[i].table, &table_header)) {
 			i++;
 			continue;
 		}

this patch is one that I don't have idea, if it correct or not but since
acpi_get_table_header_early return always OK, my computer doesn't enter
in black list, well i think, my computer is to be enter in black list
and with this patch it give the warning that is in blacklist 

3 - this are missing in _my_ kernel patches but is correct isn't?
--- linux-2.4.19new/./include/linux/acpi.h	Fri Sep 20 21:49:14 2002
+++ linux-2.4.20-pre7acpi/./include/linux/acpi.h	Fri Sep 20 00:39:40 2002
@@ -345,12 +345,22 @@
 char * __acpi_map_table (unsigned long phys_addr, unsigned long size);
 unsigned long acpi_find_rsdp (void);
 int acpi_boot_init (char *cmdline);
+int acpi_numa_init (void);
 
 int acpi_table_init (char *cmdline);
-int acpi_table_parse (enum acpi_table_id, acpi_table_handler);
-int acpi_table_parse_madt (enum acpi_table_id, acpi_madt_entry_handler);
-void acpi_table_print (struct acpi_table_header *, unsigned long);
-void acpi_table_print_madt_entry (acpi_table_entry_header *);
+int acpi_table_parse (enum acpi_table_id id, acpi_table_handler handler);
+int acpi_get_table_header_early (enum acpi_table_id id, struct acpi_table_header **header);
+int acpi_table_parse_madt (enum acpi_madt_entry_id id, acpi_madt_entry_handler handler);
+int acpi_table_parse_srat (enum acpi_srat_entry_id id, acpi_madt_entry_handler handler);
+void acpi_table_print (struct acpi_table_header *header, unsigned long phys_addr);
+void acpi_table_print_madt_entry (acpi_table_entry_header *madt);
+void acpi_table_print_srat_entry (acpi_table_entry_header *srat);
+
+/* the following four functions are architecture-dependent */
+void acpi_numa_slit_init (struct acpi_table_slit *slit);
+void acpi_numa_processor_affinity_init (struct acpi_table_processor_affinity *pa);
+void acpi_numa_memory_affinity_init (struct acpi_table_memory_affinity *ma);
+void acpi_numa_arch_fixup(void);
 
 #endif /*CONFIG_ACPI_BOOT*/
 
to night I will update my web site and I will inform you. 
ok?

thanks
SérgioMB



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Patch against kernels 2.4.x release
       [not found]     ` <200209211635.51419.m.c.p-hi6Y0CQ0nG0@public.gmane.org>
@ 2002-09-22  1:45       ` Sérgio Monteiro Basto
       [not found]         ` <1032659130.1509.9.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Sérgio Monteiro Basto @ 2002-09-22  1:45 UTC (permalink / raw)
  To: Marc-Christian Petersen; +Cc: acpi-devel


http://codecs.home.sapo.pt/acpi/index.html


http://codecs.home.sapo.pt/acpi/acpi-20020918-2.4.18.diff.gz
http://codecs.home.sapo.pt/acpi/acpi-20020918-2.4.19.diff.gz

 



On Sat, 2002-09-21 at 10:35, Marc-Christian Petersen wrote:
> On Saturday 21 September 2002 21:30, Sérgio Monteiro Basto wrote:
> 
> Hi Sérgio,
> 
> > I already done the patches for kernels 2.4.19 and 2.4.18,
> > and I have 3 questions :
> where can I find those patches against 2.4.18 for current ACPI code? :)
> 
> -- 
> Kind regards
>         Marc-Christian Petersen
> 
> http://sourceforge.net/projects/wolk
> 
> PGP/GnuPG Key: 1024D/569DE2E3DB441A16
> Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
> Key available at www.keyserver.net. Encrypted e-mail preferred.
> 






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Re: Patch against kernels 2.4.x release
       [not found]         ` <1032659130.1509.9.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
@ 2002-09-22 10:34           ` Jurgen Kramer
  0 siblings, 0 replies; 5+ messages in thread
From: Jurgen Kramer @ 2002-09-22 10:34 UTC (permalink / raw)
  To: Sérgio Monteiro Basto; +Cc: Marc-Christian Petersen, acpi-devel

Hi Sergio,

Your patch works beautifully! I am currently running it on a modified
2.4.19 (rmap + preempt etc).

Thanks,

Jurgen

On Sun, 2002-09-22 at 03:45, Sérgio Monteiro Basto wrote:
    http://codecs.home.sapo.pt/acpi/index.html
    
    
    http://codecs.home.sapo.pt/acpi/acpi-20020918-2.4.18.diff.gz
    http://codecs.home.sapo.pt/acpi/acpi-20020918-2.4.19.diff.gz
    
     
    
    
    
    On Sat, 2002-09-21 at 10:35, Marc-Christian Petersen wrote:
    > On Saturday 21 September 2002 21:30, Sérgio Monteiro Basto wrote:
    > 
    > Hi Sérgio,
    > 
    > > I already done the patches for kernels 2.4.19 and 2.4.18,
    > > and I have 3 questions :
    > where can I find those patches against 2.4.18 for current ACPI code? :)
    > 
    > -- 
    > Kind regards
    >         Marc-Christian Petersen
    > 
    > http://sourceforge.net/projects/wolk
    > 
    > PGP/GnuPG Key: 1024D/569DE2E3DB441A16
    > Fingerprint: 3469 0CF8 CA7E 0042 7824 080A 569D E2E3 DB44 1A16
    > Key available at www.keyserver.net. Encrypted e-mail preferred.
    > 
    
    
    
    
    
    
    -------------------------------------------------------
    This sf.net email is sponsored by:ThinkGeek
    Welcome to geek heaven.
    http://thinkgeek.com/sf
    _______________________________________________
    Acpi-devel mailing list
    Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/acpi-devel
    
    



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

* Patch against kernels 2.4.x and incremental patches release
       [not found]       ` <200210051405.40079.m.c.p-hi6Y0CQ0nG0@public.gmane.org>
@ 2002-10-05 21:56         ` Sérgio Monteiro Basto
  0 siblings, 0 replies; 5+ messages in thread
From: Sérgio Monteiro Basto @ 2002-10-05 21:56 UTC (permalink / raw)
  To: Marc-Christian Petersen, acpi-devel; +Cc: Andrew Grover

On Sat, 2002-10-05 at 08:05, Marc-Christian Petersen wrote:
> On Saturday 05 October 2002 12:07, you wrote:
> 
> Hi Sérgio,
> 
> > > I haven't tested already and I am waiting for one response but if you
> > > want you can try incremental patch
> > > in http://codecs.home.sapo.pt/acpi/index.html
> > thnx alot! Downloaded, patched, compiling now :)
> works!! :-)
> 
> ciao, Marc
> 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2002-10-05 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-21 19:30 Patch against kernels 2.4.x and some questions Sérgio Monteiro Basto
     [not found] ` <1032636606.2215.49.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2002-09-21 14:35   ` Marc-Christian Petersen
     [not found]     ` <200209211635.51419.m.c.p-hi6Y0CQ0nG0@public.gmane.org>
2002-09-22  1:45       ` Patch against kernels 2.4.x release Sérgio Monteiro Basto
     [not found]         ` <1032659130.1509.9.camel-4/PLUo9XfK/yXfm4dIG/yWZHpeb/A1Y/@public.gmane.org>
2002-09-22 10:34           ` Jurgen Kramer
     [not found] ` <1033803567.30458.4.camel@darkstar.portugal>
     [not found]   ` <200210051207.09865.m.c.p@gmx.net>
     [not found]     ` <200210051405.40079.m.c.p@gmx.net>
     [not found]       ` <200210051405.40079.m.c.p-hi6Y0CQ0nG0@public.gmane.org>
2002-10-05 21:56         ` Patch against kernels 2.4.x and incremental patches release Sérgio Monteiro Basto

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