Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fpga: fix spelling mistakes

Run the fpga subsystem through aspell.

Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Fernando Pacheco <fpacheco@redhat.com>
Signed-off-by: Moritz Fischer <mdf@kernel.org>

authored by

Tom Rix and committed by
Moritz Fischer
580e3137 758f7467

+12 -12
+2 -2
Documentation/fpga/dfl.rst
··· 10 10 - Xu Yilun <yilun.xu@intel.com> 11 11 12 12 The Device Feature List (DFL) FPGA framework (and drivers according to 13 - this framework) hides the very details of low layer hardwares and provides 13 + this framework) hides the very details of low layer hardware and provides 14 14 unified interfaces to userspace. Applications could use these interfaces to 15 15 configure, enumerate, open and access FPGA accelerators on platforms which 16 16 implement the DFL in the device memory. Besides this, the DFL framework ··· 205 205 also abstracts operations for the private features and exposes common ops to 206 206 feature device drivers. 207 207 208 - The FPGA DFL Device could be different hardwares, e.g. PCIe device, platform 208 + The FPGA DFL Device could be different hardware, e.g. PCIe device, platform 209 209 device and etc. Its driver module is always loaded first once the device is 210 210 created by the system. This driver plays an infrastructural role in the 211 211 driver architecture. It locates the DFLs in the device memory, handles them
+1 -1
drivers/fpga/altera-cvp.c
··· 346 346 } 347 347 348 348 if (val & VSE_CVP_STATUS_CFG_RDY) { 349 - dev_warn(&mgr->dev, "CvP already started, teardown first\n"); 349 + dev_warn(&mgr->dev, "CvP already started, tear down first\n"); 350 350 ret = altera_cvp_teardown(mgr, info); 351 351 if (ret) 352 352 return ret;
+1 -1
drivers/fpga/dfl-fme-pr.c
··· 148 148 149 149 /* 150 150 * it allows userspace to reset the PR region's logic by disabling and 151 - * reenabling the bridge to clear things out between accleration runs. 151 + * reenabling the bridge to clear things out between acceleration runs. 152 152 * so no need to hold the bridges after partial reconfiguration. 153 153 */ 154 154 if (region->get_bridges)
+1 -1
drivers/fpga/dfl-n3000-nios.c
··· 461 461 * We don't use the time based timeout here for performance. 462 462 * 463 463 * The regbus read/write is on the critical path of Intel PAC N3000 464 - * image programing. The time based timeout checking will add too much 464 + * image programming. The time based timeout checking will add too much 465 465 * overhead on it. Usually the state changes in 1 or 2 loops on the 466 466 * test server, and we set 10000 times loop here for safety. 467 467 */
+1 -1
drivers/fpga/dfl.h
··· 232 232 * @id: sub feature id. 233 233 * @resource_index: each sub feature has one mmio resource for its registers. 234 234 * this index is used to find its mmio resource from the 235 - * feature dev (platform device)'s reources. 235 + * feature dev (platform device)'s resources. 236 236 * @ioaddr: mapped mmio resource address. 237 237 * @irq_ctx: interrupt context list. 238 238 * @nr_irqs: number of interrupt contexts.
+2 -2
drivers/fpga/fpga-bridge.c
··· 230 230 * 231 231 * Get an exclusive reference to the bridge and and it to the list. 232 232 * 233 - * Return 0 for success, error code from of_fpga_bridge_get() othewise. 233 + * Return 0 for success, error code from of_fpga_bridge_get() otherwise. 234 234 */ 235 235 int of_fpga_bridge_get_to_list(struct device_node *np, 236 236 struct fpga_image_info *info, ··· 260 260 * 261 261 * Get an exclusive reference to the bridge and and it to the list. 262 262 * 263 - * Return 0 for success, error code from fpga_bridge_get() othewise. 263 + * Return 0 for success, error code from fpga_bridge_get() otherwise. 264 264 */ 265 265 int fpga_bridge_get_to_list(struct device *dev, 266 266 struct fpga_image_info *info,
+3 -3
drivers/fpga/zynq-fpga.c
··· 192 192 193 193 /* Once the first transfer is queued we can turn on the ISR, future 194 194 * calls to zynq_step_dma will happen from the ISR context. The 195 - * dma_lock spinlock guarentees this handover is done coherently, the 195 + * dma_lock spinlock guarantees this handover is done coherently, the 196 196 * ISR enable is put at the end to avoid another CPU spinning in the 197 197 * ISR on this lock. 198 198 */ ··· 267 267 ctrl = zynq_fpga_read(priv, CTRL_OFFSET); 268 268 if (!(ctrl & CTRL_SEC_EN_MASK)) { 269 269 dev_err(&mgr->dev, 270 - "System not secure, can't use crypted bitstreams\n"); 270 + "System not secure, can't use encrypted bitstreams\n"); 271 271 err = -EINVAL; 272 272 goto out_err; 273 273 } ··· 344 344 345 345 /* set configuration register with following options: 346 346 * - enable PCAP interface 347 - * - set throughput for maximum speed (if bistream not crypted) 347 + * - set throughput for maximum speed (if bistream not encrypted) 348 348 * - set CPU in user mode 349 349 */ 350 350 ctrl = zynq_fpga_read(priv, CTRL_OFFSET);
+1 -1
include/linux/fpga/fpga-mgr.h
··· 110 110 * @initial_header_size: Maximum number of bytes that should be passed into write_init 111 111 * @state: returns an enum value of the FPGA's state 112 112 * @status: returns status of the FPGA, including reconfiguration error code 113 - * @write_init: prepare the FPGA to receive confuration data 113 + * @write_init: prepare the FPGA to receive configuration data 114 114 * @write: write count bytes of configuration data to the FPGA 115 115 * @write_sg: write the scatter list of configuration data to the FPGA 116 116 * @write_complete: set FPGA to operating state after writing is done