public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Herman Sheremetyev <mlists-6MNMYbGzEYJWk0Htik3J/w@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: PBLK length again
Date: Thu, 24 Jun 2004 14:08:31 -0400	[thread overview]
Message-ID: <1088100511.10272.61.camel@camel> (raw)
In-Reply-To: <20040624162117.GA697-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>

Hi Karol,

> Well, since Intel shipped / still ships chipsets that actually do have a 
> PBLK of length 7, that's somehow odd.
> Best regards,

If what you're saying is right then this patch should probably be included 
in the main source since right now value of 6 is the only one hardcoded in
to be accepted.  Is there some other place than this list I should submit it?

Thanks,

-Herman

--- linux-2.6.7/drivers/acpi/processor.c        2004-06-20 14:49:10.066168648 -0400
+++ linux-2.6.7.hack/drivers/acpi/processor.c   2004-06-19 21:26:33.000000000 -0400
@@ -2214,7 +2230,8 @@

        if (!object.processor.pblk_address)
                ACPI_DEBUG_PRINT((ACPI_DB_INFO, "No PBLK (NULL address)\n"));
-       else if (object.processor.pblk_length != 6)
+       else if ((object.processor.pblk_length != 6 ) &&
+               (object.processor.pblk_length != 7 ))
                ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Invalid PBLK length [%d]\n",
                        object.processor.pblk_length));
        else {
@@ -2233,7 +2250,7 @@
                 *
                 * (In particular, allocating the IO range for Cardbus)
                 */
-               request_region(pr->throttling.address, 6, "ACPI CPU throttle");
+               request_region(pr->throttling.address, object.processor.pblk_length, "ACPI CPU throttle");
                request_region(acpi_fadt.xpm_tmr_blk.address, 4, "ACPI timer");
        }




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

  parent reply	other threads:[~2004-06-24 18:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-20  2:55 patch & a question about the serial driver Dino Klein
     [not found] ` <BAY16-F112kKIBXEHt30004aded-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
2004-06-20 15:47   ` Matthew Wilcox
     [not found]     ` <20040620154726.GT20511-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2004-06-20 22:20       ` PBLK length again Herman Sheremetyev
     [not found]         ` <1087770015.23371.27.camel-l85cmlzfk8I@public.gmane.org>
2004-06-21 20:05           ` Luca Capello
     [not found]             ` <40D73F9E.4030805-wlebWZzHoyE@public.gmane.org>
2004-06-21 20:40               ` Herman Sheremetyev
     [not found]                 ` <1087850404.2501.43.camel-O4LVqDAXoJg@public.gmane.org>
2004-06-23 13:32                   ` Stefan Seyfried
     [not found]                     ` <20040623133208.GA3152-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2004-06-24 16:21                       ` Karol Kozimor
     [not found]                         ` <20040624162117.GA697-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-06-24 18:08                           ` Herman Sheremetyev [this message]
2004-06-24 21:44                           ` Stefan Seyfried
2004-06-25 11:51                   ` Luca Capello

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=1088100511.10272.61.camel@camel \
    --to=mlists-6mnmybgzeyjwk0htik3j/w@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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