public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Georg C. F. Greve" <greve-mXXj517/zsQ@public.gmane.org>
To: "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: "Bruno Ducrot" <ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>,
	"Sérgio Monteiro Basto"
	<sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org>,
	acpi-devel
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: Re: [Fwd: Re: [PROBLEM] 2.6.3-rc1: still no suspend/resume on Centrino notebook (contains agp, lapic, swsusp)]
Date: Wed, 11 Feb 2004 13:50:02 +0100	[thread overview]
Message-ID: <m3d68l3hmt.fsf@reason.gnu-hamburg> (raw)
In-Reply-To: <m3smhhakb3.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org> (Georg C. F. Greve's message of "Wed, 11 Feb 2004 13:10:24 +0100")


[-- Attachment #1.1: Type: text/plain, Size: 1921 bytes --]

 || On Wed, 11 Feb 2004 11:04:55 +0800
 || "Yu, Luming" <luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote: 

 yl> To issue of booting hang with APIC &ACPI, please verify
 yl> http://bugzilla.kernel.org/attachment.cgi?id=1257&action=view can
 yl> help. Maybe we need to figure out what's wrong with the SMM &
 yl> APIC timer.


 || On Wed, 11 Feb 2004 13:10:24 +0100
 || "Georg C. F. Greve" <greve-mXXj517/zsQ@public.gmane.org> wrote: 

 gg> Just checked this, compiled a 2.6.2 with ACPI 20040116 + the
 gg> patch above. That patch rejects on arch/i386/kernel/apic.c
 gg> because the ACPI patch (I believe) contains a half-fix for the
 gg> issue, so the setup routine looks like

 gg>  ver = GET_APIC_VERSION(apic_read(APIC_LVR));
 gg>  lvtt_value = APIC_LVT_TIMER_PERIODIC | LOCAL_TIMER_VECTOR;
 gg>  if (!APIC_INTEGRATED(ver))
 gg>     lvtt_value |= SET_APIC_TIMER_BASE(APIC_TIMER_BASE_DIV);
 gg>  apic_write_around(APIC_LVTT, lvtt_value);

 gg> the patch applies fine to drivers/acpi/bus.c, which is apparently
 gg> missing in the ACPI 20040116 patch.

Interesting side-effect: the kernel doesn't compile with ACPI but no
APIC enabled. 

Apparently, the patch for drivers/apci/bus.c should have some "ifdefs"
added to make sure these calls only get included when LAPIC is
enabled:

drivers/built-in.o(.init.text+0xf12): In function `acpi_bus_init':
: undefined reference to `disable_APIC_timer'
drivers/built-in.o(.init.text+0xf9c): In function `acpi_bus_init':
: undefined reference to `enable_APIC_timer'
drivers/built-in.o(.init.text+0xff5): In function `acpi_bus_init':
: undefined reference to `enable_APIC_timer'
make: *** [.tmp_vmlinux1] Error 1

Regards,
Georg

-- 
Georg C. F. Greve                                       <greve-mXXj517/zsQ@public.gmane.org>
Free Software Foundation Europe	                 (http://fsfeurope.org)
Brave GNU World	                           (http://brave-gnu-world.org)

[-- Attachment #2: Type: application/pgp-signature, Size: 258 bytes --]

  parent reply	other threads:[~2004-02-11 12:50 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-11  3:04 [Fwd: Re: [PROBLEM] 2.6.3-rc1: still no suspend/resume on Centrino notebook (contains agp, lapic, swsusp)] Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB68D-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-11 12:10   ` Georg C. F. Greve
     [not found]     ` <m3smhhakb3.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-02-11 12:36       ` Bruno Ducrot
     [not found]         ` <20040211123601.GN13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-11 13:16           ` Georg C. F. Greve
     [not found]             ` <m3smhhycwz.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-02-11 17:58               ` Bruno Ducrot
     [not found]                 ` <20040211175842.GO13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-12 11:06                   ` Georg C. F. Greve
     [not found]                     ` <m37jys5zhh.fsf-glUV91rXKAHWIjgkaejU9x2eb7JE58TQ@public.gmane.org>
2004-02-12 11:53                       ` Luca Capello
2004-02-11 12:50       ` Georg C. F. Greve [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-02-12  3:07 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB6A7-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-12  9:46   ` Bruno Ducrot
2004-02-11  3:09 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB68E-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-11  3:28   ` Sérgio Monteiro Basto
2004-02-11 11:01   ` Bruno Ducrot
2004-02-11  1:34 Yu, Luming
     [not found] ` <3ACA40606221794F80A5670F0AF15F8401CBB68A-SRlDPOYGfgogGBtAFL8yw7fspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-02-11 10:55   ` Karol Kozimor
     [not found]     ` <20040211105531.GA30647-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-02-11 11:01       ` Dave Jones
     [not found]         ` <20040211110154.GJ12634-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2004-02-11 11:25           ` Karol Kozimor
     [not found]             ` <20040211112505.GE30647-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-02-11 11:32               ` Dave Jones
2004-02-11 14:48               ` Georg C. F. Greve
2004-02-15 19:36               ` Karol Kozimor
2004-02-10  0:58 Sérgio Monteiro Basto
     [not found] ` <1076374686.3429.1.camel-4/PLUo9XfK8@public.gmane.org>
2004-02-10 10:32   ` Georg C. F. Greve
     [not found]     ` <m3oes76x8l.fsf-eMhNhoSsuh6q92djB/mqZw@public.gmane.org>
2004-02-10 19:48       ` Dave Jones
     [not found]         ` <20040210194816.GD12634-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2004-02-10 20:53           ` Georg C. F. Greve
2004-02-11  2:22       ` Huw Rogers
2004-02-10 10:34   ` Bruno Ducrot
     [not found]     ` <20040210103409.GH13262-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2004-02-10 14:03       ` Georg C. F. Greve

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d68l3hmt.fsf@reason.gnu-hamburg \
    --to=greve-mxxj517/zsq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=ducrot-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org \
    --cc=luming.yu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=sergiomb-hHo3WeeoaswVhHzd4jOs4w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox