Page MenuHomeFreeBSD

markj (Mark Johnston)
User

Projects (10)

User Details

User Since
Mar 12 2014, 1:00 AM (621 w, 4 d)

Recent Activity

Yesterday

markj requested review of D55171: net: Remove the IFF_RENAMING flag.
Sat, Feb 7, 10:01 PM
markj committed rG525d00dcf45f: vmrun.sh: add option for sharing directory via p9fs to bhyve (authored by dave_freedave.net).
vmrun.sh: add option for sharing directory via p9fs to bhyve
Sat, Feb 7, 9:31 PM
markj closed D55100: vmrun.sh: add option for sharing directory via p9fs to bhyve.
Sat, Feb 7, 9:30 PM · bhyve
markj accepted D55100: vmrun.sh: add option for sharing directory via p9fs to bhyve.
Sat, Feb 7, 9:28 PM · bhyve
markj accepted D55165: sctp: Use __sdt_used for variables only used by SDT probes.
Sat, Feb 7, 8:51 PM
markj accepted D55164: ext2fs: Use __sdt_used for variables only used by SDT probes.
Sat, Feb 7, 8:51 PM
markj accepted D55166: sdt: Disable SDT probes in kernel modules for GCC on aarch64.

Some kernel modules build ok using the 'p' constraint with the 'a' operand modifier, but not all.

Sat, Feb 7, 8:47 PM
markj accepted D55098: libfetch: Check for failure to create SSL context.
Sat, Feb 7, 1:59 PM

Fri, Feb 6

markj requested review of D55150: RELNOTES: Add some entries for recent commits.
Fri, Feb 6, 8:05 PM
markj accepted D55100: vmrun.sh: add option for sharing directory via p9fs to bhyve.

Works fine for me on arm64. There is one last issue with the usage message, once it's fixed I can land this.

Fri, Feb 6, 7:39 PM · bhyve
markj added a comment to D55100: vmrun.sh: add option for sharing directory via p9fs to bhyve.

When uploading diffs, please include extra context by adding -U 999999 to the diff command options: https://wiki.freebsd.org/Phabricator#Create_a_Revision_via_Web_Interface

Fri, Feb 6, 6:27 PM · bhyve
markj accepted D55120: comitters-guide: Update Submitted: by trailer.
Fri, Feb 6, 3:44 PM
markj accepted D54643: bhyve: Refactor pci_irq_route.
Fri, Feb 6, 3:41 PM
markj committed rG86150ed98b79: bhyve: Simplify passthru_msix_addr() (authored by markj).
bhyve: Simplify passthru_msix_addr()
Fri, Feb 6, 3:40 PM
markj committed rG36b855f18925: amd64/vmm: Lock global PCI passthrough structures (authored by markj).
amd64/vmm: Lock global PCI passthrough structures
Fri, Feb 6, 3:40 PM
markj closed D55067: bhyve: Simplify passthru_msix_addr().
Fri, Feb 6, 3:40 PM
markj closed D55065: amd64/vmm: Lock global PCI passthrough structures.
Fri, Feb 6, 3:39 PM
markj accepted D54646: bhyve/pci_emul.c: Add handlers for ACPI PCI hotplug metadata.
Fri, Feb 6, 3:35 PM
markj updated the diff for D55070: bhyve: Fix a misleading error message.

Always print a message

Fri, Feb 6, 3:16 PM
markj added inline comments to D55070: bhyve: Fix a misleading error message.
Fri, Feb 6, 3:16 PM
markj added a comment to D55075: kern linker: Mark link_elf_ireloc as no-KASAN.

Does D55079 fix the problem for you?

I've asked @sarah.walker2_arm.com to test. I have confirmed that eff is the issue. If I move it off the stack I can boot without needing either this patch or changing the sanitizer runtimes.

Fri, Feb 6, 2:23 PM

Thu, Feb 5

markj created P698 Command-Line Input.
Thu, Feb 5, 9:21 PM
markj created P700 Command-Line Input.
Thu, Feb 5, 9:21 PM
markj created P699 Command-Line Input.
Thu, Feb 5, 9:21 PM
markj accepted D55077: OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete.
Thu, Feb 5, 6:41 PM
markj committed rG0ff1f587ffcd: ip_mroute: EVENTHANDLER_REGISTER does not fail (authored by markj).
ip_mroute: EVENTHANDLER_REGISTER does not fail
Thu, Feb 5, 6:37 PM
markj committed rGb0037260b73f: in6: Modify address prefix lifetimes when updating address lifetimes (authored by markj).
in6: Modify address prefix lifetimes when updating address lifetimes
Thu, Feb 5, 6:37 PM
markj committed rGe676efa58239: in6: Add a helper function to compute expiry times (authored by markj).
in6: Add a helper function to compute expiry times
Thu, Feb 5, 6:37 PM
markj added a comment to D55077: OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete.

So should /usr/lib/debug/boot directory itself be included in DEBUG_DIRS?

No, I think it shouldn't. So I guess the proper thing would be to exclude \! -d /usr/lib/debug/boot/* \! -d /usr/lib/debug/boot. Maybe there's a cleaner way to write that.

Maybe we can do something like this: find -E <...> \! -regex "${DESTDIR}usr/lib/debug/boot(/.*)?"?

Thu, Feb 5, 6:12 PM
markj added a comment to D55126: freebsd-git-arc-devtools: Was freebsd-git-devtools.

There's a bunch of references to the current name in development.7 and in the doc tree, plus in the git-arc man page, plus the phabricator wiki page. Rather than renaming the package and thus invalidating the documentation and existing tribal knowledge, can we add an alias for the package, and/or identify documentation which refers to git-arc but does not mention the package, and update that? jrm's suggestion also seems ok.

Thu, Feb 5, 4:52 PM
markj accepted D52497: sys/power.h: `enum power_sstate_transition`.

Sorry for the delay. I think this is ok.

Thu, Feb 5, 2:20 PM
markj added a comment to D55120: comitters-guide: Update Submitted: by trailer.

It's not necessarily abandoned, this could also be used for patches submitted in non-email contexts, e.g. in a reddit comment.

Thu, Feb 5, 2:20 PM
markj added a comment to D55077: OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete.

So should /usr/lib/debug/boot directory itself be included in DEBUG_DIRS?

Thu, Feb 5, 2:18 PM
markj added a comment to D55077: OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete.
In D55077#1259930, @kib wrote:

Kernel debug files aren't controlled by WITH_/WITHOUT_DEBUG_FILES so should not be removed here

Oh, I see, these seem to be controlled by WITH[OUT]_SPLIT_KERNEL_DEBUG. But where we should put the code that will mark files in /usr/lib/debug/boot/{kernel,modules} 'obsolete'? I guess it must be somewhere in sys/, but I'm not sure where exactly.

When make installkernel is performed, the symbols become insta-stale, isn't it?

Might be, we need somewhat different model of installation of the debug symbols, which would take into account the name of /boot/kernel directory (like /usr/lib/debug/boot/kernel.GENERIC for /boot/kernel.GENERIC).

Thu, Feb 5, 1:51 PM
markj accepted D55112: diff: Fix pagination leak.
Thu, Feb 5, 1:40 PM

Wed, Feb 4

markj committed rG6e32e8d7d161: sdt: Enable on 32-bit powerpc and powerpc64le (authored by markj).
sdt: Enable on 32-bit powerpc and powerpc64le
Wed, Feb 4, 2:51 PM
markj closed D54814: sdt: Enable on 32-bit powerpc and powerpc64le.
Wed, Feb 4, 2:50 PM
markj added a comment to D55066: vmm: Allow the use of PCI passthrough in a jail.
In D55066#1259408, @bz wrote:

My historic understanding was that we would have all the pr_* options/check inside kern_jail.c and have accessor functions for them passing td or cred.

Wed, Feb 4, 2:41 PM
markj added a comment to D55066: vmm: Allow the use of PCI passthrough in a jail.
In D55066#1259408, @bz wrote:

My historic understanding was that we would have all the pr_* options/check inside kern_jail.c and have accessor functions for them passing td or cred.
I do not know how this evolved over the years (and I do see prison_add_allow()) for other flags so adding #jail to the review list in case @jamie wants to comment on that.

Wed, Feb 4, 2:40 PM
markj added inline comments to D55096: Ignore additional unwanted files.
Wed, Feb 4, 2:23 PM

Tue, Feb 3

markj committed rG2d0564b9daf4: vmm: Remove an unneeded NULL pointer check (authored by markj).
vmm: Remove an unneeded NULL pointer check
Tue, Feb 3, 7:18 PM
markj closed D55069: vmm: Remove an unneeded NULL pointer check.
Tue, Feb 3, 7:18 PM
markj committed rG8cfa6ddcee02: vmm: Fix a resource leak in an error path (authored by markj).
vmm: Fix a resource leak in an error path
Tue, Feb 3, 7:18 PM
markj closed D55068: vmm: Fix a resource leak in an error path.
Tue, Feb 3, 7:17 PM
markj added inline comments to D54646: bhyve/pci_emul.c: Add handlers for ACPI PCI hotplug metadata.
Tue, Feb 3, 4:58 PM
markj accepted D54645: bhyve/pci_emul.c: Emit ACPI methods for hotpluggable slots.
Tue, Feb 3, 4:51 PM
markj accepted D54644: bhyve/pci_emul.c: Setup fixed PCI irq mappings for hotpluggable slots.
Tue, Feb 3, 4:48 PM
markj added inline comments to D54647: bhyve/pci_emul.c: Introduce device teardown routines.
Tue, Feb 3, 4:37 PM
markj added inline comments to D54648: Introduce libbhyve.
Tue, Feb 3, 4:37 PM
markj added a comment to D54643: bhyve: Refactor pci_irq_route.

Looks ok aside from the comments.

Tue, Feb 3, 4:29 PM
markj added a comment to D54641: bhyve/pci_emul: Use vmem to track BAR allocations.

Have you tested with PCI passthru configured? With just this patch applied, I get an assertion failure in update_bar_address(). Same result if I test your github branch.

Tue, Feb 3, 4:26 PM
markj added a comment to D55033: syslogd: Fix handling of configuration errors.

Note that I would have "accepted" the previous version if it wasn't for Eugene's remark. I can try adding a simple test that checks it is warning and not erroring when parsing a configuration file if you believe it is necessary.

Tue, Feb 3, 3:44 PM
markj added a comment to D55075: kern linker: Mark link_elf_ireloc as no-KASAN.

Does D55079 fix the problem for you?

Tue, Feb 3, 2:49 PM
markj updated the diff for D55079: asan: Use memset_early() to fill shadow memory.

Update the KMSAN runtime too.

Tue, Feb 3, 2:49 PM
markj requested review of D55079: asan: Use memset_early() to fill shadow memory.
Tue, Feb 3, 2:46 PM
markj added a comment to D55075: kern linker: Mark link_elf_ireloc as no-KASAN.

I'm not sure if it's worth complicating the KASAN runtime for just one function.

Tue, Feb 3, 2:36 PM
markj accepted D55054: libc/tests: Clean up *dir() tests.
Tue, Feb 3, 2:20 PM
markj added a comment to D55075: kern linker: Mark link_elf_ireloc as no-KASAN.

The memset call is in __asan_set_shadow_f8, so is only indirectly called.

Tue, Feb 3, 2:18 PM
markj added a comment to D55075: kern linker: Mark link_elf_ireloc as no-KASAN.

Isn't this the problem that memset_early() etc. are supposed to solve? Where exactly is the memset() call happening?

Tue, Feb 3, 1:53 PM

Mon, Feb 2

markj requested review of D55070: bhyve: Fix a misleading error message.
Mon, Feb 2, 11:00 PM
markj requested review of D55069: vmm: Remove an unneeded NULL pointer check.
Mon, Feb 2, 11:00 PM
markj requested review of D55068: vmm: Fix a resource leak in an error path.
Mon, Feb 2, 11:00 PM
markj requested review of D55067: bhyve: Simplify passthru_msix_addr().
Mon, Feb 2, 11:00 PM
markj requested review of D55066: vmm: Allow the use of PCI passthrough in a jail.
Mon, Feb 2, 11:00 PM
markj requested review of D55065: amd64/vmm: Lock global PCI passthrough structures.
Mon, Feb 2, 11:00 PM
markj accepted D55061: netgraph/ksocket tests: Bind to IN6ADDR_LOOPBACK.
Mon, Feb 2, 8:20 PM
markj added a comment to D55049: geom: Make g_waitidle() wait for orphaned providers.
In D55049#1258481, @mav wrote:

It seems to make sense to know that we at least tried to orphan the device, even if it may still be open for a while. But I don't remember why it was not done before.

Mon, Feb 2, 8:20 PM
markj added inline comments to D55061: netgraph/ksocket tests: Bind to IN6ADDR_LOOPBACK.
Mon, Feb 2, 7:53 PM
markj requested review of D55059: ip6_mroute: Deindent some code in ip6_mdq().
Mon, Feb 2, 5:30 PM
markj requested review of D55058: ip_mroute: Try to make function pointer declarations more consistent.
Mon, Feb 2, 5:30 PM
markj requested review of D55057: ip_mroute: Use a local variable to store a VIF pointer.
Mon, Feb 2, 5:30 PM
markj committed rGd0474eda504c: socket.2: Cross-reference netintro(4) (authored by tembun_bk.ru).
socket.2: Cross-reference netintro(4)
Mon, Feb 2, 4:57 PM
markj committed rGa45fb94801df: ip6_mroute: Remove an unhelpful comment (authored by markj).
ip6_mroute: Remove an unhelpful comment
Mon, Feb 2, 4:57 PM
markj committed rGb320e89e6909: ip6_mroute: Remove an unused constant (authored by markj).
ip6_mroute: Remove an unused constant
Mon, Feb 2, 4:57 PM
markj committed rG5bb953b09546: ip6_mroute: Fix the UPCALL_TIMING build (authored by markj).
ip6_mroute: Fix the UPCALL_TIMING build
Mon, Feb 2, 4:57 PM
markj committed rGb370fcc716b9: ip6_mroute: Make MF6CFIND a regular function (authored by markj).
ip6_mroute: Make MF6CFIND a regular function
Mon, Feb 2, 4:57 PM
markj closed D55032: socket.2: Cross-reference netintro(4).
Mon, Feb 2, 4:57 PM · manpages
markj committed rG74839871be36: ip_mroute: Make privilege checking more consistent (authored by markj).
ip_mroute: Make privilege checking more consistent
Mon, Feb 2, 4:56 PM
markj closed D54983: ip6_mroute: Make MF6CFIND a regular function.
Mon, Feb 2, 4:56 PM
markj closed D54982: ip_mroute: Make privilege checking more consistent.
Mon, Feb 2, 4:56 PM
markj committed rG07940d1d85eb: atf_python: Run vnet handlers in $HOME (authored by markj).
atf_python: Run vnet handlers in $HOME
Mon, Feb 2, 4:56 PM
markj closed D54971: atf_python: Run vnet handlers in $HOME.
Mon, Feb 2, 4:56 PM
markj accepted D55025: libc: Improve POSIX conformance of dirfd().
Mon, Feb 2, 2:15 PM
markj accepted D55024: libc: Clean up *dir() code.
Mon, Feb 2, 2:14 PM
markj accepted D54935: etcupdate: Do not ignore empty files..

Seems ok to me. You might give a few days for other reviewers to chime in.

Mon, Feb 2, 2:11 PM
markj updated the diff for D55033: syslogd: Fix handling of configuration errors.

Make syslogd more forgiving of configuration errors

Mon, Feb 2, 2:09 PM
markj updated the summary of D55049: geom: Make g_waitidle() wait for orphaned providers.
Mon, Feb 2, 2:08 AM
markj requested review of D55049: geom: Make g_waitidle() wait for orphaned providers.
Mon, Feb 2, 2:07 AM

Sun, Feb 1

markj requested review of D55033: syslogd: Fix handling of configuration errors.
Sun, Feb 1, 3:10 PM
markj added inline comments to D54996: x86: x86_msr_op(): Add comments, guarantee atomicity.
Sun, Feb 1, 2:38 PM
markj accepted D55028: devfs: unlock the directory vnode around the call to dev_clone handler.
Sun, Feb 1, 2:32 PM
markj added inline comments to D54996: x86: x86_msr_op(): Add comments, guarantee atomicity.
Sun, Feb 1, 2:18 AM
markj accepted D55028: devfs: unlock the directory vnode around the call to dev_clone handler.
Sun, Feb 1, 2:13 AM
markj added inline comments to D55028: devfs: unlock the directory vnode around the call to dev_clone handler.
Sun, Feb 1, 1:41 AM
markj added inline comments to D54996: x86: x86_msr_op(): Add comments, guarantee atomicity.
Sun, Feb 1, 1:37 AM
markj added a comment to D54964: sdt: Use the "cc" operand modifier for the address of probes for GCC 15+.

IIRC GNU as and LLVM IAS disagree on what .weak and .glob[a]l mean. LLVM IAS doesn't let you mix them, but that's not really sensible, since one is binding and the other is visibility. We use .weak for linker sets but not .glob[a]l (I think used to use both) because one version of LLVM introduced that error, whilst I think GNU as wants what we used to have where we put both. I should probably raise it with upstream LLVM to point out that what they did doesn't make sense.

Sun, Feb 1, 1:13 AM

Sat, Jan 31

markj added a reviewer for D54935: etcupdate: Do not ignore empty files.: jrtc27.
Sat, Jan 31, 11:16 PM
markj added a comment to D54964: sdt: Use the "cc" operand modifier for the address of probes for GCC 15+.

I retested SDT with gcc14 on amd64. There is a problem (not related to this patch): the linker decides that the start_set_sdt_providers_set and stop_set_sdt_providers_set symbols are unreferenced and removes them. This means that linker_file_lookup_set() returns nothing for those sets, which causes further problems.

Sat, Jan 31, 11:16 PM
markj added inline comments to D54996: x86: x86_msr_op(): Add comments, guarantee atomicity.
Sat, Jan 31, 7:28 PM
markj accepted D54964: sdt: Use the "cc" operand modifier for the address of probes for GCC 15+.
Sat, Jan 31, 7:18 PM