public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
To: Federico Di Gregorio <fog-NGVKUo/i/6DYtjvyW6yDsg@public.gmane.org>
Cc: "Grover,
	Andrew" <andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org
Subject: Re: CALL FOR TESTING
Date: Thu, 19 Sep 2002 14:44:50 +0100	[thread overview]
Message-ID: <20020919144450.T10583@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <1032428873.6326.5.camel-nTaTgD4n72I@public.gmane.org>; from fog-NGVKUo/i/6DYtjvyW6yDsg@public.gmane.org on Thu, Sep 19, 2002 at 11:47:53AM +0200

On Thu, Sep 19, 2002 at 11:47:53AM +0200, Federico Di Gregorio wrote:
> everything seems to work fine. how can i say if an interrupt has been
> wrongly assigned? anyway the only problem has always been there but i
> don't know if it is about irq:

So the problem exists in both the vanilla Marcelo kernel and in the
ACPI-patched kernel?  That doesn't seem like a reason to exclude the
ACPI patch from going in.

> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
> ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
> pci_bind-0194 [05] acpi_pci_bind         : Device 00:00:1f.03 not
> present in PCI namespace
> pci_bind-0194 [05] acpi_pci_bind         : Device 00:00:1f.06 not
> present in PCI namespace

Interesting ... could you send the output from /sbin/lspci -s 00: I
suspect a bug in your machine's _PRT -- it's describing routing for a
device which doesn't exist.  Maybe we should silently ignore that.

> ACPI: Power Resource [PFAN] (off)
> 
> and later:
> 
> acpi_processor-2115 [07] acpi_processor_get_inf: Invalid PBLK length [5]

Interesting.  The code does:

        else if (object.processor.pblk_length < 6)
                ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid PBLK length [%d]\n",
                        object.processor.pblk_length));
        else {
                pr->throttling.address = object.processor.pblk_address;
                pr->throttling.duty_offset = acpi_fadt.duty_offset;
                pr->throttling.duty_width = acpi_fadt.duty_width;
                pr->power.states[ACPI_STATE_C2].address =
                        object.processor.pblk_address + 4;
                pr->power.states[ACPI_STATE_C3].address =
                        object.processor.pblk_address + 5;
        }

so you're one element short, and that element is what tells us the address
to call to enter C3.  Clearly this is a broken BIOS, but I wonder if we
couldn't hande this more cleanly ...

	else if (object.processor.pblk_length < 4)
		ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid PBLK length [%d]\n",
			object.processor.pblk_length));
	else {
		pr->throttling.address = object.processor.pblk_address;
		pr->throttling.duty_offset = acpi_fadt.duty_offset;
		pr->throttling.duty_width = acpi_fadt.duty_width;
		if (object.processor.pblk_length >= 5)
			pr->power.states[ACPI_STATE_C2].address =
				object.processor.pblk_address + 4;
		if (object.processor.pblk_length >= 6)
			pr->power.states[ACPI_STATE_C3].address =
				object.processor.pblk_address + 5;
	}

Andy, what do you think?

-- 
Revolutions do not require corporate support.


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

  parent reply	other threads:[~2002-09-19 13:44 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19  6:27 CALL FOR TESTING Grover, Andrew
2002-09-21 13:13 ` ahaning-mn4gwa5WIIQysxA8WJXlww
2002-09-22  2:06 ` Shay Elkin
2002-09-22 14:11 ` Stephen Early
2002-09-25 14:45 ` Zdeněk OGAR Skalák
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DE80-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-09-19  7:26   ` Al
2002-09-19  9:47   ` Federico Di Gregorio
     [not found]     ` <1032428873.6326.5.camel-nTaTgD4n72I@public.gmane.org>
2002-09-19 13:44       ` Matthew Wilcox [this message]
     [not found]         ` <20020919144450.T10583-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-09-19 13:51           ` Federico Di Gregorio
     [not found]             ` <1032443504.6326.20.camel-nTaTgD4n72I@public.gmane.org>
2002-09-19 14:14               ` Matthew Wilcox
     [not found]                 ` <20020919151416.U10583-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2002-09-23 23:09                   ` KOCHI, Takayoshi
2002-09-19 10:10   ` Dirk Meul
2002-09-19 11:41   ` Knut Neumann
     [not found]     ` <1032435715.338.5.camel-s1IKGncK6J2OERECOqmV57dB6IYNvbhm87tLKu7D3g4@public.gmane.org>
2002-09-18  5:54       ` Pavel Machek
     [not found]         ` <20020918055456.H202-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-09-25 22:01           ` kneumann-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX
     [not found]             ` <Pine.SOL.4.21.0209252358150.12078-100000-gIrQFgUln/g@public.gmane.org>
2002-09-26 20:14               ` Pavel Machek
2002-09-26  0:37           ` Ernst Herzberg
     [not found]             ` <200209260237.25534.earny-euM3SP4ZHrg@public.gmane.org>
2002-09-26  2:06               ` Ernst Herzberg
     [not found]                 ` <200209260406.48808.earny-euM3SP4ZHrg@public.gmane.org>
2002-09-30  2:00                   ` Pavel Machek
     [not found]                     ` <20020930020016.A90-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-10-01  4:50                       ` Ernst Herzberg
2002-10-03 22:11                       ` Ernst Herzberg
2002-09-19 12:38   ` Testing: NVidia closed driver fails P. Christeas
     [not found]     ` <200209191241.g8JCfN303320-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-19 15:06       ` Ducrot Bruno
     [not found]         ` <20020919150652.GC311-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-09-19 20:08           ` Jochen Reinwand
     [not found]             ` <200209192208.40254.jbr.1-hi6Y0CQ0nG0@public.gmane.org>
2002-09-19 22:11               ` P. Christeas
     [not found]                 ` <200209192215.g8JMEv306270-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-19 23:48                   ` Patrick Mochel
     [not found]                     ` <Pine.LNX.4.44.0209191645050.961-100000-yZQdDDOm3n9ZQn2sFP3R7eTW4wlIGRCZ@public.gmane.org>
2002-09-20 10:06                       ` Jochen Reinwand
2002-09-22 13:18                   ` P. Christeas
     [not found]                     ` <200209221321.g8MDLb009922-a1J+ToZc0kR3t0M9ZKkFCQ@public.gmane.org>
2002-09-22  0:53                       ` Pavel Machek
     [not found]                         ` <20020922005310.B35-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-09-23 15:09                           ` Charl P. Botha
     [not found]                             ` <20020923150937.GA12513-V1rPnKwUOrA59+mn7qD7y50iERQUc4G+@public.gmane.org>
2002-09-22  4:31                               ` Pavel Machek
     [not found]                                 ` <20020922043148.B35-muQmgwBScQHrBKCeMvbIDA@public.gmane.org>
2002-09-24 21:33                                   ` Charl P. Botha
2002-09-25 15:26                                     ` Shay Elkin
2002-09-25 15:51                                       ` Shay Elkin
2002-09-23 19:02                           ` Maciek Gorniak
2002-09-19 12:57   ` CALL FOR TESTING Cyril Bitterich
     [not found]     ` <20020919145745.246daed7.Cyril.Bitterich-jNDFPZUTrfTbB13WlS47kxGsIjC5xiiLhC4ANOJQIlc@public.gmane.org>
2002-09-18  5:59       ` Pavel Machek
2002-09-19 14:44   ` Al
     [not found]     ` <20020919164430.46e66351.al-PoJXY7Eze0c@public.gmane.org>
2002-09-19 15:05       ` Al
2002-09-19 16:29   ` CALL FOR TESTING - tosk3k-601 Carlos Morgado
2002-09-19 17:03   ` CALL FOR TESTING Francesco Mosca
2002-09-19 18:37   ` Ernst Herzberg
2002-09-19 19:00   ` Jurgen Kramer
2002-09-19 20:02   ` Ville Syrjälä
2002-09-19 23:08   ` Andy Dustman
2002-09-19 23:29   ` Frédéric Bothamy
2002-09-20 11:45   ` Arnaud Fevrier
2002-09-20 20:07   ` Thomas Winkler
2002-09-21 19:02   ` Sérgio Monteiro Basto
2002-09-22 11:41   ` Stephen White
2002-09-22 20:36   ` Maciek Gorniak
2002-09-23 18:06   ` Sebastian Zimmermann
2002-09-23 18:58   ` Tundra Slosek
2002-09-23 19:46   ` tundras-SmH/eyArkOtWk0Htik3J/w
2002-09-25 10:57   ` Mattia Dongili
2002-09-27 23:44   ` James H. Cloos Jr.
2002-10-20 15:20   ` still hangs on boot with asus am1354d Francesco Mosca
  -- strict thread matches above, loose matches on Subject: below --
2002-09-19 16:35 CALL FOR TESTING Grover, Andrew
2002-09-19 16:42 Grover, Andrew
2002-09-19 16:49 Grover, Andrew
2002-09-19 17:13 Grover, Andrew
     [not found] ` <EDC461A30AC4D511ADE10002A5072CAD0236DE8C-OU+JdkIUtvd9zuciVAfUoVDQ4js95KgL@public.gmane.org>
2002-09-20  9:48   ` Francesco Mosca
2002-09-27  7:43   ` Hiromichi Ito
2002-09-19 20:09 Grover, Andrew
2002-09-20 12:28 Bernd Pfrommer
2002-09-20 14:32 joerg.beyer-htSm2yLGOjU
2002-09-20 18:10 Grover, Andrew
     [not found] <EDC461A30AC4D511ADE10002A5072CAD0236DE80@orsmsx119.jf.inte l.com>
2002-09-20 21:44 ` Alberto Ornaghi
2002-09-21  2:04 Herbert Poetzl
2002-09-21 17:07 Philipp Matthias Hahn
     [not found] <E17rvjI-0001mI-00@usw-sf-list2.sourceforge.net>
     [not found] ` <E17rvjI-0001mI-00-HKCwXBn57GynvZpeIfgr/KQD96bmaF075NbjCUgZEJk@public.gmane.org>
2002-09-22  8:32   ` Thomas Kosch
2002-09-23 21:17 Chris A. Giorgi
2002-09-23 23:29 Lee, Jung-Ik
2002-09-24 20:20 Moore, Robert

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=20020919144450.T10583@parcelfarce.linux.theplanet.co.uk \
    --to=willy-8fiuurrzop0dnm+yrofe0a@public.gmane.org \
    --cc=acpi-devel-pyega4qmqnRoyOMFzWx49A@public.gmane.org \
    --cc=andrew.grover-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=fog-NGVKUo/i/6DYtjvyW6yDsg@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