]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/efa: Fail probe on missing BARs
authorMichael Margolin <mrgolin@amazon.com>
Mon, 13 May 2024 08:10:19 +0000 (08:10 +0000)
committerLeon Romanovsky <leon@kernel.org>
Thu, 30 May 2024 12:07:55 +0000 (15:07 +0300)
commit435cdbe9f7a879209807a7519512f94f0b4367c3
treeb742605d3f82d6e7df28d335fc0d9e072e661629
parent6f6bfbc595fbae95f4c1ff80c87d089604e5e6a1
RDMA/efa: Fail probe on missing BARs

In case any of PCI BARs is missing during device probe we would like to
fail as early as possible. Fail if any of the required BARs isn't listed
as a memory BAR.

Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Firas Jahjah <firasj@amazon.com>
Signed-off-by: Michael Margolin <mrgolin@amazon.com>
Link: https://lore.kernel.org/r/20240513081019.26998-1-mrgolin@amazon.com
Reviewed-by: Gal Pressman <gal.pressman@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/efa/efa_main.c