Page MenuHomeFreeBSD

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

Projects

User Details

User Since
May 27 2014, 10:08 AM (644 w, 2 d)

Recent Activity

Yesterday

dumbbell accepted D58169: LinuxKPI: re-implement pm_runtime.h.

I’m sorry for the delay to accept the patch. Again, I’m fairly sure I already reviewed it, but apparently don’t know how to click on buttons…

Wed, Sep 30, 12:06 PM · linuxkpi

Tue, Sep 29

dumbbell accepted D59952: linuxkpi: avoid false KMSAN report.
Tue, Sep 29, 4:18 PM

Mon, Sep 28

dumbbell accepted D60084: graphics/drm-latest-kmod: Update to drm_v6.12.85_3 to fix build.

Thank you for the patch! I missed it when I updated other ports because I thought this one was tracking the drm-kmod master branch.

Mon, Sep 28, 9:09 PM
dumbbell added a comment to D54060: LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging.

I’m sorry, I was sure I reviewed this patch with the other one in the stack…

Mon, Sep 28, 9:05 PM · linuxkpi
dumbbell accepted D54060: LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging.
Mon, Sep 28, 9:04 PM · linuxkpi

Thu, Sep 17

dumbbell accepted D59732: LinuxKPI: Add devm_memremap and devm_ioremap_wc functions.
Thu, Sep 17, 7:20 PM
dumbbell added a comment to D59660: Implementing vmemdup_user and vmemdup_array_user.

A concurrent patch was committed two days ago; see D57444.

Thu, Sep 17, 5:45 PM · linuxkpi
dumbbell requested changes to D59732: LinuxKPI: Add devm_memremap and devm_ioremap_wc functions.

The patch looks good to me. Just one comment about a return value of linuxkpi_devm_memremap.

Thu, Sep 17, 5:35 PM

Tue, Sep 15

dumbbell committed rG5407f767db14: linuxkpi: Compile `x86_match_cpu()` on amd64 and i386 only (authored by dumbbell).
linuxkpi: Compile `x86_match_cpu()` on amd64 and i386 only
Tue, Sep 15, 7:58 AM

Mon, Sep 14

dumbbell committed rG5fb3aea2d8c4: linuxkpi: Add x86 CPU ID matching functions and macros (authored by dumbbell).
linuxkpi: Add x86 CPU ID matching functions and macros
Mon, Sep 14, 8:12 PM
dumbbell closed D57700: linuxkpi: Add x86 CPU ID matching functions and macros.
Mon, Sep 14, 8:12 PM · linuxkpi
dumbbell added inline comments to D58845: LinuxKPI: Add cpufreq_quick_get_max to LinuxKPI for amdkfd support.
Mon, Sep 14, 7:54 PM · Linux Emulation

Fri, Sep 11

dumbbell added inline comments to D58883: LinuxKPI: add can_wakeup option and accessor functions.
Fri, Sep 11, 9:17 AM · linuxkpi

Thu, Sep 10

dumbbell accepted D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Thu, Sep 10, 8:24 PM · linuxkpi
dumbbell committed rGd4820dc1e6cb: linuxkpi: Add `int_sqrt()` (authored by dumbbell).
linuxkpi: Add `int_sqrt()`
Thu, Sep 10, 7:50 PM
dumbbell closed D58251: linuxkpi: Add `int_sqrt()`.
Thu, Sep 10, 7:50 PM · linuxkpi
dumbbell added inline comments to D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Thu, Sep 10, 7:49 PM · linuxkpi
dumbbell updated the diff for D58251: linuxkpi: Add `int_sqrt()`.

Address feedback from @bz.

Thu, Sep 10, 7:30 PM · linuxkpi
dumbbell accepted D57431: LinuxKPI: pci: cleanup lkpinew_pci_dev_release().
Thu, Sep 10, 7:22 PM · linuxkpi
dumbbell accepted D57433: LinuxKPI: pci: first round of file cleanup.
Thu, Sep 10, 7:16 PM · linuxkpi
dumbbell accepted D57524: lindebugfs: implement debugfs_create_devm_seqfile().

I don’t have a better suggestion to make w.r.t. to the best location for this code.

Thu, Sep 10, 7:11 PM · linuxkpi
dumbbell accepted D58874: LinuxKPI: add #include.

I guess Phabricator ate the commit title because it does not mean much now :-)

Thu, Sep 10, 7:02 PM · linuxkpi
dumbbell accepted D58877: LinuxKPI: add typedef for clockid_t.
Thu, Sep 10, 7:01 PM · linuxkpi
dumbbell accepted D58878: LinuxKPI: pci: add pci_select_bars() and pci_msix_vec_count().
Thu, Sep 10, 7:00 PM · linuxkpi
dumbbell added inline comments to D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Thu, Sep 10, 6:57 PM · linuxkpi
dumbbell accepted D58880: LinuxKPI: implement dma_{alloc,free}_{noncoherent,attrs}.
Thu, Sep 10, 6:53 PM · linuxkpi
dumbbell accepted D58883: LinuxKPI: add can_wakeup option and accessor functions.
Thu, Sep 10, 6:48 PM · linuxkpi
dumbbell accepted D58881: LinuxKPI: add PCI_IRQ_AFFINITY #define.
Thu, Sep 10, 6:45 PM · linuxkpi
dumbbell accepted D58882: LinuxKPI: pci: add reset_{prepare,done} to pci_error_handlers.
Thu, Sep 10, 6:44 PM · linuxkpi
dumbbell added inline comments to D58883: LinuxKPI: add can_wakeup option and accessor functions.
Thu, Sep 10, 6:43 PM · linuxkpi
dumbbell accepted D59231: LinuxKPI: use LINUXKPI_DEBUG to determine on witness lock tracing.
Thu, Sep 10, 6:39 PM · linuxkpi
dumbbell accepted D59292: LinuxKPI: rcu: add optional condition to list_for_each_entry_rcu().
Thu, Sep 10, 6:32 PM · linuxkpi
dumbbell added inline comments to D58251: linuxkpi: Add `int_sqrt()`.
Thu, Sep 10, 6:25 PM · linuxkpi
dumbbell updated the diff for D58251: linuxkpi: Add `int_sqrt()`.

Address concern from @bz

Thu, Sep 10, 6:24 PM · linuxkpi
dumbbell updated the diff for D57700: linuxkpi: Add x86 CPU ID matching functions and macros.

Address feedback from @kib

Thu, Sep 10, 6:23 PM · linuxkpi
dumbbell added inline comments to D57700: linuxkpi: Add x86 CPU ID matching functions and macros.
Thu, Sep 10, 6:23 PM · linuxkpi

Wed, Sep 9

dumbbell committed rGf2a2e02ae54b: linuxkpi: Define `DEFINE_CLASS()` and `CLASS()` (authored by dumbbell).
linuxkpi: Define `DEFINE_CLASS()` and `CLASS()`
Wed, Sep 9, 8:35 PM
dumbbell committed rGfc0a5ae09430: linuxkpi: Add device under parent, not under class (authored by dumbbell).
linuxkpi: Add device under parent, not under class
Wed, Sep 9, 8:35 PM
dumbbell committed rG33595d4ae01c: linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()` (authored by dumbbell).
linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()`
Wed, Sep 9, 8:35 PM
dumbbell closed D57583: linuxkpi: Define `DEFINE_CLASS()` and `CLASS()`.
Wed, Sep 9, 8:35 PM · linuxkpi
dumbbell closed D57573: linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()`.
Wed, Sep 9, 8:35 PM · linuxkpi
dumbbell closed D55175: linuxkpi: Add device under parent, not under class.
Wed, Sep 9, 8:35 PM · linuxkpi
dumbbell committed R11:7e420adaf6ef: graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers (authored by dumbbell).
graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers
Wed, Sep 9, 8:13 PM
dumbbell committed rG75b9d19c62a1: linuxkpi: Define `for_each_if()` (authored by dumbbell).
linuxkpi: Define `for_each_if()`
Wed, Sep 9, 8:02 PM
dumbbell committed rGb8b2be57af15: LinuxKPI: Added jiffies64_to_msecs for amdkfd compatibility (authored by dumbbell).
LinuxKPI: Added jiffies64_to_msecs for amdkfd compatibility
Wed, Sep 9, 8:02 PM
dumbbell closed D57465: LinuxKPI: Create `linux/util_macros.h`.
Wed, Sep 9, 8:01 PM · linuxkpi
dumbbell closed D58075: LinuxKPI: Added jiffies64_to_msecs for amdkfd compatibility..
Wed, Sep 9, 8:01 PM · linuxkpi
dumbbell added a comment to D57465: LinuxKPI: Create `linux/util_macros.h`.

Sure, I will do that! I will just move the comment closer to the macro if you don’t mind. Thank you for the patch :-)

Wed, Sep 9, 7:30 PM · linuxkpi
dumbbell abandoned D58254: linuxkpi: Define `for_each_if()`.

Abandoning this revision. D57465 is the same patch.

Wed, Sep 9, 6:47 PM · linuxkpi
dumbbell added a comment to D57465: LinuxKPI: Create `linux/util_macros.h`.

I have one small comment left.

Wed, Sep 9, 6:44 PM · linuxkpi

Mon, Sep 7

dumbbell committed rG9273fe8ed2ad: linuxkpi: Add `hrtimer_setup()` (authored by dumbbell).
linuxkpi: Add `hrtimer_setup()`
Mon, Sep 7, 8:33 PM
dumbbell committed rG5fad251f0563: linuxkpi: Add `timer64_to_tm()` (authored by dumbbell).
linuxkpi: Add `timer64_to_tm()`
Mon, Sep 7, 8:33 PM
dumbbell closed D58757: linuxkpi: Add `hrtimer_setup()`.
Mon, Sep 7, 8:33 PM · linuxkpi
dumbbell closed D58758: linuxkpi: Add `timer64_to_tm()`.
Mon, Sep 7, 8:33 PM · linuxkpi
dumbbell updated the diff for D58757: linuxkpi: Add `hrtimer_setup()`.

Add __unused after unused arguent in linuxkpi_hrtimer_dummy_timeout() as suggested by @bz.

Mon, Sep 7, 8:29 PM · linuxkpi
dumbbell committed rG8ffe2419e4e7: linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()` (authored by dumbbell).
linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`
Mon, Sep 7, 7:42 PM
dumbbell closed D58194: linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`.
Mon, Sep 7, 7:42 PM · linuxkpi
dumbbell added a comment to D57573: linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()`.

In drm-kmod, pci_map_rom() was defined as a macro inside C files, after all #include, so such a check won’t prevent a build failure in this specific case. I guess there are no other consumers of this API. Do you think it’s still useful to add it?

Mon, Sep 7, 7:38 PM · linuxkpi
dumbbell added inline comments to D58758: linuxkpi: Add `timer64_to_tm()`.
Mon, Sep 7, 7:34 PM · linuxkpi
dumbbell updated the diff for D58758: linuxkpi: Add `timer64_to_tm()`.

Fix new file license as suggested by @bz.

Mon, Sep 7, 7:33 PM · linuxkpi
dumbbell updated the diff for D58757: linuxkpi: Add `hrtimer_setup()`.

Fix build failure

Mon, Sep 7, 7:32 PM · linuxkpi
dumbbell updated the diff for D58757: linuxkpi: Add `hrtimer_setup()`.

Address feedback from @bz.

Mon, Sep 7, 7:30 PM · linuxkpi
dumbbell updated the diff for D58251: linuxkpi: Add `int_sqrt()`.

Based on the feedback from @bz:

  • Fix return type, it should have been unsigned long.
  • Improve comment to explain the source of the code.
Mon, Sep 7, 7:24 PM · linuxkpi
dumbbell updated the diff for D57573: linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()`.

Remove the #if LINUXKPI_VERSION ... check as suggested by @bz.

Mon, Sep 7, 7:21 PM · linuxkpi
dumbbell committed rG153446ecd740: linuxkpi: Add `split_page()` (authored by dumbbell).
linuxkpi: Add `split_page()`
Mon, Sep 7, 6:38 PM
dumbbell committed rGbe6e357a3e51: linuxkpi: Update `struct vm_area_struct` when an existing mapping is extended (authored by dumbbell).
linuxkpi: Update `struct vm_area_struct` when an existing mapping is extended
Mon, Sep 7, 6:38 PM
dumbbell committed rGfbc89a8cd81b: linuxkpi: Add `kthread_run_worker()` (authored by dumbbell).
linuxkpi: Add `kthread_run_worker()`
Mon, Sep 7, 6:37 PM
dumbbell committed rG33ba6077b0f1: linuxkpi: Alias `sd` field of `struct kobject` (authored by dumbbell).
linuxkpi: Alias `sd` field of `struct kobject`
Mon, Sep 7, 6:37 PM
dumbbell closed D58195: linuxkpi: Update `struct vm_area_struct` when an existing mapping is extended.
Mon, Sep 7, 6:37 PM · linuxkpi
dumbbell closed D58762: linuxkpi: Add `split_page()`.
Mon, Sep 7, 6:37 PM · linuxkpi
dumbbell closed D57701: linuxkpi: Add `kthread_run_worker()`.
Mon, Sep 7, 6:37 PM · linuxkpi
dumbbell closed D57586: linuxkpi: Alias `sd` field of `struct kobject`.
Mon, Sep 7, 6:37 PM · linuxkpi
dumbbell added inline comments to D58194: linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`.
Mon, Sep 7, 5:29 PM · linuxkpi
dumbbell added inline comments to D57586: linuxkpi: Alias `sd` field of `struct kobject`.
Mon, Sep 7, 5:26 PM · linuxkpi
dumbbell added a comment to D57573: linuxkpi: Add `pci_map_rom()` and `pci_unmap_rom()`.

Indeed, perhaps we don’t neet it.

Mon, Sep 7, 5:23 PM · linuxkpi
dumbbell added a comment to D55175: linuxkpi: Add device under parent, not under class.

I’m not sure anything uses it from the Ports tree as all applications and librairies will certainly be designed around sysfs.

Mon, Sep 7, 5:17 PM · linuxkpi

Wed, Sep 2

dumbbell added a comment to D58765: linuxkpi: Re-implement <linux/hashtable.h> based on `struct hlist_head`.

Seems like the right thing to do. Does linux hlist have any concurrency support?

Wed, Sep 2, 9:05 PM · linuxkpi
dumbbell updated the diff for D58762: linuxkpi: Add `split_page()`.

Add a TODO.

Wed, Sep 2, 9:04 PM · linuxkpi
dumbbell updated the diff for D57701: linuxkpi: Add `kthread_run_worker()`.

Add comment to explain kthread_run_worker(), as suggested by @emaste.

Wed, Sep 2, 9:03 PM · linuxkpi
dumbbell updated the diff for D57700: linuxkpi: Add x86 CPU ID matching functions and macros.

Fix issue reported by @emaste

Wed, Sep 2, 9:02 PM · linuxkpi

Aug 16 2026

dumbbell added a comment to D58753: linux: add dma-buf and sync_file ioctl handlers.

I didn't work on the implementation of dma-buf for FreeBSD. We have this BSD-licensed implementation in drm-kmod right now and we can surely move that to base. I find it receives changes infrequently in Linux, so hopefully, that shouldn't be something that slows down or interferes with making a given version of drm-kmod compatible with multiple versions of FreeBSD.

Aug 16 2026, 6:12 PM · Linux Emulation, x11
dumbbell accepted D58753: linux: add dma-buf and sync_file ioctl handlers.
Aug 16 2026, 12:10 PM · Linux Emulation, x11
dumbbell closed D58252: linuxkpi: Fix return type of `kobject_uevent_env()`.
Aug 16 2026, 10:33 AM
dumbbell accepted D58252: linuxkpi: Fix return type of `kobject_uevent_env()`.
Aug 16 2026, 10:33 AM
dumbbell closed D58250: linuxkpi: Define `PCI_CLASS_BRIDGE_HOST`.
Aug 16 2026, 10:33 AM
dumbbell accepted D58250: linuxkpi: Define `PCI_CLASS_BRIDGE_HOST`.
Aug 16 2026, 10:32 AM

Aug 15 2026

dumbbell committed rGf4cfc8a7f727: linuxkpi: Include <linux/page-flags.h> from <linux/mm.h> (authored by dumbbell).
linuxkpi: Include <linux/page-flags.h> from <linux/mm.h>
Aug 15 2026, 6:30 PM
dumbbell committed rGd93aa77e0e9e: linuxkpi: Create empty <linux/sprintf.h> (authored by dumbbell).
linuxkpi: Create empty <linux/sprintf.h>
Aug 15 2026, 6:29 PM
dumbbell committed rGaf9c64fd6c54: linuxkpi: Fix return type of `kobject_uevent_env()` (authored by dumbbell).
linuxkpi: Fix return type of `kobject_uevent_env()`
Aug 15 2026, 6:29 PM
dumbbell committed rG4565eeaccddf: linuxkpi: Define `PCI_CLASS_BRIDGE_HOST` (authored by dumbbell).
linuxkpi: Define `PCI_CLASS_BRIDGE_HOST`
Aug 15 2026, 6:29 PM
dumbbell committed rGd77271ce7a65: linuxkpi: Add `kunit_fail_current_test()` (authored by dumbbell).
linuxkpi: Add `kunit_fail_current_test()`
Aug 15 2026, 6:29 PM
dumbbell committed rG0fbdaf0c9aac: linuxkpi: Define `__GFP_HIGH` in <linux/gfp.h> (authored by dumbbell).
linuxkpi: Define `__GFP_HIGH` in <linux/gfp.h>
Aug 15 2026, 6:29 PM
dumbbell closed D58761: linuxkpi: Include <linux/page-flags.h> from <linux/mm.h>.
Aug 15 2026, 6:29 PM
dumbbell closed D58253: linuxkpi: Create empty <linux/sprintf.h>.
Aug 15 2026, 6:29 PM
dumbbell closed D58249: linuxkpi: Add `kunit_fail_current_test()`.
Aug 15 2026, 6:29 PM
dumbbell closed D58760: linuxkpi: Define `__GFP_HIGH` in <linux/gfp.h>.
Aug 15 2026, 6:29 PM
dumbbell committed rG45e00486d695: linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h> (authored by dumbbell).
linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h>
Aug 15 2026, 6:29 PM
dumbbell closed D57570: linuxkpi: Include <linux/notifier.h> and <linux/device.h> from <linux/pm_qos.h>.
Aug 15 2026, 6:29 PM
dumbbell updated the summary of D57701: linuxkpi: Add `kthread_run_worker()`.
Aug 15 2026, 5:53 PM · linuxkpi

Aug 10 2026

dumbbell requested review of D58765: linuxkpi: Re-implement <linux/hashtable.h> based on `struct hlist_head`.
Aug 10 2026, 5:33 PM · linuxkpi