CVS commit: src/sys/arch/amd64/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:02:00 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Use bool for "write" in ptrace_machdep_dorequest() for clarity. No functional changes. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-11-27 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 27 09:02:00 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Use bool for "write" in ptrace_machdep_dorequest() for clarity. No functional changes. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 20 10:57:08 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Fix netbsd32_process_write_dbregs() for amd64: - Zero-clear regs64 so that random values are not written into the preserved

CVS commit: src/sys/arch/amd64/amd64

2019-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 15 09:50:01 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpu_in_cksum.S Log Message: Since cpu_in_cksum.S can be built outside of the kernel, add an ugly #ifdef _KERNEL for kMSan. To generate a diff of this commit:

CVS commit: src/sys/arch/amd64/amd64

2019-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 15 09:50:01 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpu_in_cksum.S Log Message: Since cpu_in_cksum.S can be built outside of the kernel, add an ugly #ifdef _KERNEL for kMSan. To generate a diff of this commit:

CVS commit: src/sys/arch/amd64/amd64

2019-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 26 01:39:22 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: - promote regs from int to u_int in comparisons with unsigned constants - cast -1 to __greg32_t which is unsigned and the

CVS commit: src/sys/arch/amd64/amd64

2019-09-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Sep 26 01:39:22 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: - promote regs from int to u_int in comparisons with unsigned constants - cast -1 to __greg32_t which is unsigned and the

CVS commit: src/sys/arch/amd64/amd64

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 20:18:27 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Avoid VLA to appease stack-protector This has been reproduced with -O0 and -fsanitize=undefined. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 20:18:27 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Avoid VLA to appease stack-protector This has been reproduced with -O0 and -fsanitize=undefined. To generate a diff of this commit: cvs

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

2019-09-05 Thread Kamil Rytarowski
On 05.09.2019 14:57, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Thu Sep 5 12:57:30 UTC 2019 > > Modified Files: > src/sys/arch/amd64/amd64: lock_stubs.S > > Log Message: > Remove unused, and style. > > > To generate a diff of this commit: > cvs rdiff

CVS commit: src/sys/arch/amd64/amd64

2019-09-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 5 12:57:30 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: lock_stubs.S Log Message: Remove unused, and style. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/amd64/lock_stubs.S

CVS commit: src/sys/arch/amd64/amd64

2019-09-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 5 12:57:30 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: lock_stubs.S Log Message: Remove unused, and style. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/amd64/lock_stubs.S

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

2019-08-24 Thread Maxime Villard
Le 21/08/2019 à 23:47, matthew green a écrit : "Maxime Villard" writes: Module Name:src Committed By: maxv Date: Wed Aug 21 16:35:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Switch from printf to panic. These messages were notorious for

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

2019-08-21 Thread matthew green
"Maxime Villard" writes: > Module Name: src > Committed By: maxv > Date: Wed Aug 21 16:35:10 UTC 2019 > > Modified Files: > src/sys/arch/amd64/amd64: locore.S > > Log Message: > Switch from printf to panic. These messages were notorious for being > unreadable, and at least a clean

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:14:05 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Style and cleanup. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/arch/amd64/amd64/trap.c Please note that diffs

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:14:05 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Style and cleanup. To generate a diff of this commit: cvs rdiff -u -r1.122 -r1.123 src/sys/arch/amd64/amd64/trap.c Please note that diffs

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:06:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Remove the single-step check, it is wrong. There is no way we could single-step on these entry points. If there were, we would be running

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 17:06:36 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Remove the single-step check, it is wrong. There is no way we could single-step on these entry points. If there were, we would be running

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 16:35:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Switch from printf to panic. These messages were notorious for being unreadable, and at least a clean panic allows the user to inspect the

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 16:35:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Switch from printf to panic. These messages were notorious for being unreadable, and at least a clean panic allows the user to inspect the

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:46:56 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Style and remove dead stuff. To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:46:56 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Style and remove dead stuff. To generate a diff of this commit: cvs rdiff -u -r1.126 -r1.127

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:33:12 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on whether the proc uses a user-set LDT. Same as

CVS commit: src/sys/arch/amd64/amd64

2019-08-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Aug 21 12:33:12 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: Don't depend on #ifdef USER_LDT in cpu_mcontext32_validate(), but rather on whether the proc uses a user-set LDT. Same as

CVS commit: src/sys/arch/amd64/amd64

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 01:34:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/amd64 Always use copyin(9) for reading user memory. This fixes

CVS commit: src/sys/arch/amd64/amd64

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 01:34:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/amd64 Always use copyin(9) for reading user memory. This fixes

CVS commit: src/sys/arch/amd64/amd64

2019-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 24 16:36:48 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Remove XENPV-specific %ss/%cs handling, it doens't seem to be needed with newer hypervisors (tested with 4.6 and

CVS commit: src/sys/arch/amd64/amd64

2019-07-24 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Wed Jul 24 16:36:48 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: Remove XENPV-specific %ss/%cs handling, it doens't seem to be needed with newer hypervisors (tested with 4.6 and

CVS commit: src/sys/arch/amd64/amd64

2019-07-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 20 18:25:11 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c Log Message: Restore the ability to debug a 32 bit process from a 64 bit debugger: - add a function to validate a 64

CVS commit: src/sys/arch/amd64/amd64

2019-07-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jul 20 18:25:11 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c process_machdep.c Log Message: Restore the ability to debug a 32 bit process from a 64 bit debugger: - add a function to validate a 64

CVS commit: src/sys/arch/amd64/amd64

2019-07-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 13 17:03:01 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Use common code for SMEP/SMAP panic to print more information and allow debugging. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/amd64/amd64

2019-07-13 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sat Jul 13 17:03:01 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Use common code for SMEP/SMAP panic to print more information and allow debugging. To generate a diff of this commit: cvs rdiff -u

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

2019-06-28 Thread Christos Zoulas
In article , Maxime Villard wrote: > >This isn't correct, with USER_LDT the 32bit LWPs may have non-default segregs, >besides it is really dumb to mix 32 and 64bit code, part of the reasons why >I dropped the thing Yes, it is still missing the check that the compat_netbsd32 function had.

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

2019-06-27 Thread Maxime Villard
Le 27/06/2019 à 04:00, Christos Zoulas a écrit : Module Name:src Committed By: christos Date: Thu Jun 27 02:00:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Although this is correct, I will let maxv commit it. Still waiting. To generate

CVS commit: src/sys/arch/amd64/amd64

2019-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 27 02:00:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Although this is correct, I will let maxv commit it. Still waiting. To generate a diff of this commit: cvs rdiff -u -r1.333 -r1.334

CVS commit: src/sys/arch/amd64/amd64

2019-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 27 02:00:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Although this is correct, I will let maxv commit it. Still waiting. To generate a diff of this commit: cvs rdiff -u -r1.333 -r1.334

CVS commit: src/sys/arch/amd64/amd64

2019-06-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jun 27 01:59:30 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c process_machdep.c Log Message: don't cast void * To generate a diff of this commit: cvs rdiff -u -r1.332 -r1.333

CVS commit: src/sys/arch/amd64/amd64

2019-06-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 12 14:28:38 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Add missing address check. This broke things like: crash -w w /l ipsec_debug 1 with an invalid address, because it

CVS commit: src/sys/arch/amd64/amd64

2019-06-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Jun 12 14:28:38 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Add missing address check. This broke things like: crash -w w /l ipsec_debug 1 with an invalid address, because it

CVS commit: src/sys/arch/amd64/amd64

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 16:30:19 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: compat32: Implement PT_GETDBREGS and PT_SETDBREGS Uncomment and improve the implementation of compat32 support for

CVS commit: src/sys/arch/amd64/amd64

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 16:30:19 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: netbsd32_machdep.c Log Message: compat32: Implement PT_GETDBREGS and PT_SETDBREGS Uncomment and improve the implementation of compat32 support for

CVS commit: src/sys/arch/amd64/amd64

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:52:09 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Replace misaligned operations with memcpy() calls in kobj_machdep.c Detected with kUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 03:52:09 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: kobj_machdep.c Log Message: Replace misaligned operations with memcpy() calls in kobj_machdep.c Detected with kUBSan. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/amd64/amd64

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:58:58 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Set the symbol type for intrfastexit, so that tools like tprof can find the symbol name. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/amd64/amd64

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:58:58 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Set the symbol type for intrfastexit, so that tools like tprof can find the symbol name. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/amd64/amd64

