Date: Mon, 28 May 2018 11:23:03 +0530 From: Pratyush Yadav <pratyush@freebsd.org> To: soc-status@freebsd.org Cc: Edward Napierala <trasz@freebsd.org>, Akshay Jaggi <jaggi@freebsd.org> Subject: [Week 2] Import the Xen grant-table bus_dma(9) handlers from OpenBSD Message-ID: <CA%2BX=3TKOVW7EpAo8qY4MtBuCys79r176PRYCdMQVJc811=V1bw@mail.gmail.com>
index | next in thread | raw e-mail
Hi, I spent this week on writing rough initial implementations of the Xen-specific grant table handlers imported from OpenBSD. I spent a lot of time understanding the differences in OpenBSD and FreeBSD's grant-table interface. They turn out to be more different than I anticipated. After that we encountered some design decisions. Since the bus_dma(9) interface in FreeBSD is quite different from the OpenBSD counterpart, some design choices had to be made. I am still in talks with my mentors about it. I also produced rough implementations of the grant table handlers. These are not yet complete. There are a lot of rough edges to polish. Check out the implementations in my GitHub fork [0]. Unrelated to the project, I submitted a diff to remove some leftover function prototypes from the grant table header file gnttab.h [1]. I maintain a blog on Blogger where I publish my progress every few days. Check it out if you want more details on what I'm doing [2]. Regards, Pratyush Yadav [0] https://github.com/prati0100/freebsd/tree/projects/xen_bus_dma [1] https://reviews.freebsd.org/D15553 [2] http://pratyushgsoc.blogspot.in/2018/05/import-xen-grant-table-busdma9-handlers.htmlhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BX=3TKOVW7EpAo8qY4MtBuCys79r176PRYCdMQVJc811=V1bw>
