[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22148db9-3579-4298-b641-91cc98dc1c5c@mev.co.uk>
Date: Wed, 5 Nov 2025 10:37:39 +0000
From: Ian Abbott <abbotti@....co.uk>
To: Xu Yilun <yilun.xu@...ux.intel.com>
Cc: linux-fpga@...r.kernel.org, Moritz Fischer <mdf@...nel.org>,
Xu Yilun <yilun.xu@...el.com>, Tom Rix <trix@...hat.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/4] fpga: Add dummy definitions of API functions
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,
> 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(-)
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.
Cheers,
Ian
--
-=( Ian Abbott <abbotti@....co.uk> || 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 )=-
Powered by blists - more mailing lists