[05/10] tools/power/x86/intel-speed-select: Use mailbox for CLOS_PM_QOS_CONFIG
diff mbox series

Message ID 20191104110246.70465-6-srinivas.pandruvada@linux.intel.com
State Accepted
Commit cd0e63706549c3e0d61f5fe48806a4528c575035
Headers show
Series
  • [01/10] tools/power/x86/intel-speed-select: Extend command set for perf-profile
Related show

Commit Message

Srinivas Pandruvada Nov. 4, 2019, 11:02 a.m. UTC
Use mailbox to read/write CLOS_PM_QOS_CONFIG instead of read/write to
MMIO offset.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 tools/power/x86/intel-speed-select/isst-config.c | 6 ------
 1 file changed, 6 deletions(-)

Patch
diff mbox series

diff --git a/tools/power/x86/intel-speed-select/isst-config.c b/tools/power/x86/intel-speed-select/isst-config.c
index c563ecaf44e1..2a3650f025b9 100644
--- a/tools/power/x86/intel-speed-select/isst-config.c
+++ b/tools/power/x86/intel-speed-select/isst-config.c
@@ -574,12 +574,6 @@  int isst_send_mbox_command(unsigned int cpu, unsigned char command,
 			if (!ret && !write)
 				*resp = value;
 			break;
-		case CLOS_PM_QOS_CONFIG:
-			ret = isst_send_mmio_command(cpu, PM_QOS_CONFIG_OFFSET,
-						     write, &value);
-			if (!ret && !write)
-				*resp = value;
-			break;
 		case CLOS_STATUS:
 			break;
 		default: