From owner-freebsd-drivers@freebsd.org Mon Oct 29 17:38:09 2018 Return-Path: Delivered-To: freebsd-drivers@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 0926D10E0FBC; Mon, 29 Oct 2018 17:38:09 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A96377A70E; Mon, 29 Oct 2018 17:38:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 4570810AFCD; Mon, 29 Oct 2018 13:38:07 -0400 (EDT) Subject: Re: Has anything changed from 11.2 to 12.0 in PCI MSI/MSIX path? To: Rajesh Kumar References: <2a595c73-4a93-6e3f-f93d-9038baeeb18a@FreeBSD.org> Cc: freebsd-drivers@freebsd.org, freebsd-current@freebsd.org From: John Baldwin Message-ID: <2b2d11cb-2196-0214-a3f2-8ab75c7c0248@FreeBSD.org> Date: Mon, 29 Oct 2018 10:38:06 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Mon, 29 Oct 2018 13:38:07 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 17:38:09 -0000 On 10/25/18 10:24 AM, Rajesh Kumar wrote: > Hi John, > > Thanks a lot. It helps. I backported the changes to 11.2 and tried booting in my board with success without any need for the said tunables. > > I see those changes are marked for MFC after 2 Weeks. But I don't see them still in stable/11 branch.  So, will it be taken into stable/11 branch by any chance? If not, can the backported changes be submitted for review to take into stable/11 branch? I'm working on the MFC. The current patch I've tested an MFC of is the one to unify sys/x86/include/intr_machdep.h as a precursor to MFC'ing this change. > On Thu, Oct 25, 2018 at 1:17 AM John Baldwin > wrote: > > On 10/24/18 3:40 AM, Rajesh Kumar wrote: > > Hi, > > > > I have a amd64 based board. When I tried to boot 11.1 (or) 11.2 in that, I > > needed the following tunables to be set from loader prompt to get it booted > > (otherwise machine reboots continuously). > > > > hw.usb.xhci.msi=0 > > hw.usb.xhci.msix=0 > > hw.pci.enable_msi=0 > > hw.pci.enable_msix=0 > > > > But, when I tried with 12.0 - ALPHA4, I could able to get it booted without > > any tunables.  So, has anything changed significantly on PCI MSI/MSI-X > > path? > > > > Note: I have a forum topic with my observations about the issue on > > 11.1/11.2 in the following thread > > https://forums.freebsd.org/threads/freebsd-11-1-installation-fails-and-rebooting.65814/ > > > > Let me know if you need any details. > > I believe this was fixed by r338360. > > -- > John Baldwin > -- John Baldwin From owner-freebsd-drivers@freebsd.org Tue Oct 30 08:23:04 2018 Return-Path: Delivered-To: freebsd-drivers@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 0916910DA89C; Tue, 30 Oct 2018 08:23:04 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5F3F3775F6; Tue, 30 Oct 2018 08:23:03 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id d10-v6so11512705wrs.5; Tue, 30 Oct 2018 01:23:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ar9P0pJjCBKaQ+G8nEXV/4EmUieePIlMiw5K7phpwhI=; b=NCiLtUcZ5t8MEqi1DfO6zOzfm40O2XZqn1aaKAVvuHPMcheWEVpQ9RsPYNgx8OyLxO AatsB2Pa/PD4Cm2GIKdnhliznqTzRZ1eI4zyf2ylJOP5wdzpvWmkgqZV8Gtwf1nrZEb5 G70w8XxSnscT3/+rJZZe6ZtATax11TWwD57+uaNSZJRSS5KPjAUtmcDMBZ56zGoIOX6F Pd3J2NfnjderzuartvibwB6z3D1ML+i69bVGtX6oI6gr1o1TR73Qoo06efc5RSL25nWn SWR5ZV4+7RXTOi6RG/KbLUsas5+7aHbfYPZk2b/QRjT3C3cX3Zr6bBfIaLU95zvU3UvX parg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ar9P0pJjCBKaQ+G8nEXV/4EmUieePIlMiw5K7phpwhI=; b=VwHFQS4aQ9LfwYmE69oYXvBrvcyPa6KxKOIGfJo/5gYNxbUThkW9e/EdFDgg2FgDwO G1TfBm3Nqzv8ga/yWjMiMlJZEuT9Zndvr7GnXO56VtI2ReInd/n4PWAT/M0ijfysKbAy 7nhSE2vJ0KIcJrEcc3LwhwObOLDJb9xvjKNSXq8VD9/CIPmHCMWTC+Ecv3CjpXZJjkAy JA/Yga2yQLLLtdpdq9bL4YVWewC1WJDjlM2pP8mnqcT3eEqITCkGBhDxJT31ZIyBWQzN zQnwtE2eqroJrbi8s80lDGiSXcpiBWU6Zq8rUp58azkKoQcmFW8zJdIwm+Wvcao4iu92 1/XQ== X-Gm-Message-State: AGRZ1gIWgjT71QVQv6n5sPxRJ+FIfHcaIzDYuozGZuj8TTEMS9OgdQVK Co3Fn2PcYaUfRSToSas3OgWK+fM+WU1Ra+9I4GaRCw== X-Google-Smtp-Source: AJdET5dJBZBBsJ6xnwHC9GhjEgHUdqMN0arQ60pYsozvSxbEEMA1GRqkrDOTE43h1lgdJa1a631xj4KMC2gl9qqekF4= X-Received: by 2002:adf:a109:: with SMTP id o9-v6mr4124390wro.169.1540887781557; Tue, 30 Oct 2018 01:23:01 -0700 (PDT) MIME-Version: 1.0 References: <2a595c73-4a93-6e3f-f93d-9038baeeb18a@FreeBSD.org> <2b2d11cb-2196-0214-a3f2-8ab75c7c0248@FreeBSD.org> In-Reply-To: <2b2d11cb-2196-0214-a3f2-8ab75c7c0248@FreeBSD.org> From: Rajesh Kumar Date: Tue, 30 Oct 2018 13:52:49 +0530 Message-ID: Subject: Re: Has anything changed from 11.2 to 12.0 in PCI MSI/MSIX path? To: jhb@freebsd.org Cc: freebsd-drivers@freebsd.org, freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Oct 2018 08:23:04 -0000 Hi John, Thanks for your updates. I assume you are talking about having a unified intr_machdep.h compared to having seperate amd64 and i386 versions. Can you please update this thread once all changes are MFC complete or tag me in necessary place? So that I can give a try in my board once it's ready. On Mon, Oct 29, 2018 at 11:08 PM John Baldwin wrote: > On 10/25/18 10:24 AM, Rajesh Kumar wrote: > > Hi John, > > > > Thanks a lot. It helps. I backported the changes to 11.2 and tried > booting in my board with success without any need for the said tunables. > > > > I see those changes are marked for MFC after 2 Weeks. But I don't see > them still in stable/11 branch. So, will it be taken into stable/11 branch > by any chance? If not, can the backported changes be submitted for review > to take into stable/11 branch? > > I'm working on the MFC. The current patch I've tested an MFC of is the > one to > unify sys/x86/include/intr_machdep.h as a precursor to MFC'ing this change. > > > On Thu, Oct 25, 2018 at 1:17 AM John Baldwin jhb@freebsd.org>> wrote: > > > > On 10/24/18 3:40 AM, Rajesh Kumar wrote: > > > Hi, > > > > > > I have a amd64 based board. When I tried to boot 11.1 (or) 11.2 in > that, I > > > needed the following tunables to be set from loader prompt to get > it booted > > > (otherwise machine reboots continuously). > > > > > > hw.usb.xhci.msi=0 > > > hw.usb.xhci.msix=0 > > > hw.pci.enable_msi=0 > > > hw.pci.enable_msix=0 > > > > > > But, when I tried with 12.0 - ALPHA4, I could able to get it > booted without > > > any tunables. So, has anything changed significantly on PCI > MSI/MSI-X > > > path? > > > > > > Note: I have a forum topic with my observations about the issue on > > > 11.1/11.2 in the following thread > > > > https://forums.freebsd.org/threads/freebsd-11-1-installation-fails-and-rebooting.65814/ > > > > > > Let me know if you need any details. > > > > I believe this was fixed by r338360. > > > > -- > > John Baldwin > > > > > -- > John Baldwin > From owner-freebsd-drivers@freebsd.org Thu Nov 1 18:35:37 2018 Return-Path: Delivered-To: freebsd-drivers@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 62CF010FB3B0; Thu, 1 Nov 2018 18:35:37 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E1FE84EA0; Thu, 1 Nov 2018 18:35:37 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 8977810B707; Thu, 1 Nov 2018 14:35:35 -0400 (EDT) Subject: Re: Has anything changed from 11.2 to 12.0 in PCI MSI/MSIX path? To: Rajesh Kumar References: <2a595c73-4a93-6e3f-f93d-9038baeeb18a@FreeBSD.org> <2b2d11cb-2196-0214-a3f2-8ab75c7c0248@FreeBSD.org> Cc: freebsd-drivers@freebsd.org, freebsd-current@freebsd.org From: John Baldwin Message-ID: <5c64a532-9f5f-4e52-35e6-4800cb065d8f@FreeBSD.org> Date: Thu, 1 Nov 2018 11:35:33 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Thu, 01 Nov 2018 14:35:35 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Nov 2018 18:35:37 -0000 On 10/30/18 1:22 AM, Rajesh Kumar wrote: > Hi John, > > Thanks for your updates.  I assume you are talking about having a unified intr_machdep.h compared to having seperate amd64 and i386 versions. > > Can you please update this thread once all changes are MFC complete or tag me in necessary place? So that I can give a try in my board once it's ready. I just committed r340016 which merges r338360 along with followup fixes to stable/11. > On Mon, Oct 29, 2018 at 11:08 PM John Baldwin > wrote: > > On 10/25/18 10:24 AM, Rajesh Kumar wrote: > > Hi John, > > > > Thanks a lot. It helps. I backported the changes to 11.2 and tried booting in my board with success without any need for the said tunables. > > > > I see those changes are marked for MFC after 2 Weeks. But I don't see them still in stable/11 branch.  So, will it be taken into stable/11 branch by any chance? If not, can the backported changes be submitted for review to take into stable/11 branch? > > I'm working on the MFC.  The current patch I've tested an MFC of is the one to > unify sys/x86/include/intr_machdep.h as a precursor to MFC'ing this change. > > > On Thu, Oct 25, 2018 at 1:17 AM John Baldwin >> wrote: > > > >     On 10/24/18 3:40 AM, Rajesh Kumar wrote: > >     > Hi, > >     > > >     > I have a amd64 based board. When I tried to boot 11.1 (or) 11.2 in that, I > >     > needed the following tunables to be set from loader prompt to get it booted > >     > (otherwise machine reboots continuously). > >     > > >     > hw.usb.xhci.msi=0 > >     > hw.usb.xhci.msix=0 > >     > hw.pci.enable_msi=0 > >     > hw.pci.enable_msix=0 > >     > > >     > But, when I tried with 12.0 - ALPHA4, I could able to get it booted without > >     > any tunables.  So, has anything changed significantly on PCI MSI/MSI-X > >     > path? > >     > > >     > Note: I have a forum topic with my observations about the issue on > >     > 11.1/11.2 in the following thread > >     > https://forums.freebsd.org/threads/freebsd-11-1-installation-fails-and-rebooting.65814/ > >     > > >     > Let me know if you need any details. > > > >     I believe this was fixed by r338360. > > > >     -- > >     John Baldwin > > > > > -- > John Baldwin > -- John Baldwin                                                                              From owner-freebsd-drivers@freebsd.org Fri Nov 2 18:19:10 2018 Return-Path: Delivered-To: freebsd-drivers@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 DE81910D64FC; Fri, 2 Nov 2018 18:19:09 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from mail-it1-x12a.google.com (mail-it1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 64F1E77F86; Fri, 2 Nov 2018 18:19:09 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by mail-it1-x12a.google.com with SMTP id r5-v6so4390521ith.2; Fri, 02 Nov 2018 11:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kvklEZDc9BmcG+X5TxAIO7pgkTdDdAWYv4JkdpEgQT8=; b=W4FDNfklJwzebSV/fJ0qCa5nxZVm6bXA1b97byCqYS+EW4pL6JS46oL5dIzjMIJJ8J 2bQxqRT2JmLf8+IrRo9dY4f3azQ8VDSSr2c/L/Q7jTS1wHRiZbNJxralzAd5F7eNEde9 cNlTG73B1nx2qVcxv7d3n0X04KVmV4LnMUBepLQ4s1TusO75ytCD0rrRB6NI8Y+xqiuP 565CLiA9qmCHiSD6kz3FKUuwQQxbRYe2Qoy+2+tIpKl7e08GDdBvtPXJelfUZMW6cpvW zj3c71F9m/A+dilRaaUIy6Bq8Mgxul1ZtualwjjwcXL+IdmLl41lKYa/At8Hxp0EZ+Zb QYig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kvklEZDc9BmcG+X5TxAIO7pgkTdDdAWYv4JkdpEgQT8=; b=Yb9c0+VJZ3G7A+MbIWI7+KPAa93Ic8tn6/Zl2SPN6nX+F5s2+RmDEUsOIUuA6uikzz 6CCxf2BgV7PfojF2XsZhUQ55JwmalkBaP4mlSNQ/hbP+B32aBZinAfjqDCJoN1Zeo9Cr xDuokV4aNa804LPsPVHZub9HhRXXSsHy3/t2aM52NOA7x3uG77c5TTfqNrA4ScE99fui rjb4ZiXLOMC7n3/H6MTeZ8gJpYyq29uHQ9IXuDJxgKn7B7gvMV4sKGN71gidV6mhcEPV xHO2mNmRo3mBxzlo/SJCn6Sb2mtlXLYpNWBHBkCZd3VqjIMX6wKDx4ADg4HeKG0fJq7f /6Mw== X-Gm-Message-State: AGRZ1gJwXSWGTTYMsUSpxuwwGkv37vIUfs2f3BjtAHYBc/sQm2eVpFR4 eQ6ot4kbyNaxmh184T4sLUMeefWQSC3/1tZXj84k X-Google-Smtp-Source: AJdET5dBAzgmHN+0uZLsrd064Xqk8Yqsav+1LiWMEcSC6vB+9bWO51tv+zsoFlbP8SvVDni2qNkhMWUToxCUWvsYVqY= X-Received: by 2002:a02:188b:: with SMTP id 11-v6mr11816982jar.80.1541182748710; Fri, 02 Nov 2018 11:19:08 -0700 (PDT) MIME-Version: 1.0 References: <83efbaed-4cbd-f8eb-eeb3-59aa29797f8a@gjunka.com> In-Reply-To: <83efbaed-4cbd-f8eb-eeb3-59aa29797f8a@gjunka.com> From: Zaphod Beeblebrox Date: Fri, 2 Nov 2018 14:18:57 -0400 Message-ID: Subject: Re: AQtion AQC107 driver status To: list1@gjunka.com Cc: FreeBSD Net , freebsd-drivers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2018 18:19:10 -0000 I'm interested in taking a whack at this. Where's the Linux driver? I tried searching for aquantia in the linux kernel and didn't get a hit. On Sun, Jun 24, 2018 at 12:51 PM Grzegorz Junka wrote: > Hello, > > As far as I could check FreeBSD doesn't yet support this card. It's > supported in Linux kernel though. I heard somewhere that the Linux > driver doesn't contain any binary blobs and could be ported to FreeBSD. > Has anyone been looking into this? Or do you know if anyone is planning > to work on the driver for this card? > > https://www.aquantia.com/products/client-connectivity/aqtion-aqc107/ > > Thanks > GrzegorzJ > > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >