···1010- Xu Yilun <yilun.xu@intel.com>11111212The Device Feature List (DFL) FPGA framework (and drivers according to1313-this framework) hides the very details of low layer hardwares and provides1313+this framework) hides the very details of low layer hardware and provides1414unified interfaces to userspace. Applications could use these interfaces to1515configure, enumerate, open and access FPGA accelerators on platforms which1616implement the DFL in the device memory. Besides this, the DFL framework···205205also abstracts operations for the private features and exposes common ops to206206feature device drivers.207207208208-The FPGA DFL Device could be different hardwares, e.g. PCIe device, platform208208+The FPGA DFL Device could be different hardware, e.g. PCIe device, platform209209device and etc. Its driver module is always loaded first once the device is210210created by the system. This driver plays an infrastructural role in the211211driver architecture. It locates the DFLs in the device memory, handles them
+1-1
drivers/fpga/altera-cvp.c
···346346 }347347348348 if (val & VSE_CVP_STATUS_CFG_RDY) {349349- dev_warn(&mgr->dev, "CvP already started, teardown first\n");349349+ dev_warn(&mgr->dev, "CvP already started, tear down first\n");350350 ret = altera_cvp_teardown(mgr, info);351351 if (ret)352352 return ret;
+1-1
drivers/fpga/dfl-fme-pr.c
···148148149149 /*150150 * it allows userspace to reset the PR region's logic by disabling and151151- * reenabling the bridge to clear things out between accleration runs.151151+ * reenabling the bridge to clear things out between acceleration runs.152152 * so no need to hold the bridges after partial reconfiguration.153153 */154154 if (region->get_bridges)
+1-1
drivers/fpga/dfl-n3000-nios.c
···461461 * We don't use the time based timeout here for performance.462462 *463463 * The regbus read/write is on the critical path of Intel PAC N3000464464- * image programing. The time based timeout checking will add too much464464+ * image programming. The time based timeout checking will add too much465465 * overhead on it. Usually the state changes in 1 or 2 loops on the466466 * test server, and we set 10000 times loop here for safety.467467 */
+1-1
drivers/fpga/dfl.h
···232232 * @id: sub feature id.233233 * @resource_index: each sub feature has one mmio resource for its registers.234234 * this index is used to find its mmio resource from the235235- * feature dev (platform device)'s reources.235235+ * feature dev (platform device)'s resources.236236 * @ioaddr: mapped mmio resource address.237237 * @irq_ctx: interrupt context list.238238 * @nr_irqs: number of interrupt contexts.
+2-2
drivers/fpga/fpga-bridge.c
···230230 *231231 * Get an exclusive reference to the bridge and and it to the list.232232 *233233- * Return 0 for success, error code from of_fpga_bridge_get() othewise.233233+ * Return 0 for success, error code from of_fpga_bridge_get() otherwise.234234 */235235int of_fpga_bridge_get_to_list(struct device_node *np,236236 struct fpga_image_info *info,···260260 *261261 * Get an exclusive reference to the bridge and and it to the list.262262 *263263- * Return 0 for success, error code from fpga_bridge_get() othewise.263263+ * Return 0 for success, error code from fpga_bridge_get() otherwise.264264 */265265int fpga_bridge_get_to_list(struct device *dev,266266 struct fpga_image_info *info,
+3-3
drivers/fpga/zynq-fpga.c
···192192193193 /* Once the first transfer is queued we can turn on the ISR, future194194 * calls to zynq_step_dma will happen from the ISR context. The195195- * dma_lock spinlock guarentees this handover is done coherently, the195195+ * dma_lock spinlock guarantees this handover is done coherently, the196196 * ISR enable is put at the end to avoid another CPU spinning in the197197 * ISR on this lock.198198 */···267267 ctrl = zynq_fpga_read(priv, CTRL_OFFSET);268268 if (!(ctrl & CTRL_SEC_EN_MASK)) {269269 dev_err(&mgr->dev,270270- "System not secure, can't use crypted bitstreams\n");270270+ "System not secure, can't use encrypted bitstreams\n");271271 err = -EINVAL;272272 goto out_err;273273 }···344344345345 /* set configuration register with following options:346346 * - enable PCAP interface347347- * - set throughput for maximum speed (if bistream not crypted)347347+ * - set throughput for maximum speed (if bistream not encrypted)348348 * - set CPU in user mode349349 */350350 ctrl = zynq_fpga_read(priv, CTRL_OFFSET);
+1-1
include/linux/fpga/fpga-mgr.h
···110110 * @initial_header_size: Maximum number of bytes that should be passed into write_init111111 * @state: returns an enum value of the FPGA's state112112 * @status: returns status of the FPGA, including reconfiguration error code113113- * @write_init: prepare the FPGA to receive confuration data113113+ * @write_init: prepare the FPGA to receive configuration data114114 * @write: write count bytes of configuration data to the FPGA115115 * @write_sg: write the scatter list of configuration data to the FPGA116116 * @write_complete: set FPGA to operating state after writing is done