Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S | 2 ++ 1 file changed, 2 insertions(+)
Fixed the bug of slave cpu querying MAILBUF register address.
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Bibo Mao <maobibo@loongson.cn>
Cc: Chao Li <lichao@loongson.cn>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Signed-off-by: xianglai li <lixianglai@loongson.cn>
---
Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S b/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S
index 5d7ce313c0..8fb1b416f6 100644
--- a/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S
+++ b/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S
@@ -56,6 +56,8 @@ slave_main:
li.d T1, LOONGSON_IOCSR_IPI_EN
iocsrwr.w T0, T1
+ li.d T1, LOONGSON_CSR_MAIL_BUF0
+
1:
# wait for wakeup
idle 0
--
2.31.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#102227): https://edk2.groups.io/g/devel/message/102227
Mute This Topic: https://groups.io/mt/97965819/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: Chao Li <lichao@loongson.cn> Thanks, Chao 在 2023/3/31 10:30, xianglai 写道: > Fixed the bug of slave cpu querying MAILBUF register address. > > Cc: Ard Biesheuvel<ardb+tianocore@kernel.org> > Cc: Bibo Mao<maobibo@loongson.cn> > Cc: Chao Li<lichao@loongson.cn> > Cc: Leif Lindholm<quic_llindhol@quicinc.com> > Cc: Liming Gao<gaoliming@byosoft.com.cn> > Cc: Michael D Kinney<michael.d.kinney@intel.com> > Signed-off-by: xianglai li<lixianglai@loongson.cn> > --- > Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S b/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S > index 5d7ce313c0..8fb1b416f6 100644 > --- a/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S > +++ b/Platform/Loongson/LoongArchQemuPkg/Sec/LoongArch64/Start.S > @@ -56,6 +56,8 @@ slave_main: > li.d T1, LOONGSON_IOCSR_IPI_EN > iocsrwr.w T0, T1 > > + li.d T1, LOONGSON_CSR_MAIL_BUF0 > + > 1: > # wait for wakeup > idle 0 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#102791): https://edk2.groups.io/g/devel/message/102791 Mute This Topic: https://groups.io/mt/97965819/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2024 Red Hat, Inc.