Re: Add T490 Thunderbolt 3 controller to pcidevs

2022-09-14 Thread Jonathan Gray
On Wed, Sep 14, 2022 at 08:51:46PM -0400, Kurt Mosiejczuk wrote: > On Thu, Sep 15, 2022 at 10:36:40AM +1000, Jonathan Gray wrote: > > On Wed, Sep 14, 2022 at 12:49:48PM -0400, Kurt Mosiejczuk wrote: > > > This adds the IDs for the thunderbolt 3 controller parts in my T490 > > > > ok? > > >

Re: Add T490 Thunderbolt 3 controller to pcidevs

2022-09-14 Thread Kurt Mosiejczuk
On Thu, Sep 15, 2022 at 10:36:40AM +1000, Jonathan Gray wrote: > On Wed, Sep 14, 2022 at 12:49:48PM -0400, Kurt Mosiejczuk wrote: > > This adds the IDs for the thunderbolt 3 controller parts in my T490 > > ok? > Shouldn't this be JHL6240 not JHL6420? >

Re: Add T490 Thunderbolt 3 controller to pcidevs

2022-09-14 Thread Jonathan Gray
On Wed, Sep 14, 2022 at 12:49:48PM -0400, Kurt Mosiejczuk wrote: > This adds the IDs for the thunderbolt 3 controller parts in my T490 > > ok? Shouldn't this be JHL6240 not JHL6420? https://downloadmirror.intel.com/28658/eng/tbt_release_notes_17.4.77.400.txt JHL6240 Series - "Alpine Ridge LP"

Re: Towards unlocking mmap(2) & munmap(2)

2022-09-14 Thread Martin Pieuchot
On 14/09/22(Wed) 15:47, Klemens Nanni wrote: > On 14.09.22 18:55, Mike Larkin wrote: > > On Sun, Sep 11, 2022 at 12:26:31PM +0200, Martin Pieuchot wrote: > > > Diff below adds a minimalist set of assertions to ensure proper locks > > > are held in uvm_mapanon() and uvm_unmap_remove() which are the

Re: bgpd fix connected route removal

2022-09-14 Thread Theo Buehler
On Wed, Sep 14, 2022 at 07:24:56PM +0200, Claudio Jeker wrote: > The kroute_remove() code will fail hard when a connected route is removed. > Most commonly this happens when an interface is deconfigured. > The problem is that there is no logic to match against connected routes. > Connected routes

bgpd fix connected route removal

2022-09-14 Thread Claudio Jeker
The kroute_remove() code will fail hard when a connected route is removed. Most commonly this happens when an interface is deconfigured. The problem is that there is no logic to match against connected routes. Connected routes have no real nexthop and just use the ifindex as identifier, so adjust

Add T490 Thunderbolt 3 controller to pcidevs

2022-09-14 Thread Kurt Mosiejczuk
This adds the IDs for the thunderbolt 3 controller parts in my T490 ok? --Kurt Index: pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.2004 diff -u -p -r1.2004 pcidevs --- pcidevs 2 Sep 2022 10:34:07

Re: Towards unlocking mmap(2) & munmap(2)

2022-09-14 Thread Klemens Nanni
On 14.09.22 18:55, Mike Larkin wrote: On Sun, Sep 11, 2022 at 12:26:31PM +0200, Martin Pieuchot wrote: Diff below adds a minimalist set of assertions to ensure proper locks are held in uvm_mapanon() and uvm_unmap_remove() which are the guts of mmap(2) for anons and munmap(2). Please test it

Re: Towards unlocking mmap(2) & munmap(2)

2022-09-14 Thread Mike Larkin
On Sun, Sep 11, 2022 at 12:26:31PM +0200, Martin Pieuchot wrote: > Diff below adds a minimalist set of assertions to ensure proper locks > are held in uvm_mapanon() and uvm_unmap_remove() which are the guts of > mmap(2) for anons and munmap(2). > > Please test it with WITNESS enabled and report

Re: apldckbd(4): add fn key combose for Page Up/Down

2022-09-14 Thread Tobias Heider
On Wed, Sep 14, 2022 at 11:56:48AM +, Miod Vallat wrote: > > Hey, > > > > the diff below adds FN key combos for Page Up, Page Down and some more > > on the M2 keyboard. Most of the logic was copied from ukbd. > > This means most of the munging logic should move from ukbd into hidkbd, > but

Re: apldckbd(4): add fn key combose for Page Up/Down

2022-09-14 Thread Miod Vallat
> Hey, > > the diff below adds FN key combos for Page Up, Page Down and some more > on the M2 keyboard. Most of the logic was copied from ukbd. This means most of the munging logic should move from ukbd into hidkbd, but that can be done later. If you don't want to do this yet, you need to

man sed(1): instructions wrt whitespace in functions

2022-09-14 Thread Luka Krmpotić
section "DESCRIPTION" of sed man(1) page, says >The form of a sed command is as follows: >[address[,address]]function[arguments] >Whitespace may be inserted before the first address and the function >portions of the command.

apldckbd(4): add fn key combose for Page Up/Down

2022-09-14 Thread Tobias Heider
Hey, the diff below adds FN key combos for Page Up, Page Down and some more on the M2 keyboard. Most of the logic was copied from ukbd. This makes scrolling tmux a lot more fun. ok? diff --git a/sys/arch/arm64/dev/apldc.c b/sys/arch/arm64/dev/apldc.c index 82a17df59b5..a4db46d8a92 100644 ---

Re: [RFC] Adding ESRT and EFI variables for fwupd

2022-09-14 Thread Mark Kettenis
> Date: Fri, 9 Sep 2022 15:17:55 +0300 > From: Sergii Dmytruk > > Hi Mark, > > Any news? I since setup gdb debugging of OVMF and figured out my EFI RT > issues and it returns data fine now (was wrong calling ABI), but I'm not > making /dev/efi as it sounds like you've done it already. Where are

Re: man sed(1), fix comment about two addresses

2022-09-14 Thread Jason McIntyre
On Wed, Sep 14, 2022 at 07:00:52AM +, Klemens Nanni wrote: > On Wed, Sep 14, 2022 at 06:48:48AM +0100, Jason McIntyre wrote: > > On Wed, Sep 14, 2022 at 12:40:55AM +0200, Luka Krmpoti?? wrote: > > > sed's man(1) page, section "sed addresses", has a note: > > > > > >

Re: man sed(1), fix comment about two addresses

2022-09-14 Thread Klemens Nanni
On Wed, Sep 14, 2022 at 06:48:48AM +0100, Jason McIntyre wrote: > On Wed, Sep 14, 2022 at 12:40:55AM +0200, Luka Krmpoti?? wrote: > > sed's man(1) page, section "sed addresses", has a note: > > > >

Re: man sed(1), fix comment about two addresses

2022-09-14 Thread Jason McIntyre
On Wed, Sep 14, 2022 at 12:40:55AM +0200, Luka Krmpoti?? wrote: > sed's man(1) page, section "sed addresses", has a note: > > https://github.com/openbsd/src/blob/16748403c325ab5b4e9457bf8f0879a6698daba9/usr.bin/sed/sed.1#L175-L176 > > (If the second address is a number less than or equal to the