CVS commit: src/sys/arch/x86/x86

2017-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 31 10:35:58 UTC 2017 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Remove comments that are more misleading than anything else. While here make sure we zero out the FPU area entirely, and not just its legacy

CVS commit: src/sys/arch/x86/x86

2017-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 31 10:35:58 UTC 2017 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Remove comments that are more misleading than anything else. While here make sure we zero out the FPU area entirely, and not just its legacy

CVS commit: src/sys/arch/x86/x86

2017-10-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Oct 27 23:22:01 UTC 2017 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Add comment explaining why membar_producer is not sfence. On x86, ordinary non-temporal stores are always issued in program order to main

CVS commit: src/sys/arch/x86/x86

2017-10-27 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Oct 27 23:22:01 UTC 2017 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Add comment explaining why membar_producer is not sfence. On x86, ordinary non-temporal stores are always issued in program order to main

CVS commit: src/sys/arch/x86/x86

2017-10-21 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Oct 22 01:29:26 UTC 2017 Modified Files: src/sys/arch/x86/x86: efi.c x86_machdep.c Log Message: Add sysctl machdep.bootmethod either "UEFI" or "BIOS" to mimic freebsd To generate a diff of this commit: cvs rdiff -u -r1.13

CVS commit: src/sys/arch/x86/x86

2017-10-21 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Oct 22 01:29:26 UTC 2017 Modified Files: src/sys/arch/x86/x86: efi.c x86_machdep.c Log Message: Add sysctl machdep.bootmethod either "UEFI" or "BIOS" to mimic freebsd To generate a diff of this commit: cvs rdiff -u -r1.13

CVS commit: src/sys/arch/x86/x86

2017-10-21 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Oct 22 00:45:32 UTC 2017 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: more static To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/x86/efi.c Please note that diffs are not public

CVS commit: src/sys/arch/x86/x86

2017-10-21 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sun Oct 22 00:45:32 UTC 2017 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: more static To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/x86/efi.c Please note that diffs are not public

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

2017-10-21 Thread Kamil Rytarowski
This is really impressive and great work! On 21.10.2017 21:05, Alistair Crooks wrote: > Oh, nice! This is great :) > > Thank you for all your work on this, pkboot, kaslr and the pmap. > > Best, > Alistair > > On 21 October 2017 at 01:27, Maxime Villard wrote: >> Module Name:

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

2017-10-21 Thread Alistair Crooks
Oh, nice! This is great :) Thank you for all your work on this, pkboot, kaslr and the pmap. Best, Alistair On 21 October 2017 at 01:27, Maxime Villard wrote: > Module Name:src > Committed By: maxv > Date: Sat Oct 21 08:27:19 UTC 2017 > > Modified Files: >

CVS commit: src/sys/arch/x86/x86

2017-10-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 21 08:27:19 UTC 2017 Modified Files: src/sys/arch/x86/x86: sys_machdep.c Log Message: Forbid 64bit entries. That's it, now we support USER_LDT on amd64. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

CVS commit: src/sys/arch/x86/x86

2017-10-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 21 08:27:19 UTC 2017 Modified Files: src/sys/arch/x86/x86: sys_machdep.c Log Message: Forbid 64bit entries. That's it, now we support USER_LDT on amd64. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43

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

2017-10-17 Thread Christos Zoulas
In article <20171017054709.b160cf...@cvs.netbsd.org>, Maya Rashish wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: maya >Date: Tue Oct 17 05:47:09 UTC 2017 > >Modified Files: > src/sys/arch/x86/x86: vmt.c > >Log Message: >Check that the host

CVS commit: src/sys/arch/x86/x86

2017-10-17 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Oct 17 06:50:00 UTC 2017 Modified Files: src/sys/arch/x86/x86: vmt.c vmtreg.h Log Message: Update protocol reverse engineering URL to a working one only mention it once. >From openbsd by Seth Jackson To generate a diff of

CVS commit: src/sys/arch/x86/x86

2017-10-17 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Oct 17 06:50:00 UTC 2017 Modified Files: src/sys/arch/x86/x86: vmt.c vmtreg.h Log Message: Update protocol reverse engineering URL to a working one only mention it once. >From openbsd by Seth Jackson To generate a diff of

CVS commit: src/sys/arch/x86/x86

2017-10-16 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Oct 17 05:47:09 UTC 2017 Modified Files: src/sys/arch/x86/x86: vmt.c Log Message: Check that the host supports GET_SPEED as well as GET_VERSION before deciding vmt_probe has succeeded. qemu supports GET_VERSION but not the RPC

CVS commit: src/sys/arch/x86/x86

2017-10-16 Thread Maya Rashish
Module Name:src Committed By: maya Date: Tue Oct 17 05:47:09 UTC 2017 Modified Files: src/sys/arch/x86/x86: vmt.c Log Message: Check that the host supports GET_SPEED as well as GET_VERSION before deciding vmt_probe has succeeded. qemu supports GET_VERSION but not the RPC

CVS commit: src/sys/arch/x86/x86

2017-10-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 15 11:39:42 UTC 2017 Modified Files: src/sys/arch/x86/x86: sys_machdep.c Log Message: Remove this #undef on native amd64, but keep it on Xen. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/arch/x86/x86

2017-10-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 15 11:39:42 UTC 2017 Modified Files: src/sys/arch/x86/x86: sys_machdep.c Log Message: Remove this #undef on native amd64, but keep it on Xen. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40

CVS commit: src/sys/arch/x86/x86

2017-10-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 10 03:05:29 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Fix the location of AMD's smca(Scalable MCA) bit. Thanks Yasushi Oshima for finding this bug. To generate a diff of this commit:

CVS commit: src/sys/arch/x86/x86

2017-10-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Oct 10 03:05:29 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Fix the location of AMD's smca(Scalable MCA) bit. Thanks Yasushi Oshima for finding this bug. To generate a diff of this commit:

CVS commit: src/sys/arch/x86/x86

2017-10-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Oct 9 17:41:18 UTC 2017 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Don't probe for the no FPU case. it's not supported To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/sys/arch/x86/x86

2017-10-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Oct 9 17:41:18 UTC 2017 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Don't probe for the no FPU case. it's not supported To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59

CVS commit: src/sys/arch/x86/x86

2017-10-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Oct 9 17:39:33 UTC 2017 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Simplify macro logic of cpu_probe_old_fpu To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/x86/x86/identcpu.c

CVS commit: src/sys/arch/x86/x86

2017-10-09 Thread Maya Rashish
Module Name:src Committed By: maya Date: Mon Oct 9 17:39:33 UTC 2017 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Simplify macro logic of cpu_probe_old_fpu To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/sys/arch/x86/x86/identcpu.c

CVS commit: src/sys/arch/x86/x86

2017-10-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 8 13:49:38 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use roundup instead. Otherwise some (userland) pages could get mapped in the text large pages. We were using roundup to improve performance on

CVS commit: src/sys/arch/x86/x86

2017-10-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 8 13:49:38 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use roundup instead. Otherwise some (userland) pages could get mapped in the text large pages. We were using roundup to improve performance on

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

2017-10-05 Thread Joerg Sonnenberger
On Thu, Oct 05, 2017 at 02:52:55PM +0200, Kamil Rytarowski wrote: > An idea borrowed from the OpenBSD approach with wxneeded partition > (mount) property. I think that one pretty much completely misses the point. Joerg

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

2017-10-05 Thread Kamil Rytarowski
On 04.10.2017 08:35, Alexander Nasonov wrote: > Maxime Villard wrote: >> In the first mail, you said that it was better to have a all-or-nothing >> sysctl, which is *exactly* what I just committed. > > Yes, sysctl is better than giving rdtsc to root only. But "better" > alone isn't strong enough

CVS commit: src/sys/arch/x86/x86

2017-10-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 5 03:24:40 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: - Use per cpu ci->ci_max_cupid instead of global "cpuid_level" variable. - Print AMD specific cpuid leafs: 0x8008 ebx

CVS commit: src/sys/arch/x86/x86

2017-10-04 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 5 03:24:40 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: - Use per cpu ci->ci_max_cupid instead of global "cpuid_level" variable. - Print AMD specific cpuid leafs: 0x8008 ebx

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

2017-10-04 Thread Alexander Nasonov
Maxime Villard wrote: > In the first mail, you said that it was better to have a all-or-nothing > sysctl, which is *exactly* what I just committed. Yes, sysctl is better than giving rdtsc to root only. But "better" alone isn't strong enough to count me as a supporter. > In the second one, as a

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

