RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-08 Thread Salil Mehta
> To: Andrew Jones > > > Cc: Salil Mehta ; qemu-devel@nongnu.org; > > > qemu-...@nongnu.org; Peter Maydell ; > > > m...@redhat.com > > > Subject: Re: [Question] Regarding PMU initialization within the QEMU for > > > ARM > > > VCPUs > > &

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-08 Thread Igor Mammedov
> m...@redhat.com > > Subject: Re: [Question] Regarding PMU initialization within the QEMU for ARM > > VCPUs > > > > On Wed, 3 Jun 2020 11:37:45 +0200 > > Andrew Jones wrote: > > > > > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: >

RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-05 Thread Salil Mehta
> From: Igor Mammedov [mailto:imamm...@redhat.com] > Sent: Friday, June 5, 2020 4:31 PM > To: Andrew Jones > Cc: Salil Mehta ; qemu-devel@nongnu.org; > qemu-...@nongnu.org; Peter Maydell ; m...@redhat.com > Subject: Re: [Question] Regarding PMU initialization within the QE

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-05 Thread Igor Mammedov
On Wed, 3 Jun 2020 11:37:45 +0200 Andrew Jones wrote: > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > > Hello, > > I could see below within function fdt_add_pmu_nodes() part of > > hw/arm/virt.c during virt machine initialization time: ... > > > Q4. This function fdt_* looks to

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-05 Thread Igor Mammedov
On Wed, 3 Jun 2020 12:21:16 +0200 Andrew Jones wrote: > On Wed, Jun 03, 2020 at 11:59:23AM +0200, Auger Eric wrote: > > Hi Drew, > > > > On 6/3/20 11:37 AM, Andrew Jones wrote: > > > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > > >> Hello, > > >> I could see below within fu

RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Salil Mehta
g; Igor > Mammedov > Subject: Re: [Question] Regarding PMU initialization within the QEMU for ARM > VCPUs > > On Wed, Jun 03, 2020 at 01:48:10PM +, Salil Mehta wrote: > > (Maybe I should float the ARM VCPU Hotplug patches and let this > > discussion be held over there?) >

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Andrew Jones
On Wed, Jun 03, 2020 at 01:48:10PM +, Salil Mehta wrote: > (Maybe I should float the ARM VCPU Hotplug patches and let this > discussion be held over there?) > Yes, I think that would be best. Keep in mind that the 'pmu' CPU property is just one CPU property that we require all CPUs to have, i

RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Salil Mehta
June 3, 2020 10:38 AM > > > To: Salil Mehta > > > Cc: qemu-devel@nongnu.org; qemu-...@nongnu.org; Peter Maydell > > > ; Igor Mammedov ; > > > m...@redhat.com > > > Subject: Re: [Question] Regarding PMU initialization within the QEMU for > > > ARM >

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Andrew Jones
gnu.org; Peter Maydell > > ; Igor Mammedov ; > > m...@redhat.com > > Subject: Re: [Question] Regarding PMU initialization within the QEMU for ARM > > VCPUs > > > > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > > > Hello, > > > I

RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Salil Mehta
> m...@redhat.com > Subject: Re: [Question] Regarding PMU initialization within the QEMU for ARM > VCPUs > > Hi Drew, > > On 6/3/20 11:37 AM, Andrew Jones wrote: > > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > >> Hello, > >> I could see below

RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Salil Mehta
estion] Regarding PMU initialization within the QEMU for ARM > VCPUs > > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > > Hello, > > I could see below within function fdt_add_pmu_nodes() part of > > hw/arm/virt.c during virt machine initialization time: > >

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Auger Eric
Hi Drew, On 6/3/20 12:21 PM, Andrew Jones wrote: > On Wed, Jun 03, 2020 at 11:59:23AM +0200, Auger Eric wrote: >> Hi Drew, >> >> On 6/3/20 11:37 AM, Andrew Jones wrote: >>> On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: Hello, I could see below within function fdt_add_pmu_no

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Andrew Jones
On Wed, Jun 03, 2020 at 11:59:23AM +0200, Auger Eric wrote: > Hi Drew, > > On 6/3/20 11:37 AM, Andrew Jones wrote: > > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > >> Hello, > >> I could see below within function fdt_add_pmu_nodes() part of > >> hw/arm/virt.c during virt machine

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Auger Eric
Hi Drew, On 6/3/20 11:37 AM, Andrew Jones wrote: > On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: >> Hello, >> I could see below within function fdt_add_pmu_nodes() part of >> hw/arm/virt.c during virt machine initialization time: >> >> Observation: >> In below function, support of P

Re: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Andrew Jones
On Mon, Jun 01, 2020 at 03:04:33PM +, Salil Mehta wrote: > Hello, > I could see below within function fdt_add_pmu_nodes() part of > hw/arm/virt.c during virt machine initialization time: > > Observation: > In below function, support of PMU feature is being checked for > each vcpu and if the PM

RE: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-03 Thread Salil Mehta
..@redhat.com; Igor Mammedov > > Subject: [Question] Regarding PMU initialization within the QEMU for ARM VCPUs > > Hello, > I could see below within function fdt_add_pmu_nodes() part of > hw/arm/virt.c during virt machine initialization time: > > Observation: > In b

[Question] Regarding PMU initialization within the QEMU for ARM VCPUs

2020-06-01 Thread Salil Mehta
Hello, I could see below within function fdt_add_pmu_nodes() part of hw/arm/virt.c during virt machine initialization time: Observation: In below function, support of PMU feature is being checked for each vcpu and if the PMU is found part of the features then PMU is initialized with in the host/KV