Re: [PATCH v4 2/3] xen/arm: Check for PMU platform support

2021-10-11 Thread Michal Orzel
Hi Julien, On 11.10.2021 12:17, Julien Grall wrote: > Hi Michal, > > On 11/10/2021 10:00, Michal Orzel wrote: >> ID_AA64DFR0_EL1/ID_DFR0_EL1 registers provide >> information about PMU support. Replace structure >> dbg64/dbg32 with a union and fill in all the >> register fields according to docume

Re: [PATCH v4 2/3] xen/arm: Check for PMU platform support

2021-10-11 Thread Julien Grall
Hi Michal, On 11/10/2021 10:00, Michal Orzel wrote: ID_AA64DFR0_EL1/ID_DFR0_EL1 registers provide information about PMU support. Replace structure dbg64/dbg32 with a union and fill in all the register fields according to document: ARM Architecture Registers(DDI 0595, 2021-06). Add macros boot_d

[PATCH v4 2/3] xen/arm: Check for PMU platform support

2021-10-11 Thread Michal Orzel
ID_AA64DFR0_EL1/ID_DFR0_EL1 registers provide information about PMU support. Replace structure dbg64/dbg32 with a union and fill in all the register fields according to document: ARM Architecture Registers(DDI 0595, 2021-06). Add macros boot_dbg_feature64/boot_dbg_feature32 to check for a debug fe