lkml.org 
[lkml]   [2019]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHv3 0/3] fpga: altera-cvp: Add Stratix10 Support
Date
From: Thor Thayer <thor.thayer@linux.intel.com>

Newer versions (V2) of Altera/Intel FPGAs CvP have different PCI
Vendor Specific Capability offsets than the older (V1) Altera/FPGAs.

Most of the CvP registers and their bitfields remain the same
between both the older parts and the newer parts.

This patchset implements changes to discover the Vendor Specific
Capability offset and then add Stratix10 CvP support.

V2 Changes:
Remove inline designator from abstraction functions.
Reverse Christmas Tree format for local variables
Remove redundant mask from credit calculation
Add commment for the delay(1) function in wait_for_credit()

V3 Changes
Return int instead of void for abstraction functions
Check the return code from read in altera_cvp_chk_error()
Move reset of current_credit_byte to clear_state().
Check return codes of read/writes in added functions.

Thor Thayer (3):
fpga: altera-cvp: Discover Vendor Specific offset
fpga: altera-cvp: Preparation for V2 parts.
fpga: altera-cvp: Add Stratix10 (V2) Support

drivers/fpga/altera-cvp.c | 348 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 277 insertions(+), 71 deletions(-)

--
2.7.4

\
 
 \ /
  Last update: 2019-07-25 17:15    [W:0.060 / U:4.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site