Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: curlycopland
Yesterday 07:22 PM
» Replies: 23
» Views: 12273
[REQUEST] Acer Aspire 9300 BIOS Unlock
Last Post: Geortor
Yesterday 04:01 PM
» Replies: 10
» Views: 2220
Lenovo ThinkCentre M700 10GS - Kaby Lake...
Last Post: DeathBringer
Yesterday 02:55 PM
» Replies: 10
» Views: 3755
[Request] Asus H110M-R Mainboard - Xeon ...
Last Post: kusslegyen
Yesterday 02:04 PM
» Replies: 14
» Views: 6722
LGA771 Bios Microcode for HP dc7800 sff
Last Post: Netuser232
Yesterday 01:27 PM
» Replies: 136
» Views: 92051
Dell Vostro 3500 full unlocked
Last Post: kamilchno
Yesterday 10:51 AM
» Replies: 0
» Views: 42
Bios logo
Last Post: Nkosenhle
Yesterday 10:43 AM
» Replies: 0
» Views: 47
Gigabyte AORUS 5 (KB/SB/MB) BIOS Unlock
Last Post: Dudu2002
Yesterday 10:41 AM
» Replies: 18
» Views: 4769
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 09:09 AM
» Replies: 1730
» Views: 671832
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: willow25565
Yesterday 02:06 AM
» Replies: 1090
» Views: 451022
[REQUEST] Lenovo Thinkpad Edge E430 & E5...
Last Post: RuryGame
11-25-2024 06:23 PM
» Replies: 494
» Views: 171161
2x CPU Dell Workstation BIOS modding
Last Post: William P
11-25-2024 03:30 PM
» Replies: 0
» Views: 85
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
11-25-2024 01:28 PM
» Replies: 492
» Views: 186018
[Request] ECS P6LX-A bios mod for HDD si...
Last Post: pdesrosiers
11-24-2024 11:20 PM
» Replies: 0
» Views: 348
Sony Vaio AW11Z - Support for Quad CPU -...
Last Post: lala2025
11-24-2024 08:19 PM
» Replies: 12
» Views: 3867
[REQUEST] HP Pavilion G42-272BR Whitelis...
Last Post: eepromm
11-24-2024 06:14 PM
» Replies: 1
» Views: 197
[REQUEST] Bios for packard bell tj65 wit...
Last Post: THECAIDA
11-24-2024 03:49 PM
» Replies: 2
» Views: 155
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
11-24-2024 02:47 PM
» Replies: 476
» Views: 168730
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: tarikyeter
11-24-2024 02:44 PM
» Replies: 236
» Views: 89338
[REQUEST] Remove whitelist in a Panasoni...
Last Post: coco62
11-24-2024 11:20 AM
» Replies: 2
» Views: 1611

Acer Travelmate 5530G CPU upgrade to Turion Ultra ZM-87 - thermal throttling
#41
There are hidden options but they are not related to CPU thermal throttling at all.

If you use my modified BIOS image & you like it, please consider making a donation. Thank you very much. Smile
Donate Here
find
quote
#42
I've tried looking for a BIOS for AMD M780G with a smaller MISER module, but it seems hopeless Sad. The Acer Ferrari 1200, Aspire 5530G all have larger modules. My best bet would be the HP Pavilions, because I have seen a DV5 run this very processor flawlessly, but those are Insyde. I've also tried the Toshiba Satellite A300D, but that doesn't seem to be Phoenix, and I couldn't find a BIOS for the Satellite T110-00C.
Maybe I'll check how the Lenovo X220 got its BIOS repaired (compare the earlier version with the patched one), if it is Phoenix.

EDIT: I had another idea, in the case of the Alienware M17xR1 the throttling issue was solved in BIOS rev A07 with an EC patch. What if my problem is also connected to the embedded controller somehow?

