Re: Strange crash of DIAGNOSTIC kernel on cv_destroy(9)

2023-07-23 Thread PHO
On 7/23/23 17:27, PHO wrote: On 7/22/23 22:41, Taylor R Campbell wrote: Date: Sat, 22 Jul 2023 21:52:40 +0900 From: PHO Jul 17 00:52:34 netbsd-current /netbsd: [ 64017.6151161] vmw_fence_wait() at netbsd:vmw_fence_wait+0xdc Just to confirm, what does `info line *(vmw_fence_wait+0xdc)' say

Re: DRM/KMS: vmwgfx driver is now available

2023-07-23 Thread PHO
On 7/24/23 11:34, PHO wrote: if (!list_empty(_put)) {     spin_unlock(>lock);     list_for_each_entry_safe(fence, next_fence, _put, head) {     list_del_init(>head);     dma_fence_put(>base);     }     spin_lock(>lock); } I pasted a wrong

Re: DRM/KMS: vmwgfx driver is now available

2023-07-23 Thread PHO
On 7/24/23 00:03, Taylor R Campbell wrote: Date: Sun, 23 Jul 2023 22:57:14 +0900 From: PHO On 7/23/23 21:24, Taylor R Campbell wrote: Why can't the loop just use dma_fence_get_rcu and dma_fence_put? Might need to release and reacquire the lock around dma_fence_put. I tried but it didn't

Re: ALTQ cannot be stopped Was: Fwd: 10-BETA : some network issues

2023-07-23 Thread Luke Mewburn
On 23-07-22 04:34, matthew green wrote: | > (gdb) info locals | > No symbol table info available. | > (gdb) | > | > I don't understand why gdb complains about debugging symbols. | | i think it's because our build has a bug. i was recently | trying to debug something in a shared

Re: DRM/KMS: vmwgfx driver is now available

2023-07-23 Thread Taylor R Campbell
> Date: Sun, 23 Jul 2023 22:57:14 +0900 > From: PHO > > On 7/23/23 21:24, Taylor R Campbell wrote: > > Why can't the loop just use dma_fence_get_rcu and dma_fence_put? > > > > Might need to release and reacquire the lock around dma_fence_put. > > I tried but it didn't work, apparently because

Re: DRM/KMS: vmwgfx driver is now available

2023-07-23 Thread PHO
On 7/23/23 21:24, Taylor R Campbell wrote: Date: Sun, 23 Jul 2023 12:36:10 +0900 From: PHO This: https://github.com/depressed-pho/netbsd-src/blob/91daa67f17222da355d3fddd6fa849c786d9c545/sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fence.c#L45 and this:

Re: DRM/KMS: vmwgfx driver is now available

2023-07-23 Thread Taylor R Campbell
> Date: Sun, 23 Jul 2023 12:36:10 +0900 > From: PHO > > This: > https://github.com/depressed-pho/netbsd-src/blob/91daa67f17222da355d3fddd6fa849c786d9c545/sys/external/bsd/drm2/dist/drm/vmwgfx/vmwgfx_fence.c#L45 > > and this: >

Re: [PATCH] Driver for Elantech I2C touchpad

2023-07-23 Thread Vladimir 'phcoder' Serbinenko
Le mar. 18 juil. 2023, 14:35, Martin Husemann a écrit : > On Sat, Jul 15, 2023 at 03:48:54AM +0200, Vladimir 'phcoder' Serbinenko > wrote: > > I've submitted a similar patch for OpenBSD recently and it got merged. It > > adds support for Elantech I2C touchpad used on many laptops. Tested on my >

Re: Strange crash of DIAGNOSTIC kernel on cv_destroy(9)

2023-07-23 Thread PHO
On 7/22/23 22:41, Taylor R Campbell wrote: Date: Sat, 22 Jul 2023 21:52:40 +0900 From: PHO Jul 17 00:52:34 netbsd-current /netbsd: [ 64017.6151161] vmw_fence_wait() at netbsd:vmw_fence_wait+0xdc Just to confirm, what does `info line *(vmw_fence_wait+0xdc)' say in gdb? And, if you can get to