Page MenuHomeFreeBSD
Feed Advanced Search

Oct 29 2024

stevek updated the diff for D44629: Optimize the handling of big/little endian determination..

Updated to use ${M_ListToSkip}

Oct 29 2024, 5:06 PM

Oct 15 2024

stevek added a comment to D46948: cd9660: Preserve non-access permission bits in file modes.

I was okay with not having the mask have an effect on the suid/sgid because there's already the mount option for nosuid (which disables suid and sgid both), so there's not really a need for the mask to alter it.

Oct 15 2024, 5:26 PM
stevek accepted D46948: cd9660: Preserve non-access permission bits in file modes.
Oct 15 2024, 4:24 PM

Oct 11 2024

stevek accepted D47065: Add targets/pseudo/bootstrap-packages.
Oct 11 2024, 7:14 PM

Oct 10 2024

stevek added a comment to D44629: Optimize the handling of big/little endian determination..

A set of lists is often easier to manage (and clearer, especially in a diff) than a pile of or'd conditional expressions.

I think it's a bit of a toss-up -- the set of targets in the two lists is not large and does not change frequently. I'll grant you that the two lists are somewhat nicer than the large set if if-or conditions, but N_$e= ${MACHINE_ARCH_LIST.$e:@m@N$m@:ts:} makes up for it by taking a while to figure out.

Oct 10 2024, 4:47 PM

Oct 9 2024

stevek added a comment to D44629: Optimize the handling of big/little endian determination..

I'm a little confused by this change - it doesn't seem notably clearer to me.

Oct 9 2024, 3:22 AM

Oct 8 2024

stevek updated the diff for D44629: Optimize the handling of big/little endian determination..

Adjusted little endian list

Oct 8 2024, 4:53 PM

Oct 4 2024

stevek requested changes to D46948: cd9660: Preserve non-access permission bits in file modes.
Oct 4 2024, 10:17 PM

Sep 19 2024

stevek committed rG567d9fe8adf0: csu: add include path to CFLAGS to be able to find libsys.h (authored by stevek).
csu: add include path to CFLAGS to be able to find libsys.h
Sep 19 2024, 7:37 PM

Sep 18 2024

stevek committed rGce9c3abf69c2: config: Search include paths for files to be read (options, files) (authored by stevek).
config: Search include paths for files to be read (options, files)
Sep 18 2024, 7:54 PM
stevek closed D44538: config: Search include paths for files to be read (options, files).
Sep 18 2024, 7:54 PM
stevek committed rG0a88678fcabc: awk: update dependencies for dirdeps build (authored by stevek).
awk: update dependencies for dirdeps build
Sep 18 2024, 5:06 PM
stevek committed rGc644d3d8967d: libsys: Add dependencies for dirdeps build (authored by stevek).
libsys: Add dependencies for dirdeps build
Sep 18 2024, 5:05 PM
stevek committed rG9e2b87207ba1: Allow additional "options" files to be specified in kernel config (authored by stevek).
Allow additional "options" files to be specified in kernel config
Sep 18 2024, 5:03 PM
stevek closed D39540: Allow additional "options" files to be specified in kernel config.
Sep 18 2024, 5:03 PM
stevek committed rGe47161e5f1f0: loader: update dependencies for dirdeps build (authored by stevek).
loader: update dependencies for dirdeps build
Sep 18 2024, 3:24 PM
stevek committed rG77d7da1dc85a: Revert "mca: Allow for passing ECC error record to memory controller driver" (authored by stevek).
Revert "mca: Allow for passing ECC error record to memory controller driver"
Sep 18 2024, 2:45 PM
stevek added a reverting change for rG996a832d2e01: mca: Allow for passing ECC error record to memory controller driver: rG77d7da1dc85a: Revert "mca: Allow for passing ECC error record to memory controller driver".
Sep 18 2024, 2:45 PM
stevek committed rG996a832d2e01: mca: Allow for passing ECC error record to memory controller driver (authored by stevek).
mca: Allow for passing ECC error record to memory controller driver
Sep 18 2024, 2:37 PM

Sep 10 2024

stevek accepted D46552: debug.sh take advantage of hooks.sh.
Sep 10 2024, 5:18 PM

Sep 6 2024

stevek added inline comments to D46552: debug.sh take advantage of hooks.sh.
Sep 6 2024, 3:27 PM

Aug 23 2024

stevek accepted D46423: kern.pre.mk include local.kern.pre.mk.
Aug 23 2024, 5:30 PM

Aug 2 2024

stevek added inline comments to D46207: Add examples to veriexec(8).
Aug 2 2024, 5:54 PM
stevek added inline comments to D46207: Add examples to veriexec(8).
Aug 2 2024, 4:25 PM

Jun 26 2024

stevek added a comment to D45740: net: Remove unneeded NULL check for the allocated ifnet.

The full diff is quite large ( about 7 megabytes ). See my dev branch https://github.com/gmshake/freebsd-src/tree/main_if_alloc instead, or I can upload the full diff if requested.

I'm not from Juniper :) I would guess Juniper is fine with the proposed changes. They care about IfAPI hiding 'struct ifnet' better and better as time goes by, they don't have a requirement for the API to be never ever changing. I'll add Stephen to reviewers to correct me.

Jun 26 2024, 4:11 PM
stevek accepted D45740: net: Remove unneeded NULL check for the allocated ifnet.
Jun 26 2024, 4:11 PM

May 22 2024

stevek committed rG56b274213024: Add function to OSD to get values without taking the lock. (authored by stevek).
Add function to OSD to get values without taking the lock.
May 22 2024, 7:58 PM
stevek closed D44631: Add function to OSD to get values without taking the lock..
May 22 2024, 7:58 PM

May 15 2024

stevek updated the diff for D44631: Add function to OSD to get values without taking the lock..

Use atomic to read OSD slot data

May 15 2024, 4:18 PM

May 8 2024

stevek added a comment to D45072: mca: Allow for passing ECC error record to memory controller driver..
In D45072#1028956, @mav wrote:

I wonder if there is any real architecture where pointer load/store is non-atomic. For things that are going to be executed between once and never it feels like you are over-engineering it. :)

May 8 2024, 7:03 PM

May 7 2024

stevek updated the diff for D45072: mca: Allow for passing ECC error record to memory controller driver..

Using atomics for fetching/modifying the decode function pointer

May 7 2024, 6:23 PM
stevek abandoned D39661: mca: Allow for passing ECC error record to memory controller driver.

Replaced by review D45072, will address the review comments from this review in the newer one.

May 7 2024, 5:56 PM
stevek updated the diff for D45072: mca: Allow for passing ECC error record to memory controller driver..

Updated based on review comments

May 7 2024, 5:20 PM

May 3 2024

stevek requested review of D45072: mca: Allow for passing ECC error record to memory controller driver..
May 3 2024, 1:22 AM

May 1 2024

stevek accepted D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.
May 1 2024, 8:33 PM
stevek committed rGecaab0fb5da4: guestrpc module to handle VMware backdoor port GuestRPC functionality (authored by stevek).
guestrpc module to handle VMware backdoor port GuestRPC functionality
May 1 2024, 7:46 PM
stevek closed D44528: guestrpc module to handle VMware backdoor port GuestRPC functionality.
May 1 2024, 7:46 PM

Apr 30 2024

stevek added inline comments to D44631: Add function to OSD to get values without taking the lock..
Apr 30 2024, 8:51 PM
stevek committed rG46b606c8fd9a: userboot: support environment and symlinks in test application (authored by stevek).
userboot: support environment and symlinks in test application
Apr 30 2024, 8:41 PM
stevek closed D44625: userboot: support environment and symlinks in test application.
Apr 30 2024, 8:40 PM

Apr 26 2024

stevek added a comment to D39636: config.mk: Add MK_VIMAGE knob.

What is the value of MK_VIMAGE_SUPPORT over MK_VIMAGE? We now have an unused MK_VIMAGE. What will it control?

This commit is missing an addition of tools/build/options/WITHOUT_VIMAGE and WITHOUT_VIMAGE_SUPPORT and breaks GitHub CI because makeman spots the missing files.

Apr 26 2024, 3:01 PM

Apr 24 2024

stevek updated the summary of D44528: guestrpc module to handle VMware backdoor port GuestRPC functionality.
Apr 24 2024, 7:45 PM
stevek updated the diff for D44528: guestrpc module to handle VMware backdoor port GuestRPC functionality.

Updated according to review comments

Apr 24 2024, 7:45 PM
stevek updated the diff for D44625: userboot: support environment and symlinks in test application.

Added parenthesis based on comments.

Apr 24 2024, 6:52 PM
stevek added inline comments to D44625: userboot: support environment and symlinks in test application.
Apr 24 2024, 6:49 PM
stevek added a comment to D44928: sockets: hide socket hhook(9)s under SOCKET_HHOOK.

Or, this can go under SOCKET_HHOOK new option. Cause these two hhooks aren't really related. What do you think?

Apr 24 2024, 6:46 PM
stevek updated the summary of D44631: Add function to OSD to get values without taking the lock..
Apr 24 2024, 6:15 PM
stevek updated the diff for D44631: Add function to OSD to get values without taking the lock..

Changed from _nolock to _unlocked in naming and updated commit log message.

Apr 24 2024, 6:14 PM

Apr 16 2024

stevek closed D44811: iflib: Correct indentation according to style(9).
Apr 16 2024, 8:38 PM
stevek committed rGe4a0c92e7aea: iflib: Correct indentation according to style(9) (authored by stevek).
iflib: Correct indentation according to style(9)
Apr 16 2024, 8:38 PM
stevek added a comment to D44811: iflib: Correct indentation according to style(9).

IMHO, such trivial changes do not require posting a review.

Apr 16 2024, 8:19 PM
stevek requested review of D44811: iflib: Correct indentation according to style(9).
Apr 16 2024, 6:40 PM

Apr 15 2024

stevek committed rG303dea74c2cb: iflib: Fix compiler warnings (authored by stevek).
iflib: Fix compiler warnings
Apr 15 2024, 2:58 PM
stevek closed D44620: iflib: Fix compiler warnings.
Apr 15 2024, 2:58 PM

Apr 12 2024

stevek added inline comments to D44528: guestrpc module to handle VMware backdoor port GuestRPC functionality.
Apr 12 2024, 10:05 PM
stevek added a comment to D44529: geom: Register classes in SI_SUB_DRIVERS as order SI_ORDER_THIRD.
In D44529#1020279, @jhb wrote:

Looking at all those, I think we probably don't need a separate SI_SUB_DEVCTL_NOTIFY (though I wonder why that isn't SI_ORDER_FIRST), but I do think a separate SI_SUB_GEOM for GEOM classes to use (and the fdt_slicer thing) would be sensible. It could be defined as 0x3400000 and would untangle a bit of this more cleanly I think.

Apr 12 2024, 9:33 PM
stevek added a comment to D44620: iflib: Fix compiler warnings.
In D44620#1020403, @jhb wrote:

LGTM. If the file was using normal style it wouldn't need the indentation fixup (which will add a lot of noise). I would maybe suggest instead to fix the indentation to not be unusual in lieu of the one char fixup.

Apr 12 2024, 9:29 PM
stevek closed D44745: efidev: Allow for optionally including efidev and efirtc into the kernel.
Apr 12 2024, 5:31 PM
stevek committed rGbfd2ce2a5a61: efidev: Allow for optionally including efidev and efirtc into the kernel (authored by stevek).
efidev: Allow for optionally including efidev and efirtc into the kernel
Apr 12 2024, 5:31 PM

Apr 10 2024

stevek requested review of D44745: efidev: Allow for optionally including efidev and efirtc into the kernel.
Apr 10 2024, 9:53 PM

Apr 9 2024

stevek committed rG22ca6db50f4e: config.mk: Add MK_VIMAGE knob (authored by stevek).
config.mk: Add MK_VIMAGE knob
Apr 9 2024, 5:08 PM
stevek closed D39636: config.mk: Add MK_VIMAGE knob.
Apr 9 2024, 5:08 PM
stevek committed rGcb20a74ca063: vm: add macro to mark arguments used when NUMA is defined (authored by stevek).
vm: add macro to mark arguments used when NUMA is defined
Apr 9 2024, 2:25 PM
stevek closed D44623: vm: add macro to mark arguments used when NUMA is defined.
Apr 9 2024, 2:25 PM
stevek closed D44632: sockets: Add hhook in sonewconn for inheriting OSD specific data.
Apr 9 2024, 1:34 AM
stevek committed rG81b4d1c4d487: sockets: Add hhook in sonewconn for inheriting OSD specific data (authored by stevek).
sockets: Add hhook in sonewconn for inheriting OSD specific data
Apr 9 2024, 1:34 AM
stevek added a comment to D44623: vm: add macro to mark arguments used when NUMA is defined.

Do you want me to just switch things to use __unused instead of the macros to conditionally add it?

Apr 9 2024, 1:24 AM

Apr 5 2024

stevek committed rG3bbe8ed1a7dc: arm64: Add a CPU reset hook instead of expecting PSCI (authored by stevek).
arm64: Add a CPU reset hook instead of expecting PSCI
Apr 5 2024, 9:38 PM
stevek closed D44535: arm64: Add a CPU reset hook instead of expecting PSCI.
Apr 5 2024, 9:38 PM
stevek added a comment to D44623: vm: add macro to mark arguments used when NUMA is defined.
In D44623#1017858, @kib wrote:
In D44623#1017481, @kib wrote:

I have some bad feeling about all that <feature>_unused macros. Would it better to change it to unconditionally apply unused globall?

I guess __unused has no effect if the compiler can observe that the annotated variable is in fact used? Maybe it would trigger warnings?

I don't really like all the __unused aliases either, but I also don't want to just use __unused everywhere, it would be confusing.

gcc manual describes the attribute((unused)) as possible unused, with the only mentioned consequence of gcc not issuing warning if really unused.

Apr 5 2024, 9:34 PM
stevek committed rG1b60bbfe653f: arm64: Separate serror handler to EL1H and EL0 versions. (authored by stevek).
arm64: Separate serror handler to EL1H and EL0 versions.
Apr 5 2024, 7:23 PM
stevek closed D44630: arm64: Separate serror handler to EL1H and EL0 versions..
Apr 5 2024, 7:23 PM
stevek added a comment to D44632: sockets: Add hhook in sonewconn for inheriting OSD specific data.

I was about to ask "where is #ifdef TCP_HHOOKS?" But then I realized that socket_hhh isn't hidden under any ifdef.

Unrelated to this review, but may I ask if it is possible to hide socket_hhh and other stuff that came in 4ec7371233268 under TCP_HHOOKS? Or maybe SOCKET_HHOOKS, if these two are used as two independent features.

Apr 5 2024, 6:43 AM

Apr 4 2024

stevek requested review of D44632: sockets: Add hhook in sonewconn for inheriting OSD specific data.
Apr 4 2024, 12:38 AM
stevek committed rG41956c13f950: include: Ensure security/audit/audit.h gets staged properly. (authored by stevek).
include: Ensure security/audit/audit.h gets staged properly.
Apr 4 2024, 12:28 AM
stevek requested review of D44631: Add function to OSD to get values without taking the lock..
Apr 4 2024, 12:18 AM

Apr 3 2024

stevek requested review of D44630: arm64: Separate serror handler to EL1H and EL0 versions..
Apr 3 2024, 11:45 PM
stevek updated the diff for D44629: Optimize the handling of big/little endian determination..

Update summary

Apr 3 2024, 11:29 PM
stevek requested review of D44629: Optimize the handling of big/little endian determination..
Apr 3 2024, 11:27 PM
stevek committed rG112783ebbc31: userboot: allow for overriding the version file location (authored by stevek).
userboot: allow for overriding the version file location
Apr 3 2024, 11:11 PM
stevek closed D44624: userboot: allow for overriding the version file location.
Apr 3 2024, 11:10 PM
stevek added a comment to D10469: The c11 appendix K string functions.

There seems to be no change here or in https://github.com/trixirt/libc11ext in the last five years. @trix_juniper.net are you still planning to pursue this?

Apr 3 2024, 11:04 PM
stevek updated the diff for D39768: sockets: avoid layering violation in handling SO_SETFIB.

Made changes according to review comments.
Also fixed an issue when compiling gve_adminq.c due to the addition of
prototypes that use "bool", but the .c file was not including sys/types.h

Apr 3 2024, 10:57 PM
stevek added inline comments to D44622: efi: Add macros for building an EFI GUID.
Apr 3 2024, 9:44 PM
stevek requested review of D44625: userboot: support environment and symlinks in test application.
Apr 3 2024, 9:32 PM
stevek requested review of D44624: userboot: allow for overriding the version file location.
Apr 3 2024, 9:24 PM
stevek requested review of D44623: vm: add macro to mark arguments used when NUMA is defined.
Apr 3 2024, 9:11 PM
stevek requested review of D44622: efi: Add macros for building an EFI GUID.
Apr 3 2024, 8:29 PM
stevek requested review of D44620: iflib: Fix compiler warnings.
Apr 3 2024, 8:23 PM
stevek committed rG13ab9fa09be7: kernel: Add options for MAC_DEBUG and MAC_VERIEXEC_DEBUG (authored by stevek).
kernel: Add options for MAC_DEBUG and MAC_VERIEXEC_DEBUG
Apr 3 2024, 8:07 PM

Apr 1 2024

stevek updated the diff for D44464: x86: Add NMI callback function..

Updated based on review comments

Apr 1 2024, 8:03 PM
stevek added inline comments to D44464: x86: Add NMI callback function..
Apr 1 2024, 6:51 PM

Mar 28 2024

stevek updated the diff for D44535: arm64: Add a CPU reset hook instead of expecting PSCI.

Updated based on review comments

Mar 28 2024, 7:05 PM
stevek added a comment to D44535: arm64: Add a CPU reset hook instead of expecting PSCI.

Is there a reason to not have cpu_reset_hook = psci_reset by default so we can remove the NULL check?

Mar 28 2024, 6:23 PM
stevek committed rG2aee804c9ef0: kerneldump: Add flag to indicate kernel core was successfully dumped (authored by stevek).
kerneldump: Add flag to indicate kernel core was successfully dumped
Mar 28 2024, 6:13 PM
stevek closed D44542: kerneldump: Add flag to indicate kernel core was successfully dumped.
Mar 28 2024, 6:13 PM
stevek committed rGfe429e6794d3: stand/efi: Changes to efichar to allow it to be used in the kernel (authored by stevek).
stand/efi: Changes to efichar to allow it to be used in the kernel
Mar 28 2024, 6:10 PM
stevek closed D44541: stand/efi: Changes to efichar to allow it to be used in the kernel.
Mar 28 2024, 6:10 PM

Mar 27 2024

stevek committed rGf6e77cb8c146: include: Allow SDESTDIR to be overridden (authored by stevek).
include: Allow SDESTDIR to be overridden
Mar 27 2024, 11:19 PM
stevek committed rG39f6f6f1c6f8: libmagic: Use HOST_CC when compiling hostprog used by build (authored by stevek).
libmagic: Use HOST_CC when compiling hostprog used by build
Mar 27 2024, 11:19 PM