Skip to contentSkip to conversation

Invalid PBLK length

DISCUSSION Adachi, Kenichi 2 participants 2 messages Dec 18, 2002 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

I didn't check code, but if that said address space type 127 does mean "Functi onal Fixed Hardware (0x7F)", then your processor expects that OS processor dri ver knows the specific address to control voltage scaling state transition. Us ually it's done by accessing MSRs. This has been true for AMD PowerNow! and Tr ansmeta LongRun, and Intel's new Geyserville I/F which will be unveiled on Ban ias in the near future. These are mostly under NDA, therefore I can't be speci fic, however there're several public documents which explain this stuff a bit more.

So if my guess is correct, your BIOS is not bad. To enable processor performan ce control on your machine, Linux needs inputs from CPU vendors.

Quoted 18 lines
Quoted 6 lines

I also see in dmesg that there's an unsupported address space of 127 in acpi_processor_get_performance_control because reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO. But I don't know enough C to understand where this comes from. Could somebody please give me a hint?

ACPI tells you which address space a given address is in:

#define ACPI_ADR_SPACE_SYSTEM_MEMORY    (ACPI_ADR_SPACE_TYPE) 0
#define ACPI_ADR_SPACE_SYSTEM_IO        (ACPI_ADR_SPACE_TYPE) 1
#define ACPI_ADR_SPACE_PCI_CONFIG       (ACPI_ADR_SPACE_TYPE) 2
#define ACPI_ADR_SPACE_EC               (ACPI_ADR_SPACE_TYPE) 3
#define ACPI_ADR_SPACE_SMBUS            (ACPI_ADR_SPACE_TYPE) 4
#define ACPI_ADR_SPACE_CMOS             (ACPI_ADR_SPACE_TYPE) 5
#define ACPI_ADR_SPACE_PCI_BAR_TARGET   (ACPI_ADR_SPACE_TYPE) 6
#define ACPI_ADR_SPACE_DATA_TABLE       (ACPI_ADR_SPACE_TYPE) 7
Quoted 5 lines

processor.c is telling you it only handles ioport (inb/outb) address spaces. But 127 is not a valid address space value, so you're going to have to get an updated BIOS from your vendor. There's really no reasonable way to fix this.

-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/

A message that is not in the archive (sent off-list or not yet received): 4e353e0091944930a0$NiftyInterway-fFkzxiWP14B3+QwDJ9on6Q@public.gmane.org

#2 lore raw
Quoted 8 lines · Kenichi

I didn't check code, but if that said address space type 127 does mean "Functi onal Fixed Hardware (0x7F)", then your processor expects that OS processor dri ver knows the specific address to control voltage scaling state transition. Us ually it's done by accessing MSRs. This has been true for AMD PowerNow! and Tr ansmeta LongRun, and Intel's new Geyserville I/F which will be unveiled on Ban ias in the near future. These are mostly under NDA, therefore I can't be speci fic, however there're several public documents which explain this stuff a bit more.

you're right. Andy, could we add something like this?

acpi/include/actypes.h 18 Dec 2002 15:28:47 -0000 renamed from acpi/include/actypes.h 10 Dec 2002 22:02:09 -0000 1.6 +1 -0
diff -u -p -r1.6 actypes.h
@@ -579,6 +579,7 @@ typedef u8                              
 #define ACPI_ADR_SPACE_CMOS             (ACPI_ADR_SPACE_TYPE) 5
 #define ACPI_ADR_SPACE_PCI_BAR_TARGET   (ACPI_ADR_SPACE_TYPE) 6
 #define ACPI_ADR_SPACE_DATA_TABLE       (ACPI_ADR_SPACE_TYPE) 7
+#define ACPI_ADR_SPACE_FIXED_HARDWARE  (ACPI_ADR_SPACE_TYPE) 127
 
 
 /*
Signature · 10 lines
"It's not Hollywood.  War is real, war is primarily not about defeat or
victory, it is about death.  I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/