The NetBSD Project

CVS log for src/sys/arch/aarch64/aarch64/efi_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / aarch64 / aarch64

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Tue May 3 20:10:20 2022 UTC (9 months ago) by skrll
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.12: +6 -9 lines
Diff to previous 1.12 (colored)

Style. NFCI.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Apr 27 23:38:31 2022 UTC (9 months, 1 week ago) by ryo
Branch: MAIN
Changes since 1.11: +19 -5 lines
Diff to previous 1.11 (colored)

since pmap_activate_efirt() rewrites TTBR0, it is necessary to pmap_activate() again after pmap_deactivate_efirt() to restore the original TTBR0.

- Fix to do pmap_{de,}activate() before/after pmap_{,de}activate_efirt().
- moved kpreempt_{disable,enable}() to the caller since everything between
  arm_efirt_md_enter() and arm_efirt_md_exit() should be kpreempt disabled.

ok skrll@

Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 2 11:16:06 2022 UTC (10 months ago) by skrll
Branch: MAIN
Changes since 1.10: +56 -13 lines
Diff to previous 1.10 (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.8.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:13 2021 UTC (22 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.8: +5 -13 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.8.4.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.8: +5 -13 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 21 07:09:54 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.9: +2 -7 lines
Diff to previous 1.9 (colored)

Remove the unnecessary invalidation code in arm_efirt_md_map_range.

pmapboot_enter will panic if any overlapping mappings existed before and
a full TLB invalidate was done as part of turning the MMU on in locore.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 20 06:48:23 2021 UTC (22 months, 2 weeks ago) by skrll
Branch: MAIN
Changes since 1.8: +5 -8 lines
Diff to previous 1.8 (colored)

Don't mark EFI runtime pages LX_BLKPAG_OS_READ | LX_BLKPAG_OS_WRITE as
these bits are only used by the current pmap fault code and these are
wired pages which will never fault.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 22 07:31:15 2020 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Branch point for: thorpej-futex, thorpej-cfargs
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Use the dmb/dsb/isb macros... if nothing else they're all now consistent
about the "memory" assembler contraint.

No binary change

Revision 1.7 / (download) - annotate - [select for diffs], Thu Oct 22 07:23:24 2020 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

Simplify the cpufunc.h header, i.e. always use #include <arm/cpufunc.h>

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 16 11:36:35 2020 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

pmapboot_enter simplication
- bootpage_alloc in asm becomes pmapboot_pagealloc in C
- PMAPBOOT_ENTER_NOBLOCK is removed as it's not used
- PMAPBOOT_ENTER_NOOVERWRITE is removed as it's now always on
- physpage_allocator argument is removed as it's always
  pmapboot_pagealloc
- Support for EARLYCONS without CONSADDR is removed so that the identity
  map for CONSADDR is always known.

For the assembly files:
 2 files changed, 40 insertions(+), 89 deletions(-)

LGTM ryo

Revision 1.3.6.4 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:27 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.3.6.3: +1 -1 lines
Diff to previous 1.3.6.3 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.3.6.3 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:23 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.3.6.2: +47 -2 lines
Diff to previous 1.3.6.2 (colored) to branchpoint 1.3 (colored)

Merge changes from current as of 20200406

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Tue Dec 17 12:36:38 2019 UTC (3 years, 1 month ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2
Changes since 1.3: +47 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #558):

	sys/arch/aarch64/aarch64/efi_machdep.c: revision 1.5
	sys/arch/arm/arm/efi_runtime.h: revision 1.3
	sys/arch/arm/arm/efi_runtime.c: revision 1.3

Enable FP access for EFI RT and improve error handling.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Dec 16 00:03:50 2019 UTC (3 years, 1 month ago) by jmcneill
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, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.4: +47 -2 lines
Diff to previous 1.4 (colored)

Enable FP access for EFI RT and improve error handling.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 12 15:47:02 2019 UTC (3 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Trailing whitespace

Revision 1.3.6.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:43 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.3.6.1: +72 -0 lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored)

Sync with HEAD

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:16 2018 UTC (4 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3.2.1: +72 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.3.6.1, Wed Oct 31 14:15:12 2018 UTC (4 years, 3 months ago) by christos
Branch: phil-wifi
Changes since 1.3: +0 -72 lines
FILE REMOVED

file efi_machdep.c was added on branch phil-wifi on 2019-06-10 22:05:43 +0000

Revision 1.3.2.1, Wed Oct 31 14:15:12 2018 UTC (4 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3: +0 -72 lines
FILE REMOVED

file efi_machdep.c was added on branch pgoyette-compat on 2018-11-26 01:52:16 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 31 14:15:12 2018 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-0-RC1, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi, pgoyette-compat, netbsd-9
Changes since 1.2: +4 -4 lines
Diff to previous 1.2 (colored)

EFI runtime code section needs to be writable, otherwise we fail with a permission fault at shutdown on QEMU when writing to the RTC

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 31 13:01:48 2018 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN
Changes since 1.1: +24 -10 lines
Diff to previous 1.1 (colored)

Setup mappings for EFI runtime mmio ranges.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Oct 28 10:21:42 2018 UTC (4 years, 3 months ago) by jmcneill
Branch: MAIN

Add support for EFI runtime services on aarch64.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>