Implement paging on the pci arbiter

2020-08-26 Thread Joan Lledó
Hi, I'm doing a research on how to allow arbiter clients to map bar regions into their spaces. It seems to me the approach should be: 1.- Make the arbiter implement paging 2.- Expect clients to mmap() the region files the arbiter generates Sounds that correct for you? I'm a bit confused with

Re: PCI arbiter crash on last qemu image

2020-08-26 Thread Damien Zammit
Hi, On 23/8/20 8:47 pm, Joan Lledó wrote: > http://git.savannah.gnu.org/cgit/hurd/hurd.git/log/?h=jlledom-pciaccess-map Thanks for doing this, I tried it locally and fixed two bugs in my libpciaccess patches: diff --git a/src/x86_pci.c b/src/x86_pci.c index 1614729..1e70f35 100644 ---

doc libpager

2020-08-26 Thread gfleury
Hi Joan, I can not reply in your thread "Implement paging on the pci arbiter" because i suscribed right now. hope you this links! This doc talk about libpager. https://www.freesoft.org/software/hurd/building.pdf (https://www.freesoft.org/software/hurd/building.pdf)

Re: Implement paging on the pci arbiter

2020-08-26 Thread Samuel Thibault
Hello, Joan Lledó, le mer. 26 août 2020 10:24:49 +0200, a ecrit: > I'm doing a research on how to allow arbiter clients to map bar regions > into their spaces. It seems to me the approach should be: > > 1.- Make the arbiter implement paging > 2.- Expect clients to mmap() the region files the

Re: Implement paging on the pci arbiter

2020-08-26 Thread Samuel Thibault
Joan Lledó, le mer. 26 août 2020 10:24:49 +0200, a ecrit: > From this document I assumed I should create a pager for each region > file, call page_demuxer from the arbiter's demuxer and implement > callback functions. But it seems pager_demuxer() is not defined anymore ?

Re: doc libpager

2020-08-26 Thread Joan Lledó
Hi, thanks for your help, I'll take a look :) El 26/8/20 a les 16:23, gfle...@disroot.org ha escrit: > > Hi Joan, > > I can not reply in your thread "Implement paging on the pci arbiter" > because i suscribed right now. hope you this links! > > This doc talk about libpager. > >

Re: PCI arbiter crash on last qemu image

2020-08-26 Thread Joan Lledó
Hi, El 26/8/20 a les 11:13, Damien Zammit ha escrit: > If you think everything is okay with this, I will squash the last patch and > submit patches upstream. Yes it's OK for me