Page MenuHomeFreeBSD
Feed Advanced Search

Apr 24 2022

wulf added a comment to D35021: linuxkpi: Mitigate a seqlock livelock.
In D35021#793662, @wulf wrote:

I have seen frozen screen several times with procstat -kk reporting about a thread spinning in rps_timer(). Will test the patch. Thanks!

Cool, very likely the same problem. I'll wait for you to test before committing.

Apr 24 2022, 11:53 PM
wulf requested review of D35052: LinuxKPI: Switch irq_work implementation back to standard taskqueue.
Apr 24 2022, 11:42 PM
wulf requested review of D35051: LinuxKPI: Implement kthread_worker related functions.
Apr 24 2022, 11:42 PM
wulf requested review of D35050: LinuxKPI: Implement sched_set_fifo(_low) functions.
Apr 24 2022, 11:41 PM
wulf requested review of D35049: LinuxKPI: Add cpu_latency_qos_request_active stub to linux/pm_qos.h.
Apr 24 2022, 11:40 PM
wulf requested review of D35048: LinuxKPI: Fix typo in cond_resched_lock.
Apr 24 2022, 11:39 PM
wulf requested review of D35047: LinuxKPI: Convert lkpi-shrinker lock to sx..
Apr 24 2022, 11:38 PM
wulf requested review of D35046: LinuxKPI: Allow lkpi_iic driver to be a child of drm device..
Apr 24 2022, 11:37 PM

Apr 21 2022

wulf accepted D35021: linuxkpi: Mitigate a seqlock livelock.

I have seen frozen screen several times with procstat -kk reporting about a thread spinning in rps_timer(). Will test the patch. Thanks!

Apr 21 2022, 7:24 PM
wulf accepted D35000: hidbus: Use devclass_find to lookup the devclass for hidbus..
Apr 21 2022, 12:48 AM

Apr 9 2022

wulf added a comment to D34840: uhid_snes: Remove USB_ST_TRANSFERRED handling for the status request..

I suspect you can just remove the new_status . I think it is some leftover.

Apr 9 2022, 1:55 AM

Apr 1 2022

wulf committed R11:982315681dd2: graphics/drm-fbsd12.0-kmod: update to 20220126 version (authored by wulf).
graphics/drm-fbsd12.0-kmod: update to 20220126 version
Apr 1 2022, 6:24 PM

Mar 23 2022

wulf added a comment to D9626: Add absolute positioning support to ums.

This revision is obsolete and should be abandoned. Absolute positioning is supported by hms(4) on FreeBSD 13+

Mar 23 2022, 12:13 PM

Mar 8 2022

wulf committed rGfda9ac06aaf2: bcm5974(4): fix endian conversion signedness bug (authored by val_packett.cool).
bcm5974(4): fix endian conversion signedness bug
Mar 8 2022, 12:53 PM
wulf committed rG45b6c31a3801: bcm5974(4): set mode again on resume (authored by val_packett.cool).
bcm5974(4): set mode again on resume
Mar 8 2022, 12:53 PM
wulf closed D34434: bcm5974: set mode again on resume.
Mar 8 2022, 12:52 PM
wulf closed D34433: bcm5974: fix endian conversion signedness bug.
Mar 8 2022, 12:52 PM

Mar 6 2022

wulf added a comment to D34435: bcm5974: fix wellspring9 pressure settings to handle force sensitivity.

I am talking about obeying of this rule[1]:

Mar 6 2022, 11:06 AM

Mar 4 2022

wulf added inline comments to D34437: bcm5974: add Magic Trackpad 2 (USB only for now) support.
Mar 4 2022, 10:08 PM
wulf accepted D34435: bcm5974: fix wellspring9 pressure settings to handle force sensitivity.

LGTM. But I would prefer to perform some measurements to properly scale pressure value. Or just drop it.

Mar 4 2022, 10:07 PM
wulf accepted D34433: bcm5974: fix endian conversion signedness bug.

Ouch. Actually, the macro should be named as BCM5974_LE2H rather than WSP_LE2H to follow style. I'll handle that.

Mar 4 2022, 9:07 PM
wulf added inline comments to D34437: bcm5974: add Magic Trackpad 2 (USB only for now) support.
Mar 4 2022, 10:42 AM
wulf added inline comments to D34435: bcm5974: fix wellspring9 pressure settings to handle force sensitivity.
Mar 4 2022, 10:23 AM
wulf accepted D34434: bcm5974: set mode again on resume.

