Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
qemu-testsuite.30219
0270-disable-reentrancy-guard-on-ppc.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0270-disable-reentrancy-guard-on-ppc.patch of Package qemu-testsuite.30219
From: Olaf Hering <olaf@aepfle.de> Date: Wed, 6 Sep 2023 12:34:56 +0000 Subject: disable reentrancy guard on ppc References: bsc#1190011 (CVE-2021-3750) 40p and g3beige will hang forever with these messages: qemu-system-ppc: warning: Blocked re-entrant IO on MemoryRegion: pci-conf-idx at addr: 0x0 qemu-system-ppc64: warning: Blocked re-entrant IO on MemoryRegion: lpc-hc at addr: 0x34 Signed-off-by: Olaf Hering <olaf@aepfle.de> --- hw/pci-host/prep.c | 2 ++ hw/ppc/pnv_lpc.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/hw/pci-host/prep.c b/hw/pci-host/prep.c index 9b6166dc6d462704797aa044ffa7..7ba36cc0a21c73df451034649a15 100644 --- a/hw/pci-host/prep.c +++ b/hw/pci-host/prep.c @@ -258,10 +258,12 @@ static void raven_pcihost_realizefn(DeviceState *d, Error **errp) memory_region_init_io(&h->conf_mem, OBJECT(h), &pci_host_conf_le_ops, s, "pci-conf-idx", 4); + h->conf_mem.disable_reentrancy_guard = true; memory_region_add_subregion(&s->pci_io, 0xcf8, &h->conf_mem); memory_region_init_io(&h->data_mem, OBJECT(h), &pci_host_data_le_ops, s, "pci-conf-data", 4); + h->data_mem.disable_reentrancy_guard = true; memory_region_add_subregion(&s->pci_io, 0xcfc, &h->data_mem); memory_region_init_io(&h->mmcfg, OBJECT(s), &raven_pci_io_ops, s, diff --git a/hw/ppc/pnv_lpc.c b/hw/ppc/pnv_lpc.c index 172a915cfc5580252eb3eeea72a6..74511ac02276ce82510152b6d9d9 100644 --- a/hw/ppc/pnv_lpc.c +++ b/hw/ppc/pnv_lpc.c @@ -456,10 +456,12 @@ static void pnv_lpc_realize(DeviceState *dev, Error **errp) /* Create MMIO regions for LPC HC and OPB registers */ memory_region_init_io(&lpc->opb_master_regs, OBJECT(dev), &opb_master_ops, lpc, "lpc-opb-master", LPC_OPB_REGS_OPB_SIZE); + lpc->opb_master_regs.disable_reentrancy_guard = true; memory_region_add_subregion(&lpc->opb_mr, LPC_OPB_REGS_OPB_ADDR, &lpc->opb_master_regs); memory_region_init_io(&lpc->lpc_hc_regs, OBJECT(dev), &lpc_hc_ops, lpc, "lpc-hc", LPC_HC_REGS_OPB_SIZE); + lpc->lpc_hc_regs.disable_reentrancy_guard = true; memory_region_add_subregion(&lpc->opb_mr, LPC_HC_REGS_OPB_ADDR, &lpc->lpc_hc_regs);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor