intel_idle: add Grand Ridge SoC support
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 14 Dec 2023 16:56:21 +0000 (18:56 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 19 Dec 2023 17:56:45 +0000 (18:56 +0100)
commitac89d11b93cc37c52dc38206c3eaffd4fa603f91
treef717771c30b7a1e8964c0cea94259a4c005d3a6b
parenteeae55ed9c0a74604a49789e36b7cdf0ee8bd69c
intel_idle: add Grand Ridge SoC support

Add Intel Grand Ridge SoC C-states, which are C1, C1E, and C6S.

The Grand Ridge 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.

Package C6 is not supported by Grand Ridge SoC.

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