On Thu, Nov 28, 2024 at 09:28:32AM +0900, Shin'ichiro Kawasaki wrote: > When the BIOS does not hide the P2SB device, it is expected to be visible from > userspace. However, the P2SB device disappears since the commit 5913320eb0b3 > ("platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe") [1]. This > series addresses the problem. The first three patches are preliminary > refactoring for the fix. The last patch resolves the issue by caching the P2SB > device resources only if the BIOS hides the P2SB device. > > [1] https://lore.kernel.org/lkml/ZzTI+biIUTvFT6NC@goliath/ > I tested the complete series and it restores the previously hidden device. In other words it's working for me. Daniel