[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] PCI resource alignment differs for hotplugged devices

From: Shawn Anastasio
Subject: [Qemu-ppc] PCI resource alignment differs for hotplugged devices
Date: Mon, 6 May 2019 18:21:02 -0500

Hello all,

When hotplugging QEMU ivshmem-doorbell devices on a ppc64 pseries guest,
it seems that the assigned resource for BAR 0 is on a
4K page boundary, but not 64k:

[ 25.606930] pci 0001:00:00.0: BAR 2: assigned [mem 0x220000000000-0x2200000fffff 64bit pref] [ 25.615257] pci 0001:00:00.0: BAR 1: assigned [mem 0x200100000000-0x200100000fff] [ 25.617284] pci 0001:00:00.0: BAR 0: assigned [mem 0x200100001000-0x2001000010ff]

This means that the device is not usable with the VFIO framework
on kernels with a 64k page size. After rebooting, BAR 0's address
is 64k-aligned and can be accessed like usual.

Is there any way to indicate to the system that BAR 0 should
be 64k aligned?

Thanks in advance,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]