]> rtime.felk.cvut.cz Git - jailhouse.git/commit
core: pci: Rework config space header write moderation
authorJan Kiszka <jan.kiszka@siemens.com>
Sun, 17 May 2015 08:47:33 +0000 (10:47 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 22 May 2015 04:53:48 +0000 (06:53 +0200)
commitbe5ef681430141fb6831292ec97c1cb19dbdce44
tree15062cc168f699ecfba611cfb9c1f02ff35b8997
parent598c04f60ee015eaac064d9a2ed1417e18bf4ee4
core: pci: Rework config space header write moderation

Switch to a more powerful array-based write access control for the PCI
config space header. The array consists of tuples, each controlling the
access to one dword row. Access can be denied, permitted or emulated as
read-only, thus ignored. As before, a mask selects the bytes of the row
for which the access type applies.

This new model allows to properly describe which registers of the bridge
header we effectively want to freeze as read-only so that Linux can
rescan buses.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/pci.c