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 >