Skip to contentSkip to conversation

arm/vgic: Fix reference to a non-existing function

PATCH In review Michal Orzel 4 participants 7 messages Dec 3, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/vgic: Fix reference to a non-existing function

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84
---
 xen/include/asm-arm/vgic.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/asm-arm/vgic.h +1 -1
index e69a59063a..ade427a808 100644
@@ -195,7 +195,7 @@ struct vgic_cpu {
      * corresponding LR it is also removed from this list. */
     struct list_head inflight_irqs;
     /* lr_pending is used to queue IRQs (struct pending_irq) that the
-     * vgic tried to inject in the guest (calling gic_set_guest_irq) but
+     * vgic tried to inject in the guest (calling gic_raise_guest_irq) but
      * no LRs were available at the time.
      * As soon as an LR is freed we remove the first IRQ from this
      * list and write it to the LR register.
Signature · 1 line
2.29.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Michal,

Quoted 10 lines · Michal Orzel

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84

Thanks for that

Cheers
Bertrand

Quoted 20 lines

---
xen/include/asm-arm/vgic.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/asm-arm/vgic.h +1 -1
index e69a59063a..ade427a808 100644
@@ -195,7 +195,7 @@ struct vgic_cpu {
     * corresponding LR it is also removed from this list. */
    struct list_head inflight_irqs;
    /* lr_pending is used to queue IRQs (struct pending_irq) that the
-     * vgic tried to inject in the guest (calling gic_set_guest_irq) but
+     * vgic tried to inject in the guest (calling gic_raise_guest_irq) but
     * no LRs were available at the time.
     * As soon as an LR is freed we remove the first IRQ from this
     * list and write it to the LR register.
Signature · 1 line
2.29.0
#2 lore raw
Quoted 10 lines · Bertrand Marquis

Hi Michal,

Quoted 8 lines · Michal Orzel

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Quoted 3 lines
Quoted 2 lines
Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84

Bertrand is very fast. :D.
I wanted to check if it is ok to add my R-b.

Quoted 28 lines

Thanks for that

Cheers
Bertrand

Quoted 20 lines

---
xen/include/asm-arm/vgic.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/asm-arm/vgic.h +1 -1
index e69a59063a..ade427a808 100644
@@ -195,7 +195,7 @@ struct vgic_cpu {
      * corresponding LR it is also removed from this list. */
     struct list_head inflight_irqs;
     /* lr_pending is used to queue IRQs (struct pending_irq) that the
-     * vgic tried to inject in the guest (calling gic_set_guest_irq) but
+     * vgic tried to inject in the guest (calling gic_raise_guest_irq) but
      * no LRs were available at the time.
      * As soon as an LR is freed we remove the first IRQ from this
      * list and write it to the LR register.
Signature · 1 line
2.29.0
#3 lore raw

Hi Ayan,

Quoted 14 lines · Ayan Kumar Halder
Quoted 9 lines · Bertrand Marquis

Hi Michal,

Quoted 8 lines · Michal Orzel

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Quoted 5 lines
Quoted 3 lines
Quoted 2 lines
Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84

Bertrand is very fast. :D.

To be fare we are working together with Michal ;-)

Quoted 1 line

I wanted to check if it is ok to add my R-b.

It is always ok and welcome if you feel you understood and check the change and it is ok for you :-) There is never enough reviewers.

Cheers
Bertrand

Quoted 23 lines
Quoted 23 lines

Thanks for that
Cheers
Bertrand

Quoted 20 lines

---
xen/include/asm-arm/vgic.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/asm-arm/vgic.h +1 -1
index e69a59063a..ade427a808 100644
@@ -195,7 +195,7 @@ struct vgic_cpu {
     * corresponding LR it is also removed from this list. */
    struct list_head inflight_irqs;
    /* lr_pending is used to queue IRQs (struct pending_irq) that the
-     * vgic tried to inject in the guest (calling gic_set_guest_irq) but
+     * vgic tried to inject in the guest (calling gic_raise_guest_irq) but
     * no LRs were available at the time.
     * As soon as an LR is freed we remove the first IRQ from this
     * list and write it to the LR register.
Signature · 1 line
2.29.0
Acked-by on v1 1/1
#4 lore raw
In reply to Michal Orzel

Hi Michal,

Quoted 7 lines · Michal Orzel

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84

The format for fixes tag is a 12 characters sha1 followed by the commit message. In this case, it would be:

Fixes 68dcdf942326 ("xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq")

I can fix it on commit.

Quoted 11 lines
---
  xen/include/asm-arm/vgic.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xen/include/asm-arm/vgic.h +0 -0
index e69a59063a..ade427a808 100644

xen/include/asm-arm/vgic.h struct vgic_cpu { · line 201

Quoted 8 lines
xen/include/asm-arm/vgic.h +1 -1
@@ -195,7 +195,7 @@ struct vgic_cpu {
       * corresponding LR it is also removed from this list. */
      struct list_head inflight_irqs;
      /* lr_pending is used to queue IRQs (struct pending_irq) that the
-     * vgic tried to inject in the guest (calling gic_set_guest_irq) but
+     * vgic tried to inject in the guest (calling gic_raise_guest_irq) but
       * no LRs were available at the time.
       * As soon as an LR is freed we remove the first IRQ from this
       * list and write it to the LR register.

Cheers,

Signature · 1 line
Julien Grall
#5 lore raw

Hi Julien,

Quoted 9 lines · Julien Grall

Hi Michal,

Quoted 6 lines · Michal Orzel

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Quoted 7 lines
Quoted 1 line
Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84

The format for fixes tag is a 12 characters sha1 followed by the commit message. In this case, it would be:

Fixes 68dcdf942326 ("xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq")

I can fix it on commit.

Please do. I forgot about this requirement.

Quoted 8 lines
Quoted 5 lines

---
  xen/include/asm-arm/vgic.h | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 17 lines
Quoted 6 lines
xen/include/asm-arm/vgic.h +0 -0
index e69a59063a..ade427a808 100644

xen/include/asm-arm/vgic.h struct vgic_cpu { · line 201

Quoted 8 lines
xen/include/asm-arm/vgic.h +1 -1
@@ -195,7 +195,7 @@ struct vgic_cpu {
        * corresponding LR it is also removed from this list. */
       struct list_head inflight_irqs;
       /* lr_pending is used to queue IRQs (struct pending_irq) that the
-     * vgic tried to inject in the guest (calling gic_set_guest_irq) but
+     * vgic tried to inject in the guest (calling gic_raise_guest_irq) but
        * no LRs were available at the time.
        * As soon as an LR is freed we remove the first IRQ from this
        * list and write it to the LR register.

Cheers,

Cheers,
Michal

#6 lore raw
Quoted 10 lines · Michal Orzel
Quoted 9 lines · Julien Grall

Hi Michal,

Quoted 6 lines · Michal Orzel

Commit 68dcdf942326ad90ca527831afbee9cd4a867f84 (xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq) forgot to modify a comment about lr_pending list, referring to a function that has been renamed. Fix that.

Quoted 7 lines
Quoted 6 lines
Quoted 1 line
Fixes 68dcdf942326ad90ca527831afbee9cd4a867f84

The format for fixes tag is a 12 characters sha1 followed by the commit message. In this case, it would be:

Fixes 68dcdf942326 ("xen/arm: s/gic_set_guest_irq/gic_raise_guest_irq") >>

I can fix it on commit.

Please do. I forgot about this requirement.

Done and committed. I have also re-wrapped the commit message to 72 characters rather than 50-characters.

Signature · 1 line
Julien Grall