2017-10-03 Thread Maxime Villard
Le 03/10/2017 à 22:47, Alexander Nasonov a écrit : Maxime Villard wrote: In case you didn't notice, this sysctl results directly from the answers I got, and is not my original plan (about which I changed my mind as a consequence of the conversation). So now tell me exactly which point I didn't

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

2017-10-03 Thread Alexander Nasonov
Maxime Villard wrote: > In case you didn't notice, this sysctl results directly from the answers I > got, and is not my original plan (about which I changed my mind as a > consequence of the conversation). So now tell me exactly which point I didn't > consider and which reply I ignored. The thread

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

2017-10-03 Thread maya
If pax mprotect is an example then maxv should just go around rm -rf'ing any parts of the tree he doesn't like without even checking that the kernel builds afterwards, since that's the way we do things around here. It was months until I could run meld again, even disabling it for just python was

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

2017-10-03 Thread Maxime Villard
Le 03/10/2017 à 21:14, Joerg Sonnenberger a écrit : I'm not responding to this nonsensical thread anymore, everything got told months ago. The option is here, people don't need to give a damn about it unless they explicitly want to - which is still legitimate in some cases, including for kaslr,

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

2017-10-03 Thread Joerg Sonnenberger
On Tue, Oct 03, 2017 at 06:54:52PM +0200, Maxime Villard wrote: > Just like disabling va0 or enabling PaX mprotect; if you feel like these are > no issues, then what's the fuss. You would be well served to read the "rdtsc > is still enabled by default" part of my email. Disabling va0 is low

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

2017-10-03 Thread Warner Losh
On Mon, Oct 2, 2017 at 4:09 PM, Taylor R Campbell < campbell+netbsd-source-change...@mumble.net> wrote: > > Date: Mon, 2 Oct 2017 21:42:11 +0200 > > From: Joerg Sonnenberger > > > > On Mon, Oct 02, 2017 at 07:23:16PM +, Maxime Villard wrote: > > > Add a machdep.tsc_user_enable

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

2017-10-03 Thread Warner Losh
On Mon, Oct 2, 2017 at 4:43 PM, Joerg Sonnenberger wrote: > On Mon, Oct 02, 2017 at 04:25:34PM -0600, Warner Losh wrote: > > Even if you don't have the ability to change the defective hardware? > > The hardware is not defective. We are not talking about variable timing > for basic

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

2017-10-03 Thread David Holland
On Tue, Oct 03, 2017 at 06:54:52PM +0200, Maxime Villard wrote: > I'm not responding to this nonsensical thread anymore, The problem is, you keep acting unilaterally without having gathered a consensus, then ignoring the resulting objections and demanding to have everything your way and only

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

2017-10-03 Thread Maxime Villard
Le 03/10/2017 à 13:26, Joerg Sonnenberger a écrit : At the same time, it has interesting interactions with power management and the instruction queue. The queue is flushed by a serializing instruction executed right before, which is the recommended use case; the interaction with power

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

2017-10-03 Thread Joerg Sonnenberger
On Tue, Oct 03, 2017 at 08:17:27AM +0200, Maxime Villard wrote: > What is clear, however, is that the effort needed to perform accurate > measurements in software is much higher than that needed to invoke a hardware > instruction that will instantly give about the most accurate answer possible.

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

2017-10-02 Thread Joerg Sonnenberger
On Mon, Oct 02, 2017 at 04:25:34PM -0600, Warner Losh wrote: > Even if you don't have the ability to change the defective hardware? The hardware is not defective. We are not talking about variable timing for basic arithmetic operations based on the operand value. Outside maybe division, that

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

2017-10-02 Thread Taylor R Campbell
> Date: Mon, 2 Oct 2017 16:25:34 -0600 > From: Warner Losh > > Why should I provide an attacker a stop watch? I want him/her to build > their own that has the potential to be accurate enough, but is necessarily > less accurate than the one I'm denying them access to. There are

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

2017-10-02 Thread Taylor R Campbell
> Date: Mon, 2 Oct 2017 21:42:11 +0200 > From: Joerg Sonnenberger > > On Mon, Oct 02, 2017 at 07:23:16PM +, Maxime Villard wrote: > > Add a machdep.tsc_user_enable sysctl, to enable/disable the rdtsc > > instruction in usermode. It defaults to enabled. > > Do we really need

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

2017-10-02 Thread Joerg Sonnenberger
On Mon, Oct 02, 2017 at 07:23:16PM +, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Mon Oct 2 19:23:16 UTC 2017 > > Modified Files: > src/sys/arch/x86/x86: tsc.c tsc.h x86_machdep.c > > Log Message: > Add a machdep.tsc_user_enable sysctl, to

CVS commit: src/sys/arch/x86/x86

2017-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 2 19:23:16 UTC 2017 Modified Files: src/sys/arch/x86/x86: tsc.c tsc.h x86_machdep.c Log Message: Add a machdep.tsc_user_enable sysctl, to enable/disable the rdtsc instruction in usermode. It defaults to enabled. To

CVS commit: src/sys/arch/x86/x86

2017-10-02 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 2 19:23:16 UTC 2017 Modified Files: src/sys/arch/x86/x86: tsc.c tsc.h x86_machdep.c Log Message: Add a machdep.tsc_user_enable sysctl, to enable/disable the rdtsc instruction in usermode. It defaults to enabled. To

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:35:48 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: use bootspace (this branch is never taken) To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/sys/arch/x86/x86/pmap.c Please

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:35:48 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: use bootspace (this branch is never taken) To generate a diff of this commit: cvs rdiff -u -r1.259 -r1.260 src/sys/arch/x86/x86/pmap.c Please

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:29:58 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Declare pmap_remap_global, and map the four regions independently with bootspace. To generate a diff of this commit: cvs rdiff -u -r1.258

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:29:58 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Declare pmap_remap_global, and map the four regions independently with bootspace. To generate a diff of this commit: cvs rdiff -u -r1.258

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:12:29 UTC 2017 Modified Files: src/sys/arch/x86/x86: db_memrw.c Log Message: use bootspace To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/x86/db_memrw.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:12:29 UTC 2017 Modified Files: src/sys/arch/x86/x86: db_memrw.c Log Message: use bootspace To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x86/x86/db_memrw.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:01:56 UTC 2017 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: use bootspace To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/arch/x86/x86/x86_machdep.c Please note that diffs

CVS commit: src/sys/arch/x86/x86

2017-09-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 30 12:01:56 UTC 2017 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: use bootspace To generate a diff of this commit: cvs rdiff -u -r1.94 -r1.95 src/sys/arch/x86/x86/x86_machdep.c Please note that diffs

CVS commit: src/sys/arch/x86/x86

2017-09-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 28 10:59:38 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Print the following cpuid bits: 0x000d:1 eax (xsaveopt, xsavec, xgetbv1, xsaves) 0x000f:0 edx (cqm_llc)

CVS commit: src/sys/arch/x86/x86

2017-09-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Sep 28 10:59:38 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Print the following cpuid bits: 0x000d:1 eax (xsaveopt, xsavec, xgetbv1, xsaves) 0x000f:0 edx (cqm_llc)

CVS commit: src/sys/arch/x86/x86

2017-09-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 23 11:01:32 UTC 2017 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Make MTRR_GET privileged, the structures are not always zeroed (thereby leaking information), and beyond that we are not particularly

CVS commit: src/sys/arch/x86/x86

2017-09-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Sep 23 11:01:32 UTC 2017 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Make MTRR_GET privileged, the structures are not always zeroed (thereby leaking information), and beyond that we are not particularly

CVS commit: src/sys/arch/x86/x86

2017-09-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 12 07:19:36 UTC 2017 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Set ci->ci_cflush_lsize correctly. This bug was added in the last commit(1.56). To generate a diff of this commit: cvs rdiff -u -r1.56

CVS commit: src/sys/arch/x86/x86

2017-09-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Sep 12 07:19:36 UTC 2017 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Set ci->ci_cflush_lsize correctly. This bug was added in the last commit(1.56). To generate a diff of this commit: cvs rdiff -u -r1.56

CVS commit: src/sys/arch/x86/x86

2017-09-11 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Sep 12 01:01:25 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: minor KNF. To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public

CVS commit: src/sys/arch/x86/x86

2017-09-11 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Sep 12 01:01:25 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: minor KNF. To generate a diff of this commit: cvs rdiff -u -r1.256 -r1.257 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public

CVS commit: src/sys/arch/x86/x86

2017-09-03 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 3 06:24:49 UTC 2017 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Remove redundant static function declaration To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/x86/x86/intr.c

CVS commit: src/sys/arch/x86/x86

2017-09-03 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Sep 3 06:24:49 UTC 2017 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Remove redundant static function declaration To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/x86/x86/intr.c

CVS commit: src/sys/arch/x86/x86

2017-08-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Aug 28 07:03:47 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Check buffer length correctly to not to print a garbage character. Fixes PR#52352 reported by Yasushi Oshima. To generate a diff

CVS commit: src/sys/arch/x86/x86

2017-08-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Aug 28 07:03:47 UTC 2017 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Check buffer length correctly to not to print a garbage character. Fixes PR#52352 reported by Yasushi Oshima. To generate a diff

CVS commit: src/sys/arch/x86/x86

2017-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 15 08:57:19 UTC 2017 Modified Files: src/sys/arch/x86/x86: kgdb_machdep.c Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/kgdb_machdep.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2017-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 15 08:57:19 UTC 2017 Modified Files: src/sys/arch/x86/x86: kgdb_machdep.c Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/kgdb_machdep.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2017-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 15 06:37:50 UTC 2017 Modified Files: src/sys/arch/x86/x86: bios32.c Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/bios32.c Please note that diffs are not public

CVS commit: src/sys/arch/x86/x86

2017-08-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Aug 15 06:37:50 UTC 2017 Modified Files: src/sys/arch/x86/x86: bios32.c Log Message: style To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/bios32.c Please note that diffs are not public

CVS commit: src/sys/arch/x86/x86

2017-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 11 06:18:29 UTC 2017 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: Fix a bug introduced in r1.55, this should be LAPIC_BASE. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/sys/arch/x86/x86

2017-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 11 06:18:29 UTC 2017 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: Fix a bug introduced in r1.55, this should be LAPIC_BASE. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

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

2017-08-07 Thread Kengo NAKAHARA
Hi maxv@n.o, On 2017/08/08 2:12, Maxime Villard wrote: > Le 07/08/2017 à 10:38, Kengo NAKAHARA a écrit : >> "intrctl affinity" in NetBSD-current causes panic. Here is the backtrace >> >> panic: kernel diagnostic assertion "mutex_owned(_lock) || !mp_online" >> failed: file

CVS commit: src/sys/arch/x86/x86

2017-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 7 17:31:11 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmc.c Log Message: Fix GCC warning on NET4501, PR/52451. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/pmc.c Please note

CVS commit: src/sys/arch/x86/x86

2017-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 7 17:31:11 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmc.c Log Message: Fix GCC warning on NET4501, PR/52451. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/pmc.c Please note

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

2017-08-07 Thread Maxime Villard
Le 07/08/2017 à 10:38, Kengo NAKAHARA a écrit : Hi maxv@n.o, "intrctl affinity" in NetBSD-current causes panic. Here is the backtrace panic: kernel diagnostic assertion "mutex_owned(_lock) || !mp_online" failed: file

CVS commit: src/sys/arch/x86/x86

2017-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 7 17:10:09 UTC 2017 Modified Files: src/sys/arch/x86/x86: idt.c Log Message: Remove incorrect KASSERT, only the allocation is protected by cpu_lock. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/arch/x86/x86

2017-08-07 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 7 17:10:09 UTC 2017 Modified Files: src/sys/arch/x86/x86: idt.c Log Message: Remove incorrect KASSERT, only the allocation is protected by cpu_lock. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

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

2017-08-07 Thread Kengo NAKAHARA
Hi maxv@n.o, "intrctl affinity" in NetBSD-current causes panic. Here is the backtrace panic: kernel diagnostic assertion "mutex_owned(_lock) || !mp_online" failed: file "/disk4/home/k-nakahara/repos/netbsd-src/sys/arch/x86/x86/idt.c", line 122 fatal breakpoint trap in

CVS commit: src/sys/arch/x86/x86

2017-07-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 31 19:29:19 UTC 2017 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: modify code handling mismatch of nsegs in _bus_dmamem_alloc_range() to a KASSERT() - plain return leaks memory, and this condition should