EDIT2: Didn't read through it yet (just skimmed it), but this is interesting too: http://forum.notebookreview.com/asus-gam...ation.html
Especially the wikia link in the first post that mentions a certain MSR tool. If I could find out how to set the registers for my laptop to stop throttling, that would be sweet!
BIOS and Kernel Developer's Guide for AMD Family 11h Processors page 152, "F3x64 Hardware Thermal Control (HTC) Register". Looks promising enough Smile
find
quote
#43
I went further in investigating the MSR-method, as I have no more ideas left in editing the BIOS. I found this page which has an answer describing an automated way of editing an MSR at boot time using RW-Everything.
The problem I'm facing is that I've been reading the BKDG I've linked in the previous post, and I can't even access all the model specific registers listed there, because I don't fully understand all the mnemonics used. When I'm writing to a register, I can refer to it with its address that can be between 0x0 and 0x7FFFFFFF according to RT MSR Tool. Now how do I translate MSRC001_0061 to the previous format (see page 93 of BKDG that doesn't explain a whole lot)? Accessing the F3x64 register will be interesting too, but there seems to be some section in the BKDG explaining that...

EDIT: This header file from CoreBoot's repository (from the AGESA section too, which is even more interesting. Maybe I'll have to try switch the AGESA modules around too?) contains definitions for MSR registers. For example:
Code:
#define MSRC001_001A_ADDRESS 0xc001001a
According to this, MSRC001_0061 should have an address of 0xc0010061. Duh!

EDIT2: And it totally works too! I've tried setting the smallest allowed p-state to 0 (2.4 GHz) and I immediately got a BSOD Big Grin. But that's because that register was read-only hehe Big Grin, got a little carried away there...
I was also able to set the current p-state via the registers. This might actually be a viable workaround!
[Image: 26126bo.jpg]
find
quote
#44
I think I have an idea. Please dump all DSDT & SSDT tables using AIDA64 (ACPI Tool). P-states are defined in SSDT tables. If we can modify it, put it in DSDT & overload the modified DSDT in windows, I think we can stop the thermal throttling (like you did: set lowest P-State to 0).

If you use my modified BIOS image & you like it, please consider making a donation. Thank you very much. Smile
Donate Here
find
quote
#45
You can find the relevant information on the P-States ACPI object (_PSS) in this post. But I don't know whether this also applied to AMD processor or not.

If you use my modified BIOS image & you like it, please consider making a donation. Thank you very much. Smile
Donate Here
find
quote
#46
Great idea Smile! I say let's try this first, but if we 'hardwire' a constant p-state of 0 into the laptop, then there's no way I'll ever be able to use the power saving power plan on the rare occasion I do use it without an AC source in sight, won't I?.
If this works then at least we'll know of a working method to solve this problem.
I think I've seen that part of the SSDT a year ago when I was learning how to correct at least the syntactical defects of the DSDT for Linux not to behave funny (if I changed the brightness using the Fn keys, then the kacpi module would go nuts and get stuck in a loop using the CPU at a 100%).
Now that I think of it, how do you set the lowest p-state by editing the _PSS object? By modifying the status field of a p-state package in order to fool the computer into believing that it's already at the lowest p-state?


Attached Files
.rar   dsdt_ssdt.rar (Size: 15.28 KB / Downloads: 3)
find
quote
#47
Meanwhile I managed to interpret the F3x64 type mnemonics too, which is actually also a piece of basic IT knowledge in case anyone's interested. Here's the section explaining the mnemonic in the BKDG:
Quote:FYxXXX: PCI-defined configuration space; XX X specifies the byte address of the configuration register
(this may be 2 or 3 digits); Y specifies the function number; e.g., F3x40 specifies the register at function 3,
address 40. See 2.11 [Configuration Space], for details about configuration space. Each processor includes
five functions, 0 through 4
A quick check on wikipedia to see how PCI config spaces actually work: http://en.wikipedia.org/wiki/PCI_configu...nformation. Y as a function number fits in with the bus/device/function notation. But which bus and device number do we need? Since each processor must include 5 functions, that shall give us a clue.
Now if we open our trustworthy RW-Everything and go to the PCI Devices section, from the drop down menu we see that only one device has 5 functions. In my case that is Bus 00, Device 18 - AMD Host Bridge.
[Image: PCIdevs.png]
For the "F3x64 Hardware Thermal Control (HTC) Register" we need Bus 00, Device 18, Function 03. Now, F3x64, 0x64 = 100 is the offset where we should look for our 4-byte register:
[Image: F3x64.png]
Starting with the highlighted byte on the picture above, those 4 bytes make up the HTC register. One shouldn't forget that little-endian is used. The actual contents of the register on the picture for example: 1E 42 00 00 where 1E contains bits no. 31..24 and so on.
In binary form: 00011110 01000010 00000000 00000000 . HTCPstateLimit is read from bits 30 to 28 => the p-state limit of all cores when in HTC state is 001 which would be 1.2 GHz in the case of the ZM-87. That's odd...
And that's pretty much it, I haven't tried yet, but if I set some bits according to the BKDG just at the right place, I can change the HTC temperature limit, or disable HTC altogether.

