#
2c0ff823 |
| 02-Apr-2022 |
skrll <skrll@NetBSD.org> |
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
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.
show more ...
|
#
1562b313 |
| 28-Aug-2020 |
skrll <skrll@NetBSD.org> |
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 ka
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
show more ...
|
#
5398f0eb |
| 04-Jul-2020 |
skrll <skrll@NetBSD.org> |
Protect with #ifdef _KERNEL
|
#
8fd614bd |
| 05-Mar-2020 |
riastradh <riastradh@NetBSD.org> |
Revert "Include opt_diagnostic.h for DIAGNOSTIC."
This did not do what I thought it did. opt_diagnostic.h is only for the unused _DIAGNOSTIC, which seems like an abortive attempt to incrementally c
Revert "Include opt_diagnostic.h for DIAGNOSTIC."
This did not do what I thought it did. opt_diagnostic.h is only for the unused _DIAGNOSTIC, which seems like an abortive attempt to incrementally convert DIAGNOSTIC to an opt_*.h option rather than a command-line option.
show more ...
|
#
a68c2c90 |
| 05-Mar-2020 |
riastradh <riastradh@NetBSD.org> |
Include opt_diagnostic.h for DIAGNOSTIC.
...at least, in header files, which may not have already included libkern.h.
|
#
483c6a3d |
| 15-Feb-2020 |
skrll <skrll@NetBSD.org> |
Various updates and improvements to cpu start up on arm/aarch64
- start sharing more code around the AP startup messaging. - call arm_cpu_topology_set early so that ci_core_id is available for dri
Various updates and improvements to cpu start up on arm/aarch64
- start sharing more code around the AP startup messaging. - call arm_cpu_topology_set early so that ci_core_id is available for drivers, e.g. bcm2835_intr.c - both arm and aarch64 now have - a static cpu_info_store array - the same arm_cpu_{hatched,mbox}
show more ...
|
#
ce7fa954 |
| 18-Dec-2019 |
riastradh <riastradh@NetBSD.org> |
New function cpu_startup_hook on arm.
Called at end of cpu_startup. Can be defined in, e.g., evbarm to do additional stuff after cpu_startup. Defined as a weak alias to a function that does nothin
New function cpu_startup_hook on arm.
Called at end of cpu_startup. Can be defined in, e.g., evbarm to do additional stuff after cpu_startup. Defined as a weak alias to a function that does nothing, so optional.
ok jmcneill
show more ...
|
#
e93b22b4 |
| 16-Jul-2019 |
skrll <skrll@NetBSD.org> |
Consistently use vaddr_t as initarm and friends return type.
Makes no difference to binaries except for aarch64 where it's required
|
#
45cf88a8 |
| 03-Jan-2019 |
skrll <skrll@NetBSD.org> |
Start CPUs more like aarch64 by using a cpu_mpidr array (if populated) to map MPIDRs to an index for each CPU.
Towards big.LITTLE support.
|
#
e4a950e6 |
| 18-Oct-2018 |
skrll <skrll@NetBSD.org> |
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
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
show more ...
|
#
4c00ccd3 |
| 05-Aug-2018 |
skrll <skrll@NetBSD.org> |
Refactor code to split aarch{32,64} kernel page tables and VM setup. This will help re-build the kernel page tables on aarch64 with correct section mappings.
|
#
c7a64be7 |
| 05-Aug-2018 |
skrll <skrll@NetBSD.org> |
Expose kern_vtopdiff
|
#
09742325 |
| 03-Aug-2018 |
skrll <skrll@NetBSD.org> |
Provide and use kern_vtopdiff in KERN_{VTOPHYS,PHYSTOV}. A step towards generic arm.
|
#
ededf960 |
| 01-Aug-2018 |
skrll <skrll@NetBSD.org> |
s/_ARM32_BOOT_MACHDEP_H_/_ARM32_MACHDEP_H_/ in multiple inclusion protection.
|
#
361e68bb |
| 15-Jul-2018 |
maxv <maxv@NetBSD.org> |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
#
4c266360 |
| 20-Feb-2017 |
skrll <skrll@NetBSD.org> |
Whitespace in comment
|
#
c7401e91 |
| 20-Feb-2017 |
skrll <skrll@NetBSD.org> |
Trailing whitespace
|
#
473d30db |
| 11-Nov-2015 |
jmcneill <jmcneill@NetBSD.org> |
add support for optional RB_POWERDOWN handler
|
#
2c4ebabd |
| 28-Mar-2014 |
matt <matt@NetBSD.org> |
Change arm_cpu_mbox to volatile
|
#
fbbc240d |
| 20-Oct-2012 |
matt <matt@NetBSD.org> |
Increase l2pts to accomodate large memory disks.
|
#
6975da7b |
| 01-Sep-2012 |
martin <martin@NetBSD.org> |
Backout previous, Matt fixed it differently
|
#
8e0436a0 |
| 01-Sep-2012 |
martin <martin@NetBSD.org> |
Move struct pv_addr next to struct bootmem_info into machdep.h and have pmap.h include that. Seems to be the least intrusive build fix; Matt: feel free to revamp.
|
#
71025262 |
| 31-Aug-2012 |
matt <matt@NetBSD.org> |
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
|
#
bef0c20b |
| 29-Aug-2012 |
matt <matt@NetBSD.org> |
Don't use locations in .data to store exception temporaries, use decidicated space in cpu_info instead. This also moves undefined_handler_address into cpu_info as well. Use the new armreg* inlines f
Don't use locations in .data to store exception temporaries, use decidicated space in cpu_info instead. This also moves undefined_handler_address into cpu_info as well. Use the new armreg* inlines for getting TPIDRPRW register. Add MULTIPROCESSOR version of CPU_INFO_FOREACH
show more ...
|
#
e0caf716 |
| 29-Aug-2012 |
matt <matt@NetBSD.org> |
Since the PMC cycle counter is started in cpufunc no reason to do so here. Use curcpu()->ci_data.cpu_cc_freq and new armreg* inlines.
|