From owner-soc-status@freebsd.org Mon May 21 09:41:26 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A9FCEEB4A4 for ; Mon, 21 May 2018 09:41:26 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::22a]) (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 9EF8876A1C for ; Mon, 21 May 2018 09:41:25 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-ot0-x22a.google.com with SMTP id t1-v6so16127550ott.13 for ; Mon, 21 May 2018 02:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=D6KamWizXdDW4qGUYGaH+zf+aepvJPNEoNI1FUiZydk=; b=BoAPUHU8lvWbB9alzc4Jaanf/5ZE50iZCTwLZsZudWBqs6VcRb1xowR4Wv5JEtR/W5 JaqCknPArxgjhN24jqr9gJhaYt4QqD7PNGXbiQX7KaRJt/C/s6/GqxS/a/MrYG5s5PI1 WiVJKEcc1/qNbHjxjj4SyTZO72fgu3MaHJ+Wl+hYovAr9OKKz29KkCnBr3/IEFjJfrwB s/PxOrCKCs9AGib+tGjUAZatYsI1KybuxRzL4xs2kkXDb1ynMBH8KSYPbKfUeYRgpmqR MYUW3w7jlhdBuZTEDVjdTShQHXhH7rO3txthxAXvt2YyofvAVYsiwX6/7uwPqQMmGQ9S /NCA== 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; bh=D6KamWizXdDW4qGUYGaH+zf+aepvJPNEoNI1FUiZydk=; b=NgwMrGGu2SMZzlBNgYNi+9L8j/rOr5bJBOU/upXa28dKpL4IcA8Oe9nPD5Bv4MQqzg zLb7BKoa036roG2s3hHVmpLOoEH+kdZREJbwhcZ1GuAwIayNbdgCfliXHD4wpTzL6BjM 29OyUqPHpn6MLH+Ok8jPMx2t8YQvdr92IUXhixopKHkrpIcU6G8pcluzIQ7fYW60Z8Js 7amSKbSl5pZuceHohs7MYDdv/amKQKr1abqpxcstWbeUoPVcELnrd4VSJz9bRL+3hp+c 9IjZxEXDwraEGw+AHXypnDvIxCICdMj6NF/RBovdJCf09q7TGSE4uy4DVMYMfS2KXem7 U+7w== X-Gm-Message-State: ALKqPwetS6JbKbf7pAGKatggQtz5VYgv3atOETAroUWj1PZUGfEAxN2N mZfPM4tpLiV4Lje2u7louBLDYor1p+opY/sa+Tvo1w== X-Google-Smtp-Source: AB8JxZqN9STM4I0zP+I5P8Lbz+BpaytUssaxhDK6i2vMaZJeCGexgRzBoJpmPXQ5BED77RSHSgtM8osj5pz2H4GjMQU= X-Received: by 2002:a9d:38f6:: with SMTP id k51-v6mr12373107ote.120.1526895684261; Mon, 21 May 2018 02:41:24 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Date: Mon, 21 May 2018 15:11:11 +0530 Message-ID: Subject: [GSOC] Converting PCI driver attachments to be table driven - weekly status report To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 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: Mon, 21 May 2018 09:41:26 -0000 My name is Lakhan Kamireddy and in this year's edition of GSoC I will work on converting PCI driver attachments to be table driven. I've created a wiki page where I've described the project and the milestones [1]. This week I've started preparing the development infrastructure. We're using GitHub as the platform to check-in GSoC code. I am currently checking code to a freebsd fork [2]. Next I've setup the FreeBSD VM - Current 12.0 [3] to build the code that i am planning to write. I was able to do a complete build of the world and then a kernel build. Thereafter, for every check-in, I have done an incremental kernel build to test the code. I have converted drivers like puc, bce, aac and ncr. I have categorized the drivers into three categories. One, trivial two, medium and three, hard depending on the complexity. Currently we have a devmatch infrastructure that looks at all unattached devices on the system and compares their plug and play data to that which has been recorded by kldxref and suggests modules to load. We need the drivers to decorate their PNP data in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers to make it easy for kldxref to find them. Thank you, Lakhan [1] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables [2] https://github.com/lakhanshiva/freebsd/tree/lakhan-pnpinfo [3] http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-CURRENT/