Page MenuHomeFreeBSD

linuxkpiGroup
ActivePublic

Details

Description

Linux kernel compatibility support

Recent Activity

Today

bz added a comment to D57991: linuxkpi: Move LINUXKPI_PROT_VALID higher.

I still do not get how this is supposed to fully work but I assume the shortcut from before remains right. I'd say for me you can add:

Thu, Sep 17, 9:23 PM · linuxkpi
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

Tue, Sep 15

bz abandoned D58834: LinuxKPI: rework struct timer_list (*function[_415]).

Individual reviews and a new removal of the KPI in a separate review.

Tue, Sep 15, 1:35 AM · linuxkpi

Mon, Sep 14

bz added a comment to D58834: LinuxKPI: rework struct timer_list (*function[_415]).
In D58834#1357993, @jhb wrote:

I'm also working on merging changes to iw_cxgbe that should update it btw. For mthca we can find an upstream Linux commit to pull across. I think we should probably just move consumers to the newer KPI.

Mon, Sep 14, 10:33 PM · linuxkpi
bz updated the diff for D58834: LinuxKPI: rework struct timer_list (*function[_415]).

Try to track the correct branch; arc does not like me today. Take II.

Mon, Sep 14, 10:19 PM · linuxkpi
bz updated the diff for D58834: LinuxKPI: rework struct timer_list (*function[_415]).

Thanks to @kib for fixing mlx5 and ipoib:
fdcb52d03688 ofed/ipoib: convert to timer_setup linuxKPI
814cd919981e mlx5(4): convert to timer_setup() linuxKPI

Mon, Sep 14, 10:18 PM · linuxkpi
dumbbell closed D57700: linuxkpi: Add x86 CPU ID matching functions and macros.
Mon, Sep 14, 8:12 PM · linuxkpi
bz closed D58882: LinuxKPI: pci: add reset_{prepare,done} to pci_error_handlers.
Mon, Sep 14, 7:49 PM · linuxkpi
bz closed D58881: LinuxKPI: add PCI_IRQ_AFFINITY #define.
Mon, Sep 14, 7:49 PM · linuxkpi
bz added a reverting change for D55175: linuxkpi: Add device under parent, not under class: rGb0094b5b7320: Revert "linuxkpi: Add device under parent, not under class".
Mon, Sep 14, 7:49 PM · linuxkpi
bz closed D59608: LinuxKPI: 802.11: Always lock around lkpi_{ic_vap_delete,mo_stop}().
Mon, Sep 14, 7:49 PM · linuxkpi
bz closed D58883: LinuxKPI: add can_wakeup option and accessor functions.
Mon, Sep 14, 7:49 PM · linuxkpi
bz closed D58880: LinuxKPI: implement dma_{alloc,free}_{noncoherent,attrs}.
Mon, Sep 14, 7:48 PM · linuxkpi
bz closed D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Mon, Sep 14, 7:48 PM · linuxkpi
bz closed D58878: LinuxKPI: pci: add pci_select_bars() and pci_msix_vec_count().
Mon, Sep 14, 7:48 PM · linuxkpi
bz closed D58877: LinuxKPI: add typedef for clockid_t.
Mon, Sep 14, 7:48 PM · linuxkpi
bz closed D58874: LinuxKPI: add #include.
Mon, Sep 14, 7:48 PM · linuxkpi
bz closed D59292: LinuxKPI: rcu: add optional condition to list_for_each_entry_rcu().
Mon, Sep 14, 7:48 PM · linuxkpi
aehrenberg_nvidia.com added a comment to D55175: linuxkpi: Add device under parent, not under class.

Heads up: this change causes a regression in the InfiniBand/RoCE stack on main. Filed as PR <298485>: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298485.
Because FreeBSD's sysfs emulation is sysctl-backed and has no symlinks, parenting the kobject under dev->parent does not add a view alongside the class view the way the Linux symlink does - it replaces it.
ibcore sets dev.parent on both its devices (ib_sysfs.c:1340, ib_uverbs_main.c:1061), so sys.class.infiniband_verbs.uverbsN.ibdev and sys.class.infiniband.mlx5_N.* disappeared,
moving to sys.device.mlx5_coreN.*. libibverbs enumerates exclusively via the class view, so ibv_devices and ibv_devinfo now report no devices at all on a fully working adapter, with no error output.
Confirmed by reverting just this hunk and rebuilding.
Also note device_register() in the same header still class-parents unconditionally, so the two registration paths now behave differently for identical input.
Suggestions for a fix that preserves your DRM intent are in the PR.

