Page MenuHomeFreeBSD

imp (Warner Losh)
User

Projects (6)

User Details

User Since
Jun 2 2014, 4:20 PM (601 w, 16 h)

Recent Activity

Today

imp accepted D54124: sys/_types.h: recognise char8_t as a builtin type in C++20.
Tue, Dec 9, 5:29 AM
imp accepted D54147: zfs: Reuse ZINCDIR variable from kmod.mk.
Tue, Dec 9, 1:57 AM

Yesterday

imp accepted D54120: nextboot: Reimplement missing -a option.

I have a vague notion of doing this before...

Mon, Dec 8, 6:39 AM
imp accepted D54118: cleanvar: Fix startup order.
Mon, Dec 8, 6:39 AM
imp added a comment to D54117: reboot: Default to a clean shutdown.
In D54117#1236396, @des wrote:
In D54117#1236374, @imp wrote:

This is what I've wanted to do for some time now. I didn't look closely enough, but so long as fastboot gives us the current behavior, (aka the -f behavior), I'm good with all this.

That is not currently the case, but that's fixable.

Mon, Dec 8, 12:29 AM
imp accepted D54117: reboot: Default to a clean shutdown.

This is what I've wanted to do for some time now. I didn't look closely enough, but so long as fastboot gives us the current behavior, (aka the -f behavior), I'm good with all this.

Mon, Dec 8, 12:12 AM

Sun, Dec 7

imp added a comment to D52011: depend-cleanup: Force a clean build when options change.

Offline we talked. I'm totally cool with whatever so long as I can override the forced clean.

Sun, Dec 7, 5:25 PM
imp requested changes to D52011: depend-cleanup: Force a clean build when options change.

So I need to make sure there's not a blast radius on this one.

Sun, Dec 7, 4:22 PM

Fri, Dec 5

imp updated the diff for D54095: nvme: remove now-redundant consumer interface.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:29 PM
imp updated the diff for D51391: nvme: Notify failure with newbus call.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:28 PM
imp updated the diff for D51390: nvme: Use new method to do async notifications.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:28 PM
imp updated the diff for D51388: nvd: Connect nvme_if methods.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:28 PM
imp updated the diff for D51387: nvme_sim: Connect to events broadcast with nvme_if.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:28 PM
imp updated the diff for D51385: nvd: Attach as a child of nvme.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:28 PM
imp updated the diff for D51384: nvme_sim: Attach as a child of nvme.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:27 PM
imp updated the diff for D51383: nvme: Add child device for each controller.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:27 PM
imp updated the diff for D51386: nvme: Nvme controller generated events.

Update per review and rebase over resize changes... woof.

Fri, Dec 5, 11:27 PM
imp added reviewers for D54095: nvme: remove now-redundant consumer interface: jhb, mav, chs, chuck.
Fri, Dec 5, 11:27 PM
imp requested review of D54095: nvme: remove now-redundant consumer interface.
Fri, Dec 5, 11:24 PM
imp committed rG10efa7c30209: nvme: Rename NVME_NS_ADDED to NVME_NS_ALIVE and _CHANGED to _DELTA (authored by imp).
nvme: Rename NVME_NS_ADDED to NVME_NS_ALIVE and _CHANGED to _DELTA
Fri, Dec 5, 11:19 PM
imp committed rGf5b812331db5: nvme: Improve error message for invalid format value (authored by imp).
nvme: Improve error message for invalid format value
Fri, Dec 5, 11:19 PM
imp closed D51393: nvme: Improve error message for invalid format value.
Fri, Dec 5, 11:18 PM
imp accepted D54093: libkern: Avoid a one-byte OOB access in strndup().
Fri, Dec 5, 9:41 PM
imp committed rGc3ea7bfc72b7: cam: set reladr in scsi_read_capacity_16 (authored by imp).
cam: set reladr in scsi_read_capacity_16
Fri, Dec 5, 7:20 AM

Thu, Dec 4

imp accepted D54024: git-arc: Add patch -b option.
Thu, Dec 4, 5:48 PM
imp committed rGa8b0208e7e98: nvme: Fix devd logging of SMART_ERROR (authored by imp).
nvme: Fix devd logging of SMART_ERROR
Thu, Dec 4, 6:16 AM
imp added inline comments to D53950: Add libxo support to `gpart show` and document libxo flags in geom and gpart man pages.
Thu, Dec 4, 12:19 AM

Wed, Dec 3

