Page MenuHomeFreeBSD

olce (Olivier Certner)
User

Projects (3)

User Details

User Since
Feb 26 2021, 3:47 PM (265 w, 21 h)

Recent Activity

Yesterday

olce committed rGc78937677c97: DEVICE_IDENTIFY.9: Fix function call to detect driver in example code.
Fri, Mar 27, 2:56 PM
olce added a reverting change for rG12e1ab887d58: Add ASMC_DEBUG make option: rG97934f737548: Revert superfluous mis-MFC of "Add ASMC_DEBUG make option".
Fri, Mar 27, 12:34 PM
olce committed rG97934f737548: Revert superfluous mis-MFC of "Add ASMC_DEBUG make option".
Fri, Mar 27, 12:34 PM

Tue, Mar 24

olce committed rG954aaf3958e2: MAC/do: Comments: Rephrase one, fix a typo in another.
Tue, Mar 24, 6:13 PM

Sun, Mar 15

olce committed rG5f659f2b8533: zfs: Fix build after merge of openzfs/zfs@f8e5af53e.
Sun, Mar 15, 11:19 PM

Fri, Mar 6

olce committed rG815fdbd497ff: iwx: Re-activate the 32-bit boundary cross check on 64-bit architectures.
Fri, Mar 6, 5:21 PM
olce committed rGc1567d49a832: iwx: Re-activate the 32-bit boundary cross check on 64-bit architectures.
Fri, Mar 6, 5:16 PM
olce committed rGaf2c7d9f6452: style.9: Encourage style changes when doing significant modifications.
Fri, Mar 6, 5:16 PM

Thu, Mar 5

olce committed rGe16f1bf3baa1: asmc(4): pull 32-bit support for the driver (authored by ngie).
Thu, Mar 5, 2:44 PM
olce committed rGf4f418bbf8fb: vm_page.h: Materialize a spare bit.
Thu, Mar 5, 2:44 PM
olce committed rG71a1b16a3a82: sys: ELF: Rename SHN_FBSD_CACHED => SHN_FREEBSD_CACHED.
Thu, Mar 5, 2:44 PM
olce committed rG1e0de6ef6334: sys/compat/freebsd32: Fix i386 compilation.
Thu, Mar 5, 2:44 PM
olce committed rG16de2cf81f75: kernel dump: dumpsys_gen_pa_next(): Fix "no more chunks" condition detection.
Thu, Mar 5, 2:44 PM
olce committed rG2efc7bfbc251: i386 minidump: Remove unused macros.
Thu, Mar 5, 2:44 PM
olce committed rG069553bf5c0f: sys/sysctl.h: Add missing <sys/kassert.h> include.
Thu, Mar 5, 2:44 PM
olce committed rGa6e1727fb8ac: sys/sysctl.h: Make it self-contained when included from the kernel.
Thu, Mar 5, 2:44 PM
olce committed rG2ea9c6997ec9: endian.h: Visibility comment: Fix grammar, a typo and punctuation.
Thu, Mar 5, 2:44 PM
olce committed rG1739bb967444: sys: vt_efifb: EFI not supported on i386; move it back to amd64/NOTES.
Thu, Mar 5, 2:44 PM
olce committed rG38863c7e55f7: i386: Fix kernel compilation after introduction of ASMC_DEBUG option.
Thu, Mar 5, 2:44 PM

Feb 20 2026

olce committed rGf1b93fc50f01: hwpstate_amd(4): Fix punctuation in 'desired_performance' knob's description.
Feb 20 2026, 10:13 AM
olce committed rG953b9164c3d9: cpufreq(4): cpufreq_levels_sysctl(): Remove always false NULL test.
Feb 20 2026, 10:13 AM
olce committed rGb69a396de211: hwpstate_amd(4): CPPC: Allow attaching even if CAPABILITY_1 cannot be read.
Feb 20 2026, 10:13 AM
olce committed rG80d32a6b1d73: hwpstate_amd(4): CPPC: Switch the default to maximum performance.
Feb 20 2026, 10:13 AM
olce committed rG7f36d7a9505a: hwpstate_amd(4): Consistency of cached CPPC_REQUEST value.
Feb 20 2026, 10:13 AM

Feb 19 2026

olce committed rG27b76413615a: sysctl(9): Booleans: Fix old value length discovery.
Feb 19 2026, 12:30 PM
olce committed rG0db846a9697e: asmc(4): Stop building it on i386, as it supports only 64-bit chipsets.
Feb 19 2026, 12:30 PM
olce committed rG6bc5a7cd9c4e: amd64: parse_memmap(): Move comment about size at proper place.
Feb 19 2026, 12:30 PM
olce committed rG97490a7b32e3: ahc(4): Fix a warning on i386 compilation.
Feb 19 2026, 12:30 PM
olce committed rG4ba8eaf2336c: ps(1): Sort headers.
Feb 19 2026, 12:30 PM
olce committed rGbdf595fcea8e: exterrvar.h: style(9): Fix two small nits.
Feb 19 2026, 12:30 PM
olce committed rGd18aaeff8fd3: vm_page.h: Materialize a spare bit.
Feb 19 2026, 10:30 AM

