From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 18:28:16 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E96DE0A for ; Mon, 31 Mar 2014 18:28:16 +0000 (UTC) Received: from mail-oa0-x231.google.com (mail-oa0-x231.google.com [IPv6:2607:f8b0:4003:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0247B2B2 for ; Mon, 31 Mar 2014 18:28:15 +0000 (UTC) Received: by mail-oa0-f49.google.com with SMTP id h16so9745975oag.22 for ; Mon, 31 Mar 2014 11:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=l5ed927KZEUC501cyCYA4BmGvewtm+rzmA2g6LWY+gM=; b=oH1+eGN3xg/drivCPzaG/C3WswdukuR1C683+T7rkgylp+GqD1TlBtF8heO+VU/KWv jILCIEPc+yRZXBYE1gN3vYj9hdkiX1tTXcrl0DDavCpsYH1kb22W4Ow/1qEgEBd1yFSs UZGGG9tOl190Hbsv/L6Wp+mXz2215KqmMaVlB8IryOkJoPNPZpBY1cVAZHECvSrMZ5cq LOQU1E8M7LOnKdc2upognCAOvOb89G7rwpG/NbpoeYSKOtcH3ZpuZqu3PYOi91FktPeO QPfxQ23z1CvJ42UjsDOwbHB1gpUJwFjDaJ3Ggi3TKZ7IkmuB/cHGLQkgmpqQztgxcO7f wvCA== MIME-Version: 1.0 X-Received: by 10.182.166.40 with SMTP id zd8mr23828899obb.25.1396290495289; Mon, 31 Mar 2014 11:28:15 -0700 (PDT) Received: by 10.76.7.199 with HTTP; Mon, 31 Mar 2014 11:28:15 -0700 (PDT) In-Reply-To: References: <20140316141216.GA21331@kib.kiev.ua> <20140319140236.GM21331@kib.kiev.ua> <20140325211355.GG21331@kib.kiev.ua> <20140328133529.GV21331@kib.kiev.ua> <20140330142918.GF21331@kib.kiev.ua> Date: Mon, 31 Mar 2014 14:28:15 -0400 Message-ID: Subject: Re: [PATCH] Support PCIe Alternative RID Interpretation (ARI) From: Ryan Stone Cc: "freebsd-hackers@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 18:28:16 -0000 make universe turned up the fact that pcib_if.m is compiled into the kernel even if device pci is removed from the kernel config. This means that pcib_if.m cannot reference default methods that I implemented in the pci driver. I have fixed this by moving the default methods into a new .c file that will always be compiled into the kernel. These patches have been updated: http://people.freebsd.org/~rstone/patches/ari/0001-Add-a-method-to-get-the-PCI-RID-for-a-device.patch http://people.freebsd.org/~rstone/patches/ari/0004-Add-support-for-PCIe-ARI.patch Also, I made a minor change to the DMAR patch to correct a style(9) issue that crept in (a line went over 80 characters in intel_ctx.c).