2019-05-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 15 13:49:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: print also ksi_code. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/arch/amd64/amd64/trap.c Please note that

CVS commit: src/sys/arch/amd64/amd64

2019-05-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 15 13:49:10 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: print also ksi_code. To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/arch/amd64/amd64/trap.c Please note that

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

2018-04-23 Thread Joerg Sonnenberger
On Sun, Apr 22, 2018 at 09:09:40PM +0200, Maxime Villard wrote: > I recently told membership-exec that I would be less outspoken, and more > convivial, so here's a try: > > Le 22/04/2018 à 20:51, Joerg Sonnenberger a écrit : > > On Sun, Apr 22, 2018 at 12:36:36PM +0200, Maxime Villard wrote: > >

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

2018-04-22 Thread Maxime Villard
I recently told membership-exec that I would be less outspoken, and more convivial, so here's a try: Le 22/04/2018 à 20:51, Joerg Sonnenberger a écrit : On Sun, Apr 22, 2018 at 12:36:36PM +0200, Maxime Villard wrote: Where are they? I haven't been made aware of any issue related to SVS+clang.

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

2018-04-22 Thread Joerg Sonnenberger
On Sun, Apr 22, 2018 at 12:36:36PM +0200, Maxime Villard wrote: > Where are they? I haven't been made aware of any issue related to SVS+clang. Yes, I did make you aware that SVS killed VirtualBox. Joerg

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

2018-04-22 Thread Kamil Rytarowski
On 22.04.2018 12:36, Maxime Villard wrote: > Le 22/04/2018 à 12:32, Kamil Rytarowski a écrit : >> On 22.04.2018 07:46, Maxime Villard wrote: >>> Le 22/04/2018 à 01:25, Joerg Sonnenberger a écrit : Module Name:    src Committed By:    joerg Date:    Sat Apr 21 23:25:01 UTC 2018

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

2018-04-22 Thread Maxime Villard
Le 22/04/2018 à 12:32, Kamil Rytarowski a écrit : On 22.04.2018 07:46, Maxime Villard wrote: Le 22/04/2018 à 01:25, Joerg Sonnenberger a écrit : Module Name:src Committed By:joerg Date:Sat Apr 21 23:25:01 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: locore.S Log

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

2018-04-21 Thread Maxime Villard
Le 22/04/2018 à 01:25, Joerg Sonnenberger a écrit : Module Name:src Committed By: joerg Date: Sat Apr 21 23:25:01 UTC 2018 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Do not use movq for loading arbitrary 64bit immediates. The ISA restricts it to

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

2018-02-24 Thread Maxime Villard
Le 24/02/2018 à 17:30, Christos Zoulas a écrit : In article <18bc2a5a-f82d-91ba-5e52-b262c907b...@m00nbsd.net>, Maxime Villard wrote: Le 24/02/2018 à 11:54, Martin Husemann a écrit : On Sat, Feb 24, 2018 at 11:37:11AM +0100, Maxime Villard wrote: If the macro was defined

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

2018-02-24 Thread Christos Zoulas
In article <18bc2a5a-f82d-91ba-5e52-b262c907b...@m00nbsd.net>, Maxime Villard wrote: >Le 24/02/2018 à 11:54, Martin Husemann a écrit : >> On Sat, Feb 24, 2018 at 11:37:11AM +0100, Maxime Villard wrote: >>> If the macro was defined as #if, you would need to do something like:

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

2018-02-24 Thread Maxime Villard
Le 24/02/2018 à 11:54, Martin Husemann a écrit : On Sat, Feb 24, 2018 at 11:37:11AM +0100, Maxime Villard wrote: If the macro was defined as #if, you would need to do something like: SYSCALL_ENTRY(syscall) #define SYSCALL_ENTRY_SVS SYSCALL_ENTRY(syscall_svs)

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

2018-02-24 Thread Martin Husemann
On Sat, Feb 24, 2018 at 11:37:11AM +0100, Maxime Villard wrote: > If the macro was defined as #if, you would need to do something like: > > SYSCALL_ENTRY(syscall) > #define SYSCALL_ENTRY_SVS > SYSCALL_ENTRY(syscall_svs) > #undef SYSCALL_ENTRY_SVS > > Where SYSCALL_ENTRY

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

