Home | History | Annotate | Download | only in include
History log of /src/sys/arch/aarch64/include/asan.h
RevisionDateAuthorComments
 1.19  16-Apr-2023  skrll Rename VM_KERNEL_IO_ADDRESS to VM_KERNEL_IO_BASE to match RISC-V

It's less letters, matches other similar variables and will help with
sharing code between the two architectures.

NFCI.
 1.18  29-Apr-2021  skrll Remove some unnecessary tlb invalidate in pmap_growkernel and ASAN shadow
map. Ensure the shadow map mappings are visible to the TLB walkers.
 1.17  21-Mar-2021  skrll branches: 1.17.2;
Adjust the kernel virtual address space so that KASAN will map the kernel
seperately from managed kernel virtual memory and not map the unused space
between the two.
 1.16  11-Dec-2020  skrll branches: 1.16.2;
s:aarch64/cpufunc.h:arm/cpufunc.h:

a baby step in the grand arm header unification challenge
 1.15  26-Nov-2020  skrll Mark KASAN shadow pages as LX_BLKPAG_ATTR_NORMAL_WB. NFC as this is zero,
but someone might change it one day.
 1.14  10-Nov-2020  skrll AA64 is not MIPS.

Change all KSEG references to directmap
 1.13  20-Sep-2020  skrll branches: 1.13.2;
Use pmap_growkernel(VM_KERNEL_VM_BASE) rather than pmap_virtual_space to
work out what to map initially.

XXX could do better mapping the kernel and modules more accurately
 1.12  19-Sep-2020  skrll Make __md_palloc pmap agnostic (think sys/uvm/pmap)
 1.11  10-Sep-2020  maxv kasan: fix the copyright notices
 1.10  05-Sep-2020  riastradh Round of uvm.h cleanup.

The poorly named uvm.h is generally supposed to be for uvm-internal
users only.

- Narrow it to files that actually need it -- mostly files that need
to query whether curlwp is the pagedaemon, which should maybe be
exposed by an external header.

- Use uvm_extern.h where feasible and uvm_*.h for things not exposed
by it. We should split up uvm_extern.h but this will serve for now
to reduce the uvm.h dependencies.

- Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use
UVMHIST(ubchist), since ubchist is declared in uvm.h but the
reference evaporates if UVMHIST is not defined, so we reduce header
file dependencies.

- Make uvm_device.h and uvm_swap.h independently includable while
here.

ok chs@
 1.9  01-Aug-2020  maxv Use large pages for the KASAN shadow, same as amd64, discussed with ryo@.
 1.8  16-Jul-2020  skrll 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
 1.7  23-Jun-2020  maxv Rename __MD_CANONICAL_BASE -> __MD_KERNMEM_BASE for clarity.
 1.6  08-Apr-2019  ryo branches: 1.6.4;
- free empty page tables pages if reach a certain usage.
- need to lock at removing an old pg (_pmap_remove_pv) in _pmap_enter()
 1.5  19-Mar-2019  ryo - free L1-L3 pages that has been emptied by pmap_remove().
- if no memories, pmap_enter will return correctly ENOMEM if PMAP_CANFAIL, or wait until available any memories if !PMAP_CANFAIL.

These changes improves the stability when we use a huge virtual memory spaces with mmap.
 1.4  10-Nov-2018  ryo branches: 1.4.2;
add LX_BLKPAG_SH_IS pte attribute for MP
 1.3  08-Nov-2018  maxv Track the stack with kASan on aarch64. Same principle as on amd64. Illegal
accesses occurring there are now detected.

Originally written by me, but reworked by ryo@, thanks.
 1.2  02-Nov-2018  skrll Provide a kasan_md_unwind

OK maxv
 1.1  01-Nov-2018  maxv Add kASan support for aarch64. Stack tracking needs more investigation
and will come in a separate commit.

Reviewed by ryo@ jmcneill@ skrll@.
 1.4.2.2  26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.4.2.1  10-Nov-2018  pgoyette file asan.h was added on branch pgoyette-compat on 2018-11-26 01:52:16 +0000
 1.6.4.2  10-Jun-2019  christos Sync with HEAD
 1.6.4.1  08-Apr-2019  christos file asan.h was added on branch phil-wifi on 2019-06-10 22:05:43 +0000
 1.13.2.2  03-Apr-2021  thorpej Sync with HEAD.
 1.13.2.1  14-Dec-2020  thorpej Sync w/ HEAD.
 1.16.2.1  03-Apr-2021  thorpej Sync with HEAD.
 1.17.2.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed