Page MenuHomeFreeBSD

linuxkpiGroup
ActivePublic

Details

Description

Linux kernel compatibility support

Recent Activity

Today

bz closed D59231: LinuxKPI: use LINUXKPI_DEBUG to determine on witness lock tracing.
Sat, Oct 10, 6:29 PM · linuxkpi
bz closed D58169: LinuxKPI: re-implement pm_runtime.h.
Sat, Oct 10, 6:29 PM · linuxkpi
bz closed D54060: LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging.
Sat, Oct 10, 6:29 PM · linuxkpi
bz closed D57524: lindebugfs: implement debugfs_create_devm_seqfile().
Sat, Oct 10, 6:29 PM · linuxkpi

Yesterday

ashafer updated the diff for D57782: linuxkpi: implement irqs_disabled.

Updated based on feedback

Fri, Oct 9, 9:15 PM · linuxkpi

Sat, Oct 3

wulf added inline comments to D57782: linuxkpi: implement irqs_disabled.
Sat, Oct 3, 12:17 PM · linuxkpi
wulf added inline comments to D57782: linuxkpi: implement irqs_disabled.
Sat, Oct 3, 12:01 PM · linuxkpi

Thu, Oct 1

emaste accepted D54060: LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging.
Thu, Oct 1, 6:11 PM · linuxkpi
bz added a comment to D59231: LinuxKPI: use LINUXKPI_DEBUG to determine on witness lock tracing.

I found out why this was not really working. I'll put a review up for fixing LINUXKPI_INCLUDES as soon as I put down linuxkpi.9 to document it.

Thu, Oct 1, 1:43 PM · linuxkpi

Wed, Sep 30

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
bz added a comment to D58169: LinuxKPI: re-implement pm_runtime.h.

Anyone on this fairly simple review?

Wed, Sep 30, 11:04 AM · linuxkpi
bz abandoned D57430: LinuxKPI: pci: cleanup the error path in linux_pci_attach_device().

Superseded by D59913

Wed, Sep 30, 11:03 AM · linuxkpi

Tue, Sep 29

jhb added a comment to D57782: linuxkpi: implement irqs_disabled.

The commit log needs revising as it mentions td_pinned, but the code looks correct to me.

Tue, Sep 29, 1:37 PM · linuxkpi

Mon, Sep 28

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

Sat, Sep 26

bz added a comment to D54060: LinuxKPI: introduce LINUXKPI_DEBUG to enable LinuxKPI debugging.

Ok, very last call. It's not been December in almost a year soon and May is also gone for a while. 48 hours.

Sat, Sep 26, 7:47 PM · linuxkpi

Mon, Sep 21

joao.manganelli.86_gmail.com abandoned D59660: Implementing vmemdup_user and vmemdup_array_user.

True, just see here, closing this revision

Mon, Sep 21, 12:44 PM · linuxkpi

Fri, Sep 18

bz added a comment to D59608: LinuxKPI: 802.11: Always lock around lkpi_{ic_vap_delete,mo_stop}().

@bz Could you please MFC this? :)

Fri, Sep 18, 4:19 PM · linuxkpi
temcbun_gmail.com added a comment to D59608: LinuxKPI: 802.11: Always lock around lkpi_{ic_vap_delete,mo_stop}().

@bz Could you please MFC this? :)

Fri, Sep 18, 2:18 PM · linuxkpi
bz updated subscribers of D58169: LinuxKPI: re-implement pm_runtime.h.

Ah found another one which seems ready for review @dumbbell @emaste

Fri, Sep 18, 12:11 AM · linuxkpi

Thu, Sep 17

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