CVS commit: src/sys/dev/pci
Module Name:src Committed By: msaitoh Date: Fri Nov 30 08:19:45 UTC 2018 Modified Files: src/sys/dev/pci: pci_subr.c Log Message: The downstream port of PCIe switch is not a root port, so don't print root port related register. For example, Intel 63xxESB controller's downstream port device was printed by pcictl(8) with this bug: - PCI configuration registers: Common header: 0x00: 0x35108086 0x00100147 0x06040001 0x00010010 Vendor Name: Intel (0x8086) Device Name: 63xxESB PCI Express Downstream Port #1 (0x3510) (snip) Capability register at 0x44 <= type: 0x10 (PCI Express) Capability register at 0x60 <= 0x60 - 0x44 = 0x1c type: 0x05 (MSI) Capability register at 0x70 type: 0x01 (Power Management) Capability register at 0x80 type: 0x0d (Subsystem vendor ID) (snip) PCI Message Signaled Interrupt Message Control register: 0x0080 MSI Enabled: off Multiple Message Capable: no (1 vector) Multiple Message Enabled: off (1 vector) 64 Bit Address Capable: on Per-Vector Masking Capable: off Extended Message Data Capable: off Extended Message Data Enable: off Message Address (lower) register: 0x Message Address (upper) register: 0x Message Data register: 0x (snip) PCI Express Capabilities Register (snip) Root Control Register: 0x7005 <=== 0x7005 is the first two byte SERR on Correctable Error Enable: on of the MSI capability structure SERR on Non-Fatal Error Enable: off SERR on Fatal Error Enable: on PME Interrupt Enable: off CRS Software Visibility Enable: off Root Capability Register: 0x0080 CRS Software Visibility: off Root Status Register: 0x PME Requester ID: 0x PME was asserted: off another PME is pending: off Device-dependent header: 0x40: 0x00c0 0x00616010 0x0001 0x5026 | |<- PCIe | 0x50: 0x0203f441 0x10010020 0x 0x004803c0 | ->| 0x60: 0x00807005 0x 0x 0x |<- MSI ->| 0x70: 0xc8028001 0x0100 0x 0x |<- PM ->| 0x80: 0x000d 0x 0x 0x |<- subsystem ID | -- To generate a diff of this commit: cvs rdiff -u -r1.207 -r1.208 src/sys/dev/pci/pci_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/dev/pci
Module Name:src Committed By: msaitoh Date: Fri Nov 30 09:05:35 UTC 2018 Modified Files: src/sys/dev/pci: pci_subr.c pcireg.h Log Message: Add new macro PCIE_HAS_ROOTREGS(pcie_devtype) and use it. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.144 -r1.145 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: src/tests/fs/vfs
Module Name:src Committed By: hannken Date: Fri Nov 30 09:52:39 UTC 2018 Modified Files: src/tests/fs/vfs: t_full.c Log Message: Skip zfs, it does not GOP_ALLOC. PR kern/47656 test zfs_fillfs. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/fs/vfs/t_full.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/external/cddl/osnet
Module Name:src Committed By: hannken Date: Fri Nov 30 09:53:41 UTC 2018 Modified Files: src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vnops.c src/external/cddl/osnet/sys/sys: uio.h Log Message: Zfs_write() may hide write errors if uiomove() succeeds but a further dmu_tx_assign() fails because over quota or no space. Use the emulated uiocopy() and uioskip() like illumos does. Fix the uiocopy() emulation to not clobber the iovecs. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 \ src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vnops.c cvs rdiff -u -r1.11 -r1.12 src/external/cddl/osnet/sys/sys/uio.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: Fri Nov 30 10:18:37 UTC 2018 Modified Files: src/sys/dev/pci: pci_subr.c pcireg.h Log Message: Add new PCIE_HAS_LINKREGS(pcie_devtype) and use it. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.209 -r1.210 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.145 -r1.146 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/sys
Module Name:src Committed By: martin Date: Fri Nov 30 10:28:46 UTC 2018 Modified Files: src/sys/compat/linux/common [netbsd-8]: linux_misc_notalpha.c src/sys/kern [netbsd-8]: kern_time.c Log Message: Additionally pull up following revision(s) (requested by maxv in ticket #1110): sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110 sys/kern/kern_time.c: revision 1.193 Improve my kern_time.c::rev1.192, systematically clear the buffers we get from 'ptimer_pool' to prevent more leaks. To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.109.12.1 \ src/sys/compat/linux/common/linux_misc_notalpha.c cvs rdiff -u -r1.189.8.1 -r1.189.8.2 src/sys/kern/kern_time.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/kern
Module Name:src Committed By: martin Date: Fri Nov 30 10:32:22 UTC 2018 Modified Files: src/sys/kern [netbsd-8]: kern_exit.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1114): sys/kern/kern_exit.c: revision 1.273 Fix info leak. There is one branch where 'status' is not initialized at all. + Possible info leak: [len=4, leaked=4] | #0 0x80baf397 in kleak_copyout | #1 0x80b56d0c in sys_wait6 | #2 0x80259c42 in syscall To generate a diff of this commit: cvs rdiff -u -r1.268.8.1 -r1.268.8.2 src/sys/kern/kern_exit.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: Fri Nov 30 10:33:44 UTC 2018 Modified Files: src/doc [netbsd-8]: CHANGES-8.1 Log Message: Ticket #1114, ammend ticket #1110 for additional changes pulled up. To generate a diff of this commit: cvs rdiff -u -r1.1.2.66 -r1.1.2.67 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: [netbsd-7] src/sys/kern
Module Name:src Committed By: martin Date: Fri Nov 30 10:36:09 UTC 2018 Modified Files: src/sys/kern [netbsd-7]: kern_sig.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1661): sys/kern/kern_sig.c: revision 1.350 Fix kernel info leak, 4 bytes of padding at the end of struct sigaction. + Possible info leak: [len=32, leaked=4] | #0 0x80baf327 in kleak_copyout | #1 0x80bd9ca8 in sys___sigaction_sigtramp | #2 0x80259c42 in syscall To generate a diff of this commit: cvs rdiff -u -r1.319.4.1 -r1.319.4.2 src/sys/kern/kern_sig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7] src/doc
Module Name:src Committed By: martin Date: Fri Nov 30 10:37:10 UTC 2018 Modified Files: src/doc [netbsd-7]: CHANGES-7.3 Log Message: Ticket #1661 To generate a diff of this commit: cvs rdiff -u -r1.1.2.20 -r1.1.2.21 src/doc/CHANGES-7.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-1] src/doc
Module Name:src Committed By: martin Date: Fri Nov 30 10:39:48 UTC 2018 Modified Files: src/doc [netbsd-7-1]: CHANGES-7.1.3 Log Message: Ticket #1661 To generate a diff of this commit: cvs rdiff -u -r1.1.2.25 -r1.1.2.26 src/doc/CHANGES-7.1.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-1] src/sys/kern
Module Name:src Committed By: martin Date: Fri Nov 30 10:39:14 UTC 2018 Modified Files: src/sys/kern [netbsd-7-1]: kern_sig.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1661): sys/kern/kern_sig.c: revision 1.350 Fix kernel info leak, 4 bytes of padding at the end of struct sigaction. + Possible info leak: [len=32, leaked=4] | #0 0x80baf327 in kleak_copyout | #1 0x80bd9ca8 in sys___sigaction_sigtramp | #2 0x80259c42 in syscall To generate a diff of this commit: cvs rdiff -u -r1.319.4.1 -r1.319.4.1.4.1 src/sys/kern/kern_sig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-0] src/sys/kern
Module Name:src Committed By: martin Date: Fri Nov 30 10:40:19 UTC 2018 Modified Files: src/sys/kern [netbsd-7-0]: kern_sig.c Log Message: Pull up following revision(s) (requested by maxv in ticket #1661): sys/kern/kern_sig.c: revision 1.350 Fix kernel info leak, 4 bytes of padding at the end of struct sigaction. + Possible info leak: [len=32, leaked=4] | #0 0x80baf327 in kleak_copyout | #1 0x80bd9ca8 in sys___sigaction_sigtramp | #2 0x80259c42 in syscall To generate a diff of this commit: cvs rdiff -u -r1.319.8.1 -r1.319.8.2 src/sys/kern/kern_sig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-7-0] src/doc
Module Name:src Committed By: martin Date: Fri Nov 30 10:41:14 UTC 2018 Modified Files: src/doc [netbsd-7-0]: CHANGES-7.0.3 Log Message: Ticket #1661 To generate a diff of this commit: cvs rdiff -u -r1.1.2.118 -r1.1.2.119 src/doc/CHANGES-7.0.3 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: jmcneill Date: Fri Nov 30 11:37:11 UTC 2018 Modified Files: src/sys/dev/pci: if_ena.c Log Message: workqueue and callout fixes To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/dev/pci/if_ena.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: jmcneill Date: Fri Nov 30 14:07:30 UTC 2018 Modified Files: src/sys/dev/pci: if_ena.c if_enavar.h Log Message: Get this driver into a functional state. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/if_ena.c cvs rdiff -u -r1.5 -r1.6 src/sys/dev/pci/if_enavar.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: mlelstv Date: Fri Nov 30 15:05:35 UTC 2018 Modified Files: src/sys/kern: kern_synch.c Log Message: The SHOULDYIELD flag doesn't indicate that other LWPs could run but only that the current LWP was seen on two consecutive scheduler intervals. There are currently at least 3 cases for calling preempt(). - always call preempt() - check the SHOULDYIELD flag - check the real ci_want_resched So the forced check for SHOULDYIELD changed the scheduler timing. Revert it for now. To generate a diff of this commit: cvs rdiff -u -r1.321 -r1.322 src/sys/kern/kern_synch.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/ic
Module Name:src Committed By: jmcneill Date: Fri Nov 30 16:26:19 UTC 2018 Modified Files: src/sys/dev/ic: com.c comvar.h Log Message: Add support for com(4) without an interrupt by setting the COM_HW_POLL flag To generate a diff of this commit: cvs rdiff -u -r1.349 -r1.350 src/sys/dev/ic/com.c cvs rdiff -u -r1.87 -r1.88 src/sys/dev/ic/comvar.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: jmcneill Date: Fri Nov 30 16:27:00 UTC 2018 Modified Files: src/sys/dev/pci: atppc_puc.c com_puc.c lpt_puc.c puc.c pucvar.h Log Message: Add support for polling com devices when no interrupt is available. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/pci/atppc_puc.c cvs rdiff -u -r1.24 -r1.25 src/sys/dev/pci/com_puc.c cvs rdiff -u -r1.18 -r1.19 src/sys/dev/pci/lpt_puc.c cvs rdiff -u -r1.39 -r1.40 src/sys/dev/pci/puc.c cvs rdiff -u -r1.11 -r1.12 src/sys/dev/pci/pucvar.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/evbarm/conf
Module Name:src Committed By: jmcneill Date: Fri Nov 30 16:28:07 UTC 2018 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: Add puc at pci and com at puc To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/evbarm/conf/GENERIC64 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/conf
Module Name:src Committed By: jmcneill Date: Fri Nov 30 16:28:43 UTC 2018 Modified Files: src/sys/arch/evbarm/conf: GENERIC64 Log Message: Add ena at pci To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/arch/evbarm/conf/GENERIC64 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: jdolecek Date: Fri Nov 30 17:47:54 UTC 2018 Modified Files: src/sys/dev/pci: ahcisata_pci.c xhci_pci.c Log Message: simplify intr establish code - rely on pci_intr_alloc() to allow also MSI-X, and to return interrupt types which are possible for pci_intr_establish(); remove fallbacks to retry with MSI/MSI-X explicitly disabled discussed on tech-kern@ https://mail-index.netbsd.org/tech-kern/2018/11/27/msg024240.html To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/dev/pci/ahcisata_pci.c cvs rdiff -u -r1.17 -r1.18 src/sys/dev/pci/xhci_pci.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: jdolecek Date: Fri Nov 30 17:52:11 UTC 2018 Modified Files: src/sys/dev/pci: if_bge.c Log Message: simplify intr establish code - rely on pci_intr_alloc() to return interrupt types which are possible for pci_intr_establish(); remove fallbacks to retry with MSI explicitly disabled bge(4) specifically needs to disable MSI on some boards which are known to have broken MSI support, so this can't use pci_intr_alloc() with just NULL counts discussed on tech-kern@, and specifically bge(4) with Manuel https://mail-index.netbsd.org/tech-kern/2018/11/27/msg024240.html To generate a diff of this commit: cvs rdiff -u -r1.317 -r1.318 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/dev/pci
Module Name:src Committed By: jdolecek Date: Fri Nov 30 17:53:08 UTC 2018 Modified Files: src/sys/dev/pci: if_bge.c Log Message: allow MSI-X if supported by the hardware, discussed with Manuel To generate a diff of this commit: cvs rdiff -u -r1.318 -r1.319 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/distrib/utils/embedded
Module Name:src Committed By: jmcneill Date: Fri Nov 30 20:53:02 UTC 2018 Modified Files: src/distrib/utils/embedded/conf: arm64.conf armv7.conf evbarm.conf Added Files: src/distrib/utils/embedded/files: ec2_init Log Message: Add support for configuring Amazon.com EC2 SSH keys and hostnames. While here, only set wscons=YES if a wsdisplay0 device is present. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/distrib/utils/embedded/conf/arm64.conf cvs rdiff -u -r1.27 -r1.28 src/distrib/utils/embedded/conf/armv7.conf cvs rdiff -u -r1.30 -r1.31 src/distrib/utils/embedded/conf/evbarm.conf cvs rdiff -u -r0 -r1.1 src/distrib/utils/embedded/files/ec2_init 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: Fri Nov 30 23:22:45 UTC 2018 Modified Files: src/bin/sh: eval.c Log Message: It is not only the EXIT trap we need to check for when deciding no fork is required, but any trap (dumb mistake...) XXX - include in 48875 pullup to -8 To generate a diff of this commit: cvs rdiff -u -r1.164 -r1.165 src/bin/sh/eval.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: jmcneill Date: Fri Nov 30 23:48:15 UTC 2018 Modified Files: src/doc: CHANGES Log Message: ena(4): Add support for Amazon.com Elastic Network Adapter (ENA). Many people contributed to this so I set the developer to "netbsd", please change if there is a better way to do this. To generate a diff of this commit: cvs rdiff -u -r1.2458 -r1.2459 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/sys/dev/wscons
Module Name:src Committed By: msaitoh Date: Sat Dec 1 00:28:45 UTC 2018 Modified Files: src/sys/dev/wscons: wsdisplay_vcons.c Log Message: Don't abuse config_interrupts()'s first argument. Use kthread instead of config_interrupt(). OK'd by jmcneill and macallan. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/dev/wscons/wsdisplay_vcons.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: Sat Dec 1 01:20:05 UTC 2018 Modified Files: src/bin/sh: alias.c Log Message: NFC. KNF. return (x) -> return x To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/bin/sh/alias.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: Sat Dec 1 01:21:07 UTC 2018 Modified Files: src/bin/sh: parser.c parser.h Log Message: NFC. Need a grain of const To generate a diff of this commit: cvs rdiff -u -r1.153 -r1.154 src/bin/sh/parser.c cvs rdiff -u -r1.24 -r1.25 src/bin/sh/parser.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: Sat Dec 1 01:23:24 UTC 2018 Modified Files: src/sys/dev/pci: pci.c pcivar.h Log Message: Save control registers in PCI-X, PCIe, MSI and MSI-X capability area when suspend and restore them when resume. For PCIe cababilities register, it's required to check the existence of each register to not to write the next area. This chagnge fixes a stability of suspend/resume. To generate a diff of this commit: cvs rdiff -u -r1.152 -r1.153 src/sys/dev/pci/pci.c cvs rdiff -u -r1.112 -r1.113 src/sys/dev/pci/pcivar.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: msaitoh Date: Sat Dec 1 01:51:38 UTC 2018 Modified Files: src/sys/kern: subr_autoconf.c src/sys/sys: device.h Log Message: Add new dv_flags value DVF_ATTACH_INPROGRESS. Currenty, this flags is used only for checking the registration of pmf. This flag should be set when an attach function(ca_attach) doesn't complete the whole attach work when the function returned. config_interrupts() set it. It's also required for device drivers who do a part of the attach work in their own kthread to set it. To generate a diff of this commit: cvs rdiff -u -r1.263 -r1.264 src/sys/kern/subr_autoconf.c cvs rdiff -u -r1.156 -r1.157 src/sys/sys/device.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: msaitoh Date: Sat Dec 1 01:56:30 UTC 2018 Modified Files: src/sys/arch/x86/x86: ipmi.c src/sys/external/bsd/drm2/i915drm: intelfb.c Log Message: Use DVF_ATTACH_INPROGRESS. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/x86/ipmi.c cvs rdiff -u -r1.15 -r1.16 src/sys/external/bsd/drm2/i915drm/intelfb.c 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: Sat Dec 1 02:08:16 UTC 2018 Modified Files: src/sys/kern: subr_autoconf.c Log Message: Fix compile error. To generate a diff of this commit: cvs rdiff -u -r1.264 -r1.265 src/sys/kern/subr_autoconf.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: kamil Date: Sat Dec 1 02:43:43 UTC 2018 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libc/cdb: Makefile.inc cdbr.3 Log Message: Correct the documentation of cdbr_open_mem(3) Fix function prototype in the man-page. Add link cdbr_open_mem(3) -> cdbr(3). To generate a diff of this commit: cvs rdiff -u -r1.2239 -r1.2240 src/distrib/sets/lists/comp/mi cvs rdiff -u -r1.3 -r1.4 src/lib/libc/cdb/Makefile.inc cvs rdiff -u -r1.5 -r1.6 src/lib/libc/cdb/cdbr.3 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: Sat Dec 1 07:02:23 UTC 2018 Modified Files: src/bin/sh: parser.c Log Message: Rename the internal function "makename" to "makeword" to better reflect what it actually does (makearg would have been an alternative). While here, notice the one remaining place where it should have been used, but was left open coded, and consume that one. NFCI. To generate a diff of this commit: cvs rdiff -u -r1.154 -r1.155 src/bin/sh/parser.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.