Ian pointed out that the definition of "offset" and "appropriate
boundary" in the comments added by "xen/arm: vgic: Optimize the way to
store the target vCPU in the rank" were not cleared.
Clarify them by explicitly mentionning the offset is in byte and the
appropriate boundary is ITARGET<n>/IROUTER<n>
Signed-off-by: Julien Grall <julien.grall@citrix.com>
* Fetch an ITARGETSR register based on the offset from ITARGETSR0. Only
* one vCPU will be listed for a given vIRQ.
*
* Fetch an ITARGETSR register based on the offset from ITARGETSR0. Only
* one vCPU will be listed for a given vIRQ.
*
- * Note the offset will be aligned to the appropriate boundary.
+ * Note the byte offset will be aligned to an ITARGETSR<n> boundary.
*/
static uint32_t vgic_fetch_itargetsr(struct vgic_irq_rank *rank,
unsigned int offset)
*/
static uint32_t vgic_fetch_itargetsr(struct vgic_irq_rank *rank,
unsigned int offset)
* Store an ITARGETSR register in a convenient way and migrate the vIRQ
* if necessary. This function only deals with ITARGETSR8 and onwards.
*
* Store an ITARGETSR register in a convenient way and migrate the vIRQ
* if necessary. This function only deals with ITARGETSR8 and onwards.
*
- * Note the offset will be aligned to the appropriate boundary.
+ * Note the byte offset will be aligned to an ITARGETSR<n> boundary.
*/
static void vgic_store_itargetsr(struct domain *d, struct vgic_irq_rank *rank,
unsigned int offset, uint32_t itargetsr)
*/
static void vgic_store_itargetsr(struct domain *d, struct vgic_irq_rank *rank,
unsigned int offset, uint32_t itargetsr)
* Fetch an IROUTER register based on the offset from IROUTER0. Only one
* vCPU will be listed for a given vIRQ.
*
* Fetch an IROUTER register based on the offset from IROUTER0. Only one
* vCPU will be listed for a given vIRQ.
*
- * Note the offset will be aligned to the appropriate boundary.
+ * Note the byte offset will be aligned to an IROUTER<n> boundary.
*/
static uint64_t vgic_fetch_irouter(struct vgic_irq_rank *rank,
unsigned int offset)
*/
static uint64_t vgic_fetch_irouter(struct vgic_irq_rank *rank,
unsigned int offset)