| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Switch interrupt type to NET so that it enters net epoch during
interrupt service routine.
Sponsored by: CHERI Research Centre
|
| |
|
|
| |
Sponsored by: CHERI Research Centre
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Due to performance constraints on a synthesized CHERI RISC-V core,
remove usage of xdma(4) scatter-gather framework. Instead, provide
a minimalistic interface between two drivers.
This increases performance ~4-5 times.
Tested using scp(1) and nc(1) on Codasip Prime.
Sponsored by: CHERI Research Centre
Differential Revision: https://reviews.freebsd.org/D53932
|
| |
|
|
|
|
|
|
|
|
| |
- Add a compatible string;
- Fix build.
Tested on Codasip X730 64-bit RISC-V CHERI Application CPU using
onboard nvme(4) device.
Differential Revision: https://reviews.freebsd.org/D53295
|
| |
|
|
|
|
|
|
|
| |
As axidma(4) does not support busdma(9) then add local cache flushes,
and map descriptors using default memory attribute (cacheable type).
This fixes operation on Codasip X730.
Sponsored by: UKRI
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The xae(9) driver expects that the "memory-region" property is always
provided in its DTS node, but this is not a case for every platform.
If the property is not provided, then no restriction on buffer location
is in place and busdma backend could be used.
Since the Xilinx AXI DMA engine driver does not support busdma(9), then
allocate some memory for buffers manually, so we don't panic.
This fixes operation on Codasip A730.
|
| |
|
|
|
|
|
|
|
|
| |
- add compat table and a string for an older IP
- name driver properly
- depend on ofw_spibus
- add missing ofw_bus_get_node() method
- connect to GENERIC (similar to other Xilinx IP)
Tested on Codasip A730.
|
| |
|
|
|
|
|
| |
This is simpler and more robust than individual calls to
device_delete_child.
Differential Revision: https://reviews.freebsd.org/D47972
|
| |
|
|
|
| |
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47675
|
| |
|
|
|
|
|
|
|
|
|
| |
Change 4787572d0580 made if_alloc_domain() never fail, then also do the
wrappers if_alloc(), if_alloc_dev(), and if_gethandle().
No functional change intended.
Reviewed by: kp, imp, glebius, stevek
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D45740
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
|
| |
|
|
| |
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
| |
|
|
| |
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| |
|
|
|
|
| |
Reviewed by: zlei
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D37797
|
| |
|
|
|
|
|
| |
Rename pci_host_generic_attach to pci_host_generic_fdt_attach to be
consistant with the acpi attachment.
Sponsored by: The FreeBSD Foundation
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
RISC-V is currently built with -Wno-format, which is how these went
undetected. Address them now before re-enabling those warnings.
Differential Revision: https://reviews.freebsd.org/D26319
Notes:
svn path=/head/; revision=365455
|
| |
|
|
| |
Notes:
svn path=/head/; revision=365127
|
| |
|
|
|
|
|
|
|
| |
by a peripheral device driver.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=357686
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
riscv cores.
GFE cores come with standard DTS file that lacks standard 'dmas ='
property, which means xae(4) could not find a DMA controller to use.
The 'dmas' property could not be added to the DTS file because the
ethernet controller and DMA engine parts in Linux are implemented
in a single driver.
Instead of 'dmas' property the standard Xilinx 'axistream-connected'
property is provided, so fallback to use it instead.
Suggested by: James Clarke <jrtc27@jrtc27.com>
Reviewed by: James Clarke <jrtc27@jrtc27.com>
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=357653
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Furnished Equipment (GFE) riscv cores.
GFE cores are synthesized on the Xilinx Virtex UltraScale+ FPGA VCU118
Evaluation Kit.
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D23337
Notes:
svn path=/head/; revision=357258
|
| |
|
|
| |
Notes:
svn path=/head/; revision=353861
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
XCHAN_CAP_BOUNCE.
The only application that uses bounce buffering for now is the Government
Furnished Equipment (GFE) P2's dma core (AXIDMA) with its own dedicated
cacheless bounce buffer.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=349727
|
| |
|
|
|
|
|
|
|
| |
found in the U.S. Government Furnished Equipment (GFE) 64-bit RISC-V cores.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=347344
|
| |
|
|
|
|
|
|
|
| |
in the U.S. Government Furnished Equipment (GFE) 64-bit RISC-V cores.
Sponsored by: DARPA, AFRL
Notes:
svn path=/head/; revision=347342
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As cs is stored in a uint32_t, use the last bit to store the
active high flag as it's unlikely that we will have that much CS.
Reviewed by: loos
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D8614
Notes:
svn path=/head/; revision=310229
|
| |
|
|
| |
Notes:
svn path=/head/; revision=298273
|
|
|
lowRISC hardware.
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Notes:
svn path=/head/; revision=298269
|