* 回复: Re: [PATCH] kvm: fix gpu passthrough into vm on arm64
@ 2022-03-25 1:06 谢明
2022-03-25 13:06 ` Marc Zyngier
0 siblings, 1 reply; 4+ messages in thread
From: 谢明 @ 2022-03-25 1:06 UTC (permalink / raw)
To: Marc Zyngier; +Cc: linux-kernel, christoffer.dall, linux-arm-kernel, kvmarm
[-- Attachment #1: Type: text/html, Size: 5822 bytes --]
[-- Attachment #2: Type: text/plain, Size: 151 bytes --]
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 回复: Re: [PATCH] kvm: fix gpu passthrough into vm on arm64
2022-03-25 1:06 回复: Re: [PATCH] kvm: fix gpu passthrough into vm on arm64 谢明
2022-03-25 13:06 ` Marc Zyngier
@ 2022-03-25 13:06 ` Marc Zyngier
0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2022-03-25 13:06 UTC (permalink / raw)
To: 谢明; +Cc: linux-kernel, christoffer.dall, linux-arm-kernel, kvmarm
On Fri, 25 Mar 2022 01:06:17 +0000,
谢明 <xieming@kylinos.cn> wrote:
>
> thanks for your reply !
> you are right, 'If the device supports NORMAL_NC, this should
> be known by the host kernel and exposed to KVM', accordding the kvm
> combining rules on arm64, stage1 is setting to NORMAL_NC, so can
> we add a conditional judement when ioremapping on stage2, if the
> device suppurt NORMAL_NC we setting the memory attribute to
> PAGE_S2_NC ?
The question remains: how do you convey that capability to the host?
There is nothing currently telling KVM what memory type to use.
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 回复: Re: [PATCH] kvm: fix gpu passthrough into vm on arm64
@ 2022-03-25 13:06 ` Marc Zyngier
0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2022-03-25 13:06 UTC (permalink / raw)
To: 谢明; +Cc: christoffer.dall, kvmarm, linux-arm-kernel, linux-kernel
On Fri, 25 Mar 2022 01:06:17 +0000,
谢明 <xieming@kylinos.cn> wrote:
>
> thanks for your reply !
> you are right, 'If the device supports NORMAL_NC, this should
> be known by the host kernel and exposed to KVM', accordding the kvm
> combining rules on arm64, stage1 is setting to NORMAL_NC, so can
> we add a conditional judement when ioremapping on stage2, if the
> device suppurt NORMAL_NC we setting the memory attribute to
> PAGE_S2_NC ?
The question remains: how do you convey that capability to the host?
There is nothing currently telling KVM what memory type to use.
M.
--
Without deviation from the norm, progress is not possible.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 回复: Re: [PATCH] kvm: fix gpu passthrough into vm on arm64
@ 2022-03-25 13:06 ` Marc Zyngier
0 siblings, 0 replies; 4+ messages in thread
From: Marc Zyngier @ 2022-03-25 13:06 UTC (permalink / raw)
To: 谢明; +Cc: christoffer.dall, kvmarm, linux-arm-kernel, linux-kernel
On Fri, 25 Mar 2022 01:06:17 +0000,
谢明 <xieming@kylinos.cn> wrote:
>
> thanks for your reply !
> you are right, 'If the device supports NORMAL_NC, this should
> be known by the host kernel and exposed to KVM', accordding the kvm
> combining rules on arm64, stage1 is setting to NORMAL_NC, so can
> we add a conditional judement when ioremapping on stage2, if the
> device suppurt NORMAL_NC we setting the memory attribute to
> PAGE_S2_NC ?
The question remains: how do you convey that capability to the host?
There is nothing currently telling KVM what memory type to use.
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-25 13:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 1:06 回复: Re: [PATCH] kvm: fix gpu passthrough into vm on arm64 谢明
2022-03-25 13:06 ` Marc Zyngier
2022-03-25 13:06 ` Marc Zyngier
2022-03-25 13:06 ` Marc Zyngier
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.