The min/max limit perf values calculated based on frequency
may exceed the reasonable range of perf(highest perf, lowest perf).
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/drivers/cpufreq/amd
When scaling min/max freq values were being setted,
the value of policy->cur need to update.
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstat
[AMD Official Use Only - General]
Hi Lucas:
> -Original Message-
> From: Lucas Lee Jing Yi
> Sent: Monday, February 19, 2024 12:11 AM
> To: raf...@kernel.org
> Cc: Yuan, Perry ; Du, Xiaojian
> ; Deucher, Alexander
> ; b...@alien8.de; Sharma, Deepak
> ; Meng, L
/mount.h has to be included before linux/mount.h.
Signed-off-by: Meng Li
---
tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/filesystems/overlayfs/dev_in_maps.c
b/tools/testing/selftests
r, Alexander
> ; b...@alien8.de; Sharma, Deepak
> ; Meng, Li (Jassmine) ;
> linux-a...@vger.kernel.org; linux-ker...@vger.kernel.org; linux-
> kselft...@vger.kernel.org; linux...@vger.kernel.org; Limonciello, Mario
> ; Fontenot, Nathan
> ; oleksa...@natalenko.name;
> rafael.j.wyso...@i
Title under line too short
Signed-off-by: Meng Li
---
Documentation/admin-guide/pm/amd-pstate.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/pm/amd-pstate.rst
b/Documentation/admin-guide/pm/amd-pstate.rst
index 0a3aa6b8ffd5..1e0d101b020a
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
: Meng Li
---
Documentation/admin-guide/pm/amd-pstate.rst | 59 -
1 file changed, 57 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/pm/amd-pstate.rst
b/Documentation/admin-guide/pm/amd-pstate.rst
index 9eb26014d34b..0a3aa6b8ffd5 100644
--- a/Documentation
-by: Huang Rui
Reviewed-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 52
include/linux/amd-pstate.h | 6 +
2 files changed, 58 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index
Rui
Reviewed-by: Perry Yuan
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#processor-device-notification-values
---
drivers/acpi/processor_driver.c | 6 ++
include/linux/cpufreq.h | 1 +
2 files changed, 7 insertions(+)
diff --git
preferred core featue.
Tested-by: Oleksandr Natalenko
Reviewed-by: Huang Rui
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 131
. Also see the Link below.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Wyes Karny
Reviewed-by: Perry Yuan
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest
: Meng Li
Acked-by: Borislav Petkov (AMD)
---
arch/x86/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 53f2e7797b1d..8dfb08ceb6ec 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1051,8 +1051,9 @@ config SCHED_MC
all online CPUs
- - Use a single variable to represent the status of preferred core.
- Documentation:
- - Default enabled preferred core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of p
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
: Meng Li
---
Documentation/admin-guide/pm/amd-pstate.rst | 59 -
1 file changed, 57 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/pm/amd-pstate.rst
b/Documentation/admin-guide/pm/amd-pstate.rst
index 1cf40f69278c..0b832ff529db 100644
--- a/Documentation
-by: Huang Rui
Reviewed-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 52
include/linux/amd-pstate.h | 6 +
2 files changed, 58 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index
Rui
Reviewed-by: Perry Yuan
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#processor-device-notification-values
---
drivers/acpi/processor_driver.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/acpi/processor_driver.c b
preferred core featue.
Tested-by: Oleksandr Natalenko
Reviewed-by: Huang Rui
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 131
. Also see the Link below.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Wyes Karny
Reviewed-by: Perry Yuan
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest
: Meng Li
Acked-by: Borislav Petkov (AMD)
---
arch/x86/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 1566748f16c4..4fd69cd4241a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1054,8 +1054,9 @@ config SCHED_MC
- Documentation:
- - Default enabled preferred core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
*** BLURB HERE ***
Meng Li (7):
x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO f
[AMD Official Use Only - General]
Hi Petkov:
> -Original Message-
> From: Borislav Petkov
> Sent: Wednesday, January 10, 2024 6:04 PM
> To: Meng, Li (Jassmine)
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
[AMD Official Use Only - General]
Hi Petkov:
> -Original Message-
> From: Borislav Petkov
> Sent: Tuesday, January 9, 2024 6:45 PM
> To: Meng, Li (Jassmine)
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
[AMD Official Use Only - General]
Hi Raphael:
> -Original Message-
> From: Rafael J. Wysocki
> Sent: Thursday, December 28, 2023 1:04 AM
> To: Meng, Li (Jassmine)
> Cc: Rafael J. Wysocki ; Rafael J . Wysocki
> ; Huang, Ray ; linux-
> p...@vger.kernel.org; linux-k
[AMD Official Use Only - General]
Hi Rafael:
> -Original Message-
> From: Meng, Li (Jassmine)
> Sent: Tuesday, December 26, 2023 4:27 PM
> To: Rafael J. Wysocki
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
[AMD Official Use Only - General]
Hi Rafael:
> -Original Message-
> From: Rafael J. Wysocki
> Sent: Tuesday, December 12, 2023 9:44 PM
> To: Meng, Li (Jassmine)
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
: Meng Li
---
Documentation/admin-guide/pm/amd-pstate.rst | 59 -
1 file changed, 57 insertions(+), 2 deletions(-)
diff --git a/Documentation/admin-guide/pm/amd-pstate.rst
b/Documentation/admin-guide/pm/amd-pstate.rst
index 1cf40f69278c..0b832ff529db 100644
--- a/Documentation
-by: Huang Rui
Reviewed-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 44
include/linux/amd-pstate.h | 6 +
2 files changed, 50 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index
-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#processor-device-notification-values
---
drivers/acpi/processor_driver.c | 6 ++
drivers/cpufreq/cpufreq.c | 13 +
include/linux/cpufreq.h | 5 +
3 files changed, 24
preferred core featue.
Tested-by: Oleksandr Natalenko
Reviewed-by: Huang Rui
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 131
Limonciello
Reviewed-by: Wyes Karny
Reviewed-by: Perry Yuan
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi
: Meng Li
---
arch/x86/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 3762f41bb092..3e57773f946a 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1054,8 +1054,9 @@ config SCHED_MC
config SCHED_MC_PRIO
bool
riable to represent the status of preferred core.
- Documentation:
- - Default enabled preferred core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
Meng Li (7):
x8
Introduce amd-pstate preferred core.
check preferred core state set by the kernel parameter:
$ cat /sys/devices/system/cpu/amd-pstate/prefcore
Tested-by: Oleksandr Natalenko
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
-by: Huang Rui
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 46
include/linux/amd-pstate.h | 6 +
2 files changed, 52 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 74dcf63d75f9..88df6510dcc0
Limonciello
Reviewed-by: Wyes Karny
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi/cppc_acpi.h | 5 +
2 files
ACPI 6.5 section 8.4.6.1.1.1 specifies that Notify event 0x85 can be
emmitted to cause the the OSPM to re-evaluate the highest performance
register. Add support for this event.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
Link
amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement
of CPU_SUP_INTEL from the dependencies to allow compilation in kernels
without Intel CPU support.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
---
arch/x86
:
- - Init the priorities of all online CPUs
- - Use a single variable to represent the status of preferred core.
- Documentation:
- - Default enabled preferred core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to rep
[AMD Official Use Only - General]
Hi all:
Do you have any other review comments?
Hi Rafael:
If there are no other issues, can you merge it to linux-next?
> -Original Message-
> From: Meng, Li (Jassmine)
> Sent: Monday, October 30, 2023 2:34 PM
> To: Rafael J . Wysocki
[AMD Official Use Only - General]
Hi perry:
> -Original Message-
> From: Yuan, Perry
> Sent: Thursday, November 2, 2023 5:06 PM
> To: Meng, Li (Jassmine) ; Rafael J . Wysocki
> ; Huang, Ray
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org;
> x..
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
Introduce amd-pstate preferred core.
check preferred core state set by the kernel parameter:
$ cat /sys/devices/system/cpu/amd-pstate/prefcore
Tested-by: Oleksandr Natalenko
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
-by: Huang Rui
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 46
include/linux/amd-pstate.h | 6 +
2 files changed, 52 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 2033e5e70017..1be33f926678
ACPI 6.5 section 8.4.6.1.1.1 specifies that Notify event 0x85 can be
emmitted to cause the the OSPM to re-evaluate the highest performance
register. Add support for this event.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
Link
preferred core featue.
Tested-by: Oleksandr Natalenko
Reviewed-by: Huang Rui
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 141
Limonciello
Reviewed-by: Wyes Karny
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi/cppc_acpi.h | 5 +
2 files
amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement
of CPU_SUP_INTEL from the dependencies to allow compilation in kernels
without Intel CPU support.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
---
arch/x86
n:
- - Default enabled preferred core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
Meng Li (7):
x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for the expansion.
acpi: cppc: Add get
efcore_work);
+}
> -Original Message-
> From: srinivas pandruvada
> Sent: Tuesday, October 17, 2023 2:51 AM
> To: Wysocki, Rafael J ; Peter Zijlstra
> ; Meng, Li (Jassmine)
> Cc: Huang, Ray ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x...@kernel.org;
[AMD Official Use Only - General]
Hi Peter:
> -Original Message-
> From: Peter Zijlstra
> Sent: Saturday, October 14, 2023 12:01 AM
> To: Meng, Li (Jassmine)
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
[AMD Official Use Only - General]
Hi Oleksandr:
> -Original Message-
> From: Oleksandr Natalenko
> Sent: Friday, October 13, 2023 11:45 PM
> To: Rafael J . Wysocki ; Huang, Ray
> ; Meng, Li (Jassmine)
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org;
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
ACPI 6.5 section 8.4.6.1.1.1 specifies that Notify event 0x85 can be
emmitted to cause the the OSPM to re-evaluate the highest performance
register. Add support for this event.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
Link
Introduce amd-pstate preferred core.
check preferred core state set by the kernel parameter:
$ cat /sys/devices/system/cpu/amd-pstate/prefcore
Tested-by: Oleksandr Natalenko
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
-by: Huang Rui
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 49
include/linux/amd-pstate.h | 6 +
2 files changed, 55 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 6aae383990f1..3b054e3acba1
preferred core featue.
Tested-by: Oleksandr Natalenko
Reviewed-by: Huang Rui
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 155
Limonciello
Reviewed-by: Wyes Karny
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi/cppc_acpi.h | 5 +
2 files
amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement
of CPU_SUP_INTEL from the dependencies to allow compilation in kernels
without Intel CPU support.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
---
arch/x86
ed core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
Meng Li (7):
x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for the expansion.
acpi: cppc: Add get the highest
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
Introduce amd-pstate preferred core.
check preferred core state set by the kernel parameter:
$ cat /sys/devices/system/cpu/amd-pstate/prefcore
Tested-by: Oleksandr Natalenko
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
-by: Huang Rui
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 49
include/linux/amd-pstate.h | 6 +
2 files changed, 55 insertions(+)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 58aa9ddff29e..7e37d0d40ebd
ACPI 6.5 section 8.4.6.1.1.1 specifies that Notify event 0x85 can be
emmitted to cause the the OSPM to re-evaluate the highest performance
register. Add support for this event.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
Link
preferred core featue.
Tested-by: Oleksandr Natalenko
Reviewed-by: Huang Rui
Reviewed-by: Wyes Karny
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 155
Limonciello
Reviewed-by: Wyes Karny
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi/cppc_acpi.h | 5 +
2 files
amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement
of CPU_SUP_INTEL from the dependencies to allow compilation in kernels
without Intel CPU support.
Tested-by: Oleksandr Natalenko
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
---
arch/x86
ed core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
Meng Li (7):
x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for the expansion.
acpi: cppc: Add get the highest
[AMD Official Use Only - General]
Hi Peter:
> -Original Message-
> From: Peter Zijlstra
> Sent: Tuesday, October 10, 2023 6:36 PM
> To: Meng, Li (Jassmine)
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
[AMD Official Use Only - General]
Hi Oleksandr:
> -Original Message-
> From: Oleksandr Natalenko
> Sent: Monday, October 9, 2023 9:00 PM
> To: Rafael J . Wysocki ; Huang, Ray
> ; Meng, Li (Jassmine)
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org;
> x
[AMD Official Use Only - General]
Hi Wyes:
> -Original Message-
> From: Karny, Wyes
> Sent: Monday, October 9, 2023 2:19 PM
> To: Meng, Li (Jassmine)
> Cc: Karny, Wyes ; Rafael J . Wysocki
> ; Huang, Ray ; linux-
> p...@vger.kernel.org; linux-ker...@vger.kernel
[AMD Official Use Only - General]
Hi Oleksandr:
> -Original Message-
> From: Oleksandr Natalenko
> Sent: Monday, October 9, 2023 2:55 PM
> To: Rafael J . Wysocki ; Huang, Ray
> ; Meng, Li (Jassmine)
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org;
> x
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
Introduce amd-pstate preferred core.
check preferred core state set by the kernel parameter:
$ cat /sys/devices/system/cpu/amd-pstate/prefcore
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
---
Documentation/admin-guide/pm/amd-pstate.rst | 59
ACPI 6.5 section 8.4.6.1.1.1 specifies that Notify event 0x85 can be
emmitted to cause the the OSPM to re-evaluate the highest performance
register. Add support for this event.
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5
: Meng Li
---
drivers/cpufreq/amd-pstate.c | 34 --
include/linux/amd-pstate.h | 6 ++
2 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c
index 6ac8939fce5a..d3369247c6c9 100644
--- a
preferred core featue.
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 152 +++
include/linux/amd-pstate.h | 4 +
2 files changed, 140 insertions(+), 16 deletions
Karny
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi/cppc_acpi.h | 5 +
2 files changed, 18 insertions(+)
diff
amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement
of CPU_SUP_INTEL from the dependencies to allow compilation in kernels
without Intel CPU support.
Reviewed-by: Mario Limonciello
Reviewed-by: Huang Rui
Signed-off-by: Meng Li
---
arch/x86/Kconfig | 5 +++--
1 file changed
d-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
Meng Li (7):
x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for the expansion.
acpi: cppc: Add get the highest performance cppc control
cpufreq: amd-psta
[AMD Official Use Only - General]
Hi Natalenko and Mario:
> -Original Message-
> From: Limonciello, Mario
> Sent: Thursday, September 21, 2023 4:12 AM
> To: Oleksandr Natalenko ; Huang, Ray
> ; Meng, Li (Jassmine)
> Cc: linux...@vger.kernel.org; linux-ker...@vg
[AMD Official Use Only - General]
Hi Mario:
> -Original Message-
> From: Limonciello, Mario
> Sent: Tuesday, September 19, 2023 1:41 AM
> To: Meng, Li (Jassmine) ; Rafael J . Wysocki
> ; Huang, Ray
> Cc: linux...@vger.kernel.org; linux-ker...@vger.kernel.org;
> x..
amd-pstate driver support enable/disable preferred core.
Default enabled on platforms supporting amd-pstate preferred core.
Disable amd-pstate preferred core with
"amd_prefcore=disable" added to the kernel command line.
Signed-off-by: Meng Li
Reviewed-by: Mario Limonciello
Reviewe
ACPI 6.5 section 8.4.6.1.1.1 specifies that Notify event 0x85 can be
emmitted to cause the the OSPM to re-evaluate the highest performance
register. Add support for this event.
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/05_ACPI_Software_Programming_Model.html#processor-device
of preferred core.
- Documentation:
- - Default enabled preferred core.
- Documentation: amd-pstate:
- - Modify inappropriate descriptions.
- - Default enabled preferred core.
- - Use a single variable to represent the status of preferred core.
Meng Li (7):
x86: Drop CPU_SUP_INTEL from SCHED_MC_PRIO for the
allow user to disable
the preferred core.
Reviewed-by: Mario Limonciello
Co-developed-by: Perry Yuan
Signed-off-by: Perry Yuan
Signed-off-by: Meng Li
---
drivers/cpufreq/amd-pstate.c | 163 +++
1 file changed, 147 insertions(+), 16 deletions(-)
diff --git a
amd-pstate driver also uses SCHED_MC_PRIO, so decouple the requirement
of CPU_SUP_INTEL from the dependencies to allow compilation in kernels
without Intel CPU support.
Reviewed-by: Mario Limonciello
Signed-off-by: Meng Li
---
arch/x86/Kconfig | 5 +++--
1 file changed, 3 insertions(+), 2
Introduce amd-pstate preferred core.
check preferred core state:
$ cat /sys/devices/system/cpu/amd-pstate/prefcore
Signed-off-by: Meng Li
---
Documentation/admin-guide/pm/amd-pstate.rst | 58 -
1 file changed, 56 insertions(+), 2 deletions(-)
diff --git a/Documentation
Karny
Acked-by: Huang Rui
Signed-off-by: Meng Li
Link:
https://uefi.org/specs/ACPI/6.5/08_Processor_Configuration_and_Control.html?highlight=cppc#highest-performance
---
drivers/acpi/cppc_acpi.c | 13 +
include/acpi/cppc_acpi.h | 5 +
2 files changed, 18 insertions(+)
diff
Preferred core rankings can be changed dynamically by the
platform based on the workload and platform conditions and
accounting for thermals and aging.
When this occurs, cpu priority need to be set.
Signed-off-by: Meng Li
Reviewed-by: Wyes Karny
---
drivers/cpufreq/amd-pstate.c | 34
[AMD Official Use Only - General]
Hi Peter:
> -Original Message-
> From: Peter Zijlstra
> Sent: Friday, September 8, 2023 9:24 PM
> To: Meng, Li (Jassmine)
> Cc: Rafael J . Wysocki ; Huang, Ray
> ; linux...@vger.kernel.org; linux-
> ker...@vger.kernel.org; x..
93 matches
Mail list logo