Page MenuHomeFreeBSD
Feed Advanced Search

Apr 18 2023

stevek abandoned D39664: Pondicherry2 memory controller (ECC) driver.

Accidentally created

Apr 18 2023, 6:07 PM
stevek requested review of D39664: Pondicherry2 memory controller (ECC) driver.
Apr 18 2023, 6:06 PM
stevek added reviewers for D39663: Pondicherry2 memory controller (ECC) driver: mav, markj, kib.
Apr 18 2023, 6:04 PM
stevek added a comment to D39661: mca: Allow for passing ECC error record to memory controller driver.
In D39661#902586, @mav wrote:

I have no objections in general, if you find it useful, just a few on the implementation.

Apr 18 2023, 6:03 PM
stevek requested review of D39663: Pondicherry2 memory controller (ECC) driver.
Apr 18 2023, 6:02 PM
stevek added inline comments to D39661: mca: Allow for passing ECC error record to memory controller driver.
Apr 18 2023, 6:00 PM
stevek requested review of D39661: mca: Allow for passing ECC error record to memory controller driver.
Apr 18 2023, 5:29 PM
stevek committed rG4e8b87afe008: Handle errors if WARNS is not defined. (authored by stevek).
Handle errors if WARNS is not defined.
Apr 18 2023, 5:19 PM
stevek abandoned D9865: Fix a memory leak in i2c.

Handled by commit e06874f3f6d1f

Apr 18 2023, 5:07 PM
stevek commandeered D9865: Fix a memory leak in i2c.
Apr 18 2023, 5:06 PM
stevek abandoned D39637: amd64: Only initialize use_xsave once..

D39660 takes care of this in a better way.

Apr 18 2023, 4:48 PM
stevek accepted D39660: x86: initialize use_xsave once.

This looks like a much better solution, thanks!

Apr 18 2023, 4:46 PM
stevek added reviewers for D39587: UART changes for ns8250 uart on denverton Intel SoC: imp, cperciva, jhb.
Apr 18 2023, 4:11 PM
stevek added inline comments to D23420: mac_veriexec: remove opt_global.h workarounds.
Apr 18 2023, 3:53 PM
stevek closed D39639: arm64: Use FULLKERNEL instead of .ALLSRC in .bin target.
Apr 18 2023, 3:43 PM
stevek committed rGfb5ff7384cfd: arm64: Use FULLKERNEL instead of .ALLSRC in .bin target (authored by stevek).
arm64: Use FULLKERNEL instead of .ALLSRC in .bin target
Apr 18 2023, 3:43 PM
stevek added a comment to D39637: amd64: Only initialize use_xsave once..
In D39637#902426, @kib wrote:

Ifuncs were supposed to be resolved only once, same as for userspace. Second (late) resolution is a sort of hack.
That said, I do not see a need to waste kernel memory to remember the status there. There is no problem with tunable changing or disappearing, because all kernel ifunc resolvers are called long before userspace is started.

Apr 18 2023, 2:52 PM
stevek added a comment to D39637: amd64: Only initialize use_xsave once..
In D39637#902426, @kib wrote:
In D39637#902418, @kib wrote:

I do not like adding static for that. Could you do this instead?

Then you spend take the cost of re-evaluating the tunable each time that a ifunc needs to be evaluated.
The tunable is supposed to be a one-and-done thing.

Ifuncs were supposed to be resolved only once, same as for userspace. Second (late) resolution is a sort of hack.
That said, I do not see a need to waste kernel memory to remember the status there. There is no problem with tunable changing or disappearing, because all kernel ifunc resolvers are called long before userspace is started.

Apr 18 2023, 2:43 PM
stevek added a comment to D39639: arm64: Use FULLKERNEL instead of .ALLSRC in .bin target.

IMO this is fine, but also ${.ALLSRC} should only ever be ${FULLKERNEL} so not sure how you'd get this case.

Apr 18 2023, 1:54 PM
stevek added a comment to D39637: amd64: Only initialize use_xsave once..
In D39637#902418, @kib wrote:

I do not like adding static for that. Could you do this instead?

Apr 18 2023, 1:32 PM
stevek requested review of D39640: Add variables for some tools used in the build.
Apr 18 2023, 5:51 AM
stevek added a reviewer for D39639: arm64: Use FULLKERNEL instead of .ALLSRC in .bin target: andrew.
Apr 18 2023, 5:37 AM
stevek requested review of D39639: arm64: Use FULLKERNEL instead of .ALLSRC in .bin target.
Apr 18 2023, 5:36 AM
stevek committed rG49b6bc83cc4e: meta: print some additional variables on build errors. (authored by stevek).
meta: print some additional variables on build errors.
Apr 18 2023, 5:31 AM
stevek committed rGd66465801525: meta: Allow TARGET_SPEC_VARS to be overridden (authored by stevek).
meta: Allow TARGET_SPEC_VARS to be overridden
Apr 18 2023, 4:27 AM
stevek committed rG76735c743989: flash: Add "n25q64" to mx25l driver (authored by stevek).
flash: Add "n25q64" to mx25l driver
Apr 18 2023, 4:22 AM
stevek requested review of D39637: amd64: Only initialize use_xsave once..
Apr 18 2023, 3:54 AM
stevek updated the summary of D39636: config.mk: Add MK_VIMAGE knob.
Apr 18 2023, 3:28 AM
stevek requested review of D39636: config.mk: Add MK_VIMAGE knob.
Apr 18 2023, 3:28 AM
stevek closed D39635: libsa: Update comments about SMBIOS specification.
Apr 18 2023, 3:22 AM
stevek committed rGb5c3ade7657a: libsa: Update comments about SMBIOS specification (authored by stevek).
libsa: Update comments about SMBIOS specification
Apr 18 2023, 3:22 AM
stevek updated the diff for D39635: libsa: Update comments about SMBIOS specification.

Added closing quote per review comments

Apr 18 2023, 3:08 AM
stevek added a comment to D39635: libsa: Update comments about SMBIOS specification.
In D39635#902089, @imp wrote:

Also, this is starting to get a little lengthy for a quote. Do the standards say you need permission to quote? If not, I think it's short enough to be fine. If it does, however, we may look to trim a bit.

Apr 18 2023, 3:06 AM
stevek requested review of D39635: libsa: Update comments about SMBIOS specification.
Apr 18 2023, 1:51 AM

Apr 17 2023

stevek requested review of D39631: loader: Change version calculation to be more consistent..
Apr 17 2023, 11:29 PM
stevek updated the diff for D39589: Honor module dependency order when registering MAC modules..

Updated commit log and source file comments

Apr 17 2023, 8:08 PM
stevek added inline comments to D39589: Honor module dependency order when registering MAC modules..
Apr 17 2023, 8:07 PM
stevek requested review of D39624: veriexec: Add support in rc.d script processing..
Apr 17 2023, 7:49 PM ยท rc
stevek committed rG48ffacbc8487: veriexec: Add function to get label associated with a file (authored by stevek).
veriexec: Add function to get label associated with a file
Apr 17 2023, 3:48 PM
stevek committed rG9bc96108d1f1: libveriexec: add function to check a label based on a path (authored by stevek).
libveriexec: add function to check a label based on a path
Apr 17 2023, 3:48 PM
stevek committed rGbd4742c97079: veriexec: Rename old VERIEXEC_SIGNED_LOAD as VERIEXEC_SIGNED_LOAD32 (authored by stevek).
veriexec: Rename old VERIEXEC_SIGNED_LOAD as VERIEXEC_SIGNED_LOAD32
Apr 17 2023, 3:48 PM
stevek committed rGd195f39d1dab: veriexec: Add option MAC_VERIEXEC_DEBUG (authored by stevek).
veriexec: Add option MAC_VERIEXEC_DEBUG
Apr 17 2023, 3:48 PM
stevek committed rG8c3e263dc1e1: veriexec: mac_veriexec_syscall compat32 support (authored by Simon J. Gerraty <sjg@juniper.net>).
veriexec: mac_veriexec_syscall compat32 support
Apr 17 2023, 3:48 PM
stevek committed rG8512d82ea070: veriexec: Additional functionality for MAC/veriexec (authored by stevek).
veriexec: Additional functionality for MAC/veriexec
Apr 17 2023, 3:48 PM
stevek committed rG88a3358ea417: veriexec: Add SPDX-License-Identifier (authored by stevek).
veriexec: Add SPDX-License-Identifier
Apr 17 2023, 1:23 AM
stevek committed rG1c7ac0c23bc1: veriexec: fix use of getopt (authored by stevek).
veriexec: fix use of getopt
Apr 17 2023, 1:06 AM
stevek committed rG894bcc876da9: sys/modules/Makefile: conditionally add MAC/veriexec modules (authored by stevek).
sys/modules/Makefile: conditionally add MAC/veriexec modules
Apr 17 2023, 12:26 AM
stevek committed rG2e6a433811fb: veriexec: allow sha512 fingerprint in manifest parser (authored by stevek).
veriexec: allow sha512 fingerprint in manifest parser
Apr 17 2023, 12:26 AM

Apr 16 2023

stevek committed rG8050e0a4299d: sys/modules/Makefile: add MAC/veriexec modules into the build (authored by stevek).
sys/modules/Makefile: add MAC/veriexec modules into the build
Apr 16 2023, 11:20 PM
stevek closed D39537: mac_veriexec: add mac_priv_grant check for NODEV.
Apr 16 2023, 11:15 PM
stevek committed rG6ae8d57652fa: mac_veriexec: add mac_priv_grant check for NODEV (authored by Simon J. Gerraty <sjg@juniper.net>).
mac_veriexec: add mac_priv_grant check for NODEV
Apr 16 2023, 11:15 PM
stevek committed rG4819e5aeda4e: Add new privilege PRIV_KDB_SET_BACKEND (authored by stevek).
Add new privilege PRIV_KDB_SET_BACKEND
Apr 16 2023, 6:39 PM
stevek closed D39538: Add new privilege PRIV_KDB_SET_BACKEND.
Apr 16 2023, 6:38 PM
stevek committed rGb1a00c2b1368: Quiet compiler warnings for fget_noref and fdget_noref (authored by stevek).
Quiet compiler warnings for fget_noref and fdget_noref
Apr 16 2023, 3:52 AM
stevek closed D39593: Quiet compiler warnings for fget_noref and fdget_noref.
Apr 16 2023, 3:51 AM
stevek added a comment to D39593: Quiet compiler warnings for fget_noref and fdget_noref.
In D39593#901233, @mjg wrote:

fdt_nfiles should probably become unsigned instead and whatever which does not already (u_int)fd should start doing it

what compiler are you using?

Apr 16 2023, 3:41 AM
stevek requested review of D39593: Quiet compiler warnings for fget_noref and fdget_noref.
Apr 16 2023, 12:11 AM

Apr 15 2023

stevek abandoned D39588: Honor module dependency order when registering MAC modules..
Apr 15 2023, 8:49 PM
stevek requested review of D39589: Honor module dependency order when registering MAC modules..
Apr 15 2023, 8:49 PM
stevek requested review of D39588: Honor module dependency order when registering MAC modules..
Apr 15 2023, 8:46 PM
stevek requested review of D39587: UART changes for ns8250 uart on denverton Intel SoC.
Apr 15 2023, 8:40 PM

Apr 14 2023

stevek added inline comments to D39540: Allow additional "options" files to be specified in kernel config.
Apr 14 2023, 3:51 PM

Apr 12 2023

stevek updated the summary of D39540: Allow additional "options" files to be specified in kernel config.
Apr 12 2023, 9:08 PM
stevek updated the summary of D39540: Allow additional "options" files to be specified in kernel config.
Apr 12 2023, 9:08 PM
stevek requested review of D39540: Allow additional "options" files to be specified in kernel config.
Apr 12 2023, 9:07 PM
stevek added inline comments to D39538: Add new privilege PRIV_KDB_SET_BACKEND.
Apr 12 2023, 7:48 PM
stevek accepted D37106: kdb: Conditionally permit breaking to DDB with a raised securelevel.
Apr 12 2023, 5:47 PM
stevek abandoned D6797: Prepare for network stack as a module: ioctl group handling.
Apr 12 2023, 5:44 PM
stevek requested review of D39538: Add new privilege PRIV_KDB_SET_BACKEND.
Apr 12 2023, 5:30 PM
stevek updated the summary of D39537: mac_veriexec: add mac_priv_grant check for NODEV.
Apr 12 2023, 5:19 PM
stevek requested review of D39537: mac_veriexec: add mac_priv_grant check for NODEV.
Apr 12 2023, 5:18 PM

Mar 14 2023

stevek added inline comments to D39020: tarfs: Support tar files which include file modes with permissions..
Mar 14 2023, 6:56 PM
stevek added inline comments to D39020: tarfs: Support tar files which include file modes with permissions..
Mar 14 2023, 6:55 PM
stevek accepted D37122: kdb: Modify securelevel policy.
Mar 14 2023, 6:49 PM

Jan 5 2023

stevek added inline comments to D37753: Add tarfs, a filesystem backed by tarballs..
Jan 5 2023, 5:43 PM

Dec 28 2022

stevek accepted D37895: Add site.{autodep,gendirdeps}.mk.
Dec 28 2022, 6:38 PM

Dec 22 2022

stevek added a comment to D37753: Add tarfs, a filesystem backed by tarballs..

Could the commit message provide some reasoning about why this can be useful, what advantages it provides compared to mdmfs (wich compressed image), and why it makes sense to do this in kernel as opposed to fusefs? Thanks.

Dec 22 2022, 7:41 PM
stevek added inline comments to D37753: Add tarfs, a filesystem backed by tarballs..
Dec 22 2022, 7:19 PM

Dec 6 2022

stevek accepted D37617: Allow site.*.mk to augment local.*.mk and src.*.mk.

This matches what we use locally at Juniper

Dec 6 2022, 7:41 PM

Dec 5 2022

stevek accepted D37592: Add some more local.*.mk includes.

Looks reasonable to me and what we use already at Juniper.

Dec 5 2022, 4:21 PM

Jan 6 2022

stevek added a comment to D33761: libsoft: Remove.
In D33761#763599, @manu wrote:

LGTM

Maybe wait for @stevek or @wma as IIRC one of them used it for some platform but I could be wrong.

Jan 6 2022, 8:37 PM

Dec 29 2021

stevek committed rGbd7e18a378fa: Eliminate key press requirement "show vmopag" command output. (authored by stevek).
Eliminate key press requirement "show vmopag" command output.
Dec 29 2021, 7:38 PM

Dec 20 2021

stevek committed rG18048b6e3cb6: Eliminate key press requirement "show vmopag" command output. (authored by stevek).
Eliminate key press requirement "show vmopag" command output.
Dec 20 2021, 12:42 AM
stevek closed D33550: Eliminate key press requirement "show vmopag" command output..
Dec 20 2021, 12:41 AM
stevek updated the diff for D33550: Eliminate key press requirement "show vmopag" command output..

Add db_pager_quit checks per review comments

Dec 20 2021, 12:39 AM

Dec 17 2021

stevek requested review of D33550: Eliminate key press requirement "show vmopag" command output..
Dec 17 2021, 10:04 PM

Dec 10 2021

stevek added inline comments to D33362: stand/uboot: reorg.
Dec 10 2021, 7:07 AM
stevek added inline comments to D33362: stand/uboot: reorg.
Dec 10 2021, 6:59 AM
stevek added inline comments to D33362: stand/uboot: reorg.
Dec 10 2021, 3:34 AM

Aug 27 2021

stevek closed D31620: Add SDT probes virtqueue::enqueue_segments:{entry,return}.
Aug 27 2021, 5:09 PM
stevek committed rGfd80208a5f92: Add SDT probes virtqueue::enqueue_segments:{entry,return} (authored by stevek).
Add SDT probes virtqueue::enqueue_segments:{entry,return}
Aug 27 2021, 5:09 PM

Aug 20 2021

stevek requested review of D31620: Add SDT probes virtqueue::enqueue_segments:{entry,return}.
Aug 20 2021, 5:24 PM

Jul 21 2021

stevek added a comment to D31244: arm: Bump KSTACK_PAGES default to match i386/amd64.

We have been using KSTACK_PAGES=4 in our Cortex-A9-based switches (with 2GiB RAM) for a number of years now.
During the platform bringup days, before bumping up the KSTACK_PAGES, we were hitting cases where we were running out of stack space and getting all sorts of wonderful odd crashes happening.

Jul 21 2021, 7:02 PM

Apr 30 2021

stevek added a comment to D29993: EFI secure boot VECTX related changes.

Seems okay to me, but @sjg would be the best to look at it, since the loader veriexec bits are his pet project.

Apr 30 2021, 3:15 PM

Apr 9 2021

stevek added a comment to D29531: Add kvmclock timecounter support to FreeBSD.

So if you tell us you have no idea how long it'll take before you get the green light, I'd be for merging that one and for your review to update/rewrite it.

If you tell us you'll have something before summer, I'd say let's wait for you.

Apr 9 2021, 3:14 PM

Apr 8 2021

stevek added a comment to D29531: Add kvmclock timecounter support to FreeBSD.

As I mentioned previously, my employer has contracted work to bring this driver to a full implementation. An initial draft is under review internally and a Phabricator review is queued up once we give the green light. That is why I suggested holding off on this version of the patch.

Apr 8 2021, 6:05 PM
stevek added a comment to D29531: Add kvmclock timecounter support to FreeBSD.

Clearly, ACPI-fast (which is the default) is at the bottom of the pile: I get less than half the bandwidth from the block device compared to what I get with kvmclock. TSC-low is the best of them all but I assume there's a reason it's rated so low (surprisingly it's better that i8254 which is rated higher).

Apr 8 2021, 5:59 PM

Apr 7 2021

stevek added a comment to D29531: Add kvmclock timecounter support to FreeBSD.

As I mentioned previously, the other thing to consider when using kvmclock in the current patch is the need for a system call for clock_gettime(), gettimeofday(), etc.

Apr 7 2021, 5:06 PM
stevek added a comment to D29531: Add kvmclock timecounter support to FreeBSD.
In D29531#663896, @imp wrote:

A number of people are reporting problems with zfs scrub w/o this fix that they say is corrected by this, so there's some desirer to have it in the tree. Do you know if these setups are common? Or do you have a notion of why these results have been reported in light of this instability?

Apr 7 2021, 4:58 PM

Apr 6 2021

stevek added a comment to D29531: Add kvmclock timecounter support to FreeBSD.

My employer has contracted work to bring this driver to a full implementation, including adding VDSO support for kvmclock. Currently, with the kvmclock driver as in the original reviews and this one, user space processes end up needing to do a system call for gettimeofday and clock_gettime. With the VDSO support, the clock will be able to be kept in sync via the shared memory pages and avoid the system call overhead.

Apr 6 2021, 8:00 PM