Page MenuHomeFreeBSD

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

Projects (3)

User Details

User Since
May 27 2014, 10:08 AM (650 w, 1 d)

Recent Activity

Thu, Nov 5

dumbbell added a comment to D61209: linuxkpi: Add `int_log10()`.

Revision (and commit ?) title is wrong :)

Thu, Nov 5, 3:04 PM · linuxkpi
dumbbell retitled D61209: linuxkpi: Add `int_log10()` from Sponsored by: The FreeBSD Foundation
Thu, Nov 5, 3:04 PM · linuxkpi

Wed, Nov 4

dumbbell requested review of D61210: linuxkpi: Add `str_true_false()` and `str_false_true()`.
Wed, Nov 4, 9:34 PM · linuxkpi
dumbbell requested review of D61209: linuxkpi: Add `int_log10()`.
Wed, Nov 4, 9:34 PM · linuxkpi
dumbbell requested review of D61208: linuxkpi: Add `int_pow()`.
Wed, Nov 4, 9:33 PM · linuxkpi
dumbbell requested review of D61207: linuxkpi: Add `gpiod_add_lookup_table()` stub and related macros/constants.
Wed, Nov 4, 9:33 PM · linuxkpi
dumbbell requested review of D61206: linuxkpi: Add `sysfs_update_group()`.
Wed, Nov 4, 9:32 PM · linuxkpi
dumbbell requested review of D61205: linuxkpi: Add `DIV_U64_ROUND_CLOSEST()` and `DIV64_U64_ROUND_CLOSEST()`.
Wed, Nov 4, 9:31 PM · linuxkpi
dumbbell requested review of D61204: linuxkpi: Add `ratelimit_state_reset_interval()`.
Wed, Nov 4, 9:30 PM · linuxkpi
dumbbell requested review of D61203: linuxkpi: Define `pr_debug_once()`.
Wed, Nov 4, 9:30 PM · linuxkpi
dumbbell requested review of D61202: linuxkpi: Define `OPTIMIZER_HIDE_VAR()`.
Wed, Nov 4, 9:29 PM · linuxkpi
dumbbell requested review of D61201: linuxkpi: Define `GENMASK_U*()` and `BIT_U*()`.
Wed, Nov 4, 9:28 PM · linuxkpi
dumbbell requested review of D61200: linuxkpi: Define all constants in <linux/media-bus-format.h>.
Wed, Nov 4, 9:28 PM · linuxkpi
dumbbell accepted D61045: ioctl: Add a macro for extracting the ioctl number from a command.
Wed, Nov 4, 9:13 PM
dumbbell accepted D61125: LinuxKPI: set pci_dev msi_cap and msix_cap.

I tested the patch with my amdgpu GPU and it works fine.

Wed, Nov 4, 9:02 PM · linuxkpi

Sep 30 2026

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…

Sep 30 2026, 12:06 PM · linuxkpi

Sep 29 2026

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

Sep 28 2026

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.

Sep 28 2026, 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…

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

Sep 17 2026

dumbbell accepted D59732: LinuxKPI: Add devm_memremap and devm_ioremap_wc functions.
Sep 17 2026, 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.

Sep 17 2026, 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.

Sep 17 2026, 5:35 PM

Sep 15 2026

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

Sep 14 2026

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

Sep 11 2026

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

Sep 10 2026

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

Address feedback from @bz.

Sep 10 2026, 7:30 PM · linuxkpi
dumbbell accepted D57431: LinuxKPI: pci: cleanup lkpinew_pci_dev_release().
Sep 10 2026, 7:22 PM · linuxkpi
dumbbell accepted D57433: LinuxKPI: pci: first round of file cleanup.
Sep 10 2026, 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.

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

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

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

Address concern from @bz

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

Address feedback from @kib

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

Sep 9 2026

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

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

Abandoning this revision. D57465 is the same patch.

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

I have one small comment left.

Sep 9 2026, 6:44 PM · linuxkpi

Sep 7 2026

dumbbell committed rG9273fe8ed2ad: linuxkpi: Add `hrtimer_setup()`.
Sep 7 2026, 8:33 PM
dumbbell committed rG5fad251f0563: linuxkpi: Add `timer64_to_tm()`.
Sep 7 2026, 8:33 PM
dumbbell closed D58757: linuxkpi: Add `hrtimer_setup()`.
Sep 7 2026, 8:33 PM · linuxkpi
dumbbell closed D58758: linuxkpi: Add `timer64_to_tm()`.
Sep 7 2026, 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.

Sep 7 2026, 8:29 PM · linuxkpi
dumbbell committed rG8ffe2419e4e7: linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`.
Sep 7 2026, 7:42 PM
dumbbell closed D58194: linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`.
Sep 7 2026, 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?

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

Fix new file license as suggested by @bz.

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

Fix build failure

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

Address feedback from @bz.

Sep 7 2026, 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.
Sep 7 2026, 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.

Sep 7 2026, 7:21 PM · linuxkpi
dumbbell committed rG153446ecd740: linuxkpi: Add `split_page()`.
Sep 7 2026, 6:38 PM
dumbbell committed rGbe6e357a3e51: linuxkpi: Update `struct vm_area_struct` when an existing mapping is extended.
Sep 7 2026, 6:38 PM
dumbbell committed rGfbc89a8cd81b: linuxkpi: Add `kthread_run_worker()`.
Sep 7 2026, 6:37 PM
dumbbell committed rG33ba6077b0f1: linuxkpi: Alias `sd` field of `struct kobject`.
Sep 7 2026, 6:37 PM
dumbbell closed D58195: linuxkpi: Update `struct vm_area_struct` when an existing mapping is extended.
Sep 7 2026, 6:37 PM · linuxkpi
dumbbell closed D58762: linuxkpi: Add `split_page()`.
Sep 7 2026, 6:37 PM · linuxkpi
dumbbell closed D57701: linuxkpi: Add `kthread_run_worker()`.
Sep 7 2026, 6:37 PM · linuxkpi
dumbbell closed D57586: linuxkpi: Alias `sd` field of `struct kobject`.
Sep 7 2026, 6:37 PM · linuxkpi
dumbbell added inline comments to D58194: linuxkpi: Fix assertion in `lkpi_vmf_insert_pfn_prot_locked()`.
Sep 7 2026, 5:29 PM · linuxkpi
dumbbell added inline comments to D57586: linuxkpi: Alias `sd` field of `struct kobject`.
Sep 7 2026, 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.

Sep 7 2026, 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.

Sep 7 2026, 5:17 PM · linuxkpi

Sep 2 2026

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?

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

Add a TODO.

Sep 2 2026, 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.

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

Fix issue reported by @emaste

Sep 2 2026, 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