On Thu, 11 Aug 2022 11:28:00 -0400 Sasha Levin wrote:
From: Moshe Shemesh moshe@nvidia.com
[ Upstream commit e26fde2f5befad0951fe6345403616bf51e901be ]
Add a lock_class_key per devlink instance to avoid DEADLOCK warning by lockdep, while locking more than one devlink instance in driver code, for example in opening VFs flow.
I think we can drop this one, no driver locks multiple instances in 5.19. The whole infra for that stuff is new. Not that adding a lockdep key can hurt in any way..