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

2020-10-01 Thread Ryo Shimizu
>> Index: src/sys/arch/aarch64/include/cpu.h >> diff -u src/sys/arch/aarch64/include/cpu.h:1.27 src/sys/arch/aarch64/inc= >lude/cpu.h:1.28 >> --- src/sys/arch/aarch64/include/cpu.h:1.27 Mon Sep 14 10:06:35 2020 >> +++ src/sys/arch/aarch64/include/cpu.h Thu Oct 1 06:40:16 2020 >> @@ -1,4

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

2020-10-01 Thread Nick Hudson
On 01/10/2020 07:40, Ryo Shimizu wrote: Module Name:src Committed By: ryo Date: Thu Oct 1 06:40:16 UTC 2020 Modified Files: src/sys/arch/aarch64/aarch64: procfs_machdep.c src/sys/arch/aarch64/include: cpu.h Log Message: fix build error with LLVM [...] Index:

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.

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

2020-05-23 Thread Ryo Shimizu
>> Has any consideration be given to perhaps creating a new MACHINE_ARCH for >> this, or somehow otherwise decorating the ELF files to indicate their >> exec-ability? > >I am under the impression that PAC was designed to be forewards >compatible, so older CPUs can execute code with this

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

2020-05-23 Thread maya
On Sat, May 23, 2020 at 02:13:46PM -0700, Jason Thorpe wrote: > > > On May 23, 2020, at 11:08 AM, Ryo Shimizu wrote: > > > > Module Name:src > > Committed By: ryo > > Date: Sat May 23 18:08:59 UTC 2020 > > > > Modified Files: > > src/sys/arch/aarch64/aarch64:

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

2020-05-23 Thread Jason Thorpe
> On May 23, 2020, at 11:08 AM, Ryo Shimizu wrote: > > Module Name: src > Committed By: ryo > Date: Sat May 23 18:08:59 UTC 2020 > > Modified Files: > src/sys/arch/aarch64/aarch64: cpufunc.c cpuswitch.S exec_machdep.c > genassym.cf netbsd32_machdep.c vectors.S

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

2020-01-30 Thread Maxime Villard
Le 28/01/2020 à 19:39, Nick Hudson a écrit : > On 28/01/2020 17:47, Maxime Villard wrote: >> @@ -460,8 +460,7 @@ cpu_setup_id(struct cpu_info *ci) >> >>   id->ac_aa64mmfr0 = reg_id_aa64mmfr0_el1_read(); >>   id->ac_aa64mmfr1 = reg_id_aa64mmfr1_el1_read(); >> -    /* Only in ARMv8.2. */ >>

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

2020-01-30 Thread Nick Hudson
On 30/01/2020 10:04, Maxime Villard wrote: Le 28/01/2020 à 19:39, Nick Hudson a écrit : On 28/01/2020 17:47, Maxime Villard wrote: @@ -460,8 +460,7 @@ cpu_setup_id(struct cpu_info *ci)   id->ac_aa64mmfr0 = reg_id_aa64mmfr0_el1_read();   id->ac_aa64mmfr1 =

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

