]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
xen/pt: mark all PCIe capability bits read-only
authorJan Beulich <jbeulich@suse.com>
Tue, 2 Jun 2015 15:43:08 +0000 (15:43 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 9 Jun 2015 10:28:54 +0000 (10:28 +0000)
commit16c1631e63a22e80dfc0d288a2115dad4a848370
treec851ca0dfdf7b1cf1dcc3b1085cf4202328114ac
parentcb1e0cea8e5fdd1f8677c1733eec6175600ea69e
xen/pt: mark all PCIe capability bits read-only

xen_pt_emu_reg_pcie[]'s PCI_EXP_DEVCAP needs to cover all bits as read-
only to avoid unintended write-back (just a precaution, the field ought
to be read-only in hardware).

This is a preparatory patch for XSA-131.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/xen/xen_pt_config_init.c