Skip to contentSkip to conversation

virtio-mmio: fix wrong comment about register offset

PATCH Applied Ryota Ozaki 4 participants 4 messages Jan 26, 2013 – Feb 4, 2013 virtio core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 virtio-mmio: fix wrong comment about register offset

The register offset of InterruptACK is 0x064, not 0x060. Fix it.

CC Pawel Moll <[email protected]>
CC Rusty Russell <[email protected]>
CC Jiri Kosina <[email protected]>
---
 drivers/virtio/virtio_mmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_mmio.c +1 -1
index 31f966f..833e6db 100644
@@ -75,7 +75,7 @@
  *
  * 0x050  W  QueueNotify      Queue notifier
  * 0x060  R  InterruptStatus  Interrupt status register
- * 0x060  W  InterruptACK     Interrupt acknowledge register
+ * 0x064  W  InterruptACK     Interrupt acknowledge register
  * 0x070  RW Status           Device status register
  *
  * 0x100+ RW                  Device-specific configuration space
Signature · 1 line
1.7.12
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Ryota Ozaki

The register offset of InterruptACK is 0x064, not 0x060. Fix it.

CC Pawel Moll <[email protected]>
CC Rusty Russell <[email protected]>
CC Jiri Kosina <[email protected]>
Quoted 18 lines
---
 drivers/virtio/virtio_mmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_mmio.c +1 -1
index 31f966f..833e6db 100644
@@ -75,7 +75,7 @@
  *
  * 0x050  W  QueueNotify      Queue notifier
  * 0x060  R  InterruptStatus  Interrupt status register
- * 0x060  W  InterruptACK     Interrupt acknowledge register
+ * 0x064  W  InterruptACK     Interrupt acknowledge register
  * 0x070  RW Status           Device status register
  *
  * 0x100+ RW                  Device-specific configuration space
Acked-by on v1 1/1
#2 lore raw
In reply to Ryota Ozaki
Quoted 16 lines · Ryota Ozaki

The register offset of InterruptACK is 0x064, not 0x060. Fix it.

CC Pawel Moll <[email protected]>
CC Rusty Russell <[email protected]>
CC Jiri Kosina <[email protected]>
---
 drivers/virtio/virtio_mmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_mmio.c +0 -0
index 31f966f..833e6db 100644

drivers/virtio/virtio_mmio.c line 81

Quoted 8 lines
drivers/virtio/virtio_mmio.c +1 -1
@@ -75,7 +75,7 @@
  *
  * 0x050  W  QueueNotify      Queue notifier
  * 0x060  R  InterruptStatus  Interrupt status register
- * 0x060  W  InterruptACK     Interrupt acknowledge register
+ * 0x064  W  InterruptACK     Interrupt acknowledge register
  * 0x070  RW Status           Device status register
  *
  * 0x100+ RW                  Device-specific configuration space

Thanks!

Pawel

#3 lore raw
Quoted 28 lines · Pawel Moll
Quoted 16 lines · Ryota Ozaki

The register offset of InterruptACK is 0x064, not 0x060. Fix it.

CC Pawel Moll <[email protected]>
CC Rusty Russell <[email protected]>
CC Jiri Kosina <[email protected]>
---
 drivers/virtio/virtio_mmio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/virtio/virtio_mmio.c +0 -0
index 31f966f..833e6db 100644

drivers/virtio/virtio_mmio.c line 81

Quoted 8 lines
drivers/virtio/virtio_mmio.c +1 -1
@@ -75,7 +75,7 @@
  *
  * 0x050  W  QueueNotify      Queue notifier
  * 0x060  R  InterruptStatus  Interrupt status register
- * 0x060  W  InterruptACK     Interrupt acknowledge register
+ * 0x064  W  InterruptACK     Interrupt acknowledge register
  * 0x070  RW Status           Device status register
  *
  * 0x100+ RW                  Device-specific configuration space
Quoted 3 lines

Thanks!

Pawel

Applied.

Thanks,
Rusty.