Hi Lorenzo,
From: Lorenzo Pieralisi lorenzo.pieralisi@linaro.org Sent: Tuesday, August 29, 2023 1:11 PM To: Salil Mehta salil.mehta@opnsrc.net Cc: Joyce Qi joyce.qi@linaro.org; Salil Mehta salil.mehta@huawei.com; James Morse via Linaro-open-discussions <linaro-open-discussions@op- lists.linaro.org>; Jonathan Cameron jonathan.cameron@huawei.com; James Morse james.morse@arm.com Subject: Re: About the LOD next week (Aug 22th)
On Tue, 29 Aug 2023 at 13:13, Salil Mehta salil.mehta@opnsrc.net wrote:
Hi Joyce, Jonathan just intimated me about the LOD call for the vCPU Hotplug being
conducted now. I did not receive the invite. Could you please share the link?
I could not really follow the question related to SBSA/QEmu compliance, if you could summarize it and post it on this mailing list that would be great.
Yes, sure. We have made certain workarounds within the Qemu to get over the limitations posed by the Arm architecture. These are primarily related to the VGIC initialization like redistributors, GIC CPU Interfaces and creation of the vcpus itself.
Qemu has to create and initialize all of these within KVM for all of the 'possible vcpus' during initialization. This can only be done only once. Hence, we create all the KVM VCPUs, KVM VGIC redistributors etc. once during initialization. Qemu has got representation of these in its model/QOM as well.
Once we bring the concept of hot-unplugging of vCPUs, we should *ideally* destroy all the related objects in the model/QOM. Architecture wise, of course this is not allowed.
we only destroy the vcpu objects in the QOM but their related GIC components like redistributors, GIC CPU interfaces are always kept initialized. These GIC CPU Interface or GICV3CPUState objects kind of remain in disconnected state with their absent vcpu objects in the QOM. When these absent vcpus get hotplugged later and their vcpu objects get created (and initialized at the KVM) again in the QOM then they are connected back to the GIC CPU Interface i.e. GICV3CPUState objects. Similarly, for a vcpu hot-unplug a reverse action takes place. This workaround is not very clean design wise but works.
As per the architecture GIC CPU Interfaces and the CPUs are physically tied up together and as I understand, there is no way to power down either of these components. Above discussed model behavior as not what architecture would expect.
Hence, I thought to raise the point about this to check if this in any way will affect qemu-sbsa.
Thanks Salil.
Thanks, Lorenzo
Thanks Salil
On Mon, Aug 21, 2023 at 2:09 PM Joyce Qi joyce.qi@linaro.org wrote:
Hi Lorenzo, Salil,
Thanks for the feedback.
@Salil,
Yeah, we can postpone the meeting to next week if more people are
available.
Thanks Joyce
在 2023年8月21日,下午5:51,Salil Mehta salil.mehta@huawei.com 写道:
Hi Joyce, Thanks for the reminder. I am totally tied up this week (and many other
team members including Jonathan are on
annual leaves as well). Is it possible to have meeting for vCPU Hotplug
Sync up next week - if others are okay with it?
Many thanks Salil From: Joyce Qi joyce.qi@linaro.org Sent: Sunday, August 20, 2023 4:00 AM To: Salil Mehta salil.mehta@huawei.com Cc: James Morse via Linaro-open-discussions <linaro-open-discussions@op-
lists.linaro.org>; Jonathan Cameron jonathan.cameron@huawei.com; James Morse james.morse@arm.com; Lorenzo Pieralisi lorenzo.pieralisi@linaro.org
Subject: About the LOD next week (Aug 22th)
Hi all,
Do we have any topics to discuss next week?
Thanks:) Joyce
在 2023年7月25日,上午7:12,Joyce Qi joyce.qi@linaro.org 写道:
Hi Salil,
Thanks for the feedback, cancelled today’s meeting already.
Joyce
在 2023年7月24日,下午4:28,Salil Mehta salil.mehta@huawei.com 写道:
Hi Joyce, No problem. I have nothing specific to discuss as part of the LOD
meeting. I think James is on holidays.
Thanks Salil
From: Joyce Qi joyce.qi@linaro.org Sent: Sunday, July 23, 2023 2:54 AM To: James Morse via Linaro-open-discussions <linaro-open-discussions@op-
lists.linaro.org>; Jonathan Cameron jonathan.cameron@huawei.com; Salil Mehta salil.mehta@huawei.com; James Morse james.morse@arm.com; Lorenzo Pieralisi lorenzo.pieralisi@linaro.org
Subject: Re: Linaro-open-discussions Digest, Vol 34, Issue 3
Hi all,
By the way, Salil has shared the (Qemu+kernel)slides(recording links
inside)related to the “Virtual CPU Hotplug" presented in the KVM Forum 2023 Conference,
The slides has been uploaded to here for reference:
https://linaro.atlassian.net/wiki/spaces/LOD/pages/28933292085/2023-06-
07+Meeting+Minutes+Notes
Thanks Salil for sharing:)
Joyce
在 2023年7月21日,上午9:15,Joyce Qi joyce.qi@linaro.org 写道:
Hi Jonathan,James,Salil,all
Any topics we want to sync during next LOD meeting?
Thanks:) Joyce
在 2023年7月13日,上午8:00,linaro-open-discussions-request@op-
lists.linaro.org 写道:
Send Linaro-open-discussions mailing list submissions to linaro-open-discussions@op-lists.linaro.org
To subscribe or unsubscribe via email, send a message with subject or body 'help' to linaro-open-discussions-request@op-lists.linaro.org
You can reach the person managing the list at linaro-open-discussions-owner@op-lists.linaro.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Linaro-open-discussions digest..."
Today's Topics:
- Re: FYI: KVMForum2023 Conference Talk slides - "Virtual CPU Hotplug
Support on ARM64"
(Joyce Qi) 2. Re: Linaro-open-discussions Digest, Vol 33, Issue 19 (Yicong Yang) 3. FYI: KVMForum2023 Conference Talk slides - "Virtual CPU Hotplug
Support on ARM64"
(Salil Mehta) 4. Re: [PATCH V3 1/1] qemu_v8: add support to run secondary OP-TEE (Shiju Jose)
Message: 1 Date: Wed, 12 Jul 2023 10:06:24 +0800 From: Joyce Qi joyce.qi@linaro.org Subject: [Linaro-open-discussions] Re: FYI: KVMForum2023 Conference Talk slides - "Virtual CPU Hotplug Support on ARM64" To: Salil Mehta salil.mehta@huawei.com Cc: "linaro-open-discussions@op-lists.linaro.org" linaro-open-discussions@op-lists.linaro.org,
"james.morse@arm.com"
<james.morse@arm.com>, Jean-Philippe Brucker <jean-philippe.brucker@arm.com>,
"lorenzo.pieralisi@linaro.org"
<lorenzo.pieralisi@linaro.org>, Lorenzo Pieralisi <lpieralisi@kernel.org>, zhukeqian
"wangxiongfeng (C)" <wangxiongfeng2@huawei.com>, Miguel
Luis
<miguel.luis@oracle.com>, Vishnu Pajjuri <vishnu@amperemail.onmicrosoft.com>, "darren@amperemail.onmicrosoft.com" <darren@amperemail.onmicrosoft.com>, "ilkka@amperemail.onmicrosoft.com"
ilkka@amperemail.onmicrosoft.com,
Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <maz@kernel.org>, Will Deacon <will@kernel.org>, Karl
Heubaum
<karl.heubaum@oracle.com>, Russell King
"salil.mehta@opnsrc.net" <salil.mehta@opnsrc.net>, Peter
Maydell
<peter.maydell@linaro.org>, Sudeep Holla
Suzuki K Poulose <suzuki.poulose@arm.com>
Message-ID: AB9B6479-BAA8-4976-B670-757B461A3B7E@linaro.org Content-Type: text/plain; charset=gb2312
Hi Salil,
Thanks for sharing, uploaded to the meeting minutes on June 7.
https://linaro.atlassian.net/wiki/spaces/LOD/pages/28933292085/2023-06-
07+Meeting+Minutes+Notes
在 2023年7月12日,上午2:22,Salil Mehta salil.mehta@huawei.com 写道:
Hello, Slides (Qemu + Kernel) and video related to our "Virtual CPU Hotplug
presentation" recently concluded
at KVMForum2023 Conference are now available at the below link:
Link: https://kvm-forum.qemu.org/2023/talk/9SMPDQ/
Many thanks to everyone who has contributed to the project so far!
Best regards Salil
<KVMForum2023-virtual-cpu-hotplug-kernel-slides.pdf><KVMForum2023-
virtual-cpu-hotplug-qemu-slides.pdf>
Thanks:) Joyce
Message: 2 Date: Tue, 11 Jul 2023 20:28:19 +0800 From: Yicong Yang yangyicong@huawei.com Subject: [Linaro-open-discussions] Re: Linaro-open-discussions Digest, Vol 33, Issue 19 To: Joyce Qi joyce.qi@linaro.org, Lorenzo Pieralisi lorenzo.pieralisi@linaro.org Cc: yangyicong@hisilicon.com, James Morse james.morse@arm.com, James Morse via Linaro-open-discussions linaro-open-discussions@op-lists.linaro.org, "wangkefeng.wang@huawei.com" wangkefeng.wang@huawei.com,
tanxiaofei
<tanxiaofei@huawei.com>, tongtiangen@huawei.com
Message-ID: b00be3fe-968f-5116-2711-ad77a4ea7f71@huawei.com Content-Type: text/plain; charset="gbk"
Hi,
Thanks for organizing the meeting and thanks for the discussion.
Attached the material talked
on the meeting as well as the meeting minutes at the last.
Thanks, Yicong
On 2023/7/10 23:03, Joyce Qi wrote:
Hi Lorenzo,
Thanks for attending and invite James to join. Just resend the calendar.
Also invited Yicong to join.
Thanks:) Joyce
在 2023年7月10日,下午10:34,Lorenzo Pieralisi
lorenzo.pieralisi@linaro.org 写道:
On Mon, 10 Jul 2023 at 16:32, Lorenzo Pieralisi lorenzo.pieralisi@linaro.org wrote:
On Mon, 10 Jul 2023 at 16:24, Joyce Qi via Linaro-open-discussions linaro-open-discussions@op-lists.linaro.org wrote:
Hi all,
Just reminder that we will have the Open Discussion on July 11th on the
memory and RAS related topics.
@James, Lorenz,
Will you be able to join?
Is it possible please to resend a calendar invite ?
Thanks, Lorenzo
Yes, I will - I CC'ed James, hopefully also the Huawei folks will be
there
otherwise there is no point since they raised the topics.
Please let us know, Lorenzo
.
Message: 3 Date: Tue, 11 Jul 2023 18:22:04 +0000 From: Salil Mehta salil.mehta@huawei.com Subject: [Linaro-open-discussions] FYI: KVMForum2023 Conference Talk slides - "Virtual CPU Hotplug Support on ARM64" To: "linaro-open-discussions@op-lists.linaro.org" linaro-open-discussions@op-lists.linaro.org, Joyce Qi joyce.qi@linaro.org Cc: "james.morse@arm.com" james.morse@arm.com, Jean-Philippe Brucker jean-philippe.brucker@arm.com,
"lorenzo.pieralisi@linaro.org"
<lorenzo.pieralisi@linaro.org>, Lorenzo Pieralisi <lpieralisi@kernel.org>, zhukeqian
"wangxiongfeng (C)" <wangxiongfeng2@huawei.com>, Miguel
Luis
<miguel.luis@oracle.com>, Vishnu Pajjuri <vishnu@amperemail.onmicrosoft.com>, "darren@amperemail.onmicrosoft.com" <darren@amperemail.onmicrosoft.com>, "ilkka@amperemail.onmicrosoft.com"
ilkka@amperemail.onmicrosoft.com,
Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <maz@kernel.org>, Will Deacon <will@kernel.org>, Karl
Heubaum
<karl.heubaum@oracle.com>, Russell King
"salil.mehta@opnsrc.net" <salil.mehta@opnsrc.net>, Peter
Maydell
<peter.maydell@linaro.org>, Sudeep Holla
Suzuki K Poulose <suzuki.poulose@arm.com>
Message-ID: 42340fd4b86747809a955c81fe6be8b5@huawei.com Content-Type: text/plain; charset="us-ascii"
Hello, Slides (Qemu + Kernel) and video related to our "Virtual CPU Hotplug
presentation" recently concluded
at KVMForum2023 Conference are now available at the below link:
Link: https://kvm-forum.qemu.org/2023/talk/9SMPDQ/
Many thanks to everyone who has contributed to the project so far!
Best regards Salil
Message: 4 Date: Wed, 12 Jul 2023 10:17:11 +0000 From: Shiju Jose shiju.jose@huawei.com Subject: [Linaro-open-discussions] Re: [PATCH V3 1/1] qemu_v8: add support to run secondary OP-TEE To: Jens Wiklander jens.wiklander@linaro.org Cc: "linaro-open-discussions@op-lists.linaro.org" linaro-open-discussions@op-lists.linaro.org, "Olivier.Deprez@arm.com" Olivier.Deprez@arm.com,
Linuxarm
<linuxarm@huawei.com>, "zhouguangwei (C)"
Message-ID: d550a78261ec447f8b2d8c62e92ab584@huawei.com Content-Type: text/plain; charset="utf-8"
Hi Jens,
-----Original Message----- From: Jens Wiklander jens.wiklander@linaro.org Sent: 11 July 2023 10:02 To: Shiju Jose shiju.jose@huawei.com Cc: linaro-open-discussions@op-lists.linaro.org; Olivier.Deprez@arm.com; Linuxarm linuxarm@huawei.com; Jonathan Cameron jonathan.cameron@huawei.com; Zengtao (B) prime.zeng@hisilicon.com; zhouguangwei (C) zhouguangwei5@huawei.com Subject: Re: [PATCH V3 1/1] qemu_v8: add support to run secondary OP-TEE
Hi,
On Mon, Jun 26, 2023 at 1:13 PM shiju.jose@huawei.com wrote:
From: Shiju Jose shiju.jose@huawei.com
Add changes to run a secondary OP-TEE at S-EL1 for SPMC_AT_EL=2, where Hafnium is loaded at S-EL2.
Signed-off-by: Shiju Jose shiju.jose@huawei.com
With https://github.com/OP-TEE/build/pull/663 I'm trying to upstream the Hafnium setup. Once that's merged please create a pull request against https://github.com/OP-TEE/build and we can continue reviewing this patch there.
Sure.
Thanks, Shiju
Thanks, Jens
...
2.25.1
Subject: Digest Footer
Linaro-open-discussions mailing list -- linaro-open-discussions@op-
lists.linaro.org
To unsubscribe send an email to linaro-open-discussions-leave@op-
lists.linaro.org
End of Linaro-open-discussions Digest, Vol 34, Issue 3