Re: [Nouveau] [PATCH] PCI: Expose hidden NVIDIA HDA controllers

2019-06-24 Thread Daniel Drake
On Fri, Jun 14, 2019 at 4:03 AM Bjorn Helgaas wrote: > Is it possible that this works on Windows but not Linux because they > handle ACPI hotplug slightly differently? > > Martin did some nice debug [1] and found that _DSM, _PS0, and _PS3 > functions write the config bit at 0x488. The dmesg log [

Re: [PATCH 05/22] mm: export alloc_pages_vma

2019-06-24 Thread Dan Williams
On Thu, Jun 20, 2019 at 12:17 PM Michal Hocko wrote: > > On Thu 13-06-19 11:43:08, Christoph Hellwig wrote: > > noveau is currently using this through an odd hmm wrapper, and I plan > > to switch it to the real thing later in this series. > > > > Signed-off-by: Christoph Hellwig > > --- > > mm/m

Re: [Nouveau] [PATCH v2 4/4] pci: save the boot pcie link speed and restore it on fini

2019-06-24 Thread Karol Herbst
Hi Bjorn, I managed to trigger the issue from userspace without having to call into any ACPI code. Wrote a little script[1] which essentially does (and prints) this (I've added some comments): PCI SCAN # set PCIe link speed to 2.5. Bug doesn't trigger with 5.0 or 8.0 # NVA is a small lib we use t

[Nouveau] [Bug 75985] [NVC1] HDMI audio device only visible after rescan

2019-06-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=75985 --- Comment #79 from Daniel Drake --- Thanks, you're right, the value changes based on HDMI connector status. So for this platform, \_SB.PCI0.PEG0 has a PG00 PowerResource that will set the magic bit in _ON, and likewise \_SB.PCI0.PEG0.PEGP has