Up to [cvs.NetBSD.org] / src / sys / arch / arm / cortex
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.57 / (download) - annotate - [select for diffs], Thu Oct 5 12:30:59 2023 UTC (5 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
HEAD
Changes since 1.56: +4 -4
lines
Diff to previous 1.56 (colored) to selected 1.51 (colored)
arm/gic: Check l_blcnt, not l_biglocks. l_biglocks is a now-defunct temporary storage used only when sleeping; l_blcnt is the number of kernel locks held by the lwp when not sleeping. Should fix arm builds.
Revision 1.56 / (download) - annotate - [select for diffs], Sun Jun 26 11:14:36 2022 UTC (21 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Changes since 1.55: +2 -3
lines
Diff to previous 1.55 (colored) to selected 1.51 (colored)
build fix: remove includes of opt_gic.h
Revision 1.55 / (download) - annotate - [select for diffs], Sat Jun 25 13:24:34 2022 UTC (21 months ago) by jmcneill
Branch: MAIN
Changes since 1.54: +2 -10
lines
Diff to previous 1.54 (colored) to selected 1.51 (colored)
Remove GIC_SPLFUNCS.
Revision 1.54 / (download) - annotate - [select for diffs], Sat Jun 25 12:41:55 2022 UTC (21 months ago) by jmcneill
Branch: MAIN
Changes since 1.53: +6 -3
lines
Diff to previous 1.53 (colored) to selected 1.51 (colored)
pic: Update ci_cpl in pic_set_priority callback. Not all ICs need interrupts disabled to update the priority. DAIF accesses are not cheap, so push the update of ci_cpl from pic_set_priority to the IC's pic_set_priority callback, and let the IC driver determine whether or not it needs interrupts disabled.
Revision 1.53 / (download) - annotate - [select for diffs], Thu Mar 3 06:26:28 2022 UTC (2 years ago) by riastradh
Branch: MAIN
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored) to selected 1.51 (colored)
arm: Use device_set_private for various drivers.
Revision 1.52 / (download) - annotate - [select for diffs], Sun Jan 2 11:20:03 2022 UTC (2 years, 2 months ago) by riastradh
Branch: MAIN
Changes since 1.51: +2 -4
lines
Diff to previous 1.51 (colored)
arm: Remove #ifdef DIAGNOSTIC now wrong after KASSERT change. Objects in question aren't volatile here so access is flushable.
Revision 1.51 / (download) - annotate - [selected], Thu Oct 21 04:47:57 2021 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.50: +14 -4
lines
Diff to previous 1.50 (colored)
Fix some conditionals to match gicv3 and add some comments to describe what's going on. Fixes PR port-evbarm/56420
Revision 1.50 / (download) - annotate - [select for diffs], Sun Sep 26 13:38:50 2021 UTC (2 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.49: +3 -2
lines
Diff to previous 1.49 (colored) to selected 1.51 (colored)
If an SGI or PPI is established after interrupts are enabled, make sure we unblock the source on _all_ CPUs and not just the CPU that is establishing the interrupt.
Revision 1.49 / (download) - annotate - [select for diffs], Tue Aug 10 17:12:31 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.48: +9 -3
lines
Diff to previous 1.48 (colored) to selected 1.51 (colored)
Make gic_splfuncs optional and disable it by default until it has had more testing.
Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 10 15:33:09 2021 UTC (2 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.47: +12 -11
lines
Diff to previous 1.47 (colored) to selected 1.51 (colored)
Use custom spl funcs for GIC and avoid unnecessary pmr register accesses in splx.
Revision 1.42.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:16 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.42.2.1: +27 -8
lines
Diff to previous 1.42.2.1 (colored) next main 1.43 (colored) to selected 1.51 (colored)
Sync with HEAD.
Revision 1.46.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:41 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.46: +6 -2
lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.51 (colored)
Sync with HEAD.
Revision 1.38.4.1 / (download) - annotate - [select for diffs], Wed Mar 31 13:41:01 2021 UTC (2 years, 11 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE
Changes since 1.38: +6 -2
lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by skrll in ticket #1238): sys/arch/arm/cortex/gic.c: revision 1.47 Only target the boot cpu for real with SPI interrupts. I tried to do this back in 2014, but somehow I missed a spot. This is a quick-and-dirty fix for the USB stack which expects transfer completions to be in-order. If interrupts happen across the CPUs then this isn't guaranteed (yet). kern/55243 panic at usb_transfer_complete() on raspberry pi 4
Revision 1.47 / (download) - annotate - [select for diffs], Sun Mar 28 09:11:38 2021 UTC (3 years ago) by skrll
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-futex-base,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.46: +6 -2
lines
Diff to previous 1.46 (colored) to selected 1.51 (colored)
Only target the boot cpu for real with SPI interrupts. I tried to do this back in 2014, but somehow I missed a spot. This is a quick-and-dirty fix for the USB stack which expects transfer completions to be in-order. If interrupts happen across the CPUs then this isn't guaranteed (yet). kern/55243 panic at usb_transfer_complete() on raspberry pi 4
Revision 1.46 / (download) - annotate - [select for diffs], Tue Feb 23 10:03:04 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.45: +5 -2
lines
Diff to previous 1.45 (colored) to selected 1.51 (colored)
If we are committing a deferred splhigh() to hardware, no need to continue.
Revision 1.45 / (download) - annotate - [select for diffs], Sun Feb 21 15:45:30 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.44: +16 -4
lines
Diff to previous 1.44 (colored) to selected 1.51 (colored)
Apply PMR optimizations from gicv3
Revision 1.44 / (download) - annotate - [select for diffs], Tue Feb 9 14:24:14 2021 UTC (3 years, 1 month ago) by jakllsch
Branch: MAIN
Changes since 1.43: +6 -6
lines
Diff to previous 1.43 (colored) to selected 1.51 (colored)
Avoid an extra daif read when dispatching interrupts by using ENABLE_INTERRUPT() / DISABLE_INTERRUPT() instead of cpsie() / cpsid() macros.
Revision 1.42.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:48 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored) to selected 1.51 (colored)
Sync w/ HEAD.
Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 3 07:45:52 2020 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.42: +3 -3
lines
Diff to previous 1.42 (colored) to selected 1.51 (colored)
Provide and use a sev() macro for the sev instruction. While here use the correct barrier to ensure completion of memory accesses before a couple of the sev() calls.
Revision 1.42 / (download) - annotate - [select for diffs], Sat Sep 26 10:06:25 2020 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.41: +2 -3
lines
Diff to previous 1.41 (colored) to selected 1.51 (colored)
G/C arm/atomic.h
Revision 1.41 / (download) - annotate - [select for diffs], Mon Jul 27 18:36:23 2020 UTC (3 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.40: +2 -4
lines
Diff to previous 1.40 (colored) to selected 1.51 (colored)
Remove CPU ID test in armgic_match. Perfectly normal to have GIC in non-Cortex cores.
Revision 1.40 / (download) - annotate - [select for diffs], Sun Jul 12 13:33:44 2020 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
Changes since 1.39: +6 -6
lines
Diff to previous 1.39 (colored) to selected 1.51 (colored)
Avoid undefined behaviour. Detected by KUBSAN.
Revision 1.34.2.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:04 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.34.2.1: +4 -4
lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.38.10.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:28:52 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.38: +4 -4
lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.39 / (download) - annotate - [select for diffs], Mon Apr 13 12:14:04 2020 UTC (3 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Changes since 1.38: +4 -4
lines
Diff to previous 1.38 (colored) to selected 1.51 (colored)
Fix "left shift of 255 by 24 places cannot be represented in type 'int'" warning from UBSan.
Revision 1.34.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:52 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.34: +95 -28
lines
Diff to previous 1.34 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.32.2.5 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:18 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.32.2.4: +24 -24
lines
Diff to previous 1.32.2.4 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.51 (colored)
Sync with HEAD, resolve a couple of conflicts
Revision 1.38 / (download) - annotate - [select for diffs], Fri Nov 16 23:25:09 2018 UTC (5 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
netbsd-9-base,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: netbsd-9,
bouyer-xenpvh
Changes since 1.37: +24 -24
lines
Diff to previous 1.37 (colored) to selected 1.51 (colored)
Use intr_establish_xname
Revision 1.32.2.4 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:37 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.32.2.3: +10 -6
lines
Diff to previous 1.32.2.3 (colored) to branchpoint 1.32 (colored) to selected 1.51 (colored)
Ssync with HEAD
Revision 1.37 / (download) - annotate - [select for diffs], Mon Sep 10 19:43:58 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-1020,
pgoyette-compat-0930
Changes since 1.36: +8 -5
lines
Diff to previous 1.36 (colored) to selected 1.51 (colored)
armgic_ipi_send: use GIC interface number, not CPU index, when setting the target(s) for an IPI.
Revision 1.36 / (download) - annotate - [select for diffs], Mon Sep 10 09:48:57 2018 UTC (5 years, 6 months ago) by jmcneill
Branch: MAIN
Changes since 1.35: +4 -3
lines
Diff to previous 1.35 (colored) to selected 1.51 (colored)
Update sc_mptargets atomically, as PEs will be started up in parallel w/o locking here
Revision 1.32.2.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:27 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.32.2.2: +66 -3
lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 15 16:04:07 2018 UTC (5 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-0906,
pgoyette-compat-0728
Changes since 1.34: +66 -3
lines
Diff to previous 1.34 (colored) to selected 1.51 (colored)
Support pic_set_affinity and pic_get_affinity
Revision 1.32.2.2 / (download) - annotate - [select for diffs], Wed May 2 07:20:03 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.32.2.1: +4 -4
lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored) to selected 1.51 (colored)
Synch with HEAD
Revision 1.34 / (download) - annotate - [select for diffs], Sat Apr 28 18:26:53 2018 UTC (5 years, 11 months ago) by jakllsch
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502
Branch point for: phil-wifi
Changes since 1.33: +4 -4
lines
Diff to previous 1.33 (colored) to selected 1.51 (colored)
Cover all pic_maxsources lines for armgic_cpu_init_priorities() and armgic_cpu_update_priorities(). Previously only the first 32 lines were covered, which is significantly less than the 1000-some interrupt lines possible. Only relevant to MULTIPROCESSOR configurations.
Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:11 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.32: +4 -3
lines
Diff to previous 1.32 (colored) to selected 1.51 (colored)
Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (5 years, 11 months ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407
Changes since 1.32: +4 -3
lines
Diff to previous 1.32 (colored) to selected 1.51 (colored)
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@) - sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@) - add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 7 20:42:17 2018 UTC (6 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: pgoyette-compat-base,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.31: +5 -6
lines
Diff to previous 1.31 (colored) to selected 1.51 (colored)
PR# port-evbarm/49468: Cortex GIC assertion triggered on Allwinner A80 SoC The priority level is changed by writing to GICC_PMR with interrupts disabled. However, interrupts are enabled/disabled downstream of the GICC at the CPU. When raising priority level, there is a window between the time that interrupts are disabled and the GICC_PMR register is written. If an interrupt occurs at a previously allowed priority before GICC_PMR is changed, the CPU will receive the signal when interrupts are re-enabled. At this time, GICC_PMR is now the new priority level, so reads of GICC_IAR will report a spurious IRQ. Move the "old_ipl != IPL_HIGH" test until after we have confirmed that there is at least one pending IRQ.
Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:52 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.2.3: +107 -92
lines
Diff to previous 1.1.2.3 (colored) next main 1.2 (colored) to selected 1.51 (colored)
update from HEAD
Revision 1.12.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:30 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.2.3: +76 -64
lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.21.2.2 / (download) - annotate - [select for diffs], Tue Jul 18 19:13:08 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
matt-nb8-mediatek-base,
matt-nb8-mediatek
Changes since 1.21.2.1: +40 -6
lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #114): sys/arch/arm/samsung/exynos_intr.h: revision 1.3 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3 sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1 distrib/utils/embedded/mkimage: revision 1.66 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4 sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6 sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7 sys/dev/gpio/gpio.c: revision 1.59 sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1 sys/conf/Makefile.kern.inc: revision 1.257 sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2 sys/conf/Makefile.kern.inc: revision 1.258 sys/arch/arm/fdt/psci_fdt.h: revision 1.1 sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1 sys/arch/evbarm/conf/files.sunxi: revision 1.1 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9 sys/arch/arm/samsung/files.exynos: revision 1.22 distrib/utils/embedded/conf/armv7.conf: revision 1.13 sys/arch/arm/samsung/files.exynos: revision 1.23 sys/arch/evbarm/conf/std.tegra: revision 1.15 distrib/utils/embedded/conf/armv7.conf: revision 1.14 sys/arch/arm/samsung/files.exynos: revision 1.24 distrib/utils/embedded/conf/armv7.conf: revision 1.15 sys/arch/evbarm/sunxi/genassym.cf: revision 1.1 sys/arch/arm/samsung/exynos_fdt.c: file removal sys/dev/fdt/fdt_pinctrl.c: revision 1.4 sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2 sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1 sys/dev/usb/ehci.c: revision 1.255 sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2 sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1 sys/dev/ic/dwc_mmc.c: revision 1.11 sys/arch/arm/cortex/gic.c: revision 1.24 distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17 etc/etc.evbarm/Makefile.inc: revision 1.87 etc/etc.evbarm/Makefile.inc: revision 1.88 sys/arch/arm/fdt/gic_fdt.c: revision 1.5 etc/Makefile: revision 1.429 sys/arch/arm/fdt/gic_fdt.c: revision 1.6 sys/arch/arm/fdt/gic_fdt.c: revision 1.7 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2 sys/arch/evbarm/conf/std.sunxi: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3 sys/arch/evbarm/conf/std.sunxi: revision 1.2 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4 sys/arch/evbarm/conf/std.sunxi: revision 1.3 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5 sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1 sys/dev/gpio/gpiovar.h: revision 1.17 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7 sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8 sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1 sys/arch/arm/samsung/exynos_i2c.c: revision 1.12 sys/dev/fdt/fdtvar.h: revision 1.21 sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1 sys/arch/arm/samsung/exynos_i2c.c: revision 1.13 sys/dev/fdt/fdtvar.h: revision 1.22 sys/arch/evbarm/conf/SUNXI: revision 1.10 sys/dev/fdt/fdtvar.h: revision 1.23 sys/arch/evbarm/conf/SUNXI: revision 1.11 sys/dev/fdt/gpioleds.c: revision 1.1 sys/dev/fdt/fdtvar.h: revision 1.24 sys/arch/evbarm/conf/SUNXI: revision 1.12 sys/arch/evbarm/conf/SUNXI: revision 1.13 sys/arch/arm/cortex/gic.c: revision 1.30 sys/arch/evbarm/conf/SUNXI: revision 1.14 sys/arch/evbarm/conf/SUNXI: revision 1.15 sys/arch/evbarm/conf/SUNXI: revision 1.16 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1 etc/Makefile: revision 1.430 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2 etc/Makefile: revision 1.431 sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3 sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4 sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6 sys/arch/arm/samsung/exynos_platform.c: revision 1.1 sys/dev/ofw/ofw_subr.c: revision 1.29 sys/arch/arm/samsung/exynos_platform.c: revision 1.2 sys/arch/evbarm/conf/mk.vexpress: revision 1.3 sys/arch/arm/samsung/exynos_platform.c: revision 1.3 sys/arch/evbarm/conf/mk.vexpress: revision 1.4 sys/arch/arm/samsung/exynos_platform.c: revision 1.4 sys/arch/arm/arm/psci.h: revision 1.1 sys/arch/arm/samsung/exynos_platform.c: revision 1.5 sys/arch/arm/samsung/exynos_platform.c: revision 1.6 sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10 external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12 sys/dev/fdt/files.fdt: revision 1.17 sys/dev/fdt/files.fdt: revision 1.18 sys/dev/fdt/files.fdt: revision 1.19 sys/arch/arm/samsung/exynos_sscom.c: revision 1.8 sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1 sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1 sys/arch/arm/samsung/exynos_sscom.c: revision 1.9 sys/arch/arm/conf/files.arm: revision 1.133 sys/arch/arm/samsung/mct_var.h: revision 1.5 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2 sys/arch/evbarm/conf/std.vexpress: revision 1.6 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3 sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1 sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4 sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2 sys/arch/arm/sunxi/files.sunxi: revision 1.1 sys/dev/ofw/ofw_subr.c: revision 1.30 sys/arch/arm/sunxi/files.sunxi: revision 1.2 sys/dev/ofw/openfirm.h: revision 1.35 sys/arch/arm/sunxi/files.sunxi: revision 1.3 sys/dev/ofw/openfirm.h: revision 1.36 sys/arch/arm/sunxi/files.sunxi: revision 1.4 sys/arch/arm/sunxi/files.sunxi: revision 1.5 sys/arch/evbarm/exynos/exynos_machdep.c: file removal sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1 sys/arch/arm/samsung/sscom.c: revision 1.9 sys/arch/arm/sunxi/files.sunxi: revision 1.6 sys/dev/fdt/ohci_fdt.c: revision 1.1 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1 sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2 sys/arch/arm/sunxi/files.sunxi: revision 1.7 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2 sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3 sys/arch/arm/sunxi/files.sunxi: revision 1.8 sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3 sys/arch/arm/sunxi/files.sunxi: revision 1.9 sys/arch/arm/samsung/exynos_sscom.c: revision 1.10 sys/arch/evbarm/conf/mk.tegra: revision 1.5 sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4 sys/arch/evbarm/conf/mk.tegra: revision 1.6 sys/arch/evbarm/conf/EXYNOS: revision 1.15 sys/arch/evbarm/conf/EXYNOS: revision 1.16 sys/arch/evbarm/conf/EXYNOS: revision 1.17 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1 sys/arch/evbarm/conf/EXYNOS: revision 1.19 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4 sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5 sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1 sys/arch/evbarm/conf/mk.sunxi: revision 1.1 sys/arch/evbarm/include/bootconfig.h: revision 1.7 sys/arch/evbarm/conf/TEGRA: revision 1.24 sys/arch/arm/arm/psci.c: revision 1.1 sys/dev/led.c: revision 1.1 sys/dev/led.c: revision 1.2 sys/arch/arm/arm/psci_arm.S: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2 sys/dev/fdt/ehci_fdt.c: revision 1.1 sys/dev/fdt/ehci_fdt.c: revision 1.2 sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1 sys/arch/evbarm/conf/EXYNOS: revision 1.21 sys/arch/arm/sunxi/files.sunxi: revision 1.10 sys/arch/arm/sunxi/files.sunxi: revision 1.11 sys/dev/fdt/fdtbus.c: revision 1.14 sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1 sys/arch/arm/samsung/exynos5422_dma.c: file removal usr.bin/config/mkmakefile.c: revision 1.69 sys/conf/files: revision 1.1178 sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1 sys/arch/evbarm/exynos/exynos_start.S: revision 1.4 sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11 sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12 sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1 sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1 sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1 sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2 sys/arch/evbarm/conf/SUNXI: revision 1.1 external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.2 sys/arch/arm/fdt/psci_fdt.c: revision 1.1 sys/arch/evbarm/conf/SUNXI: revision 1.3 sys/arch/evbarm/conf/SUNXI: revision 1.4 sys/arch/evbarm/conf/files.exynos: revision 1.3 sys/arch/evbarm/conf/SUNXI: revision 1.5 sys/arch/evbarm/conf/SUNXI: revision 1.6 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1 sys/dev/fdt/fixedfactorclock.c: revision 1.1 sys/dev/fdt/fdt_subr.c: revision 1.14 sys/arch/evbarm/conf/SUNXI: revision 1.7 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2 sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1 sys/dev/fdt/fdt_subr.c: revision 1.15 sys/arch/evbarm/conf/SUNXI: revision 1.8 sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3 sys/dev/ic/dwc_mmc_reg.h: revision 1.6 sys/dev/fdt/fdt_subr.c: revision 1.16 sys/arch/evbarm/conf/SUNXI: revision 1.9 usr.bin/config/mkmakefile.c: revision 1.70 sys/dev/fdt/fdt_phy.c: revision 1.1 sys/arch/evbarm/conf/ODROID-XU: file removal sys/arch/arm/fdt/arm_fdt.c: revision 1.4 sys/arch/arm/samsung/exynos_reg.h: revision 1.14 sys/conf/files: revision 1.1180 sys/arch/arm/samsung/exynos_reg.h: revision 1.15 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5 sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6 sys/dev/ic/dwc_mmc_var.h: revision 1.6 sys/arch/arm/samsung/exynos_combiner.c: revision 1.7 sys/arch/evbarm/exynos/platform.h: revision 1.2 sys/arch/arm/fdt/files.fdt: revision 1.12 sys/arch/evbarm/conf/std.exynos: revision 1.2 sys/arch/evbarm/conf/std.exynos: revision 1.3 sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6 sys/arch/arm/sunxi/sunxi_com.c: revision 1.1 sys/dev/led.h: revision 1.1 sys/arch/evbarm/conf/std.exynos: revision 1.5 sys/arch/arm/sunxi/sunxi_com.c: revision 1.2 sys/arch/evbarm/conf/files.evbarm: revision 1.26 usr.bin/config/defs.h: revision 1.99 sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6 sys/arch/arm/samsung/exynos_soc.c: revision 1.32 sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1 sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2 sys/arch/arm/samsung/mct.c: revision 1.11 sys/arch/evbarm/conf/ODROID-U: file removal sys/arch/arm/samsung/mct.c: revision 1.12 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3 sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4 Get the EXYNOS kernel building again with recent FDT changes. Untested. Use arm_fdt_cpu_hatch and add mmu entry for DTB Fix exynos5 devmap, bootstrap, and implement early_putchar. Calculate UART frequency based on bootloader config. Fix KERNEL_BASE_PHYS (how did this ever work?) Avoid divide-by-zero for unconfigured PLLs Correctly initialize i2cbus attach args. Add delay and enable mct timecounter. Fix build w/o VERBOSE_INIT_ARM Remove ODROID-U and ODROID-XU kernel configs as they no longer work. - Replace CONSADDR with SSCOM2CONSOLE in example - Remove gtmr (Exynos5422 uses mct) - cinclude EXYNOS.local instead of TEGRA.local Use fdtbus_intr_establish to hook in block interrupts instead of intr_establish. Simplify MCT; just enable it and then attach an ARMv7 generic timer. Add support for building DTB files during kernel build, from christos. build vexpress-v2p-ca15-tc1.dtb with the kernel build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel Allow multiline makeoptions to work by quoting the newline.. Bump for quoting makeoptions with multiple lines. un-c99 bump required config version for multiline makeoptions feature Set DTS makeoption in kernel config Assign DTB files to a variable so we can make -V DTB put the dtb files with their kernels. no need for debug printing. Don't assume that CPU index = GIC CPU interface number. We can determine the current CPU interface number by reading from the read-only GICD_ITARGETSR0 through GICD_ITARGETSR7 registers. This gets interrupts working on Exynos 5422, where the boot processor has GIC CPU interface #4. use -v to get the expanded variable. Use -v to get the expanded variables. Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach. Fix PLL con0 register locations and add uart clocks Disable exyortc for now, it doesn't work. More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support. Update for new dwc_mmc driver Fix dmesg Add Exynos 5410 clock controller driver. Fix a few typos in clock parent names for mmc clocks. From jmcneill@ Update for new dwc_mmc driver Implement platform reset for exynos5 Attach fdtbus to a /clocks node with no compatible string. Add support for ARM Power State Coordination Interface (PSCI). Support interrupt sharing. Add initial support for Allwinner H3 SoC. ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF, U-Boot on some platforms may use SGIs in this range for the PSCI implementation. Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert to ensure that we don't end up with a conflict. Add H3 MMC support SD/MMC clock fixes Add FDT PHY interface. Add glue for generic ehci/ohci bindings. Rename a variable, NFC. Support parents in different clock domains. Add USB stuff. Doesn't quite work yet. Synopsys DesignWare APB UART needs "options COM_AWIN" for now. Add i2c glue. Add RTC driver. PHY registers start at index 1. Now USB works. Don't allow sharing edge and level triggered interrupts. Add arm_fdt_memory_dump helper for dumping physical addresses from ddb Print clocks with aprint_debug Remove unused defines Add fdtbus_get_string helper Add of_search_compatible, which searches an array of compat_data structures for a matching "compatible" entry matching the supplied OFW node. This allows us to associate data with compatible strings. Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and later family SoCs. This is a port of my FreeBSD driver which has been confirmed to work on Allwinner H3, A83T, and A64 SoCs. Fix dmesg Add basic support for Allwinner A31. Add basic FDT GPIO support. Fix the pinctrl api to match the spec. A pinctrl config can have more than one xref, and an xref may have specifier data associated with it. Enable sunxi pinctrl support Adjust to new pinctrl API Add P2WI/RSB driver, based on awin_p2wi.c. Fix typo in a compat string. Configure pin defaults at attach No need to explicitly set pinctrl config 0 now Fix some register definitions. Disallow sharing between MPSAFE and non-MPSAFE handlers. Add of_match_compat_data. This routine searches an array of compat_data structures for a matching "compatible" entry matching the supplied OFW node. Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based kernels. the extent code cannot use the full range of u_long, so ignore the last page before 4GB too. ok jmcneill@ Copy install ramdisk to releasedir. Provide both a raw ffs and Legacy U-Boot version of it. Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb files for SUNXI and TEGRA kernels on the MSDOS partition. Let the controller provide a default name for pins. This makes pins easier to locate when we have multiple banks and a variable number of pins per bank. Attach gpio(4) to sunxigpio Test for kernel build directory before reading DTB list Add support for Allwinner A83T SoC. Add A83T files Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints. Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac Restore TX_INTERVAL_DEFAULT to 64 Drop the sunxi_emac_rx_batch feature. It was originally designed to reduce the amount of mutex unlock/lock cycles during the RX path on FreeBSD and if_input, but it is not required to drop the lock before calling if_percpuq_enqueue on NetBSD. Write back the data value instead of mask in sunxi_gpio_write Add a helper for exposing LED controls via sysctl. Add GPIO LED driver. add gpioleds Add misc. gates and resets driver, and explicitly enable PIO clocks at attach. Add fdtbus_get_string_index helper. Add driver for fixed-factor clocks. Add ffclock Remove the requirement for ehci to attach after companion devices. "go for it" - skrll@ Remove the hack to find companion devices and just assume 1 companion if ETTF flag is not set. Remove pass numbers for ehci/ohci now that the attach order no longer matters Use unsigned char for ctype functions, suggested by christos Add : to body of populate_sunxi to appease bash. port-evbarm/52388: Fix number of args to a debug printf.
Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 14 06:33:26 2017 UTC (6 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored) to selected 1.51 (colored)
KNF
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 29 00:11:28 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.29: +8 -3
lines
Diff to previous 1.29 (colored) to selected 1.51 (colored)
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF, U-Boot on some platforms may use SGIs in this range for the PSCI implementation. Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert to ensure that we don't end up with a conflict.
Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 28 20:46:35 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.28: +5 -56
lines
Diff to previous 1.28 (colored) to selected 1.51 (colored)
Revert the KERNHIST for now it causes problems
Revision 1.28 / (download) - annotate - [select for diffs], Thu Jun 22 08:10:29 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.27: +7 -3
lines
Diff to previous 1.27 (colored) to selected 1.51 (colored)
If we see GICC_IAR_IRQ_SSPURIOUS we should also stop looking for irqs
Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 22 08:04:32 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.26: +5 -4
lines
Diff to previous 1.26 (colored) to selected 1.51 (colored)
Wrap long line
Revision 1.26 / (download) - annotate - [select for diffs], Thu Jun 22 07:56:40 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.25: +11 -2
lines
Diff to previous 1.25 (colored) to selected 1.51 (colored)
Print the GICC_IIDR when AB_DEBUG
Revision 1.25 / (download) - annotate - [select for diffs], Thu Jun 22 06:51:30 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.24: +57 -5
lines
Diff to previous 1.24 (colored) to selected 1.51 (colored)
Add 'armgichist' KERNHIST for (future) debugging.
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 18 22:11:50 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.23: +34 -5
lines
Diff to previous 1.23 (colored) to selected 1.51 (colored)
Don't assume that CPU index = GIC CPU interface number. We can determine the current CPU interface number by reading from the read-only GICD_ITARGETSR0 through GICD_ITARGETSR7 registers. This gets interrupts working on Exynos 5422, where the boot processor has GIC CPU interface #4.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Jun 5 20:02:11 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.22: +2 -45
lines
Diff to previous 1.22 (colored) to selected 1.51 (colored)
Clean out some #if 0'ed or //'ed code
Revision 1.21.2.1 / (download) - annotate - [select for diffs], Mon Jun 5 08:20:36 2017 UTC (6 years, 9 months ago) by snj
Branch: netbsd-8
Changes since 1.21: +17 -13
lines
Diff to previous 1.21 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by skrll in ticket #8): sys/arch/arm/cortex/gic.c: revision 1.22 Initialise all the SGI/PPI priorities for all CPUs to mask the interrupts
Revision 1.22 / (download) - annotate - [select for diffs], Sun Jun 4 10:45:50 2017 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.21: +17 -13
lines
Diff to previous 1.21 (colored) to selected 1.51 (colored)
Initialise all the SGI/PPI priorities for all CPUs to mask the interrupts
Revision 1.21 / (download) - annotate - [select for diffs], Tue May 30 22:00:25 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.20: +4 -2
lines
Diff to previous 1.20 (colored) to selected 1.51 (colored)
Use an FDT-based ARM_INTR_IMPL for Tegra.
Revision 1.12.2.3 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:37 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.2.2: +5 -5
lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.10.2.5 / (download) - annotate - [select for diffs], Thu Jul 30 09:37:37 2015 UTC (8 years, 8 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.10.2.4: +5 -2
lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by skrll in ticket #890): sys/arch/arm/pic/pic.c: revision 1.27-1.32 sys/arch/arm/omap/omap5430_intr.h: revision 1.3 sys/arch/arm/broadcom/bcm2835_obio.c: revision 1.25 sys/arch/arm/cortex/gic.c: revision 1.18 sys/arch/arm/broadcom/bcm2835reg.h: revision 1.15 sys/arch/evbarm/rpi/rpi_machdep.c: revision 1.61 sys/arch/arm/broadcom/bcm2835_intr.h: revision 1.2 sys/arch/arm/marvell/mvsoc_intr.h: revision 1.5 sys/arch/arm/broadcom/bcm2835_intr.c: revision 1.8-1.10 sys/arch/arm/pic/picvar.h: revision 1.12-1.14 sys/arch/arm/omap/omap4430_intr.h: revision 1.3 Don't clear CI_ASTPENDING in exception return, do it in ast() instead. Add basic support for __HAVE_PREEMPTION. Use atomic ops for ci_astpending if __HAVE_PREEMPTION is defined. Use kpreempt_disable/kpreempt_enable Add __HAVE_PIC_HAVE_PENDING_INTRS and define it if __HAVE_PIC_SET_PRIORITY is undefined (also define in mvsoc_intr.h since their use of the latter is peculiar). This new define controls whether the pending interrupt logic is compiled. The GIC doesn't use pending interrupts since it uses the priority level on the GIC to control delivery of interrupts, thus there can never be a pending interrupt. The kernel shrinks about 4KB with the removal of the pending interupt support, Only if we __HAVE_PIC_PENDING_INTRS do we need the variables to track them. Add #define __HAVE_PIC_PENDING_INTRS for the non-GIC PICs. Add a pic_cpus to the softc which specifies which cpus the pic can send IPIs to. For GIC, initialize pic_cpus to kcpuset_running since it can handle all the cpus. Adapt pic to deal with the BCM2836 interrupts. Move pic_pending_pics, pic_pending_ipls, and pic_blocked_irqs into a structure and make then per-cpu. There is no global interrupt state anymore. Use right kcpuset call. Don't need pic_ipi_sender anymore. Don't send IPIs to ourselves if sending to everyone. RPI2 MP support. Thanks to Matt Thomas for making this possible with his changes to pic.c Use a bit per IPI type in local mailbox 0 registers. Ok matt@ IPIs should be IPL_HIGH according to rmind@ Fix bcm2836mp_pic_{un,}block_irqs to handle timer AND mailbox interrupts if they're both passed. Thanks to nat@ for finding this. Sprinkle some KASSERTs
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 29 04:59:48 2015 UTC (8 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Changes since 1.19: +5 -5
lines
Diff to previous 1.19 (colored) to selected 1.51 (colored)
Adjust some of IPLs of various IPIs.
Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:55 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12.2.1: +23 -20
lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.19 / (download) - annotate - [select for diffs], Wed Apr 15 15:45:06 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.18: +4 -4
lines
Diff to previous 1.18 (colored) to selected 1.51 (colored)
Add separate IPI routines for IPI_AST and IPI_KPREEMPT.
Revision 1.18 / (download) - annotate - [select for diffs], Sat Apr 11 16:47:47 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.17: +5 -2
lines
Diff to previous 1.17 (colored) to selected 1.51 (colored)
Add a pic_cpus to the softc which specifies which cpus the pic can send IPIs to. For GIC, initialize pic_cpus to kcpuset_running since it can handle all the cpus.
Revision 1.17 / (download) - annotate - [select for diffs], Thu Apr 9 00:38:29 2015 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.16: +20 -20
lines
Diff to previous 1.16 (colored) to selected 1.51 (colored)
All SGIs are MPSAFE so establish them as such.
Revision 1.12.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:52 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12: +10 -13
lines
Diff to previous 1.12 (colored) to selected 1.51 (colored)
Sync with HEAD
Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sat Mar 21 17:24:19 2015 UTC (9 years ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC2,
netbsd-7-0-RC1
Changes since 1.10.2.3: +8 -8
lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by skrll in ticket #627): sys/arch/arm/cortex/gic.c: revision 1.16 Trailing whitespace
Revision 1.16 / (download) - annotate - [select for diffs], Fri Mar 20 07:57:27 2015 UTC (9 years ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.15: +8 -8
lines
Diff to previous 1.15 (colored) to selected 1.51 (colored)
Trailing whitespace
Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sun Mar 15 22:46:38 2015 UTC (9 years ago) by snj
Branch: netbsd-7
Changes since 1.10.2.2: +2 -5
lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by skrll in ticket #591): sys/arch/arm/cortex/gic.c: revision 1.15 G/C armgic_last_priority
Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 12 21:05:07 2015 UTC (9 years ago) by skrll
Branch: MAIN
Changes since 1.14: +2 -5
lines
Diff to previous 1.14 (colored) to selected 1.51 (colored)
G/C armgic_last_priority
Revision 1.10.2.2 / (download) - annotate - [select for diffs], Sat Mar 7 05:04:49 2015 UTC (9 years ago) by snj
Branch: netbsd-7
Changes since 1.10.2.1: +4 -4
lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by jmcneill in ticket #567): sys/arch/arm/cortex/gic.c: revision 1.13, 1.14 in armgic_establish_irq, make sure to write the new value to GICD_ICFGRn when setting irq type (IST_LEVEL/IST_EDGE) -- sc_gic_lines is the total number of valid lines but pic_sources[] is sparse; when initializing mpsafe targets make sure to go all the way to the end (sc_pic.pic_maxsources) instead
Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 3 21:53:12 2015 UTC (9 years ago) by jmcneill
Branch: MAIN
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored) to selected 1.51 (colored)
in armgic_establish_irq, make sure to write the new value to GICD_ICFGRn when setting irq type (IST_LEVEL/IST_EDGE)
Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 2 11:37:25 2015 UTC (9 years ago) by jmcneill
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored) to selected 1.51 (colored)
sc_gic_lines is the total number of valid lines but pic_sources[] is sparse; when initializing mpsafe targets make sure to go all the way to the end (sc_pic.pic_maxsources) instead
Revision 1.10.2.1 / (download) - annotate - [select for diffs], Sun Nov 9 16:05:25 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.10: +7 -4
lines
Diff to previous 1.10 (colored) to selected 1.51 (colored)
Pull up following revision(s) (requested by skrll in ticket #188): sys/arch/arm/include/arm32/pmap.h: revision 1.136 sys/arch/arm/include/armreg.h: revision 1.100 sys/arch/arm/cortex/gic.c: revision 1.11 sys/arch/arm/arm32/db_interface.c: revision 1.54 sys/arch/arm/include/armreg.h: revision 1.101 sys/arch/arm/cortex/gic.c: revision 1.12 sys/arch/arm/arm32/arm32_machdep.c: revision 1.107 sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.19 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.20 sys/arch/evbarm/conf/BPI: revision 1.5 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.21 sys/arch/arm/arm32/pmap.c: revision 1.306 sys/arch/arm/arm32/db_machdep.c: revision 1.22 sys/arch/arm/arm32/arm32_tlb.c: revision 1.3 sys/arch/arm/arm/undefined.c: revision 1.55 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.22 sys/arch/arm/arm32/pmap.c: revision 1.307 sys/arch/arm/arm32/arm32_tlb.c: revision 1.4 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.23 sys/arch/arm/arm32/arm32_tlb.c: revision 1.5 sys/arch/evbarm/conf/BPI: revision 1.8 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.24 sys/arch/arm/arm32/arm32_tlb.c: revision 1.6 sys/arch/arm/arm32/arm32_tlb.c: revision 1.7 sys/arch/evbarm/conf/CUBIETRUCK: revision 1.5 sys/arch/arm/pic/pic.c: revision 1.23 sys/arch/arm/pic/pic.c: revision 1.24 sys/arch/arm/pic/picvar.h: revision 1.11 sys/arch/arm/arm/cpufunc_asm_armv7.S: revision 1.20 sys/arch/arm/mainbus/cpu_mainbus.c: revision 1.16 sys/arch/arm/arm32/pmap.c: revision 1.298 sys/arch/arm/arm/cpufunc_asm_arm11.S: revision 1.17 sys/arch/arm/arm/cpufunc_asm_pj4b.S: revision 1.5 sys/arch/arm/arm32/pmap.c: revision 1.310 sys/arch/arm/arm32/pmap.c: revision 1.311 sys/arch/arm/arm32/arm32_kvminit.c: revision 1.32 sys/arch/arm/cortex/a9_mpsubr.S: revision 1.19 sys/arch/arm/arm32/arm32_boot.c: revision 1.10 sys/arch/arm/arm/ast.c: revision 1.25 sys/arch/arm/include/armreg.h: revision 1.98 sys/uvm/pmap/pmap_tlb.c: revision 1.10 sys/arch/arm/arm32/arm32_boot.c: revision 1.8 sys/arch/arm/arm32/arm32_boot.c: revision 1.9 sys/arch/arm/arm/arm_machdep.c: revision 1.43 Various ARM MP fixes.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 29 19:27:36 2014 UTC (9 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.11: +6 -4
lines
Diff to previous 1.11 (colored) to selected 1.51 (colored)
Only target boot cpu for SPIs atm. Fix a couple of bugs in the now disabled code.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 29 14:14:14 2014 UTC (9 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.10: +3 -2
lines
Diff to previous 1.10 (colored) to selected 1.51 (colored)
Sprinkle #include "opt_multiprocessor.h"
Revision 1.1.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:45 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.2: +85 -26
lines
Diff to previous 1.1.2.2 (colored) to selected 1.51 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.7.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:51 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.7: +13 -9
lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.51 (colored)
Rebase.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:32 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3.2.2: +94 -34
lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.51 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.10 / (download) - annotate - [select for diffs], Mon May 19 22:47:53 2014 UTC (9 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.9: +4 -3
lines
Diff to previous 1.9 (colored) to selected 1.51 (colored)
Implement MI IPI interface with cross-call support.
Revision 1.4.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:57 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.4: +85 -27
lines
Diff to previous 1.4 (colored) next main 1.5 (colored) to selected 1.51 (colored)
sync with head
Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 27 16:22:13 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Changes since 1.8: +7 -4
lines
Diff to previous 1.8 (colored) to selected 1.51 (colored)
When dealing with the PMR register, only use non-secure priority values.
Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 13 02:21:47 2014 UTC (9 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.7: +6 -6
lines
Diff to previous 1.7 (colored) to selected 1.51 (colored)
Move aprint to print sooner.
Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 28 21:39:09 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.6: +70 -14
lines
Diff to previous 1.6 (colored) to selected 1.51 (colored)
Various MP changes.
Revision 1.5.2.3 / (download) - annotate - [select for diffs], Wed Mar 26 01:59:08 2014 UTC (10 years ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5.2.2: +4 -8
lines
Diff to previous 1.5.2.2 (colored) next main 1.6 (colored) to selected 1.51 (colored)
Let bus_space so the endian conversion if needed
Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 4 15:24:38 2014 UTC (10 years ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.5: +6 -9
lines
Diff to previous 1.5 (colored) to selected 1.51 (colored)
Don't byte swap the data, assume the bus_space will do it.
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (10 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5.2.1: +581 -0
lines
Diff to previous 1.5.2.1 (colored) to selected 1.51 (colored)
Merge armv7 support from HEAD, specifically support for the BCM5301X and BCM56340 evbarm kernels.
Revision 1.5.2.1, Tue Dec 17 13:12:45 2013 UTC (10 years, 3 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.5: +0 -581
lines
FILE REMOVED
file gic.c was added on branch matt-nb5-mips64 on 2014-02-15 16:18:36 +0000
Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 17 13:12:45 2013 UTC (10 years, 3 months ago) by joerg
Branch: MAIN
Branch point for: matt-nb5-mips64
Changes since 1.4: +4 -2
lines
Diff to previous 1.4 (colored) to selected 1.51 (colored)
armgic_priority_to_ipl is only used in #if 0'd code, so apply that as well.
Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:20:00 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.1.2.1: +13 -11
lines
Diff to previous 1.1.2.1 (colored) to selected 1.51 (colored)
resync from head
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jun 20 05:30:21 2013 UTC (10 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2
Branch point for: rmind-smpnet
Changes since 1.3: +13 -11
lines
Diff to previous 1.3 (colored) to selected 1.51 (colored)
Pass the offset from CBAR/PERIPHBASE in mpcore_attach_args. Modify the list of devices to include the offset(s) from PERIPHBASE.
Revision 1.3.4.2 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:26 2012 UTC (11 years, 4 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.3.4.1: +577 -0
lines
Diff to previous 1.3.4.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored) to selected 1.51 (colored)
Merge improved arm support (especially Cortex) from HEAD including OMAP and BCM53xx support.
Revision 1.1.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:04 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +4 -3
lines
Diff to previous 1.1 (colored) to selected 1.51 (colored)
Resync to 2012-11-19 00:00:00 UTC
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:00 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.3.2.1: +577 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) to selected 1.51 (colored)
sync with head
Revision 1.3.4.1, Sun Sep 16 22:09:34 2012 UTC (11 years, 6 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.3: +0 -577
lines
FILE REMOVED
file gic.c was added on branch matt-nb6-plus on 2012-11-28 22:40:26 +0000
Revision 1.3.2.1, Sun Sep 16 22:09:34 2012 UTC (11 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.3: +0 -577
lines
FILE REMOVED
file gic.c was added on branch yamt-pagecache on 2012-10-30 17:19:00 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Sun Sep 16 22:09:34 2012 UTC (11 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: yamt-pagecache,
matt-nb6-plus
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored) to selected 1.51 (colored)
Rename kcpuset_copybits() to kcpuset_export_u32() and thus be more specific about the interface.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 14 03:52:50 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.1: +3 -2
lines
Diff to previous 1.1 (colored) to selected 1.51 (colored)
Verify the source isn't a dummy source.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 1 00:03:14 2012 UTC (11 years, 6 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Diff to selected 1.51 (colored)
Add Cortex-A9 support including the ARM Generic Interrupt Controller and the A9 Global Timer / Watchdog.