Feb 16 2026

olce committed rG4ccca2100887: sys/abi_types.h: time32_t is 64-bit on non-x86 architectures.
Feb 16 2026, 10:30 AM

Feb 13 2026

olce committed rG07c4eb506be4: sys/compat/freebsd32: Fix i386 compilation.
Feb 13 2026, 10:22 PM
olce committed rG2ce028e8a265: sys: ELF: Rename SHN_FBSD_CACHED => SHN_FREEBSD_CACHED.
Feb 13 2026, 10:22 PM

Feb 11 2026

olce committed rGc6a0eb7ada62: hwpstate_amd(4): Rename '*set_autonomous_hwp*()' => 'enable_cppc*()'.
Feb 11 2026, 8:44 PM
olce committed rG2b728d3bbfbc: hwpstate_amd(4): Move 'struct get_cppc_regs_data' & co. closer to use.
Feb 11 2026, 8:44 PM
olce committed rGebcd80f76ed1: hwpstate_amd(4): Rename PSTATE_CPPC internal flag.
Feb 11 2026, 8:44 PM
olce committed rG4285340c604a: hwpstate_amd(4): Style: Align 'machdep.hwpstate_amd_cppc_enable'.
Feb 11 2026, 8:44 PM
olce committed rGcec0ab05866e: hwpstate_amd(4): Style: Sort headers.
Feb 11 2026, 8:44 PM
olce committed rGa78e7c22c5d7: hwpstate_amd(4): Update copyright.
Feb 11 2026, 8:44 PM
olce committed rG7689e68506a9: hwpstate_amd(4): Add knobs to get/set all fields of CPPC_REQUEST.
Feb 11 2026, 8:44 PM
olce committed rG951788e3733e: hwpstate_amd(4): 'epp' sysctl leaf to operate on real EPP hardware values.
Feb 11 2026, 8:44 PM
olce committed rG6db204dc2de0: hwpstate_amd(4): Factor out setting the CPPC_REQUEST register.
Feb 11 2026, 8:44 PM
olce committed rGbd58239d3653: hwpstate_amd(4): attach(): More diagnostic on CPPC enable.
Feb 11 2026, 8:44 PM
olce committed rGdf7b4dcdb8ff: hwpstate_amd(4): Sane defaults for min/max perf on insane capabilities.
Feb 11 2026, 8:44 PM
olce committed rG8aac1e9b028e: hwpstate_amd(4): Register dump: Fine-grained error reporting.
Feb 11 2026, 8:44 PM

Feb 10 2026

olce committed rG7e5f4bb3a1c9: kernel dump: dumpsys_gen_pa_next(): Fix "no more chunks" condition detection.
Feb 10 2026, 4:55 PM

Feb 6 2026

olce committed rGbfd50a32ff26: sys/sysctl.h: Add missing <sys/kassert.h> include.
Feb 6 2026, 8:52 PM
olce committed rG7bc7692b940b: hwpstate_amd(4): Revamp the softc.
Feb 6 2026, 4:29 PM
olce committed rG0f747142c16b: hwpstate_amd(4): attach(): Fix style.
Feb 6 2026, 4:29 PM
olce committed rG73c9d843ffb9: hwpstate_amd(4): Factor out printing CPPC registers, fix CPPC_REQUEST's.
Feb 6 2026, 4:29 PM
olce committed rGe938d57e0a88: hwpstate_amd(4): Rename register dump sysctl handler.
Feb 6 2026, 4:29 PM
olce committed rG461bac05a145: hwpstate_amd(4): Rename EPP handler, convert to unsigned int.
Feb 6 2026, 4:29 PM
olce committed rGfa0512f7156d: hwpstate_amd(4): Assert PSTATE_CPPC is on in corresponding sysctl handlers.
Feb 6 2026, 4:29 PM
olce committed rG1a446f765d9c: sys/sysctl.h: Make it self-contained when included from the kernel.
Feb 6 2026, 4:23 PM
olce committed rG8bdcfc2a3feb: endian.h: Visibility comment: Fix grammar, a typo and punctuation.
Feb 6 2026, 2:47 PM
olce committed rG584c4e0abbfd: i386 minidump: Remove unused macros.
Feb 6 2026, 2:47 PM

Feb 3 2026

olce committed rG895e1c6567d9: sysctl(9): Booleans: Fix old value length discovery.
Feb 3 2026, 10:44 PM
olce committed rG53bb02015fce: amd64: parse_memmap(): Move comment about size at proper place.
Feb 3 2026, 5:20 PM
olce committed rG9ae367d11de8: hwpstate_amd(4): Rename CPPC register macros.
Feb 3 2026, 2:05 PM
olce committed rG4b0e09a918fb: hwpstate_amd(4): Fix BITS_WITH_VALUE()/SET_BITS_VALUE() to obey the mask.
Feb 3 2026, 2:05 PM

Jan 28 2026

olce committed rGa9f7074e858f: ahc(4): Fix a warning on i386 compilation.
Jan 28 2026, 11:32 AM
olce committed rG149e6c67ca80: acpi_spmc(4): Fix compilation on 32-bit platforms.
Jan 28 2026, 11:32 AM

Jan 19 2026

olce added a comment to D54410: acpi: Implement s2idle loop.

This approach looks weird, and I'm still unclear on what is really needed. More generally, I'd like to know why we have to do that, and I question its safety.

Jan 19 2026, 9:45 PM
olce added a comment to D54407: sched: Flag to force scheduler to always choose idle thread.

I have a couple of comments, but really we should first determine what to do with D54410, please see there.

Jan 19 2026, 9:21 PM
olce added a comment to D48387: acpi_spmc: Add SPMC (system power management controller) driver.

Fix issues pointed out by olce@ and apply some suggestions. Main changes:

  • Change DSM order again to match Windows & Linux.
  • Hold DSM set info in new struct dsm_set, so we can hold revision ID and DSM name.
  • Print out DSM name & revision.
  • Tunable to change Intel DSM set revision ID to use for debugging.
Jan 19 2026, 5:38 PM
olce added a comment to D54409: x86: New (un)idle IPIs for setting idle flag in scheduler.

Can totally use smp_rendezvous_cpus() for this instead of adding 2 new IPIs. I thought I had run into a problem using rendezvous when I first implemented this, but I just tried it again and see no problem doing it this way.

Jan 19 2026, 4:20 PM
olce accepted D54777: acpi: Fix not calling AcpiLeaveSleepState() in S3 path.

Ah, sorry... I'm pretty sure I had seen that problem during the review of D48734 at some point but forgot about it...

Jan 19 2026, 4:04 PM

Jan 16 2026

olce accepted D54748: mac(4): also list jails in the example enumeration of objects.

Oh, you're right, jails are more of an object than a subject.

Jan 16 2026, 8:42 PM
olce added inline comments to D54737: RELNOTES: document the MAC/jail integration.
Jan 16 2026, 9:10 AM

Jan 14 2026

olce added a reviewer for D54674: sys: add hmp: olce.
Jan 14 2026, 8:08 PM
olce added a comment to D48387: acpi_spmc: Add SPMC (system power management controller) driver.

We should also avoid the ugly pollution of struct acpi_softc (I completely understand this was done to get something working more quickly). Rather, let's define a new interface, called something like acpi_lpi (defined in a new acpi_lpi_if.m file), with two methods, acpi_lpi_enter() and acpi_lpi_exit(), which would be called before/after entering suspend-to-idle in acpi_EnterSleepState() (e.g., on all direct children of acpi; we'll see that in D48735). There are examples of interfaces under sys/dev/acpica, acpi_if.m and acpi_bus_if.m. The .m files are processed by sys/tools/makeobjops.awk. There's a bit more doc on kobj(9) (which device(9) relies on) in the Architecture Handbook.

Jan 14 2026, 12:49 AM
olce accepted D48734: acpi: Suspend-to-idle support (s2idle).

Looks good (if you could move the comment about the sleep button, that would be great, see inline comment).

Jan 14 2026, 12:49 AM
olce requested changes to D48387: acpi_spmc: Add SPMC (system power management controller) driver.

I'm pretty new to device management in FreeBSD, but it looks to me that allocating some memory + acpi_set_private() in DEVICE_PROBE() (here, acpi_spmc_probe()) and acpi_get_private() + deallocation in DEVICE_ATTACH() is a bad pattern, as it will cause memory leaks and in fact even panics in most cases if there are multiple candidate drivers. Since there is for now only a single driver, could you please instead fill up the acpi_spmc_softc directly and have acpi_spmc_probe() return 0 on success (which guarantees preservation of the softc up to DEVICE_ATTACH())? Let's also avoid possible bad pattern spreading by copy-pasting (incidentally, I see the same pattern in acpi_ec.c).

Jan 14 2026, 12:49 AM

Jan 12 2026

olce requested changes to D48734: acpi: Suspend-to-idle support (s2idle).

Looks good, except for one thing (see the inline comment in do_sleep()).

Jan 12 2026, 1:46 PM
olce committed rG9c25620e57f0: sys: vt_efifb: EFI not supported on i386; move it back to amd64/NOTES.
Jan 12 2026, 12:18 PM
olce committed rG8342d9f7b5f1: asmc(4): Stop building it on i386, as it supports only 64-bit chipsets.
Jan 12 2026, 12:18 PM

Jan 10 2026

olce accepted D54505: hwpstate_amd: Use ipi instead of sched_bind + thread_lock.
Jan 10 2026, 8:38 AM

Jan 9 2026

olce added a comment to D54626: acpi: 'hw.acpi.s4bios' sysctl: Change type to bool, expand description.

I'm not too sure about changing the type of a sysctl knob that has existed for a long time. The only compatibility problem that I can see doing this is potentially breaking reporting in an application that would call sysctl(3) (or sysctlbyname(3)) directly, passing an unitialized integer and then reading from it, as only the first byte would have been filled. Setting the boolean would still work (except on big-endian arches). The use of an old sysctl(8) utility is not affected.

Jan 9 2026, 5:52 PM
olce updated subscribers of D54627: acpi: New R/O 'hw.acpi.s4bios_supported' sysctl, gate S4BIOS with it.
Jan 9 2026, 5:13 PM
olce updated subscribers of D54626: acpi: 'hw.acpi.s4bios' sysctl: Change type to bool, expand description.
Jan 9 2026, 5:13 PM
olce updated subscribers of D54625: acpi: Use AcpiGbl_FACS even on ACPI_REDUCED_HARDWARE.
Jan 9 2026, 5:13 PM
olce updated subscribers of D54624: acpi: Use only AcpiGetSleepTypeData() to determine Sx support.
Jan 9 2026, 5:13 PM
olce requested review of D54626: acpi: 'hw.acpi.s4bios' sysctl: Change type to bool, expand description.
Jan 9 2026, 5:10 PM
olce requested review of D54627: acpi: New R/O 'hw.acpi.s4bios_supported' sysctl, gate S4BIOS with it.
Jan 9 2026, 5:10 PM
olce requested review of D54625: acpi: Use AcpiGbl_FACS even on ACPI_REDUCED_HARDWARE.
Jan 9 2026, 5:08 PM
olce requested review of D54624: acpi: Use only AcpiGetSleepTypeData() to determine Sx support.
Jan 9 2026, 5:07 PM
olce updated the diff for D52885: style.9: Encourage style changes when doing significant modifications.

"modified" => "going to be modified"

Jan 9 2026, 4:55 PM
olce committed rG67599eef01f5: sys/x86/NOTES: Add vt_efifb.
Jan 9 2026, 4:35 PM
olce committed rGfde9fe18219f: i386: Fix kernel compilation after introduction of ASMC_DEBUG option.
Jan 9 2026, 4:35 PM
olce committed rG730b3e20069b: ps(1): Sort headers.
Jan 9 2026, 4:35 PM
olce added inline comments to D52885: style.9: Encourage style changes when doing significant modifications.
Jan 9 2026, 3:57 PM
olce updated the diff for D52885: style.9: Encourage style changes when doing significant modifications.

Cater to comments.

Jan 9 2026, 3:57 PM
olce added a comment to D54553: cache: avoid hardcoded cache padding.

I'm also skeptical (and think both SMALL_SIZE and LARGE_SIZE are over aligned on e.g., armv7), but I'm wary of making functional changes here.

Jan 9 2026, 10:42 AM
olce accepted D54376: cache: avoid hardcoded zone alignment.
Jan 9 2026, 9:19 AM

Jan 8 2026

olce accepted D54553: cache: avoid hardcoded cache padding.
Jan 8 2026, 3:12 PM
olce accepted D54376: cache: avoid hardcoded zone alignment.
Jan 8 2026, 3:12 PM
olce added a comment to D54553: cache: avoid hardcoded cache padding.

I fail to see any usefulness of CACHE_LARGE_PAD when it was introduced, which corresponds to aligning CACHE_ZONE_LARGE_SIZE to struct namecache_ts. So I'd just drop the corresponding roundup2(), with the benefit of not requiring a struct namecache_ts alignment for CACHE_ZONE_LARGE_SIZE (but then you have to change the corresponding static assertion).

Jan 8 2026, 3:05 PM
olce added inline comments to D54554: cache: avoid hardcoded CACHE_PATH_CUTOFF.
Jan 8 2026, 2:47 PM
olce added inline comments to D54376: cache: avoid hardcoded zone alignment.
Jan 8 2026, 2:15 PM