svn commit: r356344 - head

2020-01-03 Thread John Baldwin
Author: jhb Date: Sat Jan 4 00:59:47 2020 New Revision: 356344 URL: https://svnweb.freebsd.org/changeset/base/356344 Log: Use the freebsd-gcc6 toolchains instead of powerpc64-xtoolchain-gcc. Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D23029 Modified:

svn commit: r356339 - head/share/mk

2020-01-03 Thread John Baldwin
Author: jhb Date: Fri Jan 3 23:31:38 2020 New Revision: 356339 URL: https://svnweb.freebsd.org/changeset/base/356339 Log: Set correct lib32 MACHINE_ARCH for mips64el*. Use "mipsel" instead of "mips" as the 32-bit MACHINE_ARCH when building lib32 for little-endian 64-bit MIPS targets.

Re: svn commit: r356289 - head

2020-01-02 Thread John Baldwin
On 1/2/20 1:34 PM, John Baldwin wrote: > Author: jhb > Date: Thu Jan 2 21:34:44 2020 > New Revision: 356289 > URL: https://svnweb.freebsd.org/changeset/base/356289 > > Log: > Look for cross toolchain makefiles in /usr/share/toolchains. > > The freebsd-binutil

svn commit: r356289 - head

2020-01-02 Thread John Baldwin
Author: jhb Date: Thu Jan 2 21:34:44 2020 New Revision: 356289 URL: https://svnweb.freebsd.org/changeset/base/356289 Log: Look for cross toolchain makefiles in /usr/share/toolchains. The freebsd-binutils and freebsd-gcc* packages install toolchain makefiles to /usr/share/toolchains

svn commit: r356274 - head/share/man/man7

2020-01-02 Thread John Baldwin
Author: jhb Date: Thu Jan 2 16:27:15 2020 New Revision: 356274 URL: https://svnweb.freebsd.org/changeset/base/356274 Log: Some minor tweaks to arch(7). - Drop mention of _LP64. FreeBSD's source generally uses __LP64__ instead of _LP64, and the relevant macros are better covered in

svn commit: r356209 - head/share/man/man7

2019-12-30 Thread John Baldwin
Author: jhb Date: Mon Dec 30 22:05:57 2019 New Revision: 356209 URL: https://svnweb.freebsd.org/changeset/base/356209 Log: Formatting fixes for tables, no content changes. - Add missing .Pp after the end of some lists so that there is a blank line before the subsequent paragraph. -

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread John Baldwin
On 12/27/19 10:43 AM, John Baldwin wrote: > On 12/26/19 8:07 PM, Justin Hibbits wrote: >> Author: jhibbits >> Date: Fri Dec 27 04:07:03 2019 >> New Revision: 356113 >> URL: https://svnweb.freebsd.org/changeset/base/356113 >> >> Log: >> Elimina

Re: svn commit: r356113 - in head: libexec/rtld-elf sys/kern sys/sys

2019-12-27 Thread John Baldwin
nstead of needing a runtime check. You could also move it purely into the powerpc code at that point and not need to stick it in the MI file. It probably should also be under COMPAT_FREEBSD12. -- John Baldwin ___ svn-src-all@freebsd.org mailing list htt

svn commit: r355912 - head/usr.sbin/bhyve

2019-12-19 Thread John Baldwin
Author: jhb Date: Thu Dec 19 15:36:00 2019 New Revision: 355912 URL: https://svnweb.freebsd.org/changeset/base/355912 Log: Trim a spurious carriage return from the RFB signature string added in r355301. Submitted by: Yamagi Modified: head/usr.sbin/bhyve/rfb.c Modified:

svn commit: r355873 - head/sys/opencrypto

2019-12-17 Thread John Baldwin
Author: jhb Date: Wed Dec 18 01:37:00 2019 New Revision: 355873 URL: https://svnweb.freebsd.org/changeset/base/355873 Log: Add support for TLS 1.3 using AES-GCM to the OCF backend for KTLS. Reviewed by: gallatin Sponsored by: Netflix Differential Revision:

svn commit: r355872 - head/sys/sys

2019-12-17 Thread John Baldwin
Author: jhb Date: Wed Dec 18 01:33:20 2019 New Revision: 355872 URL: https://svnweb.freebsd.org/changeset/base/355872 Log: Add a structure for the AAD used in TLS 1.3. While here, add RFC numbers to comments about nonce and AAD data for TLS 1.2. Reviewed by: gallatin Sponsored

svn commit: r355871 - in head/share/man: man4 man9

2019-12-17 Thread John Baldwin
Author: jhb Date: Wed Dec 18 01:27:49 2019 New Revision: 355871 URL: https://svnweb.freebsd.org/changeset/base/355871 Log: Bump Dd for changes in r355866. Pointy hat to:jhb MFC after:2 weeks Modified: head/share/man/man4/crypto.4 head/share/man/man9/crypto.9 Modified:

svn commit: r355866 - in head/share/man: man4 man9

