CVS commit: [netbsd-8] src/sys/netinet
Module Name:src Committed By: martin Date: Wed Oct 17 13:38:04 UTC 2018 Modified Files: src/sys/netinet [netbsd-8]: ip_reass.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1045): sys/netinet/ip_reass.c: revision 1.19-1.21 Hold ip_off and ip_len in the fragment entry, instead of always reading the associated mbuf (and converting to host order). This reduces the cache/TLB misses when processing long lists. - Kick fragments that would introduce several !MFFs in a reassembly chain. The problem arises if we receive three fragments of the kind 3. A -> has MFF 1. B -> doesn't have MFF 2. C -> doesn't have MFF Because of the received order B->C->A, we don't see that B is !MFF, and therefore that there is a problem in this chain. Now we do two checks, and drop us if: * there is a fragment preceding us, and this fragment is !MFF, or * there is a fragment following us, and we are !MFF Spotted a long time ago. - Force ip_off to zero when the reassembly is complete. This was lost in my rev1.19 - before that the IP struct was clobbered for the reassembly, but it actually implicitly guaranteed that the first fragment of the packet would end up with ip_off = 0, and this was a desired behavior. To generate a diff of this commit: cvs rdiff -u -r1.11.8.6 -r1.11.8.7 src/sys/netinet/ip_reass.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/pci
Module Name:src Committed By: martin Date: Wed Oct 17 13:45:31 UTC 2018 Modified Files: src/sys/dev/pci [netbsd-8]: aac_pci.c pcidevs Log Message: Pull up following revision(s) (requested by uwe in ticket #1064): sys/dev/pci/aac_pci.c: revision 1.39 sys/dev/pci/pcidevs: revision 1.1348 Add Adaptec RAID 2445 and 2805. >From Dima Veselov. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.38.8.1 src/sys/dev/pci/aac_pci.c cvs rdiff -u -r1.1289.2.9 -r1.1289.2.10 src/sys/dev/pci/pcidevs Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/sys/dev/pci
Module Name:src Committed By: martin Date: Wed Oct 17 13:46:58 UTC 2018 Modified Files: src/sys/dev/pci [netbsd-8]: pcidevs.h pcidevs_data.h Log Message: Regen for ticket #1064 To generate a diff of this commit: cvs rdiff -u -r1.1281.2.9 -r1.1281.2.10 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1280.2.9 -r1.1280.2.10 src/sys/dev/pci/pcidevs_data.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src
Module Name:src Committed By: martin Date: Wed Oct 17 13:50:25 UTC 2018 Modified Files: src/distrib/sets/lists/base [netbsd-8]: mi src/etc/mtree [netbsd-8]: NetBSD.dist.base Log Message: Pull up following revision(s) (requested by hannken in ticket #1065): etc/mtree/NetBSD.dist.base: revision 1.174 distrib/sets/lists/base/mi: revision 1.1186 add /var/chroot/nsd/var/run - fix the build add mssing directory to sets list To generate a diff of this commit: cvs rdiff -u -r1.1158.2.3 -r1.1158.2.4 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.160.2.1 -r1.160.2.2 src/etc/mtree/NetBSD.dist.base Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-8] src/doc
Module Name:src Committed By: martin Date: Wed Oct 17 13:51:53 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.1 Log Message: Tickets #1045, #1064 and #1065 To generate a diff of this commit: cvs rdiff -u -r1.1.2.35 -r1.1.2.36 src/doc/CHANGES-8.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/i2c
Module Name:src Committed By: jmcneill Date: Wed Oct 17 16:56:40 UTC 2018 Modified Files: src/sys/dev/i2c: tcakp.c Log Message: lock/unlock I2C bus around transfers as required by API To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/i2c/tcakp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [jdolecek-ncqfixes] src/sys/dev/ata
Module Name:src Committed By: jdolecek Date: Wed Oct 17 18:03:27 UTC 2018 Modified Files: src/sys/dev/ata [jdolecek-ncqfixes]: TODO.ncq Log Message: rechecked bad block handling under Parallels and it really doesn't set any error bits in any of the registers (neither IS nor SERR) for out-of-range block read nor write, while it works just fine under VMware, so not our bug To generate a diff of this commit: cvs rdiff -u -r1.4.2.15 -r1.4.2.16 src/sys/dev/ata/TODO.ncq 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: Wed Oct 17 23:36:58 UTC 2018 Modified Files: src/libexec/ld.elf_so: Makefile reloc.c rtld.c rtld.h Added Files: src/libexec/ld.elf_so: compat.c Log Message: Move compatibility for pre-2.0 ELF binaries into separate file. Early ELF binaries defined dlopen and friends in crt0.o by using function pointers in the object handle passed from rtld. This contract wastes space when many shared objects are allocated and ties dynamic linker and rest of the system tightly together. Fake the entry points in a static object and restrict them to the platforms that had working ELF support at the time. Keep the magic and version field used by modern crt0.o for all architectures. The checks will be removed from crt0.o in a follow-up step. To generate a diff of this commit: cvs rdiff -u -r1.138 -r1.139 src/libexec/ld.elf_so/Makefile cvs rdiff -u -r0 -r1.1 src/libexec/ld.elf_so/compat.c cvs rdiff -u -r1.112 -r1.113 src/libexec/ld.elf_so/reloc.c cvs rdiff -u -r1.192 -r1.193 src/libexec/ld.elf_so/rtld.c cvs rdiff -u -r1.133 -r1.134 src/libexec/ld.elf_so/rtld.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/arch/i386/i386
Module Name:src Committed By: cherry Date: Thu Oct 18 04:11:14 UTC 2018 Modified Files: src/sys/arch/i386/i386: cpufunc.S Log Message: Whitespace self-police. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/i386/i386/cpufunc.S 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: cherry Date: Thu Oct 18 04:14:07 UTC 2018 Modified Files: src/sys/arch/x86/x86: idt.c Log Message: Make compile-time type differentiation more explicit. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/idt.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/xen/x86
Module Name:src Committed By: cherry Date: Thu Oct 18 04:17:18 UTC 2018 Modified Files: src/sys/arch/xen/x86: xenfunc.c Log Message: Zero out page table memory for IDT before use. To copy the IDT entry before registration, de-reference the indexed value, not the first entry. Add a MAX_XEN_IDT value for max entries we expect and KASSERT() for this as a sanity check. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 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/i386/i386
Module Name:src Committed By: cherry Date: Thu Oct 18 04:22:22 UTC 2018 Modified Files: src/sys/arch/i386/i386: machdep.c Log Message: Use memory allocated for the ldt, not the idt. This must have been a typo that we got away with because we were not using the idt[] so far. This fix should now allow -current i386 XEN to boot, as before. To generate a diff of this commit: cvs rdiff -u -r1.811 -r1.812 src/sys/arch/i386/i386/machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Thu Oct 18 04:24:43 UTC 2018 Modified Files: src/bin/sh: mkinit.sh Log Message: Dynamically detect the way the shell matches \ in a pattern, and use whatever works for the sh running this script. Previously we were using the (broken, and incorrect) method that worked in old broken NetBSD sh's (and some others) and not the method that works with the current (fixed) /bin/sh and other correct shells (like bash). (For an exotic reason, in the particular use case, both methods work with ksh93, but it is also generally correct). This hasn't really mattered, as the difference is only significant (only causes actual issues - the build fails) when compiling with DEBUG enabled, which is something that most sane humans would never do, if they want to retain that sanity. The problem was detected by Patrick Welche when looking for an unrelated problem, which was once considered to be a possible sh problem, but turned out to be something entirely different. XXX pullup -8 To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/bin/sh/mkinit.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/acpitools/acpidump
Module Name:src Committed By: msaitoh Date: Thu Oct 18 04:25:35 UTC 2018 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c Log Message: Print SPCR's Interface Type and ARMH GIC Interrupt Type. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/acpitools/acpidump/acpi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/acpitools/acpidump
Module Name:src Committed By: msaitoh Date: Thu Oct 18 04:29:44 UTC 2018 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c Log Message: Decode Generic Timer Description Table(GTDT) and Processor Properties Topology Table(PPTT). Cosmetic changes and fixes might be required. Testesd by jmcneill. To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/acpitools/acpidump/acpi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Thu Oct 18 04:44:27 UTC 2018 Modified Files: src/bin/sh: show.c Log Message: Remove a DEBUG mode transition mechanism (for the transition from the ancient DEBUG TRACE() method, to the newer CTRACE() et. al.) that turns out never really needed committing - the mechanism, and the code that obsoleted it, were committed together (May 2017). [It was useful to me while getting to that state...] NFC. Not even with DEBUG shells. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/bin/sh/show.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/acpitools/acpidump
Module Name:src Committed By: msaitoh Date: Thu Oct 18 04:52:00 UTC 2018 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c Log Message: Don't print PM_TMR_BLK if the value is 0 (see also acpi_timer.c rev. 1.23). To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/acpitools/acpidump/acpi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/acpitools/acpidump
Module Name:src Committed By: msaitoh Date: Thu Oct 18 05:04:44 UTC 2018 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c Log Message: Don't print X_PM_TMR_BLK if the address value is 0. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/acpitools/acpidump/acpi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.sbin/acpitools/acpidump
Module Name:src Committed By: msaitoh Date: Thu Oct 18 05:20:06 UTC 2018 Modified Files: src/usr.sbin/acpitools/acpidump: acpi.c Log Message: Fix output of Cache type in PPTT. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/acpitools/acpidump/acpi.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/bin/sh
Module Name:src Committed By: kre Date: Thu Oct 18 05:28:45 UTC 2018 Modified Files: src/bin/sh: shell.h Log Message: Delete the old style (no longer used) DEBUG mode TRACE compat macro definitions (just to avoid any temptation to ever use them again). Update a comment which would make no sense without following the preceding comment which is being deleted with the macros it describes. While here, remove another comment that referred to events that have long past as if they were still to come. Also a grammatical comment correction - paragraphs start with capital letters... NFC (even with DEBUG defined). To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/bin/sh/shell.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/kern
Module Name:src Committed By: msaitoh Date: Thu Oct 18 05:44:19 UTC 2018 Modified Files: src/sys/kern: uipc_mbufdebug.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/kern/uipc_mbufdebug.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/evbarm/beagle
Module Name:src Committed By: skrll Date: Thu Oct 18 06:36:53 UTC 2018 Modified Files: src/sys/arch/evbarm/beagle: beagle_machdep.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/arch/evbarm/beagle/beagle_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.