From owner-freebsd-virtualization@freebsd.org Wed Mar 31 20:37:11 2021 Return-Path: Delivered-To: freebsd-virtualization@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 BF2D35AFE25 for ; Wed, 31 Mar 2021 20:37:11 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9dQv4wBfz4cNY for ; Wed, 31 Mar 2021 20:37:11 +0000 (UTC) (envelope-from olevole@olevole.ru) Received: by mail-ed1-x535.google.com with SMTP id z1so23834057edb.8 for ; Wed, 31 Mar 2021 13:37:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=olevole-ru.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=a64DthBDxVZDLzoJbLz+z3f9GwF/2+YJUC8VIWA6mlM=; b=xYyD5/PKl6vCMsy+Qqb6uSEhAUEJmqKK6j11DrP1TSC2uR6PauuL3LbcpLiVygGR8h /aRgCkvOQT2KmM/1yLIKPFMT0rIiLHZrCVonFKEJYt03+73ltWUU3aQ0jjpfUpwrgw/3 xahSg6cuyivqjzhqnY9LexRhTpu9holOFYERTY6bCYy9FtXFeohWMkyg2jVnsXUxkzLA eRBaqgwALk4DtgUluMu9CwvXqZ/ieFQu+TpZQ4nnp5nGCl6fA1d8hNFmlT0fgI+jbH9r 4keQNYDCOPI6XvXTBPS+jTvErRdwfIgdcJIGllopRCO5mHu4DQpvvA3Y9wPPw81STd/n dwVg== 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=a64DthBDxVZDLzoJbLz+z3f9GwF/2+YJUC8VIWA6mlM=; b=NKKQIeDTfKnABIkpWLuBOXj6fPyXvAsdDbBdLXePDAKn8z/9W+5sVXvwuAIU75uhKF l4fvSaA7tj7+Jc+uQSXVK8ofjbXMl4er5WWMX2dFIHC3oXzSlwJTNv4HL+r7fej7grgG RnE78EGTnZsenCHSp725cpYqoQUdhSjb313b+I1Qd7OvtF+XipIKUodFWf2wa9H5vL9n HKYoZKMNevTi+5AOQ7aVWoKjO5RdVXiH9owNPO4kLLhnSMyj8XB0nVwqtZ4A0qKB/T+j jrK6/b/dO23xSM85hMxAvAIohe8PEivx6/VZ1MQ1ZOrYOmKddxaeXxMSgKxsabwhk05R d8Kg== X-Gm-Message-State: AOAM532gd7Cb8J/j0JD2OObOrnasg9GwsXyfJsigSpwvIx6D/8HxWOXc XsIFBG41Vzj3oJ/rd2dGf+oA49Rh8OE1y0vsyfuGiw== X-Google-Smtp-Source: ABdhPJzQ1llXzTL9JSinhrRuxkubNq4oArJobs3Xs7ktp/2oE6dguRtjJYFRoiF4jRkh1TRZ6OnxgEduPpeXGnkMbno= X-Received: by 2002:a05:6402:1855:: with SMTP id v21mr6055737edy.310.1617223030087; Wed, 31 Mar 2021 13:37:10 -0700 (PDT) MIME-Version: 1.0 References: <51113310-d4f3-a38a-b3cb-bd8d55a280cc@FreeBSD.org> In-Reply-To: <51113310-d4f3-a38a-b3cb-bd8d55a280cc@FreeBSD.org> From: Oleg Ginzburg Date: Wed, 31 Mar 2021 23:36:58 +0300 Message-ID: Subject: Re: recent changed in vmm lead to panic: AMD, ivhd_setup_intr To: Ka Ho Ng Cc: freebsd-virtualization@freebsd.org X-Rspamd-Queue-Id: 4F9dQv4wBfz4cNY X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 20:37:11 -0000 Thanks for the quick response! On Wed, Mar 31, 2021 at 11:02 PM Ka Ho Ng wrote: > Could I have your output of pciconf -lc pci0:0:0:2 and other IOMMU > subclass devices, and also the ACPI ivrs table? You could generate the > ivrs table dump by /usr/local/bin/acpidump -b, and the table will be > available as ivrs.dat in the current directory. > > 1) pciconv -vl: https://pastebin.com/A95F9XLe 2) pciconf -lc pci0:0:0:2 none0@pci0:0:0:2: class=0x080600 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15d1 subvendor=0x1022 subdevice=0x15d1 cap 0f[40] = unknown cap 05[64] = MSI supports 4 messages, 64 bit cap 08[74] = HT MSI fixed address window enabled at 0xfee00000 3) FreeBSD acpidump does not have the '-b' key, all that I found on ivls is: # acpidump -dt | grep -B1 -A3 IVRS /* IVRS: Length=318, Revision=2, Checksum=0, OEMID=LENOVO, OEM Table ID=TP-R13, OEM Revision=0x10e0, Creator ID=PTEC, Creator Revision=0x2 */ 4) egrep -i 'ivrs|ivh|amd-vi|mmu' /var/run/dmesg.boot pci0: at device 0.2 (no driver attached) > Ka Ho >