Re: [PATCH 0/4] fpga: Add dummy definitions of API functions
From: Ian Abbott
Date: Wed Nov 05 2025 - 06:16:33 EST
On 2025-11-05 01:47, Xu Yilun wrote:
On Tue, Nov 04, 2025 at 03:27:01PM +0000, Ian Abbott wrote:
Add dummy definitions of the FPGA API functions for build testing
1) fpga: altera-pr-ip: Add dummy definitions of API functions
2) fpga: bridge: Add dummy definitions of API functions
3) fpga: manager: Add dummy definitions of API functions
4) fpga: region: Add dummy definitions of API functions
Sorry I don't get the idea. Why should someone use FPGA APIs without
selecting CONIG_FPGA_XXX? Better make the changes along with the use
case patches.
Projects using FPGAs often have custom devices with custom, out-of-tree drivers, so it's quite useful to be able to build test those drivers against later kernel versions on the host to keep up with kernel API drift, prior to possible later adoption of the kernel version on the target.
Thanks,However, I messed up the patches, because I only built them without the FPGA configure options defined. I plan to submit a v2 patch series unless it is deemed a complete waste of effort by the maintainers.
Yilun
include/linux/fpga/altera-pr-ip-core.h | 8 ++-
include/linux/fpga/fpga-bridge.h | 75 ++++++++++++++++++++++++++-
include/linux/fpga/fpga-mgr.h | 95 +++++++++++++++++++++++++++++++---
include/linux/fpga/fpga-region.h | 44 ++++++++++++++--
4 files changed, 207 insertions(+), 15 deletions(-)
Cheers,
Ian
--
-=( Ian Abbott <abbotti@xxxxxxxxx> || MEV Ltd. is a company )=-
-=( registered in England & Wales. Regd. number: 02862268. )=-
-=( Regd. addr.: S11 & 12 Building 67, Europa Business Park, )=-
-=( Bird Hall Lane, STOCKPORT, SK3 0XA, UK. || www.mev.co.uk )=-