From owner-freebsd-current@freebsd.org Thu Nov 1 18:35:37 2018 Return-Path: Delivered-To: freebsd-current@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-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current 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