mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-07 07:55:04 -05:00
Added Zen4 (Hawk Point) CPUs detection
This commit is contained in:
@@ -12,7 +12,7 @@ if grep -E 'AMD Ryzen|AMD EPYC|AuthenticAMD' /proc/cpuinfo > /dev/null;
|
|||||||
then
|
then
|
||||||
if grep "cpu family[[:space:]]\{1,\}:[[:space:]]25" /proc/cpuinfo > /dev/null;
|
if grep "cpu family[[:space:]]\{1,\}:[[:space:]]25" /proc/cpuinfo > /dev/null;
|
||||||
then
|
then
|
||||||
if grep "model[[:space:]]\{1,\}:[[:space:]]97" /proc/cpuinfo > /dev/null;
|
if grep "model[[:space:]]\{1,\}:[[:space:]]\(97\|117\)" /proc/cpuinfo > /dev/null;
|
||||||
then
|
then
|
||||||
echo "Detected Zen4 CPU"
|
echo "Detected Zen4 CPU"
|
||||||
wrmsr -a 0xc0011020 0x4400000000000
|
wrmsr -a 0xc0011020 0x4400000000000
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ xmrig::BasicCpuInfo::BasicCpuInfo() :
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0x19:
|
case 0x19:
|
||||||
if (m_model == 0x61) {
|
if ((m_model == 0x61) || (m_model == 0x75)) {
|
||||||
m_arch = ARCH_ZEN4;
|
m_arch = ARCH_ZEN4;
|
||||||
m_msrMod = MSR_MOD_RYZEN_19H_ZEN4;
|
m_msrMod = MSR_MOD_RYZEN_19H_ZEN4;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user