[PATCH v2 libpciaccess] hurd: Don't necessarily look up _SERVERS_BUS_PCI

2022-02-14 Thread Damien Zammit
This allows the fallback mechanism in the hurd create method to be used in the map range method by reusing the mach port that corresponds to the root of the pci filesystem. --- src/hurd_pci.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/src/hurd_pci

[PATCH v3] biosmem: Narrow e820 regions as required

2022-02-14 Thread Damien Zammit
--- i386/i386at/biosmem.c | 28 1 file changed, 28 insertions(+) diff --git a/i386/i386at/biosmem.c b/i386/i386at/biosmem.c index 4f0914ca..78e7bb21 100644 --- a/i386/i386at/biosmem.c +++ b/i386/i386at/biosmem.c @@ -82,6 +82,19 @@ static unsigned int biosmem_nr_boot_d

Re: Updating the hurd in Guix

2022-02-14 Thread Damien Zammit
Hi Olaf, On 15/2/22 9:26 am, Olaf Buddenhagen wrote: >> I could create a github repo that contains everything for rump in one repo, >> but it would take time and would be easier to do once the netbsd src patches >> are upstreamed, so we would not need to maintain separate patches. > > Admittedly w

Re: Updating the hurd in Guix

2022-02-14 Thread Olaf Buddenhagen
Hi, On Sat, Feb 12, 2022 at 11:28:03PM +, Damien Zammit wrote: > I could create a github repo that contains everything for rump in one repo, > but it would take time and would be easier to do once the netbsd src patches > are upstreamed, so we would not need to maintain separate patches. Adm

Re: [PATCH libpciaccess] hurd: Don't read from _SERVERS_BUS_PCI necessarily

2022-02-14 Thread Samuel Thibault
Damien Zammit, le lun. 14 févr. 2022 09:23:33 +, a ecrit: > This allows the fallback mechanism in the hurd create method to be > used in the map range method by reusing the mach port that > corresponds to the root of the pci filesystem. > @@ -168,11 +178,11 @@ pci_device_hurd_map_range(struct

Re: [PATCH v2] biosmem: Narrow or widen e820 memory regions as appropriate

2022-02-14 Thread Samuel Thibault
Damien Zammit, le lun. 14 févr. 2022 06:57:40 +, a ecrit: > --- > i386/i386at/biosmem.c | 40 +--- > 1 file changed, 33 insertions(+), 7 deletions(-) > > diff --git a/i386/i386at/biosmem.c b/i386/i386at/biosmem.c > index 4f0914ca..354d0529 100644 > --- a/i3

[PATCH libpciaccess] hurd: Don't read from _SERVERS_BUS_PCI necessarily

2022-02-14 Thread Damien Zammit
This allows the fallback mechanism in the hurd create method to be used in the map range method by reusing the mach port that corresponds to the root of the pci filesystem. Also, the offset parameter to vm_map was not needed as the whole range is always mapped from the beginning. --- src/hurd_pc