Skip to contentSkip to conversation

net/mlx5: Fix failing fw tracer allocation on s390

RFC Markus Elfring 3 participants 3 messages Apr 7, 2020 – Apr 8, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

On s390 FORCE_MAX_ZONEORDER is 9 instead of 11, thus a larger kzalloc() allocation as done for the firmware tracer will always fail.

How do you think about to add the tag “Fixes” to the final change description?

Regards,
Markus

#1 lore raw
Quoted 8 lines · Markus Elfring
Quoted 2 lines

On s390 FORCE_MAX_ZONEORDER is 9 instead of 11, thus a larger kzalloc() allocation as done for the firmware tracer will always fail.

How do you think about to add the tag “Fixes” to the final change description?

Regards,
Markus

You're right that makes a lot of sense, thanks! I guess this should reference the commit that introduced the debug trace, right?

Best regards,
Niklas

#2 lore raw
Quoted 8 lines · Niklas Schnelle
Quoted 7 lines · Markus Elfring
Quoted 3 lines

On s390 FORCE_MAX_ZONEORDER is 9 instead of 11, thus a larger kzalloc()
allocation as done for the firmware tracer will always fail.

How do you think about to add the tag “Fixes” to the final change description?

Quoted 7 lines
Quoted 3 lines

Regards,
Markus

You're right that makes a lot of sense, thanks! I guess this should reference
the commit that introduced the debug trace, right?

probably, just git blame this line:
tracer = kzalloc(sizeof(*tracer), GFP_KERNEL);