> From: Chen, Jiqian
> Sent: Wednesday, September 20, 2023 12:03 PM
> If driver write 0 to reset device, can the SUSPEND bit be cleared?
It must as reset operation, resets everything else and so the suspend too.
> (pci_pm_resume->virtio_pci_restore->virtio_device_restore-
> >virtio_reset_device
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-7-gaos...@loongson.cn>
---
target/loongarch/helper.h | 214 +-
target/loongarch/vec_helper.c | 444 +---
target/loongarch/insn_trans/trans_vec.c.inc
This patch includes:
- XVFCMP.cond.{S/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-50-gaos...@loongson.cn>
---
target/loongarch/helper.h | 8 +-
target/loongarch/insns.decode | 3 +
target/loongarch/disas.c
This patch includes:
- XVSHUF.{B/H/W/D};
- XVPERM.W;
- XVSHUF4i.{B/H/W/D};
- XVPERMI.{W/D/Q};
- XVEXTRINS.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-55-gaos...@loongson.cn>
---
target/loongarch/helper.h | 3 +
target
This patch includes:
- XVREPLGR2VR.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-16-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 5 +
target/loongarch/disas.c| 10 +
target/loongar
This patch includes:
- XVAVG.{B/H/W/D/}[U];
- XVAVGR.{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-22-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 17
target/loongarch/disas.c
This patch includes:
- XVSRLN.{B.H/H.W/W.D};
- XVSRAN.{B.H/H.W/W.D};
- XVSRLNI.{B.H/H.W/W.D/D.Q};
- XVSRANI.{B.H/H.W/W.D/D.Q}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-39-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 16
This patch includes:
- VEXT2XV.{H/W/D}.B, VEXT2XV.{HU/WU/DU}.BU;
- VEXT2XV.{W/D}.B, VEXT2XV.{WU/DU}.HU;
- VEXT2XV.D.W, VEXT2XV.DU.WU.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-31-gaos...@loongson.cn>
---
target/loongarch/helper.h
This patch includes:
- XVEXTH.{H.B/W.H/D.W/Q.D};
- XVEXTH.{HU.BU/WU.HU/DU.WU/QU.DU}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-30-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 9 ++
target/loongarch/disas.c
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-58-gaos...@loongson.cn>
---
target/loongarch/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/loongarch/cpu.c b/target/loongarch/cpu.c
index a1d3f680d8..fc7f70fbe5 100644
--- a/target/loong
This patch includes:
- XVADDA.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-24-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 5
target/loongarch/disas.c| 5
target/loongarch/vec_help
This patch includes:
- XVBITSEL.V;
- XVBITSELI.B;
- XVSET{EQZ/NEZ}.V;
- XVSETANYEQZ.{B/H/W/D};
- XVSETALLNEZ.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-51-gaos...@loongson.cn>
---
target/loongarch/helper.h | 16 ++--
t
This patch includes:
- XVSSRLN.{B.H/H.W/W.D};
- XVSSRAN.{B.H/H.W/W.D};
- XVSSRLN.{BU.H/HU.W/WU.D};
- XVSSRAN.{BU.H/HU.W/WU.D};
- XVSSRLNI.{B.H/H.W/W.D/D.Q};
- XVSSRANI.{B.H/H.W/W.D/D.Q};
- XVSSRLNI.{BU.H/HU.W/WU.D/DU.Q};
- XVSSRANI.{BU.H/HU.W/WU.D/DU.Q}.
Signed-off-by: Song Gao
Reviewed-by: Richa
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-57-gaos...@loongson.cn>
---
target/loongarch/vec.h| 42 ++
target/loongarch/vec_helper.c | 48 ---
2 files changed, 42 insertions(+), 48
This patch includes:
- XVCLO.{B/H/W/D};
- XVCLZ.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-43-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 9 +
target/loongarch/disas.c| 9 +
This patch includes:
- XVSRLRN.{B.H/H.W/W.D};
- XVSRARN.{B.H/H.W/W.D};
- XVSRLRNI.{B.H/H.W/W.D/D.Q};
- XVSRARNI.{B.H/H.W/W.D/D.Q}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-40-gaos...@loongson.cn>
---
target/loongarch/insns.decode |
This patch includes:
- XVMADD.{B/H/W/D};
- XVMSUB.{B/H/W/D};
- XVMADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVMADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-27-gaos...@loongson.cn>
---
target/loongarch/insns.decod
This patch includes:
- XVREPLVE.{B/H/W/D};
- XVREPL128VEI.{B/H/W/D};
- XVREPLVE0.{B/H/W/D/Q};
- XVINSVE0.{W/D};
- XVPICKVE.{W/D};
- XVBSLL.V, XVBSRL.V.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-53-gaos...@loongson.cn>
---
target/loongarch/helper.
This patch includes:
- XVSRLR[I].{B/H/W/D};
- XVSRAR[I].{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-38-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 17 +
target/loongarch/disas.c
This patch includes:
- XVMSKLTZ.{B/H/W/D};
- XVMSKGEZ.B;
- XVMSKNZ.B.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-33-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 7 ++
target/loongarch/disas.c| 7 ++
Introduce a new function check_vec to replace CHECK_SXE
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-11-gaos...@loongson.cn>
---
target/loongarch/insn_trans/trans_vec.c.inc | 248 +++-
1 file changed, 192 insertions(+), 56 deletions(
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-12-gaos...@loongson.cn>
---
target/loongarch/cpu.h | 24 --
target/loongarch/internals.h| 22
target/loongarch/vec.h | 33
This patch includes:
- XVPACK{EV/OD}.{B/H/W/D};
- XVPICK{EV/OD}.{B/H/W/D};
- XVILV{L/H}.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-54-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 27
target/loongarch/disa
This patch includes:
- XVF{ADD/SUB/MUL/DIV}.{S/D};
- XVF{MADD/MSUB/NMADD/NMSUB}.{S/D};
- XVF{MAX/MIN}.{S/D};
- XVF{MAXA/MINA}.{S/D};
- XVFLOGB.{S/D};
- XVFCLASS.{S/D};
- XVF{SQRT/RECIP/RSQRT}.{S/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-47-gao
This patch includes:
- VPCNT.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-44-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 5 +
target/loongarch/disas.c| 5 +
target/loongarch/vec_helpe
This patch includes:
- XVFCVT{L/H}.{S.H/D.S};
- XVFCVT.{H.S/S.D};
- XVFRINT[{RNE/RZ/RP/RM}].{S/D};
- XVFTINT[{RNE/RZ/RP/RM}].{W.S/L.D};
- XVFTINT[RZ].{WU.S/LU.D};
- XVFTINT[{RNE/RZ/RP/RM}].W.D;
- XVFTINT[{RNE/RZ/RP/RM}]{L/H}.L.S;
- XVFFINT.{S.W/D.L}[U];
- X[CVFFINT.S.L, VFFINT{L/H}.D.W.
Signed-off
Reviewed-by: Richard Henderson
Signed-off-by: Song Gao
Message-Id: <20230914022645.1151356-13-gaos...@loongson.cn>
---
target/loongarch/cpu.h | 2 ++
target/loongarch/cpu.c | 2 ++
target/loongarch/insn_trans/trans_vec.c.inc | 6 ++
3 files changed,
Renamed lsx_helper.c to vec_helper.c and trans_lsx.c.inc to trans_vec.c.inc
So LASX can used them.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-2-gaos...@loongson.cn>
---
target/loongarch/translate.c| 2 +-
target
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-8-gaos...@loongson.cn>
---
target/loongarch/helper.h | 118 +++---
target/loongarch/vec_helper.c | 161 +++-
target/loongarch/insn_trans/trans_vec.c.
This patch includes:
- XVFRSTP[I].{B/H}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-46-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 5
target/loongarch/disas.c| 5
target/loongarch/vec_help
This patch includes:
- XVSLL[I].{B/H/W/D};
- XVSRL[I].{B/H/W/D};
- XVSRA[I].{B/H/W/D};
- XVROTR[I].{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-36-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 33 +
This patch includes:
- XVMAX[I].{B/H/W/D}[U];
- XVMIN[I].{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-25-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 36 +
target/loongarch/disas.c
This patch includes:
- XVSEQ[I].{B/H/W/D};
- XVSLE[I].{B/H/W/D}[U];
- XVSLT[I].{B/H/W/D/}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-49-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 43
target/loongarch/disas.c
This patch includes:
- XVINSGR2VR.{W/D};
- XVPICKVE2GR.{W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-52-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 7 +
target/loongarch/disas.c| 17 ++
targ
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-5-gaos...@loongson.cn>
---
target/loongarch/helper.h | 2 +-
target/loongarch/vec_helper.c | 11 +--
target/loongarch/insn_trans/trans_vec.c.inc | 22 --
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-14-gaos...@loongson.cn>
---
target/loongarch/translate.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/loongarch/translate.h b/target/loongarch/translate.h
index 89b49a859e..195f53573a 100644
This patch includes:
- XVSIGNCOV.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-32-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 5 +
target/loongarch/disas.c| 5 +
target/loongarch/insn_
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-9-gaos...@loongson.cn>
---
target/loongarch/helper.h | 58 -
target/loongarch/vec_helper.c | 124 ++--
target/loongarch/insn_trans/trans_vec.c.inc |
This patch includes:
- XVLDI.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-34-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 2 ++
target/loongarch/disas.c| 7 +++
target/loongarch/insn_trans/trans_v
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-10-gaos...@loongson.cn>
---
target/loongarch/helper.h | 146 +++
target/loongarch/vec_helper.c | 445 +---
target/loongarch/insn_trans/trans_vec.c.inc |
This patch includes:
- XV{AND/OR/XOR/NOR/ANDN/ORN}.V;
- XV{AND/OR/XOR/NOR}I.B.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-35-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 12 +++
target/loongarch/disas.c
This patch includes:
- XVNEG.{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-18-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 5 +
target/loongarch/disas.c| 10 ++
target/loongarch/in
This patch includes:
- XVSSRLRN.{B.H/H.W/W.D};
- XVSSRARN.{B.H/H.W/W.D};
- XVSSRLRN.{BU.H/HU.W/WU.D};
- XVSSRARN.{BU.H/HU.W/WU.D};
- XVSSRLRNI.{B.H/H.W/W.D/D.Q};
- XVSSRARNI.{B.H/H.W/W.D/D.Q};
- XVSSRLRNI.{BU.H/HU.W/WU.D/DU.Q};
- XVSSRARNI.{BU.H/HU.W/WU.D/DU.Q}.
Signed-off-by: Song Gao
Reviewed-b
This patch includes:
- XVBITCLR[I].{B/H/W/D};
- XVBITSET[I].{B/H/W/D};
- XVBITREV[I].{B/H/W/D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-45-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 27 +
target/loongarch
This patch includes:
- XVADDI.{B/H/W/D}U;
- XVSUBI.{B/H/W/D}U.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-17-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 9 ++
target/loongarch/disas.c| 14 +++
This patch includes:
- XVDIV.{B/H/W/D}[U];
- XVMOD.{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-28-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 17 +
target/loongarch/disas.c
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-4-gaos...@loongson.cn>
---
target/loongarch/helper.h | 16 +-
target/loongarch/vec_helper.c | 12 +++
target/loongarch/insn_trans/trans_vec.c.inc | 35 ++
This patch includes:
- XVSLLWIL.{H.B/W.H/D.W};
- XVSLLWIL.{HU.BU/WU.HU/DU.WU};
- XVEXTL.Q.D, VEXTL.QU.DU.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-37-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 9 +
target/loongar
This patch includes:
- XVSAT.{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-29-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 9
target/loongarch/disas.c| 9
target/loongarch/vec_he
This patch includes:
- XVSADD.{B/H/W/D}[U];
- XVSSUB.{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-19-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 18 ++
target/loongarch/disas.c
This patch includes:
- XVHADDW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU};
- XVHSUBW.{H.B/W.H/D.W/Q.D/HU.BU/WU.HU/DU.WU/QU.DU}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-20-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 18
This patch includes:
- XVADD.{B/H/W/D/Q};
- XVSUB.{B/H/W/D/Q}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-15-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 14 +++
target/loongarch/disas.c| 23 +
t
Create gvec_*_vl functions in order to hide oprsz.
This is used by gvec_v* functions for oprsz 16,
and will be used by gvec_x* functions for oprsz 32.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-3-gaos...@loongson.cn>
---
target/loongarch/insn_tran
The following changes since commit 4907644841e3200aea6475c0f72d3d987e9f3d93:
Merge tag 'mem-2023-09-19' of https://github.com/davidhildenbrand/qemu into
staging (2023-09-19 13:22:19 -0400)
are available in the Git repository at:
https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-202309
This patch includes:
- XVMUL.{B/H/W/D};
- XVMUH.{B/H/W/D}[U];
- XVMULW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVMULW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-26-gaos...@loongson.cn>
---
target/loongarch/insns.decode
This patch includes:
- XVABSD.{B/H/W/D}[U].
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-23-gaos...@loongson.cn>
---
target/loongarch/insns.decode | 9 +
target/loongarch/disas.c| 9 +
target/loongar
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-6-gaos...@loongson.cn>
---
target/loongarch/helper.h | 48 +++
target/loongarch/vec_helper.c | 50
target/loongarch/insn_trans/trans_vec.c.inc |
This patch includes:
- XVADDW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVSUBW{EV/OD}.{H.B/W.H/D.W/Q.D}[U];
- XVADDW{EV/OD}.{H.BU.B/W.HU.H/D.WU.W/Q.DU.D}.
Signed-off-by: Song Gao
Reviewed-by: Richard Henderson
Message-Id: <20230914022645.1151356-21-gaos...@loongson.cn>
---
target/loongarch/insns.decode
Hi Lingshan,
On 2023/9/20 13:59, Zhu, Lingshan wrote:
>
>
> On 9/19/2023 8:31 PM, Michael S. Tsirkin wrote:
>> On Tue, Sep 19, 2023 at 07:42:42PM +0800, Jiqian Chen wrote:
>>> When guest vm does S3, Qemu will reset and clear some things of virtio
>>> devices, but guest can't aware that, so that
On Wed, Sep 20, 2023 at 01:54:03PM +0800, Akihiko Odaki wrote:
> On 2023/09/20 14:50, Huang Rui wrote:
> > On Sat, Sep 16, 2023 at 12:37:29AM +0800, Akihiko Odaki wrote:
> >> On 2023/09/16 1:04, Akihiko Odaki wrote:
> >>> On 2023/09/15 20:11, Huang Rui wrote:
> From: Antonio Caggiano
>
>
On 9/19/2023 8:31 PM, Michael S. Tsirkin wrote:
On Tue, Sep 19, 2023 at 07:42:42PM +0800, Jiqian Chen wrote:
When guest vm does S3, Qemu will reset and clear some things of virtio
devices, but guest can't aware that, so that may cause some problems.
For excample, Qemu calls virtio_reset->virt
On Sat, Sep 16, 2023 at 12:37:29AM +0800, Akihiko Odaki wrote:
> On 2023/09/16 1:04, Akihiko Odaki wrote:
> > On 2023/09/15 20:11, Huang Rui wrote:
> >> From: Antonio Caggiano
> >>
> >> Support BLOB resources creation, mapping and unmapping by calling the
> >> new stable virglrenderer 0.10 interfa
On 2023/09/20 14:50, Huang Rui wrote:
On Sat, Sep 16, 2023 at 12:37:29AM +0800, Akihiko Odaki wrote:
On 2023/09/16 1:04, Akihiko Odaki wrote:
On 2023/09/15 20:11, Huang Rui wrote:
From: Antonio Caggiano
Support BLOB resources creation, mapping and unmapping by calling the
new stable virglren
19.09.2023 12:34, Jonathan Cameron via wrote:
Establishing that only register accesses of size 4 and 8 can occur
using these functions requires looking at their callers. Make it
easier to see that by using switch statements.
Assertions are used to enforce that the register storage is of the
match
19.09.2023 13:19, Jonathan Cameron via wrote:
v2:
- Tag collection.
- Patch 2 discussion on appropriate license concluded that this should
have originally only been accepted on GPL-v2 and later. However, I've
left it as GPL-v2-only as that is what was used for other CXL files and
Hi Michael S. Tsirkin,
On 2023/9/19 20:31, Michael S. Tsirkin wrote:
> On Tue, Sep 19, 2023 at 07:42:42PM +0800, Jiqian Chen wrote:
>> When guest vm does S3, Qemu will reset and clear some things of virtio
>> devices, but guest can't aware that, so that may cause some problems.
>> For excample, Qe
Hi!
I'm in somewhat doubt what to do with 8.1.1 release.
There are 2 compelling issues, fixing one discovers the other.
https://gitlab.com/qemu-project/qemu/-/issues/1864
"x86 VM with TCG and SMP fails to start on 8.1.0"
is fixed by 0d58c660689f "softmmu: Use async_run_on_cpu in tcg_commit"
Bu
> From: Chen, Jiqian
> Sent: Wednesday, September 20, 2023 9:28 AM
> >> For above purpose, we need a mechanism that allows guests and QEMU to
> >> negotiate their reset behavior. So this patch add a new parameter
> >> named
> > Freeze != reset. :)
> > Please fix it to say freeze or suspend.
> B
Hi Parav,
On 2023/9/19 20:10, Parav Pandit wrote:
> Hi Jiqian,
>
>> From: Jiqian Chen
>> Sent: Tuesday, September 19, 2023 5:13 PM
>>
>> When guest vm does S3, Qemu will reset and clear some things of virtio
>> devices, but guest can't aware that, so that may cause some problems.
> It is not tru
>-Original Message-
>From: Cédric Le Goater
>Sent: Wednesday, September 20, 2023 1:08 AM
>Subject: Re: [PATCH v1 15/22] Add iommufd configure option
>
>On 8/30/23 12:37, Zhenzhong Duan wrote:
>> This adds "--enable-iommufd/--disable-iommufd" to enable or disable
>> iommufd support, enabl
>-Original Message-
>From: Cédric Le Goater
>Sent: Wednesday, September 20, 2023 12:01 AM
>Subject: Re: [PATCH v1 14/22] vfio/common: Simplify vfio_viommu_preset()
>
>On 8/30/23 12:37, Zhenzhong Duan wrote:
>> Commit "vfio/container-base: Introduce [attach/detach]_device container
>callb
On Tue, Sep 19, 2023 at 07:47:09PM +, Bernhard Beschow wrote:
>
>
> Am 8. September 2023 08:42:26 UTC schrieb Bernhard Beschow
> :
> >This series contains changes from my effort to bring the VIA south bridges to
> >
> >the PC machine [1]. The first part of the series resolves the
> >
> >Acpi
Hi pbonzini:
please take some to review this patch. It fixes
autoconverge migration issue for heavy memory dirty
pages. Any comment will be welcome, Thx.
On 2023/9/18 11:29, alloc.yo...@outlook.com wrote:
From: alloc
During migrations, vcpu may run longer than 10ms and not exit
on time. I
On 9/19/2023 5:46 PM, Markus Armbruster wrote:
Xiaoyao Li writes:
From: Isaku Yamahata
Add a new property "private" to memory backends. When it's set to true,
it indicates the RAMblock of the backend also requires kvm gmem.
Can you add a brief explanation why you need the property?
It pr
Adds migration support for Branch History Rolling
Buffer (BHRB) internal state.
Signed-off-by: Glenn Miles
---
target/ppc/machine.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/target/ppc/machine.c b/target/ppc/machine.c
index d42e475bfb..ba328ad5e2 100644
--- a/tar
This commit is preparatory to the addition of Branch History
Rolling Buffer (BHRB) functionality, which is being provided
today starting with the P8 processor.
BHRB uses several SPR register fields to control whether or not
a branch instruction's address (and sometimes target address)
should be re
Add support for the clrbhrb and mfbhrbe instructions.
Since neither instruction is believed to be critical to
performance, both instructions were implemented using helper
functions.
Access to both instructions is controlled by bits in the
HFSCR (for privileged state) and MMCR0 (for problem state)
On 2023-09-14 20:20, Nicholas Piggin wrote:
On Wed Sep 13, 2023 at 6:25 AM AEST, Glenn Miles wrote:
Adds migration support for Branch History Rolling
Buffer (BHRB) internal state.
Signed-off-by: Glenn Miles
---
target/ppc/machine.c | 23 +++
1 file changed, 23 insertions(+
This commit continues adding support for the Branch History
Rolling Buffer (BHRB) as is provided starting with the P8
processor and continuing with its successors. This commit
is limited to the recording and filtering of taken branches.
The following changes were made:
- Added a BHRB buffer fo
This is a series of patches for adding support for the Branch History
Rolling Buffer (BHRB) facility. This was added to the Power ISA
starting with version 2.07. Changes were subsequently made in version
3.1 to limit BHRB recording to instructions run in problem state only
and to add a control bi
On 2023/09/19 23:21, Xenia Ragiadakou wrote:
On 19/9/23 13:44, Akihiko Odaki wrote:
On 2023/09/19 19:28, Xenia Ragiadakou wrote:
On 15/9/23 18:11, Akihiko Odaki wrote:
On 2023/09/15 20:11, Huang Rui wrote:
From: Xenia Ragiadakou
When the memory region has a different life-cycle from that
On 2023/09/20 3:36, Bernhard Beschow wrote:
Am 15. September 2023 02:38:02 UTC schrieb Gurchetan Singh
:
On Thu, Sep 14, 2023 at 12:23 AM Bernhard Beschow wrote:
Am 14. September 2023 04:38:51 UTC schrieb Gurchetan Singh <
gurchetansi...@chromium.org>:
On Wed, Sep 13, 2023 at 4:58 AM Be
On 2023-09-14 20:13, Nicholas Piggin wrote:
On Wed Sep 13, 2023 at 6:24 AM AEST, Glenn Miles wrote:
Add support for the clrbhrb and mfbhrbe instructions.
Since neither instruction is believed to be critical to
performance, both instructions were implemented using helper
functions.
Access to bo
On 2023-09-14 20:02, Nicholas Piggin wrote:
On Wed Sep 13, 2023 at 6:24 AM AEST, Glenn Miles wrote:
This commit continues adding support for the Branch History
Rolling Buffer (BHRB) as is provided starting with the P8
processor and continuing with its successors. This commit
is limited to the r
On 2023-09-14 19:39, Nicholas Piggin wrote:
On Wed Sep 13, 2023 at 6:23 AM AEST, Glenn Miles wrote:
This commit is preparatory to the addition of Branch History
Rolling Buffer (BHRB) functionality, which is being provided
today starting with the P8 processor.
BHRB uses several SPR register fiel
Hi Alistair,
> It would be great to get a strace of the failure to narrow down what
> it is. From there it should be not too hard to find and fix.
thanks a lot. Here's as much info as I could get with strace mechanisms.
1) What I did, without any tracing
pinacolada ~ # qemu-riscv32 -L /var/lib
On 9/6/23 21:35, Gavin Shan wrote:
For target/riscv, the CPU type name is always the combination of the
CPU model name and suffix. The CPU model names have been correctly
shown in riscv_cpu_list_entry() and riscv_cpu_add_definition()
Use generic helper cpu_mdoel_from_type() to show the CPU mo
Example output lacks double quotes. Fix it.
Fixes: 4cda177c60 "qmp: add 'get-win32-socket'"
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/misc.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/misc.json b/qapi/mis
Example output has a comment embedded in the array. Remove it.
The end result is a list of size 2.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
---
qapi/ui.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/qapi/ui.json b/qapi/ui.json
index 006616aa77..6ed3
Example output has several missing commas. Add them.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/block-core.json | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/qapi/block-core.json b/
Example output has property name with single quotes. Fix it.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/migration.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/migration.json b/qapi/migration.json
index 265
Example output has extra end curly bracket. Switch with comma.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/machine.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/machine.json b/qapi/machine.json
index a08b657
This generator has two goals:
1. Mechanical validation of QAPI examples
2. Generate the examples in a JSON format to be consumed for extra
validation.
The generator iterates over every Example section, parsing both server
and client messages. The generator prints any inconsistency found, for
Example output was using single quotes. Fix it.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/net.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/qapi/net.json b/qapi/net.json
index 313c8a606e..81988e499a 10064
Example output has extra end curly bracket. Remove it.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/migration.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/migration.json b/qapi/migration.json
index 9385b9f87
Example output has extra end curly bracket. Remove it.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
Reviewed-by: Markus Armbruster
---
qapi/migration.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/migration.json b/qapi/migration.json
index 8843e74b5
Example output has a comment embedded in the array. Remove it.
The end result is a list of size 1.
Signed-off-by: Victor Toso
Reviewed-by: Daniel P. Berrangé
---
qapi/rocker.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/qapi/rocker.json b/qapi/rocker.json
index 31ce
Hi,
v2: https://lists.gnu.org/archive/html/qemu-devel/2023-09/msg02383.html
- Sorry Markus, I kept the two last 'fix example' patches as I don't
fully remember how we should go with it. Not taking them but taking
the generator would be bad as we would fail the build.
- Removed the meson flag
On Tue, 19 Sept 2023 at 06:26, Kevin Wolf wrote:
> Am 18.09.2023 um 20:56 hat Stefan Hajnoczi geschrieben:
> If we could fully get rid of the AioContext lock (as we originally
> stated as a goal), that would automatically solve this kind of
> deadlocks.
Grepping for "ctx locked", "context acquire
From: Hao Wu
This patch implements the basic registers of GMAC device. Actual network
communications are not supported yet.
Signed-off-by: Hao Wu
include/hw: Fix type problem in NPCMGMACState
- Fix type problem in NPCMGMACState
- Fix Register Initalization which was breaking boot-up in driver
1 - 100 of 349 matches
Mail list logo