virtio-mmio: fix wrong comment about register offset
PATCH 1/1 virtio-mmio: fix wrong comment about register offset
The register offset of InterruptACK is 0x064, not 0x060. Fix it.
Signed-off-by Ryota Ozaki <[email protected]>
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
@@ -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
Quoted 7 lines · Ryota Ozaki
The register offset of InterruptACK is
0x064, not0x060. Fix it.Signed-off-by Ryota Ozaki <[email protected]>CC Pawel Moll <[email protected]>CC Rusty Russell <[email protected]>CC Jiri Kosina <[email protected]>
Reviewed-by Wanlong Gao <[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@@ -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 16 lines · Ryota Ozaki
The register offset of InterruptACK is
0x064, not0x060. Fix it.Signed-off-by Ryota Ozaki <[email protected]>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
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
Acked-by Pawel Moll <[email protected]>
Thanks!
Pawel
Rusty Russell
AppliedQuoted 28 lines · Pawel Moll
Quoted 16 lines · Ryota Ozaki
The register offset of InterruptACK is
0x064, not0x060. Fix it.Signed-off-by Ryota Ozaki <[email protected]>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
-0drivers/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 Acked-by Pawel Moll <[email protected]>
Quoted 3 lines
Thanks!
Pawel
Applied.
Thanks,
Rusty.