Page MenuHomeFreeBSD
Feed Advanced Search

Today

markj accepted D45501: sound: Include sound(4) channel information in sndstat nvlist.

Seems ok to me.

Thu, Jun 6, 3:35 PM
markj accepted D45509: bpf: Make bpf_peers_present a boolean inline function.
Thu, Jun 6, 12:44 PM

Yesterday

markj accepted D45467: vmm: Only link the arm64 hyp code in vmm.ko once.
Wed, Jun 5, 10:21 PM
markj closed D45504: drm2: Remove one more implementation of ilog2().
Wed, Jun 5, 10:19 PM
markj committed rGc70c791f0660: drm2: Remove one more implementation of ilog2() (authored by markj).
drm2: Remove one more implementation of ilog2()
Wed, Jun 5, 10:19 PM
markj added inline comments to D45502: arm64 pmap: Defer bti lookup.
Wed, Jun 5, 9:55 PM
markj added inline comments to D45501: sound: Include sound(4) channel information in sndstat nvlist.
Wed, Jun 5, 9:40 PM
markj requested review of D45504: drm2: Remove one more implementation of ilog2().
Wed, Jun 5, 9:16 PM
markj accepted D45486: vm_page_insert: use pctrie combined insert/lookup.
Wed, Jun 5, 5:21 PM
markj added inline comments to D45486: vm_page_insert: use pctrie combined insert/lookup.
Wed, Jun 5, 5:13 PM
markj accepted D45279: cryptocheck: Don't treat OpenSSL errors as fatal.
Wed, Jun 5, 5:03 PM
markj accepted D45486: vm_page_insert: use pctrie combined insert/lookup.
Wed, Jun 5, 4:41 PM
markj accepted D45486: vm_page_insert: use pctrie combined insert/lookup.
Wed, Jun 5, 2:02 PM
markj accepted D45394: pctrie: add combined insert/lookup operations.
Wed, Jun 5, 1:58 PM
markj accepted D45495: vm: Eliminate a redundant call to vm_reserv_break_all().
Wed, Jun 5, 1:55 PM
markj accepted D45498: sys/conf: Introduce NOSAN_CFLAGS and NOSAN_C.

Sorry for not having done this when I added the -fno-sanitize* pattern.

Wed, Jun 5, 1:53 PM
markj added inline comments to D45395: getblk: reduce time under bufobj lock.
Wed, Jun 5, 2:32 AM
markj requested review of D45492: ithread: Improve synchronization in ithread_destroy().
Wed, Jun 5, 1:22 AM
markj requested review of D45491: ithread: Annotate a branch in ithread_execute_handlers().
Wed, Jun 5, 1:22 AM
markj requested review of D45490: intr: Remove dead code from intr_event_remove_handler().
Wed, Jun 5, 1:22 AM

Tue, Jun 4

markj accepted D45203: bnxt_re/bnxt_en: man page support for bnxt_re driver.

Thanks!

Tue, Jun 4, 9:02 PM
markj accepted D45473: riscv: fix vm.pmap.kernel_maps with Sv48.
Tue, Jun 4, 9:02 PM
markj accepted D45319: devmap: eliminate unused arguments.
Tue, Jun 4, 8:59 PM
markj accepted D45395: getblk: reduce time under bufobj lock.
Tue, Jun 4, 8:57 PM
markj accepted D45394: pctrie: add combined insert/lookup operations.
Tue, Jun 4, 8:38 PM
markj accepted D45487: vnet tests: check for if_bridge.ko.
Tue, Jun 4, 8:09 PM
markj added inline comments to D45487: vnet tests: check for if_bridge.ko.
Tue, Jun 4, 8:09 PM
markj accepted D45488: radlib: fix a memory leak.

Please add Fixes: 8d5c7813061d ("libradius: Fix input validation bugs") to the commit log message.

