Re: [RFC PATCH v1 04/12] Arm: GICv3: Emulate GICR_TYPER on AArch32

2022-10-22 Thread Julien Grall
Hi, On 21/10/2022 23:07, Xenia Ragiadakou wrote: On 10/21/22 18:31, Ayan Kumar Halder wrote: Hi Ayan Refer Arm IHI 0069H ID020922, The upper 32 bits of GICR_TYPER represent the affinity whereas the lower 32 bits represent the other bits (eg processor number, etc). MPIDR_AFFINITY_LEVEL()

Re: [RFC PATCH v1 04/12] Arm: GICv3: Emulate GICR_TYPER on AArch32

2022-10-21 Thread Xenia Ragiadakou
On 10/21/22 18:31, Ayan Kumar Halder wrote: Hi Ayan Refer Arm IHI 0069H ID020922, The upper 32 bits of GICR_TYPER represent the affinity whereas the lower 32 bits represent the other bits (eg processor number, etc). MPIDR_AFFINITY_LEVEL() returns a 32 bit number on aarch32. Thus, this is

[RFC PATCH v1 04/12] Arm: GICv3: Emulate GICR_TYPER on AArch32

2022-10-21 Thread Ayan Kumar Halder
Refer Arm IHI 0069H ID020922, The upper 32 bits of GICR_TYPER represent the affinity whereas the lower 32 bits represent the other bits (eg processor number, etc). MPIDR_AFFINITY_LEVEL() returns a 32 bit number on aarch32. Thus, this is appended to return GICR_TYPER register. Signed-off-by: Ayan