Suggested fix for Pandaboard USB hard drive enumeration

2023-01-10 Thread Lwazi Dube
My Pandaboard fails to enumerate a USB hard drive (used as a root device) and panics. Earlier, I had to add a 2s delay to make u-boot boot from "spinning" USB disks (flash drives are ok). OpenBSD needs the same change to make hard disk enumeration successful. The hard drive is plugged directly into

[v2] dmtimer(4): switch to clockintr

2023-01-10 Thread Scott Cheloha
This patch switches dmtimer(4) over to use the clockintr subsystem. This is v2. v1 is here: https://marc.info/?l=openbsd-tech&m=167060320326851&w=2 This revision fixes a bug in dmtimer_rearm() that kept the kernel from booting with the v1 patch: This revision also switches stathz from 128 to 100

Re: skeleton mwx(4) - MediaTek MT7921 driver

2023-01-10 Thread Klemens Nanni
On Fri, Dec 09, 2022 at 06:23:10PM +0100, Claudio Jeker wrote: > Here is the start of mwx(4) a driver for the MediaTek MT7921 chip which > shipped for example in Lenovo AMD T14 Gen 2 laptops. I've seen the same chip in a Lenovo IdeaPad 5 Pro. > So far the firmware loading works reliably and also

Re: add thread names to vmd(8)

2023-01-10 Thread Mike Larkin
On Sun, Jan 08, 2023 at 10:45:11AM -0800, Philip Guenther wrote: > On Sun, Jan 8, 2023 at 8:50 AM Dave Voutila wrote: > > > Now that guenther@ landed thread names, this should help users > > understand vmd host cpu utilization better as it lets us distinguish > > between the libevent thread and t

Re: vmm: mask WAITPKG cpuid feature to hide TPAUSE

2023-01-10 Thread Mike Larkin
On Mon, Jan 09, 2023 at 06:51:27PM -0500, Dave Voutila wrote: > > This ok with folks? Had OK's for the original diff but double checking > before I commit. > This is only half of what you need to do to stop guests from using unwanted/unsupported instructions. Removing the CPUID feature flag bit

Re: fix typo in wsdisplay.c

2023-01-10 Thread Theo Buehler
On Tue, Jan 10, 2023 at 09:44:25AM -0300, Crystal Kolipe wrote: > Fix a fairly obvious comment typo: Fixed, thanks.

fix typo in wsdisplay.c

2023-01-10 Thread Crystal Kolipe
Fix a fairly obvious comment typo: --- wsdisplay.c.distTue Jan 10 09:42:14 2023 +++ wsdisplay.c Tue Jan 10 09:42:59 2023 @@ -2212,7 +2212,7 @@ } /* - * Switch rhe console display to its ddb screen, avoiding locking + * Switch the console display to its ddb screen, avoiding locking * wher

Re: [patchset] 256 colour console and other enhancements

2023-01-10 Thread Crystal Kolipe
Hi Stuart, On Tue, Jan 10, 2023 at 11:05:24AM +, Stuart Henderson wrote: > On 2023/01/09 18:39, Crystal Kolipe wrote: > > Another update to the console patchset... > > i386 ramdisk still fits. > > ; diff /tmp/old /tmp/new > --- /tmp/oldTue Jan 10 03:56:19 2023 > +++ /tmp/newTue Jan 1

Re: [patchset] 256 colour console and other enhancements

2023-01-10 Thread Stuart Henderson
On 2023/01/09 18:39, Crystal Kolipe wrote: > Another update to the console patchset... i386 ramdisk still fits. ; diff /tmp/old /tmp/new --- /tmp/oldTue Jan 10 03:56:19 2023 +++ /tmp/newTue Jan 10 03:54:13 2023 @@ -4,12 +4,12 @@ text databss dec hex 1083 0 0 10