LGTM

Mar 4 2022, 10:01 AM
wulf added inline comments to D34433: bcm5974: fix endian conversion signedness bug.
Mar 4 2022, 10:00 AM

Mar 2 2022

wulf committed rGd5add41d4d87: ietp(4): Driver for Elantech I2C touchpad (authored by wulf).
ietp(4): Driver for Elantech I2C touchpad
Mar 2 2022, 11:37 PM
wulf committed rG42e2a173c74e: hms(4): Change probe priority to BUS_PROBE_GENERIC (authored by wulf).
hms(4): Change probe priority to BUS_PROBE_GENERIC
Mar 2 2022, 11:37 PM
wulf committed rG34e051c45cfc: iichid(4): Add support for ASUS C300 chromebook. (authored by wulf).
iichid(4): Add support for ASUS C300 chromebook.
Mar 2 2022, 11:37 PM
wulf committed rG6b1da3d223a8: iichid(4): Implement I2CRDWR command in hid_ioctl method (authored by wulf).
iichid(4): Implement I2CRDWR command in hid_ioctl method
Mar 2 2022, 11:37 PM
wulf committed rG5aa839c9e2c3: bcm5974: wsp(4) driver version with HID attachment. (authored by wulf).
bcm5974: wsp(4) driver version with HID attachment.
Mar 2 2022, 11:37 PM
wulf committed rG82e38b012cc8: usbhid(4): Implement USB_REQUEST command in hid_ioctl method (authored by wulf).
usbhid(4): Implement USB_REQUEST command in hid_ioctl method
Mar 2 2022, 11:37 PM
wulf committed rG5f47c5a3a35d: hid: Add hid_ioctl method to HID interface (authored by wulf).
hid: Add hid_ioctl method to HID interface
Mar 2 2022, 11:37 PM
wulf committed rG166f2cb40d55: ig4(4): Add PNP info for ACPI attachment (authored by wulf).
ig4(4): Add PNP info for ACPI attachment
Mar 2 2022, 11:37 PM
wulf committed rG1ef67193bade: hid: Add missed dependency on usbdevs.h for static builds (authored by wulf).
hid: Add missed dependency on usbdevs.h for static builds
Mar 2 2022, 11:37 PM

Feb 24 2022

wulf committed rG77ec8dd61cb7: iichid(4): Perform acknowledgement of I2C device interrupt after RESET command (authored by wulf).
iichid(4): Perform acknowledgement of I2C device interrupt after RESET command
Feb 24 2022, 1:08 AM

Feb 23 2022

wulf committed R11:73833dcfb6f6: graphics/drm-{current,devel,fbsd13}-kmod: Update after pci_upstream_bridge (authored by wulf).
graphics/drm-{current,devel,fbsd13}-kmod: Update after pci_upstream_bridge
Feb 23 2022, 3:48 PM

Feb 22 2022

wulf added inline comments to D34252: LinuxKPI: add proper support for charp module parameters.
Feb 22 2022, 9:00 AM · linuxkpi

Feb 16 2022

wulf added inline comments to D34297: linuxkpi: Add mmap_lock.h.
Feb 16 2022, 10:39 AM

Feb 14 2022

wulf accepted D34235: LinuxKPI: add UUID_STRING_LEN to uuid.h.
Feb 14 2022, 10:54 PM
wulf accepted D34234: LinuxKPI: add linux/pm_qos.h.
Feb 14 2022, 10:40 PM
wulf added a comment to D34234: LinuxKPI: add linux/pm_qos.h.

Ports tree is updated. Please commit rest of your work.

Feb 14 2022, 10:26 AM
wulf committed R11:a5e28565fc0a: graphics/drm-devel-kmod: Update to v5.7.19_2 (authored by wulf).
graphics/drm-devel-kmod: Update to v5.7.19_2
Feb 14 2022, 10:20 AM

Feb 13 2022

wulf added a comment to D34252: LinuxKPI: add proper support for charp module parameters.

It looks that sx lock suits our needs better than rw here.

Feb 13 2022, 10:49 PM · linuxkpi
wulf added inline comments to D34252: LinuxKPI: add proper support for charp module parameters.
Feb 13 2022, 10:48 PM · linuxkpi
wulf added a comment to D34234: LinuxKPI: add linux/pm_qos.h.

