Page MenuHomeFreeBSD

jhb (John Baldwin)
User

Projects (9)

User Details

User Since
Mar 11 2014, 8:46 PM (535 w, 2 d)

Recent Activity

Mon, Jun 10

jhb requested review of D45554: acpi: Narrow workaround for broken interrupt settings on x86.
Mon, Jun 10, 10:08 PM

Fri, Jun 7

jhb added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

My point is that existing debuggers already know to extract build-id from PT_NOTE sections in cores, etc. and that it will likely be much simpler to implement support for build-id matching in kgdb (which I maintain) if we just ensure the note is memory-resident vs adding a custom entry in the linker_files linked list. Probably it would be worth while building the debugger side out in either lldb or gdb to validate the kernel changes.

Fri, Jun 7, 8:29 PM
jhb added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

It is far worse though, we can't find the linker_files linked list in a crash dump without already having the correct kernel to find the linker_files and related symbols, so this change doesn't really add anything useful that I can see. At least, I don't believe we are currently including the kernel's build-id in the minidump header (and it doesn't end up in the /var/crash/info.X file). That's probably the first thing to address in some way.

Fri, Jun 7, 5:52 PM

Thu, Jun 6

jhb added inline comments to D45434: pci_host_generic: Permit multiple bridges to share the same I/O window.
Thu, Jun 6, 9:52 PM
jhb committed rGb0e7358bf8b9: cryptocheck: Don't treat OpenSSL errors as fatal (authored by jhb).
cryptocheck: Don't treat OpenSSL errors as fatal
Thu, Jun 6, 9:49 PM
jhb closed D45279: cryptocheck: Don't treat OpenSSL errors as fatal.
Thu, Jun 6, 9:49 PM
jhb committed rGa2c88e0d47ac: git-arc: Use a helper function to fetch boolean config variables (authored by jhb).
git-arc: Use a helper function to fetch boolean config variables
Thu, Jun 6, 9:46 PM
jhb closed D45104: git-arc: Use a helper function to fetch boolean config variables.
Thu, Jun 6, 9:46 PM
jhb accepted D45326: riscv: Don't handle missing kernel L3 pages.
Thu, Jun 6, 5:24 PM
jhb accepted D45325: riscv: adjust physmem reservation.
Thu, Jun 6, 5:22 PM
jhb accepted D45324: riscv: Construct an identity map in locore.S.
Thu, Jun 6, 5:21 PM
jhb accepted D45503: ctladm.8: fix several errors in the "port" section.
Thu, Jun 6, 5:11 PM
jhb accepted D45475: riscv: support PV_STATS pmap option.
Thu, Jun 6, 5:07 PM
jhb accepted D45474: riscv: improve commentary around initial stvec.
Thu, Jun 6, 5:05 PM
jhb added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

We should do this via normal ELF and not invent new ways to store the build-id. The build-id should already be memory-resident for the link_elf.c case. What we really should be doing is storing the build-id for the kernel as a .note in the crash dump. We should also probably just be treating the .note as memory-resident for .o files (if not already, Mark suggested they are already memory-resident), and kgdb can look for the build-id that way rather than digging around in the linker_files TAILQ.

Thu, Jun 6, 5:02 PM
jhb added inline comments to D45472: [DRAFT/RFC] riscv: T-HEAD PBMT support.
Thu, Jun 6, 4:42 PM
jhb added inline comments to D45471: [DRAFT/RFC] riscv: Svpbmt extension support.
Thu, Jun 6, 4:38 PM
jhb added a comment to D45471: [DRAFT/RFC] riscv: Svpbmt extension support.

One of my suggestions didn't get added and I have to add a dummy comment to add it.

Thu, Jun 6, 4:38 PM
jhb added a comment to D45471: [DRAFT/RFC] riscv: Svpbmt extension support.

Generally looks good to me.

Thu, Jun 6, 4:36 PM

Wed, Jun 5

jhb committed rGf46d4971b5af: nvmf: Handle shutdowns more gracefully (authored by jhb).
nvmf: Handle shutdowns more gracefully
Wed, Jun 5, 8:04 PM
jhb committed rGaacaeeee8ecd: nvmf: Permit failing I/O requests while disconnected (authored by jhb).
nvmf: Permit failing I/O requests while disconnected
Wed, Jun 5, 8:04 PM
jhb committed rGe140f85dc194: nvmf: Rescan namespaces after reconnecting (authored by jhb).
nvmf: Rescan namespaces after reconnecting
Wed, Jun 5, 8:04 PM
jhb committed rGf6d434f110fd: nvmf: Rescan all namespaces if the changed NS log page is too large (authored by jhb).
nvmf: Rescan all namespaces if the changed NS log page is too large
Wed, Jun 5, 8:04 PM
jhb committed rG8a082ca89fc0: nvmf: Factor out most of nvmf_rescan_ns into a helper routine (authored by jhb).
nvmf: Factor out most of nvmf_rescan_ns into a helper routine
Wed, Jun 5, 8:04 PM
jhb closed D45462: nvmf: Handle shutdowns more gracefully.
Wed, Jun 5, 8:04 PM
jhb committed rG02ddb305cc6d: nvmf: Refactor nvmf_add_namespaces to be more generic (authored by jhb).
nvmf: Refactor nvmf_add_namespaces to be more generic
Wed, Jun 5, 8:04 PM
jhb closed D45308: nvmf: Permit failing I/O requests while disconnected.
Wed, Jun 5, 8:04 PM
jhb closed D45461: nvmf: Rescan namespaces after reconnecting.
Wed, Jun 5, 8:04 PM
jhb committed rGbed59baba2ca: nvmf: Pass const pointers to namespace data to nvmf_*_ns (authored by jhb).
nvmf: Pass const pointers to namespace data to nvmf_*_ns
Wed, Jun 5, 8:04 PM
jhb closed D45460: nvmf: Rescan all namespaces if the changed NS log page is too large.
Wed, Jun 5, 8:04 PM
jhb closed D45459: nvmf: Factor out most of nvmf_rescan_ns into a helper routine.
Wed, Jun 5, 8:04 PM
jhb closed D45458: nvmf: Refactor nvmf_add_namespaces to be more generic.
Wed, Jun 5, 8:04 PM
jhb closed D45457: nvmf: Pass const pointers to namespace data to nvmf_*_ns.
Wed, Jun 5, 8:04 PM
jhb committed rG56b822a17cde: pci: Only add special VF handling for direct children in bus methods (authored by jhb).
pci: Only add special VF handling for direct children in bus methods
Wed, Jun 5, 4:51 PM
jhb closed D45499: pci: Only add special VF handling for direct children in bus methods.
Wed, Jun 5, 4:51 PM
jhb requested review of D45499: pci: Only add special VF handling for direct children in bus methods.
Wed, Jun 5, 3:24 PM
jhb added a comment to D45461: nvmf: Rescan namespaces after reconnecting.
In D45461#1036800, @imp wrote:

Is this a good place to add a brief note about why this is a good idea, either in the commit message or in the code? (If so, I'd lean towards the former).

Wed, Jun 5, 12:07 AM
jhb added inline comments to D45459: nvmf: Factor out most of nvmf_rescan_ns into a helper routine.
Wed, Jun 5, 12:05 AM
jhb added inline comments to D45458: nvmf: Refactor nvmf_add_namespaces to be more generic.
Wed, Jun 5, 12:01 AM

Tue, Jun 4

jhb committed rG871b33ad65ba: pci: Consistently use pci_vf_* for suballocated VF memory resources (authored by jhb).
pci: Consistently use pci_vf_* for suballocated VF memory resources
Tue, Jun 4, 11:53 PM
jhb closed D45406: pci: Consistently use pci_vf_* for suballocated VF memory resources.
Tue, Jun 4, 11:53 PM
jhb closed D45433: acpi/pci/vmd: Fix a nit with nested resource mapping requests.
Tue, Jun 4, 11:52 PM
jhb committed rG98056127ddfa: acpi/pci/vmd: Fix a nit with nested resource mapping requests (authored by jhb).
acpi/pci/vmd: Fix a nit with nested resource mapping requests
Tue, Jun 4, 11:52 PM

Sun, Jun 2

jhb requested review of D45462: nvmf: Handle shutdowns more gracefully.
Sun, Jun 2, 7:52 PM
jhb added a comment to D45308: nvmf: Permit failing I/O requests while disconnected.

After rebasing this on top of the series to rescan on reconnect, this now works as desired, so I will keep it at as CAM_DEV_NOT_THERE but push the rescan on reconnect fixes first.

Sun, Jun 2, 7:41 PM
jhb requested review of D45461: nvmf: Rescan namespaces after reconnecting.
Sun, Jun 2, 6:44 PM
jhb requested review of D45460: nvmf: Rescan all namespaces if the changed NS log page is too large.
Sun, Jun 2, 6:44 PM
jhb requested review of D45459: nvmf: Factor out most of nvmf_rescan_ns into a helper routine.
Sun, Jun 2, 6:44 PM
jhb requested review of D45458: nvmf: Refactor nvmf_add_namespaces to be more generic.
Sun, Jun 2, 6:44 PM
jhb requested review of D45457: nvmf: Pass const pointers to namespace data to nvmf_*_ns.
Sun, Jun 2, 6:44 PM

Sat, Jun 1

jhb committed rG0f1d148cfd15: pci: Use kobj typedefs for new-bus method prototypes (authored by jhb).
pci: Use kobj typedefs for new-bus method prototypes
Sat, Jun 1, 8:26 PM
jhb committed rGc7c037fad186: bhnd: Remove orphaned driver for the BHND USB core (authored by jhb).
bhnd: Remove orphaned driver for the BHND USB core
Sat, Jun 1, 8:26 PM
jhb closed D45405: pci: Use kobj typedefs for new-bus method prototypes.
Sat, Jun 1, 8:26 PM
jhb closed D45432: bhnd: Remove orphaned driver for the BHND USB core.
Sat, Jun 1, 8:25 PM
jhb requested review of D45434: pci_host_generic: Permit multiple bridges to share the same I/O window.
Sat, Jun 1, 4:14 AM
jhb updated the diff for D45406: pci: Consistently use pci_vf_* for suballocated VF memory resources.

Apply the fix from D45433

Sat, Jun 1, 4:13 AM
jhb requested review of D45433: acpi/pci/vmd: Fix a nit with nested resource mapping requests.
Sat, Jun 1, 4:13 AM
jhb requested review of D45432: bhnd: Remove orphaned driver for the BHND USB core.
Sat, Jun 1, 4:13 AM

Fri, May 31

jhb added inline comments to D45406: pci: Consistently use pci_vf_* for suballocated VF memory resources.
Fri, May 31, 3:32 AM
jhb added a comment to D45406: pci: Consistently use pci_vf_* for suballocated VF memory resources.

I was able to test this by loading if_cxlv on a host after enabling iov (no need for bhyve to be involved). This version works fine for me now for that test and should also work for bhyve.

Fri, May 31, 3:30 AM
jhb updated the diff for D45406: pci: Consistently use pci_vf_* for suballocated VF memory resources.

Pass right device_t for map/unmap resource

Fri, May 31, 3:30 AM

Thu, May 30

jhb committed rGff7de3b4d32b: nextboot: Permit ZFS boot filesystems mounted at the pool's root (authored by jhb).
nextboot: Permit ZFS boot filesystems mounted at the pool's root
Thu, May 30, 12:46 PM
jhb closed D45306: nextboot: Permit ZFS boot filesystems mounted at the pool's root.
Thu, May 30, 12:46 PM
jhb requested review of D45405: pci: Use kobj typedefs for new-bus method prototypes.
Thu, May 30, 3:12 AM
jhb requested review of D45406: pci: Consistently use pci_vf_* for suballocated VF memory resources.
Thu, May 30, 3:12 AM

Thu, May 23

jhb added inline comments to D45316: geom_io: Shift to pause_sbt to eliminate bogus min and update comment..
Thu, May 23, 5:23 PM
jhb added inline comments to D45308: nvmf: Permit failing I/O requests while disconnected.
Thu, May 23, 5:14 PM

Wed, May 22

jhb added inline comments to D45308: nvmf: Permit failing I/O requests while disconnected.
Wed, May 22, 11:40 PM
jhb requested review of D45308: nvmf: Permit failing I/O requests while disconnected.
Wed, May 22, 11:05 PM
jhb requested review of D45306: nextboot: Permit ZFS boot filesystems mounted at the pool's root.
Wed, May 22, 10:21 PM

Tue, May 21

jhb accepted D45289: arm64: Fixed IOMMU compilation errors.

Can you please add IOMMU to arm64 NOTES?

Tue, May 21, 10:36 PM · arm64
jhb closed D45280: cryptocheck: Don't test Chacha20-Poly1305 with an IV size of 8.
Tue, May 21, 4:49 PM
jhb committed rG4ebf794a08de: cryptocheck: Don't test Chacha20-Poly1305 with an IV size of 8 (authored by jhb).
cryptocheck: Don't test Chacha20-Poly1305 with an IV size of 8
Tue, May 21, 4:49 PM
jhb added a comment to D45279: cryptocheck: Don't treat OpenSSL errors as fatal.

Why would openssl return an error?

Tue, May 21, 4:35 PM

Mon, May 20

jhb requested review of D45280: cryptocheck: Don't test Chacha20-Poly1305 with an IV size of 8.
Mon, May 20, 11:46 PM
jhb requested review of D45279: cryptocheck: Don't treat OpenSSL errors as fatal.
Mon, May 20, 11:45 PM
jhb added inline comments to D45278: Update set of packages for DVDs.
Mon, May 20, 8:51 PM
jhb accepted D45264: arm64/rockchip: Fix the build with GCC.
Mon, May 20, 5:29 PM
jhb added a reviewer for D45268: libgcc_s: Add a linker script to link to libgcc: jrtc27.
Mon, May 20, 5:28 PM
jhb added a comment to D45268: libgcc_s: Add a linker script to link to libgcc.

I wonder if this would be useful on risc64 which has similar issues. There I have been trying (but not succeeding) to get GCC's libatomic.a to build and install as part of the freebsdN-gcc ports so that it could be linked to.

Mon, May 20, 5:27 PM
jhb accepted D45267: sys: Build arm64 per-thread SSP with GCC.
Mon, May 20, 5:26 PM
jhb accepted D45266: dev/hwpmc: Fix the dmc620 MD4 macro.
Mon, May 20, 5:25 PM
jhb accepted D45265: pci: Fix pci_host_generic_acpi with gcc.
Mon, May 20, 5:25 PM
jhb accepted D45262: arm64: Add the pointer auth registers to armreg.h.
Mon, May 20, 5:24 PM
jhb accepted D45260: sys/sys: Fix __builtin_is_aligned fallback.
Mon, May 20, 5:24 PM
jhb accepted D45263: arm64: Use the pointer auth register defines.
Mon, May 20, 5:24 PM
jhb accepted D45261: arm64: Use the UL macro in TCR_EL1 defines.
Mon, May 20, 5:23 PM
jhb added a reviewer for D45259: csu: Find the main pointer through the GOT: jrtc27.
Mon, May 20, 5:23 PM

Fri, May 17

jhb accepted D45230: Improve broken-on-gcc checks.
Fri, May 17, 7:23 PM
jhb added a comment to D36754: arm atomic-v6.h: Use eoreqs rather than eorseq to appease GNU as..

Hmm, shouldn't the -masm-syntax-unified be added to gcc CFLAGS? (just guessing, untested)

Fri, May 17, 7:22 PM
jhb added inline comments to D45223: bhyve: avoid resource leak in error path.
Fri, May 17, 7:21 PM

Thu, May 16

jhb added a comment to D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.

FYI, I did tweak a few style things when pushing: 1) I moved the new extern variable declaration down next to the one other extern variable in the header (and in general type definitions are first before externs), and in kern_linker.c I rewrapped a few lines to fit in 80 cols.

Thu, May 16, 9:19 PM
jhb committed rG75529910f77a: Trim a spurious trailing backslash (authored by jhb).
Trim a spurious trailing backslash
Thu, May 16, 7:31 PM
jhb added a comment to D45193: arm: fail early on gcc builds.

Only amd64 and i386 successfully build with GCC currently. risc-v needs GCC's libatomic to link, powerpc and arm break in various ways. There's a reason that only amd64 GCC builds are enabled in CI. The toolchains do exist for all of our platforms, but getting things to build there is more of an aspiration.

Thu, May 16, 5:39 PM
jhb committed rG28a59100b54f: linuxkpi: Provide a non-NULL value for THIS_MODULE (authored by ashafer_badland.io).
linuxkpi: Provide a non-NULL value for THIS_MODULE
Thu, May 16, 5:39 PM
jhb closed D44306: linuxkpi: Provide a non-NULL value for THIS_MODULE.
Thu, May 16, 5:38 PM
jhb accepted D45223: bhyve: avoid resource leak in error path.
Thu, May 16, 5:35 PM
jhb added a reviewer for D45223: bhyve: avoid resource leak in error path: corvink.
Thu, May 16, 5:35 PM

May 13 2024

jhb requested review of D45187: cxgbe: Add a 'show t4 memdump' DDB command.
May 13 2024, 9:46 PM
jhb requested review of D45186: cxgbe: Remove most uses of sysctl_wire_old_buffer.
May 13 2024, 9:46 PM