Page MenuHomeFreeBSD

dumbbell (Jean-Sébastien Pédron)
User

Projects

User Details

User Since
May 27 2014, 10:08 AM (593 w, 5 d)

Recent Activity

Mon, Sep 22

dumbbell committed R11:f5fd9911d58f: net/{bosh-*,cf,concourse-fly}: Deprecate these ports (authored by dumbbell).
net/{bosh-*,cf,concourse-fly}: Deprecate these ports
Mon, Sep 22, 9:17 PM

Thu, Sep 18

dumbbell committed R11:9bd6f0145125: graphic/drm-next-kmod: New port tracking latest non-LTS version of DRM drivers (authored by dumbbell).
graphic/drm-next-kmod: New port tracking latest non-LTS version of DRM drivers
Thu, Sep 18, 4:19 PM

Mon, Sep 15

dumbbell committed R11:ac934345a14f: nvidia-drm-{61,66}-kmod-devel: Update distinfo after drm-{61,66}-kmod updates (authored by dumbbell).
nvidia-drm-{61,66}-kmod-devel: Update distinfo after drm-{61,66}-kmod updates
Mon, Sep 15, 10:48 PM
dumbbell committed R11:803213ed04ad: nvidia-drm-{61,66}-kmod: Update distinfo after drm-{61,66}-kmod updates (authored by dumbbell).
nvidia-drm-{61,66}-kmod: Update distinfo after drm-{61,66}-kmod updates
Mon, Sep 15, 9:59 PM
dumbbell committed R11:09f1e5c29432: graphics/drm-61-kmod: Update to drm_v6.1.128_5 (authored by dumbbell).
graphics/drm-61-kmod: Update to drm_v6.1.128_5
Mon, Sep 15, 8:13 PM
dumbbell committed R11:316774b85e4f: graphics/drm-66-kmod: Update to drm_v6.6.25_6 (authored by dumbbell).
graphics/drm-66-kmod: Update to drm_v6.6.25_6
Mon, Sep 15, 8:13 PM

Sep 4 2025

dumbbell accepted D52077: LinuxKPI: add __struct_size.
Sep 4 2025, 4:15 PM
dumbbell accepted D52068: LinuxKPI: pci: implement [linuxkpi_]pcim_request_all_regions().

I spotted another typo (see the attached comment). I approve it at the same time to not waste time in back and forth comments.

Sep 4 2025, 4:15 PM
dumbbell accepted D52067: LinuxKPI: pci: implement pcim_iomap().
Sep 4 2025, 4:13 PM

Sep 3 2025

dumbbell accepted D52082: LinuxKPI: devres: divorce dem_kfree from lkpi_devm_kmalloc_release.
Sep 3 2025, 8:57 PM
dumbbell accepted D52080: LinuxKPI: maths64: implement roundup_u64().
Sep 3 2025, 8:54 PM
dumbbell accepted D52079: LinuxKPI: kunit: add static_stub.h and more dummy headers.
Sep 3 2025, 8:52 PM
dumbbell accepted D52078: LinuxKPI: sync overflow.h from Linux v6.16.
Sep 3 2025, 8:52 PM
dumbbell added inline comments to D52077: LinuxKPI: add __struct_size.
Sep 3 2025, 8:51 PM
dumbbell accepted D52076: LinuxKPI: add DEFINE_LOCK_GUARD_0 for rcu.
Sep 3 2025, 8:49 PM
dumbbell accepted D52075: LinuxKPI: cleanup: implement __free() and DEFINE_FREE(); use for kfree().
Sep 3 2025, 8:46 PM
dumbbell accepted D52074: LinuxKPI: timer KPI *_timer -> timer_*.
Sep 3 2025, 8:44 PM
dumbbell accepted D52073: LinuxKPI: rename from_timer() to timer_container_of().
Sep 3 2025, 8:43 PM
dumbbell accepted D52072: LinuxKPI: acpi; fix type to acpi_get_handle().
Sep 3 2025, 8:43 PM
dumbbell accepted D52071: LinuxKPI: correct the LINUXKPI_VERSION check for abs_diff().
Sep 3 2025, 8:43 PM
dumbbell accepted D52070: LinuxKPI: pci: allow children to be attached to a pci_dev.
Sep 3 2025, 8:37 PM
dumbbell accepted D52069: LinuxKPI: pci: allocate entire pci_dev hiereachy up to root port on attach.
Sep 3 2025, 8:36 PM
dumbbell requested changes to D52068: LinuxKPI: pci: implement [linuxkpi_]pcim_request_all_regions().
Sep 3 2025, 8:31 PM
dumbbell added inline comments to D52067: LinuxKPI: pci: implement pcim_iomap().
Sep 3 2025, 8:20 PM
dumbbell accepted D52066: LinuxKPI: pci: implement for_each_pci_dev() and improve pci_get_device().
Sep 3 2025, 8:03 PM
dumbbell accepted D52065: LinuxKPI: pci: implementation of [lkpi_]pci_get_slot().
Sep 3 2025, 8:00 PM

Aug 9 2025

dumbbell committed rGf0e445912658: linuxkpi: Update posittion after copy in `seq_read()` (authored by dumbbell).
linuxkpi: Update posittion after copy in `seq_read()`
Aug 9 2025, 12:37 PM
dumbbell committed rG7cbc4d875971: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()` (authored by dumbbell).
linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`
Aug 9 2025, 12:37 PM
dumbbell committed rG3c9acc35b1d9: linuxkpi: Add the `topology_*()` functions (authored by dumbbell).
linuxkpi: Add the `topology_*()` functions
Aug 9 2025, 12:37 PM
dumbbell committed rGd17bfb237065: linuxkpi: Include <linux/spinlock.h> from <linux/refcount.h> (authored by dumbbell).
linuxkpi: Include <linux/spinlock.h> from <linux/refcount.h>
Aug 9 2025, 12:36 PM
dumbbell committed rGcdfdafdc3424: linuxkpi: Define `DEFINE_SHOW_STORE_ATTRIBUTE()` (authored by dumbbell).
linuxkpi: Define `DEFINE_SHOW_STORE_ATTRIBUTE()`
Aug 9 2025, 12:36 PM
dumbbell committed rG621f43ffe2eb: linuxkpi: Declare several log message prefixes (authored by dumbbell).
linuxkpi: Declare several log message prefixes
Aug 9 2025, 12:36 PM
dumbbell closed D51560: linuxkpi: Update posittion after copy in `seq_read()`.
Aug 9 2025, 12:36 PM
dumbbell closed D50995: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`.
Aug 9 2025, 12:36 PM
dumbbell closed D50994: linuxkpi: Include <linux/spinlock.h> from <linux/refcount.h>.
Aug 9 2025, 12:36 PM
dumbbell closed D50993: linuxkpi: Add the `topology_*()` functions from <asm/topology.h>.
Aug 9 2025, 12:36 PM
dumbbell committed rGa7a05ace5d02: linuxkpi: Add `name` field to `struct resource` (authored by dumbbell).
linuxkpi: Add `name` field to `struct resource`
Aug 9 2025, 12:36 PM
dumbbell committed rGc903f3756a28: linuxkpi: Add `ida_alloc_range()` (authored by dumbbell).
linuxkpi: Add `ida_alloc_range()`
Aug 9 2025, 12:36 PM
dumbbell closed D50992: linuxkpi: Define `DEFINE_SHOW_STORE_ATTRIBUTE()`.
Aug 9 2025, 12:36 PM
dumbbell committed rG7e5d7b0e8198: linuxkpi: Add `sysfs_add_file_to_group()` and `sysfs_remove_file_from_group()` (authored by dumbbell).
linuxkpi: Add `sysfs_add_file_to_group()` and `sysfs_remove_file_from_group()`
Aug 9 2025, 12:36 PM
dumbbell closed D50990: linuxkpi: Declare several log message prefixes.
Aug 9 2025, 12:36 PM
dumbbell closed D50989: linuxkpi: Add `name` field to `struct resource`.
Aug 9 2025, 12:36 PM
dumbbell closed D50988: linuxkpi: Add `ida_alloc_range()`.
Aug 9 2025, 12:36 PM
dumbbell closed D50987: linuxkpi: Add `sysfs_add_file_to_group()` and `sysfs_remove_file_from_group()`.
Aug 9 2025, 12:36 PM
dumbbell added a comment to D50995: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`.

As I understand, HWEIGHT* are always supposed to be run on compile-time constants, so they could just be defined to this const_bitcount macro.

I can create a patch for this if this seems like a good solution to you all.

Aug 9 2025, 12:25 PM
dumbbell added inline comments to D51559: linuxkpi: Add hex_dump_to_buffer().
Aug 9 2025, 12:18 PM
dumbbell requested review of D51844: linuxkpi: Add option to skip trailing newline in `lkpi_hex_dump()`.
Aug 9 2025, 12:12 PM
dumbbell updated the summary of D51558: linuxkpi: Avoid trailing whitespaces in lkpi_hex_dump().
Aug 9 2025, 12:11 PM
dumbbell updated the diff for D51558: linuxkpi: Avoid trailing whitespaces in lkpi_hex_dump().

