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

2016-11-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 25 12:20:03 UTC 2016 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: KNF a little To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/arch/xen/x86/cpu.c Please note that diffs are not public

Re: CVS commit: src/sys/arch

2016-11-27 Thread Maxime Villard
Le 26/11/2016 à 07:43, David Holland a écrit : On Thu, Nov 24, 2016 at 10:28:56PM +0900, Masanobu SAITOH wrote: > > Put a one-page redzone between userland and the PTE space on amd64 and > > i386. > > > > The PTE space is a critical region that maps the page tree, and bugs have > > been

Re: CVS commit: src/sys/arch

2016-11-27 Thread Maxime Villard
Le 27/11/2016 à 15:22, Joerg Sonnenberger a écrit : On Sun, Nov 27, 2016 at 12:21:48PM +0100, Maxime Villard wrote: Le 26/11/2016 à 07:43, David Holland a écrit : On Thu, Nov 24, 2016 at 10:28:56PM +0900, Masanobu SAITOH wrote: > > Put a one-page redzone between userland and the PTE

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:26:59 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: I actually came across the solution to this issue in the Intel SDM for a totally unrelated reason a few weeks ago. The reason we need a

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 17:01:12 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Mmh, apparently I didn't properly test my previous change since it does not compile anymore To generate a diff of this commit: cvs rdiff

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 17:01:12 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Mmh, apparently I didn't properly test my previous change since it does not compile anymore To generate a diff of this commit: cvs rdiff

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:37:20 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Keep simplifying that stuff. Also, replace plX_pi(KERNTEXTOFF) by LX_SLOT_KERNBASE: the base address is KERNBASE, and we just start mapping

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:37:20 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Keep simplifying that stuff. Also, replace plX_pi(KERNTEXTOFF) by LX_SLOT_KERNBASE: the base address is KERNBASE, and we just start mapping

CVS commit: src/sys/arch

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:00:56 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: x86_machdep.c Log Message: Initialize kern_end in amd64 instead of x86. To

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

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:26:59 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: I actually came across the solution to this issue in the Intel SDM for a totally unrelated reason a few weeks ago. The reason we need a

CVS commit: src/sys/arch

2016-11-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 15 15:00:56 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: x86_machdep.c Log Message: Initialize kern_end in amd64 instead of x86. To

CVS commit: src/sys/arch

2016-11-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 19 09:22:04 UTC 2016 Modified Files: src/sys/arch/amd64/include: vmparam.h src/sys/arch/i386/include: vmparam.h Log Message: Put a one-page redzone between userland and the PTE space on amd64 and i386. The PTE

CVS commit: src/sys/arch

2016-11-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 19 09:22:04 UTC 2016 Modified Files: src/sys/arch/amd64/include: vmparam.h src/sys/arch/i386/include: vmparam.h Log Message: Put a one-page redzone between userland and the PTE space on amd64 and i386. The PTE

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

2016-11-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Nov 17 16:32:06 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Unmap tmpva once we are done using it, not to pollute the page tree. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227

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

2016-11-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Nov 17 16:32:06 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Unmap tmpva once we are done using it, not to pollute the page tree. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227

CVS commit: src/sys/arch

2016-11-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Nov 17 16:26:08 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/x86/x86: pmap.c Log Message: Remap the pages with G until kern_end, and not just the preloaded modules. This way the bootstrap

CVS commit: src/sys/arch

2016-11-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Nov 17 16:26:08 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/x86/x86: pmap.c Log Message: Remap the pages with G until kern_end, and not just the preloaded modules. This way the bootstrap

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

2016-11-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 13 12:58:40 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap_tlb.c Log Message: Explain why this is the right value, otherwise someone (like me) could be tempted to increase it. The invlpg part is from rmind, the

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

2016-11-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 13 12:58:40 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap_tlb.c Log Message: Explain why this is the right value, otherwise someone (like me) could be tempted to increase it. The invlpg part is from rmind, the

CVS commit: src/sys/arch/i386/i386

2016-11-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 13 12:38:14 UTC 2016 Modified Files: src/sys/arch/i386/i386: vector.S Log Message: The reason we are not using INTRENTRY here is because this interrupt goes through a task gate that points to a TSS entry in the GDT, and

CVS commit: src/sys/arch/i386/i386