Tue, Jun 4, 8:09 PM
markj committed rGa0ca4af9455b: bhyve: Add arm64 support to the gdb stub (authored by markj).
bhyve: Add arm64 support to the gdb stub
Tue, Jun 4, 8:07 PM
markj committed rG75cb949228bb: arm64/vmm: Add breakpoint and single-stepping support (authored by markj).
arm64/vmm: Add breakpoint and single-stepping support
Tue, Jun 4, 8:07 PM
markj committed rG05704402ac85: bhyve: Add a stub VM_EXITCODE_REG_EMUL handler (authored by markj).
bhyve: Add a stub VM_EXITCODE_REG_EMUL handler
Tue, Jun 4, 8:07 PM
markj closed D44740: bhyve: Add arm64 support to the gdb stub.
Tue, Jun 4, 8:07 PM
markj closed D44741: bhyve: Add a stub VM_EXITCODE_REG_EMUL handler.
Tue, Jun 4, 8:07 PM
markj closed D44739: arm64/vmm: Add breakpoint and single-stepping support.
Tue, Jun 4, 8:07 PM
markj closed D45317: net-mgmt/net-snmp: Update ownership of snmpd.log.
Tue, Jun 4, 6:42 PM
markj committed R11:1e8a7776b9d9: UPDATING: Add an entry regarding snmpd.log ownership (authored by markj).
UPDATING: Add an entry regarding snmpd.log ownership
Tue, Jun 4, 6:42 PM
markj committed R11:5349beb0a4e7: net-mgmt/net-snmp: Update ownership of snmpd.log (authored by markj).
net-mgmt/net-snmp: Update ownership of snmpd.log
Tue, Jun 4, 6:42 PM
markj closed D45343: net-mgmt/net-snmp: Print a warning if config files aren't readable.
Tue, Jun 4, 6:42 PM
markj committed R11:1a7344b7ecd8: net-mgmt/net-snmp: Print a warning if config files aren't readable (authored by markj).
net-mgmt/net-snmp: Print a warning if config files aren't readable
Tue, Jun 4, 6:42 PM
markj added a comment to D45331: vm_phys: use ilog2(x) instead of fls(x)-1.
In D45331#1037497, @alc wrote:

Please coordinate this with @markj given his lazy init change.

Tue, Jun 4, 5:51 PM
markj accepted D45396: vm_radix: define vm_radix_insert_lookup_lt and use in vm_page_rename.

I guess vm_page_insert() could be improved similarly, but that's more work. IMO a better long-term direction there is to remove the memq (insertion into which is the purpose of looking up mpred in the first place) and use the radix tree for iteration instead, but that's a separate topic.

Tue, Jun 4, 2:57 PM
markj accepted D44807: arm64: Clear td_frame when returning to userspace.
Tue, Jun 4, 1:41 AM
markj added a comment to D45476: mfi: default to using mrsas(4) for newer cards.

A wrinkle: PR196820 has a report of a system where using mrsas instead of mfi corrupted the volumes.

Tue, Jun 4, 1:29 AM

Mon, Jun 3

markj updated subscribers of D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.
In D45161#1037296, @kib wrote:

How does a debugger (gdb, lldb, ...) know about the special symbols? It needs custom code, instead of looking for the NT_GNU_BUILD_ID note. It seems preferable to avoid that.

Doesn't debugger need a special knowledge anyway, because .ko object files are not finally linked objects (.exe or dso), they do not have program headers and lot of other related stuff. In particular, they do not have PT_GNU_NOTE program header. On the other hand, correct debugger must not assume that sections are present at all in the finally linked objects. So .ko modules are quite special already.

Mon, Jun 3, 9:36 PM
markj added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.

I don't think we can do this for .o kernel modules. When loading .o files, the loader does not copy SHT_NOTE sections into memory. With a linker script we can push the contents of the .note.gnu.build-id section into .rodata, but then the input section is removed, so debuggers cannot find it. I cannot find a way to avoid this.

Isn't it same as the modinit sections? We find them with the special linker-generated start/stop symbols, which should be done for build-id sections as well.

We can add start/stop symbols but the section itself will not be loaded by the boot loader, since it has type SHT_NOTE. So far I do not see how it can work unless the loader is modified to load SHT_NOTE sections.

You said above, that the section can be moved into .rodata with the script, so I did not copied that part. I do not see why would the combination of these two (.note->.rodata + start/stop) would be not enough.