CVS commit: src/sys/arch/x86/x86

2017-07-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 31 19:29:19 UTC 2017 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: modify code handling mismatch of nsegs in _bus_dmamem_alloc_range() to a KASSERT() - plain return leaks memory, and this condition should

CVS commit: src/sys/arch/x86/x86

2017-07-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 31 18:54:40 UTC 2017 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Use idt_vec_set instead. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/arch/x86/x86/intr.c Please note that diffs

CVS commit: src/sys/arch/x86/x86

2017-07-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 31 18:54:40 UTC 2017 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Use idt_vec_set instead. To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/arch/x86/x86/intr.c Please note that diffs

CVS commit: src/sys/arch/x86/x86

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:13:11 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: #if DIAGNOSTIC panic ---> KASSERTMSG To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/arch/x86/x86/pmap.c Please

CVS commit: src/sys/arch/x86/x86

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:13:11 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: #if DIAGNOSTIC panic ---> KASSERTMSG To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/arch/x86/x86/pmap.c Please

CVS commit: src/sys/arch/x86/x86

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:12:26 UTC 2017 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: cpu_trace is no more, remove vestige of it that broke ALL kernel. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132

CVS commit: src/sys/arch/x86/x86

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:12:26 UTC 2017 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: cpu_trace is no more, remove vestige of it that broke ALL kernel. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132

CVS commit: src/sys/arch/x86/x86

2017-07-12 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Thu Jul 13 00:44:14 UTC 2017 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: PR/52266: Before access MSR[APICBASE], need to check if APIC is present. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/sys/arch/x86/x86

2017-07-12 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Thu Jul 13 00:44:14 UTC 2017 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: PR/52266: Before access MSR[APICBASE], need to check if APIC is present. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60

CVS commit: src/sys/arch/x86/x86

2017-07-08 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Sat Jul 8 14:35:33 UTC 2017 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: PR/52266: use rdmsr_safe(9) instead of rdmsr(9) for old machine. tested by simonb@ To generate a diff of this commit: cvs rdiff -u -r1.58

CVS commit: src/sys/arch/x86/x86

2017-07-08 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Sat Jul 8 14:35:33 UTC 2017 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: PR/52266: use rdmsr_safe(9) instead of rdmsr(9) for old machine. tested by simonb@ To generate a diff of this commit: cvs rdiff -u -r1.58

CVS commit: src/sys/arch/x86/x86

2017-06-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Jun 25 22:16:46 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Xen/i386PAE is special, in that top-level entries are not in per-pmap tables but per-CPU pages. pmap_alloc_level() takes care of making new

CVS commit: src/sys/arch/x86/x86

2017-06-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Jun 25 22:16:46 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Xen/i386PAE is special, in that top-level entries are not in per-pmap tables but per-CPU pages. pmap_alloc_level() takes care of making new

CVS commit: src/sys/arch/x86/x86

2017-06-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Jun 25 12:42:40 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Page tables are not writable under Xen, so we can't memcpy() to them. Rewite to do the copy using pmap_pte_set() in the Xen case. To

CVS commit: src/sys/arch/x86/x86

2017-06-25 Thread Manuel Bouyer
Module Name:src Committed By: bouyer Date: Sun Jun 25 12:42:40 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Page tables are not writable under Xen, so we can't memcpy() to them. Rewite to do the copy using pmap_pte_set() in the Xen case. To

CVS commit: src/sys/arch/x86/x86

2017-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jun 23 23:40:00 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: remove panicstr KASSERT() in pmap_kremove_local() - kernel dump can legitimely invoked also without panic - via reboot -d fixes PR

CVS commit: src/sys/arch/x86/x86

2017-06-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jun 23 23:40:00 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: remove panicstr KASSERT() in pmap_kremove_local() - kernel dump can legitimely invoked also without panic - via reboot -d fixes PR

CVS commit: src/sys/arch/x86/x86

2017-06-22 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Jun 22 13:32:47 UTC 2017 Modified Files: src/sys/arch/x86/x86: ipmi.c Log Message: Use a proper format string. To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66 src/sys/arch/x86/x86/ipmi.c Please note that diffs

<    5   6   7   8   9   10   11   12   13   14   >