EDIT: OK, made several errors writing this post, the first of them was forgetting that the offsets given in the mnemonic are hexadecimal, the second is that the offsets aren't counted after the first 64 standardized bytes of the PCI config space, but from 0 (no idea why I made the assumption). Hopefully this post makes sense now.
find
quote
#48
Right, so now that I really understand what I'm doing with RW-Everything, I could do some experiments.
I've set the topmost bit of F3xE4, alias SwThermtp. This is write-only, and when set to 1 it induces a THERMTRIP event. What that did was immediately restart the computer. I guess that makes sense if the critical temperature is reached...
Now I'm really able to enable/disable HTC, but it has no effect on the thermal throttling/passive cooling phenomenon.
I can also read the temperature directly from the register, not that it helps much other than verify that I'm not mixing things anymore.
So I think I'll need to keep reading the BKDG for a truly useful register.
find
quote
#49
Good job Blasku. Please keep post any of your finding here.

Your post make me understand better on the PCI configuration & registers. For weeks now I tried to figure out how to modify PCI space (32-bit vs. 36-bit space) & modify other PCI register like TOLUD (Top of Low Usable DRAM)

If you use my modified BIOS image & you like it, please consider making a donation. Thank you very much. Smile
Donate Here
find
quote
#50
OK, sure thing Smile. BTW, in my system all of the registers that have something to do with DRAM are in Function 2 config space. Pages 115 through 138 in BKDG, I don't know how much this might differ (a lot?) in an Intel system.

I've decided to clear up the remaining register mnemonics (X and Y are hexadecimal digits):
  • SMMXXX: System Management Mode registers, used for system control activities and are transparent/available to the OS. These activities include power management, too. These aren't something one can just simply modify/read though. This will also be the case with IOXXX registers. This means that there are only a handful of registers that have to be loaded with some data and most importantly the ID of a function, and when the function is executed, then some other registers will contain the result. Not exactly manageable by RW-Everything, but if one's willing to write a program for this in assembly, then it's usable.
  • IOXXX: Also a pain in the [censored] to use outside program code...
  • FYxXXX: See post #49
  • APICXX: First, the APIC address base register has to be read in order to find any of the APIC registers. That would be MSR0000_001B. Bits 39 to 12 will contain the memory base address. This is very often 0xFEE00 for both cores, as in my case too. Only 2 other information stored in this register: whether APIC is even enabled, and which core is BSC (that will have this set to 1 obviously).
    Now, in the Memory Dump section of RW-Everything, you should enter 0xFEE00 + 0xXX for the address, and the required register will be at offset 0. For example: APIC20 would be 0xFEE00 + 0x20 = 0xFEE20 . Then the same drill for reading the registers (little-endian, 4 byte long etc.).
    I think this is the correct way to access these registers, but I may be dead wrong since I don't have an application like k10stat to verify the data that I read from these parts of the memory...
  • CPUID FnXXXX_XXXX: Not very interesting, since these are read-only and only provide information about the CPU that we can get with a ton of programs already written just for this purpose.
  • MSRXXXX_XXXX: See post #45

Now, all I've got to do is read through section 2.4 (Power Management) and maybe 2.3 (Processor Initialization) of the BKDG, then I might have some more ideas Wink.

EDIT: Well, after reading those 10-12 pages from the document it seems that what's truly interesting is the F3xDC register, where I can actually set the lowest p-state without having to worry about a general protection fault (i.e. it's not read-only). Will give that a try...
find
quote


Forum Jump:


Users browsing this thread: 21 Guest(s)