Author: br
Date: Mon Nov 21 15:35:56 2016
New Revision: 308927
URL: https://svnweb.freebsd.org/changeset/base/308927
Log:
Move FDT option to the main SoC file and mark boards config
as NO_UNIVERSE.
Pointed out by: andrew
Sponsored by: DARPA, AFRL
Modified:
head/sys/mips/conf/CA
(r308928)
@@ -0,0 +1,68 @@
+/*-
+ * Copyright (c) 2016 Ruslan Bukin
+ * All rights reserved.
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
+ * ("CTSRD"), as part of the D
Author: br
Date: Tue Nov 22 18:31:43 2016
New Revision: 309018
URL: https://svnweb.freebsd.org/changeset/base/309018
Log:
Revert r306186 ("Adjust the sopt_val pointer on bigendian systems").
This logic doesn't work with bigger sopt_valsize (e.g. when ipfw
passing 2048 bytes rule).
Re
Author: br
Date: Wed Nov 23 11:30:40 2016
New Revision: 309053
URL: https://svnweb.freebsd.org/changeset/base/309053
Log:
Increase pcpu size to 512 so it become both denominator
of PAGE_SIZE and aligned to CACHE_LINE_SIZE.
This fixes CTASSERT.
Sponsored by: DARPA, AFRL
Modified:
h
Author: br
Date: Wed Nov 23 11:56:22 2016
New Revision: 309055
URL: https://svnweb.freebsd.org/changeset/base/309055
Log:
Split MALTA board config to big and little endian versions.
This fixes compilation after r308807 ("Pass MACHINE_ARCH on
command line for MIPS kernels.")
Sponsored
Author: br
Date: Sat Nov 26 10:20:33 2016
New Revision: 309188
URL: https://svnweb.freebsd.org/changeset/base/309188
Log:
Don't build Ingenic kernels until we have non-static FDT support
for them.
Sponsored by: DARPA, AFRL
Modified:
head/sys/mips/conf/JZ4780
head/sys/mips/conf/X1000
On Sun, Nov 27, 2016 at 11:12:13PM +0700, Eugene Grosbein wrote:
> Hi!
>
> Ruslan, please take a look.
>
> > For reference - this breaks sooptcopyin() on MIPS32 BE. Undoing this
> > commit fixes things. :)
> >
> > (it breaks ipfw. )
>
> I acknowledge this running FreeBSD 12/mips with real MIP32
==
--- head/sys/dev/sound/pci/hdspe-pcm.c Wed Dec 7 09:40:06 2016
(r309672)
+++ head/sys/dev/sound/pci/hdspe-pcm.c Wed Dec 7 13:19:19 2016
(r309673)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2012 Ruslan Bukin
newly added)
+++ head/sys/mips/ingenic/jz4780_codec.cThu Dec 8 16:28:34 2016
(r309715)
@@ -0,0 +1,242 @@
+/*-
+ * Copyright (c) 2016 Ruslan Bukin
+ * All rights reserved.
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory
(r309739)
@@ -0,0 +1,74 @@
+/*-
+ * Copyright (c) 2016 Ruslan Bukin
+ * All rights reserved.
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
+ * ("CTSRD"), as part of the DARPA CRAS
Author: br
Date: Mon Dec 12 17:08:52 2016
New Revision: 309896
URL: https://svnweb.freebsd.org/changeset/base/309896
Log:
Apply clear_mask correctly.
Reviewed by: jmcneill, kan
Sponsored by: DARPA, AFRL
Modified:
head/sys/mips/ingenic/jz4780_clock.c
Modified: head/sys/mips/ingenic/jz
Author: br
Date: Thu Oct 10 12:46:34 2019
New Revision: 353390
URL: https://svnweb.freebsd.org/changeset/base/353390
Log:
Update Intel Processor Trace decoder library.
Its latest version merged from:
^/vendor/processor-trace/892e12c5a27bda5806d1e63269986bb4171b5a8b
Sponsored by: DARP
Author: br
Date: Thu Oct 10 13:30:13 2019
New Revision: 353393
URL: https://svnweb.freebsd.org/changeset/base/353393
Log:
Update ARM CoreSight trace decoder library.
Its latest version merged from:
^/vendor/opencsd/a1961c91b02a92f3c6ed8b145c636ac4c5565aca
Sponsored by: DARPA, AFRL
A
Author: br
Date: Thu Oct 10 13:44:12 2019
New Revision: 353394
URL: https://svnweb.freebsd.org/changeset/base/353394
Log:
Remove a stale file left after merging.
Sponsored by: DARPA, AFRL
Deleted:
head/contrib/opencsd/decoder/include/ocsd_if_version.h
Author: br
Date: Fri Oct 11 09:18:45 2019
New Revision: 353431
URL: https://svnweb.freebsd.org/changeset/base/353431
Log:
Install the libopencsd version header (other headers now depend on it).
Sponsored by: DARPA, AFRL
Modified:
head/lib/libopencsd/Makefile
Modified: head/lib/libopencs
==
--- head/sys/dev/mmc/host/dwmmc.c Mon Oct 14 15:33:53 2019
(r353492)
+++ head/sys/dev/mmc/host/dwmmc.c Mon Oct 14 15:52:59 2019
(r353493)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2014 Ruslan Bukin
+ * Copyright (c) 2014-2019 Ruslan Bukin
* All rights reserved
On Mon, Oct 14, 2019 at 06:10:51PM +0200, Emmanuel Vadot wrote:
>
> On Mon, 14 Oct 2019 15:53:00 + (UTC)
> Ruslan Bukin wrote:
>
> > Author: br
> > Date: Mon Oct 14 15:52:59 2019
> > New Revision: 353493
> > URL: https://svnweb.freebsd.org/changeset/bas
Author: br
Date: Tue Oct 15 17:24:21 2019
New Revision: 353575
URL: https://svnweb.freebsd.org/changeset/base/353575
Log:
Fix dwmmc(4) driver attachment when ext_resources are not present.
Ignore only ENOENT (no DTS properties found) and ENODEV (driver not
present) non-zero return values
On Tue, Oct 15, 2019 at 07:34:51PM +0200, Emmanuel Vadot wrote:
> On Tue, 15 Oct 2019 17:24:22 + (UTC)
> Ruslan Bukin wrote:
>
> > Author: br
> > Date: Tue Oct 15 17:24:21 2019
> > New Revision: 353575
> > URL: https://svnweb.freebsd.org/changeset/base/35357
On Mon, Oct 14, 2019 at 06:45:26PM +0200, Emmanuel Vadot wrote:
> On Mon, 14 Oct 2019 17:27:51 +0100
> Ruslan Bukin wrote:
>
> > On Mon, Oct 14, 2019 at 06:10:51PM +0200, Emmanuel Vadot wrote:
> > >
> > > On Mon, 14 Oct 2019 15:53:00 + (UTC)
> > >
Author: br
Date: Wed Mar 27 16:26:03 2019
New Revision: 345581
URL: https://svnweb.freebsd.org/changeset/base/345581
Log:
Grab timer frequency from FDT.
RISC-V timer has no dedicated DTS node and we have to get timer
frequency from cpus node.
Tested on Government Furnished Equipment
Author: br
Date: Tue Apr 2 12:02:35 2019
New Revision: 345796
URL: https://svnweb.freebsd.org/changeset/base/345796
Log:
o Grab the number of devices supported by PLIC from FDT.
o Fix bug in PLIC_ENABLE macro when irq >= 32.
Tested on the real hardware, which is HiFive Unleashed board.
Hi I just got this:
UART 16550 configured with options: baud = 115200 | freq = 5000
bbl loader
r vv
rrr
Author: br
Date: Wed Apr 24 13:41:46 2019
New Revision: 346633
URL: https://svnweb.freebsd.org/changeset/base/346633
Log:
Implement pic_pre_ithread(), pic_post_ithread().
Reviewed by: markj
Sponsored by: DARPA, AFRL
Differential Revision:https://reviews.freebsd.org/D19819
Modi
Author: br
Date: Wed Apr 24 13:44:30 2019
New Revision: 346634
URL: https://svnweb.freebsd.org/changeset/base/346634
Log:
Add support for Cadence network controller found in HiFive Unleashed board.
Reviewed by: markj
Sponsored by: DARPA, AFRL
Differential Revision:https://revie
(r351817)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2015 Ruslan Bukin
+ * Copyright (c) 2015, 2019 Ruslan Bukin
* All rights reserved.
*
* This software was developed by SRI International and the University of
@@ -29,15 +29,12 @@
*/
/*
- * SOCFPGA General-Purpose I/O Interface
Author: br
Date: Wed Sep 4 15:55:44 2019
New Revision: 351818
URL: https://svnweb.freebsd.org/changeset/base/351818
Log:
Include dwgpio to the build.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/conf/GENERIC
head/sys/arm64/conf/GENERIC
head/sys/conf/files
Modified: head/sys/arm
Author: br
Date: Thu Sep 5 17:54:57 2019
New Revision: 351880
URL: https://svnweb.freebsd.org/changeset/base/351880
Log:
Add dwgpio to NOTES so it gets built in LINT kernels.
Sponsored by: DARPA, AFRL
Modified:
head/sys/conf/NOTES
Modified: head/sys/conf/NOTES
=
On Wed, Sep 04, 2019 at 11:16:00AM -0600, Ian Lepore wrote:
> On Wed, 2019-09-04 at 15:55 +0000, Ruslan Bukin wrote:
> > Author: br
> > Date: Wed Sep 4 15:55:44 2019
> > New Revision: 351818
> > URL: https://svnweb.freebsd.org/changeset/base/351818
> >
> >
On Fri, Sep 06, 2019 at 12:15:07PM +0800, Philip Paeps wrote:
> On 2019-09-06 11:15:12 (+0800), Ian Lepore wrote:
> > On Fri, 2019-09-06 at 01:19 +, Philip Paeps wrote:
> >> Author: philip
> >> Date: Fri Sep 6 01:19:31 2019
> >> New Revision: 351918
> >> URL: https://svnweb.freebsd.org/changes
c_res *res);
#endif /* _PSCI_SMCCC_H_ */
Added: head/sys/dev/psci/smccc_arm.S
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/psci/smccc_arm.S Fri Sep 13 15:56:33 2019
(r352301)
@@ -0,0 +1,74 @@
+/*-
(empty, because file is newly added)
+++ head/sys/arm64/intel/firmware.c Fri Sep 13 16:50:57 2019
(r352302)
@@ -0,0 +1,122 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2019 Ruslan Bukin
+ *
+ * This software was developed by SRI International and the
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/hwpmc/hwpmc_beri.c Wed Sep 18 16:13:50 2019
(r352487)
@@ -0,0 +1,540 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2019 Ruslan Bu
On Fri, May 17, 2019 at 05:05:17PM +, Emmanuel Vadot wrote:
> Author: manu
> Date: Fri May 17 17:05:16 2019
> New Revision: 347930
> URL: https://svnweb.freebsd.org/changeset/base/347930
>
> Log:
> pci: ecam: Correctly parse memory and IO region
>
> When activating a resource do not com
Author: br
Date: Wed May 29 15:53:33 2019
New Revision: 348363
URL: https://svnweb.freebsd.org/changeset/base/348363
Log:
Pass pci_base address instead of physical address to rman_manage_region().
This should had been part of r347930 ("pci: ecam: Correctly parse memory
and IO region").
Author: br
Date: Wed May 29 16:01:34 2019
New Revision: 348364
URL: https://svnweb.freebsd.org/changeset/base/348364
Log:
Don't copy the data from bounce buffer back to the mbuf if channel does
not use bounce buffering.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/xdma/xdma_sg.c
M
Author: br
Date: Thu Jun 27 18:08:18 2019
New Revision: 349466
URL: https://svnweb.freebsd.org/changeset/base/349466
Log:
Add support for extended descriptor format to Altera mSGDMA driver.
The format to use depends on hardware configuration (synthesis-time),
so make it compile-time kerne
Author: br
Date: Thu Jul 4 14:04:08 2019
New Revision: 349727
URL: https://svnweb.freebsd.org/changeset/base/349727
Log:
Negate the logic of XCHAN_CAP_NOBUFS macro and rename it to
XCHAN_CAP_BOUNCE.
The only application that uses bounce buffering for now is the Government
Furnished Equ
Author: br
Date: Thu Jul 4 15:26:02 2019
New Revision: 349732
URL: https://svnweb.freebsd.org/changeset/base/349732
Log:
Fix transfers that don't use busdma or bounce buffer (e.g. software dmas).
Busdma data loaded by different function (the bug introduced in r349727).
Sponsored by: DARP
ase(struct xdma_iommu *xio);
#endif /* !_DEV_XDMA_XDMA_H_ */
Modified: head/sys/dev/xdma/xdma_if.m
======
--- head/sys/dev/xdma/xdma_if.m Mon Jul 22 10:37:56 2019(r350211)
+++ head/sys/dev/xdma/xdma_if.m Mon J
Author: br
Date: Mon Jul 22 16:50:37 2019
New Revision: 350213
URL: https://svnweb.freebsd.org/changeset/base/350213
Log:
Remove unused header.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/xdma/xdma_iommu.c
Modified: head/sys/dev/xdma/xdma_iommu.c
===
i/micphy.c Mon Jul 29 14:58:29 2019(r350415)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2014 Ruslan Bukin
+ * Copyright (c) 2014,2019 Ruslan Bukin
* All rights reserved.
*
* This software was developed by SRI International and the University of
@@ -32,7 +32,7 @@
__FBSDID
/altera/dwc/if_dwc_socfpga.cMon Jul 29 16:32:23 2019
(r350418)
@@ -0,0 +1,113 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2019 Ruslan Bukin
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory
Author: br
Date: Tue Jul 30 12:51:14 2019
New Revision: 350440
URL: https://svnweb.freebsd.org/changeset/base/350440
Log:
Add support for the SD/MMC controller found in Terasic DE10-Pro
(an Intel Stratix 10 GX/SX FPGA Development Kit).
Set the bus speed manually due to lack of clock manag
Author: br
Date: Tue Jul 30 14:21:00 2019
New Revision: 350443
URL: https://svnweb.freebsd.org/changeset/base/350443
Log:
Fix MMCCAM kernel build.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/mmc/host/dwmmc_altera.c
Modified: head/sys/dev/mmc/host/dwmmc_altera.c
Author: br
Date: Tue Jul 30 14:54:18 2019
New Revision: 350444
URL: https://svnweb.freebsd.org/changeset/base/350444
Log:
Fix EFI loader build when LOADER_NET_SUPPORT=no.
Sponsored by: DARPA, AFRL
Modified:
head/stand/efi/loader/conf.c
Modified: head/stand/efi/loader/conf.c
ally left untouched?
>
> rgds,
> toomas
>
> > On 30 Jul 2019, at 17:54, Ruslan Bukin wrote:
> >
> > Author: br
> > Date: Tue Jul 30 14:54:18 2019
> > New Revision: 350444
> > URL: https://svnweb.freebsd.org/changeset/base/350444
> >
/coresight/coresight.cWed Jun 17 15:54:51 2020
(r362278)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2018 Ruslan Bukin
+ * Copyright (c) 2018-2020 Ruslan Bukin
* All rights reserved.
*
* This software was developed by SRI International and the University of
@@ -41,78 +41,11
Author: br
Date: Mon Jun 29 12:59:09 2020
New Revision: 362780
URL: https://svnweb.freebsd.org/changeset/base/362780
Log:
Coresight: provide device_attach method for FDT bus.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/coresight/coresight_funnel_fdt.c
head/sys/arm64/coresight/co
Author: br
Date: Tue Jul 14 10:55:19 2020
New Revision: 363177
URL: https://svnweb.freebsd.org/changeset/base/363177
Log:
Start splitting-out the Intel DMAR busdma backend to a generic place,
so it can be used on other IOMMU systems.
Provide MI iommu_unit, iommu_domain and iommu_ctx struc
Author: br
Date: Fri Jul 17 14:51:51 2020
New Revision: 363274
URL: https://svnweb.freebsd.org/changeset/base/363274
Log:
Add acpi_iort_map_pci_smmuv3().
This new function allows us to find the SMMU instance assigned
for a particular PCI RID.
Reviewed by: andrew
Sponsored by: DARP
Author: br
Date: Sat Jul 18 13:10:31 2020
New Revision: 363310
URL: https://svnweb.freebsd.org/changeset/base/363310
Log:
o Move iommu_test_boundary() to sys/iommu.h
o Rename DMAR -> IOMMU in comments
o Add IOMMU_PAGE_SIZE / IOMMU_PAGE_MASK macroses
o x86 only: dmar_quirks_pre_use() / dmar
Author: br
Date: Tue Jul 21 10:38:51 2020
New Revision: 363387
URL: https://svnweb.freebsd.org/changeset/base/363387
Log:
Move the Intel DMAR busdma backend to a generic place so
it can be used on other IOMMU systems.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:
Author: br
Date: Tue Jul 21 13:50:10 2020
New Revision: 363388
URL: https://svnweb.freebsd.org/changeset/base/363388
Log:
Move sys/iommu.h to dev/iommu/ as a part of generic IOMMU busdma backend.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https://reviews.fr
Author: br
Date: Sat Jul 25 09:28:38 2020
New Revision: 363515
URL: https://svnweb.freebsd.org/changeset/base/363515
Log:
Split-out the Intel GAS (Guest Address Space) management component
from Intel DMAR support, so it can be used on other IOMMU systems.
Reviewed by: kib
Sponsored by:
Author: br
Date: Sat Jul 25 11:34:50 2020
New Revision: 363524
URL: https://svnweb.freebsd.org/changeset/base/363524
Log:
Move Intel GAS to dev/iommu/ as now a part of generic iommu framework.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https://reviews.freeb
Author: br
Date: Sat Jul 25 19:07:12 2020
New Revision: 363533
URL: https://svnweb.freebsd.org/changeset/base/363533
Log:
o Move iommu gas prototypes, DMAR flags to iommu.h;
o Move hw.dmar sysctl node to iommu_gas.c.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:
Author: br
Date: Sat Jul 25 21:37:07 2020
New Revision: 363534
URL: https://svnweb.freebsd.org/changeset/base/363534
Log:
o Make the _hw_iommu sysctl node non-static;
o Move the dmar sysctl knobs to _hw_iommu_dmar.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:
Author: br
Date: Sun Jul 26 12:29:22 2020
New Revision: 363560
URL: https://svnweb.freebsd.org/changeset/base/363560
Log:
Rename DMAR flags:
o DMAR_DOMAIN_* -> IOMMU_DOMAIN_*
o DMAR_PGF_* -> IOMMU_PGF_*
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https:/
Author: br
Date: Tue Jul 28 16:08:14 2020
New Revision: 363650
URL: https://svnweb.freebsd.org/changeset/base/363650
Log:
o Move the buswide_ctxs bitmap to iommu_unit and rename related functions.
o Rename bus_dma_dmar_load_ident() as well.
Reviewed by: kib
Sponsored by: DARPA/AFRL
D
Author: br
Date: Wed Jul 29 13:23:27 2020
New Revision: 363663
URL: https://svnweb.freebsd.org/changeset/base/363663
Log:
o Move iommu_set_buswide_ctx, iommu_is_buswide_ctx to
the generic iommu busdma backend;
o Move bus_dma_iommu_set_buswide, bus_dma_iommu_load_ident
prototypes to iom
Author: br
Date: Wed Jul 29 15:46:17 2020
New Revision: 363666
URL: https://svnweb.freebsd.org/changeset/base/363666
Log:
Fix build.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https://reviews.freebsd.org/D25879
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw_in
Author: br
Date: Wed Jul 29 19:22:50 2020
New Revision: 363669
URL: https://svnweb.freebsd.org/changeset/base/363669
Log:
Fix !ACPI_DMAR build.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https://reviews.freebsd.org/D25882
Modified:
head/sys/x86/x86/busdm
Author: br
Date: Wed Jul 29 22:08:54 2020
New Revision: 363675
URL: https://svnweb.freebsd.org/changeset/base/363675
Log:
o Don't include headers from iommu.h, include them from the header
consumers instead;
o Order includes properly.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Dif
Author: br
Date: Fri Jul 31 23:02:17 2020
New Revision: 363747
URL: https://svnweb.freebsd.org/changeset/base/363747
Log:
Add iommu_domain_map_ops virtual table with map/unmap methods
so x86 can support Intel DMAR and AMD IOMMU simultaneously.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Author: br
Date: Tue Aug 4 20:51:05 2020
New Revision: 363864
URL: https://svnweb.freebsd.org/changeset/base/363864
Log:
Add a few macroses for conversion between DMAR unit, domain, ctx
and IOMMU unit, domain, ctx.
Reviewed by: kib
Sponsored by: DARPA, AFRL
Differential Revision:
Author: br
Date: Tue Aug 4 20:54:12 2020
New Revision: 363865
URL: https://svnweb.freebsd.org/changeset/base/363865
Log:
Remove unneeded cast to struct iommu_domain *.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/iommu/iommu_gas.c
Modified: head/sys/dev/iommu/iommu_gas.c
==
Author: br
Date: Wed Aug 5 19:11:31 2020
New Revision: 363929
URL: https://svnweb.freebsd.org/changeset/base/363929
Log:
o Add machine/iommu.h and include MD iommu headers from it,
so we don't ifdef for every arch in busdma_iommu.c;
o No need to include specialreg.h for x86, remove it.
Author: br
Date: Thu Aug 6 08:48:23 2020
New Revision: 363946
URL: https://svnweb.freebsd.org/changeset/base/363946
Log:
Add iommu_domain constructor and destructor.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https://reviews.freebsd.org/D25956
Modified:
Author: br
Date: Thu Aug 6 12:49:25 2020
New Revision: 363949
URL: https://svnweb.freebsd.org/changeset/base/363949
Log:
Move dmar_domain_unload_task to busdma_iommu.c.
Reviewed by: kib
Sponsored by: DARPA/AFRL
Differential Revision:https://reviews.freebsd.org/D25972
Modified
Author: br
Date: Wed Oct 14 13:39:50 2020
New Revision: 366701
URL: https://svnweb.freebsd.org/changeset/base/366701
Log:
Rename a header protection macro.
Sponsored by: DARPA, AFRL
Modified:
head/sys/dev/iommu/iommu.h
Modified: head/sys/dev/iommu/iommu.h
===
Author: br
Date: Wed Oct 14 14:12:15 2020
New Revision: 366702
URL: https://svnweb.freebsd.org/changeset/base/366702
Log:
Add iommu_get_ctx_domain() that allows to get iommu domain for a given
iommu context.
Submitted by: andrew
Sponsored by: Innovate DSbD
Modified:
head/sys/dev/iomm
Author: br
Date: Wed Oct 14 14:51:11 2020
New Revision: 366704
URL: https://svnweb.freebsd.org/changeset/base/366704
Log:
Add a per-each macro IOMMU_DOMAIN_UNLOAD_SLEEP which allows to sleep
during iommu guest address space entries unload.
Suggested by: kib
Sponsored by: Innovate DSbD
Author: br
Date: Wed Oct 14 21:22:23 2020
New Revision: 366710
URL: https://svnweb.freebsd.org/changeset/base/366710
Log:
Split-out iommu type definitions to a separate header.
Reviewed by: kib
Sponsored by: Innovate DSbD
Differential Revision:https://reviews.freebsd.org/D26780
Author: br
Date: Thu Oct 15 13:47:52 2020
New Revision: 366724
URL: https://svnweb.freebsd.org/changeset/base/366724
Log:
Split-out Guest Address Space (GAS) macroses to a separate header.
Sponsored by: Innovate DSbD
Added:
head/sys/dev/iommu/iommu_gas.h (contents, props changed)
Modif
Author: br
Date: Mon Oct 19 13:10:21 2020
New Revision: 366833
URL: https://svnweb.freebsd.org/changeset/base/366833
Log:
Manage MSI iommu pages.
This allows the interrupt controller driver only need a small change to
create a map for the page the device will write to raise an interrupt.
Author: br
Date: Mon Oct 19 15:50:58 2020
New Revision: 366835
URL: https://svnweb.freebsd.org/changeset/base/366835
Log:
Assign the reserved apic region (GAS entry) to the iommu domain msi_entry.
Requested by: kib
Reviewed by: kib
Sponsored by: Innovate DSbD
Differential Revision:
Author: br
Date: Mon Oct 19 21:27:27 2020
New Revision: 366863
URL: https://svnweb.freebsd.org/changeset/base/366863
Log:
Add IOMMU_BUSWIDE ahci quirk.
Some controllers use PCI function 1 as the requester ID for DMA transfers,
but the controllers are not PCI multifunction.
Set the io
On Mon, Oct 19, 2020 at 03:08:32PM +0100, Jessica Clarke wrote:
> On 19 Oct 2020, at 14:10, Ruslan Bukin wrote:
> >
> > +#ifndef _DEV_IOMMU_IOMMU_MSI_H_
> > +#define _DEV_IOMMU_IOMMU_MSI_H_
> > +
> > +#include
> > +
> > +struct iommu_unit;
>
&
Author: br
Date: Mon Oct 19 22:32:36 2020
New Revision: 366865
URL: https://svnweb.freebsd.org/changeset/base/366865
Log:
Fix build: only set iommu buswide flag if IOMMU code is included.
Sponsored by: Innovate DSbD
Modified:
head/sys/dev/ahci/ahci_pci.c
Modified: head/sys/dev/ahci/ahci
Author: br
Date: Fri Oct 23 21:27:48 2020
New Revision: 366980
URL: https://svnweb.freebsd.org/changeset/base/366980
Log:
Move the iommu stubs to a generic place, so they are available on all the
platforms.
This allows to not depend on the IOMMU macro in AHCI driver.
Requested by: ki
Author: br
Date: Sat Oct 24 20:09:27 2020
New Revision: 367016
URL: https://svnweb.freebsd.org/changeset/base/367016
Log:
o Add iommu de-initialization method for MSI interface.
o Add iommu_unmap_msi() to release the msi GAS entry.
o Provide default implementations for iommu init/deinit meth
Author: br
Date: Sun Oct 25 10:08:46 2020
New Revision: 367037
URL: https://svnweb.freebsd.org/changeset/base/367037
Log:
Add IOMMU support to GICv3 Interrupt Translation Service (ITS) driver.
Submitted by: andrew
Sponsored by: Innovate DSbD
Differential Revision:https://reviews
Author: br
Date: Tue Oct 27 15:29:53 2020
New Revision: 367085
URL: https://svnweb.freebsd.org/changeset/base/367085
Log:
o Add the domain member to the struct bus_dma_tag_common as required by
busdma_iommu.c.
o Add tag_set_domain() pointer to the struct bus_dma_impl as well.
Sponsore
Author: br
Date: Tue Oct 27 15:18:10 2020
New Revision: 367084
URL: https://svnweb.freebsd.org/changeset/base/367084
Log:
Take the ITS device lock around gicv3_its_release_irqsrc() since that
function checks that the mutex lock is owned.
This fixes 'devctl disable re0' operation.
Spo
Author: br
Date: Mon Nov 2 19:56:15 2020
New Revision: 367282
URL: https://svnweb.freebsd.org/changeset/base/367282
Log:
Add routines for ARM System MMU (SMMU) pmap management.
Reviewed by: markj
Discussed with: kib
Sponsored by: DARPA, Innovate UK
Differential Revision:
Author: br
Date: Mon Nov 16 15:29:52 2020
New Revision: 367725
URL: https://svnweb.freebsd.org/changeset/base/367725
Log:
Add device_t member to struct iommu.
This is needed on arm64 for the interface between iommu framework
and iommu controller drivers.
Reviewed by: kib
Sponsored
Author: br
Date: Mon Nov 16 15:37:09 2020
New Revision: 367726
URL: https://svnweb.freebsd.org/changeset/base/367726
Log:
Fix a bug in assertion: entry flags also includes IOMMU_MAP_ENTRY_UNMAPPED.
The entry->flags field is initialized in iommu_gas_init_domain().
Reviewed by: kib
Spons
55:52 2020
(r367736)
@@ -0,0 +1,397 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2020 Ruslan Bukin
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory (Department of Computer Science and
+ * Technology) u
Author: br
Date: Fri Nov 27 21:37:48 2020
New Revision: 368113
URL: https://svnweb.freebsd.org/changeset/base/368113
Log:
o Move options IOMMU from Debugging section back to the Bus section
where it originally was. The bug introduced in r366267.
o Remove options IOMMU from i386/MINIMAL as
Author: br
Date: Mon Dec 30 13:29:30 2019
New Revision: 356202
URL: https://svnweb.freebsd.org/changeset/base/356202
Log:
Round the kernel stack allocation up as required.
Submitted by: James Clarke
Sponsored by: DARPA, AFRL
Differential Revision:https://reviews.freebsd.org/D22
Author: br
Date: Mon Dec 30 14:38:06 2019
New Revision: 356203
URL: https://svnweb.freebsd.org/changeset/base/356203
Log:
Don't hard-code size of struct riscv_bootparams.
Submitted by: James Clarke
Sponsored by: DARPA, AFRL
Differential Revision:https://reviews.freebsd.org/D229
Author: br
Date: Mon Dec 30 17:18:50 2019
New Revision: 356205
URL: https://svnweb.freebsd.org/changeset/base/356205
Log:
Don't hard-code field offsets of struct riscv_bootparams.
Submitted by: James Clarke
Sponsored by: DARPA, AFRL
Differential Revision:https://reviews.freebsd
On Tue, Jan 07, 2020 at 09:02:14AM +, Kristof Provost wrote:
> Author: kp
> Date: Tue Jan 7 09:02:14 2020
> New Revision: 356438
> URL: https://svnweb.freebsd.org/changeset/base/356438
>
> Log:
> sifive: Fix incorrect tx/rx ctrl defines
>
> Happily these were never used, but they shoul
==
--- head/sys/riscv/riscv/bus_space_asm.SFri Jan 17 15:55:14 2020
(r356833)
+++ head/sys/riscv/riscv/bus_space_asm.SFri Jan 17 16:48:20 2020
(r356834)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2016 Ruslan Bukin
Jan 24 16:08:06 2020
(r357083)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2015 Ruslan Bukin
+ * Copyright (c) 2015, 2020 Ruslan Bukin
* Copyright (c) 2014 The FreeBSD Foundation
* All rights reserved.
*
@@ -53,21 +53,6 @@ __FBSDID("$FreeBSD$");
#include
#include
57085)
@@ -0,0 +1,47 @@
+/*-
+ * Copyright (C) 2018 Cavium Inc.
+ * Copyright (c) 2015 Ruslan Bukin
+ * Copyright (c) 2014 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Semihalf under
+ * the sponsorship of the FreeBSD Foundation.
+ *
+ * Redistribution and use in sou
Author: br
Date: Fri Jan 24 16:50:51 2020
New Revision: 357086
URL: https://svnweb.freebsd.org/changeset/base/357086
Log:
Enable NEW_PCIB on riscv.
Sponsored by: DARPA, AFRL
Modified:
head/sys/riscv/conf/DEFAULTS
head/sys/riscv/include/resource.h
Modified: head/sys/riscv/conf/DEFAULTS
Author: br
Date: Fri Jan 24 17:10:21 2020
New Revision: 357087
URL: https://svnweb.freebsd.org/changeset/base/357087
Log:
Include the PCI stack to the riscv GENERIC kernel.
It will be used by an upcoming PCI root complex driver.
Sponsored by: DARPA, AFRL
Modified:
head/sys/conf/file
)
+++ head/sys/dev/xilinx/xlnx_pcib.c Wed Jan 29 16:52:12 2020
(r357258)
@@ -0,0 +1,794 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Copyright (c) 2020 Ruslan Bukin
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Computer Laboratory
101 - 200 of 643 matches
Mail list logo