Re: [PATCH v3 4/6] kvm powerpc/book3s-apiv2: Introduce kvm-hv specific PMU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Athira,

Thanks for reviewing this patch series. My responses to your review
comment inline below:


Athira Rajeev <atrajeev@xxxxxxxxxxxxxxxxxx> writes:

>> On 23 Jan 2025, at 5:37 PM, Vaibhav Jain <vaibhav@xxxxxxxxxxxxx> wrote:
>> 
>> Introduce a new PMU named 'kvm-hv' to report Book3s kvm-hv specific
<snip>
>
> Hi Vaibhav
>
> All PMU specific code is under “arch/powerpc/perf in the kernel source. Here since we are introducing a kvm-hv specific PMU, can we please have it in arch/powerpc/perf ?

Is it common convention to put PMU specific code in
arch/powerpc/perf across ppc achitecture variants ? If its there can you
please mention the reasons behind it.

Also the code for this PMU, will be part of kvm-hv kernel module as it
utilizes the functionality implemented there. Moving this PMU code to
arch/powerpc/perf will need this to be converted in yet another new
kernel module, adding a dependency to kvm-hv module and exporting a
bunch of functionality from kvm-hv. Which looks bit messy to me

<snip>

-- 
Cheers
~ Vaibhav





[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux