Skip to contentSkip to conversation

Octeon 6xxx: Initial commit porting executive files from sdk2.3

PATCH New philby john 1 participant 1 message Jun 7, 2012 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Octeon 6xxx: Initial commit porting executive files from sdk2.3

From eb9d86c9ac6d23f36f01e6b8b364c3922e550fff Mon Sep 17 00:00:00 2001
From: Philby John <[email protected]>
Date: Thu, 7 Jun 2012 11:49:32 +0530
Subject: [PATCH] Octeon 6xxx: Initial commit porting executive files from sdk2.3

Initial commit that sets up the internal functions needed for implementing Power Throttling for Octeon 6xxx and above.

Additional functionality such as setting throttle feedback cvmx_init_throttle_feedback(), calculating throttle percentage cvmx_power_throttle_get_powlim(), and other bugfixes not present in the SDK have been implemented.

---
 arch/mips/cavium-octeon/executive/Makefile         |    2 +-
 .../cavium-octeon/executive/cvmx-power-throttle.c  |  287 ++++++++++++++++++++
 arch/mips/include/asm/octeon/cvmx-power-throttle.h |  103 +++++++
 3 files changed, 391 insertions(+), 1 deletions(-)
 create mode 100644 arch/mips/cavium-octeon/executive/cvmx-power-throttle.c
 create mode 100644 arch/mips/include/asm/octeon/cvmx-power-throttle.h
arch/mips/cavium-octeon/executive/Makefile +1 -1
index b6d6e84..659cd9e 100644
@@ -14,6 +14,6 @@ obj-y += cvmx-pko.o cvmx-spi.o cvmx-cmd-queue.o \
 	cvmx-helper-board.o cvmx-helper.o cvmx-helper-xaui.o \
 	cvmx-helper-rgmii.o cvmx-helper-sgmii.o cvmx-helper-npi.o \
 	cvmx-helper-loop.o cvmx-helper-spi.o cvmx-helper-util.o \
-	cvmx-interrupt-decodes.o cvmx-interrupt-rsl.o
+	cvmx-interrupt-decodes.o cvmx-interrupt-rsl.o cvmx-power-throttle.o
 
 obj-y += cvmx-helper-errata.o cvmx-helper-jtag.o
arch/mips/cavium-octeon/executive/cvmx-power-throttle.c new file +287 -0

287 lines not on this page · raw message

arch/mips/include/asm/octeon/cvmx-power-throttle.h new file +103 -0

103 lines not on this page · raw message

Signature · 1 line
1.6.3.3.338.ge89ce