[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen staging] x86/mwait-idle: add Clearwater Forest SoC support



commit 5c5bb8dab7e89676f6e6db3314646daf34b39b9f
Author:     Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
AuthorDate: Wed Jul 9 11:02:35 2025 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Jul 9 11:02:35 2025 +0200

    x86/mwait-idle: add Clearwater Forest SoC support
    
    Clearwater Forest (CWF) SoC has the same C-states as Sierra Forest (SRF)
    SoC.  Add CWF support by re-using the SRF C-states table.
    
    Note: it is expected that CWF C-states will have same or very similar
    characteristics as SRF C-states (latency and target residency).
    
    However, there is a possibility that the characteristics will end up
    being different enough when the CWF platform development is finished.
    In that case, a separate CWF C-states table will be created and populated
    with the CWF-specific characteristics (latency and target residency).
    
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy@xxxxxxxxxxxxxxx>
    Link: 
https://patch.msgid.link/20241203130306.1559024-1-artem.bityutskiy@xxxxxxxxxxxxxxx
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
eeed4bfbe9b9
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/arch/x86/cpu/mwait-idle.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/arch/x86/cpu/mwait-idle.c b/xen/arch/x86/cpu/mwait-idle.c
index e36bab7b82..9ee54c625a 100644
--- a/xen/arch/x86/cpu/mwait-idle.c
+++ b/xen/arch/x86/cpu/mwait-idle.c
@@ -1350,6 +1350,7 @@ static const struct x86_cpu_id intel_idle_ids[] 
__initconstrel = {
        ICPU(ATOM_TREMONT_D,            snr),
        ICPU(ATOM_CRESTMONT,            grr),
        ICPU(ATOM_CRESTMONT_X,          srf),
+       ICPU(ATOM_DARKMONT_X,           srf),
        {}
 };
 
--
generated by git-patchbot for /home/xen/git/xen.git#staging



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.