2019-12-17 Thread John Baldwin
Author: jhb Date: Tue Dec 17 22:58:07 2019 New Revision: 355866 URL: https://svnweb.freebsd.org/changeset/base/355866 Log: Update the crypto(4) and crypto(9) manpages. There are probably bits that are still wrong, but this fixes some things at least: - Add named arguments to the

svn commit: r355740 - head/sys/dev/cxgbe/tom

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 23:33:54 2019 New Revision: 355740 URL: https://svnweb.freebsd.org/changeset/base/355740 Log: Expand net epoch in the cxgbe TOE driver to satisfy assertions. Reviewed by: np Sponsored by: Chelsio Communications Differential Revision:

svn commit: r355732 - in head: . share/man/man9 sys/kern sys/netgraph sys/sys

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 21:03:12 2019 New Revision: 355732 URL: https://svnweb.freebsd.org/changeset/base/355732 Log: Remove the deprecated timeout(9) interface. All in-tree consumers have been converted to callout(9). Reviewed by: kib, markj Differential Revision:

svn commit: r355728 - head/sys/dev/smartpqi

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:56:48 2019 New Revision: 355728 URL: https://svnweb.freebsd.org/changeset/base/355728 Log: Use callout(9) instead of deprecated timeout(9). Reviewed by: imp Tested by:Scott Benesh Differential Revision:https://reviews.freebsd.org/D22598

Re: svn commit: r355725 - in head/sys: kern sys

2019-12-13 Thread John Baldwin
On 12/13/19 11:27 AM, Hans Petter Selasky wrote: > On 2019-12-13 20:26, John Baldwin wrote: >> deprecated timeout(9) > > Are you planning to nuke the timeout(9) API? Yes, only one consumer left and that is in review. D22602 is the removal. It always runs under Giant, is u

Re: svn commit: r355724 - in head: sys/amd64/include sys/amd64/vmm/amd sys/amd64/vmm/intel usr.sbin/bhyve

2019-12-13 Thread John Baldwin
On 12/13/19 11:21 AM, John Baldwin wrote: > Author: jhb > Date: Fri Dec 13 19:21:58 2019 > New Revision: 355724 > URL: https://svnweb.freebsd.org/changeset/base/355724 > > Log: > Support software breakpoints in the debug server on Intel CPUs. > > - Al

svn commit: r355726 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs contrib/opensolaris/uts/common/fs/zfs/sys

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:27:51 2019 New Revision: 355726 URL: https://svnweb.freebsd.org/changeset/base/355726 Log: Use a callout instead of timeout(9) for delayed zio's. Reviewed by: avg Differential Revision:https://reviews.freebsd.org/D22597 Modified:

svn commit: r355725 - in head/sys: kern sys

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:26:04 2019 New Revision: 355725 URL: https://svnweb.freebsd.org/changeset/base/355725 Log: Use callout(9) instead of deprecated timeout(9) for fail points. Allocate the callout structure on-demand from fail_point_use_timeout_path() since most fail points

svn commit: r355724 - in head: sys/amd64/include sys/amd64/vmm/amd sys/amd64/vmm/intel usr.sbin/bhyve

2019-12-13 Thread John Baldwin
Author: jhb Date: Fri Dec 13 19:21:58 2019 New Revision: 355724 URL: https://svnweb.freebsd.org/changeset/base/355724 Log: Support software breakpoints in the debug server on Intel CPUs. - Allow the userland hypervisor to intercept breakpoint exceptions (BP#) in the guest. A new

svn commit: r355687 - head/usr.sbin/bhyve

2019-12-12 Thread John Baldwin
Author: jhb Date: Fri Dec 13 02:18:44 2019 New Revision: 355687 URL: https://svnweb.freebsd.org/changeset/base/355687 Log: Document that the debug server supports writing to guest memory. This was added in r348212. Modified: head/usr.sbin/bhyve/bhyve.8 Modified:

svn commit: r355686 - head/usr.sbin/bhyve

2019-12-12 Thread John Baldwin
Author: jhb Date: Fri Dec 13 02:15:34 2019 New Revision: 355686 URL: https://svnweb.freebsd.org/changeset/base/355686 Log: Fix a mismerge in r355683 and remove the local gdb_port from main. Modified: head/usr.sbin/bhyve/bhyverun.c Modified: head/usr.sbin/bhyve/bhyverun.c

svn commit: r355683 - head/usr.sbin/bhyve

2019-12-12 Thread John Baldwin
Author: jhb Date: Fri Dec 13 01:17:20 2019 New Revision: 355683 URL: https://svnweb.freebsd.org/changeset/base/355683 Log: Don't call into the debug server if it isn't configured. Reviewed by: markj (as part of a larger diff) MFC after:1 month Differential Revision:

svn commit: r355634 - head/usr.sbin/bhyve

2019-12-11 Thread John Baldwin
Author: jhb Date: Wed Dec 11 23:41:39 2019 New Revision: 355634 URL: https://svnweb.freebsd.org/changeset/base/355634 Log: Emulate reads of the PCI command register for passthrough devices. VFs return zero for the memory enable bit even if it has been set by a prior write. After r348779

Re: svn commit: r355600 - in head: share/man/man9 sys/kern sys/sys

