From owner-svn-src-all@freebsd.org Tue Sep 3 14:08:19 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DB171DDABC; Tue, 3 Sep 2019 14:07:25 +0000 (UTC) (envelope-from yuripv@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46N80Y1rybz4Qb4; Tue, 3 Sep 2019 14:07:25 +0000 (UTC) (envelope-from yuripv@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1452) id B73641B5E6; Tue, 3 Sep 2019 14:06:38 +0000 (UTC) X-Original-To: yuripv@localmail.freebsd.org Delivered-To: yuripv@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 0F743859F; Tue, 23 Apr 2019 17:26:07 +0000 (UTC) (envelope-from owner-src-committers@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C2F9831B9; Tue, 23 Apr 2019 17:26:06 +0000 (UTC) (envelope-from owner-src-committers@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 538) id 0FDC98534; Tue, 23 Apr 2019 17:26:06 +0000 (UTC) Delivered-To: src-committers@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [96.47.72.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id 023608531; Tue, 23 Apr 2019 17:26:03 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F178831B1; Tue, 23 Apr 2019 17:26:01 +0000 (UTC) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x3NHPq2v038791; Tue, 23 Apr 2019 10:25:52 -0700 (PDT) (envelope-from freebsd@gndrsh.dnsmgr.net) Received: (from freebsd@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x3NHPqCt038790; Tue, 23 Apr 2019 10:25:52 -0700 (PDT) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201904231725.x3NHPqCt038790@gndrsh.dnsmgr.net> Subject: Re: svn commit: r346598 - head/sys/modules In-Reply-To: <201904231511.x3NFB1tR032938@repo.freebsd.org> To: Ed Maste CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org, greg@unrelenting.technology Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Precedence: bulk X-Loop: FreeBSD.org Sender: owner-src-committers@freebsd.org X-Rspamd-Queue-Id: 3C2F9831B9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Status: O X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 03 Sep 2019 14:08:20 -0000 X-Original-Date: Tue, 23 Apr 2019 10:25:52 -0700 (PDT) X-List-Received-Date: Tue, 03 Sep 2019 14:08:20 -0000 > Author: emaste > Date: Tue Apr 23 15:11:01 2019 > New Revision: 346598 > URL: https://svnweb.freebsd.org/changeset/base/346598 > > Log: > Enable Mellanox drivers (modules) on AArch64 > > Tested by Greg V with mlx5en on an Ampere eMAG instance at Packet.com on > c2.large.arm (with some additional uncommitted PCIe WIP). > > PR: 237055 > Submitted by: Greg V > Reviewed by: hselasky > MFC after: 1 month > Differential Revision: https://reviews.freebsd.org/D19983 Very cool, now how do I get a PCIe slot into a RPI3!!! lol :-) This does make some of the newer RockPro64 type boards an interesting thing to experiment with. I am hopeing some of that PCIe WIP might include some of the bits needed or do we already have PCIe slot on RockPro64 code that works? Thanks for this work Greg! > Modified: > head/sys/modules/Makefile > > Modified: head/sys/modules/Makefile > ============================================================================== > --- head/sys/modules/Makefile Tue Apr 23 12:29:19 2019 (r346597) > +++ head/sys/modules/Makefile Tue Apr 23 15:11:01 2019 (r346598) > @@ -483,7 +483,24 @@ SUBDIR+= fdt > SUBDIR+= linprocfs > SUBDIR+= linsysfs > _ena= ena > +.if ${MK_OFED} != "no" || defined(ALL_MODULES) > +_ibcore= ibcore > +_ipoib= ipoib > +_iser= iser > .endif > +_mlx4= mlx4 > +_mlx5= mlx5 > +.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ > + defined(ALL_MODULES) > +_mlx4en= mlx4en > +_mlx5en= mlx5en > +.endif > +.if ${MK_OFED} != "no" || defined(ALL_MODULES) > +_mthca= mthca > +_mlx4ib= mlx4ib > +_mlx5ib= mlx5ib > +.endif > +.endif > > .if ${MK_NAND} != "no" || defined(ALL_MODULES) > _nandfs= nandfs > @@ -592,15 +609,8 @@ _ep= ep > _et= et > _exca= exca > _fe= fe > -.if ${MK_OFED} != "no" || defined(ALL_MODULES) > -_ibcore= ibcore > -.endif > _if_ndis= if_ndis > _io= io > -.if ${MK_OFED} != "no" || defined(ALL_MODULES) > -_ipoib= ipoib > -_iser= iser > -.endif > _ix= ix > _ixv= ixv > _linux= linux > @@ -672,18 +682,6 @@ _ipwfw= ipwfw > _iwifw= iwifw > _iwmfw= iwmfw > _iwnfw= iwnfw > -.endif > -_mlx4= mlx4 > -_mlx5= mlx5 > -.if (${MK_INET_SUPPORT} != "no" && ${MK_INET6_SUPPORT} != "no") || \ > - defined(ALL_MODULES) > -_mlx4en= mlx4en > -_mlx5en= mlx5en > -.endif > -.if ${MK_OFED} != "no" || defined(ALL_MODULES) > -_mthca= mthca > -_mlx4ib= mlx4ib > -_mlx5ib= mlx5ib > .endif > _mly= mly > _nfe= nfe > > -- Rod Grimes rgrimes@freebsd.org