Skip to content

Commit

Permalink
ok: Add Genoa processor identifying
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>
  • Loading branch information
tylerfanelli committed Jan 24, 2023
1 parent 8ff7cef commit ef47f7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ok.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ impl SevGeneration {
let naples = (0x1, 0x0, 0xf, 0x8);
let rome = (0x1, 0x3, 0xf, 0x8);
let milan = (0x1, 0x0, 0xf, 0xa);
let genoa = (0x1, 0x1, 0xf, 0xa);

if id == naples {
return Ok(SevGeneration::Sev);
} else if id == rome {
return Ok(SevGeneration::Es);
} else if id == milan {
} else if id == milan || id == genoa {
return Ok(SevGeneration::Snp);
}

Expand Down

0 comments on commit ef47f7d

Please sign in to comment.