Re: [RFC] Use SMMU HTTU for DMA dirty page tracking

2020-05-27 Thread Xiang Zheng
On 2020/5/27 11:27, Tian, Kevin wrote: >> From: Xiang Zheng >> Sent: Monday, May 25, 2020 7:34 PM >> >> [+cc Kirti, Yan, Alex] >> >> On 2020/5/23 1:14, Jean-Philippe Brucker wrote: >>> Hi, >>> >>> On Tue, May 19, 2020 at 05:42:55P

Re: [RFC] Use SMMU HTTU for DMA dirty page tracking

2020-05-25 Thread Xiang Zheng
[+cc Kirti, Yan, Alex] On 2020/5/23 1:14, Jean-Philippe Brucker wrote: > Hi, > > On Tue, May 19, 2020 at 05:42:55PM +0800, Xiang Zheng wrote: >> Hi all, >> >> Is there any plan for enabling SMMU HTTU? > > Not outside of SVA, as far as I know. > >>

[RFC] Use SMMU HTTU for DMA dirty page tracking

2020-05-19 Thread Xiang Zheng
Hi all, Is there any plan for enabling SMMU HTTU? I have seen the patch locates in the SVA series patch, which adds support for HTTU: https://www.spinics.net/lists/arm-kernel/msg798694.html HTTU reduces the number of access faults on SMMU fault queue (permission faults also benifit from

Re: [PATCH] KVM: ARM64: Update perf event when setting PMU count value

2019-06-12 Thread Xiang Zheng
On 2019/5/22 0:44, Andrew Murray wrote: > On Sun, May 19, 2019 at 06:05:59PM +0800, Xiang Zheng wrote: >> Guest will adjust the sample period and set PMU counter value when >> it takes a long time to handle the PMU interrupts. >> >> However, we don't have a correspo

[PATCH] KVM: ARM64: Update perf event when setting PMU count value

2019-05-19 Thread Xiang Zheng
will get hang for handling these interrupts. So update the sample_period of perf event if the counter value is changed to avoid this case. Signed-off-by: Xiang Zheng --- virt/kvm/arm/pmu.c | 54 +- 1 file changed, 45 insertions(+), 9 deletions