CVS commit: src/usr.bin/menuc
Module Name:src Committed By: martin Date: Sun Jan 6 11:08:35 UTC 2019 Modified Files: src/usr.bin/menuc: menu_sys.def Log Message: Fix a potential NULL deref in previous - some menus start up with no "opts" array allocated yet. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/usr.bin/menuc/menu_sys.def Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/powerpc/oea
Module Name:src Committed By: phx Date: Sun Jan 6 11:20:53 UTC 2019 Modified Files: src/sys/arch/powerpc/oea: cpu_subr.c Log Message: Only execute dssall when the CPU has the Altivec instruction set extension. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/powerpc/oea/cpu_subr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch
Module Name:src Committed By: cherry Date: Sun Jan 6 14:35:31 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: cpufunc.S i386func.S src/sys/arch/xen/x86: xenfunc.c Log Message: Rollback http://mail-index.netbsd.org/source-changes/2018/12/22/msg101629.html This change breaks module loading due to weak alias being unsupported in the kernel module linker. Requested by maxv@ and others as it affects their work. No immediate decision on a replacement method is available, but other options suggested include pre-processing, conditional compilation (#ifdef etc) and other source level methods to avoid linktime decision making. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amd64/amd64/cpufunc.S cvs rdiff -u -r1.26 -r1.27 src/sys/arch/i386/i386/cpufunc.S cvs rdiff -u -r1.19 -r1.20 src/sys/arch/i386/i386/i386func.S cvs rdiff -u -r1.23 -r1.24 src/sys/arch/xen/x86/xenfunc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: christos Date: Sun Jan 6 15:37:18 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: restore original now that weak symbols are gone To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x86/x86/procfs_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: maxv Date: Sun Jan 6 16:10:51 UTC 2019 Modified Files: src/lib/libnvmm: libnvmm.3 libnvmm_x86.c nvmm.h src/sys/dev/nvmm: nvmm.c nvmm.h src/sys/dev/nvmm/x86: nvmm_x86.h nvmm_x86_svm.c Log Message: Improvements and fixes in NVMM. Kernel driver: * Don't take an extra (unneeded) reference to the UAO. * Provide npc for HLT. I'm not really happy with it right now, will likely be revisited. * Add the INT_SHADOW, INT_WINDOW_EXIT and NMI_WINDOW_EXIT states. Provide them in the exitstate too. * Don't take the TPR into account when processing INTs. The virtualizer can do that itself (Qemu already does). * Provide a hypervisor signature in CPUID, and hide SVM. * Ignore certain MSRs. One special case is MSR_NB_CFG in which we set NB_CFG_INITAPICCPUIDLO. Allow reads of MSR_TSC. * If the LWP has pending signals or softints, leave, rather than waiting for a rescheduling to happen later. This reduces interrupt processing time in the guest (Qemu sends a signal to the thread, and now we leave right away). This could be improved even more by sending an actual IPI to the CPU, but I'll see later. Libnvmm: * Fix the MMU translation of large pages, we need to add the lower bits too. * Change the IO and Mem structures to take a pointer rather than a static array. This provides more flexibility. * Batch together the str+rep IO transactions. We do one big memory read/write, and then send the IO commands to the hypervisor all at once. This considerably increases performance. * Decode MOVZX. With these changes in place, Qemu+NVMM works. I can install NetBSD 8.0 in a VM with multiple VCPUs, connect to the network, etc. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libnvmm/libnvmm.3 cvs rdiff -u -r1.9 -r1.10 src/lib/libnvmm/libnvmm_x86.c cvs rdiff -u -r1.4 -r1.5 src/lib/libnvmm/nvmm.h cvs rdiff -u -r1.4 -r1.5 src/sys/dev/nvmm/nvmm.c cvs rdiff -u -r1.1 -r1.2 src/sys/dev/nvmm/nvmm.h cvs rdiff -u -r1.2 -r1.3 src/sys/dev/nvmm/x86/nvmm_x86.h cvs rdiff -u -r1.9 -r1.10 src/sys/dev/nvmm/x86/nvmm_x86_svm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src
Module Name:src Committed By: maxv Date: Sun Jan 6 16:13:51 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c src/usr.sbin/cpuctl/arch: i386.c Log Message: Handle the NVMM signature. To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/arch/x86/x86/identcpu.c cvs rdiff -u -r1.90 -r1.91 src/usr.sbin/cpuctl/arch/i386.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/x86/x86
Module Name:src Committed By: maxv Date: Sun Jan 6 16:19:12 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: Flush the host TLB too when dealing with a guest pmap. The pmap is not active on the host so the pages aren't cached; but the recursive PTE entries may have been cached by our pmap code. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/x86_tlb.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/share/mk
Module Name:src Committed By: christos Date: Sun Jan 6 17:02:32 UTC 2019 Modified Files: src/share/mk: bsd.lib.mk Log Message: Since g++ uses stdc++_p when building with -pg make this PIC on the platforms where PIC is available, so that linking shared objects with -pg works, without needing to create a shared library version of the profiled libraries. To generate a diff of this commit: cvs rdiff -u -r1.377 -r1.378 src/share/mk/bsd.lib.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/lib/libc/gmon
Module Name:src Committed By: christos Date: Sun Jan 6 18:14:10 UTC 2019 Modified Files: src/lib/libc/gmon: Makefile.inc Log Message: use the pico objects if we are making a PIC profiled library. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/lib/libc/gmon/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc.old/dist/gcc/config
Module Name:src Committed By: christos Date: Sun Jan 6 18:15:18 UTC 2019 Modified Files: src/external/gpl3/gcc.old/dist/gcc/config: netbsd.h Log Message: now that our profiled c library is pic we can use it in shared objects To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc.old/dist/gcc/config/netbsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/gpl3/gcc/dist/gcc/config
Module Name:src Committed By: christos Date: Sun Jan 6 18:15:53 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc/config: netbsd.h Log Message: now that our profiled c library is pic, we can use it in shared objects To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/external/gpl3/gcc/dist/gcc/config/netbsd.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/nvmm/x86
Module Name:src Committed By: maxv Date: Sun Jan 6 18:32:54 UTC 2019 Modified Files: src/sys/dev/nvmm/x86: nvmm_x86_svm.c Log Message: Add more VMCB fields. Also remove debugging code I mistakenly committed in the previous revision. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/nvmm/x86/nvmm_x86_svm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: leot Date: Sun Jan 6 18:56:52 UTC 2019 Modified Files: src/doc: CHANGES Log Message: Adjust year in latest acpi(4) entry To generate a diff of this commit: cvs rdiff -u -r1.2484 -r1.2485 src/doc/CHANGES Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/libexec/ld.elf_so
Module Name:src Committed By: joerg Date: Sun Jan 6 19:44:54 UTC 2019 Modified Files: src/libexec/ld.elf_so: map_object.c Log Message: When loading a non-PIE main binary, the virtual address must match. Use MAP_TRYFIXED and verify that the result matches the expectation. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/libexec/ld.elf_so/map_object.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/dist/crypto
Module Name:src Committed By: christos Date: Sun Jan 6 22:20:50 UTC 2019 Modified Files: src/crypto/external/bsd/openssl/dist/crypto: ppccpuid.pl Log Message: PR/53838: Scole Mail: OPENSSL_rdtsc() is reading a time counter for randomness, and the powerpc code uses mftbu and mftb for access. The 601 is different than other powerpcs. It doesn't have a time base register (TBR), but a real time clock (RTC) so it needs to use different calls like mfrtcu/mfrtcl instead. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 \ src/crypto/external/bsd/openssl/dist/crypto/ppccpuid.pl Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc
Module Name:src Committed By: christos Date: Sun Jan 6 22:22:02 UTC 2019 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc: ppccpuid.S sha256p8-ppc.S sha512p8-ppc.S Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/ppccpuid.S cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha256p8-ppc.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc/sha512p8-ppc.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64
Module Name:src Committed By: christos Date: Sun Jan 6 22:22:26 UTC 2019 Modified Files: src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64: sha256p8-ppc.S sha512p8-ppc.S Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha256p8-ppc.S \ src/crypto/external/bsd/openssl/lib/libcrypto/arch/powerpc64/sha512p8-ppc.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/doc
Module Name:src Committed By: wiz Date: Sun Jan 6 22:30:02 UTC 2019 Modified Files: src/doc: 3RDPARTY Log Message: Fix edito. To generate a diff of this commit: cvs rdiff -u -r1.1587 -r1.1588 src/doc/3RDPARTY Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/hdaudio
Module Name:src Committed By: mrg Date: Mon Jan 7 01:03:05 UTC 2019 Modified Files: src/sys/dev/hdaudio: hdaudioreg.h Log Message: s/1 << 31/1u << 31/. XXX someone could __BIT() etc this file. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/dev/hdaudio/hdaudioreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Mon Jan 7 01:37:05 UTC 2019 Modified Files: src/sys/dev/mii: mdio.h Log Message: Add definitions of EEE advertisement(7.60) and EEE LP ability(7.61). To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/mii/mdio.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/distrib/macppc/floppies/ramdisk
Module Name:src Committed By: scole Date: Mon Jan 7 01:39:26 UTC 2019 Modified Files: src/distrib/macppc/floppies/ramdisk: Makefile Log Message: increase IMAGESIZE slightly to avoid running out of space when doing some sysinst options To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/distrib/macppc/floppies/ramdisk/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev
Module Name:src Committed By: msaitoh Date: Mon Jan 7 01:43:22 UTC 2019 Modified Files: src/sys/dev/mii: inbmphyreg.h src/sys/dev/pci: if_wm.c Log Message: Add EEE(802.3az) support for I350, I210, I211, PCH2 and newer. Not yet for I354(C2000). It'll be supported after implementing MI MII clause 45 register read/write API. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/dev/mii/inbmphyreg.h cvs rdiff -u -r1.613 -r1.614 src/sys/dev/pci/if_wm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/macppc/conf
Module Name:src Committed By: scole Date: Mon Jan 7 01:44:59 UTC 2019 Modified Files: src/sys/arch/macppc/conf: GENERIC_601 GENERIC_MD INSTALL INSTALL_601 Log Message: increase MEMORY_DISK_ROOT_SIZE slightly to avoid running out of space when doing some sysinst options. Add ahc and rtk options for my testing convenience. The 601 kernels are still small enough for netbooting. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/macppc/conf/GENERIC_601 cvs rdiff -u -r1.16 -r1.17 src/sys/arch/macppc/conf/GENERIC_MD cvs rdiff -u -r1.128 -r1.129 src/sys/arch/macppc/conf/INSTALL cvs rdiff -u -r1.1 -r1.2 src/sys/arch/macppc/conf/INSTALL_601 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/usb
Module Name:src Committed By: jakllsch Date: Mon Jan 7 03:00:39 UTC 2019 Modified Files: src/sys/dev/usb: xhci.c xhcivar.h Log Message: Seperate xHCI and xhci(4) TRB structs so as to avoid some of them (the ones that the hardware doesn't touch) ending up less-aligned than the compiler assumed. Additionally, fix the most obvious problems that xhci(4) had on big endian systems. Briefly tested on a Jetson TK1 in LE and BE w/ evbarm GENERIC kernel. To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/dev/usb/xhci.c cvs rdiff -u -r1.10 -r1.11 src/sys/dev/usb/xhcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/mii
Module Name:src Committed By: msaitoh Date: Mon Jan 7 05:01:11 UTC 2019 Modified Files: src/sys/dev/mii: rlphy.c Log Message: Fix a bug that rlphy might ignore the link partner's advertised speed. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/mii/rlphy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.