Skip to content

Commit

Permalink
add pcied config files for mellanox platform (sonic-net#5669)
Browse files Browse the repository at this point in the history
This PR has a dependency on community change to move PCIe config files from $PLATFORM/plugin folder to $PLATFORM/ folder
- Why I did it
To support PCIed daemon on Mellanox platforms
- How I did it
Add PCIed config yaml files for all Mellanox platforms
Update pmon daemon config files for SimX platforms
  • Loading branch information
keboliu authored Nov 3, 2020
1 parent 9d73552 commit 1158701
Show file tree
Hide file tree
Showing 15 changed files with 1,621 additions and 3 deletions.
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_lssn2700-r0/pcie.yaml
83 changes: 83 additions & 0 deletions device/mellanox/x86_64-mlnx_msn2010-r0/pcie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
- bus: '00'
dev: '00'
fn: '0'
id: 1f0b
name: 'Host bridge: Intel Corporation Atom processor C2000 SoC Transaction Router
(rev 02)'
- bus: '00'
dev: '01'
fn: '0'
id: 1f10
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 1 (rev
02)'
- bus: '00'
dev: '02'
fn: '0'
id: 1f11
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 2 (rev
02)'
- bus: '00'
dev: '03'
fn: '0'
id: 1f12
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 3 (rev
02)'
- bus: '00'
dev: 0b
fn: '0'
id: 1f18
name: 'Co-processor: Intel Corporation Atom processor C2000 QAT (rev 02)'
- bus: '00'
dev: 0e
fn: '0'
id: 1f14
name: 'Host bridge: Intel Corporation Atom processor C2000 RAS (rev 02)'
- bus: '00'
dev: 0f
fn: '0'
id: 1f16
name: 'IOMMU: Intel Corporation Atom processor C2000 RCEC (rev 02)'
- bus: '00'
dev: '13'
fn: '0'
id: 1f15
name: 'System peripheral: Intel Corporation Atom processor C2000 SMBus 2.0 (rev
02)'
- bus: '00'
dev: '14'
fn: '0'
id: 1f41
name: 'Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)'
- bus: '00'
dev: '16'
fn: '0'
id: 1f2c
name: 'USB controller: Intel Corporation Atom processor C2000 USB Enhanced Host
Controller (rev 02)'
- bus: '00'
dev: '17'
fn: '0'
id: 1f22
name: 'SATA controller: Intel Corporation Atom processor C2000 AHCI SATA2 Controller
(rev 02)'
- bus: '00'
dev: '18'
fn: '0'
id: 1f32
name: 'SATA controller: Intel Corporation Atom processor C2000 AHCI SATA3 Controller
(rev 02)'
- bus: '00'
dev: 1f
fn: '0'
id: 1f38
name: 'ISA bridge: Intel Corporation Atom processor C2000 PCU (rev 02)'
- bus: '00'
dev: 1f
fn: '3'
id: 1f3c
name: 'SMBus: Intel Corporation Atom processor C2000 PCU SMBus (rev 02)'
- bus: '01'
dev: '00'
fn: '0'
id: cb84
name: 'Ethernet controller: Mellanox Technologies MT52100'
83 changes: 83 additions & 0 deletions device/mellanox/x86_64-mlnx_msn2100-r0/pcie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
- bus: '00'
dev: '00'
fn: '0'
id: 1f0b
name: 'Host bridge: Intel Corporation Atom processor C2000 SoC Transaction Router
(rev 03)'
- bus: '00'
dev: '01'
fn: '0'
id: 1f10
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 1 (rev
03)'
- bus: '00'
dev: '02'
fn: '0'
id: 1f11
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 2 (rev
03)'
- bus: '00'
dev: '03'
fn: '0'
id: 1f12
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 3 (rev
03)'
- bus: '00'
dev: 0b
fn: '0'
id: 1f18
name: 'Co-processor: Intel Corporation Atom processor C2000 QAT (rev 03)'
- bus: '00'
dev: 0e
fn: '0'
id: 1f14
name: 'Host bridge: Intel Corporation Atom processor C2000 RAS (rev 03)'
- bus: '00'
dev: 0f
fn: '0'
id: 1f16
name: 'IOMMU: Intel Corporation Atom processor C2000 RCEC (rev 03)'
- bus: '00'
dev: '13'
fn: '0'
id: 1f15
name: 'System peripheral: Intel Corporation Atom processor C2000 SMBus 2.0 (rev
03)'
- bus: '00'
dev: '14'
fn: '0'
id: 1f41
name: 'Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)'
- bus: '00'
dev: '16'
fn: '0'
id: 1f2c
name: 'USB controller: Intel Corporation Atom processor C2000 USB Enhanced Host
Controller (rev 03)'
- bus: '00'
dev: '17'
fn: '0'
id: 1f22
name: 'SATA controller: Intel Corporation Atom processor C2000 AHCI SATA2 Controller
(rev 03)'
- bus: '00'
dev: '18'
fn: '0'
id: 1f32
name: 'SATA controller: Intel Corporation Atom processor C2000 AHCI SATA3 Controller
(rev 03)'
- bus: '00'
dev: 1f
fn: '0'
id: 1f38
name: 'ISA bridge: Intel Corporation Atom processor C2000 PCU (rev 03)'
- bus: '00'
dev: 1f
fn: '3'
id: 1f3c
name: 'SMBus: Intel Corporation Atom processor C2000 PCU SMBus (rev 03)'
- bus: '01'
dev: '00'
fn: '0'
id: cb84
name: 'Ethernet controller: Mellanox Technologies MT52100'
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn2410-r0/pcie.yaml
111 changes: 111 additions & 0 deletions device/mellanox/x86_64-mlnx_msn2700-r0/pcie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
- bus: '00'
dev: '00'
fn: '0'
id: '0154'
name: 'Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev
09)'
- bus: '00'
dev: '01'
fn: '0'
id: '0151'
name: 'PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI
Express Root Port (rev 09)'
- bus: '00'
dev: '01'
fn: '1'
id: '0155'
name: 'PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI
Express Root Port (rev 09)'
- bus: '00'
dev: '01'
fn: '2'
id: 0159
name: 'PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI
Express Root Port (rev 09)'
- bus: '00'
dev: '04'
fn: '0'
id: '0153'
name: 'Signal processing controller: Intel Corporation 3rd Gen Core Processor Thermal
Subsystem (rev 09)'
- bus: '00'
dev: '16'
fn: '0'
id: 1e3a
name: 'Communication controller: Intel Corporation 7 Series/C216 Chipset Family
MEI Controller #1 (rev 04)'
- bus: '00'
dev: '19'
fn: '0'
id: '1502'
name: 'Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection
(rev 04)'
- bus: '00'
dev: 1a
fn: '0'
id: 1e2d
name: 'USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced
Host Controller #2 (rev 04)'
- bus: '00'
dev: 1c
fn: '0'
id: 1e10
name: 'PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root
Port 1 (rev c4)'
- bus: '00'
dev: 1c
fn: '4'
id: 1e18
name: 'PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express
Root Port 5 (rev c4)'
- bus: '00'
dev: 1c
fn: '6'
id: 1e1c
name: 'PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express
Root Port 7 (rev c4)'
- bus: '00'
dev: 1c
fn: '7'
id: 1e1e
name: 'PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express
Root Port 8 (rev c4)'
- bus: '00'
dev: 1d
fn: '0'
id: 1e26
name: 'USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced
Host Controller #1 (rev 04)'
- bus: '00'
dev: 1f
fn: '0'
id: 1e55
name: 'ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)'
- bus: '00'
dev: 1f
fn: '2'
id: 1e03
name: 'SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller
[AHCI mode] (rev 04)'
- bus: '00'
dev: 1f
fn: '3'
id: 1e22
name: 'SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev
04)'
- bus: '00'
dev: 1f
fn: '6'
id: 1e24
name: 'Signal processing controller: Intel Corporation 7 Series/C210 Series Chipset
Family Thermal Management Controller (rev 04)'
- bus: '03'
dev: '00'
fn: '0'
id: cb84
name: 'Ethernet controller: Mellanox Technologies MT52100'
- bus: '06'
dev: '00'
fn: '0'
id: 150c
name: 'Ethernet controller: Intel Corporation 82583V Gigabit Network Connection'
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"skip_ledd": true,
"skip_xcvrd": true,
"skip_psud": true
"skip_psud": true,
"skip_pcied": true,
"skip_thermalctld": true
}
83 changes: 83 additions & 0 deletions device/mellanox/x86_64-mlnx_msn2740-r0/pcie.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
- bus: '00'
dev: '00'
fn: '0'
id: 1f0b
name: 'Host bridge: Intel Corporation Atom processor C2000 SoC Transaction Router
(rev 02)'
- bus: '00'
dev: '01'
fn: '0'
id: 1f10
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 1 (rev
02)'
- bus: '00'
dev: '02'
fn: '0'
id: 1f11
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 2 (rev
02)'
- bus: '00'
dev: '03'
fn: '0'
id: 1f12
name: 'PCI bridge: Intel Corporation Atom processor C2000 PCIe Root Port 3 (rev
02)'
- bus: '00'
dev: 0b
fn: '0'
id: 1f18
name: 'Co-processor: Intel Corporation Atom processor C2000 QAT (rev 02)'
- bus: '00'
dev: 0e
fn: '0'
id: 1f14
name: 'Host bridge: Intel Corporation Atom processor C2000 RAS (rev 02)'
- bus: '00'
dev: 0f
fn: '0'
id: 1f16
name: 'IOMMU: Intel Corporation Atom processor C2000 RCEC (rev 02)'
- bus: '00'
dev: '13'
fn: '0'
id: 1f15
name: 'System peripheral: Intel Corporation Atom processor C2000 SMBus 2.0 (rev
02)'
- bus: '00'
dev: '14'
fn: '0'
id: 1f41
name: 'Ethernet controller: Intel Corporation Ethernet Connection I354 (rev 03)'
- bus: '00'
dev: '16'
fn: '0'
id: 1f2c
name: 'USB controller: Intel Corporation Atom processor C2000 USB Enhanced Host
Controller (rev 02)'
- bus: '00'
dev: '17'
fn: '0'
id: 1f22
name: 'SATA controller: Intel Corporation Atom processor C2000 AHCI SATA2 Controller
(rev 02)'
- bus: '00'
dev: '18'
fn: '0'
id: 1f32
name: 'SATA controller: Intel Corporation Atom processor C2000 AHCI SATA3 Controller
(rev 02)'
- bus: '00'
dev: 1f
fn: '0'
id: 1f38
name: 'ISA bridge: Intel Corporation Atom processor C2000 PCU (rev 02)'
- bus: '00'
dev: 1f
fn: '3'
id: 1f3c
name: 'SMBus: Intel Corporation Atom processor C2000 PCU SMBus (rev 02)'
- bus: '01'
dev: '00'
fn: '0'
id: cb84
name: 'Ethernet controller: Mellanox Technologies MT52100'
1 change: 1 addition & 0 deletions device/mellanox/x86_64-mlnx_msn3420-r0/pcie.yaml
Loading

0 comments on commit 1158701

Please sign in to comment.