Skip to content

Commit 1ba2a27

Browse files
ciju-nvidiafelixradensky
authored andcommitted
hw-mgmt: patches: Fix dpu attribute mask
This commit fixes some of the dpu attribute masks. Bugs: 4378157 Signed-off-by: Ciju Rajan K <[email protected]>
1 parent f749fb0 commit 1ba2a27

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

recipes-kernel/linux/linux-6.1/0091-platform-mellanox-mlxreg-dpu-Add-initial-support-for.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ index 000000000..c6cfbee55
240240
+ {
241241
+ .label = "dpu_id",
242242
+ .reg = MLXREG_DPU_REG_GP0_RO_OFFSET,
243-
+ .mask = GENMASK(3, 0),
243+
+ .bit = GENMASK(3, 0),
244244
+ .mode = 0444,
245245
+ },
246246
+ {
@@ -253,7 +253,7 @@ index 000000000..c6cfbee55
253253
+ {
254254
+ .label = "boot_progress",
255255
+ .reg = MLXREG_DPU_REG_GP1_OFFSET,
256-
+ .mask = GENMASK(3, 0),
256+
+ .bit = GENMASK(3, 0),
257257
+ .mode = 0444,
258258
+ },
259259
+ {

recipes-kernel/linux/linux-6.1/sonic/0091-platform-mellanox-mlxreg-dpu-Add-initial-support-for.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ index 000000000..c6cfbee55
241241
+ {
242242
+ .label = "dpu_id",
243243
+ .reg = MLXREG_DPU_REG_GP0_RO_OFFSET,
244-
+ .mask = GENMASK(3, 0),
244+
+ .bit = GENMASK(3, 0),
245245
+ .mode = 0444,
246246
+ },
247247
+ {
@@ -254,7 +254,7 @@ index 000000000..c6cfbee55
254254
+ {
255255
+ .label = "boot_progress",
256256
+ .reg = MLXREG_DPU_REG_GP1_OFFSET,
257-
+ .mask = GENMASK(3, 0),
257+
+ .bit = GENMASK(3, 0),
258258
+ .mode = 0444,
259259
+ },
260260
+ {

0 commit comments

Comments
 (0)