Mon, Sep 14, 12:59 PM · linuxkpi
joao.manganelli.86_gmail.com requested review of D59660: Implementing vmemdup_user and vmemdup_array_user.
Mon, Sep 14, 9:57 AM · linuxkpi
joao.manganelli.86_gmail.com added a watcher for linuxkpi: joao.manganelli.86_gmail.com.
Mon, Sep 14, 8:04 AM

Sun, Sep 13

bz updated the diff for D57430: LinuxKPI: pci: cleanup the error path in linux_pci_attach_device().

Add missing lkpi_devres_release_free_list(&pdev->dev);

Sun, Sep 13, 10:31 PM · linuxkpi
bz added a comment to D59231: LinuxKPI: use LINUXKPI_DEBUG to determine on witness lock tracing.

Anyone care to look at the parent in the stack which adds option LINUXKPI_DEBUG to the build system, etc.?

Sun, Sep 13, 9:19 PM · linuxkpi
bz added inline comments to D58883: LinuxKPI: add can_wakeup option and accessor functions.
Sun, Sep 13, 9:17 PM · linuxkpi
bz added a comment to D59231: LinuxKPI: use LINUXKPI_DEBUG to determine on witness lock tracing.

Otherwise I'll make those variables and tunables allowing us to turn them on or off or something more selectively.

Sun, Sep 13, 4:58 PM · linuxkpi
bz added a comment to D59231: LinuxKPI: use LINUXKPI_DEBUG to determine on witness lock tracing.

I will hold back on this one for a bit until my WITNESS mystery posted on current (and hackers previously) is solved unless someone can assure me turning this on will not immediately kill drm-kmod (drivers).

Sun, Sep 13, 4:58 PM · linuxkpi
bz accepted D59608: LinuxKPI: 802.11: Always lock around lkpi_{ic_vap_delete,mo_stop}().

I'll commit this with my next batch.

Sun, Sep 13, 4:28 PM · linuxkpi

Sat, Sep 12

temcbun_gmail.com requested review of D59608: LinuxKPI: 802.11: Always lock around lkpi_{ic_vap_delete,mo_stop}().
Sat, Sep 12, 9:16 AM · linuxkpi

Fri, Sep 11

ashafer added a comment to D57991: linuxkpi: Move LINUXKPI_PROT_VALID higher.

This seems reasonable to me

Fri, Sep 11, 2:04 PM · linuxkpi
emaste closed D58076: LinuxKPI: Add compat_ptr_ioctl.
Fri, Sep 11, 9:51 AM · linuxkpi
dumbbell added inline comments to D58883: LinuxKPI: add can_wakeup option and accessor functions.
Fri, Sep 11, 9:17 AM · linuxkpi
emaste added inline comments to D58883: LinuxKPI: add can_wakeup option and accessor functions.
Fri, Sep 11, 9:15 AM · linuxkpi
emaste accepted D58874: LinuxKPI: add #include.
Fri, Sep 11, 9:06 AM · linuxkpi

Thu, Sep 10

kib accepted D57700: linuxkpi: Add x86 CPU ID matching functions and macros.
Thu, Sep 10, 11:44 PM · linuxkpi
dumbbell accepted D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Thu, Sep 10, 8:24 PM · linuxkpi
bz added inline comments to D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Thu, Sep 10, 7:59 PM · linuxkpi
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
bz added inline comments to D58879: LinuxKPI: fix argument type to lkpi_pci_msi_desc_alloc().
Thu, Sep 10, 7:47 PM · linuxkpi
bz accepted D58251: linuxkpi: Add `int_sqrt()`.
Thu, Sep 10, 7:31 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
bz added inline comments to D58251: linuxkpi: Add `int_sqrt()`.
Thu, Sep 10, 7:06 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