From noreply at github.com Thu Aug 13 16:22:33 2020 From: noreply at github.com (Lucas Holt) Date: Thu, 13 Aug 2020 13:22:33 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] dd61b6: Don't report stale signal information in ptrace_lw... Message-ID: Branch: refs/heads/stable/1.2 Home: https://github.com/MidnightBSD/src Commit: dd61b6df447c72dc6c497ebbfa4c2d64d52d8a7b https://github.com/MidnightBSD/src/commit/dd61b6df447c72dc6c497ebbfa4c2d64d52d8a7b Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/conf/newvers.sh M sys/kern/kern_sig.c M tests/sys/kern/ptrace_test.c Log Message: ----------- Don't report stale signal information in ptrace_lwpinfo. Once a signal's siginfo was copied to 'td_si' as part of the signal exchange in issignal(), it was never cleared. This caused future thread events that are reported as SIGTRAP events without signal information to report the stale siginfo in 'td_si'. For example, if a debugger created a new process and used SIGSTOP to stop it after PT_ATTACH, future system call entry / exit events would set PL_FLAG_SI with the SIGSTOP siginfo in pl_siginfo. This broke 'catch syscall' in current versions of gdb as it assumed PL_FLAG_SI with SIGTRAP indicates a breakpoint or single step trap. Obtained from: FreeBSD svn rev 342704 From noreply at github.com Thu Aug 13 22:14:37 2020 From: noreply at github.com (Lucas Holt) Date: Thu, 13 Aug 2020 19:14:37 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] be5acc: Set the maximum exit latency to 0 for XHCI USB 3.0... Message-ID: Branch: refs/heads/stable/1.2 Home: https://github.com/MidnightBSD/src Commit: be5acc4303faa1991d845de6e6e0c8937f24b6d9 https://github.com/MidnightBSD/src/commit/be5acc4303faa1991d845de6e6e0c8937f24b6d9 Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/dev/usb/controller/xhci.c Log Message: ----------- Set the maximum exit latency to 0 for XHCI USB 3.0 devices, because we don't implement link power management, LPM. This fixes error code XHCI_TRB_ERROR_BANDWIDTH for isochronous USB 3.0 transactions. From noreply at github.com Thu Aug 13 22:39:03 2020 From: noreply at github.com (Lucas Holt) Date: Thu, 13 Aug 2020 19:39:03 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] ec6d57: change default microphone level from 0 to 25. Message-ID: Branch: refs/heads/stable/1.2 Home: https://github.com/MidnightBSD/src Commit: ec6d576e388c37835768bc5f286b0bbe02c5744e https://github.com/MidnightBSD/src/commit/ec6d576e388c37835768bc5f286b0bbe02c5744e Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/dev/sound/pcm/mixer.c Log Message: ----------- change default microphone level from 0 to 25. Commit: d3f074242566ebebfcfe482ee977327b4d84963d https://github.com/MidnightBSD/src/commit/d3f074242566ebebfcfe482ee977327b4d84963d Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/dev/usb/controller/xhci.c M sys/dev/usb/usb_hub.c Log Message: ----------- Remove the power bit from the super speed root hub port status register because it clobbers the super speed link status when a device is in super speed mode. Currently the power bit is not needed for anything in the USB hub driver. This fixes USB warm reset for super speed devices. Obtained from: FreeBSD Commit: a48cd12ce3784c85daac855efc415dd984e1b552 https://github.com/MidnightBSD/src/commit/a48cd12ce3784c85daac855efc415dd984e1b552 Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/fs/nfsserver/nfs_nfsdstate.c Log Message: ----------- Fix a crash in the NFSv4 server. Commit: 6d01417bd44c7e15d6448912d9a04421aa96ad2b https://github.com/MidnightBSD/src/commit/6d01417bd44c7e15d6448912d9a04421aa96ad2b Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/dev/e1000/if_em.c Log Message: ----------- In em_handle_link(), only re-arm the link state change interrupt for 82574 and also only if such a device uses MSI-X, i. e. takes advantage of autoclearing. In case of INTx and MSI re-arming isn't appropriate here and setting EM_MSIX_LINK isn't either. Obtained from: FreeBSD Commit: 58cd0d5073d62bc265fb2feeea79f91a730740a6 https://github.com/MidnightBSD/src/commit/58cd0d5073d62bc265fb2feeea79f91a730740a6 Author: Lucas Holt Date: 2020-08-13 (Thu, 13 Aug 2020) Changed paths: M sys/cddl/dev/dtrace/amd64/dtrace_subr.c M sys/cddl/dev/dtrace/i386/dtrace_subr.c Log Message: ----------- Don't attempt to measure TSC skew when running as a VM guest. Obtained from: FreeBSD Compare: https://github.com/MidnightBSD/src/compare/be5acc4303fa...58cd0d5073d6 From noreply at github.com Fri Aug 14 11:54:46 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 14 Aug 2020 08:54:46 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 7d51d9: document recent fixes. Message-ID: Branch: refs/heads/stable/1.2 Home: https://github.com/MidnightBSD/src Commit: 7d51d952d825a85bb44e88a43af9447143b8138e https://github.com/MidnightBSD/src/commit/7d51d952d825a85bb44e88a43af9447143b8138e Author: Lucas Holt Date: 2020-08-14 (Fri, 14 Aug 2020) Changed paths: M UPDATING Log Message: ----------- document recent fixes. From noreply at github.com Fri Aug 14 11:57:09 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 14 Aug 2020 08:57:09 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] Message-ID: Branch: refs/tags/1.2.7 Home: https://github.com/MidnightBSD/src From noreply at github.com Fri Aug 14 12:25:38 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 14 Aug 2020 09:25:38 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 896fca: Assume all TSCs are synchronized for AMD Family 17... Message-ID: Branch: refs/heads/stable/1.2 Home: https://github.com/MidnightBSD/src Commit: 896fca85e82682794873ef98b16571943b11fa77 https://github.com/MidnightBSD/src/commit/896fca85e82682794873ef98b16571943b11fa77 Author: Lucas Holt Date: 2020-08-14 (Fri, 14 Aug 2020) Changed paths: M sys/x86/x86/tsc.c Log Message: ----------- Assume all TSCs are synchronized for AMD Family 17h processors and later when it has passed the synchronization test. "Processor Programming Reference (PPR) for AMD Family 17h" states that the TSC uses a common reference for all sockets, cores and threads. From noreply at github.com Fri Aug 14 12:43:52 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 14 Aug 2020 09:43:52 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] d23948: Assume all TSCs are synchronized for AMD Family 17... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: d23948292cb2a3f72abfebd808ad1ffe5275b217 https://github.com/MidnightBSD/src/commit/d23948292cb2a3f72abfebd808ad1ffe5275b217 Author: Lucas Holt Date: 2020-08-14 (Fri, 14 Aug 2020) Changed paths: M sys/x86/x86/tsc.c Log Message: ----------- Assume all TSCs are synchronized for AMD Family 17h processors and later when it has passed the synchronization test. "Processor Programming Reference (PPR) for AMD Family 17h" states that the TSC uses a common reference for all sockets, cores and threads. From noreply at github.com Fri Aug 14 23:08:47 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 14 Aug 2020 20:08:47 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] 75a258: Increase the default KSTACK_PAGES from 2 to 4 on i... Message-ID: Branch: refs/heads/stable/1.2 Home: https://github.com/MidnightBSD/src Commit: 75a258d31afcf6483ee057b6f6ae49382d62a629 https://github.com/MidnightBSD/src/commit/75a258d31afcf6483ee057b6f6ae49382d62a629 Author: Lucas Holt Date: 2020-08-14 (Fri, 14 Aug 2020) Changed paths: M sys/i386/include/param.h Log Message: ----------- Increase the default KSTACK_PAGES from 2 to 4 on i386. This matches AMD64 now. This fixes the weird crash with mksh on 1.2 stable with vmware esxi with 32bit guest. FreeBSD did this in a later release (11-current?) also becasue of issues. From noreply at github.com Sat Aug 15 00:03:10 2020 From: noreply at github.com (Lucas Holt) Date: Fri, 14 Aug 2020 21:03:10 -0700 Subject: [Midnightbsd-cvs] [MidnightBSD/src] f0ff32: Increase the KSTACK_PAGES size to 4 to match amd64... Message-ID: Branch: refs/heads/master Home: https://github.com/MidnightBSD/src Commit: f0ff32b9dbd6315b794a4d38aab4815fcc690844 https://github.com/MidnightBSD/src/commit/f0ff32b9dbd6315b794a4d38aab4815fcc690844 Author: Lucas Holt Date: 2020-08-15 (Sat, 15 Aug 2020) Changed paths: M sys/i386/include/param.h Log Message: ----------- Increase the KSTACK_PAGES size to 4 to match amd64. This fixes a number of crash problems that appear like double faults.