[PATCH] power/amd_uncore: add e-smi installation instructions

2024-11-28 Thread Sivaprasad Tummala
Added section for installing and building the E-SMI library for AMD EPYC Uncore support and version requirements. Signed-off-by: Sivaprasad Tummala --- doc/guides/prog_guide/power_man.rst | 32 + 1 file changed, 32 insertions(+) diff --git a/doc/guides/prog_guide

[PATCH v10 2/6] power: refactor uncore power management library

2024-10-28 Thread Sivaprasad Tummala
tion error with symbol export in API v5: - fixed build errors for risc-v/ppc targets v4: - fixed build error with RTE_ASSERT Signed-off-by: Sivaprasad Tummala Acked-by: Huisong Li --- doc/guides/prog_guide/power_man.rst | 10 +- .../power/intel_uncore/intel_uncore.c | 18 +-

[PATCH v10 6/6] power: rename library sources for cpu frequency management

2024-10-28 Thread Sivaprasad Tummala
This patch renames the existing core power library source files from rte_power.* to rte_power_cpufreq.* for better clarity v9: - documentation update Signed-off-by: Sivaprasad Tummala --- app/test/test_power.c| 2 +- app/test/test_power_cpufreq.c

[PATCH v10 1/6] power: refactor core power management library

2024-10-28 Thread Sivaprasad Tummala
API to be used in drivers/power/* v5: - fixed code style warning v4: - fixed build error with RTE_ASSERT v3: - renamed rte_power_core_ops.h as rte_power_cpufreq_api.h - re-worked on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivap

[PATCH v10 5/6] maintainers: update for drivers/power

2024-10-28 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e25e9465b5..df7a756612 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1753,6 +1753,7 @@ M: Anatoly Burakov M: David

[PATCH v10 4/6] drivers/power: uncore support for AMD EPYC processors

2024-10-28 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v9: - documentation update v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- doc/guides/prog_guide

[PATCH v10 0/6] power: refactor power management library

2024-10-28 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (6): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v10 3/6] test/power: removed function pointer validations

2024-10-28 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v9 6/6] power: rename library sources for cpu frequency management

2024-10-22 Thread Sivaprasad Tummala
This patch renames the existing core power library source files from rte_power.* to rte_power_cpufreq.* for better clarity v9: - documentation update Signed-off-by: Sivaprasad Tummala --- app/test/test_power.c| 2 +- app/test/test_power_cpufreq.c

[PATCH v9 0/6] power: refactor power management library

2024-10-22 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (6): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v9 4/6] drivers/power: uncore support for AMD EPYC processors

2024-10-22 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v9: - documentation update v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- doc/guides/prog_guide

[PATCH v9 3/6] test/power: removed function pointer validations

2024-10-22 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v9 5/6] maintainers: update for drivers/power

2024-10-22 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index cd78bc7db1..91742f2261 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1743,6 +1743,7 @@ M: Anatoly Burakov M: David

[PATCH v9 2/6] power: refactor uncore power management library

2024-10-22 Thread Sivaprasad Tummala
ixed build error with RTE_ASSERT Signed-off-by: Sivaprasad Tummala --- doc/guides/prog_guide/power_man.rst | 10 +- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/intel_uncore.h | 9 +- drivers/power/intel_uncore/meson.build| 6 + dri

[PATCH v9 0/6] power: refactor power management library

2024-10-22 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (6): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v9 1/6] power: refactor core power management library

2024-10-22 Thread Sivaprasad Tummala
with RTE_ASSERT v3: - renamed rte_power_core_ops.h as rte_power_cpufreq_api.h - re-worked on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power

[PATCH v8 0/6] power: refactor power management library

2024-10-22 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (6): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v8 5/6] maintainers: update for drivers/power

2024-10-22 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index cd78bc7db1..91742f2261 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1743,6 +1743,7 @@ M: Anatoly Burakov M: David

[PATCH v8 6/6] power: rename library sources for cpu frequency management

2024-10-22 Thread Sivaprasad Tummala
This patch renames the existing core power library source files from rte_power.* to rte_power_cpufreq.* for better clarity Signed-off-by: Sivaprasad Tummala --- app/test/test_power.c| 2 +- app/test/test_power_cpufreq.c| 2 +- app

[PATCH v8 2/6] power: refactor uncore power management library

2024-10-22 Thread Sivaprasad Tummala
Signed-off-by: Sivaprasad Tummala Acked-by: Huisong Li --- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/intel_uncore.h | 9 +- drivers/power/intel_uncore/meson.build| 6 + drivers/power/meson.build | 3 +- lib/power/m

[PATCH v8 3/6] test/power: removed function pointer validations

2024-10-22 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v8 4/6] drivers/power: uncore support for AMD EPYC processors

2024-10-22 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 329

[PATCH v8 1/6] power: refactor core power management library

2024-10-22 Thread Sivaprasad Tummala
with RTE_ASSERT v3: - renamed rte_power_core_ops.h as rte_power_cpufreq_api.h - re-worked on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power

[PATCH v8 0/6] power: refactor power management library

2024-10-22 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (6): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v1] config/x86: add lcore support for AMD EPYC Zen5 platforms

2024-10-21 Thread Sivaprasad Tummala
ecific AMD EPYC target/cross builds. Signed-off-by: Sivaprasad Tummala --- config/x86/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/config/x86/meson.build b/config/x86/meson.build index 265580a555..5455bb0210 100644 --- a/config/x86/meson.build +++ b/config/x86/meson.build @@ -

[PATCH v7 5/5] maintainers: update for drivers/power

2024-10-20 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6ea7850093..7e29931be9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1744,6 +1744,7 @@ M: Anatoly Burakov M: David

[PATCH v7 0/5] power: refactor power management library

2024-10-20 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v7 3/5] test/power: removed function pointer validations

2024-10-20 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v7 4/5] drivers/power: uncore support for AMD EPYC processors

2024-10-20 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 329

[PATCH v7 2/5] power: refactor uncore power management library

2024-10-20 Thread Sivaprasad Tummala
error with aarch32 gcc cross compilation v6: - fixed compilation error with symbol export in API v5: - fixed build errors for risc-v/ppc targets v4: - fixed build error with RTE_ASSERT v3: - fixed typo in header file inclusion Signed-off-by: Sivaprasad Tummala --- .../power/in

[PATCH v7 1/5] power: refactor core power management library

2024-10-20 Thread Sivaprasad Tummala
e used in drivers/power/* v5: - fixed code style warning v4: - fixed build error with RTE_ASSERT v3: - renamed rte_power_core_ops.h as rte_power_cpufreq_api.h - re-worked on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by

[PATCH v7 0/5] power: refactor power management library

2024-10-20 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v6 0/5] power: refactor power management library

2024-10-20 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v6 4/5] drivers/power: uncore support for AMD EPYC processors

2024-10-20 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 329

[PATCH v6 5/5] maintainers: update for drivers/power

2024-10-20 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6ea7850093..7e29931be9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1744,6 +1744,7 @@ M: Anatoly Burakov M: David

[PATCH v6 3/5] test/power: removed function pointer validations

2024-10-20 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v6 2/5] power: refactor uncore power management library

2024-10-20 Thread Sivaprasad Tummala
ompilation error with symbol export in API v5: - fixed build errors for risc-v/ppc targets v4: - fixed build error with RTE_ASSERT v3: - fixed typo in header file inclusion Signed-off-by: Sivaprasad Tummala --- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/inte

[PATCH v6 0/5] power: refactor power management library

2024-10-20 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v6 1/5] power: refactor core power management library

2024-10-20 Thread Sivaprasad Tummala
e used in drivers/power/* v5: - fixed code style warning v4: - fixed build error with RTE_ASSERT v3: - renamed rte_power_core_ops.h as rte_power_cpufreq_api.h - re-worked on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by

[PATCH v2 1/2] power: fix power library with --lcores

2024-10-17 Thread Sivaprasad Tummala
re, invoking frequency scaling APIs on any lcore will apply the changes effectively. v2: - renamed check_lcore_and_set_cpu to power_get_lcore_mapped_cpu_id Signed-off-by: Sivaprasad Tummala Acked-by: Konstantin Ananyev Acked-by: Huisong Li --- lib/power/power_acpi_cpufreq.c

[PATCH v2 2/2] test/power: fix power library with --lcores

2024-10-17 Thread Sivaprasad Tummala
When user request to use lcores mapped to different physical cores using --lcores eal option, power application accesses incorrect cpu sysfs attribute for checking current frequency The patch fixes the cpu_id based on the lcore and cpu mappings. Signed-off-by: Sivaprasad Tummala Acked-by

[PATCH v1 2/2] test/power: fix power library with --lcores

2024-10-17 Thread Sivaprasad Tummala
When user request to use lcores mapped to different physical cores using --lcores eal option, power application accesses incorrect cpu sysfs attribute for checking current frequency The patch fixes the cpu_id based on the lcore and cpu mappings. Signed-off-by: Sivaprasad Tummala --- app/test

[PATCH v1 1/2] power: fix power library with --lcores

2024-10-17 Thread Sivaprasad Tummala
re, invoking frequency scaling APIs on any lcore will apply the changes effectively. Signed-off-by: Sivaprasad Tummala --- lib/power/power_acpi_cpufreq.c | 7 ++- lib/power/power_amd_pstate_cpufreq.c | 7 ++- lib/power/power_common.c | 23 +++

[PATCH v5 0/5] power: refactor power management library

2024-10-17 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v5 5/5] maintainers: update for drivers/power

2024-10-17 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6814991735..9f14e8f8d6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1744,6 +1744,7 @@ M: Anatoly Burakov M: David

[PATCH v5 4/5] drivers/power: uncore support for AMD EPYC processors

2024-10-17 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 329

[PATCH v5 3/5] test/power: removed function pointer validations

2024-10-17 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v5 2/5] power: refactor uncore power management library

2024-10-17 Thread Sivaprasad Tummala
errors for risc-v/ppc targets v4: - fixed build error with RTE_ASSERT v3: - fixed typo in header file inclusion Signed-off-by: Sivaprasad Tummala --- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/intel_uncore.h | 8 +- drivers/power/intel_uncore/m

[PATCH v5 1/5] power: refactor core power management library

2024-10-17 Thread Sivaprasad Tummala
_power_cpufreq_api.h - re-worked on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power/acpi/acpi_cpufreq.c | 22 +- .../power

[PATCH v5 0/5] power: refactor power management library

2024-10-17 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations d

[PATCH v4 0/5] power: refactor power management library

2024-10-14 Thread Sivaprasad Tummala
code maintenance by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validation

[PATCH v4 5/5] maintainers: update for drivers/power

2024-10-14 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6814991735..9f14e8f8d6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1744,6 +1744,7 @@ M: Anatoly Burakov M: David

[PATCH v4 4/5] power/amd_uncore: uncore support for AMD EPYC processors

2024-10-14 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 329

[PATCH v4 3/5] test/power: removed function pointer validations

2024-10-14 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v4 2/5] power: refactor uncore power management library

2024-10-14 Thread Sivaprasad Tummala
error with RTE_ASSERT v3: - fixed typo in header file inclusion Signed-off-by: Sivaprasad Tummala --- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/intel_uncore.h | 8 +- drivers/power/intel_uncore/meson.build| 6 + drivers/power/m

[PATCH v4 1/5] power: refactor core power management library

2024-10-14 Thread Sivaprasad Tummala
ed on auto detection logic v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power/acpi/acpi_cpufreq.c | 22 +- .../power/acpi/acpi_cpufreq.h | 6 +-

[PATCH v4 0/5] power: refactor power management library

2024-10-14 Thread Sivaprasad Tummala
code maintenance by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validation

[PATCH v3 0/5] power: refactor power management library

2024-10-08 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v3 5/5] maintainers: update for drivers/power

2024-10-08 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 812463fe9f..7d2868fe30 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1737,6 +1737,7 @@ M: Anatoly Burakov M: David

[PATCH v3 4/5] power/amd_uncore: uncore support for AMD EPYC processors

2024-10-08 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 329

[PATCH v3 2/5] power: refactor uncore power management library

2024-10-08 Thread Sivaprasad Tummala
in header file inclusion Signed-off-by: Sivaprasad Tummala --- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/intel_uncore.h | 8 +- drivers/power/intel_uncore/meson.build| 6 + drivers/power/meson.build | 3 +- lib/power/m

[PATCH v3 3/5] test/power: removed function pointer validations

2024-10-08 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v3 1/5] power: refactor core power management library

2024-10-08 Thread Sivaprasad Tummala
added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power/acpi/acpi_cpufreq.c | 22 +- .../power/acpi/acpi_cpufreq.h | 6 +- drivers/power/acpi/meson.build

[PATCH v3 0/5] power: refactor power management library

2024-10-08 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v3 5/5] maintainers: update for drivers/power

2024-10-08 Thread Sivaprasad Tummala
Update maintainers for drivers/power/*. Signed-off-by: Sivaprasad Tummala --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 812463fe9f..7d2868fe30 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1737,6 +1737,7 @@ M: Anatoly Burakov M: David

[PATCH v3 0/5] power: refactor power management library

2024-10-08 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v3 3/5] test/power: removed function pointer validations

2024-10-08 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v3 4/5] power/amd_uncore: uncore support for AMD EPYC processors

2024-10-08 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 328

[PATCH v3 2/5] power: refactor uncore power management library

2024-10-08 Thread Sivaprasad Tummala
in header file inclusion Signed-off-by: Sivaprasad Tummala --- .../power/intel_uncore/intel_uncore.c | 18 +- .../power/intel_uncore/intel_uncore.h | 8 +- drivers/power/intel_uncore/meson.build| 6 + drivers/power/meson.build | 3 +- lib/power/m

[PATCH v3 1/5] power: refactor core power management library

2024-10-08 Thread Sivaprasad Tummala
added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power/acpi/acpi_cpufreq.c | 22 +- .../power/acpi/acpi_cpufreq.h | 6 +- drivers/power/acpi/meson.build

[PATCH v3 0/5] power: refactor power management library

2024-10-08 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (5): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v2 0/4] power: refactor power management library

2024-08-26 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (4): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v2 4/4] power/amd_uncore: uncore power management support for AMD EPYC processors

2024-08-26 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. v2: - fixed typo in comments section. - added fabric frequency get support for legacy platforms. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 328

[PATCH v2 3/4] test/power: removed function pointer validations

2024-08-26 Thread Sivaprasad Tummala
: Sivaprasad Tummala --- app/test/test_power.c | 95 --- app/test/test_power_cpufreq.c | 52 --- app/test/test_power_kvm_vm.c | 36 - examples/l3fwd-power/main.c | 12 ++--- 4 files changed, 4 insertions(+), 191 deletions(-) diff

[PATCH v2 2/4] power: refactor uncore power management library

2024-08-26 Thread Sivaprasad Tummala
al drivers. This refactor significantly improves code organization, enhances clarity and boosts maintainability. It lays the foundation for more focused development on individual drivers and facilitates seamless integration of future enhancements, particularly the AMD uncore driver. Signed-off-by:

[PATCH v2 0/4] power: refactor power management library

2024-08-26 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (4): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v2 1/4] power: refactor core power management library

2024-08-26 Thread Sivaprasad Tummala
bility. Additionally, it establishes a foundation for future development, allowing for more focused work on individual drivers and seamless integration of forthcoming enhancements. v2: - added NULL check for global_core_ops in rte_power_get_core_ops Signed-off-by: Sivaprasad Tummala ---

[RFC PATCH 2/2] test/power: fix power library with --lcores

2024-07-24 Thread Sivaprasad Tummala
When user request to use lcores mapped to different physical cores using --lcores eal option, power application accesses incorrect cpu sysfs attribute for checking current frequency The patch fixes the cpu_id based on the lcore and cpu mappings. Signed-off-by: Sivaprasad Tummala --- app/test

[RFC PATCH 1/2] power: fix power library with --lcores

2024-07-24 Thread Sivaprasad Tummala
re, invoking frequency scaling APIs on any lcore will apply the changes effectively. Signed-off-by: Sivaprasad Tummala --- lib/power/power_acpi_cpufreq.c | 16 ++-- lib/power/power_amd_pstate_cpufreq.c | 16 ++-- lib/power/power_cppc_cpufreq.c |

[PATCH v1 0/4] power: refactor power management library

2024-07-20 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (4): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v1 3/4] test/power: removed function pointer validations

2024-07-20 Thread Sivaprasad Tummala
After refactoring the power library, power management operations are now consistently supported regardless of the operating environment, making function pointer checks unnecessary and thus removed from applications. Signed-off-by: Sivaprasad Tummala --- app/test/test_power.c | 95

[PATCH v1 4/4] power/amd_uncore: uncore power management support for AMD EPYC processors

2024-07-20 Thread Sivaprasad Tummala
This patch introduces driver support for power management of uncore components in AMD EPYC processors. Signed-off-by: Sivaprasad Tummala --- drivers/power/amd_uncore/amd_uncore.c | 321 ++ drivers/power/amd_uncore/amd_uncore.h | 226 ++ drivers/power

[PATCH v1 2/4] power: refactor uncore power management library

2024-07-20 Thread Sivaprasad Tummala
al drivers. This refactor significantly improves code organization, enhances clarity and boosts maintainability. It lays the foundation for more focused development on individual drivers and facilitates seamless integration of future enhancements, particularly the AMD uncore driver. Signed-off-by:

[PATCH v1 1/4] power: refactor core power management library

2024-07-20 Thread Sivaprasad Tummala
bility. Additionally, it establishes a foundation for future development, allowing for more focused work on individual drivers and seamless integration of forthcoming enhancements. Signed-off-by: Sivaprasad Tummala --- drivers/meson.build | 1 + .../power

[PATCH v1 0/4] power: refactor power management library

2024-07-20 Thread Sivaprasad Tummala
nce by consolidating common functions for cpufreq and cppc across various core drivers, thus reducing code duplication. Sivaprasad Tummala (4): power: refactor core power management library power: refactor uncore power management library test/power: removed function pointer validations powe

[PATCH v3] app/testpmd: fix lcore ID restriction

2024-06-06 Thread Sivaprasad Tummala
t to align with rte lcore APIs. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala --- v3: * Removed unnecessary cast v2: * Fixed type mistmatch in comparison * Fixed incorrect format specifier --- app/test-pmd/config.c | 4 ++-- app/t

[PATCH v2] app/testpmd: fix lcore ID restriction

2024-04-16 Thread Sivaprasad Tummala
t to align with rte lcore APIs. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala --- v2: * Fixed type mistmatch in comparison * Fixed incorrect format specifier --- app/test-pmd/config.c | 6 +++--- app/test-pmd/parameters.c |

[PATCH] app/testpmd: fix lcore ID restriction

2024-04-15 Thread Sivaprasad Tummala
t to align with rte lcore APIs. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala --- app/test-pmd/parameters.c | 2 +- app/test-pmd/testpmd.h| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/paramet

[PATCH v7 00/14] fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
patches. - updated git commit description on individual patches v5: - updated lcore_id type to uint32_t v4: - fixed build errors with queue_id type in ipsec-secgw v3: - updated queue_id type to uint16_t v2: - fixed typo with lcore_id type in l3fwd Sivaprasad Tummala (14

[PATCH v7 14/14] examples/ipsec-secgw: fix port ID restriction

2024-03-26 Thread Sivaprasad Tummala
.@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Konstantin Ananyev Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/ipsec-secgw/ipsec-secgw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ips

[PATCH v7 13/14] examples/l3fwd-graph: fix port ID restriction

2024-03-26 Thread Sivaprasad Tummala
rg Signed-off-by: Sivaprasad Tummala Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/l3fwd-graph/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l3fwd-graph/main.c b/examples/l3fwd-graph/main.c index dbc36362c3..4ded69b4a0 100644 --- a/examples/l

[PATCH v7 12/14] examples/l3fwd-power: fix port ID restriction

2024-03-26 Thread Sivaprasad Tummala
.@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/l3fwd-power/main.c | 4 ++-- examples/l3fwd-power/perf_core.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/ma

[PATCH v7 08/14] examples/ipsec-secgw: fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
: add IPsec sample application") Cc: sergio.gonzalez.mon...@intel.com Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Konstantin Ananyev Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/ipsec-secgw/event_helper.h | 2 +- examples/ipsec-secgw/ipsec-sec

[PATCH v7 10/14] examples/vm_power_manager: fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
: add command to query CPU frequency") Cc: marcinx.hajkow...@intel.com Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/vm_power_manager/guest_cli/vm_power_cli_guest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH v7 11/14] examples/l3fwd: fix port ID restriction

2024-03-26 Thread Sivaprasad Tummala
Currently application supports port IDs up to 255 irrespective of RTE_MAX_ETHPORTS. The patch fixes these constraints by allowing port IDs up to RTE_MAX_ETHPORTS. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Konstant

[PATCH v7 09/14] examples/qos_sched: fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
mport") Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/qos_sched/args.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/qos_sched/args.c b/examples/qos_sched/args.c index 8d61d3e454..886542b

[PATCH v7 07/14] examples/l3fwd-graph: fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
: add graph-based l3fwd skeleton") Cc: ndabilpu...@marvell.com Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/l3fwd-graph/main.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/l

[PATCH v7 06/14] examples/l3fwd-power: fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
radu.nico...@intel.com Cc: sta...@dpdk.org Signed-off-by: Sivaprasad Tummala Acked-by: Morten Brørup Acked-by: Ferruh Yigit --- examples/l3fwd-power/main.c | 18 +++--- examples/l3fwd-power/main.h | 2 +- examples/l3fwd-power/perf_core.c | 11 --- 3 files changed, 20

[PATCH v7 05/14] examples/l3fwd: fix lcore ID restriction

2024-03-26 Thread Sivaprasad Tummala
Currently the config option allows lcore IDs up to 255, irrespective of RTE_MAX_LCORES and needs to be fixed. The patch fixes these constraints by allowing all lcore IDs up to RTE_MAX_LCORES. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Sivapras

[PATCH v7 04/14] examples/ipsec-secgw: fix queue ID restriction

2024-03-26 Thread Sivaprasad Tummala
Currently application supports rx queue IDs up to 255 and max queues of 256 irrespective of device support. This limits the number of active lcores to 256. The patch fixes these constraints by increasing the rx queue IDs to support up to 65535. Signed-off-by: Sivaprasad Tummala Acked-by

  1   2   3   >