From owner-soc-status@freebsd.org Mon Jun 25 23:59:38 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 B70631025A8A for ; Mon, 25 Jun 2018 23:59:37 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-ot0-f194.google.com (mail-ot0-f194.google.com [74.125.82.194]) (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 3887F73437 for ; Mon, 25 Jun 2018 23:59:37 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-ot0-f194.google.com with SMTP id d19-v6so17052113oti.8 for ; Mon, 25 Jun 2018 16:59:37 -0700 (PDT) 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=5y4LJyuY6ss1irr1inQXlQcIuBVorEE5QNBZ5XrP4HE=; b=SKq8eVagZPOw2KFgdY0rp/3sWyeaVoqPywZiqa4ZUmIrcZxDKtmGrDlJeFTPa5uXNf ygiaVT/USJSO8KGHRcMAStIXFp72kg5XG+T0ymz7DqfbxCjmO0u886Ar0VDTKkVWoCvy Nu4sapZYRczueBLyL6EcJ093RcIxYOUa7BVQm30CGSKnTMWosqHKScuiWLeLqCcpa3HC JQlnW6Yo7866+/sRuFCRO+UuT8plBXvHLGLJUu7Q2gbAJ+tFnHOh54oHRBkIr2mLPrtc YStD9IrqreaCvsUsuYjtZiMLT4wA0bsM1Rgu+eaz1aPet3+HEY3oVjrc81WN5BLSHA9r fS5A== X-Gm-Message-State: APt69E2i/w5VE0XpKZsqmJHgJOSN00FlP7bChfWBeoaLtVF3uKK0B8wO kYo3Xy6hrMfu35ZTpbbvDgPBtX4y X-Google-Smtp-Source: AAOMgpfIoIcbGF42unt7HQce7ZPHAxVW7z+Do0m9WkDc/cgb3zQjNWfgUDP1UP1RTsIGLnWEmiXmGQ== X-Received: by 2002:a9d:74a:: with SMTP id 68-v6mr95036ote.43.1529969744504; Mon, 25 Jun 2018 16:35:44 -0700 (PDT) Received: from mail-ot0-f170.google.com (mail-ot0-f170.google.com. [74.125.82.170]) by smtp.gmail.com with ESMTPSA id g8-v6sm208208otc.68.2018.06.25.16.35.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jun 2018 16:35:44 -0700 (PDT) Received: by mail-ot0-f170.google.com with SMTP id i19-v6so17010834otk.10 for ; Mon, 25 Jun 2018 16:35:43 -0700 (PDT) X-Received: by 2002:a9d:10e:: with SMTP id 14-v6mr5785345otu.330.1529969743829; Mon, 25 Jun 2018 16:35:43 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Kamireddy Date: Tue, 26 Jun 2018 05:05:32 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 6 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, 25 Jun 2018 23:59:38 -0000 Hi All, As you are aware, my project is to convert PCI drivers to be table driven. This week I have worked on other PCI drivers. I converted imcsb, isab, ignore, ix, ixv, ixgb, ips, iwm, iir PCI drivers. I worked with hard drivers as well. [1] -[3] I have added the Plug and Play information for them and found them to be used by devmatch to match them with modules automatically. I resolved all build issues. We have migrated the reviews to Phabricator and see that it is pretty cool. I was having a problem with updating my differential review. The process gets frozen on a step called querydiffs. We contacted the Phabricator team on FreeBSD side. Hopefully we will get to some solution eventually. Phabricator reviews can be found here. [4]-[6] We need to convert the drivers in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers so as to make it easy for kldxref to find them. In a couple of drivers I have added tables and modified the probe function. At the same time, I am also learning the internals of the kernel, this will help our goal ultimately - Automatic module loading. [7] Please find my updated project homepage here. [8] Thank you, Lakhan [1] https://github.com/bsdimp/freebsd/pull/4 [2] https://github.com/bsdimp/freebsd/pull/6 [3] https://github.com/bsdimp/freebsd/pull/7 [4] https://reviews.freebsd.org/D15995 [5] https://reviews.freebsd.org/D15996 [6] https://reviews.freebsd.org/D15979 [7] http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html [8] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables