Re: [PATCH v9] vpci: Add resizable bar support

2025-03-10 Thread Oleksii Kurochko
On 2/24/25 4:24 AM, Jiqian Chen wrote: Some devices, like AMDGPU, support resizable bar capability, but vpci of Xen doesn't support this feature, so they fail to resize bars and then cause probing failure. According to PCIe spec, each bar that supports resizing has two registers, PCI_REBAR_CAP

Re: [PATCH v9] vpci: Add resizable bar support

2025-03-03 Thread Chen, Jiqian
On 2025/3/3 22:09, Roger Pau Monné wrote: > On Mon, Feb 24, 2025 at 11:24:33AM +0800, Jiqian Chen wrote: >> Some devices, like AMDGPU, support resizable bar capability, >> but vpci of Xen doesn't support this feature, so they fail >> to resize bars and then cause probing failure. >> >> According to

Re: [PATCH v9] vpci: Add resizable bar support

2025-03-03 Thread Roger Pau Monné
On Mon, Feb 24, 2025 at 11:24:33AM +0800, Jiqian Chen wrote: > Some devices, like AMDGPU, support resizable bar capability, > but vpci of Xen doesn't support this feature, so they fail > to resize bars and then cause probing failure. > > According to PCIe spec, each bar that supports resizing has

[PATCH v9] vpci: Add resizable bar support

2025-02-23 Thread Jiqian Chen
Some devices, like AMDGPU, support resizable bar capability, but vpci of Xen doesn't support this feature, so they fail to resize bars and then cause probing failure. According to PCIe spec, each bar that supports resizing has two registers, PCI_REBAR_CAP and PCI_REBAR_CTRL. So, add handlers to su