2018-02-24 Thread Maxime Villard
Le 24/02/2018 à 11:14, Martin Husemann a écrit : On Fri, Feb 23, 2018 at 08:09:09AM +0100, Maxime Villard wrote: ... And? There is only one place where we use .if instead of #if, because there is a good reason for doing so. Which reason is that? Well, look at the code. We want to control

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

2018-02-24 Thread Martin Husemann
On Fri, Feb 23, 2018 at 08:09:09AM +0100, Maxime Villard wrote: > ... And? There is only one place where we use .if instead of #if, because > there > is a good reason for doing so. Which reason is that? Martin

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

2018-02-24 Thread Maxime Villard
Le 22/02/2018 à 17:31, Christos Zoulas a écrit : In article <7f4de63c-e782-14e6-5554-9b9d23471...@m00nbsd.net>, Maxime Villard wrote: Le 22/02/2018 à 15:54, Christos Zoulas a écrit : In article <20180222140848.70e95f...@cvs.netbsd.org>, Martin Husemann

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

2018-02-23 Thread Christos Zoulas
On Feb 23, 8:09am, m...@m00nbsd.net (Maxime Villard) wrote: -- Subject: Re: CVS commit: src/sys/arch/amd64/amd64 | > The question is do we want to keep using both cpp and assembly macros. | | Why wouldn't we? I don't see the problem. Because it adds complexity. | ... And? There is only

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

2018-02-22 Thread Christos Zoulas
In article <7f4de63c-e782-14e6-5554-9b9d23471...@m00nbsd.net>, Maxime Villard wrote: >Le 22/02/2018 à 15:54, Christos Zoulas a écrit : >> In article <20180222140848.70e95f...@cvs.netbsd.org>, >> Martin Husemann wrote: >>> -=-=-=-=-=- >>> >>>

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

2018-02-22 Thread Maxime Villard
Le 22/02/2018 à 15:54, Christos Zoulas a écrit : In article <20180222140848.70e95f...@cvs.netbsd.org>, Martin Husemann wrote: -=-=-=-=-=- Module Name:src Committed By: martin Date: Thu Feb 22 14:08:48 UTC 2018 Modified Files:

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

2018-02-22 Thread Christos Zoulas
In article <20180222140848.70e95f...@cvs.netbsd.org>, Martin Husemann wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: martin >Date: Thu Feb 22 14:08:48 UTC 2018 > >Modified Files: > src/sys/arch/amd64/amd64: locore.S > >Log Message: >Protect

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

2017-03-25 Thread Maxime Villard
e 24/03/2017 à 21:32, co...@sdf.org a écrit : cool! I see in arch/i386/i386/locore.S that there is another call gate and there's: 1246 IDTVEC(osyscall) 1247 #ifndef XEN 1248 /* XXX we are in trouble! interrupts be off here. */ 1249 cli /* must be first

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

2017-03-24 Thread coypu
On Thu, Mar 23, 2017 at 05:25:51PM +, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Thu Mar 23 17:25:51 UTC 2017 > > Modified Files: > src/sys/arch/amd64/amd64: locore.S machdep.c trap.c > > Log Message: > Remove this call gate on amd64, it is useless

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

2016-05-29 Thread Maxime Villard
Le 29/05/2016 à 11:04, Maxime Villard a écrit : Module Name:src Committed By: maxv Date: Sun May 29 09:04:20 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Revert rev1.94. It apparently raises a page fault from SMEP. I need to investigate the

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

2016-05-08 Thread Maxime Villard
Le 07/05/2016 23:13, matthew green a écrit : Joerg Sonnenberger writes: On Sat, May 07, 2016 at 11:49:21AM +, Maxime Villard wrote: Module Name:src Committed By: maxv Date: Sat May 7 11:49:21 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log

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

2016-05-07 Thread matthew green
Joerg Sonnenberger writes: > On Sat, May 07, 2016 at 11:49:21AM +, Maxime Villard wrote: > > Module Name:src > > Committed By: maxv > > Date: Sat May 7 11:49:21 UTC 2016 > > > > Modified Files: > > src/sys/arch/amd64/amd64: locore.S > > > > Log Message: > >

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

2015-07-07 Thread David Laight
On Wed, Jul 01, 2015 at 02:04:43AM +, Christos Zoulas wrote: In article 20150630233112.ga8...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Tue, Jun 30, 2015 at 05:08:24PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date:

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