will not break package building.

Feb 13 2022, 9:36 PM
wulf added a comment to D34234: LinuxKPI: add linux/pm_qos.h.

I created PR to handle drm-devel-kmod breakage: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261937

Feb 13 2022, 9:33 PM
wulf added a comment to D34234: LinuxKPI: add linux/pm_qos.h.

I was able to successfully build drm-kmod with in-base linux/pm_qos.h from D34234 and linux/uuid.h from D34235 after applying of following patch:

diff --git a/sys/compat/linuxkpi/common/include/linux/pm_qos.h b/sys/compat/linuxkpi/common/include/linux/pm_qos.h
index a4512657889..6b9d48c5be6 100644
--- a/sys/compat/linuxkpi/common/include/linux/pm_qos.h
+++ b/sys/compat/linuxkpi/common/include/linux/pm_qos.h
@@ -30,6 +30,8 @@
 #ifndef	_LINUXKPI_LINUX_PM_QOS_H
 #define	_LINUXKPI_LINUX_PM_QOS_H
Feb 13 2022, 11:12 AM

Feb 11 2022

wulf added a comment to D34234: LinuxKPI: add linux/pm_qos.h.
In D34234#775061, @bz wrote:

I'll go and test that out then; what about D34235 ?
That might need an upfront change like (just drawn up without thinking)?
{{{

  • a/linuxkpi/bsd/include/linux/uuid.h

+++ b/linuxkpi/bsd/include/linux/uuid.h
@@ -4,7 +4,10 @@
#define _LINUX_UUID_H

#include <uapi/linux/uuid.h>
+#include_next <linux/uuid.h>

+#ifndef UUID_STRING_LEN
#define UUID_STRING_LEN 36
+#endif

#endif
}}}

Feb 11 2022, 4:44 PM
wulf added a comment to D34234: LinuxKPI: add linux/pm_qos.h.

Moreover in-base linux/pm_qos.h is hidden from drm-kmod due to dummy include file: https://github.com/freebsd/drm-kmod/blob/master/linuxkpi/dummy/include/linux/pm_qos.h

Feb 11 2022, 4:00 PM
wulf accepted D34234: LinuxKPI: add linux/pm_qos.h.
In D34234#775030, @bz wrote:

Done. How do we coordinate committing all the conflicting bits?

Feb 11 2022, 3:57 PM

Feb 10 2022

wulf added inline comments to D34234: LinuxKPI: add linux/pm_qos.h.
Feb 10 2022, 4:09 PM

Feb 7 2022

wulf accepted D34197: linuxkpi xarray: Correct expression in assertion..

LGTM

Feb 7 2022, 10:37 PM

Feb 5 2022

wulf added inline comments to D34145: linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC..
Feb 5 2022, 6:51 PM

Feb 3 2022

wulf added inline comments to D34145: linuxkpi: Add parentheses to pacify -Wparentheses warnings from GCC..
Feb 3 2022, 12:11 PM

Jan 26 2022

wulf added a reverting change for rG89889ab470b9: LinuxKPI: Allow wake_up to be executed within a critical section: rGc974c22a4fd9: Revert "LinuxKPI: Allow wake_up to be executed within a critical section".
Jan 26 2022, 10:29 PM
wulf committed rGc974c22a4fd9: Revert "LinuxKPI: Allow wake_up to be executed within a critical section" (authored by wulf).
Revert "LinuxKPI: Allow wake_up to be executed within a critical section"
Jan 26 2022, 10:29 PM
wulf committed rG11ef1d975f61: Revert "LinuxKPI: Allow spin_lock_irqsave to be called within a critical… (authored by wulf).
Revert "LinuxKPI: Allow spin_lock_irqsave to be called within a critical…
Jan 26 2022, 10:29 PM
wulf added a reverting change for D33888: LinuxKPI: Allow wake_up to be executed within a critical section: rGc974c22a4fd9: Revert "LinuxKPI: Allow wake_up to be executed within a critical section".
Jan 26 2022, 10:28 PM
wulf committed R11:0c38674b389a: graphics/drm-devel-kmod: Update to 5.7.19.g20220126 version (authored by wulf).
graphics/drm-devel-kmod: Update to 5.7.19.g20220126 version
Jan 26 2022, 10:06 PM

