Skip to content

Commit 50d8f21

Browse files
gpunathilellmssonicbld
authored andcommitted
[Mellanox] SN4280 Platform pcie changes (#20093)
- Why I did it The pcie ids of some specific devices is updated for the SN4280 device. Due to this there are some changes to be updated in the platform specific code for mellanox sensors.conf - This change is due to pci id change for a sensor rshim..sh - This change is due to the pci id changes for the dpus, which have to be aligned to the platform pcie.yaml - This change is due to pci id change for the devices
1 parent e80a35a commit 50d8f21

File tree

3 files changed

+29
-35
lines changed

3 files changed

+29
-35
lines changed

device/mellanox/x86_64-nvidia_sn4280-r0/pcie.yaml

+26-32
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@
5151
id: '1453'
5252
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
5353
PCIe GPP Bridge'
54+
- bus: '00'
55+
dev: '01'
56+
fn: '5'
57+
id: '1453'
58+
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
59+
PCIe GPP Bridge'
60+
- bus: '00'
61+
dev: '01'
62+
fn: '6'
63+
id: '1453'
64+
name: 'PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
65+
PCIe GPP Bridge'
5466
- bus: '00'
5567
dev: '02'
5668
fn: '0'
@@ -217,75 +229,57 @@
217229
id: '1467'
218230
name: 'Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh)
219231
Data Fabric: Device 18h; Function 7'
220-
- bus: '01'
221-
dev: '00'
222-
fn: '0'
223-
id: c2d5
224-
name: 'DMA controller: Mellanox Technologies MT43244 BlueField-3 SoC Management
225-
Interface (rev 01)'
226-
- bus: '02'
227-
dev: '00'
228-
fn: '0'
229-
id: c2d5
230-
name: 'DMA controller: Mellanox Technologies MT43244 BlueField-3 SoC Management
231-
Interface (rev 01)'
232232
- bus: '03'
233233
dev: '00'
234234
fn: '0'
235235
id: '5765'
236-
name: 'Non-Volatile memory controller: Device 1f9f:5765 (rev 01)'
237-
- bus: '04'
236+
name: 'Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5765DL
237+
NVMe SSD Controller (DRAM-less) (rev 01)'
238+
- bus: '06'
238239
dev: '00'
239240
fn: '0'
240241
id: cf70
241242
name: 'Ethernet controller: Mellanox Technologies Spectrum-3'
242-
- bus: '05'
243-
dev: '00'
244-
fn: '0'
245-
id: c2d5
246-
name: 'DMA controller: Mellanox Technologies MT43244 BlueField-3 SoC Management
247-
Interface (rev 01)'
248-
- bus: '06'
249-
dev: '00'
250-
fn: '0'
251-
id: c2d5
252-
name: 'DMA controller: Mellanox Technologies MT43244 BlueField-3 SoC Management
253-
Interface (rev 01)'
254-
- bus: '07'
243+
- bus: 09
255244
dev: '00'
256245
fn: '0'
257246
id: 145a
258247
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
259248
Zeppelin/Raven/Raven2 PCIe Dummy Function'
260-
- bus: '07'
249+
- bus: 09
261250
dev: '00'
262251
fn: '2'
263252
id: '1456'
264253
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models
265254
00h-0fh) Platform Security Processor (PSP) 3.0 Device'
266-
- bus: '07'
255+
- bus: 09
267256
dev: '00'
268257
fn: '3'
269258
id: 145f
270259
name: 'USB controller: Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI
271260
Compliant Host Controller'
272-
- bus: 08
261+
- bus: 0a
273262
dev: '00'
274263
fn: '0'
275264
id: '1455'
276265
name: 'Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD]
277266
Zeppelin/Renoir PCIe Dummy Function'
278-
- bus: 08
267+
- bus: 0a
279268
dev: '00'
280269
fn: '1'
281270
id: '1468'
282271
name: 'Encryption controller: Advanced Micro Devices, Inc. [AMD] Zeppelin Cryptographic
283272
Coprocessor NTBCCP'
284-
- bus: 08
273+
- bus: 0a
285274
dev: '00'
286275
fn: '4'
287276
id: '1458'
288277
name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] XGMAC 10GbE Controller'
278+
- bus: 0a
279+
dev: '00'
280+
fn: '5'
281+
id: '1458'
282+
name: 'Ethernet controller: Advanced Micro Devices, Inc. [AMD] XGMAC 10GbE Controller'
289283
- bus: '40'
290284
dev: '00'
291285
fn: '0'

device/mellanox/x86_64-nvidia_sn4280-r0/sensors.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -561,5 +561,5 @@ chip "nvme-pci-*"
561561
ignore temp2
562562
ignore temp3
563563

564-
chip "00000400400-mdio-*"
564+
chip "00000a00400-mdio-*"
565565
label temp1 "PHY TEMP"

platform/mellanox/rshim/files/rshim.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ fi
2424
dpu_id=$1
2525

2626
declare -A dpu2pcie
27-
dpu2pcie[0]="06:00.0"
28-
dpu2pcie[1]="05:00.0"
27+
dpu2pcie[0]="08:00.0"
28+
dpu2pcie[1]="07:00.0"
2929
dpu2pcie[2]="01:00.0"
3030
dpu2pcie[3]="02:00.0"
3131

0 commit comments

Comments
 (0)