Because then the .note.gnu.build-id section is not present in the .ko file, so debuggers do not know how to find it (without some custom FreeBSD-specific code). The intent behind this patch is to make it possible for debuggers to verify the build-id of the target (I guess a vmcore or a live system) against on-disk files.

This is going in cicrles. The content of the section is moved into .rodata with the liner script. The start and end of the section are available by the values of the special start and end symbols. What else is needed for debuggers?

Mon, Jun 3, 8:55 PM
markj added a comment to D45476: mfi: default to using mrsas(4) for newer cards.

How about this text:

The hw.mfi.mrsas_enable tunable is now set to 1
Mon, Jun 3, 8:37 PM
markj accepted D45478: unix: use m_freemp() when disposing unix socket buffers.

It would be nice to include Diagnosed by: khng or similar, and a Fixes: tag.

Mon, Jun 3, 8:35 PM
markj added inline comments to D45477: mbuf: provide m_freemp().
Mon, Jun 3, 8:29 PM
markj accepted D45476: mfi: default to using mrsas(4) for newer cards.

Please be sure to document this in RELNOTES and UPDATING.

Mon, Jun 3, 8:26 PM
markj added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.
In D45161#1037249, @kib wrote:
In D45161#1037216, @kib wrote:
In D45161#1030122, @kib wrote:

For preloaded relocatable kernel module, I think the modification of loader is necessary as I discover SHT_NOTE section was not loaded by boot1 originally when the kernel module is preloaded.

This is most likely can/should be fixed by linker script.

For shared object, actually we can get the address of uuid when kernel is loaded. I modify the loader because I discover that CTORS pass the information from loader and I think I should follow it?

Let me reformulate my point: this functionality (uuid module identification) should not depend on updated loader. I do not see why do we need to establish such requirement.

I don't think we can do this for .o kernel modules. When loading .o files, the loader does not copy SHT_NOTE sections into memory. With a linker script we can push the contents of the .note.gnu.build-id section into .rodata, but then the input section is removed, so debuggers cannot find it. I cannot find a way to avoid this.

Isn't it same as the modinit sections? We find them with the special linker-generated start/stop symbols, which should be done for build-id sections as well.

We can add start/stop symbols but the section itself will not be loaded by the boot loader, since it has type SHT_NOTE. So far I do not see how it can work unless the loader is modified to load SHT_NOTE sections.

You said above, that the section can be moved into .rodata with the script, so I did not copied that part. I do not see why would the combination of these two (.note->.rodata + start/stop) would be not enough.

Mon, Jun 3, 8:18 PM
markj added inline comments to D45443: unix/dgram: dispose mbufs on uxdg_mb queue.
Mon, Jun 3, 7:41 PM
markj added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.
In D45161#1037216, @kib wrote:
In D45161#1030122, @kib wrote:

For preloaded relocatable kernel module, I think the modification of loader is necessary as I discover SHT_NOTE section was not loaded by boot1 originally when the kernel module is preloaded.

This is most likely can/should be fixed by linker script.

For shared object, actually we can get the address of uuid when kernel is loaded. I modify the loader because I discover that CTORS pass the information from loader and I think I should follow it?

Let me reformulate my point: this functionality (uuid module identification) should not depend on updated loader. I do not see why do we need to establish such requirement.

I don't think we can do this for .o kernel modules. When loading .o files, the loader does not copy SHT_NOTE sections into memory. With a linker script we can push the contents of the .note.gnu.build-id section into .rodata, but then the input section is removed, so debuggers cannot find it. I cannot find a way to avoid this.

Isn't it same as the modinit sections? We find them with the special linker-generated start/stop symbols, which should be done for build-id sections as well.

Mon, Jun 3, 7:37 PM
markj added a comment to D45161: Add uuid for module to prevent incompetable coredump loaded by debugger.
In D45161#1030122, @kib wrote:

For preloaded relocatable kernel module, I think the modification of loader is necessary as I discover SHT_NOTE section was not loaded by boot1 originally when the kernel module is preloaded.

This is most likely can/should be fixed by linker script.

For shared object, actually we can get the address of uuid when kernel is loaded. I modify the loader because I discover that CTORS pass the information from loader and I think I should follow it?

