From owner-soc-status@freebsd.org Wed Jun 28 09:37:28 2017 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 72FC7D9D56B for ; Wed, 28 Jun 2017 09:37:28 +0000 (UTC) (envelope-from vaibhavkg2018@email.iimcal.ac.in) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 04793720A7 for ; Wed, 28 Jun 2017 09:37:26 +0000 (UTC) (envelope-from vaibhavkg2018@email.iimcal.ac.in) Received: by mail-wm0-x242.google.com with SMTP id 131so10347971wmq.2 for ; Wed, 28 Jun 2017 02:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=email-iimcal-ac-in.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=KlKXJyqMzGAEQFEYYuhUcivmarnctTdrhtOn728Fvko=; b=hj3vsuzpdX8agW+P29hzLBkZbEpfP4wwBEi0X+O623Gryrguifih0VFj3NOfjWxi0m vkntKJiv8Cpkgn6zksJUhdreT1J1dVGJnmOxIx1KdtIvWlyMOrgkXYtwL+moI4F9a8Em LAofvCeaH4Fm8QeO45DASRZobi/2ns7b6QAL4CP9L/yjFxFswBVmZgwG9zTahi7Ed0oi T8wc4DOgCmM01LNbwJUt+d6D3qtgCEa/bG05GUt4nvV1Q0NIJVFYRoaSg9Nkuiw4FdMe Y88y3QgbvKXmRFeXVA8CrmBR2Ugr8rh4WPYiXoOEQr9KDlQMyHdSVlU8gzfQltOYJ3xL qBfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=KlKXJyqMzGAEQFEYYuhUcivmarnctTdrhtOn728Fvko=; b=pSWIJm/D3hsJ++3yFKER73dev8h9WPJn2FrWzsXB9pbBINa9NUbH/1YunUzkIMg3Pb 08XXIiVjNPvzBvlvkQNefsVR3Lhp7vFCw5D9qEncLDHYqirGi+GFZ5MiikAKM1z169kT n+eKNQWjb3+gKxaHM2wH95rBmTSEru0qO5ZEpr76L0C+92Nm8uyIY5fj5jP/PruQ5Hs2 BGdeyxH/hJzx5K7MfxHKB8Xh4BToOm3gwWhQY+/o6xMLkSGpZgIEt2UMVCdA+H7Oa8CP fyjiuwOXFP1VW4T3r1kdzGiIMmAg2Sg+EhDG0/thUEXcDFo5K/wEw8TLLiIWtaYBv7f+ UqhA== X-Gm-Message-State: AKS2vOwNRzEJFM/NzGedL0Iq0zYlTsbjhl//OJzwqDTVQn/bor1EqpHF ixgWgEugaURg8+F1w6ujj5khzjTsh41vlwU= X-Received: by 10.80.164.241 with SMTP id x46mr7167650edb.114.1498642644831; Wed, 28 Jun 2017 02:37:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.143.194 with HTTP; Wed, 28 Jun 2017 02:37:24 -0700 (PDT) From: VAIBHAV GAUTAM Date: Wed, 28 Jun 2017 15:07:24 +0530 Message-ID: Subject: GSoC 2017: Xenbus_dmaGrantHandler Status report To: soc-status@freebsd.org Cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2017 09:37:28 -0000 Dear All, I am Vaibhav Gautam, one of the participants of the Google Summer of Code 2017 involved with FreeBSD. The title of my project is "*Importing grant table bus_dma(9) handler from OpenBSD to FreeBSD.*" The status report of my work is as follows: *Project Overview* Grant tables are a mechanism for sharing and transferring frames between domains, without requiring the participating domains to be privileged. The OpenBSD has integrated grant reference into it bus_dma(9) subsystem. The aim of the project to import the bus_dma(9) grant table handler from OpenBSD to FreeBSD. *Midterm Deliverable* Have a Xen specific implementation of bus_dma(9) in order to map and share grants with domains. *Key Learnings* 1. Concepts of virtualization 2. Kernel debugging 3. Writing device drivers 4. Xen hypervisor 5. bus_dma (9) APIs *Current Status* The current status is that the grant table has been integrated with the bus_dma structure. The DMA maps are being created to map physical addresses of map segments to the grant table references. The implementation needs to be further improved performance wise and to be extended to other functions utilizing bus_dma. Also, to be fully integrated with all frontends and backends present in FreeBSD. *Files modified* 1. /usr/src/sys/x86/x86/busdma_bounce.c 2. /usr/src/sys/dev/xen/grant_table/grant_table.c 3. /usr/src/sys/xen/gnttab.h For detailed info regarding the project, please refer to https://wiki.freebsd.org/SummerOfCode2017/Xenbus_dmaGrantHandler. Regards, Vaibhav Gautam.