Handle negative return value from callback.

Aug 9 2025, 12:10 PM

Aug 7 2025

dumbbell committed rGc0fc0facf877: linuxkpi: Call `lkpi_fpu_safe_exec()` in the implementation of kvmalloc() (authored by dumbbell).
linuxkpi: Call `lkpi_fpu_safe_exec()` in the implementation of kvmalloc()
Aug 7 2025, 6:47 PM
dumbbell closed D51557: linuxkpi: Call `lkpi_fpu_safe_exec()` in the implementation of kvmalloc().
Aug 7 2025, 6:47 PM
dumbbell updated the diff for D50995: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`.

Rebase on top of main branch.

Aug 7 2025, 6:40 PM

Jul 26 2025

dumbbell requested review of D51560: linuxkpi: Update posittion after copy in `seq_read()`.
Jul 26 2025, 3:54 PM
dumbbell requested review of D51559: linuxkpi: Add hex_dump_to_buffer().
Jul 26 2025, 3:53 PM
dumbbell requested review of D51558: linuxkpi: Avoid trailing whitespaces in lkpi_hex_dump().
Jul 26 2025, 3:51 PM
dumbbell requested review of D51557: linuxkpi: Call `lkpi_fpu_safe_exec()` in the implementation of kvmalloc().
Jul 26 2025, 12:39 PM

Jun 29 2025

dumbbell added a comment to D50848: eventfd: Rename `struct eventfd` to `struct eventfd_ctx`.

Hmm, OK. The struct is different and we might end up with a slightly puzzling build failure if things end up cross-threaded, but I suppose it's not really different than the status quo.

Jun 29 2025, 6:25 PM
dumbbell added a comment to D50995: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`.

Thank you @emaste for the bugfix. I was not sure myself if the + 1 was intended.

Jun 29 2025, 6:15 PM
dumbbell accepted D51048: LinuxKPI: MODULE_DEVICE_TABLE() remove hard coded pci.
Jun 29 2025, 6:07 PM
dumbbell accepted D51049: LinuxKPI: MODULE_DEVICE_TABLE() factor out the bus specific MODULE_PNP_INFO().
Jun 29 2025, 6:06 PM
dumbbell accepted D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).
Jun 29 2025, 6:02 PM

Jun 23 2025

dumbbell committed rG1609b4d45610: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9 (authored by dumbbell).
linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9
Jun 23 2025, 10:34 PM
dumbbell committed rGcf16d65c2e3a: linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()` (authored by dumbbell).
linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`
Jun 23 2025, 10:33 PM
dumbbell closed D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9.
Jun 23 2025, 10:33 PM
dumbbell closed D50986: linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`.
Jun 23 2025, 10:33 PM
dumbbell updated the diff for D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9.

Address comment from @bz: default the #if/#else logic to the latest version. A user has to define LINUXKPI_VERSION to request the older variant.

Jun 23 2025, 10:07 PM
dumbbell updated the diff for D50986: linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`.

Address comment from @bz: move the definition of div64_ul() just after div64_u64().

Jun 23 2025, 10:05 PM
dumbbell updated the diff for D50853: linuxkpi: Add eventfd_*().

Address comments from @wulf and @bz: don’t introduce a <uapi/linux/eventfd.h> header.

Jun 23 2025, 10:04 PM
dumbbell retitled D50990: linuxkpi: Declare several log message prefixes from linuxkpi: Declare several log message to linuxkpi: Declare several log message prefixes.
Jun 23 2025, 9:59 PM
dumbbell committed rG81e6c0168d46: lindebugfs.c: Fix possible NULL dereference (authored by dumbbell).
lindebugfs.c: Fix possible NULL dereference
Jun 23 2025, 9:55 PM
dumbbell closed D50985: lindebugfs.c: Fix possible NULL dereference.
Jun 23 2025, 9:54 PM
dumbbell added inline comments to D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9.
Jun 23 2025, 9:50 PM
dumbbell added inline comments to D50986: linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`.
Jun 23 2025, 9:48 PM
dumbbell requested review of D50995: linuxkpi: Use `__builtin_popcountg()` instead of `bitcount*()`.
Jun 23 2025, 9:37 PM
dumbbell requested review of D50994: linuxkpi: Include <linux/spinlock.h> from <linux/refcount.h>.
Jun 23 2025, 9:36 PM
dumbbell requested review of D50993: linuxkpi: Add the `topology_*()` functions from <asm/topology.h>.
Jun 23 2025, 9:35 PM
dumbbell requested review of D50992: linuxkpi: Define `DEFINE_SHOW_STORE_ATTRIBUTE()`.
Jun 23 2025, 9:35 PM
dumbbell requested review of D50991: linuxkpi: Add `pm_runtime_get_if_active()` variant from Linux 6.9.
Jun 23 2025, 9:34 PM
dumbbell requested review of D50990: linuxkpi: Declare several log message prefixes.
Jun 23 2025, 9:33 PM
dumbbell requested review of D50989: linuxkpi: Add `name` field to `struct resource`.
Jun 23 2025, 9:33 PM
dumbbell requested review of D50988: linuxkpi: Add `ida_alloc_range()`.
Jun 23 2025, 9:32 PM
dumbbell requested review of D50987: linuxkpi: Add `sysfs_add_file_to_group()` and `sysfs_remove_file_from_group()`.
Jun 23 2025, 9:31 PM
dumbbell requested review of D50986: linuxkpi: Define `div64_ul()` as a synonym to `div64_u64()`.
Jun 23 2025, 9:31 PM
dumbbell requested review of D50985: lindebugfs.c: Fix possible NULL dereference.
Jun 23 2025, 9:30 PM

Jun 15 2025

dumbbell added a comment to D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).
In D50863#1161012, @bz wrote:

General convention in at least drm-kmod is to not redefine ACPICA objects if it is possible. Porting of this code is mostly just a changing of symbol case and adding/removing of underscores. drm-kmod does not even guards these changes with #ifdefs

I picked a random file ( in v6.6 drivers/gpu/drm/radeon/radeon_acpi.c ) and it seems everything there got CamelCased without any #ifdefs. It's just an unnecessary diff to vendor and maintenance.

No idea how much of this was done in drm-kmod but I am not going to rewrite case in entire files because of this. I had not compiled files or #ifdef'ed out the entire logic. Not gong to fly anymore. Remove the #ifdefs from drm-kmod and reduce the diff to upstream and make maintenance easier by having one place to edit and not 117. That's what LinuxKPI is for.

Jun 15 2025, 5:39 PM
dumbbell accepted D50864: LinuxKPI: acpi: add acpi_evaluate_dsm().
Jun 15 2025, 5:03 PM
dumbbell accepted D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).

Looks good to me!

Jun 15 2025, 5:01 PM
dumbbell added a comment to D50853: linuxkpi: Add eventfd_*().

@dumbbell FYI. Take a look at https://github.com/lutzbichler/drm-kmod/tree/pr/6.15. It seems that lutzbichler has advanced to drm-kmod v6.15

Jun 15 2025, 4:53 PM
dumbbell added inline comments to D50853: linuxkpi: Add eventfd_*().
Jun 15 2025, 4:51 PM
dumbbell added inline comments to D50853: linuxkpi: Add eventfd_*().
Jun 15 2025, 1:19 PM

Jun 14 2025

dumbbell updated the summary of D50853: linuxkpi: Add eventfd_*().
Jun 14 2025, 5:51 PM
dumbbell updated the summary of D50850: eventfd: Add eventfd_signal().
Jun 14 2025, 5:50 PM
dumbbell updated the summary of D50851: linuxkpi: Add dummy <linux/percpu{,-defs}.h>.
Jun 14 2025, 5:50 PM
dumbbell updated the summary of D50849: eventfd: Add refcounting.
Jun 14 2025, 5:50 PM
dumbbell updated the summary of D50848: eventfd: Rename `struct eventfd` to `struct eventfd_ctx`.
Jun 14 2025, 5:50 PM
dumbbell updated the summary of D50848: eventfd: Rename `struct eventfd` to `struct eventfd_ctx`.
Jun 14 2025, 5:50 PM
dumbbell added a comment to D50853: linuxkpi: Add eventfd_*().

I will have to bump __FreeBSD_version to be able to use this API in DRM drivers.

Jun 14 2025, 5:42 PM
dumbbell updated the summary of D50851: linuxkpi: Add dummy <linux/percpu{,-defs}.h>.
Jun 14 2025, 5:26 PM
dumbbell requested review of D50853: linuxkpi: Add eventfd_*().
Jun 14 2025, 5:25 PM
dumbbell requested review of D50851: linuxkpi: Add dummy <linux/percpu{,-defs}.h>.
Jun 14 2025, 5:24 PM