CVS commit: src/sys/netinet
Module Name:src Committed By: ozaki-r Date: Wed Nov 22 07:40:45 UTC 2017 Modified Files: src/sys/netinet: ip_carp.c Log Message: Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/netinet/ip_carp.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/netipsec
Module Name:src Committed By: ozaki-r Date: Wed Nov 22 05:43:28 UTC 2017 Modified Files: src/sys/netipsec: key.c Log Message: Fix usage of FOREACH macro key_sad.lock is held there so SAVLIST_WRITER_FOREACH is enough. To generate a diff of this commit: cvs rdiff -u -r1.242 -r1.243 src/sys/netipsec/key.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: ozaki-r Date: Wed Nov 22 05:42:30 UTC 2017 Modified Files: src/sys/net: if_spppsubr.c Log Message: Protect IFADDR_READER_FOREACH and obtained ifa with psz/psref To generate a diff of this commit: cvs rdiff -u -r1.172 -r1.173 src/sys/net/if_spppsubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Wed Nov 22 05:17:33 UTC 2017 Modified Files: src/sys/net: if_vlan.c Log Message: s/65535/4095/ in the comment. Pointed out by christos. Thanks. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Wed Nov 22 04:56:52 UTC 2017 Modified Files: src/sys/net: if_vlan.c Log Message: Return EINVAL in vlan_config() when a VLAN ID is 0 or 65535. The spec states 0 and 65535 are reserved. To generate a diff of this commit: cvs rdiff -u -r1.110 -r1.111 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Wed Nov 22 04:27:57 UTC 2017 Modified Files: src/sys/net: if_ethersubr.c Log Message: - Modify ether_ioctl() for readability. No functional change. - KNF To generate a diff of this commit: cvs rdiff -u -r1.246 -r1.247 src/sys/net/if_ethersubr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Wed Nov 22 03:45:16 UTC 2017 Modified Files: src/sys/net: if_ether.h if_vlan.c if_vlanvar.h Log Message: No functional change: - u_int16_t -> uint16_t - u_short -> uint16_t - tag_hash_func -> vlan_tag_hash - 0 -> NULL because vlr_parent is a pointer. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/net/if_ether.h cvs rdiff -u -r1.109 -r1.110 src/sys/net/if_vlan.c cvs rdiff -u -r1.11 -r1.12 src/sys/net/if_vlanvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: ozaki-r Date: Wed Nov 22 03:03:18 UTC 2017 Modified Files: src/sys/kern: sys_socket.c src/sys/net: if.c if.h if_media.c if_vlan.c Log Message: Hold KERNEL_LOCK on if_ioctl selectively based on IFEF_MPSAFE If IFEF_MPSAFE is set, hold the lock and otherwise don't hold. This change requires additions of KERNEL_LOCK to subsequence functions from if_ioctl such as ifmedia_ioctl and ifioctl_common to protect non-MP-safe components. Proposed on tech-kern@ and tech-net@ To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/sys/kern/sys_socket.c cvs rdiff -u -r1.398 -r1.399 src/sys/net/if.c cvs rdiff -u -r1.243 -r1.244 src/sys/net/if.h cvs rdiff -u -r1.34 -r1.35 src/sys/net/if_media.c cvs rdiff -u -r1.108 -r1.109 src/sys/net/if_vlan.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/systat
Module Name:src Committed By: snj Date: Wed Nov 22 02:52:42 UTC 2017 Modified Files: src/usr.bin/systat: main.c Log Message: add -b to usage. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/usr.bin/systat/main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Wed Nov 22 02:36:52 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c if_wmreg.h Log Message: Revert if_wmreg.h 1.104 and if_wm.c 1.542. It's not required to mask other than VLAN ID bits in VLAN tag. To generate a diff of this commit: cvs rdiff -u -r1.543 -r1.544 src/sys/dev/pci/if_wm.c cvs rdiff -u -r1.104 -r1.105 src/sys/dev/pci/if_wmreg.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/pci
Module Name:src Committed By: msaitoh Date: Wed Nov 22 02:35:54 UTC 2017 Modified Files: src/sys/dev/pci: if_bge.c Log Message: Revert part of if_bge.c 1.312. It's not reqired to mask other than VLAN ID bits in VLAN tag. To generate a diff of this commit: cvs rdiff -u -r1.312 -r1.313 src/sys/dev/pci/if_bge.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/net
Module Name:src Committed By: msaitoh Date: Wed Nov 22 02:35:25 UTC 2017 Modified Files: src/sys/net: if_ether.h if_vlan.c if_vlanvar.h Log Message: Fix a bug that a vlan packet which has priority or CFI bit in the tag causes panic. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/net/if_ether.h cvs rdiff -u -r1.107 -r1.108 src/sys/net/if_vlan.c cvs rdiff -u -r1.10 -r1.11 src/sys/net/if_vlanvar.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: Wed Nov 22 02:20:22 UTC 2017 Modified Files: src/sys/kern: kern_softint.c Log Message: Increase the size of softint's data to prevent panic on big machine. Nowadays, some device drivers and some pseudo interfaces allocate a lot of softints. The resource size for softints are static and it panics when it execeed the limit. It can be dynamically resized. Untill dynamically resizing is implemented, increase softint_bytes from 8192 to 32768. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/kern/kern_softint.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/raidctl
Module Name:src Committed By: kre Date: Wed Nov 22 00:31:31 UTC 2017 Modified Files: src/sbin/raidctl: rf_configure.c Log Message: Several more cleanups: 1. Don't force use of "for" when "while" works better. 2. No need to check c != '\0' when we also check (c == ' ' || c == '\t') 3. Use the size of the buffer we're using, rather than a different one (not really a concern, they're the same size) 4. Don't use fscanf() to read file data, use fgets() & sscanf(). 5. After using a pointer as a char *, validate alignment before switching to int * (can only fail if kernel #define gets set stupidly) Or #6... 6. Validate sparemap file name isn't too long for assigned space. 7. recognise that strlen() returns size_t - don't shove it into an int. 8. On out of mem, be more clear which allocation failed in warning msg. ATF tests all pass. But I don't think they use sparemap files. To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32 src/sbin/raidctl/rf_configure.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/raidctl
Module Name:src Committed By: christos Date: Tue Nov 21 16:31:37 UTC 2017 Modified Files: src/sbin/raidctl: rf_configure.c Log Message: Avoid needless pointer calisthenics: &foo[0] -> foo To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sbin/raidctl/rf_configure.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sbin/raidctl
Module Name:src Committed By: kre Date: Tue Nov 21 16:19:31 UTC 2017 Modified Files: src/sbin/raidctl: rf_configure.c Log Message: With char bug[SIZE] using sizeof(bug[0]) is kind of boring, use sizeof(bug) instead... To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sbin/raidctl/rf_configure.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/rump/librump/rumpkern
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 15:22:06 UTC 2017 Modified Files: src/sys/rump/librump/rumpkern: emul.c Log Message: Add missing inclusion of pserialize.h (fix build) To generate a diff of this commit: cvs rdiff -u -r1.184 -r1.185 src/sys/rump/librump/rumpkern/emul.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/doc
Module Name:src Committed By: martin Date: Tue Nov 21 15:13:36 UTC 2017 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Tickets #362 - #367 To generate a diff of this commit: cvs rdiff -u -r1.1.2.78 -r1.1.2.79 src/doc/CHANGES-8.0 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/net
Module Name:src Committed By: martin Date: Tue Nov 21 15:06:28 UTC 2017 Modified Files: src/sys/net [netbsd-8]: if_media.h Log Message: Pull up following revision(s) (requested by msaitoh in ticket #366): sys/net/if_media.h: revision 1.60 sys/net/if_media.h: revision 1.61 All Ethernet media more than 1000Mbps don't support half duplex. For the convinience, ifconfig without "mediaopt fullduplex" sets IFM_FDX automatically for those medias. Without this change, "ifconfig xxN mediaopt 10Gbase-T" (without "mediaopt fullduplex") returns EINVAL if a driver doesn't call ifmedia_add() without IFM_FDX because ifmedia_match() returns NULL. Add 2.5GBASE-T and 5GBASE-T. To generate a diff of this commit: cvs rdiff -u -r1.57.8.1 -r1.57.8.2 src/sys/net/if_media.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/sys/arch/x86/x86
Module Name:src Committed By: martin Date: Tue Nov 21 15:11:52 UTC 2017 Modified Files: src/sys/arch/x86/x86 [netbsd-8]: procfs_machdep.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #367): sys/arch/x86/x86/procfs_machdep.c: revision 1.20 sys/arch/x86/x86/procfs_machdep.c: revision 1.17 sys/arch/x86/x86/procfs_machdep.c: revision 1.18 Print the following cpuid bits: 0x000d:1 eax (xsaveopt, xsavec, xgetbv1, xsaves) 0x000f:0 edx (cqm_llc) 0x000f:1 edx (cqm_occup_llc) 0x0006 eax (dtherm, ida, arat, pln, pts, hwp, hwp_notify, hwp_act_window, hwp_epp, hwp_pkg_req) - Use per cpu ci->ci_max_cupid instead of global "cpuid_level" variable. - Print AMD specific cpuid leafs: 0x8008 ebx 0x800a edx 0x8007 ebx 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 rdiff -u -r1.15.2.1 -r1.15.2.2 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: [netbsd-8] src
Module Name:src Committed By: martin Date: Tue Nov 21 15:03:20 UTC 2017 Modified Files: src/sys/arch/x86/include [netbsd-8]: specialreg.h src/sys/arch/x86/x86 [netbsd-8]: cpu_topology.c identcpu.c src/usr.sbin/cpuctl/arch [netbsd-8]: i386.c Log Message: Pull up following revision(s) (requested by msaitoh in ticket #365): sys/arch/x86/include/specialreg.h: revision 1.99 usr.sbin/cpuctl/arch/i386.c: revision 1.75 usr.sbin/cpuctl/arch/i386.c: revision 1.76 usr.sbin/cpuctl/arch/i386.c: revision 1.77 usr.sbin/cpuctl/arch/i386.c: revision 1.78 sys/arch/x86/x86/identcpu.c: revision 1.56 sys/arch/x86/x86/identcpu.c: revision 1.57 sys/arch/x86/x86/cpu_topology.c: revision 1.10 sys/arch/x86/include/specialreg.h: revision 1.100 sys/arch/x86/include/specialreg.h: revision 1.101 sys/arch/x86/include/specialreg.h: revision 1.102 sys/arch/x86/include/specialreg.h: revision 1.103 sys/arch/x86/include/specialreg.h: revision 1.104 sys/arch/x86/include/specialreg.h: revision 1.105 Add EFER_TCE. This would be an interesting feature to have, since it reduces the indirect cost of invlpg; but I'm not convinced the way we flush upper-levels is correct for this yet. Fix typo in comment Add a comment about APICBASE_PHYSADDR. Has to do with PR/42597. Define CPUID Fn0001 %ebx bits and use them. No functional change. Set ci->ci_cflush_lsize correctly. This bug was added in the last commit(1.56). Add the following instruction bits in Structured Extended Flags Enumeration Leaf from "Intel Architecture Instruction Set Extensions and Future Features Programming Reference" (319433-030): AVX512_IFMA AVX512_VBMI AVX512_VBMI2 GFNI VAES VPCLMULQDQ AVX512_VNNI AVX512_BITALG AVX512_VPOPCNTDQ AVX512_4VNNIW AVX512_4FMAPS - Print ci_feat_val[5] (Structured Extended Feature leaf Fn_0007 %ebx) on AMD, too. - Print ci_feat_val[6] (Fn_0007 %ecx) on Intel. Update from the latest Intel SDM: 0x5c: Atom (Goldmont) 0x5f: Atom (Goldmont, Denverton) 0x7a: Atom (Goldmont Plus) Add Turbo Boost Max Technology 3.0 bit. Update from Intel SDM: 0x55: Xeon Scalable (Skylake) 0x57: Xeon Phi [357]200 (Knights Landing) 0x66: Future Core (Cannon Lake) 0x85: Future Xeon Phi (Knights Mill) Add the following bits in AMD Fn800a %edx features (SVM features): PFThreshold (PAUSE filter threshold) AVIC (AMD virtual interrupt controller) V_VMSAVE_VMLOAD (virtualized VMSAVE and VMLOAD) vGIF (virtualized GIF) To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.98.2.1 src/sys/arch/x86/include/specialreg.h cvs rdiff -u -r1.9 -r1.9.22.1 src/sys/arch/x86/x86/cpu_topology.c cvs rdiff -u -r1.55 -r1.55.2.1 src/sys/arch/x86/x86/identcpu.c cvs rdiff -u -r1.74 -r1.74.6.1 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: [netbsd-8] src/sys/dev/pci
Module Name:src Committed By: martin Date: Tue Nov 21 14:51:08 UTC 2017 Modified Files: src/sys/dev/pci [netbsd-8]: pcidevs.h pcidevs_data.h Log Message: regen To generate a diff of this commit: cvs rdiff -u -r1.1281.2.1 -r1.1281.2.2 src/sys/dev/pci/pcidevs.h cvs rdiff -u -r1.1280.2.1 -r1.1280.2.2 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/sys/dev/pci
Module Name:src Committed By: martin Date: Tue Nov 21 14:48:23 UTC 2017 Modified Files: src/sys/dev/pci [netbsd-8]: pcidevs Log Message: Pull up following revision(s) (requested by msaitoh in ticket #364): sys/dev/pci/pcidevs: revision 1.1300 sys/dev/pci/pcidevs: revision 1.1301 sys/dev/pci/pcidevs: revision 1.1290 sys/dev/pci/pcidevs: revision 1.1292 sys/dev/pci/pcidevs: revision 1.1293 sys/dev/pci/pcidevs: revision 1.1294 sys/dev/pci/pcidevs: revision 1.1295 sys/dev/pci/pcidevs: revision 1.1296 sys/dev/pci/pcidevs: revision 1.1297 sys/dev/pci/pcidevs: revision 1.1298 - Change VMware's 0x0770 from "Virtual USB" to "Virtual EHCI" - Add VMware's 0x0774(UHCI) and 0x0778(xHCI) Add Intel 82Q965 HECI. Add Atom Z8000 devices from "Intel Atom Z8000 Processor Series Datasheet (Volume 2 of 2)". - Add some AMD devices. - Add Broadcom BCM5762. Add Intel 5520/X58 QuickPath from OpenBSD. PCI device ID of Atom x5-Z8350's video is 0x22b0. ark.intel.com says 0x22b0 is Intel HD Graphics 400. Add C3000 devices. Add Intel QuickAssist devices. Add Areca ARC1214 & ARC1880. From OpenBSD. Add PEX 8605 4port 4lane PCIe Gen 2 switch. To generate a diff of this commit: cvs rdiff -u -r1.1289.2.1 -r1.1289.2.2 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/mii
Module Name:src Committed By: martin Date: Tue Nov 21 14:43:17 UTC 2017 Modified Files: src/sys/dev/mii [netbsd-8]: mdio.h Log Message: Pull up following revision(s) (requested by msaitoh in ticket #363): sys/dev/mii/mdio.h: revision 1.4 sys/dev/mii/mdio.h: revision 1.5 sys/dev/mii/mdio.h: revision 1.6 sys/dev/mii/mdio.h: revision 1.7 Add missing RCS Id. Fix typo. - Update IEEE 802.3 Clause 45 definitions from IEEE 802.3 2009 to IEEE 802.3 2015. - Modify register names. - Modify comments. Define bit definitions of MDIO_PMAPMD_CTRL1 and MDIO_AN_CTRL1. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.32.1 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: [netbsd-8] src/sys/dev/pci
Module Name:src Committed By: martin Date: Tue Nov 21 14:16:38 UTC 2017 Modified Files: src/sys/dev/pci [netbsd-8]: pci_subr.c pcireg.h Log Message: Pull up following revision(s) (requested by msaitoh in ticket #362): sys/dev/pci/pcireg.h: revision 1.133 sys/dev/pci/pcireg.h: revision 1.134 sys/dev/pci/pcireg.h: revision 1.135 sys/dev/pci/pci_subr.c: revision 1.190 sys/dev/pci/pci_subr.c: revision 1.191 sys/dev/pci/pci_subr.c: revision 1.192 sys/dev/pci/pci_subr.c: revision 1.193 sys/dev/pci/pci_subr.c: revision 1.194 sys/dev/pci/pcireg.h: revision 1.132 - Official shortname of LN Requester is LNR, so change PCI_EXTCAP_LN_REQ to PCI_EXTCAP_LNR - Use macro. - Add PCI_MAPREG_ROM_ADDR_MASK macro and PCI_MAPREG_ROM_ADDR() macro. - print PCI_MAPREG_ROM_ENABLE bit. - Decode Expansion ROM Validation ECN. - Add Native PCIe Enclosure Management ECN's extended capability type. Not decoded yet. Decode IOMMU capability of PCI secure device capability. From "AMD I/O Virtualization Technology(IOMMU) Specification (#48882) Revision 3.00". IOMMU cap dump fixes: - Print Capability Register's value. - Indent output correctly. - s/cahced/cached/ - Print MSI Message number with 0x%02x Fix a bug that the TPH ST table is decoded even if it's not in the TPH Requester extended capability structure. To generate a diff of this commit: cvs rdiff -u -r1.183.2.1 -r1.183.2.2 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.130.2.1 -r1.130.2.2 src/sys/dev/pci/pcireg.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/doc
Module Name:src Committed By: martin Date: Tue Nov 21 13:09:49 UTC 2017 Modified Files: src/doc [netbsd-8]: CHANGES-8.0 Log Message: Ammend ticket #248 for partial backout (ticket #361). Note tickets #358, #359 and #360 To generate a diff of this commit: cvs rdiff -u -r1.1.2.77 -r1.1.2.78 src/doc/CHANGES-8.0 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/ixgbe
Module Name:src Committed By: martin Date: Tue Nov 21 11:38:19 UTC 2017 Modified Files: src/sys/dev/pci/ixgbe [netbsd-8]: ixgbe.c Log Message: Revert the pullup of the following revision(s) (requested by msaitoh in ticket #361): sys/dev/pci/ixgbe/ixgbe.c: revision 1.97 Revert a part of ticket #248 because it panics when attaching. It is hard to fix with a small change. To generate a diff of this commit: cvs rdiff -u -r1.88.2.3 -r1.88.2.4 src/sys/dev/pci/ixgbe/ixgbe.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
Module Name:src Committed By: martin Date: Tue Nov 21 11:11:20 UTC 2017 Modified Files: src/sys/netipsec [netbsd-8]: key.c src/tests/net/ipsec [netbsd-8]: t_ipsec_misc.sh Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #360): tests/net/ipsec/t_ipsec_misc.sh: revision 1.21 tests/net/ipsec/t_ipsec_misc.sh: revision 1.22 sys/netipsec/key.c: revision 1.235 Mark key_timehandler_ch callout as MP-safe (just forgot to do so) "Mark key_timehandler_ch callout as MP-safe" change needs one more sec to make lifetime tests stable Dedup some checks And the change a bit optimizes checks of SA expirations, which may shorten testing time. To generate a diff of this commit: cvs rdiff -u -r1.163.2.1 -r1.163.2.2 src/sys/netipsec/key.c cvs rdiff -u -r1.6.2.2 -r1.6.2.3 src/tests/net/ipsec/t_ipsec_misc.sh 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/arch
Module Name:src Committed By: martin Date: Tue Nov 21 11:01:02 UTC 2017 Modified Files: src/sys/arch/amd64/include [netbsd-8]: i82093reg.h src/sys/arch/i386/include [netbsd-8]: i82093reg.h src/sys/arch/x86/x86 [netbsd-8]: ioapic.c Log Message: Pull up following revision(s) (requested by nakayama in ticket #359): sys/arch/amd64/include/i82093reg.h: revision 1.9 sys/arch/x86/x86/ioapic.c: revision 1.54 sys/arch/i386/include/i82093reg.h: revision 1.11 Don't write a 1 to the read only RIRR bit in the IOAPIC redirection register to fix "tlp0: filter setup and transmit timeout" observed on Hyper-V VMs with the Legacy Network Adapter. >From OpenBSD via PR kern/49323: https://marc.info/?l=openbsd-cvs&m=146718035432599&w=2 Modified files: sys/arch/amd64/amd64: ioapic.c sys/arch/amd64/include: i82093reg.h Log message: Don't write a 1 to the RIRR bit in the IOAPIC redirection register. This bit is R/O, and although it should not matter what value is written there, Hyper-V's emulated IOAPIC interprets a write of 1 in some unexpected way and subsequently blocks interrupt delivery. This primarily manifests itself as de(4) timeouts when using Hyper-V VMs with the "Legacy Network Adapter" interface. Tested both amd64 and i386 on Client Hyper-V on Windows 10. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.8.2.1 src/sys/arch/amd64/include/i82093reg.h cvs rdiff -u -r1.10 -r1.10.2.1 src/sys/arch/i386/include/i82093reg.h cvs rdiff -u -r1.52 -r1.52.10.1 src/sys/arch/x86/x86/ioapic.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/pci
Module Name:src Committed By: maxv Date: Tue Nov 21 10:55:23 UTC 2017 Modified Files: src/sys/dev/pci: mlyreg.h Log Message: Mmh, surprising bug. It's __packed, not __packed__. Here the structure is not packed for real, but instead a global __packed__ symbol is declared. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/mlyreg.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: Tue Nov 21 10:54:19 UTC 2017 Modified Files: src/tests/net/ndp [netbsd-8]: t_ra.sh src/usr.sbin/rtadvd [netbsd-8]: advcap.c config.c dump.c if.c rrenum.c rtadvd.8 rtadvd.c timer.c Added Files: src/usr.sbin/rtadvd [netbsd-8]: logit.h Log Message: Pull up following revision(s) (requested by ozaki-r in ticket #358): usr.sbin/rtadvd/rtadvd.c: revision 1.54-1.58 usr.sbin/rtadvd/config.c: revision 1.37 usr.sbin/rtadvd/if.c: revision 1.25 usr.sbin/rtadvd/dump.c: revision 1.15 usr.sbin/rtadvd/rrenum.c: revision 1.20 usr.sbin/rtadvd/logit.h: revision 1.1 usr.sbin/rtadvd/rtadvd.8: revision 1.26 tests/net/ndp/t_ra.sh: revision 1.30 usr.sbin/rtadvd/timer.c: revision 1.14 tests/net/ndp/t_ra.sh: revision 1.31 usr.sbin/rtadvd/advcap.c: revision 1.17 KNF, fix time printing formats. Don't start another copy of rtadvd if one is running. PR/52618: Shinichi Doyashiki: Don't exit if adding interface to multicast group fails. This happens with empty vlan interfaces - make syscalls checks against -1 - fix errors to print %s: instead of <%s> XXX: if_vlan is the only pseudo interface in net/ that returns such an error.. Kill rtadvd surely even if the tests fail in the middle It may help PR bin/52701. Change the meaning of the D flag to print errors to stderr instead of syslog(3) and exit if poll(2) fails (intended to be used with unit-tests). Mark expandm as preserving format strings. Let rtadvd not use syslog for logging Thanks to christos@ now rtadvd can log via stderr instead of syslog by -D option. Address PR bin/52701 To generate a diff of this commit: cvs rdiff -u -r1.27.2.1 -r1.27.2.2 src/tests/net/ndp/t_ra.sh cvs rdiff -u -r1.16 -r1.16.8.1 src/usr.sbin/rtadvd/advcap.c cvs rdiff -u -r1.36 -r1.36.4.1 src/usr.sbin/rtadvd/config.c cvs rdiff -u -r1.14 -r1.14.8.1 src/usr.sbin/rtadvd/dump.c cvs rdiff -u -r1.24 -r1.24.8.1 src/usr.sbin/rtadvd/if.c cvs rdiff -u -r0 -r1.1.2.2 src/usr.sbin/rtadvd/logit.h cvs rdiff -u -r1.19 -r1.19.8.1 src/usr.sbin/rtadvd/rrenum.c cvs rdiff -u -r1.25 -r1.25.6.1 src/usr.sbin/rtadvd/rtadvd.8 cvs rdiff -u -r1.53 -r1.53.4.1 src/usr.sbin/rtadvd/rtadvd.c cvs rdiff -u -r1.13 -r1.13.8.1 src/usr.sbin/rtadvd/timer.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/compat/linux/common
Module Name:src Committed By: maxv Date: Tue Nov 21 10:45:12 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_sg.c Log Message: This should be "linux_sg_version", not "version". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/compat/linux/common/linux_sg.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/amd64/amd64
Module Name:src Committed By: maxv Date: Tue Nov 21 10:42:44 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: machdep.c Log Message: Remove unused variables. To generate a diff of this commit: cvs rdiff -u -r1.276 -r1.277 src/sys/arch/amd64/amd64/machdep.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/amd64/amd64
Module Name:src Committed By: maxv Date: Tue Nov 21 09:58:09 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: locore.S Log Message: Remove unused symbol - it is aligned to 4096 and this reduces the number of possible locations for .bss in KASLR kernels. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/arch/amd64/amd64/locore.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys
Module Name:src Committed By: ozaki-r Date: Tue Nov 21 08:49:15 UTC 2017 Modified Files: src/sys/kern: kern_lock.c subr_pserialize.c src/sys/rump/librump/rumpkern: emul.c rump.c src/sys/sys: pserialize.h Log Message: Implement debugging feature for pserialize(9) The debugging feature detects violations of pserialize constraints. It causes a panic: - if a context switch happens in a read section, or - if a sleepable function is called in a read section. The feature is enabled only if LOCKDEBUG is on. Discussed on tech-kern@ To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160 src/sys/kern/kern_lock.c cvs rdiff -u -r1.8 -r1.9 src/sys/kern/subr_pserialize.c cvs rdiff -u -r1.183 -r1.184 src/sys/rump/librump/rumpkern/emul.c cvs rdiff -u -r1.329 -r1.330 src/sys/rump/librump/rumpkern/rump.c cvs rdiff -u -r1.1 -r1.2 src/sys/sys/pserialize.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/bsd/tre/dist
Module Name:src Committed By: rin Date: Tue Nov 21 08:19:55 UTC 2017 Removed Files: src/external/bsd/tre/dist/doc: Makefile.in src/external/bsd/tre/dist/lib: Makefile.in src/external/bsd/tre/dist/m4: Makefile.in gettext.m4 iconv.m4 intlmacosx.m4 lib-ld.m4 lib-link.m4 lib-prefix.m4 nls.m4 po.m4 progtest.m4 src/external/bsd/tre/dist/po: Makefile.in.in Rules-quot boldquot.sed en@boldquot.header en@quot.header insert-header.sin quot.sed remove-potcdate.sin stamp-po tre.pot src/external/bsd/tre/dist/src: Makefile.in src/external/bsd/tre/dist/tests: Makefile.in src/external/bsd/tre/dist/tests/agrep: Makefile.in src/external/bsd/tre/dist/utils: Makefile.in compile config.guess config.rpath config.sub depcomp install-sh ltmain.sh missing mkinstalldirs src/external/bsd/tre/dist/win32: retest.dsp tre.dsp tre.dsw Log Message: Remove more files that should be removed when tre was imported from github repository. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/doc/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/lib/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/m4/Makefile.in \ src/external/bsd/tre/dist/m4/gettext.m4 \ src/external/bsd/tre/dist/m4/iconv.m4 \ src/external/bsd/tre/dist/m4/intlmacosx.m4 \ src/external/bsd/tre/dist/m4/lib-ld.m4 \ src/external/bsd/tre/dist/m4/lib-link.m4 \ src/external/bsd/tre/dist/m4/lib-prefix.m4 \ src/external/bsd/tre/dist/m4/nls.m4 src/external/bsd/tre/dist/m4/po.m4 \ src/external/bsd/tre/dist/m4/progtest.m4 cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/po/Makefile.in.in \ src/external/bsd/tre/dist/po/Rules-quot \ src/external/bsd/tre/dist/po/boldquot.sed \ src/external/bsd/tre/dist/po/en@boldquot.header \ src/external/bsd/tre/dist/po/en@quot.header \ src/external/bsd/tre/dist/po/insert-header.sin \ src/external/bsd/tre/dist/po/quot.sed \ src/external/bsd/tre/dist/po/remove-potcdate.sin \ src/external/bsd/tre/dist/po/stamp-po \ src/external/bsd/tre/dist/po/tre.pot cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/src/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/tests/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/tests/agrep/Makefile.in cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/utils/Makefile.in \ src/external/bsd/tre/dist/utils/compile \ src/external/bsd/tre/dist/utils/config.rpath \ src/external/bsd/tre/dist/utils/depcomp \ src/external/bsd/tre/dist/utils/install-sh \ src/external/bsd/tre/dist/utils/ltmain.sh \ src/external/bsd/tre/dist/utils/missing \ src/external/bsd/tre/dist/utils/mkinstalldirs cvs rdiff -u -r1.2 -r0 src/external/bsd/tre/dist/utils/config.guess \ src/external/bsd/tre/dist/utils/config.sub cvs rdiff -u -r1.1.1.1 -r0 src/external/bsd/tre/dist/win32/retest.dsp \ src/external/bsd/tre/dist/win32/tre.dsp \ src/external/bsd/tre/dist/win32/tre.dsw Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.