2016-11-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 13 12:38:14 UTC 2016 Modified Files: src/sys/arch/i386/i386: vector.S Log Message: The reason we are not using INTRENTRY here is because this interrupt goes through a task gate that points to a TSS entry in the GDT, and

CVS commit: src/sys/nfs

2016-11-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 20 09:28:43 UTC 2016 Modified Files: src/sys/nfs: nfs_export.c Log Message: Memory leak, found by Mootja. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/nfs/nfs_export.c Please note that diffs are

CVS commit: src/sys/nfs

2016-11-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 20 09:28:43 UTC 2016 Modified Files: src/sys/nfs: nfs_export.c Log Message: Memory leak, found by Mootja. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/nfs/nfs_export.c Please note that diffs are

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

2016-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 1 12:00:21 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the remaining pages as non-executable. Only text should have X. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

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

2016-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 1 12:16:10 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the PTE space as non-executable on PAE. The same is already done on amd64. To generate a diff of this commit: cvs rdiff -u -r1.62

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

2016-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 1 12:16:10 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the PTE space as non-executable on PAE. The same is already done on amd64. To generate a diff of this commit: cvs rdiff -u -r1.62

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

2016-11-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Nov 1 12:00:21 UTC 2016 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Map the remaining pages as non-executable. Only text should have X. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62

CVS commit: src/sys/kern

2016-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 31 15:05:05 UTC 2016 Modified Files: src/sys/kern: uipc_usrreq.c Log Message: Memory leak, found by Mootja. It is easily triggerable from userland. To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181

CVS commit: src/sys/kern

2016-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 31 15:05:05 UTC 2016 Modified Files: src/sys/kern: uipc_usrreq.c Log Message: Memory leak, found by Mootja. It is easily triggerable from userland. To generate a diff of this commit: cvs rdiff -u -r1.180 -r1.181

CVS commit: src/sys/kern

2016-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 31 15:27:24 UTC 2016 Modified Files: src/sys/kern: subr_tftproot.c Log Message: The mbuf is freed by the protocol even on error, so always NULL the pointer instead of double-freeing it. Indirectly pointed out by Mootja.

CVS commit: src/sys/kern

2016-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 31 15:08:45 UTC 2016 Modified Files: src/sys/kern: uipc_sem.c Log Message: Memory leak, found by Mootja. By the way, we probably shouldn't be returning -1 here. To generate a diff of this commit: cvs rdiff -u -r1.46

CVS commit: src/sys/kern

2016-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 31 15:08:45 UTC 2016 Modified Files: src/sys/kern: uipc_sem.c Log Message: Memory leak, found by Mootja. By the way, we probably shouldn't be returning -1 here. To generate a diff of this commit: cvs rdiff -u -r1.46

CVS commit: src/sys/kern

2016-10-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 31 15:27:24 UTC 2016 Modified Files: src/sys/kern: subr_tftproot.c Log Message: The mbuf is freed by the protocol even on error, so always NULL the pointer instead of double-freeing it. Indirectly pointed out by Mootja.

CVS commit: src/sys/dev/pci/cxgb

2016-10-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 11 12:53:56 UTC 2016 Modified Files: src/sys/dev/pci/cxgb: cxgb_l2t.c Log Message: There are two memory leaks here, found by mootja; just add some XXXs. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/pci/cxgb

2016-10-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 11 12:53:56 UTC 2016 Modified Files: src/sys/dev/pci/cxgb: cxgb_l2t.c Log Message: There are two memory leaks here, found by mootja; just add some XXXs. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/sys/dev/fdt

2016-10-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 11 13:04:57 UTC 2016 Modified Files: src/sys/dev/fdt: fdt_pinctrl.c Log Message: Memory leak, found by mootja; not tested, but obvious enough. By the way, I guess we should be handling the return value of OF_getprop. To

CVS commit: src/sys/dev/fdt

2016-10-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 11 13:04:57 UTC 2016 Modified Files: src/sys/dev/fdt: fdt_pinctrl.c Log Message: Memory leak, found by mootja; not tested, but obvious enough. By the way, I guess we should be handling the return value of OF_getprop. To

CVS commit: src/sys/arch

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:24:59 UTC 2016 Modified Files: src/sys/arch/i386/i386: autoconf.c src/sys/arch/x86/x86: cpu.c Log Message: Use the generic i82489_writereg instead of lapic_tpr, for consistency. To generate a diff of this

CVS commit: src/sys/arch

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:24:59 UTC 2016 Modified Files: src/sys/arch/i386/i386: autoconf.c src/sys/arch/x86/x86: cpu.c Log Message: Use the generic i82489_writereg instead of lapic_tpr, for consistency. To generate a diff of this

CVS commit: src/sys/arch/mips/mips

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:57:58 UTC 2016 Modified Files: src/sys/arch/mips/mips: cpu_exec.c Log Message: Remove unused (and buggy) function. Not even compile-tested, but I've been told to go ahead anyway. To generate a diff of this commit:

CVS commit: src/sys/arch/i386/i386

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:38:49 UTC 2016 Modified Files: src/sys/arch/i386/i386: vector.S Log Message: Use offsets to access the TPR, and not lapic_tpr. For the record: I'm not sure exactly why it was originally done this way, and the cvs

CVS commit: src/sys/arch/i386/i386

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:38:49 UTC 2016 Modified Files: src/sys/arch/i386/i386: vector.S Log Message: Use offsets to access the TPR, and not lapic_tpr. For the record: I'm not sure exactly why it was originally done this way, and the cvs

CVS commit: src/sys/arch/mips/mips

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:57:58 UTC 2016 Modified Files: src/sys/arch/mips/mips: cpu_exec.c Log Message: Remove unused (and buggy) function. Not even compile-tested, but I've been told to go ahead anyway. To generate a diff of this commit:

CVS commit: src/sys/arch

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:51:31 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: i82489var.h Log Message: Remove lapic_tpr on amd64 and i386, unused. Now, we

CVS commit: src/sys/arch

2016-10-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Oct 16 10:51:31 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S src/sys/arch/x86/include: i82489var.h Log Message: Remove lapic_tpr on amd64 and i386, unused. Now, we

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

2016-12-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 6 15:09:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Memory leak, found by Mootja To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/arch/x86/x86/intr.c Please note that diffs

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

2016-12-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 6 15:09:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Memory leak, found by Mootja To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/arch/x86/x86/intr.c Please note that diffs

CVS commit: src/sys/arch

2016-12-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Dec 11 08:31:53 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: pmap.c Log Message: Kenter local_apic_va to a fake physical page, because our

CVS commit: src/sys/arch

2016-12-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Dec 11 08:31:53 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: pmap.c Log Message: Kenter local_apic_va to a fake physical page, because our

CVS commit: src/sys/arch

2016-12-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 6 15:05:07 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: Use __kernel_end instead. Does not change anything, but will be meaningful soon. To generate a

CVS commit: src/sys/arch

2016-12-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 6 15:05:07 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S Log Message: Use __kernel_end instead. Does not change anything, but will be meaningful soon. To generate a

CVS commit: src/sys/arch

2016-12-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Dec 16 19:52:22 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S machdep.c src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/x86: x86_xpmap.c Log Message: The way

CVS commit: src/sys/arch

2016-12-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Dec 16 19:52:22 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S src/sys/arch/i386/i386: locore.S machdep.c src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/x86: x86_xpmap.c Log Message: The way

CVS commit: src/sys/arch/i386/i386

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 14:27:53 UTC 2016 Modified Files: src/sys/arch/i386/i386: gdt.c machdep.c Log Message: Put a limit in the percpu segment, so we can detect overflows on %fs. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

CVS commit: src/sys/arch/i386/i386

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 14:27:53 UTC 2016 Modified Files: src/sys/arch/i386/i386: gdt.c machdep.c Log Message: Put a limit in the percpu segment, so we can detect overflows on %fs. To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 13:43:33 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use pmap_bootstrap_valloc and simplify. By the way, I think the cache stuff is wrong, since the pte is not necessarily aligned to 64 bytes, so

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 13:43:33 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use pmap_bootstrap_valloc and simplify. By the way, I think the cache stuff is wrong, since the pte is not necessarily aligned to 64 bytes, so

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 13:49:05 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Fix the name of the labels. I think I got confused by jne, so while here replace it by jnz, which is more explicit. To generate a diff

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 13:49:05 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Fix the name of the labels. I think I got confused by jne, so while here replace it by jnz, which is more explicit. To generate a diff

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 15:23:08 UTC 2016 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Remove a wrong comment - the FPU save size should never be percpu -, and be more explicit about Xen. To generate a diff of this commit:

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 15:23:08 UTC 2016 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Remove a wrong comment - the FPU save size should never be percpu -, and be more explicit about Xen. To generate a diff of this commit:

CVS commit: src/sys/arch

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 14:49:26 UTC 2016 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU Log Message: Add MODULAR in Xen kernels. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/arch

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 14:49:26 UTC 2016 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 XEN3_DOMU src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU Log Message: Add MODULAR in Xen kernels. To generate a diff of this commit: cvs rdiff

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

2016-12-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Dec 16 20:16:50 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: This can actually be enabled in Xen; my rev1.235 fixed the issue. Before that kern_end was pointing to DUMMY PAGE, which was already

Re: CVS commit: src/sys/arch

2016-12-11 Thread Maxime Villard
Le 11/12/2016 à 17:08, Maxime Villard a écrit : > Le 11/12/2016 à 16:37, Martin Husemann a écrit : >> On Sun, Dec 11, 2016 at 08:31:53AM +0000, Maxime Villard wrote: >>> Module Name:src >>> Committed By:maxv >>> Date:Sun Dec 11 08:31:53 UTC 2016

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

2016-12-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Dec 9 17:57:24 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c Log Message: On amd64 we try to guarantee that VA = PA + KERNBASE in the bootstrap memory. But we have a problem with the ISA I/O MEM,

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

2016-12-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Dec 9 17:57:24 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: locore.S machdep.c Log Message: On amd64 we try to guarantee that VA = PA + KERNBASE in the bootstrap memory. But we have a problem with the ISA I/O MEM,

CVS commit: src/sys/lib/libsa

2016-12-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 3 09:20:55 UTC 2016 Modified Files: src/sys/lib/libsa: loadfile.h loadfile_elf32.c Log Message: Fix a wrong flag and KNF. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/lib/libsa/loadfile.h cvs

CVS commit: src/sys/lib/libsa

2016-12-03 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 3 09:20:55 UTC 2016 Modified Files: src/sys/lib/libsa: loadfile.h loadfile_elf32.c Log Message: Fix a wrong flag and KNF. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/lib/libsa/loadfile.h cvs

CVS commit: src/sys/arch/i386/stand/lib

2016-12-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Dec 4 08:21:08 UTC 2016 Modified Files: src/sys/arch/i386/stand/lib: biosmem.S biosmemps2.S biosmemx.S exec.c multiboot.S startprog.S Log Message: KNF and explain a few things To generate a diff of this commit:

CVS commit: src/sys/arch/i386/stand/lib

2016-12-04 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Dec 4 08:21:08 UTC 2016 Modified Files: src/sys/arch/i386/stand/lib: biosmem.S biosmemps2.S biosmemx.S exec.c multiboot.S startprog.S Log Message: KNF and explain a few things To generate a diff of this commit:

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

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 09:04:06 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Rename a few things To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236 src/sys/arch/x86/x86/pmap.c Please note that diffs are

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

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 09:04:06 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Rename a few things To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236 src/sys/arch/x86/x86/pmap.c Please note that diffs are

CVS commit: src/sys/lib/libsa

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 09:14:36 UTC 2017 Modified Files: src/sys/lib/libsa: loadfile_elf32.c Log Message: Explain how all that mess works, without actually fixing it yet. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/lib/libsa

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 09:14:36 UTC 2017 Modified Files: src/sys/lib/libsa: loadfile_elf32.c Log Message: Explain how all that mess works, without actually fixing it yet. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34

CVS commit: src/sys/arch/i386/i386

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 08:36:56 UTC 2017 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Explain the computation To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/arch/i386/i386/locore.S Please note that

CVS commit: src/sys/arch/i386/i386

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 08:36:56 UTC 2017 Modified Files: src/sys/arch/i386/i386: locore.S Log Message: Explain the computation To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/arch/i386/i386/locore.S Please note that

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

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 08:32:26 UTC 2017 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Remove a few #if 0s, and explain what we are doing on PAE: the last two PAs are entered in reversed order. To generate a diff of this

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

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 08:32:26 UTC 2017 Modified Files: src/sys/arch/xen/x86: x86_xpmap.c Log Message: Remove a few #if 0s, and explain what we are doing on PAE: the last two PAs are entered in reversed order. To generate a diff of this

Re: CVS commit: src/sys/arch

2016-12-20 Thread Maxime Villard
Le 20/12/2016 à 15:03, Maxime Villard a écrit : > Module Name: src > Committed By: maxv > Date: Tue Dec 20 14:03:15 UTC 2016 > > Modified Files: > src/sys/arch/amd64/amd64: machdep.c > src/sys/arch/i386/i386: machdep.c > src/sys/arch/x86/x

CVS commit: src/sys/arch

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 14:03:15 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: pmap.c x86_machdep.c Log Message: When the i386 port was designed, the

CVS commit: src/sys/arch

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 14:03:15 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: pmap.c x86_machdep.c Log Message: When the i386 port was designed, the

CVS commit: src/doc

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 14:09:09 UTC 2016 Modified Files: src/doc: CHANGES Log Message: kernel modules on xen To generate a diff of this commit: cvs rdiff -u -r1.2225 -r1.2226 src/doc/CHANGES Please note that diffs are not public domain;

CVS commit: src/doc

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 14:09:09 UTC 2016 Modified Files: src/doc: CHANGES Log Message: kernel modules on xen To generate a diff of this commit: cvs rdiff -u -r1.2225 -r1.2226 src/doc/CHANGES Please note that diffs are not public domain;

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

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 12:48:30 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Depend on KERNTEXTOFF - KERNBASE, not IOM_END, both are equal but the text address may change in the future. To generate a diff of this

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

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 12:48:30 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Depend on KERNTEXTOFF - KERNBASE, not IOM_END, both are equal but the text address may change in the future. To generate a diff of this

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

2016-12-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Dec 16 20:16:50 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: This can actually be enabled in Xen; my rev1.235 fixed the issue. Before that kern_end was pointing to DUMMY PAGE, which was already

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

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 10:58:06 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Don't forget to flush the xpq queue, otherwise shit may happen. To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245

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

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 10:58:06 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Don't forget to flush the xpq queue, otherwise shit may happen. To generate a diff of this commit: cvs rdiff -u -r1.244 -r1.245

CVS commit: src/sys/arch

2017-03-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Mar 23 18:08:06 UTC 2017 Modified Files: src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/x86: cpu.c xen_pmap.c Log Message: Remove PG_k

CVS commit: src/sys/arch

2017-03-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Mar 23 18:08:06 UTC 2017 Modified Files: src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/include: pmap.h src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/x86: cpu.c xen_pmap.c Log Message: Remove PG_k

CVS commit: src/sys/arch

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 17:09:37 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: x86_machdep.c src/sys/arch/xen/conf: files.xen Log Message: Don't

CVS commit: src/sys/arch

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 17:09:37 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: machdep.c src/sys/arch/i386/i386: machdep.c src/sys/arch/x86/x86: x86_machdep.c src/sys/arch/xen/conf: files.xen Log Message: Don't

CVS commit: src

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 18:30:44 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmc.c src/usr.bin/pmc: pmc.c Log Message: Drop support for 586 PMCs; the detection is broken, and I'm not sure the code even works. No one has ever cared

CVS commit: src

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 18:30:44 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmc.c src/usr.bin/pmc: pmc.c Log Message: Drop support for 586 PMCs; the detection is broken, and I'm not sure the code even works. No one has ever cared

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

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 18:03:32 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S Log Message: Unconditionnally save the segment registers - because we could have a kernel %gs and a userland %es/%ds -, and explain why T_NMI is a

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

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 18:03:32 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: amd64_trap.S Log Message: Unconditionnally save the segment registers - because we could have a kernel %gs and a userland %es/%ds -, and explain why T_NMI is a

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

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 19:21:07 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmc.c Log Message: Handle counter overflows, and sample with 50 events per interrupt. It's a pre-requisite for real sampling. Overflows are not yet displayed by

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

2017-03-24 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Mar 24 19:21:07 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmc.c Log Message: Handle counter overflows, and sample with 50 events per interrupt. It's a pre-requisite for real sampling. Overflows are not yet displayed by

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

2017-03-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 25 15:05:16 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: gdt.c Log Message: Use a bitmap-based allocator, will be easier to share with i386. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

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