Hi, experts
I'm the new one porting armv8 linux. I have some problem about gic400 access.
In the porting linux progress,CPU will switch to EL1NS.
In gic_dist_init() function, I read the the GICD_ISENABLERn\GICD_ICENABLERn\GICD_ITARGETSRn\GICD_IPRIORITYRn registers and get 'zero' value.
Linux kernel warns the message "GIC CPU mask not found - kernel will fail to boot."
Then I can' receive any IRQ exception and I guess it's caused GIC wrong setting.
The above registers can't access by non-secure access,right?
How can I read/write correctly the gic register?
Hi Martin,
I think the GIC setting is OK now.
Thanks your help and the information about ARM Trusted Firmware.