OSDN Git Service

Merge branch 'sparc64-add-MDESC-and-VIO-support-for-VCC'
authorDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 20:43:16 +0000 (13:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 20:43:16 +0000 (13:43 -0700)
commit01bf693c80025a6fccc513cf99e36febc8abc3d3
treed2c7d9fc830045155d19dc458d17dee9d7c1c2d6
parent69f579786d2935989ab7005c7b5cdf9f06177689
parent15c35e4ebbe16a205856e033627e50936ab7cd99
Merge branch 'sparc64-add-MDESC-and-VIO-support-for-VCC'

Jag Raman says:

====================
sparc64: Add MDESC & VIO support for VCC

This series of patches is part of an effort to add VCC (Virtual Console
Concentrator) support to Linux.

VCC enables the virtualization of serial console on SPARC processors. VCC
provides access to the guest domain's serial console.

VCC depends on some core functionalities in the linux kernel for SPARC. The
functionalities include LDC (Logical Domain Channels), MDESC (Machine
Descriptor) and VIO (Virtual IO protocol). In order for VCC to be enabled,
it requires that these core functionalities support them.

This series of patches adds MDESC & VIO support to enable VCC on Linux. It
is the second batch of changes to enable VCC.

This version of the series addresses the following changes
suggested by Dave Miller
Patch 4/5:
 - "name" field in vdev_port md_node_info is declared as "const char *"
 - Code has been modified to dynamically allocate & free "name" in
   vdev_port md_node_info
 - Parameters to mdesc_get_node(), mdesc_get_node_info() &
   mdesc_get_node_ops() have been updated to use "const char *"

Patch 6/5:
 - "node_name" parameter in vio_create_one() has been
   changed to "const char *" type from "char *"
 - Typecasts in vio_create_one() invocations to convert
   "const char *" to "char *" have been removed

Patch 11/5:
 - Invocations of mdesc_node_get() & mdesc_get_node_info()
   have been updated to use the prototypes defined in patch 4/5
====================

Signed-off-by: David S. Miller <davem@davemloft.net>