2019-12-10 Thread John Baldwin
On 12/10/19 2:09 PM, Hans Petter Selasky wrote: > On 2019-12-10 22:58, John Baldwin wrote: >> While here, add to the manpage. > > FYI: > > Linux guys eliminated the "void *c_arg" in their timer implementation by > using container_of() to get callb

svn commit: r355601 - in head/sys: cam cam/ata cam/scsi dev/aic7xxx dev/isp dev/kbdmux dev/mpt dev/ocs_fc dev/ppbus dev/sbni dev/smc dev/syscons dev/uart netgraph/netflow netinet

2019-12-10 Thread John Baldwin
Author: jhb Date: Tue Dec 10 22:06:53 2019 New Revision: 355601 URL: https://svnweb.freebsd.org/changeset/base/355601 Log: Use callout_func_t instead of the deprecated timeout_t. Reviewed by: kib, imp Differential Revision:https://reviews.freebsd.org/D22752 Modified:

svn commit: r355600 - in head: share/man/man9 sys/kern sys/sys

2019-12-10 Thread John Baldwin
Author: jhb Date: Tue Dec 10 21:58:30 2019 New Revision: 355600 URL: https://svnweb.freebsd.org/changeset/base/355600 Log: Add a callout_func_t typedef for functions used with callout_*(). This typedef is the same as timeout_t except that it is in the callout namespace and header.

svn commit: r355599 - head/libexec/rtld-elf/riscv

2019-12-10 Thread John Baldwin
Author: jhb Date: Tue Dec 10 21:56:44 2019 New Revision: 355599 URL: https://svnweb.freebsd.org/changeset/base/355599 Log: Correct the offset of static TLS variables for Initial-Exec on RISC-V. TP points to the start of the TLS block after the tcb, but Obj_Entry.tlsoffset includes the

Re: svn commit: r355569 - head/sys/amd64/linux32

2019-12-09 Thread John Baldwin
On 12/9/19 11:18 AM, John Baldwin wrote: > Author: jhb > Date: Mon Dec 9 19:18:05 2019 > New Revision: 355569 > URL: https://svnweb.freebsd.org/changeset/base/355569 > > Log: > Use 4 byte stack alignment instead of 8 byte. > > This was an old bug prior to

Re: svn commit: r355569 - head/sys/amd64/linux32

2019-12-09 Thread John Baldwin
On 12/9/19 12:01 PM, Joerg Sonnenberger wrote: > On Mon, Dec 09, 2019 at 07:18:06PM +0000, John Baldwin wrote: >> Author: jhb >> Date: Mon Dec 9 19:18:05 2019 >> New Revision: 355569 >> URL: https://svnweb.freebsd.org/changeset/base/355569 >> >> Log: >&

svn commit: r355569 - head/sys/amd64/linux32

2019-12-09 Thread John Baldwin
Author: jhb Date: Mon Dec 9 19:18:05 2019 New Revision: 355569 URL: https://svnweb.freebsd.org/changeset/base/355569 Log: Use 4 byte stack alignment instead of 8 byte. This was an old bug prior to r355373 and mostly harmless as it would waste at most a handful of bytes on the stack.

svn commit: r355567 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/freebsd32 i386/linux kern sys

2019-12-09 Thread John Baldwin
Author: jhb Date: Mon Dec 9 19:17:28 2019 New Revision: 355567 URL: https://svnweb.freebsd.org/changeset/base/355567 Log: Copy out aux args after the argument and environment vectors. Partially revert r354741 and r354754 and go back to allocating a fixed-size chunk of stack space for

svn commit: r355459 - head/sys/sys

2019-12-06 Thread John Baldwin
Author: jhb Date: Fri Dec 6 19:20:45 2019 New Revision: 355459 URL: https://svnweb.freebsd.org/changeset/base/355459 Log: Remove SPARE_USRSPACE. This constant was used to reserve space at the top of the stack to hold translated system call arguments for non-default ABIs (the

svn commit: r355428 - in head: share/mk sys/conf

2019-12-05 Thread John Baldwin
Author: jhb Date: Thu Dec 5 19:37:30 2019 New Revision: 355428 URL: https://svnweb.freebsd.org/changeset/base/355428 Log: Add a new "riscv-relaxations" linker feature. When the linker doesn't have this feature, add -mno-relax to CFLAGS on RISC-V. Define the feature for ld.bfd, but

svn commit: r355426 - in head/sys: dev/ahci dev/ata dev/mvs dev/siis net/altq powerpc/mpc85xx

2019-12-05 Thread John Baldwin
Author: jhb Date: Thu Dec 5 18:47:29 2019 New Revision: 355426 URL: https://svnweb.freebsd.org/changeset/base/355426 Log: Use a void * argument to callout handlers instead of timeout_t casts. Reviewed by: kib Differential Revision:https://reviews.freebsd.org/D22684 Modified:

Re: svn commit: r354754 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-12-05 Thread John Baldwin
On 12/5/19 5:28 AM, Mateusz Guzik wrote: > On 11/16/19, John Baldwin wrote: >> Author: jhb >> Date: Fri Nov 15 23:01:43 2019 >> New Revision: 354754 >> URL: https://svnweb.freebsd.org/changeset/base/354754 >> >> Log: >> Use a sv_copyout_auxargs h

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-05 Thread John Baldwin
review, if that's useful. >> >> Cheers, >> Vincenzo > > Meanwhile could you please revert the commit, and add a note to > D22552 to the effects that this was not the right solution? I don't think we have to revert as it isn't that big of a deal. Just fixing i

svn commit: r355403 - head/lib/libc/riscv/gen

2019-12-04 Thread John Baldwin
Author: jhb Date: Wed Dec 4 21:01:13 2019 New Revision: 355403 URL: https://svnweb.freebsd.org/changeset/base/355403 Log: Use "far" calls and branches so that lld uses valid relocations. Conditional branch and jump instructions do not always call via PLT stubs and thus will not honor

svn commit: r355402 - head/lib/libc/riscv/gen

2019-12-04 Thread John Baldwin
Author: jhb Date: Wed Dec 4 20:50:49 2019 New Revision: 355402 URL: https://svnweb.freebsd.org/changeset/base/355402 Log: Use a single 'ld' to read the jmpbuf magic values instead of 'la; ld'. This saves an instruction in each case as well as an extra memory indirection via the GOT for

svn commit: r355401 - head/lib/libcompiler_rt

2019-12-04 Thread John Baldwin
Author: jhb Date: Wed Dec 4 20:18:12 2019 New Revision: 355401 URL: https://svnweb.freebsd.org/changeset/base/355401 Log: Define __SOFT_FP__ for riscv64sf to avoid infinite recursion. Submitted by: James Clarke Reviewed by: imp Sponsored by: DARPA Differential Revision:

Re: svn commit: r355383 - head/sys/arm64/linux

2019-12-04 Thread John Baldwin
Not sure how that slipped through as I do keep cross-building the relevant kernels for all of these changes. :( -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any ma

Re: svn commit: r355374 - head/sys/sparc64/sparc64

2019-12-03 Thread John Baldwin
On 12/3/19 3:20 PM, John Baldwin wrote: > Author: jhb > Date: Tue Dec 3 23:20:19 2019 > New Revision: 355374 > URL: https://svnweb.freebsd.org/changeset/base/355374 > > Log: > Pass 0 to __builtin_frame_address() to appease modern GCC. > > Modern versions of GCC

svn commit: r355374 - head/sys/sparc64/sparc64

2019-12-03 Thread John Baldwin
Author: jhb Date: Tue Dec 3 23:20:19 2019 New Revision: 355374 URL: https://svnweb.freebsd.org/changeset/base/355374 Log: Pass 0 to __builtin_frame_address() to appease modern GCC. Modern versions of GCC warn about passing non-zero values to __builtin_frame_address(). Passing 1 is a

svn commit: r355373 - in head/sys: amd64/amd64 amd64/cloudabi32 amd64/cloudabi64 amd64/ia32 amd64/linux amd64/linux32 arm/arm arm/cloudabi32 arm64/arm64 arm64/cloudabi32 arm64/cloudabi64 arm64/linu...

2019-12-03 Thread John Baldwin
Author: jhb Date: Tue Dec 3 23:17:54 2019 New Revision: 355373 URL: https://svnweb.freebsd.org/changeset/base/355373 Log: Use uintptr_t instead of register_t * for the stack base. - Use ustringp for the location of the argv and environment strings and allow destp to travel further

svn commit: r355359 - in stable: 11/sys/dev/pci 12/sys/dev/pci

2019-12-03 Thread John Baldwin
Author: jhb Date: Tue Dec 3 22:01:45 2019 New Revision: 355359 URL: https://svnweb.freebsd.org/changeset/base/355359 Log: MFC 342160: Work around BIOS quirks on HPE Proliant MicroServer Gen10 PR: 221350 Modified: stable/12/sys/dev/pci/pci.c Directory Properties: stable/12/

svn commit: r355359 - in stable: 11/sys/dev/pci 12/sys/dev/pci

2019-12-03 Thread John Baldwin
Author: jhb Date: Tue Dec 3 22:01:45 2019 New Revision: 355359 URL: https://svnweb.freebsd.org/changeset/base/355359 Log: MFC 342160: Work around BIOS quirks on HPE Proliant MicroServer Gen10 PR: 221350 Modified: stable/11/sys/dev/pci/pci.c Directory Properties: stable/11/

Re: svn commit: r355301 - head/usr.sbin/bhyve

2019-12-03 Thread John Baldwin
usr.sbin/bhyve, not in sys/. However, to do that you have to actually do something more complicated to turn \r\n and \n\r sequences from the guest into plain \n to stdout while still DTRT for "bare" \r and \n characters. You also have to make sure you do the right thing for input and not just output in the device models. I'm not quite a fan of this commit as-is since you will get spurious new lines now if you don't use a serial console. I would perhaps rather have a custom printf() wrapper in bhyve that outputs the \r as needed for debug and error printfs only when stdio has been changed to be raw. I was busy with family stuff and thanksgiving last week so didn't have time to review it before it was committed unfortunately. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r354977 - in head: share/man/man3 sys/sys tests/sys/sys

2019-12-02 Thread John Baldwin
TLS keys and other buffers. You can write simple wrapper functions for your use case around vmem_* that the rest of your driver can use. I don't think it really makes sense to extend bitstring or unr. I think we should leave those for more specific use cases and use vmem for cases that need a more

Re: svn commit: r355241 - head/sys/kern

2019-12-02 Thread John Baldwin
uct thread *) > - atomic_load_acq_ptr((u_long *)pcpu->pc_curthread); > + atomic_load_acq_ptr((void *)pcpu->pc_curthread); Why not uintptr_t *? I think that's the defined type for atomic_*_ptr anyway? -- John Baldwin _

Re: svn commit: r355097 - in head: sys/kern tests/sys/kern

2019-12-02 Thread John Baldwin
verify that. The test case was implemented by markj@. Does this fix PR 201276? Also, what about PRs 220324 and 232679? -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r350017 - in head: lib/libc/sys sys/kern sys/sys tests/sys/kern

2019-11-26 Thread John Baldwin
On 11/25/19 11:01 AM, Kyle Evans wrote: > On Mon, Jul 15, 2019 at 4:48 PM John Baldwin wrote: >> >> Author: jhb >> Date: Mon Jul 15 21:48:02 2019 >> New Revision: 350017 >> URL: https://svnweb.freebsd.org/changeset/base/350017 >> >> Log: >>

svn commit: r354974 - in head/sys: conf dev/cxgbe dev/cxgbe/common dev/cxgbe/crypto dev/cxgbe/firmware dev/cxgbe/tom modules/cxgbe/if_cxgbe

2019-11-21 Thread John Baldwin
--- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/cxgbe/crypto/t4_kern_tls.c Thu Nov 21 19:30:31 2019 (r354974) @@ -0,0 +1,2400 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c)

svn commit: r354971 - head/sys/modules/geom/geom_uzip

2019-11-21 Thread John Baldwin
Author: jhb Date: Thu Nov 21 18:21:30 2019 New Revision: 354971 URL: https://svnweb.freebsd.org/changeset/base/354971 Log: Use kmod.opts.mk to fix standalone build. Modified: head/sys/modules/geom/geom_uzip/Makefile Modified: head/sys/modules/geom/geom_uzip/Makefile

Re: svn commit: r354970 - in head: share/mk sys/conf

2019-11-21 Thread John Baldwin
On 11/21/19 10:14 AM, John Baldwin wrote: > Author: jhb > Date: Thu Nov 21 18:14:26 2019 > New Revision: 354970 > URL: https://svnweb.freebsd.org/changeset/base/354970 > > Log: > Add a kmod.opts.mk. > > This Makefile sets KERN_OPTS. This permits kernel

svn commit: r354970 - in head: share/mk sys/conf

2019-11-21 Thread John Baldwin
Author: jhb Date: Thu Nov 21 18:14:26 2019 New Revision: 354970 URL: https://svnweb.freebsd.org/changeset/base/354970 Log: Add a kmod.opts.mk. This Makefile sets KERN_OPTS. This permits kernel module Makefiles to use KERN_OPTS to control the value of variables such as SRCS that are

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread John Baldwin
On 11/20/19 3:42 PM, Bjoern A. Zeeb wrote: > On 20 Nov 2019, at 23:32, John Baldwin wrote: > > Hijacking a side-thread: > > PreS: I think we have way too many of these options and should just > remove 3/4 of them again or someone build a proper matrix documenting > them

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread John Baldwin
On 11/20/19 3:04 PM, Warner Losh wrote: > On Wed, Nov 20, 2019 at 3:09 PM John Baldwin wrote: > >> On 11/20/19 10:01 AM, Warner Losh wrote: >>> On Wed, Nov 20, 2019 at 9:54 AM Li-Wen Hsu wrote: >>> >>>> Author: lwhsu >>>> Date: Wed Nov 20 1

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread John Baldwin
{MACHINE} == "riscv" >> > > MACHINE isn't the right thing to use here. It's never the proper thing in > userland makefiles, unless they are interfacing with the kernel. > > MACHINE_CPUARCH is what you want here. Eh, that claim doesn't seem quite t

Re: svn commit: r354899 - head/usr.sbin/jail

2019-11-20 Thread John Baldwin
think. (I was able to build a world + kernel with lld earlier this week, though it doesn't yet boot) -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r354827 - in head/sys: amd64/linux amd64/linux32 arm64/linux compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/linux kern sys

2019-11-18 Thread John Baldwin
Author: jhb Date: Mon Nov 18 20:07:43 2019 New Revision: 354827 URL: https://svnweb.freebsd.org/changeset/base/354827 Log: Check for errors from copyout() and suword*() in sv_copyout_args/strings. Reviewed by: brooks, kib Tested on:amd64 (amd64, i386, linux64), i386 (i386, linux)

svn commit: r354754 - in head/sys: amd64/linux amd64/linux32 arm64/linux i386/linux

2019-11-15 Thread John Baldwin
Author: jhb Date: Fri Nov 15 23:01:43 2019 New Revision: 354754 URL: https://svnweb.freebsd.org/changeset/base/354754 Log: Use a sv_copyout_auxargs hook in the Linux ELF ABIs. Reviewed by: emaste Tested on:amd64 (linux64 only), i386 Sponsored by: DARPA Differential Revision:

Re: svn commit: r354741 - in head/sys: amd64/amd64 arm/arm arm64/arm64 compat/freebsd32 compat/ia32 i386/i386 kern mips/mips powerpc/powerpc riscv/riscv sparc64/sparc64 sys

2019-11-15 Thread John Baldwin
On 11/15/19 12:01 PM, Konstantin Belousov wrote: > On Fri, Nov 15, 2019 at 06:42:13PM +0000, John Baldwin wrote: >> Author: jhb >> Date: Fri Nov 15 18:42:13 2019 >> New Revision: 354741 >> URL: https://svnweb.freebsd.org/changeset/base/354741 >> >> Lo

svn commit: r354744 - head/sys/mips/mips

2019-11-15 Thread John Baldwin
Author: jhb Date: Fri Nov 15 19:00:20 2019 New Revision: 354744 URL: https://svnweb.freebsd.org/changeset/base/354744 Log: Combine ELF sysvecs for MIPS to reduce code duplication. Reviewed by: brooks, kevans Tested on:mips, mips64 Sponsored by: DARPA Differential Revision:

svn commit: r354741 - in head/sys: amd64/amd64 arm/arm arm64/arm64 compat/freebsd32 compat/ia32 i386/i386 kern mips/mips powerpc/powerpc riscv/riscv sparc64/sparc64 sys

2019-11-15 Thread John Baldwin
Author: jhb Date: Fri Nov 15 18:42:13 2019 New Revision: 354741 URL: https://svnweb.freebsd.org/changeset/base/354741 Log: Add a sv_copyout_auxargs() hook in sysentvec. Change the FreeBSD ELF ABIs to use this new hook to copyout ELF auxv instead of doing it in the sv_fixup hook. In

svn commit: r354693 - head

2019-11-13 Thread John Baldwin
Author: jhb Date: Wed Nov 13 21:49:46 2019 New Revision: 354693 URL: https://svnweb.freebsd.org/changeset/base/354693 Log: Refine r354661 to unbreak the GCC_BOOTSTRAP case. MK_CLANG_IS_CC controls installing links for GCC, not just clang. Set MK_CLANG_IS_CC to the value of

svn commit: r354686 - head/sys/conf

2019-11-13 Thread John Baldwin
Author: jhb Date: Wed Nov 13 17:06:10 2019 New Revision: 354686 URL: https://svnweb.freebsd.org/changeset/base/354686 Log: Add t4_keyctx.c to sys/conf/files for the non-module build. Missed in r354667. Pointy hat to:jhb MFC after:1 month Sponsored by: Chelsio

Re: svn commit: r354661 - head

2019-11-13 Thread John Baldwin
On 11/13/19 5:19 AM, Kyle Evans wrote: > On Tue, Nov 12, 2019 at 3:29 PM John Baldwin wrote: >> >> Author: jhb >> Date: Tue Nov 12 21:29:52 2019 >> New Revision: 354661 >> URL: https://svnweb.freebsd.org/changeset/base/354661 >> >> Log: >> For

svn commit: r354667 - in head/sys: dev/cxgbe dev/cxgbe/crypto dev/cxgbe/tom modules/cxgbe/if_cxgbe

2019-11-12 Thread John Baldwin
_aes_check_keylen(crde->crd_alg, crde->crd_klen); Added: head/sys/dev/cxgbe/crypto/t4_keyctx.c ====== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/cxgb

svn commit: r354662 - head/lib/clang

2019-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 21:35:05 2019 New Revision: 354662 URL: https://svnweb.freebsd.org/changeset/base/354662 Log: Sync target triple generation with the version in Makefile.inc1. Reviewed by: dim Sponsored by: DARPA Differential Revision:

svn commit: r354661 - head

2019-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 21:29:52 2019 New Revision: 354661 URL: https://svnweb.freebsd.org/changeset/base/354661 Log: Force MK_CLANG_IS_CC on in XMAKE. This ensures that a bootstrap clang compiler is always installed as cc in WORLDTMP. If it is only installed as 'clang' then

svn commit: r354660 - head/share/mk

2019-11-12 Thread John Baldwin
Author: jhb Date: Tue Nov 12 21:26:50 2019 New Revision: 354660 URL: https://svnweb.freebsd.org/changeset/base/354660 Log: Enable the RISC-V LLVM backend by default. Reviewed by: dim, mhorne, emaste MFC after:1 month Sponsored by: DARPA Differential Revision:

Re: svn commit: r354491 - in head: . lib/msun/src libexec libexec/rtld-elf libexec/rtld-elf32 share/mk usr.bin usr.bin/ldd32

2019-11-08 Thread John Baldwin
mips doesn't use -m32 at all (it doesn't work there), but mips should be setting -mabi=o32 which the compiler driver should use to pass the right linker emulation to ld. Only bare LD instances (which mostly don't exist anymore) should require the explicit e

Re: svn commit: r354239 - head/contrib/gdb/gdb

2019-11-01 Thread John Baldwin
ly since the old kgdb in the tree doesn't include user support IIRC, only kernel bits (in modern gdb, kgdb is just a wrapper, and you can use 'target vmcore' from within gdb itself against a crash dump, etc.) -- John Baldwin ___ svn-src-all@freebsd.org maili

Re: svn commit: r354239 - head/contrib/gdb/gdb

2019-11-01 Thread John Baldwin
polines on all supported platforms instead of static sigtramp locations. -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r354218 - head/sys/dev/ena

2019-10-31 Thread John Baldwin
ing on testing, and that will be the right way to request this in the future once it lands. -- -- John Baldwin ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

svn commit: r354109 - in stable: 11/sys/conf 12/sys/conf

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:17:24 2019 New Revision: 354109 URL: https://svnweb.freebsd.org/changeset/base/354109 Log: MFC 353023: Fix the EMBEDFS_FORMAT helper variable for riscv64. It was defined with the wrong MACHINE_ARCH previously. This permits using an MFS image without

svn commit: r354109 - in stable: 11/sys/conf 12/sys/conf

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:17:24 2019 New Revision: 354109 URL: https://svnweb.freebsd.org/changeset/base/354109 Log: MFC 353023: Fix the EMBEDFS_FORMAT helper variable for riscv64. It was defined with the wrong MACHINE_ARCH previously. This permits using an MFS image without

svn commit: r354108 - in stable: 11/usr.bin/netstat 12/usr.bin/netstat

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:15:20 2019 New Revision: 354108 URL: https://svnweb.freebsd.org/changeset/base/354108 Log: MFC 353059: Restore description of packets dropped due to full reassembly queue. r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more specific

svn commit: r354108 - in stable: 11/usr.bin/netstat 12/usr.bin/netstat

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:15:20 2019 New Revision: 354108 URL: https://svnweb.freebsd.org/changeset/base/354108 Log: MFC 353059: Restore description of packets dropped due to full reassembly queue. r265408 renamed tcps_rcvmemdrop to tcps_rcvreassfull and gave it a more specific

svn commit: r354098 - in stable: 11/sys/dev/cxgbe/crypto 12/sys/dev/cxgbe/crypto

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:14:43 2019 New Revision: 354098 URL: https://svnweb.freebsd.org/changeset/base/354098 Log: MFC 353323: Set the FID field in lookaside crypto requests to the rx queue ID. The PCI block in the adapter requires this field to be set to a valid queue ID. It is

svn commit: r354099 - in stable: 11/sys/dev/cxgbe 12/sys/dev/cxgbe

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:20:04 2019 New Revision: 354099 URL: https://svnweb.freebsd.org/changeset/base/354099 Log: MFC 353369: Remove adapters from t4_list earlier during detach. This ensures the clip task won't race with t4_destroy_clip_table. While here, make some mutex

svn commit: r354098 - in stable: 11/sys/dev/cxgbe/crypto 12/sys/dev/cxgbe/crypto

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:14:43 2019 New Revision: 354098 URL: https://svnweb.freebsd.org/changeset/base/354098 Log: MFC 353323: Set the FID field in lookaside crypto requests to the rx queue ID. The PCI block in the adapter requires this field to be set to a valid queue ID. It is

svn commit: r354107 - in stable: 11/sys/dev/acpica 11/sys/dev/pci 12/sys/dev/acpica 12/sys/dev/pci

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:04:05 2019 New Revision: 354107 URL: https://svnweb.freebsd.org/changeset/base/354107 Log: MFC 353585,353586: Support hot insertion and removal of PCI devices on EC2. 353585: Export pci_attach() and pci_detach(). 353586: Support hot insertion and

svn commit: r354107 - in stable: 11/sys/dev/acpica 11/sys/dev/pci 12/sys/dev/acpica 12/sys/dev/pci

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 22:04:05 2019 New Revision: 354107 URL: https://svnweb.freebsd.org/changeset/base/354107 Log: MFC 353585,353586: Support hot insertion and removal of PCI devices on EC2. 353585: Export pci_attach() and pci_detach(). 353586: Support hot insertion and

svn commit: r354101 - stable/12/sys/kern

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:23:44 2019 New Revision: 354101 URL: https://svnweb.freebsd.org/changeset/base/354101 Log: MFC 353371: Don't free the cursor boundary tag during vmem_destroy(). The cursor boundary tag is statically allocated in the vmem instead of from the vmem_bt_zone.

svn commit: r354099 - in stable: 11/sys/dev/cxgbe 12/sys/dev/cxgbe

2019-10-25 Thread John Baldwin
Author: jhb Date: Fri Oct 25 21:20:04 2019 New Revision: 354099 URL: https://svnweb.freebsd.org/changeset/base/354099 Log: MFC 353369: Remove adapters from t4_list earlier during detach. This ensures the clip task won't race with t4_destroy_clip_table. While here, make some mutex

Re: svn commit: r354049 - in stable/12/sys/amd64: amd64 include

2019-10-25 Thread John Baldwin
er functions. I'll merge the bhyve change today, but this probably broke bhyve. There was a followup fix from kib with some other fixes for this beyond bhyve, or was that just fixes to the actual NUMA allocation of pcpu? -- John Baldwin ___

svn commit: r354058 - in stable: 11/sys/dev/acpica 11/sys/i386/pci 12/sys/dev/acpica 12/sys/i386/pci

2019-10-24 Thread John Baldwin
Author: jhb Date: Fri Oct 25 00:16:57 2019 New Revision: 354058 URL: https://svnweb.freebsd.org/changeset/base/354058 Log: MFC 350662: Detect invalid PCI devices more correctly in PCI interrupt router drivers. - Check for an invalid device (vendor is invalid) before reading the

svn commit: r354058 - in stable: 11/sys/dev/acpica 11/sys/i386/pci 12/sys/dev/acpica 12/sys/i386/pci

2019-10-24 Thread John Baldwin
Author: jhb Date: Fri Oct 25 00:16:57 2019 New Revision: 354058 URL: https://svnweb.freebsd.org/changeset/base/354058 Log: MFC 350662: Detect invalid PCI devices more correctly in PCI interrupt router drivers. - Check for an invalid device (vendor is invalid) before reading the

svn commit: r354048 - stable/12/sys/conf

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 21:02:24 2019 New Revision: 354048 URL: https://svnweb.freebsd.org/changeset/base/354048 Log: MFC 351434: Fix universe to include arm LINT kernel configs. Strip comments from the NOTES.armv[57] files as is done for other NOTES files when building the

svn commit: r354047 - in stable: 11/sys/kern 12/sys/kern

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 20:48:30 2019 New Revision: 354047 URL: https://svnweb.freebsd.org/changeset/base/354047 Log: MFC 350549: Set ISOPEN in namei flags when opening executable interpreters. These vnodes are explicitly opened via VOP_OPEN via exec_check_permissions identical to

svn commit: r354047 - in stable: 11/sys/kern 12/sys/kern

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 20:48:30 2019 New Revision: 354047 URL: https://svnweb.freebsd.org/changeset/base/354047 Log: MFC 350549: Set ISOPEN in namei flags when opening executable interpreters. These vnodes are explicitly opened via VOP_OPEN via exec_check_permissions identical to

svn commit: r354035 - in stable: 11/share/man/man9 12/share/man/man9

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 19:18:49 2019 New Revision: 354035 URL: https://svnweb.freebsd.org/changeset/base/354035 Log: MFC 351224: Trim a spurious blank line I added in r348969. I did not bump .Dd since there is no content change. Modified: stable/11/share/man/man9/sysctl.9

svn commit: r354035 - in stable: 11/share/man/man9 12/share/man/man9

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 19:18:49 2019 New Revision: 354035 URL: https://svnweb.freebsd.org/changeset/base/354035 Log: MFC 351224: Trim a spurious blank line I added in r348969. I did not bump .Dd since there is no content change. Modified: stable/12/share/man/man9/sysctl.9

svn commit: r354034 - in stable: 11/lib/libutil 12/lib/libutil

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 19:14:37 2019 New Revision: 354034 URL: https://svnweb.freebsd.org/changeset/base/354034 Log: MFC 350179: expand_number(3) parses suffixes, not prefixes. While here, tidy the opening sentence a bit. Modified: stable/11/lib/libutil/expand_number.3 Directory

svn commit: r354034 - in stable: 11/lib/libutil 12/lib/libutil

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 19:14:37 2019 New Revision: 354034 URL: https://svnweb.freebsd.org/changeset/base/354034 Log: MFC 350179: expand_number(3) parses suffixes, not prefixes. While here, tidy the opening sentence a bit. Modified: stable/12/lib/libutil/expand_number.3 Directory

svn commit: r354031 - in stable: 11/sys/amd64/vmm/io 12/sys/amd64/vmm/io

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 19:07:52 2019 New Revision: 354031 URL: https://svnweb.freebsd.org/changeset/base/354031 Log: MFC 350178: Improve the precision of bhyve's vPIT. Use 'struct bintime' instead of 'sbintime_t' to manage times in vPIT to postpone rounding to final results rather

svn commit: r354031 - in stable: 11/sys/amd64/vmm/io 12/sys/amd64/vmm/io

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 19:07:52 2019 New Revision: 354031 URL: https://svnweb.freebsd.org/changeset/base/354031 Log: MFC 350178: Improve the precision of bhyve's vPIT. Use 'struct bintime' instead of 'sbintime_t' to manage times in vPIT to postpone rounding to final results rather

svn commit: r354028 - head/sys/kern

2019-10-24 Thread John Baldwin
Author: jhb Date: Thu Oct 24 18:13:26 2019 New Revision: 354028 URL: https://svnweb.freebsd.org/changeset/base/354028 Log: Use a counter with a random base for explicit IVs in GCM. This permits constructing the entire TLS header in ktls_frame() rather than ktls_seq(). This also matches

<    2   3   4   5   6   7   8   9   10   11   >