* [PULL 0/1] xen queue 2022-09-27
@ 2022-09-27 13:35 Anthony PERARD via
2022-09-27 13:35 ` [PULL 1/1] hw/xen: set pci Atomic Ops requests for passthrough device Anthony PERARD via
2022-09-29 14:48 ` [PULL 0/1] xen queue 2022-09-27 Stefan Hajnoczi
0 siblings, 2 replies; 3+ messages in thread
From: Anthony PERARD via @ 2022-09-27 13:35 UTC (permalink / raw)
To: qemu-devel; +Cc: Anthony PERARD
The following changes since commit 99d6b11b5b44d7dd64f4cb1973184e40a4a174f8:
Merge tag 'pull-target-arm-20220922' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2022-09-26 13:38:26 -0400)
are available in the Git repository at:
https://xenbits.xen.org/git-http/people/aperard/qemu-dm.git tags/pull-xen-20220927
for you to fetch changes up to fb36fb9344c284a58f3f3ec5be6408fc51eaf3f1:
hw/xen: set pci Atomic Ops requests for passthrough device (2022-09-27 14:23:23 +0100)
----------------------------------------------------------------
Xen patch
- Xen PCI passthrough fix for Atomic Ops requests
----------------------------------------------------------------
Ruili Ji (1):
hw/xen: set pci Atomic Ops requests for passthrough device
hw/xen/xen_pt_config_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PULL 1/1] hw/xen: set pci Atomic Ops requests for passthrough device
2022-09-27 13:35 [PULL 0/1] xen queue 2022-09-27 Anthony PERARD via
@ 2022-09-27 13:35 ` Anthony PERARD via
2022-09-29 14:48 ` [PULL 0/1] xen queue 2022-09-27 Stefan Hajnoczi
1 sibling, 0 replies; 3+ messages in thread
From: Anthony PERARD via @ 2022-09-27 13:35 UTC (permalink / raw)
To: qemu-devel; +Cc: Ruili Ji, Anthony PERARD
From: Ruili Ji <ruili.ji@amd.com>
Make guest os access pci device control 2 reg for passthrough device
as struct XenPTRegInfo described in the file hw/xen/xen_pt.h.
/* reg read only field mask (ON:RO/ROS, OFF:other) */
uint32_t ro_mask;
/* reg emulate field mask (ON:emu, OFF:passthrough) */
uint32_t emu_mask;
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1196
Signed-off-by: Aaron Liu <Aaron.Liu@amd.com>
Signed-off-by: Ruili Ji <ruili.ji@amd.com>
Message-ID: <BL1PR12MB599341DC55BA53FE588DE14E9B7E9@BL1PR12MB5993.namprd12.prod.outlook.com>
Reviewed-by: Paul Durrant <paul@xen.org>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
---
hw/xen/xen_pt_config_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c
index 4758514ddf..cde898b744 100644
--- a/hw/xen/xen_pt_config_init.c
+++ b/hw/xen/xen_pt_config_init.c
@@ -985,8 +985,8 @@ static XenPTRegInfo xen_pt_emu_reg_pcie[] = {
.offset = 0x28,
.size = 2,
.init_val = 0x0000,
- .ro_mask = 0xFFE0,
- .emu_mask = 0xFFFF,
+ .ro_mask = 0xFFA0,
+ .emu_mask = 0xFFBF,
.init = xen_pt_devctrl2_reg_init,
.u.w.read = xen_pt_word_reg_read,
.u.w.write = xen_pt_word_reg_write,
--
Anthony PERARD
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PULL 0/1] xen queue 2022-09-27
2022-09-27 13:35 [PULL 0/1] xen queue 2022-09-27 Anthony PERARD via
2022-09-27 13:35 ` [PULL 1/1] hw/xen: set pci Atomic Ops requests for passthrough device Anthony PERARD via
@ 2022-09-29 14:48 ` Stefan Hajnoczi
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Hajnoczi @ 2022-09-29 14:48 UTC (permalink / raw)
To: Anthony PERARD; +Cc: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 115 bytes --]
Applied, thanks.
Please update the changelog at https://wiki.qemu.org/ChangeLog/7.2 for any user-visible changes.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-29 16:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-27 13:35 [PULL 0/1] xen queue 2022-09-27 Anthony PERARD via
2022-09-27 13:35 ` [PULL 1/1] hw/xen: set pci Atomic Ops requests for passthrough device Anthony PERARD via
2022-09-29 14:48 ` [PULL 0/1] xen queue 2022-09-27 Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).