linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/3] Emergency write support for virtio console devices.
@ 2013-05-06 12:19 Pranavkumar Sawargaonkar
  2013-05-06 12:19 ` [PATCH V2 1/3] virtio: console: Add emergency writeonly register to config space Pranavkumar Sawargaonkar
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Pranavkumar Sawargaonkar @ 2013-05-06 12:19 UTC (permalink / raw)
  To: linux-arm-kernel

This patch-set implements early printk support for virtio console
devices by adding and using emergency write register to virtio console's 
config space.

The current virtio early printk code in kernel expects that hypervisor 
will provide some mechanism generally a hypercall to support early printk. 
This patch-set does not break existing hypercall based early print support.

This implementation adds:
1. Emergency writeonly register named emerg_wr in 
   virtio console's config space.
2. Host feature flags namely VIRTIO_CONSOLE_F_EMERG_WRITE
   for telling guest about early-write capability in console device.

Emergency write mechanism:
1. When a guest wants to out some character, it has to simply write 
   the character to emerg_wr register in config space of 
   virtio console device.

Pranavkumar Sawargaonkar (3):
  virtio: console: Add emergency writeonly register to config space
  Documentation: virtio: Add emergency write (emerg_wr) config register
        in virtio console.
  arm64: earlyprintk support for virtio-mmio console.

 Documentation/virtual/virtio-spec.txt |    8 +++++++-
 arch/arm64/kernel/early_printk.c      |   35 +++++++++++++++++++++++++++++++++
 include/uapi/linux/virtio_console.h   |    3 +++
 3 files changed, 45 insertions(+), 1 deletion(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-05-17  6:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-06 12:19 [PATCH V2 0/3] Emergency write support for virtio console devices Pranavkumar Sawargaonkar
2013-05-06 12:19 ` [PATCH V2 1/3] virtio: console: Add emergency writeonly register to config space Pranavkumar Sawargaonkar
2013-05-16 12:37   ` Amit Shah
2013-05-16 23:52     ` Rusty Russell
2013-05-17  6:00       ` Pranavkumar Sawargaonkar
2013-05-06 12:19 ` [PATCH V2 2/3] Documentation: virtio: Add emergency write (emerg_wr) config register in virtio console Pranavkumar Sawargaonkar
2013-05-07  5:02   ` Rob Landley
2013-05-13  1:16     ` Rusty Russell
2013-05-13  2:52   ` Rusty Russell
2013-05-13  6:56     ` Pranavkumar Sawargaonkar
2013-05-13 17:36       ` Christopher Covington
2013-05-15  4:29       ` Rusty Russell
2013-05-15  5:30         ` Amit Shah
2013-05-06 12:19 ` [PATCH V2 3/3] arm64: earlyprintk support for virtio-mmio console Pranavkumar Sawargaonkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).