Up to [cvs.NetBSD.org] / src / sys / arch / arm / arm32
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.69 / (download) - annotate - [select for diffs], Sat Apr 2 11:16:07 2022 UTC (10 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Changes since 1.68: +24 -2
lines
Diff to previous 1.68 (colored)
Update to support EFI runtime outside the kernel virtual address space by creating an EFI RT pmap that can be activated / deactivated when required. Adds support for EFI RT to ARM_MMU_EXTENDED (ASID) 32-bit Arm machines. On Arm64 the usage of pmapboot_enter is reduced and the mappings are created much later in the boot process -- now in cpu_startup_hook. Backward compatiblity for KVA mapped RT from old bootaa64.efi is maintained. Adding support to other platforms should be easier as a result.
Revision 1.66.2.2 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:16 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.66.2.1: +8 -2
lines
Diff to previous 1.66.2.1 (colored) next main 1.67 (colored)
Sync with HEAD.
Revision 1.67.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 21:44:40 2021 UTC (22 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.67: +8 -2
lines
Diff to previous 1.67 (colored) next main 1.68 (colored)
Sync with HEAD.
Revision 1.68 / (download) - annotate - [select for diffs], Sun Mar 21 09:00:55 2021 UTC (22 months, 2 weeks 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.67: +8 -2
lines
Diff to previous 1.67 (colored)
-DKERNEL_BASE_VOFFSET= has annoyed me for the last time... Introduce KERNEL_VOFFSET_RUNTIME which prevents the addition of -DKERNEL_BASE_VOFFSET= to the command line and use it on the __HAVE_GENERIC_START kernels which do runtime calculation of the offset.
Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:37:47 2020 UTC (2 years, 1 month ago) by thorpej
Branch: thorpej-futex
Changes since 1.66: +5 -4
lines
Diff to previous 1.66 (colored)
Sync w/ HEAD.
Revision 1.67 / (download) - annotate - [select for diffs], Sat Dec 12 09:27:31 2020 UTC (2 years, 1 month ago) by skrll
Branch: MAIN
Branch point for: thorpej-cfargs
Changes since 1.66: +5 -4
lines
Diff to previous 1.66 (colored)
Move evbarm/fdt/fdt_memory.[ch] to sys/dev/fdt and simplify the api and some operations. This allows other architectures to use it.
Revision 1.66 / (download) - annotate - [select for diffs], Fri Oct 30 18:54:36 2020 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.65: +3 -3
lines
Diff to previous 1.65 (colored)
Retire arm_[di]sb in favour of the isb() and dsb(sy) macro invocations.
Revision 1.65 / (download) - annotate - [select for diffs], Fri Aug 28 13:36:52 2020 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.64: +4 -2
lines
Diff to previous 1.64 (colored)
Some KASAN fixes and tweaks - don't access BSS variables when __md_early - centralise the INIT_ARM_STACK_{SHIFT,SIZE} defines and create a new INIT_ARM_TOTAL_STACK - Only create L1PT entries in kasan_md_shadow_map_page if arm32_kernel_vm_init hasn't created the L2PTs (and their L1PT entries) - Add some comments to explain what's going on
Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 10 12:25:09 2020 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.63: +51 -2
lines
Diff to previous 1.63 (colored)
Add support for KASAN on ARMv[67] Thanks to maxv for many pointers and reviews.
Revision 1.63 / (download) - annotate - [select for diffs], Fri Jul 3 06:33:39 2020 UTC (2 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.62: +27 -19
lines
Diff to previous 1.62 (colored)
Style and share a debug string
Revision 1.62 / (download) - annotate - [select for diffs], Fri Jul 3 06:26:41 2020 UTC (2 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.61: +4 -4
lines
Diff to previous 1.61 (colored)
Use howmany()
Revision 1.61 / (download) - annotate - [select for diffs], Fri Jul 3 06:22:48 2020 UTC (2 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.60: +21 -20
lines
Diff to previous 1.60 (colored)
Whitespace
Revision 1.60 / (download) - annotate - [select for diffs], Fri Jun 26 08:42:27 2020 UTC (2 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.59: +3 -3
lines
Diff to previous 1.59 (colored)
Avoid unbounded stack usage warning
Revision 1.59 / (download) - annotate - [select for diffs], Sat Jun 20 07:10:36 2020 UTC (2 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.58: +3 -2
lines
Diff to previous 1.58 (colored)
KNF #includes Remove some unnecessary ones while I'm here.
Revision 1.41.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:28 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.41.4.1: +8 -8
lines
Diff to previous 1.41.4.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)
Merge changes from current as of 20200406
Revision 1.55.4.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:17 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.55: +8 -8
lines
Diff to previous 1.55 (colored) next main 1.56 (colored)
Sync with head.
Revision 1.58 / (download) - annotate - [select for diffs], Tue Feb 4 10:59:21 2020 UTC (2 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3
Changes since 1.57: +6 -6
lines
Diff to previous 1.57 (colored)
KNF
Revision 1.57 / (download) - annotate - [select for diffs], Tue Feb 4 10:57:32 2020 UTC (2 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.56: +3 -3
lines
Diff to previous 1.56 (colored)
grammar in a comment
Revision 1.56 / (download) - annotate - [select for diffs], Sun Feb 2 09:19:48 2020 UTC (3 years ago) by skrll
Branch: MAIN
Changes since 1.55: +3 -3
lines
Diff to previous 1.55 (colored)
G/C L1_TABLE_SIZE_REAL
Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:51 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.41: +172 -176
lines
Diff to previous 1.41 (colored)
Sync with HEAD
Revision 1.55 / (download) - annotate - [select for diffs], Wed May 8 13:18:47 2019 UTC (3 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119,
phil-wifi-20190609,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Changes since 1.54: +2 -4
lines
Diff to previous 1.54 (colored)
Really go back to pre-whitespace change (1.52) arm32_kernel_vm_init
Revision 1.54 / (download) - annotate - [select for diffs], Tue Apr 23 16:14:32 2019 UTC (3 years, 9 months ago) by skrll
Branch: MAIN
Changes since 1.53: +8 -8
lines
Diff to previous 1.53 (colored)
Revert the part of the previous Whitespace commit which clearly was functional. This will probably come back with other changes and a proper commit message.
Revision 1.53 / (download) - annotate - [select for diffs], Sun Mar 17 08:38:52 2019 UTC (3 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: isaki-audio2-base,
isaki-audio2
Changes since 1.52: +9 -7
lines
Diff to previous 1.52 (colored)
Whitespace
Revision 1.52 / (download) - annotate - [select for diffs], Wed Feb 6 13:28:08 2019 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.51: +4 -4
lines
Diff to previous 1.51 (colored)
Make sure the start stacks are covered by the new translation tables. They *might* get placed after ARM_BOOTSTRAP_LxPT by the linker. AP startup uses VA sp in cpu_init_secondary_processor
Revision 1.51 / (download) - annotate - [select for diffs], Wed Feb 6 13:22:54 2019 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.50: +5 -5
lines
Diff to previous 1.50 (colored)
Misc style
Revision 1.50 / (download) - annotate - [select for diffs], Wed Feb 6 13:20:29 2019 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.49: +7 -5
lines
Diff to previous 1.49 (colored)
Slight update to comment and KNF it while I'm here
Revision 1.49 / (download) - annotate - [select for diffs], Mon Feb 4 13:08:43 2019 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.48: +4 -4
lines
Diff to previous 1.48 (colored)
Fix typo in VPRINTF
Revision 1.41.2.3 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.41.2.2: +2 -8
lines
Diff to previous 1.41.2.2 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)
Sync with HEAD, resolve a couple of conflicts
Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 13 20:48:14 2018 UTC (4 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126
Changes since 1.47: +2 -4
lines
Diff to previous 1.47 (colored)
On second/third thoughts we can use the pages before the kernel everywhere.
Revision 1.41.2.2 / (download) - annotate - [select for diffs], Sat Oct 20 06:58:24 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.41.2.1: +88 -23
lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored)
Sync with head
Revision 1.47 / (download) - annotate - [select for diffs], Sat Oct 20 06:35:34 2018 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.46: +2 -6
lines
Diff to previous 1.46 (colored)
Clean up around cpu_ttb and fix a bunch of builds
Revision 1.46 / (download) - annotate - [select for diffs], Thu Oct 18 09:01:52 2018 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-1020
Changes since 1.45: +87 -22
lines
Diff to previous 1.45 (colored)
Provide generic start code that assumes the MMU is off and caches are disabled as per the linux booting protocol for ARMv6 and ARMv7 boards. u-boot image type should be changed to 'linux' for correct behaviour. The new start code builds a minimal "bootstrap" L1PT with cached access disabled and uses the same table for all processors. AP startup is performed in less steps and more code is written in C. The bootstrap tables and stack are placed into an (orphaned) section "_init_memory" which is given to uvm when it is no longer used. Various kernels have been converted to use this code and tested. Some boards were provided by TNF. Thanks! The GENERIC kernel now boots on boards using the TEGRA, SUNXI and EXYNOS kernels. The GENERIC kernel will also work on RPI2 using u-boot. Thanks to martin@ and aymeric@ for testing on parallella and nanosoc respectively
Revision 1.45 / (download) - annotate - [select for diffs], Sun Oct 14 14:31:05 2018 UTC (4 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.44: +3 -3
lines
Diff to previous 1.44 (colored)
Use __nothing
Revision 1.41.2.1 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:25 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.41: +95 -160
lines
Diff to previous 1.41 (colored)
Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.44 / (download) - annotate - [select for diffs], Fri Aug 3 15:46:41 2018 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-0930,
pgoyette-compat-0906
Changes since 1.43: +24 -28
lines
Diff to previous 1.43 (colored)
Provide and use kern_vtopdiff in KERN_{VTOPHYS,PHYSTOV}. A step towards generic arm.
Revision 1.43 / (download) - annotate - [select for diffs], Tue Jul 31 10:31:02 2018 UTC (4 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.42: +4 -2
lines
Diff to previous 1.42 (colored)
#ifdef VERBOSE_INIT_ARM some format strings only used in that case.
Revision 1.42 / (download) - annotate - [select for diffs], Tue Jul 31 07:00:48 2018 UTC (4 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.41: +71 -134
lines
Diff to previous 1.41 (colored)
Define and use VPRINTF
Revision 1.41 / (download) - annotate - [select for diffs], Sun Dec 10 21:38:26 2017 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.40: +17 -2
lines
Diff to previous 1.40 (colored)
FDTise RapberryPI support. Thanks for jmcneill for a lot of help with this. The kernel image that the RPI firmware boots is now netbsd.img in the kernel build directory. XXX fdtbus_get_reg needs reworking
Revision 1.3.2.5 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:51 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.3.2.4: +47 -49
lines
Diff to previous 1.3.2.4 (colored) next main 1.4 (colored)
update from HEAD
Revision 1.32.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:29 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32.2.3: +9 -3
lines
Diff to previous 1.32.2.3 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)
Sync with HEAD
Revision 1.40 / (download) - annotate - [select for diffs], Thu Jul 6 15:09:17 2017 UTC (5 years, 6 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.39: +3 -3
lines
Diff to previous 1.39 (colored)
Now that we can... mark kernel text as non-writable on MMUs that support it.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Jul 1 09:18:31 2017 UTC (5 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.38: +8 -2
lines
Diff to previous 1.38 (colored)
Report an error if compiled with MULTIPROCESSOR support but without __HAVE_CPU_UAREA_ALLOC_IDLELWP
Revision 1.32.2.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:03 2017 UTC (5 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32.2.2: +3 -3
lines
Diff to previous 1.32.2.2 (colored) to branchpoint 1.32 (colored)
Sync with HEAD
Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:10 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.37: +3 -3
lines
Diff to previous 1.37 (colored) next main 1.38 (colored)
Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 24 09:19:23 2016 UTC (6 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
nick-nhusb-base-20170204,
netbsd-8-base,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Changes since 1.37: +3 -3
lines
Diff to previous 1.37 (colored)
Fix VERBOSE_INIT_ARM build
Revision 1.32.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:30 2015 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.32.2.1: +13 -16
lines
Diff to previous 1.32.2.1 (colored) to branchpoint 1.32 (colored)
Sync with HEAD (as of 26th Dec)
Revision 1.37 / (download) - annotate - [select for diffs], Wed Nov 25 08:36:50 2015 UTC (7 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
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,
localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.36: +8 -11
lines
Diff to previous 1.36 (colored)
In the ARM_MMU_EXTENDED case make sure the kernel mappings are marked with XN (eXecute Never) appropriately. The XN logic is inconsistent and could do with changing to XN always set and cleared for VM_PROT_EXECUTE (or the inverse) everywhere.
Revision 1.36 / (download) - annotate - [select for diffs], Wed Nov 25 08:32:33 2015 UTC (7 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.35: +7 -7
lines
Diff to previous 1.35 (colored)
Trailing whitespace.
Revision 1.22.2.4 / (download) - annotate - [select for diffs], Thu Aug 13 00:07:15 2015 UTC (7 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.2.3: +10 -2
lines
Diff to previous 1.22.2.3 (colored) next main 1.23 (colored)
Make sure the amount of direct mapped memory doesn't cross over into the mappable KVA range.
Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:39:55 2015 UTC (7 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32: +30 -35
lines
Diff to previous 1.32 (colored)
Sync with HEAD
Revision 1.35 / (download) - annotate - [select for diffs], Mon Jun 1 19:16:44 2015 UTC (7 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921,
nick-nhusb-base-20150606
Changes since 1.34: +7 -50
lines
Diff to previous 1.34 (colored)
pmap_directbase is a failed experiment, nuke it.
Revision 1.34 / (download) - annotate - [select for diffs], Sat May 30 23:59:33 2015 UTC (7 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.33: +17 -4
lines
Diff to previous 1.33 (colored)
Support directmapped systems with >1GB that start memory at 0x80000000.
Revision 1.33 / (download) - annotate - [select for diffs], Mon May 4 00:44:12 2015 UTC (7 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.32: +28 -3
lines
Diff to previous 1.32 (colored)
Deal with 2GB of ram or memory ending at or above 4GB.
Revision 1.30.2.1 / (download) - annotate - [select for diffs], Sun Nov 9 16:05:25 2014 UTC (8 years, 2 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-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.30: +4 -2
lines
Diff to previous 1.30 (colored) next main 1.31 (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.32 / (download) - annotate - [select for diffs], Wed Oct 29 14:14:14 2014 UTC (8 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406,
nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.31: +4 -2
lines
Diff to previous 1.31 (colored)
Sprinkle #include "opt_multiprocessor.h"
Revision 1.31 / (download) - annotate - [select for diffs], Fri Oct 24 07:08:26 2014 UTC (8 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.30: +2 -4
lines
Diff to previous 1.30 (colored)
Remove unnecessary #include
Revision 1.3.2.4 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:45 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.2.3: +130 -35
lines
Diff to previous 1.3.2.3 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:53:50 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.26: +48 -5
lines
Diff to previous 1.26 (colored) next main 1.27 (colored)
Rebase.
Revision 1.30 / (download) - annotate - [select for diffs], Fri May 23 13:24:15 2014 UTC (8 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.29: +4 -4
lines
Diff to previous 1.29 (colored)
Fix build failed with GUMSTIX(pxa2x0). build test only now.
Revision 1.14.2.5 / (download) - annotate - [select for diffs], Thu May 22 11:39:31 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.2.4: +192 -71
lines
Diff to previous 1.14.2.4 (colored) to branchpoint 1.14 (colored) next main 1.15 (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.21.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:44:56 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.21: +128 -33
lines
Diff to previous 1.21 (colored) next main 1.22 (colored)
sync with head
Revision 1.29 / (download) - annotate - [select for diffs], Sun Apr 13 02:24:16 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9,
rmind-smpnet-nbase,
rmind-smpnet-base
Changes since 1.28: +7 -6
lines
Diff to previous 1.28 (colored)
When figuring out the physical size for direct-mapped systems, round up to L1_SS_SIZE.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Apr 11 04:19:47 2014 UTC (8 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.27: +43 -3
lines
Diff to previous 1.27 (colored)
Add a kernel for the CUBIETRUCK (CUBIEBOARD3). Allow direct mapping of all memory (but for now allow the memory mapped above KERNEL_BASE to used for poolpages).
Revision 1.27 / (download) - annotate - [select for diffs], Sat Apr 5 22:36:18 2014 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.26: +4 -2
lines
Diff to previous 1.26 (colored)
If using arm32_kvminit, don't bother mapping msgbuf since it's already mapped.
Revision 1.26 / (download) - annotate - [select for diffs], Tue Apr 1 05:37:35 2014 UTC (8 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.25: +9 -10
lines
Diff to previous 1.25 (colored)
Remove unnecessary { } around code block. No functional change.
Revision 1.25 / (download) - annotate - [select for diffs], Fri Mar 28 21:56:45 2014 UTC (8 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.24: +22 -6
lines
Diff to previous 1.24 (colored)
ARM_MMU_EXTENDED support.
Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Mar 24 07:37:39 2014 UTC (8 years, 10 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.2.2: +3 -3
lines
Diff to previous 1.22.2.2 (colored)
Make sure kernel starts on a page boundary.
Revision 1.24 / (download) - annotate - [select for diffs], Wed Mar 5 02:17:21 2014 UTC (8 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.23: +12 -7
lines
Diff to previous 1.23 (colored)
rearrange some printfs. when using the extended mmu, make sure to disable ttbr0 until there is an activated pmap.
Revision 1.23 / (download) - annotate - [select for diffs], Mon Mar 3 14:03:14 2014 UTC (8 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.22: +50 -18
lines
Diff to previous 1.22 (colored)
If we are going to map all of physical memory, we don't need to allocate l2 page tables for the kernel.
Revision 1.22.2.2 / (download) - annotate - [select for diffs], Sat Feb 15 16:18:36 2014 UTC (8 years, 11 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22.2.1: +919 -0
lines
Diff to previous 1.22.2.1 (colored)
Merge armv7 support from HEAD, specifically support for the BCM5301X and BCM56340 evbarm kernels.
Revision 1.22.2.1, Thu Aug 29 15:46:17 2013 UTC (9 years, 5 months ago) by matt
Branch: matt-nb5-mips64
Changes since 1.22: +0 -919
lines
FILE REMOVED
file arm32_kvminit.c was added on branch matt-nb5-mips64 on 2014-02-15 16:18:36 +0000
Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 29 15:46:17 2013 UTC (9 years, 5 months ago) by riz
Branch: MAIN
Branch point for: matt-nb5-mips64
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
Fix typo: VERBOSE_INIT_ARM, not VERBOSE_ARM_INIT. From Dennis Ferguson in PR#48163.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sun Jun 23 06:19:59 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.2.2: +69 -43
lines
Diff to previous 1.3.2.2 (colored)
resync from head
Revision 1.21 / (download) - annotate - [select for diffs], Sat Jun 22 00:44:17 2013 UTC (9 years, 7 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.20: +4 -4
lines
Diff to previous 1.20 (colored)
Fix inverted logic for mapping exception vector.
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 12 21:34:12 2013 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.19: +5 -3
lines
Diff to previous 1.19 (colored)
Add a ARM_HAS_VBAR option which forces the use of the VBAR register. This allows much code to deal with vector_page mappings to be eliminated. On a BEAGLEBONE kernel, this saves 8KB of text and instructions that never have to be executed. (The PJ4B has VBAR but doesn't implement the security extensions it is part of so a method was needed to allow it use VBAR with relying on the default test for the security extensions.)
Revision 1.19 / (download) - annotate - [select for diffs], Wed Jun 12 17:13:05 2013 UTC (9 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.18: +48 -30
lines
Diff to previous 1.18 (colored)
Add support for the VBAR (vector base address register) to remap the vectors into the kernel text segment. This register is available on arm1176 and all cortex processors since they all have the arm security (trustzone) extension. We avoid having to specially map either vector page (0x00000000 or 0xffff0000) and use VBAR to both to page0rel in the text segment. These vector group differs from the normal page0, that since it's in the kernel, it can branch directly to the exception routine, instead of loading the address into the PC. This should result in a tiny improvement in speed since we eliminate a TLB mapping the vector page and a load on every exception. XXX Add __HAVE_ARM_TRUSTZONE cpp define and use that to eliminate all code have to do with manipulating the vector page.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 27 22:15:46 2013 UTC (9 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: khorben-n900,
agc-symver-base,
agc-symver
Changes since 1.17: +5 -4
lines
Diff to previous 1.17 (colored)
Actually use zero_p now that we pass it in.
Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 27 16:55:39 2013 UTC (9 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.16: +22 -17
lines
Diff to previous 1.16 (colored)
Add a zero flag to valloc_pages so that we can *not* zero the msgbuf so it will be preserved across boots.
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:23 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.3.2.1: +7 -3
lines
Diff to previous 1.3.2.1 (colored)
resync with head
Revision 1.14.2.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:39 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.14.2.3: +3 -3
lines
Diff to previous 1.14.2.3 (colored) to branchpoint 1.14 (colored)
sync with head
Revision 1.14.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:43 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.2.2: +6 -2
lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored)
sync with (a bit old) head
Revision 1.16 / (download) - annotate - [select for diffs], Mon Dec 31 01:23:31 2012 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.15: +3 -3
lines
Diff to previous 1.15 (colored)
Correct one of the kernel_size calculations.
Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 10 06:51:49 2012 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.14: +6 -2
lines
Diff to previous 1.14 (colored)
if __HAVE_MM_MD_DIRECT_MAPPED_PHYS is defined, make sure mapallmem_p is true.
Revision 1.14.4.2 / (download) - annotate - [select for diffs], Wed Nov 28 22:40:16 2012 UTC (10 years, 2 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.14.4.1: +889 -0
lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)
Merge improved arm support (especially Cortex) from HEAD including OMAP and BCM53xx support.
Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:02 2012 UTC (10 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.3: +48 -35
lines
Diff to previous 1.3 (colored)
Resync to 2012-11-19 00:00:00 UTC
Revision 1.14.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:56 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.2.1: +889 -0
lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored)
sync with head
Revision 1.14.4.1, Wed Oct 24 21:31:06 2012 UTC (10 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.14: +0 -889
lines
FILE REMOVED
file arm32_kvminit.c was added on branch matt-nb6-plus on 2012-11-28 22:40:16 +0000
Revision 1.14.2.1, Wed Oct 24 21:31:06 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.14: +0 -889
lines
FILE REMOVED
file arm32_kvminit.c was added on branch yamt-pagecache on 2012-10-30 17:18:56 +0000
Revision 1.14 / (download) - annotate - [select for diffs], Wed Oct 24 21:31:06 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base6,
matt-nb6-plus-nbase,
matt-nb6-plus-base
Branch point for: yamt-pagecache,
matt-nb6-plus
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
Compare pointer against NULL not 0.
Revision 1.13 / (download) - annotate - [select for diffs], Sun Oct 21 22:04:05 2012 UTC (10 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Make sure when mapping all the kernel, start at KERNEL_BASE, not kernel_base.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Oct 19 12:36:24 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.11: +8 -7
lines
Diff to previous 1.11 (colored)
Make sure that start.S and machdep.c don't disagree wrt L1 page table location during bootstrap.
Revision 1.11 / (download) - annotate - [select for diffs], Fri Oct 19 09:56:32 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.10: +6 -4
lines
Diff to previous 1.10 (colored)
slop wasn't sloppy enough in the kernel_size calculation. Add in the L2 page tables required as well. Should fix the dockstar boot problem reported by Andy Ruhl on port-arm. http://mail-index.netbsd.org/port-arm/2012/09/20/msg001471.html
Revision 1.10 / (download) - annotate - [select for diffs], Fri Oct 19 09:50:30 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.9: +15 -7
lines
Diff to previous 1.9 (colored)
Comments.
Revision 1.9 / (download) - annotate - [select for diffs], Fri Oct 19 09:06:42 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.8: +8 -6
lines
Diff to previous 1.8 (colored)
Print the message buffer VAs and number of pages. Other minor cosmetics.
Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 17 20:44:48 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.7: +4 -4
lines
Diff to previous 1.7 (colored)
Fix two off-by-one loops. Saves a whole two pages.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 15 12:26:06 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.6: +9 -9
lines
Diff to previous 1.6 (colored)
More VERBOSE_INIT_ARM output tweaks.
Revision 1.6 / (download) - annotate - [select for diffs], Mon Oct 15 11:24:15 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.5: +3 -3
lines
Diff to previous 1.5 (colored)
Typo in comment.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Oct 15 10:19:52 2012 UTC (10 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.4: +6 -6
lines
Diff to previous 1.4 (colored)
Print the system vectors in order so I don't get confused.
Revision 1.4 / (download) - annotate - [select for diffs], Sat Sep 22 00:33:37 2012 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.3: +4 -4
lines
Diff to previous 1.3 (colored)
Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead but add a second argument to it to indicate whether the TLB/caches need to be flushed. Default cortex to pmap_needs_fixup = 1. But check the MMFR3 field to see if the fixed can be skipped. Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1) or enabeld (bit = 0). With these changes, the A9 MMU can use traverse caches to do MMU tablewalks Also, make sure all memory has the shareable bit for the A9.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 6 02:03:01 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.2: +4 -3
lines
Diff to previous 1.2 (colored)
Before setting the new TTB wbinv the caches.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 5 00:20:57 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.1: +11 -2
lines
Diff to previous 1.1 (colored)
Print TTBR/TTBR1/TTBCR registers
Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 31 23:59:51 2012 UTC (10 years, 5 months ago) by matt
Branch: MAIN
Make cpu_reset, most of initarm and the kvm init code common. Add MP hooks for cpu_need_resced Add idlestck which is allocated in arm32_kvminit