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

2021-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 28 22:17:49 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: fix off-by-one check in another KASSERT() for bcount still related to PR port-xen/56328 To generate a diff of this commit: cvs

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

2021-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 28 21:38:50 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: fix intentional, but eventually faulty off-by-one for the maximum number of segments for I/O - this was supposed to allow

CVS commit: src/sys/dev/usb

2021-06-06 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jun 6 18:37:20 UTC 2021 Modified Files: src/sys/dev/usb: xhci.c Log Message: also reset xs->xs_xr[dci] to NULL when closing the pipe avoids KASSERT() on next xhci_open() should fix PR kern/56194 by nia To generate a

CVS commit: src/sys/dev/pci

2021-05-05 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed May 5 19:30:51 UTC 2021 Modified Files: src/sys/dev/pci: siisata_pci.c Log Message: disable MSI for SiI3124 - interrupts don't seem to work on this old board when MSI is enabled, maybe because it's behind a PCI bridge PR

CVS commit: src/sys

2021-05-02 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun May 2 19:13:43 UTC 2021 Modified Files: src/sys/kern: kern_event.c src/sys/sys: eventvar.h Log Message: implement fo_restart hook for kqueue descriptors, so that close(2) on the descriptor won't block indefinitely

CVS commit: src/sys/dev/mca

2021-04-08 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Apr 8 17:36:33 UTC 2021 Modified Files: src/sys/dev/mca: if_we_mca.c Log Message: update comment about the 'quirk' in we_mca_init_hook() - actually that is just interrupt enable bit, so not a quirk at all; NFCI info

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

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:11:59 UTC 2021 Modified Files: src/sys/arch/xen/x86: xen_shm_machdep.c Log Message: in xen_shm_map(), make sure to unmap any successfully mapped pages before returning failure if there is partial failure fix

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

2021-02-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 21 20:02:25 UTC 2021 Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c Log Message: reset xio_xv before calling xbdback_io_error() so it won't try to unmap the non-initialized handles when xen_shm_map() fails

CVS commit: src/lib/libc/stdio

2021-02-07 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Feb 7 15:54:09 UTC 2021 Modified Files: src/lib/libc/stdio: fread.c Log Message: restore change from rev 1.23 "Avoid undefined behavior in fread(3)", mistakely removed as part __SNBF optimization To generate a diff of

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

2021-02-06 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Feb 6 21:24:20 UTC 2021 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: use __builtin_assume_aligned() on places where the memset() or memcpy() parameters are known to be PAGE_SIZE-aligned, so compiler doesn't

CVS commit: src/lib/libc/thread-stub

2021-02-05 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Feb 6 00:08:58 UTC 2021 Modified Files: src/lib/libc/thread-stub: thread-stub.c Log Message: change libc sched_yield() stub to actually still call the syscall instead of doing nothing when app is not linked with pthread;

CVS commit: src/sys

2021-02-04 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Feb 4 21:07:06 UTC 2021 Modified Files: src/sys/kern: vfs_init.c vfs_subr.c src/sys/sys: mount.h Log Message: introduce vfs.generic.timestamp_precision sysctl to control precision of the timer used for

CVS commit: src/lib/libc/stdio

2021-02-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Feb 1 17:50:53 UTC 2021 Modified Files: src/lib/libc/stdio: fread.3 fread.c fwrite.c Log Message: for fread(3) and fwrite(3) check for (size * nmemb) size_t overflow, and error out with EOVERFLOW if it happens; this is

CVS commit: src/lib/libc/stdio

2021-01-31 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jan 31 16:18:22 UTC 2021 Modified Files: src/lib/libc/stdio: fread.c Log Message: for unbuffered I/O arrange for the destination buffer to be filled in one go, instead of triggering long series of 1 byte read(2)s; this

CVS commit: src/sys/kern

2021-01-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jan 26 19:09:18 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: call f_touch with kq_lock held, and without KERNEL_LOCK() - for this adjust EVFILT_USER, which is the only filter actually using that hook

CVS commit: src/sys/kern

2021-01-25 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jan 25 19:57:05 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: put back clearing of KN_QUEUED and check for re-queue - as rev. 1.53 notes, it's necessary for correct function fixes PR kern/55946, thanks

CVS commit: src/sys/kern

2021-01-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jan 24 11:31:47 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: don't check signals while waiting for other kqueue scans to finish reportedly somewhat improves behaviour for PR kern/55946 part of PR

