Page MenuHomeFreeBSD

imp (Warner Losh)
User

Projects (6)

User Details

User Since
Jun 2 2014, 4:20 PM (569 w, 5 d)

Recent Activity

Yesterday

imp added a comment to D48678: preliminary usb support for fwget.

The thought was it would be better to have the ids in a file (rather than in code). This would allow masks too. And we could reuse it for pci.

Sat, May 3, 4:21 PM
imp added inline comments to D48678: preliminary usb support for fwget.
Sat, May 3, 4:16 PM
imp added a comment to D50124: Compute 'maxproc'/'maxfiles' from memory amount; Expand/fix comments.

Aarch64 can have 16k pages. There are Experimental patches for amd64 to have 32k pages. I'm not sure it matters though..

Sat, May 3, 5:12 AM

Thu, May 1

imp committed rG7bea3c7c1cb2: efi: Fix overlooked uuid -> efi_guid_t change (authored by imp).
efi: Fix overlooked uuid -> efi_guid_t change
Thu, May 1, 10:02 PM
imp committed rG8d136fb027ba: efivar: Use struct guid_table instead of uuid_table (authored by imp).
efivar: Use struct guid_table instead of uuid_table
Thu, May 1, 6:07 PM
imp committed rG20a860ae3a65: efi: Move to using efi_guid_t in ioctl definitions (authored by imp).
efi: Move to using efi_guid_t in ioctl definitions
Thu, May 1, 6:07 PM
imp committed rG4c317815f1c2: efivar: Move to new ioctl struct (authored by imp).
efivar: Move to new ioctl struct
Thu, May 1, 6:07 PM
imp committed rGdaeb975ff570: efivar: Use bool instead of int (authored by imp).
efivar: Use bool instead of int
Thu, May 1, 6:07 PM
imp committed rG915b2336b1c4: libefi: Update to use the efi_guid_t from sys/efi.h (authored by imp).
libefi: Update to use the efi_guid_t from sys/efi.h
Thu, May 1, 6:07 PM
imp committed rG6366114c716f: efi: Use EDK2 EFI_GUID instead of sturct uuid (authored by imp).
efi: Use EDK2 EFI_GUID instead of sturct uuid
Thu, May 1, 6:07 PM
imp committed rG9d218a7be088: efitable: Don't assume EFI GUID are uuid_t (authored by imp).
efitable: Don't assume EFI GUID are uuid_t
Thu, May 1, 6:07 PM
imp committed rG20c5e4b39368: efivar: Allow uuid_t and efi_guid_t to be different types. (authored by imp).
efivar: Allow uuid_t and efi_guid_t to be different types.
Thu, May 1, 6:07 PM
imp closed D50060: efivar: Use struct guid_table instead of uuid_table.
Thu, May 1, 6:07 PM
imp closed D50059: efivar: Use bool instead of int.
Thu, May 1, 6:07 PM
imp closed D50057: efi: Move to using efi_guid_t in ioctl definitions.
Thu, May 1, 6:07 PM
imp closed D50058: libefivar: Move to new ioctl struct.
Thu, May 1, 6:07 PM
imp closed D50038: libefi: Update to use the efi_guid_t from sys/efi.h.
Thu, May 1, 6:07 PM
imp committed rG3eb80ef831e1: efivar: Use memcmp instead of uuid_ functions to compare (authored by imp).
efivar: Use memcmp instead of uuid_ functions to compare
Thu, May 1, 6:07 PM
imp committed rG5f2dd25a9e71: efivar: Test uuid against zero (authored by imp).
efivar: Test uuid against zero
Thu, May 1, 6:07 PM
imp closed D50037: efi: Use EDK2 EFI_GUID instead of sturct uuid.
Thu, May 1, 6:07 PM
imp committed rGcdfaf4e984a4: efivar: Add some explicit casts to uuid_t (authored by imp).
efivar: Add some explicit casts to uuid_t
Thu, May 1, 6:07 PM
imp closed D50035: efivar: Allow uuid_t and efi_guid_t to be different types..
Thu, May 1, 6:07 PM
imp closed D50036: efitable: Don't assume EFI GUID are uuid_t.
Thu, May 1, 6:07 PM
imp closed D50033: efivar: Use memcmp instead of uuid_ functions to compare.
Thu, May 1, 6:06 PM
imp closed D50034: efivar: Test uuid against zero.
Thu, May 1, 6:06 PM
imp closed D50032: efivar: Add some explicit casts to uuid_t.
Thu, May 1, 6:06 PM
imp added inline comments to D50058: libefivar: Move to new ioctl struct.
Thu, May 1, 5:47 PM
imp retitled D50058: libefivar: Move to new ioctl struct from efivar: Move to new ioctl struct to libefivar: Move to new ioctl struct.
Thu, May 1, 5:46 PM
imp retitled D50058: libefivar: Move to new ioctl struct from livefivar: Move to new ioctl struct to efivar: Move to new ioctl struct.
Thu, May 1, 5:45 PM
imp added inline comments to D50098: loader.efi: add error printouts for chain command.
Thu, May 1, 5:36 PM

Wed, Apr 30

imp committed rGf676c13d4226: nvme: Allow command opcodes with lower bit clear as reads (authored by imp).
nvme: Allow command opcodes with lower bit clear as reads
Wed, Apr 30, 11:06 PM
imp closed D50064: nvme: Allow command opcodes with lower bit clear as reads.
Wed, Apr 30, 11:06 PM
imp added inline comments to D50064: nvme: Allow command opcodes with lower bit clear as reads.
Wed, Apr 30, 9:24 PM
imp accepted D50089: Don't define NULL to nullptr in C++11 mode.
Wed, Apr 30, 5:42 PM
imp committed rG897fcbe89391: mpi3mr: Update consumer index of admin and operational reply queues after every… (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Update consumer index of admin and operational reply queues after every…
Wed, Apr 30, 5:27 PM
imp committed rGb794f3126c82: mpi3mr: modified the log messages to be on a single line (authored by chandrakanth.patil_broadcom.com).
mpi3mr: modified the log messages to be on a single line
Wed, Apr 30, 5:23 PM
imp committed rGe2b8fb2202c2: mpi3mr: Allow driver to be in-kenrel and add to GENERIC (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Allow driver to be in-kenrel and add to GENERIC
Wed, Apr 30, 5:23 PM
imp committed rGe6d4b221ba7c: mpi3mr: Update Driver Version to 8.14.0.2.0 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Update Driver Version to 8.14.0.2.0
Wed, Apr 30, 5:23 PM
imp committed rGf76b6e1c075b: mpi3mr: Update Copyright Year to 2025 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Update Copyright Year to 2025
Wed, Apr 30, 5:23 PM
imp committed rG07070742fa71: mpi3mr: Process LOG Data Events in Interrupt Top Half for Early Notification (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Process LOG Data Events in Interrupt Top Half for Early Notification
Wed, Apr 30, 5:23 PM
imp committed rGec6fea480da5: mpi3mr: Enable Diag Save for All Diagnostic Fault Cases (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Enable Diag Save for All Diagnostic Fault Cases
Wed, Apr 30, 5:23 PM
imp committed rG9980fb4d87ae: mpi3mr: Block I/Os While Task Management is in Progress (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Block I/Os While Task Management is in Progress
Wed, Apr 30, 5:23 PM
imp committed rG19981894d133: mpi3mr: Add NVData Parameter for Host Timestamp Synchronization (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Add NVData Parameter for Host Timestamp Synchronization
Wed, Apr 30, 5:23 PM
imp committed rG3abb5750c321: mpi3mr: Broadcom's MPT-Fusion version 4 is amd64 and aarch64 only (authored by imp).
mpi3mr: Broadcom's MPT-Fusion version 4 is amd64 and aarch64 only
Wed, Apr 30, 5:23 PM
imp committed rG05cf85775b2a: mpi3mr: Handle Insufficient Power Fault Code (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Handle Insufficient Power Fault Code
Wed, Apr 30, 5:23 PM
imp committed rG22b4023cba4e: mpi3mr: Set Driver Capability for OS Exposure in IOCInit (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Set Driver Capability for OS Exposure in IOCInit
Wed, Apr 30, 5:23 PM
imp committed rG94ede6230de2: mpi3mr: Enhance Controller Enable Retry Logic in Host Drivers (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Enhance Controller Enable Retry Logic in Host Drivers
Wed, Apr 30, 5:23 PM
imp committed rG1fc80c01391e: mpi3mr: Track IO per target counter during queue poll with local variable (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Track IO per target counter during queue poll with local variable
Wed, Apr 30, 5:23 PM
imp committed rG46d0fea77eb4: mpi3mr: configure larger max I/O size if the HBA firmware supports it (authored by chs).
mpi3mr: configure larger max I/O size if the HBA firmware supports it
Wed, Apr 30, 5:23 PM
imp committed rG60cf1576501d: mpi3mr: Update MPI Header to Version 36 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Update MPI Header to Version 36
Wed, Apr 30, 5:23 PM
imp committed rG80b069913d49: mpi3mr: Divert large WriteSame IOs to firmware if unmap and ndob bits are set (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Divert large WriteSame IOs to firmware if unmap and ndob bits are set
Wed, Apr 30, 5:23 PM
imp committed rG810abb12585d: mpi3mr: driver version update to 8.10.0.1.0 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: driver version update to 8.10.0.1.0
Wed, Apr 30, 5:23 PM
imp committed rG8fa8f7a84823: mpi3mr: copyright year update to 2024 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: copyright year update to 2024
Wed, Apr 30, 5:22 PM
imp committed rG3635f18ee639: mpi3mr: mpi headers update to latest (authored by chandrakanth.patil_broadcom.com).
mpi3mr: mpi headers update to latest
Wed, Apr 30, 5:22 PM
imp committed rG14283d89e4a9: mpi3mr: Adding FreeBSD OS Type to Fault/Reset Reason Code (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Adding FreeBSD OS Type to Fault/Reset Reason Code
Wed, Apr 30, 5:22 PM
imp committed rG40089481d099: mpi3mr: diag fault success beyond F000 fault code (authored by chandrakanth.patil_broadcom.com).
mpi3mr: diag fault success beyond F000 fault code
Wed, Apr 30, 5:22 PM
imp committed rGd22c5b277ae4: mpi3mr: Decrement per controller and per target counter post reset (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Decrement per controller and per target counter post reset
Wed, Apr 30, 5:22 PM
imp committed rG3e1b3b3d15cd: mpi3mr: poll reply queue and add MPI3MR_DEV_REMOVE_HS_COMPLETED flag (authored by chandrakanth.patil_broadcom.com).
mpi3mr: poll reply queue and add MPI3MR_DEV_REMOVE_HS_COMPLETED flag
Wed, Apr 30, 5:22 PM
imp committed rGa24be14366a7: mpi3mr: Controller state check before enabling PEL (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Controller state check before enabling PEL
Wed, Apr 30, 5:22 PM
imp committed rG85be8c09ab4b: mpi3mr: Block devices persist despite being offlined during reset (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Block devices persist despite being offlined during reset
Wed, Apr 30, 5:22 PM
imp committed rG05e6c3afbc40: mpi3mr: add missing terminator entry to mpi3mr_identifiers array (authored by chs).
mpi3mr: add missing terminator entry to mpi3mr_identifiers array
Wed, Apr 30, 5:22 PM
imp committed rG25607ef4852a: mpi3mr: Fix confusion over | and & (authored by imp).
mpi3mr: Fix confusion over | and &
Wed, Apr 30, 5:22 PM

Tue, Apr 29

imp accepted D50079: xinstall: Don't use UF_SETTABLE to infer whether st_flags is present.
Tue, Apr 29, 10:22 PM
imp committed rG4a12e28f330c: pciio.h: Delete trailing whitespace (authored by imp).
pciio.h: Delete trailing whitespace
Tue, Apr 29, 7:02 PM
imp accepted D50075: time: use precise callout for clock_nanosleep(2) and nanosleep(2).

This looks good to me.

Tue, Apr 29, 5:01 PM
imp added a comment to D45404: biosboot: Detect memory disks from PXE.

Indeed, there is the question of whether the mapped memory could be used by the VM. russor_ruka.org implies it should not as it is removed from the BIOS SMAP.

I'm not aware of a common facility to exclude physical memory regions early, or one to do that after vm_page_startup() starts (and bases its actions upon phys_avail[] and vm_phys_early_segs[]). There are two ways finally leading to filling phys_avail[]: amd64 & i386 use physmap[] (see add_physmap_entry()/bios_add_smap_entries()), whereas arm64 (and riscv IIRC) use the facilities in subr_physmem.c (there is a physmem_exclude_region() function). If limited to amd64, this would have to go into machdep.c. I'm not sure if it's possible to query hints that early.

Tue, Apr 29, 4:45 PM
imp added a comment to D49970: queue: Consistent single space after all #define.
In D49970#1142028, @jhb wrote:
In D49970#1141669, @jhb wrote:

Originally it ways always tab. The change to permit spaces is recent, and older code from BSD should probably stay as it was to avoid churn. It seems the recent additions to this file just failed to follow the part about "match the existing style".

FWIW, I've added the corresponding commit to .git-blame-ignore-revs (as requested by markj@) so that it doesn't show up in git blame (provided git is so configured).

Would you like me to switch to all tabs instead?

No, it is not worth the churn. Just check match the existing style in the future was my only real original point.

Tue, Apr 29, 4:30 PM
imp accepted D50016: subr_devmap: Reduce the use of the static devmap.
In D50016#1142030, @jhb wrote:

Thanks, this is great.

To me it is preferable to replace the repeated #ifdef __arm__ instances with a named flag, e.g. #ifdef DEVMAP_HAS_STATIC. If it is annoying to achieve then no problem.

We could add a __HAVE_STATIC_DEVMAP in <machine/param.h>. Similar to what we do for __HAVE_ACPI.

Tue, Apr 29, 2:49 PM
imp added inline comments to D50065: net/if_dl.h: make self-contained.
Tue, Apr 29, 6:23 AM
imp committed rG7554a5b611fd: arm: Hack to make kernel.bin into a zImage (authored by imp).
arm: Hack to make kernel.bin into a zImage
Tue, Apr 29, 5:54 AM
imp requested review of D50064: nvme: Allow command opcodes with lower bit clear as reads.
Tue, Apr 29, 5:15 AM
imp updated the diff for D50034: efivar: Test uuid against zero.

update per kyle's suggestion

Tue, Apr 29, 2:05 AM

Mon, Apr 28

imp requested review of D50060: efivar: Use struct guid_table instead of uuid_table.
Mon, Apr 28, 11:58 PM
imp requested review of D50059: efivar: Use bool instead of int.
Mon, Apr 28, 11:57 PM
imp requested review of D50058: libefivar: Move to new ioctl struct.
Mon, Apr 28, 11:57 PM
imp requested review of D50057: efi: Move to using efi_guid_t in ioctl definitions.
Mon, Apr 28, 11:57 PM
imp accepted D50056: release: style: prefer `-n` over `! -z`.
Mon, Apr 28, 10:31 PM
imp accepted D50055: alloca.3: move to share/man/man3.
Mon, Apr 28, 10:30 PM
imp accepted D50054: armv7: drop alloca from libc.
Mon, Apr 28, 10:29 PM
imp committed rG44231935d90c: dot.shrc: words to words, should be singular (authored by grahamperrin).
dot.shrc: words to words, should be singular
Mon, Apr 28, 9:50 PM
imp committed rG8528d7e4f642: github: Fix checklist action (authored by ahmadkhalifa570_gmail.com).
github: Fix checklist action
Mon, Apr 28, 9:37 PM
imp committed rG12968503b873: ig4(4): Add Raptor Lake PCI IDs (authored by ben_desync.com).
ig4(4): Add Raptor Lake PCI IDs
Mon, Apr 28, 9:23 PM
imp committed rG1a7c8b973933: vtnet(4): Added hw.vtnet.altq_disable tunable to manpage (authored by Bjoern Jakobsen <Bjoern.Jakobsen@lrz.de>).
vtnet(4): Added hw.vtnet.altq_disable tunable to manpage
Mon, Apr 28, 4:31 PM
imp committed rG3a9ebff23e85: vtnet(4): Replaced compiletime checks for ALTQ support to runtime checks (authored by Bjoern Jakobsen <Bjoern.Jakobsen@lrz.de>).
vtnet(4): Replaced compiletime checks for ALTQ support to runtime checks
Mon, Apr 28, 4:31 PM
imp committed rG108e5d07805e: vtnet(4): Added tunable hw.vtnet.altq_disable (authored by Bjoern Jakobsen <Bjoern.Jakobsen@lrz.de>).
vtnet(4): Added tunable hw.vtnet.altq_disable
Mon, Apr 28, 4:31 PM
imp committed rG283da05b7d94: vtnet(4): Small fix to style so that it follows the styleguide (authored by Bjoern Jakobsen <Bjoern.Jakobsen@lrz.de>).
vtnet(4): Small fix to style so that it follows the styleguide
Mon, Apr 28, 4:31 PM
imp committed rG77be1f2fa6a1: Fix TXFIFO register write and timeout message (authored by Premal Gajjar <premal.gajjar@einfochips.com>).
Fix TXFIFO register write and timeout message
Mon, Apr 28, 4:04 PM
imp committed rGfa38579f317d: graid.8: fix typo (authored by Miroslav Cimerman <mc@doas.su>).
graid.8: fix typo
Mon, Apr 28, 4:04 PM
imp committed rG2f721943bf20: mpi3mr: Broadcom's MPT-Fusion version 4 is amd64 and aarch64 only (authored by imp).
mpi3mr: Broadcom's MPT-Fusion version 4 is amd64 and aarch64 only
Mon, Apr 28, 2:34 PM
imp committed rG1d111b39e547: loader: provide error message in command_errmsg instead of printing (authored by ahmadkhalifa570_gmail.com).
loader: provide error message in command_errmsg instead of printing
Mon, Apr 28, 3:46 AM
imp committed rG8ec2792258bd: loader: remove unneeded variable (authored by ahmadkhalifa570_gmail.com).
loader: remove unneeded variable
Mon, Apr 28, 3:46 AM
imp committed rG806e2accc313: loader: actually change the staging slop (authored by ahmadkhalifa570_gmail.com).
loader: actually change the staging slop
Mon, Apr 28, 3:46 AM
imp committed rGf4d51d3e1a90: mpi3mr: Update Driver Version to 8.14.0.2.0 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Update Driver Version to 8.14.0.2.0
Mon, Apr 28, 3:26 AM
imp committed rG9cdd40759617: mpi3mr: Allow driver to be in-kenrel and add to GENERIC (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Allow driver to be in-kenrel and add to GENERIC
Mon, Apr 28, 3:26 AM
imp committed rG4494ea5406f7: mpi3mr: modified the log messages to be on a single line (authored by chandrakanth.patil_broadcom.com).
mpi3mr: modified the log messages to be on a single line
Mon, Apr 28, 3:26 AM
imp committed rG69be9a247b84: mpi3mr: Update Copyright Year to 2025 (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Update Copyright Year to 2025
Mon, Apr 28, 3:26 AM
imp committed rGdf8a74fca036: mpi3mr: Process LOG Data Events in Interrupt Top Half for Early Notification (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Process LOG Data Events in Interrupt Top Half for Early Notification
Mon, Apr 28, 3:26 AM
imp committed rGb854677d970a: mpi3mr: Enable Diag Save for All Diagnostic Fault Cases (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Enable Diag Save for All Diagnostic Fault Cases
Mon, Apr 28, 3:26 AM
imp committed rG49445b54638f: mpi3mr: Block I/Os While Task Management is in Progress (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Block I/Os While Task Management is in Progress
Mon, Apr 28, 3:26 AM
imp committed rG116c8b18a2b5: mpi3mr: Handle Insufficient Power Fault Code (authored by chandrakanth.patil_broadcom.com).
mpi3mr: Handle Insufficient Power Fault Code
Mon, Apr 28, 3:26 AM