Skip to content
Commit 52a06c0a authored by Tomasz Duszynski's avatar Tomasz Duszynski Committed by Ruiqiang Hao
Browse files

vfio: platform: ignore missing reset if disabled at module init



commit 7a209c0d7f904745854c84999e551268b58c88cc from
git@git.assembla.com:cavium/WindRiver.linux.git

If reset requirement was relaxed via module parameter, errors caused by
missing reset should not be propagated down to the vfio core.
Otherwise initialization will fail.

Signed-off-by: default avatarTomasz Duszynski <tduszynski@marvell.com>
Fixes: 5f6c7e08

 ("vfio/platform: Use the new device life cycle helpers")
Reviewed-by: default avatarKevin Tian <kevin.tian@intel.com>
Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20230131083349.2027189-1-tduszynski@marvell.com
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
Change-Id: I2a9e229bcee43e8a801297cbefbd137818238919
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/121477
Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 9589b048
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment