On 23/03/2020 09:16, Marc Zyngier wrote:
+ Julien, Mark
Hi Marc,
Time to enable pseudo-NMIs in the PMUv3 driver...
Do you know if there is any plan for this?
There was. Julien Thierry has a bunch of patches for that [1], but they
needs
reviving.
So those patches still apply cleanly (apart from the kvm patch, which I
can skip, I suppose) and build, so I can try this I figure. Is there
anything else which I should ensure or know about? Apart from enable
CONFIG_ARM64_PSUEDO_NMI.
A quickly taken perf annotate and report is at the tip here:
https://github.com/hisilicon/kernel-dev/commits/private-topic-nvme-5.6-profiling
In the meantime, maybe I can do some trickery by putting the
local_irq_restore() in a separate function, outside
arm_smmu_cmdq_issue_cmdlist(), to get a fair profile for that same
function.
Scratch that :)
I don't see how you can improve the profiling without compromising
the locking in this case...
Cheers,
John
[1] https://patchwork.kernel.org/cover/11047407/
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu