[PATCH] ACPI:introduce boot option acpi=rsdt_forced

2007-08-20 Thread Zhao Yakui
Subject: ACPI: introduce boot option acpi=rsdt_forced From: Zhao Yakui [EMAIL PROTECTED] Maybe XSDT has NULL entry address. When it is found that XSDT has NULL entry address, the promote info is given to user (XSDT has NULL entry address, please try to boot with acpi=rsdt_forced). The system had

[Patch]: ACPI: Force to use RSDT when XSDT has NULL entry

2007-08-24 Thread Zhao Yakui
Subject: ACPI: Force to use RSDT when XSDT has NULL entry From: Zhao Yakui [EMAIL PROTECTED] Maybe XSDT has NULL entry address. When it is found that XSDT has NULL entry address, the promote info is given to user (XSDT has NULL entry address, RSDT is used automatically ) and RSDT is used

[PATCH]:ACPI Using the ACPI status code in function of hpet_resources

2007-09-20 Thread Zhao Yakui
Subject: ACPI: Using the ACPI status code in function of hpet_resources From: Zhao Yakui [EMAIL PROTECTED] If hpet has been initialized before registering hpet driver, the callback function of hpet_resources will return the status code of -EBUSY, which is not defined in the ACPI exception

[PATCH] ACPI:avoid printing the error message that processor device is not present

2007-10-07 Thread Zhao Yakui
Subject: ACPI: avoid printing the info that processor device is not present From: Zhao Yakui [EMAIL PROTECTED] Four processors are defined in the DSDT table, which means that quad-core cpu is supported. But dual-core cpu is installed on the system. In the initialization OS will check whether

[RFC] [PATCH] ACPI :Modify timer override connection in Some NVIDIA systems

2007-10-12 Thread Zhao Yakui
. If the error exists, modify the timer override connection. Welcome the comments. Thanks. Subject: ACPI :Modify timer override connection in Some NVIDIA systems From : Zhao Yakui [EMAIL PROTECTED] BIOS defines the uncorrect timeroverride connection in some NVIDIA systems on which HPET timer exists. When

Re: [PATCH] ACPI:avoid printing the error message that processor device is not present

2007-10-14 Thread Zhao Yakui
On Tue, 2007-10-09 at 23:43 -0400, Len Brown wrote: On Sunday 07 October 2007 23:35, Zhao Yakui wrote: Subject: ACPI: avoid printing the info that processor device is not present From: Zhao Yakui [EMAIL PROTECTED] Four processors are defined in the DSDT table, which means that quad-core

Re: [RFC] [PATCH] ACPI :Modify timer override connection in Some NVIDIA systems

2007-10-17 Thread Zhao Yakui
On Tue, 2007-10-16 at 23:51 +0200, Andi Kleen wrote: On Tuesday 16 October 2007 23:07:29 Chuck Ebbert wrote: Do I need something more than early-quirks-unification and nvidia-timer-quirk? Because those two don't fix anything; I have to manually force acpi_use_timer_override to get

[RFC] [PATCH]:Obtain FSB ratio from model string

2007-10-25 Thread Zhao Yakui
model string. b. revert the commit until the proper patch is available. http://git.kernel.org/?p=linux/kernel/git/torvalds/old-2.6-bkcvs.git;a=commit;h=3e4159ab35c88aef5e063ba78796b277b762a30a Subject: ACPI :Obtain FSB ratio from model string when model is less than 2 From : Zhao Yakui [EMAIL

[Patch_4/4] [ACPI]:Add MSR support for T-States

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Add MSR support for T-States From : Zhao Yakui [EMAIL PROTECTED] Add throttling control via MSR when T-states uses the FixHW Control/ Status registers. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li Shaohua [EMAIL PROTECTED] --- arch/x86/kernel/acpi/processor.c

[PATCH_1/4] [ACPI]:Add the _TPC throttling limit for TSS

2007-11-07 Thread Zhao Yakui
Subject: ACPI :Add the _TPC throttling limit for TSS From : Zhao Yakui [EMAIL PROTECTED] When T-state limit change notification is received, OSPM should evaluate the _TPC object and change the current T-State according to the new limit. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off

[Patch_3/4][ACPI]:Throttling control uses T-states returned by _TSS when _TSS exists

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Throttling control uses T-states returned by _TSS when _TSS exists From : Zhao Yakui [EMAIL PROTECTED] If _TSS exists, throttling control will use the T-states returned by _TSS. Otherwise the calculated T-states from FADT.duty_width are used. When TSS is used , the access width

[PATCH_2/4] [ACPI]: Modify the ACPI I/O Access width

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Modify the ACPI I/O Access width From : Zhao Yakui [EMAIL PROTECTED] When the argument width is not the multiple of eight, the acpi I/O access will fail. Modify the acpi I/O access width to the multiple of eight. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li

[PATCH] [ACPI ]: Init PDC before getting throttling info

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Init PDC before getting throttling info From : Zhao Yakui [EMAIL PROTECTED] The throttling info should be obtained after PDC is initialized. Otherwise the cpus maybe use the different PTC control/status register when the system supports the TSS throttling via ACPI MSR. One uses

[Patch_4/4] [ACPI]:Add MSR support for T-States

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Add MSR support for T-States From : Zhao Yakui [EMAIL PROTECTED] Add throttling control via MSR when T-states uses the FixHW Control/ Status registers. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li Shaohua [EMAIL PROTECTED] --- arch/x86/kernel/acpi/processor.c

[PATCH_2/4] [ACPI]: Modify the ACPI I/O Access width

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Modify the ACPI I/O Access width From : Zhao Yakui [EMAIL PROTECTED] When the argument width is not the multiple of eight, the acpi I/O access will fail. Modify the acpi I/O access width to the multiple of eight. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li

[Patch_3/4][ACPI]:Throttling control uses T-states returned by _TSS when _TSS exists

2007-11-07 Thread Zhao Yakui
Subject: ACPI : Throttling control uses T-states returned by _TSS when _TSS exists From : Zhao Yakui [EMAIL PROTECTED] If _TSS exists, throttling control will use the T-states returned by _TSS. Otherwise the calculated T-states from FADT.duty_width are used. When TSS is used , the access width

[Patch_4/7] [ACPI]:Change the function interface for throttling control via PTC

2007-11-15 Thread Zhao Yakui
Subject: ACPI : Change the function interface for throttling control via PTC From : Zhao Yakui [EMAIL PROTECTED] Change the function interface for throttling control via PTC. The following functions are concerned: acpi_read_throttling_status() acpi_write_throttling_state

[PATCH_2/7] [ACPI]: Modify the ACPI I/O Access width

2007-11-15 Thread Zhao Yakui
Subject: ACPI : Modify the ACPI I/O Access width From : Zhao Yakui [EMAIL PROTECTED] When the argument width is not the multiple of eight, the acpi I/O access will fail. Modify the acpi I/O access width to the multiple of eight. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li

[Patch_5/7 ] [ACPI]:Throttling control uses T-states returned by _TSS when _TSS exists

2007-11-15 Thread Zhao Yakui
Subject: ACPI : Throttling control uses T-states returned by _TSS when _TSS exists From : Zhao Yakui [EMAIL PROTECTED] If _TSS exists, throttling control will use the T-states returned by _TSS. Otherwise the calculated T-states from FADT.duty_width are used. When TSS is used , the access width

[PATCH_1/7] ACPI: Add the _TPC throttling limit for TSS

2007-11-15 Thread Zhao Yakui
Subject: ACPI :Add the _TPC throttling limit for TSS From : Zhao Yakui [EMAIL PROTECTED] When Tstate limit change notification is received, OSPM should evaluate the _TPC object and change the current TState according to the new limit. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off

[PATCH_2/7] ACPI: Modify the ACPI I/O Access width

2007-11-15 Thread Zhao Yakui
Subject: ACPI : Modify the ACPI I/O Access width From : Zhao Yakui [EMAIL PROTECTED] When the argument width is not the multiple of eight, the acpi I/O access will fail. Modify the acpi I/O access width to the multiple of eight. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li

[PATCH_6/7] ACPI: Init PDC before getting throttling info

2007-11-15 Thread Zhao Yakui
Subject: ACPI : Init PDC before getting throttling info From : Zhao Yakui [EMAIL PROTECTED] The throttling info should be obtained after PDC is initialized. Otherwise the cpus maybe use the different PTC control/status register when the system supports the TSS throttling via ACPI MSR. One uses

[PATCH_7/7] ACPI: Add MSR support for T-States

2007-11-15 Thread Zhao Yakui
Subject: ACPI : Add MSR support for T-States From : Zhao Yakui [EMAIL PROTECTED] Add throttling control via MSR when T-states uses the FixHW Control/ Status registers. Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Li Shaohua [EMAIL PROTECTED] --- arch/x86/kernel/acpi/processor.c

Subject: ACPI: Check whether XSDT exists before dump ACPI tables

2007-11-20 Thread Zhao Yakui
Subject: ACPI: Check whether XSDT exists before dump ACPI tables From: Zhao Yakui [EMAIL PROTECTED] The acpidump tool of 20070714 version has some problems on some machines.First it will first search XSDT table to dump ACPI tables. If XSDT exists it will continue search RSDT and only dump ACPI

Re: pnpacpi : exceeded the max number of IO resources

2007-11-30 Thread Zhao Yakui
On Fri, 2007-11-30 at 01:40 -0500, [EMAIL PROTECTED] wrote: On Fri, 30 Nov 2007 10:21:28 +0800, Zhao Yakui said: Thanks for the acpidump dmesg. In the acpidump there are so many IO resource definitions in the device of mem2 and the number exceeds the predefined number(24). On a semi

[PATCH] ACPI : Load device driver according to the status of acpi device

2007-12-06 Thread Zhao Yakui
Subject: ACPI : Load device driver according to the status of acpi device From : Zhao Yakui [EMAIL PROTECTED] According to ACPI spec when the status of some device is not present but functional, the device is valid and the children of this device should be enumerated. It means that the device

[RFC] [PATCH] ACPI: ignore the error about the _CRS of LINK device

2007-12-10 Thread Zhao Yakui
about the _CRS method of LINK device and select IRQ from the possible IRQ list returned by _PRS method? Thanks. Subject: ACPI : Ignore the error about the _CRS of LINK device From : Zhao Yakui [EMAIL PROTECTED] Ignore the error about the _CRS method of LINK device and select IRQ from

[Patch]: ACPI : Not register gsi for PCI IDE controller in legacy mode

2007-12-16 Thread Zhao Yakui
of acpi_register_gsi to register gsi. http://bugzilla.kernel.org/show_bug.cgi?id=5637 Signed-off-by: Zhao Yakui [EMAIL PROTECTED] Signed-off-by: Zhang Rui [EMAIL PROTECTED] Signed-off-by: Alan Cox [EMAIL PROTECTED] --- drivers/acpi/pci_irq.c |9 + 1 file changed, 9 insertions(+) Index

[PATCH] ACPI : Add T-state coordination when updating T-state

2008-01-10 Thread Zhao Yakui
Subject: ACPI : Add T-state coordination when updating T-state From : Zhao Yakui [EMAIL PROTECTED] Accordint to ACPI spec, the _TSD object provides T-state control cross logical processor dependency information to OSPM. So the t-state coordination should be considered when T-state for one cpu

Re: [Patch]: ACPI : Not register gsi for PCI IDE controller in legacy mode

2008-01-10 Thread Zhao Yakui
On Thu, 2008-01-10 at 22:53 -0500, Len Brown wrote: Applied to acpi test tree for .25. Do you think this is .24 and a 23.stable candidate? thanks, -Len I think that it is OK. On Monday 17 December 2007 02:13, Zhao Yakui wrote: Subject: ACPI : Not register gsi for PCI IDE controller

a problem about the EC driver

2008-01-20 Thread Zhao Yakui
Hi, Alexey I know that you are very familiar with the EC driver and you submit a lot patches for EC. Now I have a problem about the EC and want to get help from you. a. In the March of 2007 the patch of 33c7a0738c5f753a7d94fd3b2ec7d84e79a141a8 was submitted by you. In this patch the Fake

Re: a problem about the EC driver

2008-01-21 Thread Zhao Yakui
it is not, who is us in this sentence? Regards, Alex. Zhao Yakui wrote: Hi, Alexey I know that you are very familiar with the EC driver and you submit a lot patches for EC. Now I have a problem about the EC and want to get help from you. a. In the March of 2007 the patch

[PATCH 0/5] ACPI: Add the T-state coordination

2008-01-27 Thread Zhao Yakui
Hi, all, This patch series is for T-state coordination. Patch 01 Set the bit of ACPI_PDC_SMP_T_SWCOORD. Patch 02 Check the parameter when calling the function of acpi_processor_get/set_throttling. Patch 03 Update the T-state coordination after obtaining _TSD info Patch 04 Add the t-state event

[PATCH 5/5] ACPI: Update the t-state for every affected cpu when t-state is changed

2008-01-27 Thread Zhao Yakui
Subject: ACPI : Update the t-state for every affected cpu when t-state is changed From : Zhao Yakui [EMAIL PROTECTED] According to ACPI spec, the _TSD object provides T-state control cross logical processor dependency information to OSPM. So the t-state coordination should be considered when T

[PATCH 3/5] ACPI: Update T-state coordination after getting _TSD info

2008-01-27 Thread Zhao Yakui
Subject: ACPI : Update T-state coordination after getting _TSD info From : Zhao Yakui [EMAIL PROTECTED] Accordint to ACPI spec, the _TSD object provides T-state control cross logical processor dependency information to OSPM. After the _TSD data for all cpus are obtained, OSPM will set up the T

RE: [PATCH 5/5] ACPI: Update the t-state for every affected cpu when t-state is changed

2008-02-02 Thread Zhao, Yakui
drivers/acpi/processor_throttling.c:990: warning: 'ret' may be used uninitialized in this function -Len I will eliminate the warning message and refresh the patch. Thanks. + for_each_cpu_mask(i, online_throttling_cpus) { + t_state.cpu = i; +

[PATCH] ACPI: Check whether cooling device exists before unregistering it

2008-02-14 Thread Zhao Yakui
Subject: ACPI: Check whether cooling device exists before unregistering it From : Zhao Yakui [EMAIL PROTECTED] OS should check whether the cooling device exists before it is unregistered. If it doesn't exists, it is unnecessary to remove the sysfs link and call the function

Re: [patch 4/6] ACPI processor: extract return values using PTR_ERR

2008-02-14 Thread Zhao Yakui
On Fri, 2008-02-15 at 10:54 +0530, Thomas, Sujith wrote: From: Thomas Sujith [EMAIL PROTECTED] Need to extract errors using PTR_ERR macro and process accordingly.thermal_cooling_device_register returning NULL means that CONFIG_THERMAL=n and in that case no need to create symbolic links.