2020-01-28 Thread Nick Hudson
On 28/01/2020 17:47, Maxime Villard wrote: @@ -460,8 +460,7 @@ cpu_setup_id(struct cpu_info *ci) id->ac_aa64mmfr0 = reg_id_aa64mmfr0_el1_read(); id->ac_aa64mmfr1 = reg_id_aa64mmfr1_el1_read(); - /* Only in ARMv8.2. */ - id->ac_aa64mmfr2 = 0 /*

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/include

2019-11-24 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 11:28:40 UTC 2019 Modified Files: src/sys/arch/aarch64/include: proc.h Log Message: part of PR port-arm/54702 Having md_march32 unconditionally in struct mdproc, in order to make libkvm happy. XXX pullup to netbsd-9

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

2019-11-24 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 11:28:40 UTC 2019 Modified Files: src/sys/arch/aarch64/include: proc.h Log Message: part of PR port-arm/54702 Having md_march32 unconditionally in struct mdproc, in order to make libkvm happy. XXX pullup to netbsd-9

CVS commit: src/sys/arch/aarch64

2019-11-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 04:08:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c netbsd32_machdep.c trap.c src/sys/arch/aarch64/include: netbsd32_machdep.h param.h proc.h Log Message: PR port-arm/54702 Add support

CVS commit: src/sys/arch/aarch64

2019-11-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 24 04:08:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: exec_machdep.c netbsd32_machdep.c trap.c src/sys/arch/aarch64/include: netbsd32_machdep.h param.h proc.h Log Message: PR port-arm/54702 Add support

CVS commit: src/sys/arch/aarch64

2019-11-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Nov 22 05:21:19 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c cpufunc.c locore.S src/sys/arch/aarch64/include: cpufunc.h Log Message: Make cache operations available early. To generate a diff of this

CVS commit: src/sys/arch/aarch64

2019-11-21 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Nov 22 05:21:19 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c cpufunc.c locore.S src/sys/arch/aarch64/include: cpufunc.h Log Message: Make cache operations available early. To generate a diff of this

CVS commit: src/sys/arch/aarch64

2019-10-29 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Oct 29 20:01:22 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: Define PMAP_NEED_PROCWR, providing strategically placed i-cache synchronization where

CVS commit: src/sys/arch/aarch64

2019-10-29 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Oct 29 20:01:22 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: Define PMAP_NEED_PROCWR, providing strategically placed i-cache synchronization where

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

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

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:32 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/aarch64/aarch64/aarch64_machdep.c

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:32 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/aarch64/aarch64/aarch64_machdep.c

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

2019-09-22 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 22 13:57:55 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Disable translation table walks using TTBR0 while changing its value and when deactivating a pmap. Fixes stability issues on Ampere

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

2019-09-22 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 22 13:57:55 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Disable translation table walks using TTBR0 while changing its value and when deactivating a pmap. Fixes stability issues on Ampere

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

2019-09-19 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Sep 20 05:35:27 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: ref/mod bit should be set according to 'flags' argument, not 'prot'. r1.44 was incomplete. To generate a diff of this commit: cvs

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

2019-09-19 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Sep 20 05:35:27 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: ref/mod bit should be set according to 'flags' argument, not 'prot'. r1.44 was incomplete. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/aarch64

2019-09-15 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Sep 15 15:16:30 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/aarch64/include: armreg.h Log Message: report A72 errata #859971 workaround status during boot To generate a diff of this

CVS commit: src/sys/arch/aarch64

2019-09-15 Thread Tobias Nygren
Module Name:src Committed By: tnn Date: Sun Sep 15 15:16:30 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c src/sys/arch/aarch64/include: armreg.h Log Message: report A72 errata #859971 workaround status during boot To generate a diff of this

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

2019-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 15 07:13:37 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpuswitch.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/aarch64/cpuswitch.S

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

2019-09-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sun Sep 15 07:13:37 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpuswitch.S Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/aarch64/aarch64/cpuswitch.S

CVS commit: src/sys/arch/aarch64

2019-09-13 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Sep 13 18:07:30 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: cpufunc.h Log Message: In pmap_devmap_bootstrap(), cpu_earlydevice_va_p() must not return true until *all*

CVS commit: src/sys/arch/aarch64

2019-09-13 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Fri Sep 13 18:07:30 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: cpufunc.h Log Message: In pmap_devmap_bootstrap(), cpu_earlydevice_va_p() must not return true until *all*

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

2019-09-12 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Sep 12 09:05:28 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Do not attempt to change coherency_unit at runtime. Instead, if the required coherency unit is greater than COHERENCY_UNIT in a

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

2019-09-12 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Thu Sep 12 09:05:28 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc.c Log Message: Do not attempt to change coherency_unit at runtime. Instead, if the required coherency unit is greater than COHERENCY_UNIT in a

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

2019-09-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 06:12:56 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc_asm_armv8.S Log Message: even if "no options MULTIPROCESSOR" requires isb after tlbi op. since it should be harmless, dsb is also added. fixed a

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

2019-09-12 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Thu Sep 12 06:12:56 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpufunc_asm_armv8.S Log Message: even if "no options MULTIPROCESSOR" requires isb after tlbi op. since it should be harmless, dsb is also added. fixed a

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:23:31 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Define PRIxPTE To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/include/pte.h Please note that diffs

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:23:31 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Define PRIxPTE To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/aarch64/include/pte.h Please note that diffs

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:19:35 UTC 2019 Modified Files: src/sys/arch/aarch64/include: armreg.h pte.h Log Message: Move the TCR and TTBR defines into armreg.h where they below. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.26

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

2019-09-11 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Wed Sep 11 18:19:35 UTC 2019 Modified Files: src/sys/arch/aarch64/include: armreg.h pte.h Log Message: Move the TCR and TTBR defines into armreg.h where they below. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.26

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

2019-09-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Sep 11 11:43:15 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: - Fix TCR_TG0 field definitions to match Armv8 ARM - Rename TCR_IPS_64TB to TCR_IPS_16TB, add TCR_IPS_4PB - Whitespace fixes To

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

2019-09-11 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Sep 11 11:43:15 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: - Fix TCR_TG0 field definitions to match Armv8 ARM - Rename TCR_IPS_64TB to TCR_IPS_16TB, add TCR_IPS_4PB - Whitespace fixes To

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

2019-09-11 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Sep 11 08:15:48 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: used L3 even if L2 could cover the range. fix to use larger block if possible good enough. pointed out by jmcneill@. thanks.

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

2019-09-11 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Wed Sep 11 08:15:48 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: used L3 even if L2 could cover the range. fix to use larger block if possible good enough. pointed out by jmcneill@. thanks.

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

2019-09-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 9 17:02:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: use L1-L3 blocks/pages for KSEG mappings to fit dramblocks exactly. r1.29 and this changes avoid over cache prefetch problem

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

2019-09-09 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Mon Sep 9 17:02:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: use L1-L3 blocks/pages for KSEG mappings to fit dramblocks exactly. r1.29 and this changes avoid over cache prefetch problem

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

2019-09-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 8 12:17:23 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Map device memory for early console XN To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

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

2019-09-08 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Sun Sep 8 12:17:23 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: locore.S Log Message: Map device memory for early console XN To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 11:15:25 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf Log Message: add AARCH64_KSEG_MASK. pmap_page.S refer it. (but no functional changed) To generate a diff of this commit: cvs rdiff -u -r1.13

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 11:15:25 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: genassym.cf Log Message: add AARCH64_KSEG_MASK. pmap_page.S refer it. (but no functional changed) To generate a diff of this commit: cvs rdiff -u -r1.13

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 11:10:24 UTC 2019 Modified Files: src/sys/arch/aarch64/include: cpufunc.h Log Message: add checking status of MMU and devmap to make _platform_early_putchar() available at all times. To generate a diff of this commit:

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 11:10:24 UTC 2019 Modified Files: src/sys/arch/aarch64/include: cpufunc.h Log Message: add checking status of MMU and devmap to make _platform_early_putchar() available at all times. To generate a diff of this commit:

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 09:57:37 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: - remove incorrect KASSERT. mmap(2) with prot=PROT_WRITE calls pmap_enter(..., PROT_WRITE) internally. - fix to update page reference

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 09:57:37 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: - remove incorrect KASSERT. mmap(2) with prot=PROT_WRITE calls pmap_enter(..., PROT_WRITE) internally. - fix to update page reference

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 09:27:25 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: prevent switching to CPUs that are not responding to IPI_DDB. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 09:27:25 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: prevent switching to CPUs that are not responding to IPI_DDB. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 09:21:17 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: add "machine cpuinfo/a" to show cpuinfo[] of all cpus To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2019-09-07 Thread Ryo Shimizu
Module Name:src Committed By: ryo Date: Sat Sep 7 09:21:17 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: db_machdep.c Log Message: add "machine cpuinfo/a" to show cpuinfo[] of all cpus To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2019-09-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Sep 6 20:52:57 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Do not assume that DRAM is linear when creating KSEG mappings. Instead, create L2 blocks to cover all ranges specified in

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

2019-09-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Fri Sep 6 20:52:57 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: aarch64_machdep.c Log Message: Do not assume that DRAM is linear when creating KSEG mappings. Instead, create L2 blocks to cover all ranges specified in

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

2019-08-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Aug 15 10:24:26 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Make pmap_db_pte_print more terse so it's quicker on serial consoles To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2019-08-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Aug 15 10:24:26 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c Log Message: Make pmap_db_pte_print more terse so it's quicker on serial consoles To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2019-08-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Aug 15 09:07:34 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Indent the field value defines. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/include/pte.h

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

2019-08-15 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Aug 15 09:07:34 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Indent the field value defines. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/aarch64/include/pte.h

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

2019-08-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Aug 13 08:27:42 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Add DBM To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/aarch64/include/pte.h Please note that diffs are not

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

2019-08-13 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Aug 13 08:27:42 UTC 2019 Modified Files: src/sys/arch/aarch64/include: pte.h Log Message: Add DBM To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/aarch64/include/pte.h Please note that diffs are not

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

2019-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Aug 12 15:47:02 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: efi_machdep.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/aarch64/aarch64/efi_machdep.c

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

2019-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Aug 12 15:47:02 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: efi_machdep.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/aarch64/aarch64/efi_machdep.c

CVS commit: src/sys/arch/aarch64

2019-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Aug 12 10:28:04 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: Use PMAP_DEV in DEVMAP_ENTRY rather than pmap_map_chunk. It's clearer and means

CVS commit: src/sys/arch/aarch64

2019-08-12 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Mon Aug 12 10:28:04 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmap.c src/sys/arch/aarch64/include: pmap.h Log Message: Use PMAP_DEV in DEVMAP_ENTRY rather than pmap_map_chunk. It's clearer and means

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

2019-08-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 10 16:46:07 UTC 2019 Modified Files: src/sys/arch/aarch64/include: bus_funcs.h Log Message: Really provide bus_funcs.h To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/include/bus_funcs.h

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

2019-08-10 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Sat Aug 10 16:46:07 UTC 2019 Modified Files: src/sys/arch/aarch64/include: bus_funcs.h Log Message: Really provide bus_funcs.h To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/aarch64/include/bus_funcs.h

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

2019-08-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 7 09:49:40 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: trap.c Log Message: trap_el0_32sync: add missing break to ESR_EC_FP_TRAP_A32 case To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2019-08-07 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 7 09:49:40 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: trap.c Log Message: trap_el0_32sync: add missing break to ESR_EC_FP_TRAP_A32 case To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2019-08-05 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Aug 5 16:24:48 UTC 2019 Modified Files: src/sys/arch/aarch64/include: asm.h Log Message: Don't define register replacements when targetting 32bit ARM. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2019-08-05 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Aug 5 16:24:48 UTC 2019 Modified Files: src/sys/arch/aarch64/include: asm.h Log Message: Don't define register replacements when targetting 32bit ARM. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2019-07-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jul 18 06:47:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmapboot.c Log Message: Simplify conditionals when clearing the CONTIG flag in pmapboot_enter and update the comments to be a little clearer. To generate

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

2019-07-18 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jul 18 06:47:36 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: pmapboot.c Log Message: Simplify conditionals when clearing the CONTIG flag in pmapboot_enter and update the comments to be a little clearer. To generate

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

2019-07-16 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Tue Jul 16 20:29:54 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: cpu.c Log Message: Need CPU_PARTMASK for eMAG CPU ID To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/aarch64/aarch64/cpu.c

  1   2   >