intel_idle: add Sierra Forest SoC support
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 14 Dec 2023 16:56:22 +0000 (18:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 Dec 2023 17:56:45 +0000 (18:56 +0100)
commit92813fd5b1562e547120c8489137b040892fe1bc
tree6de1a373a6f5ad1d0de3973e1814f9aa071fda8b
parentac89d11b93cc37c52dc38206c3eaffd4fa603f91
intel_idle: add Sierra Forest SoC support

Add Sierra Forest SoC C-states, which are C1, C1E, C6S, and C6SP.

Sierra Forest SoC is built with modules, each module includes 4 cores
(Crestmont microarchitecture). There is one L2 cache per module, shared
between the 4 cores.

There is no core C6 state, but there is C6S state, which has module scope:
when all 4 cores request C6S, the entire module (4 cores + L2 cache)
enters the low power state.

C6SP state has package scope - when all modules in the package enter C6S,
the package enters the power state mode.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/idle/intel_idle.c