Let me reformulate my point: this functionality (uuid module identification) should not depend on updated loader. I do not see why do we need to establish such requirement.

Mon, Jun 3, 7:24 PM
markj added inline comments to D45120: Add bhyve uart raw tcp backend.
Mon, Jun 3, 3:50 PM
markj added inline comments to D45120: Add bhyve uart raw tcp backend.
Mon, Jun 3, 3:04 PM

Sun, Jun 2

markj committed rG66d2d42a1f26: uart: Use device_set_descf() (authored by markj).
uart: Use device_set_descf()
Sun, Jun 2, 11:48 PM
markj committed rG542f9494b747: proto: Use device_set_descf() (authored by markj).
proto: Use device_set_descf()
Sun, Jun 2, 11:48 PM
markj committed rGa3b460d499a9: mvs: Use device_set_desc(f)() (authored by markj).
mvs: Use device_set_desc(f)()
Sun, Jun 2, 11:48 PM
markj committed rGde140d60d528: virtio: Use device_set_descf() (authored by markj).
virtio: Use device_set_descf()
Sun, Jun 2, 11:48 PM
markj committed rG801b12ba89af: qlnx: Use device_set_descf() (authored by markj).
qlnx: Use device_set_descf()
Sun, Jun 2, 11:48 PM
markj committed rGbad36a49985c: acpi: Use device_set_descf() (authored by markj).
acpi: Use device_set_descf()
Sun, Jun 2, 11:48 PM
markj committed rG17bfbc400f53: siis: Use device_set_desc(f)() (authored by markj).
siis: Use device_set_desc(f)()
Sun, Jun 2, 11:48 PM
markj committed rG54482989d34c: etherswitch: Use device_set_desc(f)() (authored by markj).
etherswitch: Use device_set_desc(f)()
Sun, Jun 2, 11:48 PM
markj committed rGa1b84451159f: cxgbe: Use device_set_descf() (authored by markj).
cxgbe: Use device_set_descf()
Sun, Jun 2, 11:48 PM
markj committed rG796bcf184518: cxgb: Use device_set_descf() (authored by markj).
cxgb: Use device_set_descf()
Sun, Jun 2, 11:47 PM
markj committed rGa866a40b9b80: bhnd: Use device_set_descf() (authored by markj).
bhnd: Use device_set_descf()
Sun, Jun 2, 11:47 PM
markj committed rG25b839dfd2aa: ata: Use device_set_descf() (authored by markj).
ata: Use device_set_descf()
Sun, Jun 2, 11:47 PM
markj committed rGa74b49650732: ahci: Use device_set_desc(f)() (authored by markj).
ahci: Use device_set_desc(f)()
Sun, Jun 2, 11:47 PM
markj committed rG459dc61c8b05: arm: Convert drivers to use device_set_desc(f)() (authored by markj).
arm: Convert drivers to use device_set_desc(f)()
Sun, Jun 2, 11:47 PM
markj added a comment to D40403: vm_page: Implement lazy page initialization.

@alc @dougm Do you have any more comments on this patch?

Sun, Jun 2, 11:13 PM
markj added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Sun, Jun 2, 11:13 PM
markj added inline comments to D44615: Allow ng_bridge to automatically assign [up]link numbers for connect messages..
Sun, Jun 2, 2:57 PM

Sat, Jun 1

markj committed rG397e83df75e0: dtrace tests: Regenerate makefiles after commit d0b2dbfa0ecf (authored by markj).
dtrace tests: Regenerate makefiles after commit d0b2dbfa0ecf
Sat, Jun 1, 3:19 PM
markj committed rGcb6b5e8ab9cf: dtrace tests: Fix loading of the test kernel module (authored by markj).
dtrace tests: Fix loading of the test kernel module
Sat, Jun 1, 3:19 PM
markj committed rG4bddff0833d3: libdtrace: Work around a warning from flex (authored by markj).
libdtrace: Work around a warning from flex
Sat, Jun 1, 3:19 PM
markj committed rGbe2f92a96b96: makefs/zfs: Add a helper function for adding ZAP entries (authored by markj).
makefs/zfs: Add a helper function for adding ZAP entries
Sat, Jun 1, 3:19 PM
markj committed rG2468e20df43f: boot/zfs: Sync the definition of dsl_dataset_phys with OpenZFS (authored by markj).
boot/zfs: Sync the definition of dsl_dataset_phys with OpenZFS
Sat, Jun 1, 3:19 PM

Fri, May 31

markj accepted D45424: arm64 pmap: Convert panic()s to KASSERT()s.
Fri, May 31, 9:30 PM
markj added inline comments to D45402: iovctl: allow vlan restrictions to be passed to the driver.
Fri, May 31, 2:56 PM

Thu, May 30

markj abandoned D26024: uma: Avoid polling for an invalid read sequence number..

I committed a simpler version in a04ce833f9ba0.

Thu, May 30, 3:06 PM

Wed, May 29

markj accepted D45401: bhyve: avoid a potential deadlock.
Wed, May 29, 8:39 PM

Tue, May 28

markj committed rGc867ba72889d: bnxt: Do not compile on 32-bit platforms (authored by markj).
bnxt: Do not compile on 32-bit platforms
Tue, May 28, 1:13 PM
markj committed rGbbe42332e5b2: bnxt_re: Explicitly cast pointer-to-integer conversions (authored by markj).
bnxt_re: Explicitly cast pointer-to-integer conversions
Tue, May 28, 1:13 PM
markj added inline comments to D45387: runq: API rationalization, code factorization, revised implementation.
Tue, May 28, 12:53 PM
markj closed D45035: libc/tests: Fix installation without MK_TOOLCHAIN.
Tue, May 28, 12:27 PM
markj committed rG8164d511d6a6: libc/tests: Fix installation without MK_TOOLCHAIN (authored by markj).
libc/tests: Fix installation without MK_TOOLCHAIN
Tue, May 28, 12:27 PM
markj committed rGbf56e8b9c863: bnxt: Add a module makefile to fix the build (authored by markj).
bnxt: Add a module makefile to fix the build
Tue, May 28, 12:04 PM

Mon, May 27

markj added a comment to D45035: libc/tests: Fix installation without MK_TOOLCHAIN.

I will go ahead and commit this if there aren't any objections. This bug just bit me again.

Mon, May 27, 10:37 PM
markj accepted D45383: Adjust comments referencing vm_mem_init().
Mon, May 27, 4:19 PM
markj added a comment to D44807: arm64: Clear td_frame when returning to userspace.

There are some special registers that an irq may not update, e.g. esr_el1 is not touched so it will be an unknown value based on the most recent synchronous exception.

Mon, May 27, 4:15 PM
markj added inline comments to D45305: mqueuefs: remove.
Mon, May 27, 4:04 PM
markj added inline comments to D45340: bhyve: trap protected BAR regions of passthru devices.
Mon, May 27, 4:00 PM
markj added inline comments to D45339: bhyve: add BAR handler list for passthru devices.
Mon, May 27, 3:53 PM
markj accepted D45338: bhyve: add GVT-d support for graphics gen 11 and newer.
Mon, May 27, 3:51 PM
markj added inline comments to D45337: bhyve: support VBTs which lay outside of the OpRegion.
Mon, May 27, 3:50 PM
markj added a comment to D45336: bhyve: merge adjacent E820 entries.

Suppose there are two E820 entries with a hole in the middle, and then a new entry fills that hole. Then we could potentially merge the new entry with both the predecessor and successor. Do we need to handle that case?

Mon, May 27, 3:38 PM
markj accepted D45335: bhyve: verify OpRegion size.
Mon, May 27, 3:34 PM
markj accepted D45334: bhyve: use correct size to map the OpRegion.
Mon, May 27, 3:31 PM
markj added a comment to D45333: x86/pci: add sysctl for intel_graphics_gen.

We know that the generation is not properly reported by the new sysctl.

Mon, May 27, 3:30 PM
markj committed rGc52ca7dd0906: stress2: Don't run aesni.sh on non-x86 platforms (authored by markj).
stress2: Don't run aesni.sh on non-x86 platforms
Mon, May 27, 3:27 PM