imp accepted D53897: xhci: Add header values for Debug Capability (DbC).
Wed, Dec 3, 8:22 PM
imp added inline comments to D52303: build: Use language-agnostic (ISO 8601) timestamp format.
Wed, Dec 3, 8:10 PM
imp added a comment to D54041: stddef.h: hide from C++.

ISO_C_VISIBLE: Interfaces available. It's set unconditionally based on the dialect. It's an undocumented interface.
STDC_VERSION: the exact dialect being compiled for. This is standards defined.

Wed, Dec 3, 7:57 PM
imp committed rGb033e3684fd1: armv7: Tweak some armv6 removals (authored by imp).
armv7: Tweak some armv6 removals
Wed, Dec 3, 5:34 AM
imp committed rG7b71f57f4e51: netinet: Remove left-over sys/cdefs.h (authored by imp).
netinet: Remove left-over sys/cdefs.h
Wed, Dec 3, 5:05 AM
imp added reviewers for D54043: headers: Remove redundant checks for __BSD_VISIBLE: jrtc27, fuz.
Wed, Dec 3, 4:47 AM
imp requested review of D54043: headers: Remove redundant checks for __BSD_VISIBLE.
Wed, Dec 3, 4:46 AM
imp committed rG618347747494: kqueue(9): document f_copy (authored by imp).
kqueue(9): document f_copy
Wed, Dec 3, 4:41 AM
imp closed D53845: kqueue(9): document f_copy.
Wed, Dec 3, 4:41 AM
imp accepted D54041: stddef.h: hide from C++.
Wed, Dec 3, 4:19 AM
imp accepted D54003: ufshci: Support UIC hibernation enter/exit.
Wed, Dec 3, 12:45 AM
imp accepted D54004: ufshci: Support UIC Auto Hibernation.
Wed, Dec 3, 12:45 AM
imp accepted D54002: ufshci: Support suspend/resume.
Wed, Dec 3, 12:44 AM

Tue, Dec 2

imp added a comment to D54037: PR 291273 - p9fs module missing symbol exports -- dependent modules fail to load with module loader local symbol resolution disabled.

Why can't we make virtio_p9fs.ko depend on p9fs.ko? That would also cover this case, no? And would confine their visibility to that one module, no? It's how we do pci, etc.

Tue, Dec 2, 10:00 PM
imp added a comment to D54024: git-arc: Add patch -b option.

Is it possible to create a branch for the whole chain somehow?

Tue, Dec 2, 8:41 PM
imp accepted D54026: powerpc/_stdint.h: fix SIG_ATOMIC_{MIN,MAX,WIDTH}.
Tue, Dec 2, 12:40 PM
imp committed rGbabb41a81e84: nvme: Minor style nit (authored by imp).
nvme: Minor style nit
Tue, Dec 2, 4:59 AM
imp accepted D54004: ufshci: Support UIC Auto Hibernation.
Tue, Dec 2, 4:28 AM
imp accepted D54003: ufshci: Support UIC hibernation enter/exit.
Tue, Dec 2, 4:27 AM
imp added a comment to D54002: ufshci: Support suspend/resume.

Looks generally good, but I did have one question...

Tue, Dec 2, 4:27 AM
imp accepted D54006: ufshci: Add a Auto Hibernate quirk to Intel Alder Lake-N.
Tue, Dec 2, 4:02 AM
imp accepted D54009: sys/_types.h: avoid use of __has_feature().
Tue, Dec 2, 3:07 AM

Mon, Dec 1

imp accepted D54018: ctfmerge: fix segfault when building on macOS.
Mon, Dec 1, 6:52 PM
imp committed R9:a00cf9fb0381: relnotes: wordsmith linuxboot entry (authored by imp).
relnotes: wordsmith linuxboot entry
Mon, Dec 1, 6:51 PM
imp committed R9:b6bfebcd7f72: relnoates: Note Lua 5.4.8 (authored by imp).
relnoates: Note Lua 5.4.8
Mon, Dec 1, 6:49 PM
imp committed R9:ef7714e72499: relnotes: Note nvme namespace change dynamic notification (authored by imp).
relnotes: Note nvme namespace change dynamic notification
Mon, Dec 1, 6:44 PM

Sun, Nov 30

imp updated the diff for D52959: kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/src.

both user and kernel, though there's no MK_REPRODUCIBLE_BUILD for user.

Sun, Nov 30, 6:12 PM
imp updated the diff for D53845: kqueue(9): document f_copy.

better wording for the triv copy routine

Sun, Nov 30, 5:59 PM
imp accepted D53993: ARM GICv3: Add support for non-coherent and/or bus address range limited DMA..

