David S. Miller c7754d465b [SPARC64]: Add hypervisor API negotiation and fix console bugs.
Hypervisor interfaces need to be negotiated in order to use
some API calls reliably.  So add a small set of interfaces
to request API versions and query current settings.

This allows us to fix some bugs in the hypervisor console:

1) If we can negotiate API group CORE of at least major 1
   minor 1 we can use con_read and con_write which can improve
   console performance quite a bit.

2) When we do a console write request, we should hold the
   spinlock around the whole request, not a byte at a time.
   What would happen is that it's easy for output from
   different cpus to get mixed with each other.

3) Use consistent udelay() based polling, udelay(1) each
   loop with a limit of 1000 polls to handle stuck hypervisor
   console.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-05-15 20:23:02 -07:00
..
2007-05-08 11:15:15 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00
2007-05-07 12:12:58 -07:00
2006-12-08 08:28:57 -08:00
2007-02-11 10:51:26 -08:00
2006-12-07 08:39:41 -08:00
2005-04-16 15:20:36 -07:00
2007-05-11 22:02:52 +01:00
2006-12-08 08:28:57 -08:00
2007-05-11 22:02:52 +01:00
2007-05-07 12:12:50 -07:00
2006-12-08 08:28:57 -08:00
2007-05-08 13:37:51 +10:00
2006-12-08 08:28:57 -08:00
2007-02-14 08:09:52 -08:00
2006-12-08 08:28:57 -08:00
2007-05-07 02:10:54 +00:00
2005-04-16 15:20:36 -07:00
2006-12-08 08:28:57 -08:00
2006-12-08 08:28:57 -08:00