Project

General

Profile

Actions

Support #13778

open

AMD Ryzen 5600 Starship/Matisse support

Added by r a about 2 months ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:
Gerrit CR:

Description

I am running OpenIndiana Hipster when I run the Device Driver Utility it reports that the following AMD components are unknown devices.

node name:                          pci1022,1486
Vendor:                             Advanced Micro Devices, Inc. [AMD]
Device:                             Starship/Matisse Cryptographic Coprocessor PSPCPP
Sub-Vendor:                         Advanced Micro Devices, Inc. [AMD]
binding name:                       pci1022,1486
devfs path:                         /pci@0,0/pci1022,1484@8,1/pci1022,1486
pci path:                           2d,0,1
compatible name:                    (pciex1022,1486.1022.1486.0)(pciex1022,1486.1022.1486)(pciex1022,1486.0)(pciex1022,1486)(pciexclass,108000)(pciexclass,1080)(pci1022,1486.1022.1486.0)(pci1022,1486.1022.1486)(pci1022,1486,s)(pci1022,1486)(pci1022,1486.0)(pci1022,1486,p)(pci1022,1486)(pciclass,108000)(pciclass,1080)
driver name:                        unknown
pcie-link-supported-speeds:         9502f900
pcie-link-maximum-speed:            3b9aca000
pcie-link-current-speed:            3b9aca000
pcie-link-current-width:            10
pcie-link-maximum-width:            10
assigned-addresses:                 822d0118
reg:                                2d0100
compatible:                         pciex1022,1486.1022.1486.0
model:                              En/decryption controller
power-consumption:                  1
devsel-speed:                       0
interrupts:                         1
subsystem-vendor-id:                1022
subsystem-id:                       1486
unit-address:                       0,1
class-code:                         108000
revision-id:                        0
vendor-id:                          1022
device-id:                          1486

node name:                          pci1022,1485
Vendor:                             Advanced Micro Devices, Inc. [AMD]
Device:                             Starship/Matisse Reserved SPP
Sub-Vendor:                         Advanced Micro Devices, Inc. [AMD]
binding name:                       pci1022,1485
devfs path:                         /pci@0,0/pci1022,1484@8,1/pci1022,1485
pci path:                           2d,0,0
compatible name:                    (pciex1022,1485.1022.1485.0)(pciex1022,1485.1022.1485)(pciex1022,1485.0)(pciex1022,1485)(pciexclass,130000)(pciexclass,1300)(pci1022,1485.1022.1485.0)(pci1022,1485.1022.1485)(pci1022,1485,s)(pci1022,1485)(pci1022,1485.0)(pci1022,1485,p)(pci1022,1485)(pciclass,130000)(pciclass,1300)
driver name:                        unknown
pcie-link-supported-speeds:         9502f900
pcie-link-target-speed:             3b9aca000
pcie-link-maximum-speed:            3b9aca000
pcie-link-current-speed:            3b9aca000
pcie-link-current-width:            10
pcie-link-maximum-width:            10
reg:                                2d0000
compatible:                         pciex1022,1485.1022.1485.0
model:                              Unknown class of pci/pnpbios device
power-consumption:                  1
devsel-speed:                       0
subsystem-vendor-id:                1022
subsystem-id:                       1485
unit-address:                       0
class-code:                         130000
revision-id:                        0
vendor-id:                          1022
device-id:                          1485

node name:                          pci1022,148a
Vendor:                             Advanced Micro Devices, Inc. [AMD]
Device:                             Starship/Matisse PCIe Dummy Function
Sub-Vendor:                         Advanced Micro Devices, Inc. [AMD]
binding name:                       pci1022,148a
devfs path:                         /pci@0,0/pci1022,1484@7,1/pci1022,148a
pci path:                           2c,0,0
compatible name:                    (pciex1022,148a.1022.148a.0)(pciex1022,148a.1022.148a)(pciex1022,148a.0)(pciex1022,148a)(pciexclass,130000)(pciexclass,1300)(pci1022,148a.1022.148a.0)(pci1022,148a.1022.148a)(pci1022,148a,s)(pci1022,148a)(pci1022,148a.0)(pci1022,148a,p)(pci1022,148a)(pciclass,130000)(pciclass,1300)
driver name:                        unknown
pcie-link-supported-speeds:         9502f900
pcie-link-target-speed:             3b9aca000
pcie-link-maximum-speed:            3b9aca000
pcie-link-current-speed:            3b9aca000
pcie-link-current-width:            10
pcie-link-maximum-width:            10
acpi-namespace:                     _SB_.PCI0.GP12.D014
reg:                                2c0000
compatible:                         pciex1022,148a.1022.148a.0
model:                              Unknown class of pci/pnpbios device
power-consumption:                  1
devsel-speed:                       0
subsystem-vendor-id:                1022
subsystem-id:                       148a
unit-address:                       0
class-code:                         130000
revision-id:                        0
vendor-id:                          1022
device-id:                          148a

OpenIndiana Hipster is reporting that it failed to attach the AMD IOMMU could this be related to the Starship/Matisse PCIe Dummy Function?
In the attached extract of /var/adm/messages it reports

May 4 07:44:42 tesla genunix: [ID 596552 kern.info] Reading Intel IOMMU boot options
May 4 07:44:42 tesla rootnex: [ID 349649 kern.info] npe0 at root: space 0 offset 0
May 4 07:44:42 tesla genunix: [ID 936769 kern.info] npe0 is /pci@0,0

If the Intel IOMMU options have been read then would it be able to attach the AMD IOMMU?


Files

may (63.5 KB) may messages for 4th may r a, 2021-05-04 09:04 PM
Actions #1

Updated by Robert Mustacchi about 2 months ago

Couple notes here:

  • On AMD systems in general (Rome, Milan, etc.) you'll find devices without drivers. For some of these like the dummy ports, that's expected.
  • No one has written a driver for the PSP encryption/decryption controller there because there are no docs.
  • Currently the IOMMU on AMD isn't supported.
  • On Zen2/3 systems you'll actually find that the device we care about for enumerating subsequent devices are the actual host bridges. That is generally on Zen 2 pciex1022,1484. The dummies are just dummies.
Actions

Also available in: Atom PDF