mixes a couple of different things, but they might not be as independent as I'm thinking, so I think this is fine from that perspective.
The workaround looks to match the one in Linux well enough I think it will work. The code bases are different enough that I didn't do a detailed copying analysis since direct copying between these drivers is kinda hard in structure, but is easy because the #defines are necessarily the same which has little to no copyright protection.

Sun, Nov 30, 5:51 PM
imp accepted D53992: ofw: Add ofw_bus_is_machine_compat().
Sun, Nov 30, 5:42 PM

Sat, Nov 29

imp added a comment to D53987: Export required symbols in nvidia.ko and nvidia-modeset.ko for their consumers.

So why can't the coonsumers of these symbols just depend on the module? Why do we have to export the symbols from these modules to everybody?

Sat, Nov 29, 4:26 PM
imp accepted D53897: xhci: Add header values for Debug Capability (DbC).
Sat, Nov 29, 10:36 AM
imp committed rG02b72b1540bf: arm: Remove unused variable in dbg_arch_supported (authored by imp).
arm: Remove unused variable in dbg_arch_supported
Sat, Nov 29, 9:53 AM
imp committed rG57c0a337dbc5: libsys: remove armv6 hack (authored by minsoochoo0122_proton.me).
libsys: remove armv6 hack
Sat, Nov 29, 6:13 AM
imp committed rGf3607f5a7f69: clang: remove armv6 comment (authored by minsoochoo0122_proton.me).
clang: remove armv6 comment
Sat, Nov 29, 6:13 AM
imp committed rG53da09369c42: libc: remove ARMv5/6 from man page (authored by minsoochoo0122_proton.me).
libc: remove ARMv5/6 from man page
Sat, Nov 29, 6:13 AM
imp committed rG3387a1bdbae6: sys: update comment for removal of armv6 (authored by minsoochoo0122_proton.me).
sys: update comment for removal of armv6
Sat, Nov 29, 6:13 AM
imp committed rGf42421307b11: sys: remove armv6/6.1 support from debug monitor (authored by minsoochoo0122_proton.me).
sys: remove armv6/6.1 support from debug monitor
Sat, Nov 29, 6:13 AM
imp committed rG42d704bfc45a: sys: remove comment for armv5/6 (authored by minsoochoo0122_proton.me).
sys: remove comment for armv5/6
Sat, Nov 29, 6:12 AM
imp committed rG96265d5ea907: release: match comment for if statement (authored by minsoochoo0122_proton.me).
release: match comment for if statement
Sat, Nov 29, 6:12 AM
imp committed rG37c650b4ee2e: tools: remove WITH_LIBSOFT option (authored by minsoochoo0122_proton.me).
tools: remove WITH_LIBSOFT option
Sat, Nov 29, 6:12 AM

Fri, Nov 28

imp committed rG687ab0dc54a9: umass(4): Update to include pointers to quirks (authored by imp).
umass(4): Update to include pointers to quirks
Fri, Nov 28, 8:54 PM
imp accepted D53980: sys/_types.h: Unbreak gcc build.
In D53980#1233328, @des wrote:
In D53980#1233312, @imp wrote:

Oh that's what you meant. Why wouldn't it be in scope?

Because ever since someone¹ added tools/build/test-includes/Makefile to our tree four years ago, we test on every buildworld that most headers can be included without prerequisites, and <sys/_types.h> is included by <sys/_callout.h> which is included by <sys/callout.h> and none of those includes <sys/cdefs.h>.

¹ that someone was you

Fri, Nov 28, 7:36 PM
imp added a comment to D53980: sys/_types.h: Unbreak gcc build.

Oh that's what you meant. Why wouldn't it be in scope?

Fri, Nov 28, 5:28 PM
imp accepted D53979: mtree: Keep mtree files indented with spaces.
Fri, Nov 28, 5:10 PM
imp added a comment to D53968: jemalloc: avoid clash with C23 unreachable() macro.

Do we still need to maintain contrib/jemalloc/FREEBSD-diffs?

Fri, Nov 28, 3:47 PM
imp added a comment to D53375: cam/scsi, ufshci: Add Well-known LUN Probing.

OK. I understand adding the quirk. It may make sense for us to handle some of these 'probing' commands better in the future, but we have many others than the ones you've added. As such, lets go wit the the PIM_WLUN flag for now.

Fri, Nov 28, 7:20 AM
imp accepted D53923: ufshci: Add a check for WLUN during driver initialization.
Fri, Nov 28, 7:18 AM
imp accepted D53922: cam/scsi: Add power condition support to START STOP UNIT.
Fri, Nov 28, 7:18 AM
imp accepted D53921: ufshci: Enable WLUN scan.
Fri, Nov 28, 7:17 AM
imp accepted D53920: cam/scsi: Support well known logical unit.

Since only the SIMs that support WLUN reporting call this, that limits the damage.
It may be the case we have to probe LUNs first and not probe WLUNs at all if that fails (some older, reduced command CDB sets don't have REPORT LUNS at all). For the moment, it's fine.

Fri, Nov 28, 7:16 AM
imp accepted D53919: ufshci: add helper to convert SCSI LUN to UPIU LUN formats.
Fri, Nov 28, 7:13 AM
imp accepted D53918: bus: Add device_has_children predicate.

Looks like a lot of whitespace changes unrelated as noted.

Fri, Nov 28, 6:58 AM
imp accepted D53951: time.h: add timegm() to the C23 namespace.

maybe add a fixes: tag?

Fri, Nov 28, 6:55 AM
imp accepted D53952: uchar.h: add char8_t.

I'd be tempted to do separate commits, but it's not therrible if not. The change looks good to me.

Fri, Nov 28, 6:54 AM
imp added a comment to D53964: pkg: Move FreeBSD-base to pkg.freebsd.org.

Dnssec just ensures the ip addr is legit. Https ensures the identity of who you are talking to as well as doing crypto.... we also independently sign the pkg, true. But the more barriers to spoofing the better.

Fri, Nov 28, 12:01 AM

Thu, Nov 27

imp accepted D53968: jemalloc: avoid clash with C23 unreachable() macro.

Ideally, you'd upstream this too...

Thu, Nov 27, 10:44 PM
imp accepted D53967: stddef.h: add unreachable() for C23 compliance.
Thu, Nov 27, 10:30 PM
imp committed rGe27d5c190a41: bsdconfig: RealTek -> Realtek (authored by yklaxds_gmail.com).
bsdconfig: RealTek -> Realtek
Thu, Nov 27, 6:34 AM
imp committed rG8cbe0dd5097f: sys: RealTek -> Realtek (authored by yklaxds_gmail.com).
sys: RealTek -> Realtek
Thu, Nov 27, 6:34 AM
imp committed rG5fd8a01e9b7c: man: RealTek -> Realtek (authored by yklaxds_gmail.com).
man: RealTek -> Realtek
Thu, Nov 27, 6:34 AM
imp committed rG2996c41ee89d: NOTES: fix typos and unify terminology in comments (authored by yklaxds_gmail.com).
NOTES: fix typos and unify terminology in comments
Thu, Nov 27, 6:34 AM
imp committed rG7fe881e87b4a: loader: Note current autoboot_delay behavior (authored by imp).
loader: Note current autoboot_delay behavior
Thu, Nov 27, 4:43 AM
imp committed rGddec4209b10d: ipfilter: fix broken build (authored by imp).
ipfilter: fix broken build
Thu, Nov 27, 12:06 AM

Wed, Nov 26

imp accepted D53938: linker: Avoid invoking eventhandlers on incompletely loaded files.
Wed, Nov 26, 10:59 PM
imp accepted D53933: new-committer-src-John-Hall-jrhall.
Wed, Nov 26, 10:48 PM
imp accepted D53934: committers-src: add myself (jrhall@).
Wed, Nov 26, 10:48 PM
imp committed rG3e69618d4bfb: openzfs: We are FreeBSD, not posix. (authored by imp).
openzfs: We are FreeBSD, not posix.
Wed, Nov 26, 9:16 PM
imp requested changes to D53918: bus: Add device_has_children predicate.

Why not

bool device_has_children(device_t dev) {return (!TAILQ_EMPTY(&dev->children))) }
Wed, Nov 26, 3:11 PM
imp updated the diff for D52959: kernel: MK_REPRODUCIBLE_PATHS for full paths vs /usr/src.

update per review

Wed, Nov 26, 6:35 AM
imp committed rG718acd74657f: nvme: Use 'unsigned int' in preference to bare unsigned (authored by imp).
nvme: Use 'unsigned int' in preference to bare unsigned
Wed, Nov 26, 5:15 AM
imp accepted D53842: nvme: Use memcpy instead of memmove in nvme_cdata_get_disk_ident.

memmove -> memcpy is the right thing because sn and cddata->sn can't possibly overlap.

Wed, Nov 26, 3:02 AM
imp added a comment to D53375: cam/scsi, ufshci: Add Well-known LUN Probing.

Just a few questions. I started this review a few weeks ago then it slipped my mind...

Wed, Nov 26, 2:54 AM