CVS commit: src/sys/arch/aarch64/aarch64

2021-11-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 27 14:11:04 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: db_trace.c Log Message: aarch64: Fix stack traces from jump-to-null. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/arch/aarch64/aarch64

2021-11-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Nov 27 14:11:04 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: db_trace.c Log Message: aarch64: Fix stack traces from jump-to-null. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/sys/arch/aarch64/aarch64

2021-11-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Nov 14 15:12:01 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: netbsd32_machdep.c netbsd32_machdep_13.c netbsd32_machdep_16.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/aarch64/aarch64

2021-11-14 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Nov 14 15:12:01 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: netbsd32_machdep.c netbsd32_machdep_13.c netbsd32_machdep_16.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-31 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 31 07:56:55 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Sprinkle some const To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/aarch64/aarch64/cpufunc.c Please

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-31 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 31 07:56:55 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Sprinkle some const To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/aarch64/aarch64/cpufunc.c Please

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 18:49:47 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf Log Message: Add CI_SPLX_SAVEDIPL and CI_HWPL To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sat Oct 30 18:49:47 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf Log Message: Add CI_SPLX_SAVEDIPL and CI_HWPL To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 10:47:03 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: G/C MD_CPU_HATCH. It's old evbarm (<= armv7) To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 10:47:03 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: G/C MD_CPU_HATCH. It's old evbarm (<= armv7) To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:27 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: style. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/aarch64/aarch64/cpu.c Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:27 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: style. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/sys/arch/aarch64/aarch64/cpu.c Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:01 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: TODO Log Message: Remove an item To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/TODO Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 30 09:42:01 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: TODO Log Message: Remove an item To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/aarch64/TODO Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 29 07:55:04 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_tlb.c Log Message: Fix length of memset in tlb_record_asids To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Oct 29 07:55:04 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_tlb.c Log Message: Fix length of memset in tlb_record_asids To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 23 06:49:46 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Fix non-UVMHIST build To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/aarch64/aarch64/pmap.c Please

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 23 06:49:46 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Fix non-UVMHIST build To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/aarch64/aarch64/pmap.c Please

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 23 06:48:31 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Shrink a panic message to avoid a long line To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-23 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 23 06:48:31 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Shrink a panic message to avoid a long line To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 23 05:42:49 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Remove unnecessary brackets in a conditional To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-22 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Oct 23 05:42:49 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Remove unnecessary brackets in a conditional To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 21 06:06:16 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: fix gimplish To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/arch/aarch64/aarch64/locore.S Please note that

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-21 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Oct 21 06:06:16 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: fix gimplish To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/sys/arch/aarch64/aarch64/locore.S Please note that

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-17 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Oct 17 22:44:35 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: When booted with "boot netbsd -1" (disable multiprocessor boot), "ddb>continue" didn't work when ddb was started by breakpoint

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-17 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sun Oct 17 22:44:35 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: When booted with "boot netbsd -1" (disable multiprocessor boot), "ddb>continue" didn't work when ddb was started by breakpoint

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-17 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 17 07:26:20 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Remove some newlines To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/aarch64/aarch64/cpu.c Please note

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-17 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 17 07:26:20 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Remove some newlines To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/arch/aarch64/aarch64/cpu.c Please note

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-16 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Oct 16 06:34:30 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: fix non-MULTIPROCESSOR build To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/arch/aarch64/aarch64/pmap.c

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-16 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Oct 16 06:34:30 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: fix non-MULTIPROCESSOR build To generate a diff of this commit: cvs rdiff -u -r1.117 -r1.118 src/sys/arch/aarch64/aarch64/pmap.c

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 10 08:59:45 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/aarch64/idle_machdep.S Please note

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 10 08:59:45 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/aarch64/aarch64/idle_machdep.S Please note

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 10 07:41:21 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Need to call pmap_tlb_info_attach for each CPU. Missed in previous commit. CVS

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 10 07:41:21 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Need to call pmap_tlb_info_attach for each CPU. Missed in previous commit. CVS

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 8 21:41:29 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Use BOOT_FLAG() to recognize standard boot options. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-08 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Oct 8 21:41:29 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Use BOOT_FLAG() to recognize standard boot options. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Oct 4 09:39:18 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Add a KASSERT To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/aarch64/aarch64/cpu.c Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-10-04 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Oct 4 09:39:18 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Add a KASSERT To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/aarch64/aarch64/cpu.c Please note that diffs

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 30 21:19:16 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf locore.S pmap.c Log Message: Ensure TCR_EPD0 is set on entry to pmap_activate and ensure it is set as early as possible for APs. To generate

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-30 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 30 21:19:16 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf locore.S pmap.c Log Message: Ensure TCR_EPD0 is set on entry to pmap_activate and ensure it is set as early as possible for APs. To generate

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 27 17:51:15 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: syscall.c Log Message: remove unused code. The syscall for 32bit uses aarch32_syscall.c, so there is no need to make syscall.c support it. To generate a

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 27 17:51:15 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: syscall.c Log Message: remove unused code. The syscall for 32bit uses aarch32_syscall.c, so there is no need to make syscall.c support it. To generate a

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 27 17:40:39 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: linux_syscall.c syscall.c Log Message: linux syscall should not break x1 register To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 27 17:40:39 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: linux_syscall.c syscall.c Log Message: linux syscall should not break x1 register To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 27 17:37:59 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: syscall.c Log Message: In order to prevent uninitialized values from being reflected in the registers after syscall, rval[] must be initialized. To

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-27 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 27 17:37:59 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: syscall.c Log Message: In order to prevent uninitialized values from being reflected in the registers after syscall, rval[] must be initialized. To

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 26 09:58:13 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Use UVMHIST_CALLARGS To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/arch/aarch64/aarch64/pmap.c Please note

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 26 09:58:13 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Use UVMHIST_CALLARGS To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/arch/aarch64/aarch64/pmap.c Please note

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 26 08:04:35 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: '\n' is not required in KASSERTMSG either. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 26 08:04:35 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: '\n' is not required in KASSERTMSG either. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 26 08:02:48 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: "\n" is not required in KERNHIST To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/arch/aarch64/aarch64/pmap.c

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-26 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 26 08:02:48 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: "\n" is not required in KERNHIST To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/arch/aarch64/aarch64/pmap.c

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-23 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 23 15:19:03 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: core_machdep.c cpu_machdep.c exec_machdep.c netbsd32_machdep.c process_machdep.c sig_machdep.c syscall.c Log Message: use

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-23 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 23 15:19:03 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: core_machdep.c cpu_machdep.c exec_machdep.c netbsd32_machdep.c process_machdep.c sig_machdep.c syscall.c Log Message: use

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 15 07:49:54 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Use __SHIFTIN. Same code before and after. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 15 07:49:54 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Use __SHIFTIN. Same code before and after. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 12 08:23:57 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: pmap_page_remove: simply and reduce the code size slightly. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 12 08:23:57 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: pmap_page_remove: simply and reduce the code size slightly. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 9 08:12:27 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: In pmap_icache_sync_range change for (...) { ... if (condition) { // do stuff } } to for

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 9 08:12:27 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: In pmap_icache_sync_range change for (...) { ... if (condition) { // do stuff } } to for

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 9 08:09:44 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/arch/aarch64/aarch64/pmap.c Please note that diffs are

CVS commit: src/sys/arch/aarch64/aarch64

2021-09-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Sep 9 08:09:44 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: KNF To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/arch/aarch64/aarch64/pmap.c Please note that diffs are

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:54:40 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: vm_machdep.c Log Message: Interrupts may not be enabled yet when cpu_lwp_fork is called during boot, so remove incorrect KASSERT. To generate a diff

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:54:40 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: vm_machdep.c Log Message: Interrupts may not be enabled yet when cpu_lwp_fork is called during boot, so remove incorrect KASSERT. To generate a diff

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:31:20 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore_el2.S Log Message: If we start in EL2 mode and the CPU supports EL2 host mode, don't bother dropping to EL1 and just run the kernel in EL2

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:31:20 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore_el2.S Log Message: If we start in EL2 mode and the CPU supports EL2 host mode, don't bother dropping to EL1 and just run the kernel in EL2

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:28:50 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: Ensure that all memory accesses prior to executing WFI have been completed by adding a DSB SY before stopping execution and

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:28:50 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: Ensure that all memory accesses prior to executing WFI have been completed by adding a DSB SY before stopping execution and

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:24:39 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Add instruction barrier after write to mair_el1 To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/sys/arch/aarch64/aarch64

2021-08-30 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Aug 30 22:24:39 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Add instruction barrier after write to mair_el1 To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

Re: CVS commit: src/sys/arch/aarch64/aarch64

2021-02-23 Thread Jared McNeill
On Mon, 22 Feb 2021, Ryo Shimizu wrote: I think this condition is not necessary since cpu_idle() is just called from idle_loop(), and ci_intr_depth is always zero at this time. Ah yes, my mistake! Please feel free to revert this commit as part of your proposed change.

Re: CVS commit: src/sys/arch/aarch64/aarch64

2021-02-22 Thread Jason Thorpe
> On Feb 22, 2021, at 11:49 AM, Ryo Shimizu wrote: > > Ah, You are quite right! > idle/# lwp is provided and assigned for each CPU, so curcpu() obtained from > idle lwp was always the same. > So, there's no need to move curcpu() to after DISABLE_INTERRUPT. Please make sure to add a comment

Re: CVS commit: src/sys/arch/aarch64/aarch64

2021-02-22 Thread Ryo Shimizu
>> In addition, because of the possibility of kpreemption (but aarch64 has = >no KPREEMPT yet), >> the acquisition of curcpu() is moved to after DISABLE_INTERRUPT and got = >the following. >> >[snip] > > >> >> Is this ok? >> > >Looks good - I wonder if the fact that curcpu is an invariant for

Re: CVS commit: src/sys/arch/aarch64/aarch64

2021-02-22 Thread Nick Hudson
On 22/02/2021 10:40, Ryo Shimizu wrote: Module Name:src Committed By: jmcneill Date: Sun Feb 21 23:37:10 UTC 2021 Modified Files: src/sys/arch/aarch64/aarch64: idle_machdep.S Log Message: When waking from cpu_idle(), only call dosoftints if ci_intr_depth == 0 To

Re: CVS commit: src/sys/arch/aarch64/aarch64

2021-02-22 Thread Ryo Shimizu
>Module Name: src >Committed By: jmcneill >Date: Sun Feb 21 23:37:10 UTC 2021 > >Modified Files: > src/sys/arch/aarch64/aarch64: idle_machdep.S > >Log Message: >When waking from cpu_idle(), only call dosoftints if ci_intr_depth == 0 > > >To generate a diff of this commit: >cvs

re: CVS commit: src/sys/arch/aarch64/aarch64

2021-01-17 Thread matthew green
> Log Message: > Fix build as crash(8); Protect db_md_meminfo_cmd() by defined(_KERNEL). thanks. surprised i never saw this as the change was in a tree for a few weeks, but i guess i was mostly doing kernels in that tree not full builds.. .mrg.

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-10-13 Thread Martin Husemann
On Tue, Oct 13, 2020 at 12:57:44PM +0200, Kamil Rytarowski wrote: > > Log Message: > > BE32 binaries are no longer supported for ARMv7 and later, and > > therefore for aarch64eb. > > > > Reject them with ENOEXEC, rather than causing illegal instruction > > exceptions due to unexpected binary

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-10-13 Thread Rin Okuyama
On 2020/10/13 19:57, Kamil Rytarowski wrote: On 13.10.2020 09:04, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Tue Oct 13 07:04:49 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c Log Message: BE32 binaries are no longer supported for

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-10-13 Thread Kamil Rytarowski
On 13.10.2020 09:04, Rin Okuyama wrote: > Module Name: src > Committed By: rin > Date: Tue Oct 13 07:04:49 UTC 2020 > > Modified Files: > src/sys/arch/aarch64/aarch64: exec_machdep.c > > Log Message: > BE32 binaries are no longer supported for ARMv7 and later, and > therefore for

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-10-06 Thread Rin Okuyama
It works fine now. Thank you for quick fix!! rin On 2020/10/06 15:28, Nick Hudson wrote: On 06/10/2020 01:54, Rin Okuyama wrote: Hi, On 2020/10/01 1:35, Nick Hudson wrote: Module Name:    src Committed By:    skrll Date:    Wed Sep 30 16:35:49 UTC 2020 Modified Files:

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-10-06 Thread Nick Hudson
On 06/10/2020 01:54, Rin Okuyama wrote: Hi, On 2020/10/01 1:35, Nick Hudson wrote: Module Name:    src Committed By:    skrll Date:    Wed Sep 30 16:35:49 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: cpuswitch.S vectors.S Log Message: Move el[01]_trap_exit into vectors.S

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-10-05 Thread Rin Okuyama
Hi, On 2020/10/01 1:35, Nick Hudson wrote: Module Name:src Committed By: skrll Date: Wed Sep 30 16:35:49 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: cpuswitch.S vectors.S Log Message: Move el[01]_trap_exit into vectors.S where the callers exist To generate

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-09-24 Thread Ryo Shimizu
>On 24/09/2020 10:04, Ryo Shimizu wrote: >> Module Name: src >> Committed By:ryo >> Date:Thu Sep 24 09:04:38 UTC 2020 >> >> Modified Files: >> src/sys/arch/aarch64/aarch64: bus_space_asm_generic.S >> >> Log Message: >> fix bugs in *_bs_rm_8_swap(). it was only

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-09-24 Thread Nick Hudson
On 24/09/2020 10:04, Ryo Shimizu wrote: Module Name:src Committed By: ryo Date: Thu Sep 24 09:04:38 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: bus_space_asm_generic.S Log Message: fix bugs in *_bs_rm_8_swap(). it was only reading 4 bytes, not 8 bytes. I

Re: CVS commit: src/sys/arch/aarch64/aarch64

2020-07-02 Thread Jared McNeill
I think this will have issues on some big.LITTLE configurations like Rockchip RK3399. In the RK3399 case cpu[0-3] is VIPT I$ and cpu[4-5] is PIPT I$. Boot order of secondaries is not guaranteed so it is possible to get different values of aarch64_cache_vindexsize from one boot to the next.

CVS commit: src/sys/arch/aarch64/aarch64

2019-11-24 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 11:45:00 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c Log Message: part of PR port-arm/54702 Make sure that md_march32 and ep_machine_arch have same size. XXX pullup to netbsd-9 To generate a

CVS commit: src/sys/arch/aarch64/aarch64

2019-11-24 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 11:45:00 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c Log Message: part of PR port-arm/54702 Make sure that md_march32 and ep_machine_arch have same size. XXX pullup to netbsd-9 To generate a

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-28 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Oct 28 18:15:26 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: db_disasm.c Log Message: Format string annotation for strdisasm_printf To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-28 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Oct 28 18:15:26 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: db_disasm.c Log Message: Format string annotation for strdisasm_printf To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 20 14:03:51 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c locore.S Log Message: Use separate cacheline aligned arrays for mbox and hatched as before. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 20 14:03:51 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c locore.S Log Message: Use separate cacheline aligned arrays for mbox and hatched as before. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 20 12:25:43 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Avoid overlap between BP and last AP stack. AP stacks are now in order of increasing address order. Spotted by and idea from

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-20 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Oct 20 12:25:43 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Avoid overlap between BP and last AP stack. AP stacks are now in order of increasing address order. Spotted by and idea from

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 20 11:17:42 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Invalidate dcache before polling AP hatched status To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-20 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Oct 20 11:17:42 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Invalidate dcache before polling AP hatched status To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-14 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 22:53:05 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Remove the A72 errata #859971 detection, it causes an illegal instruction on AWS A1 (virtualized) To generate a diff of this

CVS commit: src/sys/arch/aarch64/aarch64

2019-10-14 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Mon Oct 14 22:53:05 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Remove the A72 errata #859971 detection, it causes an illegal instruction on AWS A1 (virtualized) To generate a diff of this

CVS commit: src/sys/arch/aarch64/aarch64

2019-09-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 29 08:33:20 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Typo in comment To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/aarch64/aarch64/locore.S Please note

CVS commit: src/sys/arch/aarch64/aarch64

2019-09-29 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 29 08:33:20 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Typo in comment To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/aarch64/aarch64/locore.S Please note

CVS commit: src/sys/arch/aarch64/aarch64

2019-09-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Sep 28 07:06:50 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: trap.c Log Message: newline after break To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/aarch64/aarch64/trap.c Please note

  1   2   >