Page MenuHomeFreeBSD

jhb (John Baldwin)
User

Projects (9)

User Details

User Since
Mar 11 2014, 8:46 PM (481 w, 5 d)

Recent Activity

Fri, Jun 2

jhb closed D40387: <sys/memrange.h>: Include <sys/ioccom.h>..
Fri, Jun 2, 5:42 PM
jhb committed rGee06552d625f: <sys/memrange.h>: Include <sys/ioccom.h>. (authored by jhb).
<sys/memrange.h>: Include <sys/ioccom.h>.
Fri, Jun 2, 5:42 PM
jhb added inline comments to D40384: xregs_via_sig: Add avx registers to test.
Fri, Jun 2, 5:36 PM
jhb accepted D40382: xregs_via_sig: Finish renaming simd to xregs before adding avx.
Fri, Jun 2, 5:31 PM
jhb accepted D40381: avx_sig: Rename to more general name.

Not quite sure what the "via" part means as normally I'd take that to mean that "xregs" were being delivered or provided by "sig" and I think this test is more about the fact that signal context properly saves/restores "xregs"? Maybe consider dropping "via"?

Fri, Jun 2, 5:31 PM
jhb accepted D40383: xregs_via_sig: Simplify Makefile by using MACHINE_CPUARCH in SRCS.
Fri, Jun 2, 5:27 PM
jhb added a comment to D40099: kdump: Add a facility to print numbers always in decimal format.
In D40099#914847, @jhb wrote:

I wouldn't mind spelling out "decimal".

ok, thanks. are you ok if I change native syscalls (signals related, for start) too?
by separate chang of course

Fri, Jun 2, 5:22 PM
jhb requested review of D40394: nvme: Don't install nvme_private.h in /usr/include..
Fri, Jun 2, 5:16 PM

Thu, Jun 1

jhb requested review of D40387: <sys/memrange.h>: Include <sys/ioccom.h>..
Thu, Jun 1, 11:37 PM

Sat, May 27

jhb added a reverting change for rG8ca78eb03fd4: LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag.: rGfa6603d4a725: Revert "LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag.".
Sat, May 27, 7:35 PM
jhb committed rG7ad5c533e5da: LinuxKPI: Use modern function declarations for kernel_fpu_begin/end. (authored by jhb).
LinuxKPI: Use modern function declarations for kernel_fpu_begin/end.
Sat, May 27, 7:35 PM
jhb added a reverting change for D29921: linuxkpi: make FPU sections thread-safe and NOCTX: rGfa6603d4a725: Revert "LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag.".
Sat, May 27, 7:35 PM
jhb committed rGfa6603d4a725: Revert "LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag." (authored by jhb).
Revert "LinuxKPI: Make FPU sections thread-safe and use the NOCTX flag."
Sat, May 27, 7:35 PM

Thu, May 25

jhb committed rG98d06eea14a5: sys: Enable -Wunused-but-set-variable for clang 15+. (authored by jhb).
sys: Enable -Wunused-but-set-variable for clang 15+.
Thu, May 25, 5:46 PM
jhb committed rG73cc3dbce13f: riscv pmap: Add an __unused wrapper for a variable only used under PV_STATS. (authored by jhb).
riscv pmap: Add an __unused wrapper for a variable only used under PV_STATS.
Thu, May 25, 5:46 PM
jhb committed rG61fab1341a6b: powerpc booke: Add an __unused wrapper for a variable only used under DEBUG. (authored by jhb).
powerpc booke: Add an __unused wrapper for a variable only used under DEBUG.
Thu, May 25, 5:45 PM
jhb committed R11:ec2e657d485a: x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock. (authored by jhb).
x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock.
Thu, May 25, 5:18 PM
jhb closed D40172: x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock..
Thu, May 25, 5:18 PM
jhb committed rG555b62e1c8ec: less: Re-enable -Wdeprecated-non-prototype warnings. (authored by jhb).
less: Re-enable -Wdeprecated-non-prototype warnings.
Thu, May 25, 4:17 PM
jhb committed rG6c08fd3dc804: Enable -Wstrict-prototypes by default in the kernel for clang 15+. (authored by jhb).
Enable -Wstrict-prototypes by default in the kernel for clang 15+.
Thu, May 25, 2:13 PM
jhb committed rG3dad1c6696d2: Enable -Wstrict-prototypes for all clang versions at WARNS >= 3. (authored by jhb).
Enable -Wstrict-prototypes for all clang versions at WARNS >= 3.
Thu, May 25, 2:12 PM
jhb committed rG4ef3b0c138d4: ldns: Silence -Wstrict-prototypes warnings. (authored by jhb).
ldns: Silence -Wstrict-prototypes warnings.
Thu, May 25, 2:12 PM
jhb committed rG48f52d9179d5: zfs: Fix build on 32-bit platforms after most recent import. (authored by jhb).
zfs: Fix build on 32-bit platforms after most recent import.
Thu, May 25, 2:12 PM
jhb closed D39734: Enable -Wstrict-prototypes by default in the kernel for clang 15+..
Thu, May 25, 2:12 PM
jhb closed D39732: Enable -Wstrict-prototypes for all clang versions at WARNS >= 3..
Thu, May 25, 2:12 PM

Tue, May 23

jhb committed R11:74c810e22221: net/dpdk*: Use valid prototypes for function declarations with no arguments. (authored by jhb).
net/dpdk*: Use valid prototypes for function declarations with no arguments.
Tue, May 23, 9:30 PM
jhb closed D40170: net/dpdk*: Use valid prototypes for function declarations with no arguments..
Tue, May 23, 9:30 PM
jhb closed D40169: devel/jech-dht: Use valid prototype for dht_init..
Tue, May 23, 9:30 PM
jhb committed R11:5bb24584cf11: devel/jech-dht: Use valid prototype for dht_init. (authored by jhb).
devel/jech-dht: Use valid prototype for dht_init.
Tue, May 23, 9:30 PM
jhb accepted D40245: bhyve: Remove the exitcode stats structure.

I suspect the idea was you could examine it via gdb or the like during early development, but it doesn't serve a purpose now.

Tue, May 23, 9:15 PM
jhb accepted D40113: vmm: Avoid embedding cpuset_t ioctl ABIs.

Thanks for doing the other changes.

Tue, May 23, 9:15 PM
jhb accepted D40233: website: Update Software License Policy examples.
Tue, May 23, 9:05 PM
jhb accepted D40242: ofw_cpu: whitespace cleanup.
Tue, May 23, 9:05 PM
jhb accepted D40243: ofw_cpu: quiet secondary CPU devices.
Tue, May 23, 9:04 PM
jhb accepted D40241: riscv timer: use stimecmp CSR when available.
Tue, May 23, 9:03 PM
jhb accepted D40240: riscv: S-mode extension parsing.
Tue, May 23, 9:03 PM
jhb accepted D40157: add defaults for adduser.sh (OK? [yes] & additional user [no]).
Tue, May 23, 9:01 PM

Mon, May 22

jhb added a comment to D40048: pmc: Provide full path to modules from kernel linker.

I'm happy to do that if consensus is that's better, I just felt that it's better to give a hard error for something that's been removed as an option rather than warning that the option that used to do something now doesn't do anything but continuing onwards. I guess it depends whether people are doing weird things with -k; if they're only using it to work around the lack of full paths then ignoring the option will do the right thing, but if they're using it to map onto some other directory that doesn't match the full path then it'll do the wrong thing. Probably we're in the former category though, especially given how little pmcstat actually gets used...

Mon, May 22, 8:15 PM
jhb added a comment to D40183: build: Reduce the cost of supporting NO<INET|INET6|IP>* variants of the kernel..

I feel like the worst offenders are really when you have to #ifdef for both for LINT-NOIP. Another tact we might consider is just axeing LINT-NOIP. I can see some value in LINT-NOINET so an INET6-only kernel remains clean, but I see less value in LINT-NOIP and I feel like more of the cost is for that config.

Mon, May 22, 8:02 PM
jhb added a reviewer for D40157: add defaults for adduser.sh (OK? [yes] & additional user [no]): emaste.
Mon, May 22, 7:57 PM
jhb accepted D40142: Remove the "hardening" menu frm bsdinstall.

I'm would be fine with just removing it from the default install flow but leaving it around if a user wants to go look at it. I'm also fine with axing it entirely as this does. I would be less of a fan of changing some of these behaviors by default.

Mon, May 22, 7:52 PM
jhb added inline comments to D40113: vmm: Avoid embedding cpuset_t ioctl ABIs.
Mon, May 22, 7:49 PM
jhb accepted D22630: Include <sys/cdefs.h> in execinfo.h.
Mon, May 22, 7:35 PM
jhb added a comment to D40074: vmm(4): document maxcpu tunable.

Thanks for catching this.

Mon, May 22, 7:30 PM
jhb accepted D39595: pmc: Rework PROCEXEC event to support PIEs.
Mon, May 22, 7:19 PM
jhb accepted D40048: pmc: Provide full path to modules from kernel linker.

I'm inclined to agree with @jkoshy with emitting a warning for -k for stable/14, but the error from usage for an unknown option might be just as functional in practice.

Mon, May 22, 7:10 PM
jhb accepted D40049: pmc: Initialise and check the pm_flags field for CONFIGURELOG.
Mon, May 22, 7:06 PM
jhb added a comment to D40171: net/realtek-re-kmod: Use C89 function declarations..

Actually, my bad, I already enabled the warning for this in main. I have another warning I'm enabling and the exp-run for the second warning found this breakage from the first (I guess the module was broken for some other reason at the time I ran the earlier exp-run).

Mon, May 22, 4:15 PM
jhb added a comment to D40171: net/realtek-re-kmod: Use C89 function declarations..
In D40171#915122, @ale wrote:

Just to know, is this required by a compiler update?

Mon, May 22, 4:14 PM

Sat, May 20

jhb accepted D40099: kdump: Add a facility to print numbers always in decimal format.
Sat, May 20, 5:37 PM
jhb added a comment to D40099: kdump: Add a facility to print numbers always in decimal format.

I wouldn't mind spelling out "decimal". File descriptor arguments are also good candidates for always printing as decimal BTW.

Sat, May 20, 5:36 PM
jhb accepted D40122: LinuxKPI: implement pci_rescan_bus().
Sat, May 20, 5:35 PM
jhb added inline comments to D40084: LinuxKPI: fix WRITE_ONCE().
Sat, May 20, 5:32 PM
jhb committed rGc98146ae229c: cxgbe: Move ethofld_transmit under #ifdef INET || INET. (authored by jhb).
cxgbe: Move ethofld_transmit under #ifdef INET || INET.
Sat, May 20, 4:29 PM
jhb committed rGac6dd012590e: netlink: Move an INET-only variable under #if. (authored by jhb).
netlink: Move an INET-only variable under #if.
Sat, May 20, 4:29 PM
jhb requested review of D40172: x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock..
Sat, May 20, 12:53 AM
jhb requested review of D40171: net/realtek-re-kmod: Use C89 function declarations..
Sat, May 20, 12:52 AM
jhb requested review of D40170: net/dpdk*: Use valid prototypes for function declarations with no arguments..
Sat, May 20, 12:52 AM
jhb requested review of D40169: devel/jech-dht: Use valid prototype for dht_init..
Sat, May 20, 12:51 AM

Wed, May 10

jhb added a comment to D40031: avoid installing if_wg.h twice.

Yes, the intention was to only install the one header needed for userland, not all of them.

Wed, May 10, 5:11 PM

Tue, May 9

jhb accepted D40027: Cirrus-CI: add gcc12 task on main branch.

As noted in IRC, I think it would be nice to apply the same only_if clause to other automatic jobs as well and provide duplicate manual jobs for those also that developers can request in their own fork.

Tue, May 9, 9:02 PM
jhb added a comment to D40025: git: Use dashes rather than spaces in trailers.

While I prefer the tab alignment, the style in the broader community that uses dashes is to not do the tabs either, and in particular that would be compatible with using git commit --trailer

Tue, May 9, 8:47 PM
jhb added inline comments to D40027: Cirrus-CI: add gcc12 task on main branch.
Tue, May 9, 8:43 PM
jhb added a comment to D36553: git-arc: Just strip escape sequences form arc log.

I must admit I am quite used to the color output and depend on it to stand out accepted from needs review, etc in the list output. I kept the colors intentionally in the original version of list.

Tue, May 9, 8:36 PM
jhb added a comment to D37176: bhyve: Remove vestigial support for setting max vCPUs..

I guess it's fine to merge.

Tue, May 9, 8:31 PM
jhb accepted D38338: bhyve: add cmdline option for user defined fw_cfg items.

A few suggestions, but looks ok to me otherwise.

Tue, May 9, 8:30 PM

Mon, May 8

jhb accepted D39949: bhyve: Fix vCPU single-stepping on VMX .

It would be good to update the commit log now to reflect the new status? This does seem like a fairly nice fix and much nicer than the other approaches I had considered.

Mon, May 8, 6:26 PM
jhb added inline comments to D39947: authpf: do not sprintf to a null pointer.
Mon, May 8, 6:19 PM
jhb accepted D39998: bhyve: specify OpenSSL 1.1 API.

I think that approach is fine for now, and it lets us stage things into the tree more gracefully.

Mon, May 8, 6:18 PM
jhb added a comment to D39992: git-arc: Add -c flag to patch to commit the change.

In general having a working version of this would be really nice.

Mon, May 8, 6:17 PM
jhb added inline comments to D39992: git-arc: Add -c flag to patch to commit the change.
Mon, May 8, 6:17 PM
jhb accepted D35447: vmm: save/restore pir_desc is required for posted-interrupts and VID.

Perhaps adjust the commit message to say something like "Failing to preserve pir_desc can result in pending interrupts being lost on resume leading to a hung VM" or some such to clarify that the hang is due to missing interrupts.

Mon, May 8, 6:13 PM · bhyve
jhb added a comment to D36553: git-arc: Just strip escape sequences form arc log.

Hmm, does this mean 'git arc list' no longer lists the colorized output it did before?

Mon, May 8, 6:08 PM
jhb accepted D36583: git-arc: Cope with extra output.

Ditto on "$@". :)

Mon, May 8, 6:05 PM
jhb accepted D39967: ossl: Add a fallback AES-GCM implementation using AES-NI.
Mon, May 8, 6:03 PM
jhb added a comment to D39806: smp: Dynamically allocate the stoppcbs array.

I think an osreldate check is ok. I already have to add one now to deal with arm64 struct layout changes in 14 anyway.

Mon, May 8, 5:59 PM
jhb added a comment to D39951: kgdb: Handle stoppcbs compat.

Humm, this needs to unpush the target on error now. There is a helper class to do that for you that uses RAII (you reset it when you've finished setting up the target).

Mon, May 8, 5:57 PM
jhb added inline comments to D39947: authpf: do not sprintf to a null pointer.
Mon, May 8, 5:55 PM
jhb added a comment to D39942: Provide some more information for userland core dumps.

The raw errno value would require a stack buffer to hold the formatted string which is my guess as to why it's just "other error" (and the original version Ed had didn't have the other error text even). I think if the other error case can be figured out via dtrace that using a static string to avoid the stack buffer is an ok compromise.

Mon, May 8, 5:53 PM
jhb closed D39819: mail/ctm: Fix build with -Wdeprecated-non-prototype..
Mon, May 8, 4:03 PM
jhb committed R11:221b0277ed94: mail/ctm: Fix build with -Wdeprecated-non-prototype. (authored by jhb).
mail/ctm: Fix build with -Wdeprecated-non-prototype.
Mon, May 8, 4:03 PM

May 4 2023

jhb accepted D39941: cpuset: increase userland maximum size to 1024.
May 4 2023, 11:53 PM
jhb committed rG6cf4b46197ba: emac(4): Use bool rather than boolean_t. (authored by jhb).
emac(4): Use bool rather than boolean_t.
May 4 2023, 7:35 PM
jhb committed rGafdb42987ca8: ofw_cpu_early_foreach: Change callback to return bool instead of boolean_t. (authored by jhb).
ofw_cpu_early_foreach: Change callback to return bool instead of boolean_t.
May 4 2023, 7:35 PM
jhb committed rG2fd903276ddb: dwc(4): Use bool rather than boolean_t. (authored by jhb).
dwc(4): Use bool rather than boolean_t.
May 4 2023, 7:35 PM
jhb committed rG1efae8a24ffd: dpaa2: Replace boolean_t with bool. (authored by jhb).
dpaa2: Replace boolean_t with bool.
May 4 2023, 7:35 PM
jhb committed rG463edaf441ac: al: Replace boolean_t with either al_bool or bool. (authored by jhb).
al: Replace boolean_t with either al_bool or bool.
May 4 2023, 7:35 PM
jhb committed rG65c92e48c43a: acpi_button: Replace boolean_t with better types. (authored by jhb).
acpi_button: Replace boolean_t with better types.
May 4 2023, 7:35 PM
jhb committed rG4961faaacc07: pmap_{un}map_io_transient: Use bool instead of boolean_t. (authored by jhb).
pmap_{un}map_io_transient: Use bool instead of boolean_t.
May 4 2023, 7:35 PM
jhb closed D39927: emac(4): Use bool rather than boolean_t..
May 4 2023, 7:35 PM
jhb committed rG407f675718aa: imgact_elf: Change header_supported to return bool instead of boolean_t. (authored by jhb).
imgact_elf: Change header_supported to return bool instead of boolean_t.
May 4 2023, 7:35 PM
jhb closed D39926: ofw_cpu_early_foreach: Change callback to return bool instead of boolean_t..
May 4 2023, 7:34 PM
jhb closed D39925: dwc(4): Use bool rather than boolean_t..
May 4 2023, 7:34 PM
jhb closed D39924: dpaa2: Replace boolean_t with bool..
May 4 2023, 7:34 PM
jhb closed D39923: al: Replace boolean_t with either al_bool or bool..
May 4 2023, 7:34 PM
jhb closed D39922: acpi_button: Replace boolean_t with better types..
May 4 2023, 7:34 PM
jhb closed D39920: pmap_{un}map_io_transient: Use bool instead of boolean_t..
May 4 2023, 7:34 PM
jhb closed D39919: imgact_elf: Change header_supported to return bool instead of boolean_t..
May 4 2023, 7:34 PM
jhb added a comment to D39921: pmap: Convert boolean_t to bool..
In D39921#908767, @kib wrote:

boolean_t is the mach' type AFAIK. I am curious why making this change.

May 4 2023, 7:31 PM

May 3 2023

jhb committed rGed3d14a5b0d0: Fix spelling of NO_WINFINITE_RECURSION. (authored by jhb).
Fix spelling of NO_WINFINITE_RECURSION.
May 3 2023, 12:36 AM