CVS commit: src/sys/kern

2021-01-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jan 21 19:37:23 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: remove stray debug #define DEBUG To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/kern/kern_event.c Please note that

CVS commit: src/sys/kern

2021-01-21 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jan 21 18:09:23 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: adjust kq_check() (enabled with DEBUG) to new reality - it's now perfectly normal to have kq_count bigger than number of the linked entries on

CVS commit: src/sys/dev/usb

2021-01-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jan 20 22:46:33 UTC 2021 Modified Files: src/sys/dev/usb: umidi.c Log Message: fix free_all_endpoints() to not try calling free_pipe() when no endpoints are allocated; this can happen during config_detach() after attach

CVS commit: src/sys/kern

2021-01-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jan 20 21:39:09 UTC 2021 Modified Files: src/sys/kern: kern_event.c Log Message: fix a race in kqueue_scan() - when multiple threads check the same kqueue, it could happen other thread seen empty kqueue while kevent was

CVS commit: src/sys/kern

2020-12-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 27 12:45:33 UTC 2020 Modified Files: src/sys/kern: kern_event.c Log Message: reduce indentation for the main processing loop in kqueue_scan(), this also makes the code more similar to FreeBSD; NFCI part of PR

CVS commit: src/sys/dev/pci

2020-12-20 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 20 19:30:04 UTC 2020 Modified Files: src/sys/dev/pci: aceride.c Log Message: disable (U)DMA for ATAPI on aceride(4), the chip doesn't support it PR port-sparc64/55540 To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sbin/nvmectl

2020-09-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Sep 27 18:17:35 UTC 2020 Modified Files: src/sbin/nvmectl: nvmectl.8 nvmectl.h power.c Log Message: add -s option for 'power' command, this instructs the controller to save the value so it persists resets/whatnot; the NVMe

CVS commit: src/sbin/nvmectl

2020-09-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Sep 27 17:27:08 UTC 2020 Modified Files: src/sbin/nvmectl: power.c Log Message: print current power state and workload as separate values for 'nvmectl power nvme0' To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/sbin/nvmectl

2020-09-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Sep 27 16:45:21 UTC 2020 Modified Files: src/sbin/nvmectl: identify.c Log Message: show APSTA support status in identify To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sbin/nvmectl/identify.c Please note

CVS commit: src/sys/dev/ic

2020-09-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Sep 27 16:44:24 UTC 2020 Modified Files: src/sys/dev/ic: nvmereg.h Log Message: add definition of the bit indicating support for APSTA To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/dev/ic/nvmereg.h

CVS commit: src/sys/dev/hid

2020-08-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Aug 26 10:34:04 UTC 2020 Modified Files: src/sys/dev/hid: hidkbdmap.c Log Message: for jp keymap map also scan code 49 to right bracket to handle ARCHISS model PR kern/55608 by Shinichi Doyashiki To generate a diff of

CVS commit: src/doc

2020-08-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Aug 16 10:31:40 UTC 2020 Modified Files: src/doc: CHANGES Log Message: note COMPAT_LINUX is disabled by default now To generate a diff of this commit: cvs rdiff -u -r1.2729 -r1.2730 src/doc/CHANGES Please note that diffs

CVS commit: src/sys/arch

2020-08-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Aug 16 10:27:47 UTC 2020 Modified Files: src/sys/arch/alpha/conf: GENERIC src/sys/arch/amd64/conf: GENERIC MODULAR NOCOMPAT XEN3_DOM0 XEN3_DOMU src/sys/arch/evbarm/conf: ARMADILLO9 DUOVERO GUMSTIX HPT5325

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

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:39:40 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c xen_intr.c Log Message: adjust includes to pull __HAVE_PCI_MSI_MSIX properly To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/arch/x86

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:36:36 UTC 2020 Modified Files: src/sys/arch/x86/pci: pci_intr_machdep.c src/sys/arch/x86/x86: mainbus.c Log Message: reorder includes to pull __HAVE_PCI_MSI_MSIX properly via To generate a diff of this

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

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:28:19 UTC 2020 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: remove CISS_NO_INTERRUPT_HACK from ALL kernel config too, it's no longer supported in ciss(4) To generate a diff of this commit: cvs rdiff

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

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:15:40 UTC 2020 Modified Files: src/sys/arch/x86/conf: files.x86 Log Message: defflag NO_PCI_MSI_MSIX To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/x86/conf/files.x86 Please note

CVS commit: src/sys/arch

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 12:14:40 UTC 2020 Modified Files: src/sys/arch/amd64/include: types.h src/sys/arch/i386/include: types.h src/sys/arch/x86/include: pci_machdep_common.h Log Message: move __HAVE_PCI_MSI_MSIX to To

CVS commit: src/sys/kern

2020-08-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Aug 1 11:18:26 UTC 2020 Modified Files: src/sys/kern: subr_autoconf.c Log Message: avoid VLA for the sizeof() calculations To generate a diff of this commit: cvs rdiff -u -r1.272 -r1.273 src/sys/kern/subr_autoconf.c

CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 29 13:03:36 UTC 2020 Modified Files: src/sys/dev/pci: xmm7360.c Log Message: fix xmm7360_os_msleep() macro to actually work when not wrapped inside a block from genua To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 29 13:01:19 UTC 2020 Modified Files: src/sys/dev/pci: xmm7360.c Log Message: sprinkle __diagused so this compiles without DIAGNOSTIC To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 29 13:00:26 UTC 2020 Modified Files: src/sys/dev/pci: xmm7360.c Log Message: adjust OpenBSD mbuf handling so tcpdump(1) works there; from genua keep code as-is for NetBSD, DLT_RAW works there To generate a diff of

CVS commit: src/sys/dev/pci

2020-07-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 29 07:14:45 UTC 2020 Modified Files: src/sys/dev/pci: nvme_pci.c Log Message: rename label now that it has dual purpose; suggested by mrg@ To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/dev/ic

2020-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 28 15:59:19 UTC 2020 Modified Files: src/sys/dev/ic: nvme.c Log Message: say what is not configured in nvme_print() To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/dev/ic/nvme.c Please note that

CVS commit: src/doc

2020-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 28 10:29:30 UTC 2020 Modified Files: src/doc: CHANGES Log Message: note that MSI was enabled by default for Xen To generate a diff of this commit: cvs rdiff -u -r1.2720 -r1.2721 src/doc/CHANGES Please note that diffs

CVS commit: src/sys/arch

2020-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 28 09:38:06 UTC 2020 Modified Files: src/sys/arch/amd64/conf: XEN3_DOM0 src/sys/arch/i386/conf: XEN3PAE_DOM0 Log Message: remove NO_PCI_MSI_MSIX again, enabling MSI for Xen Dom0 by default To generate a diff

CVS commit: src/sys/dev

2020-07-28 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 28 09:36:05 UTC 2020 Modified Files: src/sys/dev/ic: nvmevar.h src/sys/dev/pci: nvme_pci.c Log Message: add a quirk to disable MSI, and enable it for Intel SSD DC P4500 this device seems to cause serious system

CVS commit: src/share/man/man4

2020-07-27 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 27 14:17:47 UTC 2020 Modified Files: src/share/man/man4: wwanc.4 Log Message: add reference to net/py-xmm7360 for the network initialization script To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6

CVS commit: src/share/man/man4

2020-07-27 Thread Jaromir Dolecek
+.Ox +driver was supported by genua GmbH. The .Nm driver was written by @@ -76,7 +79,8 @@ for Linux, it was ported to and .Nx by -.An Jaromir Dolecek Aq Mt jdole...@netbsd.org . +.An Jaromir Dolecek Aq Mt jdole...@netbsd.org +for Moritz Systems Technology Company Sp. z o.o. .Sh CAVEATS The .Nm

CVS commit: src/sys/dev/pci

2020-07-26 Thread Jaromir Dolecek
2020 +++ src/sys/dev/pci/xmm7360.c Sun Jul 26 17:12:41 2020 @@ -8,9 +8,9 @@ *  * Copyright (c) 2020 genua GmbH  * Copyright (c) 2020 James Wah - * Copyright (c) 2020 Jaromir Dolecek * - * OpenBSD port written by Jaromir Dolecek for genua GmbH + * The OpenBSD and NetBSD support was written

CVS commit: src/share/man/man4

2020-07-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 26 15:56:30 UTC 2020 Modified Files: src/share/man/man4: wwanc.4 Log Message: add note that the network initialization script needs the device nodes to be created To generate a diff of this commit: cvs rdiff -u -r1.1

CVS commit: src/share/man/man4

2020-07-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 26 15:57:03 UTC 2020 Modified Files: src/share/man/man4: wwanc.4 Log Message: finish sentence To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/wwanc.4 Please note that diffs are not

CVS commit: src/etc

2020-07-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 26 15:47:27 UTC 2020 Modified Files: src/etc: MAKEDEV.tmpl src/etc/etc.amd64: MAKEDEV.conf Log Message: add support for wwanc(4) device nodes (xmm[0-9]) To generate a diff of this commit: cvs rdiff -u -r1.220

CVS commit: src/doc

2020-07-26 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 26 15:14:23 UTC 2020 Modified Files: src/doc: CHANGES Log Message: note new Intel XMM7360 driver To generate a diff of this commit: cvs rdiff -u -r1.2719 -r1.2720 src/doc/CHANGES Please note that diffs are not public

CVS commit: src

2020-07-26 Thread Jaromir Dolecek
ISTORY +The +.Nm +device driver first appeared +.Nx 10.0 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An James Wah Aq Mt ja...@laird-wah.net +for Linux, it was ported to +.Ox +and +.Nx +by +.An Jaromir Dolecek Aq Mt jdole...@netbsd.org . +.Sh CAVEATS +The +.Nm +driver IPv6 support is untested. +.Pp +Network initialization requires Python script published on the Linux +driver repository.

CVS commit: src/sys

2020-07-26 Thread Jaromir Dolecek
. Fibocom L850-GL. + * Written by James Wah + * ja...@laird-wah.net + * + * Development of this driver was supported by genua GmbH + * + * Copyright (c) 2020 genua GmbH + * Copyright (c) 2020 James Wah + * Copyright (c) 2020 Jaromir Dolecek + * + * OpenBSD port written by Jaromir Dolecek for

CVS commit: src

2020-07-24 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 24 06:12:21 UTC 2020 Modified Files: src/distrib/sets/lists/comp: md.amd64 md.i386 src/sys/arch/xen/include: Makefile Log Message: is in fact used by the newly imported xentools 4.13, reinstantiate it header

CVS commit: src/sys/conf

2020-07-22 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 22 19:37:59 UTC 2020 Modified Files: src/sys/conf: Makefile.kern.inc Log Message: enable -Walloca, warn if something uses alloca() To generate a diff of this commit: cvs rdiff -u -r1.274 -r1.275

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

2020-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 19 16:20:36 UTC 2020 Modified Files: src/sys/arch/xen/x86: pintr.c Log Message: add #ifdef __HAVE_PCI_MSI_MSIX so this still compiles with NO_PCI_MSI_MSIX To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19

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

2020-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 19 16:17:00 UTC 2020 Modified Files: src/sys/arch/x86/include: specialreg.h Log Message: add definition for MSR_IA32_FEATURE_CONTROL, just for information To generate a diff of this commit: cvs rdiff -u -r1.168

CVS commit: src/sys/arch

2020-07-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 19 14:27:07 UTC 2020 Modified Files: src/sys/arch/x86/pci: pci_msi_machdep.c src/sys/arch/xen/include: intr.h src/sys/arch/xen/x86: pintr.c Log Message: for Xen MSI, fallback to INTx when

CVS commit: src/sys/dev/pci

2020-07-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 17 21:04:14 UTC 2020 Modified Files: src/sys/dev/pci: cmdide.c Log Message: remove explicit irqack() call for unexpected interrupt; this happens normally during boot when running identify for the drive as polled

CVS commit: src

2020-07-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 17 12:12:24 UTC 2020 Modified Files: src/distrib/sets/lists/comp: md.amd64 md.i386 src/sys/arch/xen/include: Makefile Log Message: don't install xen/xenio.h and xen/xenio3.h anymore, xentools don't use it PR

CVS commit: src/sys/dev/pci

2020-07-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 17 10:56:15 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: if bnx_tx_encap() fails because mbuf is too fragmented or too long, drop the mbuf instead of wedging the TX queue forever; found by code

CVS commit: src/sys/dev/pci

2020-07-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 17 10:08:04 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: make sure bnx_alloc_pkts() always clears BNX_ALLOC_PKTS_FLAG and IFF_OACTIVE, even on dmamap allocation failure; remove unnecessary IFF_UP

CVS commit: src/sys/dev/pci

2020-07-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 17 09:51:31 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: remove mistakely committed in-progress code from previous commit To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103

CVS commit: src/sys/dev/pci

2020-07-17 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 17 09:48:21 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: re-enable MSI/MSI-X, the TX timeouts were caused by the IFF_OACTIVE handling, which was fixed in previous revision To generate a diff of this

CVS commit: src/sys/dev/pci

2020-07-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jul 16 14:57:59 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: need to clear IFF_OACTIVE after allocating more pkts in order to actually start processing the queue in bnx_start() To generate a diff of

CVS commit: src/sys/dev/pci

2020-07-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jul 16 14:44:43 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: disable MSI/MSI-X for time being, it causes interrupt timeouts and needs to be investigated before enabling this again To generate a diff of

CVS commit: src/sys/dev/ic

2020-07-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jul 16 14:41:04 UTC 2020 Modified Files: src/sys/dev/ic: cissreg.h Log Message: make sure the alignment of ciss_cmd matches KASSERT() in ciss_cmd() To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/dev/ic

2020-07-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jul 16 14:39:33 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c cissreg.h Log Message: revert the conversion to STAILQ, it broke execution of commands To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/dev/ic

2020-07-15 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 15 14:33:59 UTC 2020 Modified Files: src/sys/dev/ic: cissvar.h Log Message: g/c unused sc_channel_raw, sc_adapter_raw To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/cissvar.h Please note

CVS commit: src/doc

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 17:40:10 UTC 2020 Modified Files: src/doc: CHANGES Log Message: note ciss(4) adapter match update To generate a diff of this commit: cvs rdiff -u -r1.2712 -r1.2713 src/doc/CHANGES Please note that diffs are not

CVS commit: src/share/man/man4

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 17:39:19 UTC 2020 Modified Files: src/share/man/man4: ciss.4 Log Message: update list of matched adapters To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/share/man/man4/ciss.4 Please note that

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 17:23:27 UTC 2020 Modified Files: src/sys/dev/pci: ciss_pci.c Log Message: fix __arraycount() parameter To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/ciss_pci.c Please note that

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 17:23:59 UTC 2020 Modified Files: src/sys/dev/pci: ciss_pci.c Log Message: match newer HP Smart Array controllers, list from FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 17:19:03 UTC 2020 Modified Files: src/sys/dev/pci: ciss_pci.c Log Message: make ciss_pci_devices[] more compact To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/ciss_pci.c Please note

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 16:56:35 UTC 2020 Modified Files: src/sys/dev/pci: pcidevs Log Message: add newer ciss(4) devices, list obtained from FreeBSD To generate a diff of this commit: cvs rdiff -u -r1.1418 -r1.1419

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 15:37:40 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c if_bnxvar.h Log Message: make bnx_wk (used to trigger bnx_alloc_pkts()) part of softc instead of using a static variable, so it's independant for each

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 12:15:16 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: remove call to bnx_alloc_pkts() from bnx_init_tx_chain() - it can be called from softint context via bnx_watchdog(), and bnx_alloc_pkts()

CVS commit: src/sys/dev

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 12:04:46 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c cissvar.h src/sys/dev/pci: ciss_pci.c Log Message: remove CISS_NO_INTERRUPT_HACK, discussed with joerg@ and spz@ To generate a diff of this commit:

CVS commit: src/sys/dev/ic

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 11:44:53 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c cissreg.h Log Message: remove ccb_sc to save memory, no need to store pointer to sc in ccb To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src/sys/dev/ic

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 11:39:02 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c cissreg.h Log Message: use STAILQ for ccb lists to save some memory, doubly-linked list is not needed To generate a diff of this commit: cvs rdiff -u -r1.46

CVS commit: src/doc

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 10:49:21 UTC 2020 Modified Files: src/doc: CHANGES Log Message: note bnx(4) MSI/MSI-X and ciss(4) PERFORMANT+MSI/MSI-X To generate a diff of this commit: cvs rdiff -u -r1.2711 -r1.2712 src/doc/CHANGES Please note

CVS commit: src/sys/dev/ic

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 10:44:34 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c Log Message: only copy the actual command length in ciss_scsi_cmd(), instead of always copying CISS_MAX_CDB bytes Fixes reading past buffer memory triggered

CVS commit: src/sys/dev/ic

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 10:38:07 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c Log Message: g/c #if 0'ed ciss_scsi_raw_cmd() To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/ic/ciss.c Please note that diffs are

CVS commit: src/sys/dev

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 10:37:30 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c cissreg.h cissvar.h src/sys/dev/pci: ciss_pci.c Log Message: add support for PERFORMANT mode, and allow MSI/MSI-X (only) for adapters which support it

CVS commit: src/sys/dev/pci

2020-07-14 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Tue Jul 14 10:26:34 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c Log Message: only destroy the TX pkgs and dmamaps in bnx_dma_free() called on detach, don't do it anymore in bnx_free_tx_chain(), called from bnx_init()

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

2020-07-13 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jul 13 21:21:57 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: change xbd_unmap_align() to get the bp via argument rathen than req_bp, to avoid using req_bp after it's been set to NULL by the time

CVS commit: src/sys/dev/pci

2020-07-12 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 12 19:05:32 UTC 2020 Modified Files: src/sys/dev/pci: if_bnx.c if_bnxvar.h Log Message: enable MSI/MSI-X if supported by adapter tested MSI-X with Broadcom NetXtreme II BCM5709 1000Base-T To generate a diff of this

CVS commit: src/sys/dev/ic

2020-07-10 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 10 14:23:56 UTC 2020 Modified Files: src/sys/dev/ic: ciss.c Log Message: remove write-only sc_ccbq, and unused sc_ccbdone To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ic/ciss.c Please

CVS commit: src/sys/dev/ic

2020-07-10 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 10 14:24:14 UTC 2020 Modified Files: src/sys/dev/ic: cissvar.h Log Message: remove write-only sc_ccbq, and unused sc_ccbdone To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/dev/ic/cissvar.h Please

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

2020-07-09 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jul 9 22:45:54 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_autoconf.c Log Message: Adapt to proplib api changes To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/arch/x86/x86/x86_autoconf.c

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

2020-07-08 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 8 11:11:00 UTC 2020 Modified Files: src/sys/arch/xen/x86: cpu.c Log Message: initalize ci_kfpu_spl, to avoid triggering KASSERT() in fpu_kern_enter() Follows revision 1.177 of sys/arch/x86/x86/cpu.c: """ Add a small

CVS commit: src/sys/dev/pci

2020-07-05 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Jul 5 19:28:37 UTC 2020 Modified Files: src/sys/dev/pci: ciss_pci.c Log Message: there is more to MSI/MSI-X support in ciss(4) than just allocating the right interrupt, it needs some explicit support; disable for now until

CVS commit: src/sys/dev/pci

2020-07-04 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sat Jul 4 14:49:24 UTC 2020 Modified Files: src/sys/dev/pci: ciss_pci.c uhci_pci.c Log Message: switch to pci_intr_alloc() so this uses MSI/MSI-X if device supports it To generate a diff of this commit: cvs rdiff -u -r1.15

CVS commit: src/sys/sys

2020-07-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 3 19:37:28 UTC 2020 Modified Files: src/sys/sys: statvfs.h Log Message: add a cast to (struct statvfs *) for STATVFSBUF_GET() to make sure it's never assigned to anything else To generate a diff of this commit: cvs

CVS commit: src/sys/compat/sys

2020-07-03 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Fri Jul 3 18:49:38 UTC 2020 Modified Files: src/sys/compat/sys: mount.h Log Message: don't overallocate (follows similar change to compat/sys/statvfs.h) To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/etc/root

2020-07-02 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Thu Jul 2 11:08:55 UTC 2020 Modified Files: src/etc/root: dot.cshrc Log Message: fix incomplete gnu/ deletion - PR misc/55444 by Jim Bernard To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/dev/pci

2020-07-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 1 17:57:14 UTC 2020 Modified Files: src/sys/dev/pci: cmdide.c Log Message: revert, not working To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/cmdide.c Please note that diffs are not

CVS commit: src/sys/dev/pci

2020-07-01 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Wed Jul 1 15:10:01 UTC 2020 Modified Files: src/sys/dev/pci: cmdide.c Log Message: ignore interrupt when not expecting one, particularly don't invoke the irqack in this case seems cmdide doesn't honour WDCTL_IDS when

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

2020-06-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jun 29 21:45:50 UTC 2020 Modified Files: src/sys/arch/xen/xen: xbd_xenbus.c Log Message: when using two linked requests for I/O (i.e. when backend doesn't support INDIRECT segments), make sure to clear req_bp for both of

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

2020-06-29 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Jun 29 09:56:51 UTC 2020 Modified Files: src/sys/arch/amd64/include: param.h Log Message: increase UPAGES (used for lwp kernel stack) for SVS so the the amount of actually usable kernel stack is the same for SVS and non-SVS

  1   2   3   4   5   6   7   8   9   10   >