2015-06-30 Thread Christos Zoulas
In article 20150630233112.ga8...@britannica.bec.de, Joerg Sonnenberger jo...@britannica.bec.de wrote: On Tue, Jun 30, 2015 at 05:08:24PM -0400, Christos Zoulas wrote: Module Name: src Committed By:christos Date:Tue Jun 30 21:08:24 UTC 2015 Modified Files:

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

2015-06-30 Thread Joerg Sonnenberger
On Tue, Jun 30, 2015 at 05:08:24PM -0400, Christos Zoulas wrote: Module Name: src Committed By: christos Date: Tue Jun 30 21:08:24 UTC 2015 Modified Files: src/sys/arch/amd64/amd64: cpu_in_cksum.S Log Message: handle PIC compilation (if we are building a PIE system; this

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

2014-05-12 Thread Joerg Sonnenberger
On Mon, May 12, 2014 at 01:49:24PM +, Masao Uebayashi wrote: Module Name: src Committed By: uebayasi Date: Mon May 12 13:49:24 UTC 2014 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Don't reserve space (128) on signal stack for unknown reasons; the

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

2014-05-12 Thread Jonathan A. Kollasch
On Mon, May 12, 2014 at 07:05:29PM +0200, Joerg Sonnenberger wrote: On Mon, May 12, 2014 at 01:49:24PM +, Masao Uebayashi wrote: Module Name:src Committed By: uebayasi Date: Mon May 12 13:49:24 UTC 2014 Modified Files: src/sys/arch/amd64/amd64:

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

2014-05-12 Thread Masao Uebayashi
On Tue, May 13, 2014 at 2:28 AM, Jonathan A. Kollasch jakll...@kollasch.net wrote: On Mon, May 12, 2014 at 07:05:29PM +0200, Joerg Sonnenberger wrote: On Mon, May 12, 2014 at 01:49:24PM +, Masao Uebayashi wrote: Module Name:src Committed By: uebayasi Date:

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

2012-04-21 Thread Paul Goyette
I just tested with a new updated kernel. It no longer crashes. Instead, it reports an expected failure: x86 architecture does not correctly report the address where the unaligned access occurred: /build/netbsd-local/src/tests/lib/libc/gen/t_siginfo.c:427:

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

2012-04-21 Thread Jean-Yves Migeon
Le 21/04/12 23:25, Christos Zoulas a écrit : In article4f930a8c.6040...@free.fr, Jean-Yves Migeonjeanyves.mig...@free.fr wrote: Le 21/04/12 20:52, Christos Zoulas a écrit : Module Name:src Committed By: christos Date: Sat Apr 21 18:52:37 UTC 2012 Modified Files:

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

2012-04-21 Thread Christos Zoulas
On Apr 22, 12:00am, jeanyves.mig...@free.fr (Jean-Yves Migeon) wrote: -- Subject: Re: CVS commit: src/sys/arch/amd64/amd64 | It's the other way around; the bug was rather harmless in VMs (kills the | process with a SIGILL), while it force-reboot the host on a native platform. I had the real

CVS commit: src/sys/arch/amd64/amd64

2010-02-22 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Tue Feb 23 00:23:36 UTC 2010 Modified Files: src/sys/arch/amd64/amd64: vector.S Log Message: include opt_xen.h To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/amd64/vector.S Please note that

CVS commit: src/sys/arch/amd64/amd64

2010-02-22 Thread Christoph Egger
Module Name:src Committed By: cegger Date: Tue Feb 23 00:23:36 UTC 2010 Modified Files: src/sys/arch/amd64/amd64: vector.S Log Message: include opt_xen.h To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sys/arch/amd64/amd64/vector.S Please note that

CVS commit: src/sys/arch/amd64/amd64

2010-01-18 Thread Nicolas Joly
Module Name:src Committed By: njoly Date: Mon Jan 18 21:55:40 UTC 2010 Modified Files: src/sys/arch/amd64/amd64: procfs_machdep.c Log Message: Do not check more than 32 bits against ci_feature_flags, to avoid printing bogus data on /proc/cpuinfo flags line. To generate

CVS commit: src/sys/arch/amd64/amd64

2009-12-30 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Thu Dec 31 01:11:28 UTC 2009 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Use banner() instead of amd64's custom use of printf's for copyright notice and total/available memory. To generate a diff of this