Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 14:28:07 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        Neel Chauhan <neel@neelc.org>, freebsd-current@freebsd.org
Subject:   Re: PCIe Root Port/Bus Not Detected in VMD
Message-ID:  <40b48007-5e60-cd87-0242-15239869d370@FreeBSD.org>
In-Reply-To: <ba5b92e33d83fe5c5a235537203a1c09@neelc.org>
References:  <aa9632b47ad2173154fb5f11456f531d@neelc.org> <ba5b92e33d83fe5c5a235537203a1c09@neelc.org>

index | next in thread | previous in thread | raw e-mail

On 12/30/20 9:45 PM, Neel Chauhan wrote:
> For reference, I am attaching the `pciconf -lv` and `acpidump -dt` 
> dumps.

Hmm, the acpidump doesn't have the -d contents, only the -t, and
PCI bridges are generally enumerated in the the -d part.  These
PCI bridges aren't enumerated in ACPI though, so that probably
doesn't matter.

The dinfo getting 0xffff means that somehow the way the PCI config
access is being handled for the child devices in vmd.c is wrong for
this bridge.  You might have to spelunk in the Linux driver to see
if the logic in vmd_read_config() and vmd_write_config() is
correct.

-- 
-- 
John Baldwin


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40b48007-5e60-cd87-0242-15239869d370>