* |WARNING| pw126223-126224 [PATCH] [v4, 4/4] power: amd power monitor support
@ 2023-04-18 14:31 dpdklab
0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2023-04-18 14:31 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/126223
_apply patch failure_
Submitter: Sivaprasad Tummala <Sivaprasad.Tummala@amd.com>
Date: Tuesday, April 18 2023 08:25:29
Applied on: CommitID:3b3fef9de22af80d173453ab65a80b01ce38cbfd
Apply patch set 126223-126224 failed:
Checking patch lib/eal/x86/rte_power_intrinsics.c...
Hunk #2 succeeded at 128 (offset -1 lines).
Hunk #3 succeeded at 160 (offset -1 lines).
Hunk #4 succeeded at 172 (offset -1 lines).
error: while searching for:
wait_multi_supported = 1;
if (i.power_monitor)
monitor_supported = 1;
}
int
error: patch failed: lib/eal/x86/rte_power_intrinsics.c:173
Applying patch lib/eal/x86/rte_power_intrinsics.c with 1 reject...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Rejected hunk #5.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/lib/eal/x86/rte_power_intrinsics.c b/lib/eal/x86/rte_power_intrinsics.c (rejected hunks)
@@ -173,6 +220,14 @@ RTE_INIT(rte_power_intrinsics_init) {
wait_multi_supported = 1;
if (i.power_monitor)
monitor_supported = 1;
+
+ if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_MONITORX)) { /* AMD */
+ power_monitor_ops.mmonitor = &amd_monitorx;
+ power_monitor_ops.mwait = &amd_mwaitx;
+ } else { /* Intel */
+ power_monitor_ops.mmonitor = &intel_umonitor;
+ power_monitor_ops.mwait = &intel_umwait;
+ }
}
int
https://lab.dpdk.org/results/dashboard/patchsets/26027/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] 2+ messages in thread
* |WARNING| pw126223-126224 [PATCH] [v4, 4/4] power: amd power monitor support
@ 2023-04-18 12:56 dpdklab
0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2023-04-18 12:56 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/126223
_apply patch failure_
Submitter: Sivaprasad Tummala <Sivaprasad.Tummala@amd.com>
Date: Tuesday, April 18 2023 08:25:29
Applied on: CommitID:3b3fef9de22af80d173453ab65a80b01ce38cbfd
Apply patch set 126223-126224 failed:
Checking patch lib/eal/x86/rte_power_intrinsics.c...
Hunk #2 succeeded at 128 (offset -1 lines).
Hunk #3 succeeded at 160 (offset -1 lines).
Hunk #4 succeeded at 172 (offset -1 lines).
error: while searching for:
wait_multi_supported = 1;
if (i.power_monitor)
monitor_supported = 1;
}
int
error: patch failed: lib/eal/x86/rte_power_intrinsics.c:173
Applying patch lib/eal/x86/rte_power_intrinsics.c with 1 reject...
Hunk #1 applied cleanly.
Hunk #2 applied cleanly.
Hunk #3 applied cleanly.
Hunk #4 applied cleanly.
Rejected hunk #5.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/lib/eal/x86/rte_power_intrinsics.c b/lib/eal/x86/rte_power_intrinsics.c (rejected hunks)
@@ -173,6 +220,14 @@ RTE_INIT(rte_power_intrinsics_init) {
wait_multi_supported = 1;
if (i.power_monitor)
monitor_supported = 1;
+
+ if (rte_cpu_get_flag_enabled(RTE_CPUFLAG_MONITORX)) { /* AMD */
+ power_monitor_ops.mmonitor = &amd_monitorx;
+ power_monitor_ops.mwait = &amd_mwaitx;
+ } else { /* Intel */
+ power_monitor_ops.mmonitor = &intel_umonitor;
+ power_monitor_ops.mwait = &intel_umwait;
+ }
}
int
https://lab.dpdk.org/results/dashboard/patchsets/26027/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-18 14:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18 14:31 |WARNING| pw126223-126224 [PATCH] [v4, 4/4] power: amd power monitor support dpdklab
-- strict thread matches above, loose matches on Subject: below --
2023-04-18 12:56 dpdklab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).