Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Ryzen AI 9 HX 365/370 #309

Open
PisonJay opened this issue Aug 19, 2024 · 7 comments · Fixed by #311
Open

Support for Ryzen AI 9 HX 365/370 #309

PisonJay opened this issue Aug 19, 2024 · 7 comments · Fixed by #311

Comments

@PisonJay
Copy link

PisonJay commented Aug 19, 2024

Hi, as the Ryzen AI 9 processors released, can you add support for them?

Mine is an ASUS Vivobook S 16 with HX 365,
CPU0: AMD Ryzen AI 9 365 w/ Radeon 880M (family: 0x1a, model: 0x24, stepping: 0x0)

The new Zen 5 processors seem to have family id 0x1a.

❯ sudo ryzenadj --dump-table
Fam1ah: unsupported model 36
Unsupported family: 1ah
Only Ryzen Mobile Series are supported
Unable to init ryzenadj
@boulate
Copy link

boulate commented Aug 20, 2024

Same here for the Ryzen AI 9 HX 370 :

lscpu
Architecture : x86_64
Mode(s) opératoire(s) des processeurs : 32-bit, 64-bit
Tailles des adresses: 48 bits physical, 48 bits virtual
Boutisme : Little Endian
Processeur(s) : 24
Liste de processeur(s) en ligne : 0-23
Identifiant constructeur : AuthenticAMD
Identifiant constructeur du BIOS : Advanced Micro Devices, Inc.
Nom de modèle : AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Nom de modèle BIOS : AMD Ryzen AI 9 HX 370 w/ Radeon 890M Unknown CPU @ 2.0GHz
Famille de processeur BIOS : 107
Famille de processeur : 26
Modèle : 36
Thread(s) par cœur : 2
Cœur(s) par socket : 12
Socket(s) : 1
Révision : 0
multiplication des MHz du/des CPU(s) : 20%
Vitesse maximale du processeur en MHz : 4367,0000
Vitesse minimale du processeur en MHz : 599,0000
BogoMIPS : 3994,85
Drapeaux : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_l
br_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_lega
cy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ss
bd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt
clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk avx_vnni avx512_bf16 clzero irperf xsavee
rptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif x2avic v_spec_ctrl
vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid bus_lock_detect movdiri movdir64b overflow_recov succor sm
ca fsrm avx512_vp2intersect flush_l1d amd_lbr_pmc_freeze
Fonctionnalités de virtualisation :
Virtualisation : AMD-V
Caches (somme de toutes) :
L1d : 576 KiB (12 instances)
L1i : 384 KiB (12 instances)
L2 : 12 MiB (12 instances)
L3 : 24 MiB (2 instances)
NUMA :
Nœud(s) NUMA : 1
Nœud NUMA 0 de processeur(s) : 0-23
Vulnérabilités :
Gather data sampling : Not affected
Itlb multihit : Not affected
L1tf : Not affected
Mds : Not affected
Meltdown : Not affected
Mmio stale data : Not affected
Reg file data sampling : Not affected
Retbleed : Not affected
Spec rstack overflow : Not affected
Spec store bypass : Mitigation; Speculative Store Bypass disabled via prctl
Spectre v1 : Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2 : Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Srbds : Not affected
Tsx async abort : Not affected

I hope this informations are sufficient.
Thank you for your work !

@mzdluo123
Copy link
Contributor

#310

@FlyGoat
Copy link
Owner

FlyGoat commented Sep 5, 2024

Hi all,

I had integrated table part of #310 and adjustment part based on reverse engineering ACPI table to a development branch.

See: https://github.com/FlyGoat/RyzenAdj/tree/stx-point

Please test and report!

@FlyGoat
Copy link
Owner

FlyGoat commented Sep 5, 2024

For Windows builds please download ryzenadj-win64-debug from https://github.com/FlyGoat/RyzenAdj/actions/runs/10723443339

@FlyGoat
Copy link
Owner

FlyGoat commented Sep 5, 2024

I received off-issue test reports stating that at least PPT adjustment features are working, will merge test changes into master.

@FlyGoat
Copy link
Owner

FlyGoat commented Sep 5, 2024

Reopen as more testing work and PMTable work is still needed

@FlyGoat FlyGoat reopened this Sep 5, 2024
@PisonJay
Copy link
Author

https://www.amd.com/en/developer/uprof.html

NEW, AMD uProf 5.0 is now available (October 10, 2024)
Maybe we can try hacking PM tables now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants