fpga: add an initial KUnit suite for the FPGA Region
authorMarco Pagani <marpagan@redhat.com>
Tue, 18 Jul 2023 13:03:03 +0000 (15:03 +0200)
committerXu Yilun <yilun.xu@intel.com>
Sun, 23 Jul 2023 06:04:42 +0000 (14:04 +0800)
commit64a5f972c93de1f31fdf828e38b763afb07acb5b
tree6101debc549e194ab0d2c827c0d0d2ae4720d50b
parent9e6823481e5f6f2d4f4b43b6f3b00ace21b83f25
fpga: add an initial KUnit suite for the FPGA Region

The suite tests the basic behaviors of the FPGA Region including
the programming and the function for finding a specific region.

Signed-off-by: Marco Pagani <marpagan@redhat.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20230718130304.87048-4-marpagan@redhat.com
Signed-off-by: Xu Yilun <yilun.xu@intel.com>
drivers/fpga/tests/fpga-region-test.c [new file with mode: 0644]