Jan 22 2022

wulf committed rGba0f2d780717: LinuxKPI: Add sort() wrapper. (authored by wulf).
LinuxKPI: Add sort() wrapper.
Jan 22 2022, 7:40 PM
wulf committed rGdee0854a009c: Bump __FreeBSD_version for LinuxKPI changes (authored by wulf).
Bump __FreeBSD_version for LinuxKPI changes
Jan 22 2022, 7:40 PM
wulf committed rGef743744f0f4: LinuxKPI: Use negative bit field size to trigger BUILD_BUG_ON_ZERO (authored by wulf).
LinuxKPI: Use negative bit field size to trigger BUILD_BUG_ON_ZERO
Jan 22 2022, 7:40 PM
wulf committed rG2d0694b95350: LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards (authored by wulf).
LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
Jan 22 2022, 7:40 PM
wulf committed rG2db63c396d37: LinuxKPI: Import linux/ratelimit.h (authored by wulf).
LinuxKPI: Import linux/ratelimit.h
Jan 22 2022, 7:40 PM
wulf committed rG2d90567415d5: LinuxKPI: Import MTRR support functions from drm-kmod (authored by wulf).
LinuxKPI: Import MTRR support functions from drm-kmod
Jan 22 2022, 7:40 PM
wulf committed rG64a0cd9aaea2: LinuxKPI: Add linux/capability.h header (authored by wulf).
LinuxKPI: Add linux/capability.h header
Jan 22 2022, 7:40 PM
wulf committed rG272f8b9c280b: LinuxKPI: Add readx_poll_timeout wrapper (authored by wulf).
LinuxKPI: Add readx_poll_timeout wrapper
Jan 22 2022, 7:40 PM
wulf committed rGb42bc4d602ff: LinuxKPI: Add static_cpu_has() implementation (authored by wulf).
LinuxKPI: Add static_cpu_has() implementation
Jan 22 2022, 7:40 PM
wulf committed rG0576a1c27778: LinuxKPI: Implement efi_enabled(EFI_BOOT) (authored by wulf).
LinuxKPI: Implement efi_enabled(EFI_BOOT)
Jan 22 2022, 7:40 PM
wulf committed rG1e467a609aa9: LinuxKPI: Import linux/jump_label.h (authored by wulf).
LinuxKPI: Import linux/jump_label.h
Jan 22 2022, 7:40 PM
wulf committed rGa692caea30d0: LinuxKPI: Move kfree_async() functionality in to kfree() (authored by wulf).
LinuxKPI: Move kfree_async() functionality in to kfree()
Jan 22 2022, 7:40 PM
wulf committed rG6fda5ef279db: LinuxKPI: Add stdarg.h proxy header (authored by wulf).
LinuxKPI: Add stdarg.h proxy header
Jan 22 2022, 7:40 PM
wulf committed rGdf10d8c66781: LinuxKPI: Add some typical header pollution (authored by wulf).
LinuxKPI: Add some typical header pollution
Jan 22 2022, 7:40 PM
wulf committed rGb4f5d92c8849: LinuxKPI: Implement smp_*mb barriers with atomic_thread_fence_* (authored by wulf).
LinuxKPI: Implement smp_*mb barriers with atomic_thread_fence_*
Jan 22 2022, 7:40 PM
wulf committed rGd93c8a4d5a3f: LinuxKPI: Convert schedule() to inlined function (authored by wulf).
LinuxKPI: Convert schedule() to inlined function
Jan 22 2022, 7:39 PM
wulf committed rG1cf90ce2414d: LinuxKPI: Make lockdep*_pin_lock macros useable for drm-kmod (authored by wulf).
LinuxKPI: Make lockdep*_pin_lock macros useable for drm-kmod
Jan 22 2022, 7:39 PM
wulf committed rG8dc3f129c4c7: LinuxKPI: Add support for XA_FLAGS_ALLOC1 xarray flag (authored by wulf).
LinuxKPI: Add support for XA_FLAGS_ALLOC1 xarray flag
Jan 22 2022, 7:39 PM
wulf committed rG9e736b8b8a1e: LinuxKPI: Implement default sysfs kobject attribute operations (authored by wulf).
LinuxKPI: Implement default sysfs kobject attribute operations
Jan 22 2022, 7:39 PM
wulf committed rGb30c7948546b: LinuxKPI: Implement kstrtoull (authored by wulf).
LinuxKPI: Implement kstrtoull
Jan 22 2022, 7:39 PM
wulf committed rGbc3e9499ca5b: LinuxKPI: Implement dev_driver_string() (authored by wulf).
LinuxKPI: Implement dev_driver_string()
Jan 22 2022, 7:38 PM
wulf committed rGb3407b54d386: LinuxKPI: Implement clflush_cache_range() (authored by wulf).
LinuxKPI: Implement clflush_cache_range()
Jan 22 2022, 7:38 PM
wulf committed rGe2cc6a467ffc: LinuxKPI: Add clflush argument type conversion wrapper (authored by wulf).
LinuxKPI: Add clflush argument type conversion wrapper
Jan 22 2022, 7:38 PM
wulf committed rG10cb54117ee2: LinuxKPI: Implement interval_tree (authored by wulf).
LinuxKPI: Implement interval_tree
Jan 22 2022, 7:37 PM
wulf committed rGc8ddc214cf76: LinuxKPI: Import some linux/rbtree.h functions from OpenBSD (authored by wulf).
LinuxKPI: Import some linux/rbtree.h functions from OpenBSD
Jan 22 2022, 7:37 PM

Jan 18 2022

wulf committed rG89889ab470b9: LinuxKPI: Allow wake_up to be executed within a critical section (authored by wulf).
LinuxKPI: Allow wake_up to be executed within a critical section
Jan 18 2022, 8:16 PM
wulf committed rG02ea6033020e: LinuxKPI: Allow spin_lock_irqsave to be called within a critical section (authored by wulf).
LinuxKPI: Allow spin_lock_irqsave to be called within a critical section
Jan 18 2022, 8:16 PM
wulf closed D33888: LinuxKPI: Allow wake_up to be executed within a critical section.
Jan 18 2022, 8:16 PM
wulf closed D33887: LinuxKPI: Allow spin_lock_irqsave to be called within a critical section.
Jan 18 2022, 8:16 PM

Jan 14 2022

wulf added inline comments to D33887: LinuxKPI: Allow spin_lock_irqsave to be called within a critical section.
Jan 14 2022, 6:07 PM

Jan 13 2022

wulf requested review of D33888: LinuxKPI: Allow wake_up to be executed within a critical section.
Jan 13 2022, 11:49 PM
wulf requested review of D33887: LinuxKPI: Allow spin_lock_irqsave to be called within a critical section.
Jan 13 2022, 11:48 PM

Jan 11 2022

wulf committed rGed6417cd8d0b: Bump __FreeBSD_version for LinuxKPI changes (authored by wulf).
Bump __FreeBSD_version for LinuxKPI changes
Jan 11 2022, 7:37 AM

Jan 10 2022

wulf committed rG7356f661e81d: LinuxKPI: Add sort() wrapper. (authored by wulf).
LinuxKPI: Add sort() wrapper.
Jan 10 2022, 7:52 PM
wulf committed rG64dab63f3b3b: LinuxKPI: Use negative bit field size to trigger BUILD_BUG_ON_ZERO (authored by wulf).
LinuxKPI: Use negative bit field size to trigger BUILD_BUG_ON_ZERO
Jan 10 2022, 7:52 PM
wulf committed rG307f78f3ed90: LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards (authored by wulf).
LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards
Jan 10 2022, 7:52 PM
wulf committed rG98b129783c47: LinuxKPI: Import MTRR support functions from drm-kmod (authored by wulf).
LinuxKPI: Import MTRR support functions from drm-kmod
Jan 10 2022, 7:52 PM
wulf committed rGf9c8b5880d2c: LinuxKPI: Add linux/capability.h header (authored by wulf).
LinuxKPI: Add linux/capability.h header
Jan 10 2022, 7:52 PM
wulf committed rG1456816425c3: LinuxKPI: Import linux/ratelimit.h (authored by wulf).
LinuxKPI: Import linux/ratelimit.h
Jan 10 2022, 7:52 PM
wulf closed D33675: LinuxKPI: Add sort() wrapper..
Jan 10 2022, 7:52 PM
wulf closed D33674: LinuxKPI: Use negative bit field size to trigger BUILD_BUG_ON_ZERO.
Jan 10 2022, 7:52 PM