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: Tomasz Duszynski <tduszynski@marvell.com> Fixes: 5f6c7e08 ("vfio/platform: Use the new device life cycle helpers") Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Link: https://lore.kernel.org/r/20230131083349.2027189-1-tduszynski@marvell.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Change-Id: I2a9e229bcee43e8a801297cbefbd137818238919 Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/121477 Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
parent
6c6e9786
Please register or sign in to comment