From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 02 18:03:28 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 02 Jan 2015 18:03:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1Y76ZM-0001fc-GI; Fri, 02 Jan 2015 18:03:28 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Surya.Satyavolu@windriver.com>) id 1Y76ZL-0001fX-GM
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 02 Jan 2015 18:03:27 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	B6/C9-26652-E6DD6A45; Fri, 02 Jan 2015 18:03:26 +0000
X-Env-Sender: Surya.Satyavolu@windriver.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1420221804!8410268!1
X-Originating-IP: [147.11.1.11]
X-SpamReason: No, hits=0.0 required=7.0 tests=HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26273 invoked from network); 2 Jan 2015 18:03:26 -0000
Received: from mail.windriver.com (HELO mail.windriver.com) (147.11.1.11)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jan 2015 18:03:26 -0000
Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com
	[147.11.189.40])
	by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t02I3OKS025615
	(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL)
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 2 Jan 2015 10:03:24 -0800 (PST)
Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.42]) by
	ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001;
	Fri, 2 Jan 2015 10:03:23 -0800
From: "Satyavolu, Surya" <Surya.Satyavolu@windriver.com>
To: "embedded-pv-devel@lists.xenproject.org"
	<embedded-pv-devel@lists.xenproject.org>
Thread-Topic: New to the Xen Automotive/Embedded Project
Thread-Index: AdAmtjF5ajYLGM/DROmX6uun2wm5HA==
Date: Fri, 2 Jan 2015 18:03:23 +0000
Message-ID: <DBEDEBDEC37BB04497828074EB10055271C27032@ALA-MBB.corp.ad.wrs.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [147.11.119.233]
MIME-Version: 1.0
Subject: [Embedded-pv-devel] New to the Xen Automotive/Embedded Project
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3440291825732771466=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============3440291825732771466==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_"

--_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
  I am new to the automotive/embedded xen project but have interest in the =
space. Where can I get the current status of the project including any exis=
ting hardware support. Specifically, which development boards are currently=
 supported and any user guides to start development?
Thanks!
Surya

--_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; I am new to the automotive/embedded xen proje=
ct but have interest in the space. Where can I get the current status of th=
e project including any existing hardware support. Specifically, which deve=
lopment boards are currently supported
 and any user guides to start development?<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks!<o:p></o:p></p>
<p class=3D"MsoNormal">Surya<o:p></o:p></p>
</div>
</body>
</html>

--_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_--


--===============3440291825732771466==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============3440291825732771466==--


From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 02 18:03:28 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 02 Jan 2015 18:03:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1Y76ZM-0001fc-GI; Fri, 02 Jan 2015 18:03:28 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <Surya.Satyavolu@windriver.com>) id 1Y76ZL-0001fX-GM
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 02 Jan 2015 18:03:27 +0000
Received: from [85.158.139.211] by server-6.bemta-5.messagelabs.com id
	B6/C9-26652-E6DD6A45; Fri, 02 Jan 2015 18:03:26 +0000
X-Env-Sender: Surya.Satyavolu@windriver.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1420221804!8410268!1
X-Originating-IP: [147.11.1.11]
X-SpamReason: No, hits=0.0 required=7.0 tests=HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26273 invoked from network); 2 Jan 2015 18:03:26 -0000
Received: from mail.windriver.com (HELO mail.windriver.com) (147.11.1.11)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 2 Jan 2015 18:03:26 -0000
Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com
	[147.11.189.40])
	by mail.windriver.com (8.14.9/8.14.5) with ESMTP id t02I3OKS025615
	(version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL)
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 2 Jan 2015 10:03:24 -0800 (PST)
Received: from ALA-MBB.corp.ad.wrs.com ([169.254.1.42]) by
	ALA-HCA.corp.ad.wrs.com ([147.11.189.40]) with mapi id 14.03.0174.001;
	Fri, 2 Jan 2015 10:03:23 -0800
From: "Satyavolu, Surya" <Surya.Satyavolu@windriver.com>
To: "embedded-pv-devel@lists.xenproject.org"
	<embedded-pv-devel@lists.xenproject.org>
Thread-Topic: New to the Xen Automotive/Embedded Project
Thread-Index: AdAmtjF5ajYLGM/DROmX6uun2wm5HA==
Date: Fri, 2 Jan 2015 18:03:23 +0000
Message-ID: <DBEDEBDEC37BB04497828074EB10055271C27032@ALA-MBB.corp.ad.wrs.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [147.11.119.233]
MIME-Version: 1.0
Subject: [Embedded-pv-devel] New to the Xen Automotive/Embedded Project
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3440291825732771466=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============3440291825732771466==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_"

--_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
  I am new to the automotive/embedded xen project but have interest in the =
space. Where can I get the current status of the project including any exis=
ting hardware support. Specifically, which development boards are currently=
 supported and any user guides to start development?
Thanks!
Surya

--_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; I am new to the automotive/embedded xen proje=
ct but have interest in the space. Where can I get the current status of th=
e project including any existing hardware support. Specifically, which deve=
lopment boards are currently supported
 and any user guides to start development?<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks!<o:p></o:p></p>
<p class=3D"MsoNormal">Surya<o:p></o:p></p>
</div>
</body>
</html>

--_000_DBEDEBDEC37BB04497828074EB10055271C27032ALAMBBcorpadwrs_--


--===============3440291825732771466==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============3440291825732771466==--


From embedded-pv-devel-bounces@lists.xenproject.org Wed Jan 14 11:52:41 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 14 Jan 2015 11:52:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YBMV7-0004Kr-88; Wed, 14 Jan 2015 11:52:41 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <artem.mygaiev@globallogic.com>) id 1YBMV5-0004Km-Pg
	for embedded-pv-devel@lists.xenproject.org;
	Wed, 14 Jan 2015 11:52:40 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	3A/81-11581-78856B45; Wed, 14 Jan 2015 11:52:39 +0000
X-Env-Sender: artem.mygaiev@globallogic.com
X-Msg-Ref: server-16.tower-206.messagelabs.com!1421236355!15098880!1
X-Originating-IP: [64.18.0.145]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18230 invoked from network); 14 Jan 2015 11:52:36 -0000
Received: from exprod5og103.obsmtp.com (HELO exprod5og103.obsmtp.com)
	(64.18.0.145)
	by server-16.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 14 Jan 2015 11:52:36 -0000
Received: from mail-qa0-f45.google.com ([209.85.216.45]) (using TLSv1) by
	exprod5ob103.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVLZYgnWKYrmYNTFtkk6RdA9od5gV868k@postini.com;
	Wed, 14 Jan 2015 03:52:36 PST
Received: by mail-qa0-f45.google.com with SMTP id n8so6229643qaq.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Wed, 14 Jan 2015 03:52:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=1EqzAnvudnRm4fFadekGKd2Z38UH9Hm4KJwnH2umYsQ=;
	b=PPqM2AezDEixzZM7E4UJ2UUdKivFtl+duLZ+vYMr4/8G6I0mZnn3R2PVi1XcpGGsin
	sC0hREY0p+wEOWh4eg+h3qkO7zYrCuH4eHDmmrLFJ07ozhcW6O+QhfYSWF4nqjYDWTmV
	PtMcUNypdm8oCStr9ynMCAGcd5hr9MX55kI+4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type;
	bh=1EqzAnvudnRm4fFadekGKd2Z38UH9Hm4KJwnH2umYsQ=;
	b=mM//vp4Q/q+x5Y1VO7n7RqKK6jjT3feF+BfftZMJG8ivJzpeS/cI+g+ITcBy0LJUFq
	TKxUNLO4BVLhY4vzZ+1j6a8ozIz8RhKD6F0a0i4NkBEPzHj6VAVvaFOnRA/GgnKt06z+
	aik6ymdpBHbMRItUyf5hhcslL8kzL2TsEZomoI4hjiW9bSfx5Ygfu7C/IxrIMCaju54Z
	h2T89WCxvWwoWRjcRLvUBJ5S27hcQNFj+M7MwZ77xcQ81sUQgW3yeaXfcXIDLljqaTrI
	ndqkdlYMAU6324AxYqGczr3zWlNasrcMQkQSeAbm+TyuTcaSrkXRo42ayiZ5WCGAGbDw
	4fJg==
X-Gm-Message-State: ALoCoQm7LFp/hAJwVIxISK5ENKZsCyAPbAKy1iqVRAG+NcwtQzL2w6MOxtkua2vjKQGmIFXzT0FNpo8E2TZbNbROGuVBU0Iq1pixUXgmcUiSeWnqA4dCBMejrKlwGcOT9dcubIz2mzZpgED63ahdh60gtozFSz3wKsOidDNasEF6D/3wA3NFl4c=
X-Received: by 10.224.96.129 with SMTP id h1mr5897916qan.46.1421236354424;
	Wed, 14 Jan 2015 03:52:34 -0800 (PST)
X-Received: by 10.224.96.129 with SMTP id h1mr5897892qan.46.1421236354276;
	Wed, 14 Jan 2015 03:52:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.231.79 with HTTP; Wed, 14 Jan 2015 03:52:14 -0800 (PST)
In-Reply-To: <DBEDEBDEC37BB04497828074EB10055271C27032@ALA-MBB.corp.ad.wrs.com>
References: <DBEDEBDEC37BB04497828074EB10055271C27032@ALA-MBB.corp.ad.wrs.com>
From: Artem Mygaiev <artem.mygaiev@globallogic.com>
Date: Wed, 14 Jan 2015 13:52:14 +0200
Message-ID: <CALQdcAKQSh4f6WgqW0VN5HZAuX=Y4hnmLhO_p8=oP+0S31gj=w@mail.gmail.com>
To: "Satyavolu, Surya" <Surya.Satyavolu@windriver.com>
Cc: "embedded-pv-devel@lists.xenproject.org"
	<embedded-pv-devel@lists.xenproject.org>
Subject: Re: [Embedded-pv-devel] New to the Xen Automotive/Embedded Project
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5178785043314793578=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============5178785043314793578==
Content-Type: multipart/alternative; boundary=001a11c34efa09f03a050c9b6062

--001a11c34efa09f03a050c9b6062
Content-Type: text/plain; charset=UTF-8

Hello Surya
Currently we fully support TI's Jacinto6 and Jacinto6eco platforms, also it
is possible to run Xen on Renesas R-Car M2 and R-Car H2 processors, and, of
course, Intel's CPUs. To get started you can have EVMs supplied by SoC
vendors.

Artem Mygaiev | *Associate Vice President, Engineering*
GlobalLogic
P +380.44.4929695 ext.2023 M +380.67.9211131 S rosenkrantzguildenstern
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

On Fri, Jan 2, 2015 at 8:03 PM, Satyavolu, Surya <
Surya.Satyavolu@windriver.com> wrote:

>  Hi,
>
>   I am new to the automotive/embedded xen project but have interest in the
> space. Where can I get the current status of the project including any
> existing hardware support. Specifically, which development boards are
> currently supported and any user guides to start development?
>
> Thanks!
>
> Surya
>
> _______________________________________________
> Embedded-pv-devel mailing list
> Embedded-pv-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
>

--001a11c34efa09f03a050c9b6062
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Hel=
lo Surya</div><div class=3D"gmail_default" style=3D"font-size:small">Curren=
tly we fully support TI&#39;s Jacinto6 and Jacinto6eco platforms, also it i=
s possible to run Xen on Renesas R-Car M2 and R-Car H2 processors, and, of =
course, Intel&#39;s CPUs. To get started you can have EVMs supplied by SoC =
vendors.</div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div =
class=3D"gmail_signature"><div dir=3D"ltr"><font><span style=3D"vertical-al=
ign:baseline;font-variant:normal;font-style:normal;background-color:transpa=
rent;text-decoration:none;font-family:Arial;font-weight:bold">Artem Mygaiev=
 |=C2=A0</span></font><span style=3D"color:rgb(51,51,51);font-family:Arial,=
Helvetica,sans-serif"><b><font>Associate Vice President, Engineering</font>=
</b></span><font size=3D"-1"><br><span style=3D"vertical-align:baseline;fon=
t-variant:normal;font-style:normal;font-size:12px;background-color:transpar=
ent;text-decoration:none;font-family:Arial;font-weight:normal">GlobalLogic<=
/span><br><span style=3D"vertical-align:baseline;font-variant:normal;font-s=
tyle:normal;font-size:12px;background-color:transparent;text-decoration:non=
e;font-family:Arial;font-weight:normal">P +380.44.4929695 ext.2023=C2=A0</s=
pan></font><span style=3D"background-color:transparent;font-family:Arial;fo=
nt-size:12px">M +380.67.9211131 S rosenkrantzguildenstern</span><div><font =
size=3D"-1"><a href=3D"http://www.globallogic.com/" target=3D"_blank"><span=
 style=3D"font-size:12px;font-family:Arial;color:#1155cc;background-color:t=
ransparent;font-weight:normal;font-style:normal;font-variant:normal;text-de=
coration:underline;vertical-align:baseline">www.globallogic.com</span></a><=
span style=3D"vertical-align:baseline;font-variant:normal;font-style:normal=
;font-size:12px;background-color:transparent;text-decoration:none;font-fami=
ly:Arial;font-weight:normal"></span><br><a href=3D"http://www.globallogic.c=
om/" target=3D"_blank"><span style=3D"font-size:12px;font-family:Arial;colo=
r:#1155cc;background-color:transparent;font-weight:normal;font-style:normal=
;font-variant:normal;text-decoration:underline;vertical-align:baseline"></s=
pan></a><br><a href=3D"http://www.globallogic.com/email_disclaimer.txt" tar=
get=3D"_blank"><span style=3D"font-size:11px;font-family:Arial;color:#1155c=
c;background-color:transparent;font-weight:normal;font-style:normal;font-va=
riant:normal;text-decoration:underline;vertical-align:baseline">http://www.=
globallogic.com/email_disclaimer.txt</span></a><span style=3D"vertical-alig=
n:baseline;font-variant:normal;font-style:normal;font-size:11px;background-=
color:transparent;text-decoration:none;font-family:Arial;font-weight:normal=
"></span></font></div></div></div></div>
<br><div class=3D"gmail_quote">On Fri, Jan 2, 2015 at 8:03 PM, Satyavolu, S=
urya <span dir=3D"ltr">&lt;<a href=3D"mailto:Surya.Satyavolu@windriver.com"=
 target=3D"_blank">Surya.Satyavolu@windriver.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">Hi,<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0 I am new to the automotive/embedded xen proje=
ct but have interest in the space. Where can I get the current status of th=
e project including any existing hardware support. Specifically, which deve=
lopment boards are currently supported
 and any user guides to start development?<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks!<span class=3D"HOEnZb"><font color=3D"#888888=
"><u></u><u></u></font></span></p><span class=3D"HOEnZb"><font color=3D"#88=
8888">
<p class=3D"MsoNormal">Surya<u></u><u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Embedded-pv-devel mailing list<br>
<a href=3D"mailto:Embedded-pv-devel@lists.xenproject.org">Embedded-pv-devel=
@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv=
-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listi=
nfo/embedded-pv-devel</a><br></blockquote></div><br></div>

--001a11c34efa09f03a050c9b6062--


--===============5178785043314793578==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============5178785043314793578==--


From embedded-pv-devel-bounces@lists.xenproject.org Wed Jan 14 11:52:41 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 14 Jan 2015 11:52:41 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YBMV7-0004Kr-88; Wed, 14 Jan 2015 11:52:41 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <artem.mygaiev@globallogic.com>) id 1YBMV5-0004Km-Pg
	for embedded-pv-devel@lists.xenproject.org;
	Wed, 14 Jan 2015 11:52:40 +0000
Received: from [85.158.139.211] by server-8.bemta-5.messagelabs.com id
	3A/81-11581-78856B45; Wed, 14 Jan 2015 11:52:39 +0000
X-Env-Sender: artem.mygaiev@globallogic.com
X-Msg-Ref: server-16.tower-206.messagelabs.com!1421236355!15098880!1
X-Originating-IP: [64.18.0.145]
X-SpamReason: No, hits=0.3 required=7.0 tests=HTML_MESSAGE,RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18230 invoked from network); 14 Jan 2015 11:52:36 -0000
Received: from exprod5og103.obsmtp.com (HELO exprod5og103.obsmtp.com)
	(64.18.0.145)
	by server-16.tower-206.messagelabs.com with DHE-RSA-AES256-SHA
	encrypted SMTP; 14 Jan 2015 11:52:36 -0000
Received: from mail-qa0-f45.google.com ([209.85.216.45]) (using TLSv1) by
	exprod5ob103.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVLZYgnWKYrmYNTFtkk6RdA9od5gV868k@postini.com;
	Wed, 14 Jan 2015 03:52:36 PST
Received: by mail-qa0-f45.google.com with SMTP id n8so6229643qaq.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Wed, 14 Jan 2015 03:52:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:from:date:message-id:subject:to
	:cc:content-type;
	bh=1EqzAnvudnRm4fFadekGKd2Z38UH9Hm4KJwnH2umYsQ=;
	b=PPqM2AezDEixzZM7E4UJ2UUdKivFtl+duLZ+vYMr4/8G6I0mZnn3R2PVi1XcpGGsin
	sC0hREY0p+wEOWh4eg+h3qkO7zYrCuH4eHDmmrLFJ07ozhcW6O+QhfYSWF4nqjYDWTmV
	PtMcUNypdm8oCStr9ynMCAGcd5hr9MX55kI+4=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type;
	bh=1EqzAnvudnRm4fFadekGKd2Z38UH9Hm4KJwnH2umYsQ=;
	b=mM//vp4Q/q+x5Y1VO7n7RqKK6jjT3feF+BfftZMJG8ivJzpeS/cI+g+ITcBy0LJUFq
	TKxUNLO4BVLhY4vzZ+1j6a8ozIz8RhKD6F0a0i4NkBEPzHj6VAVvaFOnRA/GgnKt06z+
	aik6ymdpBHbMRItUyf5hhcslL8kzL2TsEZomoI4hjiW9bSfx5Ygfu7C/IxrIMCaju54Z
	h2T89WCxvWwoWRjcRLvUBJ5S27hcQNFj+M7MwZ77xcQ81sUQgW3yeaXfcXIDLljqaTrI
	ndqkdlYMAU6324AxYqGczr3zWlNasrcMQkQSeAbm+TyuTcaSrkXRo42ayiZ5WCGAGbDw
	4fJg==
X-Gm-Message-State: ALoCoQm7LFp/hAJwVIxISK5ENKZsCyAPbAKy1iqVRAG+NcwtQzL2w6MOxtkua2vjKQGmIFXzT0FNpo8E2TZbNbROGuVBU0Iq1pixUXgmcUiSeWnqA4dCBMejrKlwGcOT9dcubIz2mzZpgED63ahdh60gtozFSz3wKsOidDNasEF6D/3wA3NFl4c=
X-Received: by 10.224.96.129 with SMTP id h1mr5897916qan.46.1421236354424;
	Wed, 14 Jan 2015 03:52:34 -0800 (PST)
X-Received: by 10.224.96.129 with SMTP id h1mr5897892qan.46.1421236354276;
	Wed, 14 Jan 2015 03:52:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.231.79 with HTTP; Wed, 14 Jan 2015 03:52:14 -0800 (PST)
In-Reply-To: <DBEDEBDEC37BB04497828074EB10055271C27032@ALA-MBB.corp.ad.wrs.com>
References: <DBEDEBDEC37BB04497828074EB10055271C27032@ALA-MBB.corp.ad.wrs.com>
From: Artem Mygaiev <artem.mygaiev@globallogic.com>
Date: Wed, 14 Jan 2015 13:52:14 +0200
Message-ID: <CALQdcAKQSh4f6WgqW0VN5HZAuX=Y4hnmLhO_p8=oP+0S31gj=w@mail.gmail.com>
To: "Satyavolu, Surya" <Surya.Satyavolu@windriver.com>
Cc: "embedded-pv-devel@lists.xenproject.org"
	<embedded-pv-devel@lists.xenproject.org>
Subject: Re: [Embedded-pv-devel] New to the Xen Automotive/Embedded Project
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5178785043314793578=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============5178785043314793578==
Content-Type: multipart/alternative; boundary=001a11c34efa09f03a050c9b6062

--001a11c34efa09f03a050c9b6062
Content-Type: text/plain; charset=UTF-8

Hello Surya
Currently we fully support TI's Jacinto6 and Jacinto6eco platforms, also it
is possible to run Xen on Renesas R-Car M2 and R-Car H2 processors, and, of
course, Intel's CPUs. To get started you can have EVMs supplied by SoC
vendors.

Artem Mygaiev | *Associate Vice President, Engineering*
GlobalLogic
P +380.44.4929695 ext.2023 M +380.67.9211131 S rosenkrantzguildenstern
www.globallogic.com
<http://www.globallogic.com/>
http://www.globallogic.com/email_disclaimer.txt

On Fri, Jan 2, 2015 at 8:03 PM, Satyavolu, Surya <
Surya.Satyavolu@windriver.com> wrote:

>  Hi,
>
>   I am new to the automotive/embedded xen project but have interest in the
> space. Where can I get the current status of the project including any
> existing hardware support. Specifically, which development boards are
> currently supported and any user guides to start development?
>
> Thanks!
>
> Surya
>
> _______________________________________________
> Embedded-pv-devel mailing list
> Embedded-pv-devel@lists.xenproject.org
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
>

--001a11c34efa09f03a050c9b6062
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Hel=
lo Surya</div><div class=3D"gmail_default" style=3D"font-size:small">Curren=
tly we fully support TI&#39;s Jacinto6 and Jacinto6eco platforms, also it i=
s possible to run Xen on Renesas R-Car M2 and R-Car H2 processors, and, of =
course, Intel&#39;s CPUs. To get started you can have EVMs supplied by SoC =
vendors.</div></div><div class=3D"gmail_extra"><br clear=3D"all"><div><div =
class=3D"gmail_signature"><div dir=3D"ltr"><font><span style=3D"vertical-al=
ign:baseline;font-variant:normal;font-style:normal;background-color:transpa=
rent;text-decoration:none;font-family:Arial;font-weight:bold">Artem Mygaiev=
 |=C2=A0</span></font><span style=3D"color:rgb(51,51,51);font-family:Arial,=
Helvetica,sans-serif"><b><font>Associate Vice President, Engineering</font>=
</b></span><font size=3D"-1"><br><span style=3D"vertical-align:baseline;fon=
t-variant:normal;font-style:normal;font-size:12px;background-color:transpar=
ent;text-decoration:none;font-family:Arial;font-weight:normal">GlobalLogic<=
/span><br><span style=3D"vertical-align:baseline;font-variant:normal;font-s=
tyle:normal;font-size:12px;background-color:transparent;text-decoration:non=
e;font-family:Arial;font-weight:normal">P +380.44.4929695 ext.2023=C2=A0</s=
pan></font><span style=3D"background-color:transparent;font-family:Arial;fo=
nt-size:12px">M +380.67.9211131 S rosenkrantzguildenstern</span><div><font =
size=3D"-1"><a href=3D"http://www.globallogic.com/" target=3D"_blank"><span=
 style=3D"font-size:12px;font-family:Arial;color:#1155cc;background-color:t=
ransparent;font-weight:normal;font-style:normal;font-variant:normal;text-de=
coration:underline;vertical-align:baseline">www.globallogic.com</span></a><=
span style=3D"vertical-align:baseline;font-variant:normal;font-style:normal=
;font-size:12px;background-color:transparent;text-decoration:none;font-fami=
ly:Arial;font-weight:normal"></span><br><a href=3D"http://www.globallogic.c=
om/" target=3D"_blank"><span style=3D"font-size:12px;font-family:Arial;colo=
r:#1155cc;background-color:transparent;font-weight:normal;font-style:normal=
;font-variant:normal;text-decoration:underline;vertical-align:baseline"></s=
pan></a><br><a href=3D"http://www.globallogic.com/email_disclaimer.txt" tar=
get=3D"_blank"><span style=3D"font-size:11px;font-family:Arial;color:#1155c=
c;background-color:transparent;font-weight:normal;font-style:normal;font-va=
riant:normal;text-decoration:underline;vertical-align:baseline">http://www.=
globallogic.com/email_disclaimer.txt</span></a><span style=3D"vertical-alig=
n:baseline;font-variant:normal;font-style:normal;font-size:11px;background-=
color:transparent;text-decoration:none;font-family:Arial;font-weight:normal=
"></span></font></div></div></div></div>
<br><div class=3D"gmail_quote">On Fri, Jan 2, 2015 at 8:03 PM, Satyavolu, S=
urya <span dir=3D"ltr">&lt;<a href=3D"mailto:Surya.Satyavolu@windriver.com"=
 target=3D"_blank">Surya.Satyavolu@windriver.com</a>&gt;</span> wrote:<br><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">Hi,<u></u><u></u></p>
<p class=3D"MsoNormal">=C2=A0 I am new to the automotive/embedded xen proje=
ct but have interest in the space. Where can I get the current status of th=
e project including any existing hardware support. Specifically, which deve=
lopment boards are currently supported
 and any user guides to start development?<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks!<span class=3D"HOEnZb"><font color=3D"#888888=
"><u></u><u></u></font></span></p><span class=3D"HOEnZb"><font color=3D"#88=
8888">
<p class=3D"MsoNormal">Surya<u></u><u></u></p>
</font></span></div>
</div>

<br>_______________________________________________<br>
Embedded-pv-devel mailing list<br>
<a href=3D"mailto:Embedded-pv-devel@lists.xenproject.org">Embedded-pv-devel=
@lists.xenproject.org</a><br>
<a href=3D"http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv=
-devel" target=3D"_blank">http://lists.xenproject.org/cgi-bin/mailman/listi=
nfo/embedded-pv-devel</a><br></blockquote></div><br></div>

--001a11c34efa09f03a050c9b6062--


--===============5178785043314793578==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============5178785043314793578==--


From embedded-pv-devel-bounces@lists.xenproject.org Mon Jan 19 14:27:38 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 19 Jan 2015 14:27:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDDIo-0000cX-Gz; Mon, 19 Jan 2015 14:27:38 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lars.kurth.xen@gmail.com>)
	id 1YDDIn-0000cN-Am; Mon, 19 Jan 2015 14:27:37 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	7C/58-24859-8541DB45; Mon, 19 Jan 2015 14:27:36 +0000
X-Env-Sender: lars.kurth.xen@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1421677653!16213241!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29800 invoked from network); 19 Jan 2015 14:27:33 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 Jan 2015 14:27:33 -0000
Received: by mail-wg0-f42.google.com with SMTP id k14so32084182wgh.1;
	Mon, 19 Jan 2015 06:27:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:subject:date:message-id:cc:to:mime-version;
	bh=YJM0At6/tk9nuiji/93m4G0/IXz5MOM+VZORpOg1YBk=;
	b=bZvPwtrTNG8G2at/6VFyzl8d37OJEi/Asg6rISJVwjbMdjJx61X1Hxf4UnITwTKsMI
	Bty9T7fEHqo0d4stwbSYikVKV5aR9mUFj2C5d8tCGtuqBaWIajXLth+jUxAsUvPVsafp
	VSMHxYarvsSzC33L2cgDHHvSzsgJcq7SxVztDp0W7xFGo5DUiMZ0a99dv+8Z2T1AWw5d
	F3UI2g5Pj4Sp/RFJVJxr7U6PN3rlxoxQ1nI/rzys3qjP2NTzGEbzuLl7iMlY/QiveRFR
	oy6Z4pl+lWTnMu5QSZk/cH5XQkyZxNvfj4rqjNW+ggaUzmxbsrpdGSNDrAtzWLBwMyos
	TKJA==
X-Received: by 10.194.203.199 with SMTP id ks7mr58873880wjc.105.1421677653151; 
	Mon, 19 Jan 2015 06:27:33 -0800 (PST)
Received: from [192.168.0.8] (97e5a0c2.skybroadband.com. [151.229.160.194])
	by mx.google.com with ESMTPSA id i3sm14388745wie.23.2015.01.19.06.27.31
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 19 Jan 2015 06:27:32 -0800 (PST)
From: Lars Kurth <lars.kurth.xen@gmail.com>
Date: Mon, 19 Jan 2015 14:27:29 +0000
Message-Id: <D2C07418-65FF-4015-B506-A8A88F4D2217@gmail.com>
To: embedded-pv-devel@lists.xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Cc: artem Mygaiev <artem.mygaiev@globallogic.com>,
	Alex Agizim <alex.agizim@globallogic.com>,
	Russ Pavlicek <russell.pavlicek@xenproject.org>
Subject: [Embedded-pv-devel] Building Community momentum in the automotive
	subproject
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0999182820746843395=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org


--===============0999182820746843395==
Content-Type: multipart/alternative; boundary="Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4"


--Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Artem,

I am just summarising some key points from our conversation. Here are =
some of my thoughts

=3D Low Hanging Fruit =3D

=3D=3D Mailing List =3D=3D
One of the issues we have is that the mailing list is still very quiet. =
Part of the reason is that much of the development work is currently =
happening in Linux upstream and Xen upstream. The mailing lists are the =
heart of the community, and unless we get the traffic up, it will be =
challenging to get others involved. The first thing that is needed, is =
to start using the list.

A number of easy way to address this, until we get the actual automotive =
repositories sorted and the code into them, would be to
* CC embedded-pv-devel@lists.xenproject.org to conversations that relate =
to Linux upstream, Xen upstream and others where you lay the groundwork =
for the project
* Given that some conversations have already been started elsewhere, =
maybe you can send a mail to embedded-pv-devel@lists.xenproject.org with =
pointers to relevant discussions where you may want wider community =
input, such as
** Add sound to front-end driver - =
http://www.gossamer-threads.com/lists/xen/devel/362595
** arm: introduce basic Renesas R-Car Gen2 platform support - =
http://www.gossamer-threads.com/lists/xen/devel/362335
** Etc.
* Members of your team could lead some discussions on the mailing list. =
If you look at =
http://xenproject.org/developers/teams/windows-pv-drivers.html (and =
http://lists.xenproject.org/archives/html/win-pv-devel/2015-01/) - this =
is what we are currently doing for the Windows PV Drivers subproject. In =
November, all messages were from Citrix on the list, but in December and =
January there were first posts from others. =20

The other suggestion I would want to make is that we post minutes of our =
meetings on the list and/or that Artem posts monthly project updates to =
the list.

Further, if you create white-papers such as =
http://wiki.xenproject.org/wiki/Automotive_Whitepapers, please send an =
e-mail to embedded-pv-devel@lists.xenproject.org, but CC xen-devel.=20

The other thing which is quite important is being timely in responding =
to questions from embedded-pv-devel@lists.xenproject.org.

=3D=3D Project Page is out-of-date =3D=3D
The other issue we have is that =
http://xenproject.org/developers/teams/embedded-and-automotive.html is =
out of date. There are a number of options:
* I can give Artem write access to the website - but finding your way =
around Joomla is quite tedious
* Alternatively, just post what you want changed to =
embedded-pv-devel@lists.xenproject.org and then I can go and fix it

For news pieces on =
http://xenproject.org/developers/teams/embedded-and-automotive.html I =
could generate a widget that consumes an RSS feed. This would look =
similar to "MIRAGE OS NEWS" on the right hand side of =
http://xenproject.org/developers/teams/mirage-os.html. To do this, we =
would need some means of generating the RSS feed. This could either be a =
blog, or an RSS feed builder (something like WebRSS or similar).

If it was a blog, I can also include it into =
http://xenproject.org/planet-xen.html=20

=3D Automotive Targeted Event =3D

We also discussed whether we can host an automotive event in Europe. We =
would be talking of a 1 day event, somewhere in Europe, for 50 people, =
before the summer holidays targeted at tier 1 OEMs, car manufacturers.=20=


As we discussed this is only doable, if we can find a vendor who would =
volunteer to host such an event. Otherwise the costs would be too =
prohibitive. As we both agreed, we will approach a number of vendors and =
then report back to the list.

=3D Code Repositories =3D=20
One of the things which is extremely important, is that we start getting =
the code which was listed in =
http://wiki.xenproject.org/wiki/Embedded_and_Automotive_PV_Drivers/Project=
_Proposal#Subproject_Proposal out into the open. If this is not =
feasible, or not applicable any more because the drivers are going =
elsewhere, we ought to change the approach and reset expectations. This =
doesn't have to be a big bang: we just need to get the repos created and =
see some activity. Not having the code, is the biggest chicken and =
egg-problem in bootstrapping a community.

Best Regards
Lars



--Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>Artem,</div><div><br></div><div>I am just =
summarising some key points from our conversation. Here are some of my =
thoughts</div><div><br></div><div>=3D Low Hanging Fruit =
=3D</div><div><br></div><div>=3D=3D Mailing List =3D=3D</div><div>One of =
the issues we have is that the mailing list is still very quiet. Part of =
the reason is that much of the development work is currently happening =
in Linux upstream and Xen upstream. The mailing lists are the heart of =
the community, and unless we get the traffic up, it will be challenging =
to get others involved. The first thing that is needed, is to start =
using the list.</div><div><br></div><div>A number of easy way to address =
this, until we get the actual automotive repositories sorted and the =
code into them, would be to</div><div>* CC&nbsp;<a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a> to conversations that relate to Linux upstream, =
Xen upstream and others where you lay the groundwork for the =
project</div><div>* Given that some conversations have already been =
started elsewhere, maybe you can send a mail to&nbsp;<a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a>&nbsp;with pointers to relevant discussions where =
you may want wider community input, such as</div><div>** Add sound to =
front-end driver -&nbsp;<a =
href=3D"http://www.gossamer-threads.com/lists/xen/devel/362595">http://www=
.gossamer-threads.com/lists/xen/devel/362595</a></div><div>**&nbsp;arm: =
introduce basic Renesas R-Car Gen2 platform support - <a =
href=3D"http://www.gossamer-threads.com/lists/xen/devel/362335">http://www=
.gossamer-threads.com/lists/xen/devel/362335</a></div><div>** =
Etc.</div><div>* Members of your team could lead some discussions on the =
mailing list. If you look at&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/windows-pv-drivers.html">ht=
tp://xenproject.org/developers/teams/windows-pv-drivers.html</a>&nbsp;(and=
&nbsp;<a =
href=3D"http://lists.xenproject.org/archives/html/win-pv-devel/2015-01/">h=
ttp://lists.xenproject.org/archives/html/win-pv-devel/2015-01/</a>) - =
this is what we are currently doing for the&nbsp;Windows PV Drivers =
subproject. In November, all messages were from Citrix on the list, but =
in December and January there were first posts from others. =
&nbsp;</div><div><br></div><div>The other suggestion I would want to =
make is that we post minutes of our meetings on the list and/or that =
Artem posts monthly project updates to the =
list.</div><div><br></div><div>Further, if you create white-papers such =
as&nbsp;<a =
href=3D"http://wiki.xenproject.org/wiki/Automotive_Whitepapers">http://wik=
i.xenproject.org/wiki/Automotive_Whitepapers</a>, please send an e-mail =
to <a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a>, but CC =
xen-devel.&nbsp;</div><div><br></div><div>The other thing which is quite =
important is being timely in responding to questions from <a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a>.</div><div><br></div><div>=3D=3D Project Page is =
out-of-date =3D=3D</div><div>The other issue we have is that&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/embedded-and-automotive.htm=
l">http://xenproject.org/developers/teams/embedded-and-automotive.html</a>=
&nbsp;is out of date. There are a number of options:</div><div>* I can =
give Artem write access to the website - but finding your way around =
Joomla is quite tedious</div><div>* Alternatively, just post what you =
want changed to <a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a> and then I can go and fix =
it</div><div><br></div><div>For news pieces on&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/embedded-and-automotive.htm=
l">http://xenproject.org/developers/teams/embedded-and-automotive.html</a>=
&nbsp;I could generate a widget that consumes an RSS feed. This would =
look similar to "MIRAGE OS NEWS" on the right hand side of&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/mirage-os.html">http://xenp=
roject.org/developers/teams/mirage-os.html</a>. To do this, we would =
need some means of generating the RSS feed. This could either be a blog, =
or an RSS feed builder (something like WebRSS or =
similar).</div><div><br></div><div>If it was a blog, I can also include =
it into&nbsp;<a =
href=3D"http://xenproject.org/planet-xen.html">http://xenproject.org/plane=
t-xen.html</a>&nbsp;</div><div><br></div><div>=3D Automotive Targeted =
Event =3D</div><div><br></div><div>We also discussed whether we can host =
an automotive event in Europe. We would be talking of a 1 day event, =
somewhere in Europe, for 50 people, before the summer holidays targeted =
at tier 1 OEMs, car manufacturers.&nbsp;</div><div><br></div><div>As we =
discussed this is only doable, if we can find a vendor who would =
volunteer to host such an event. Otherwise the costs would be too =
prohibitive. As we both agreed, we will approach a number of vendors and =
then report back to the list.</div><div><br></div><div>=3D Code =
Repositories =3D&nbsp;</div><div>One of the things which is extremely =
important, is that we start getting the code which was listed in&nbsp;<a =
href=3D"http://wiki.xenproject.org/wiki/Embedded_and_Automotive_PV_Drivers=
/Project_Proposal#Subproject_Proposal">http://wiki.xenproject.org/wiki/Emb=
edded_and_Automotive_PV_Drivers/Project_Proposal#Subproject_Proposal</a>&n=
bsp;out into the open. If this is not feasible, or not applicable any =
more because the drivers are going elsewhere, we ought to change the =
approach and reset expectations. This doesn't have to be a big bang: we =
just need to get the repos created and see some activity. Not having the =
code, is the biggest chicken and egg-problem in bootstrapping a =
community.</div><div><br></div><div>Best =
Regards</div><div>Lars</div><div><br></div><div><br></div></body></html>=

--Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4--


--===============0999182820746843395==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============0999182820746843395==--


From embedded-pv-devel-bounces@lists.xenproject.org Mon Jan 19 14:27:38 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 19 Jan 2015 14:27:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDDIo-0000cX-Gz; Mon, 19 Jan 2015 14:27:38 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lars.kurth.xen@gmail.com>)
	id 1YDDIn-0000cN-Am; Mon, 19 Jan 2015 14:27:37 +0000
Received: from [85.158.137.68] by server-10.bemta-3.messagelabs.com id
	7C/58-24859-8541DB45; Mon, 19 Jan 2015 14:27:36 +0000
X-Env-Sender: lars.kurth.xen@gmail.com
X-Msg-Ref: server-6.tower-31.messagelabs.com!1421677653!16213241!1
X-Originating-IP: [74.125.82.42]
X-SpamReason: No, hits=0.6 required=7.0 tests=BODY_RANDOM_LONG,
	HTML_30_40,HTML_MESSAGE
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 29800 invoked from network); 19 Jan 2015 14:27:33 -0000
Received: from mail-wg0-f42.google.com (HELO mail-wg0-f42.google.com)
	(74.125.82.42)
	by server-6.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	19 Jan 2015 14:27:33 -0000
Received: by mail-wg0-f42.google.com with SMTP id k14so32084182wgh.1;
	Mon, 19 Jan 2015 06:27:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:subject:date:message-id:cc:to:mime-version;
	bh=YJM0At6/tk9nuiji/93m4G0/IXz5MOM+VZORpOg1YBk=;
	b=bZvPwtrTNG8G2at/6VFyzl8d37OJEi/Asg6rISJVwjbMdjJx61X1Hxf4UnITwTKsMI
	Bty9T7fEHqo0d4stwbSYikVKV5aR9mUFj2C5d8tCGtuqBaWIajXLth+jUxAsUvPVsafp
	VSMHxYarvsSzC33L2cgDHHvSzsgJcq7SxVztDp0W7xFGo5DUiMZ0a99dv+8Z2T1AWw5d
	F3UI2g5Pj4Sp/RFJVJxr7U6PN3rlxoxQ1nI/rzys3qjP2NTzGEbzuLl7iMlY/QiveRFR
	oy6Z4pl+lWTnMu5QSZk/cH5XQkyZxNvfj4rqjNW+ggaUzmxbsrpdGSNDrAtzWLBwMyos
	TKJA==
X-Received: by 10.194.203.199 with SMTP id ks7mr58873880wjc.105.1421677653151; 
	Mon, 19 Jan 2015 06:27:33 -0800 (PST)
Received: from [192.168.0.8] (97e5a0c2.skybroadband.com. [151.229.160.194])
	by mx.google.com with ESMTPSA id i3sm14388745wie.23.2015.01.19.06.27.31
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Mon, 19 Jan 2015 06:27:32 -0800 (PST)
From: Lars Kurth <lars.kurth.xen@gmail.com>
Date: Mon, 19 Jan 2015 14:27:29 +0000
Message-Id: <D2C07418-65FF-4015-B506-A8A88F4D2217@gmail.com>
To: embedded-pv-devel@lists.xenproject.org,
	xen-devel <xen-devel@lists.xenproject.org>
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Cc: artem Mygaiev <artem.mygaiev@globallogic.com>,
	Alex Agizim <alex.agizim@globallogic.com>,
	Russ Pavlicek <russell.pavlicek@xenproject.org>
Subject: [Embedded-pv-devel] Building Community momentum in the automotive
	subproject
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0999182820746843395=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org


--===============0999182820746843395==
Content-Type: multipart/alternative; boundary="Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4"


--Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Artem,

I am just summarising some key points from our conversation. Here are =
some of my thoughts

=3D Low Hanging Fruit =3D

=3D=3D Mailing List =3D=3D
One of the issues we have is that the mailing list is still very quiet. =
Part of the reason is that much of the development work is currently =
happening in Linux upstream and Xen upstream. The mailing lists are the =
heart of the community, and unless we get the traffic up, it will be =
challenging to get others involved. The first thing that is needed, is =
to start using the list.

A number of easy way to address this, until we get the actual automotive =
repositories sorted and the code into them, would be to
* CC embedded-pv-devel@lists.xenproject.org to conversations that relate =
to Linux upstream, Xen upstream and others where you lay the groundwork =
for the project
* Given that some conversations have already been started elsewhere, =
maybe you can send a mail to embedded-pv-devel@lists.xenproject.org with =
pointers to relevant discussions where you may want wider community =
input, such as
** Add sound to front-end driver - =
http://www.gossamer-threads.com/lists/xen/devel/362595
** arm: introduce basic Renesas R-Car Gen2 platform support - =
http://www.gossamer-threads.com/lists/xen/devel/362335
** Etc.
* Members of your team could lead some discussions on the mailing list. =
If you look at =
http://xenproject.org/developers/teams/windows-pv-drivers.html (and =
http://lists.xenproject.org/archives/html/win-pv-devel/2015-01/) - this =
is what we are currently doing for the Windows PV Drivers subproject. In =
November, all messages were from Citrix on the list, but in December and =
January there were first posts from others. =20

The other suggestion I would want to make is that we post minutes of our =
meetings on the list and/or that Artem posts monthly project updates to =
the list.

Further, if you create white-papers such as =
http://wiki.xenproject.org/wiki/Automotive_Whitepapers, please send an =
e-mail to embedded-pv-devel@lists.xenproject.org, but CC xen-devel.=20

The other thing which is quite important is being timely in responding =
to questions from embedded-pv-devel@lists.xenproject.org.

=3D=3D Project Page is out-of-date =3D=3D
The other issue we have is that =
http://xenproject.org/developers/teams/embedded-and-automotive.html is =
out of date. There are a number of options:
* I can give Artem write access to the website - but finding your way =
around Joomla is quite tedious
* Alternatively, just post what you want changed to =
embedded-pv-devel@lists.xenproject.org and then I can go and fix it

For news pieces on =
http://xenproject.org/developers/teams/embedded-and-automotive.html I =
could generate a widget that consumes an RSS feed. This would look =
similar to "MIRAGE OS NEWS" on the right hand side of =
http://xenproject.org/developers/teams/mirage-os.html. To do this, we =
would need some means of generating the RSS feed. This could either be a =
blog, or an RSS feed builder (something like WebRSS or similar).

If it was a blog, I can also include it into =
http://xenproject.org/planet-xen.html=20

=3D Automotive Targeted Event =3D

We also discussed whether we can host an automotive event in Europe. We =
would be talking of a 1 day event, somewhere in Europe, for 50 people, =
before the summer holidays targeted at tier 1 OEMs, car manufacturers.=20=


As we discussed this is only doable, if we can find a vendor who would =
volunteer to host such an event. Otherwise the costs would be too =
prohibitive. As we both agreed, we will approach a number of vendors and =
then report back to the list.

=3D Code Repositories =3D=20
One of the things which is extremely important, is that we start getting =
the code which was listed in =
http://wiki.xenproject.org/wiki/Embedded_and_Automotive_PV_Drivers/Project=
_Proposal#Subproject_Proposal out into the open. If this is not =
feasible, or not applicable any more because the drivers are going =
elsewhere, we ought to change the approach and reset expectations. This =
doesn't have to be a big bang: we just need to get the repos created and =
see some activity. Not having the code, is the biggest chicken and =
egg-problem in bootstrapping a community.

Best Regards
Lars



--Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space;"><div>Artem,</div><div><br></div><div>I am just =
summarising some key points from our conversation. Here are some of my =
thoughts</div><div><br></div><div>=3D Low Hanging Fruit =
=3D</div><div><br></div><div>=3D=3D Mailing List =3D=3D</div><div>One of =
the issues we have is that the mailing list is still very quiet. Part of =
the reason is that much of the development work is currently happening =
in Linux upstream and Xen upstream. The mailing lists are the heart of =
the community, and unless we get the traffic up, it will be challenging =
to get others involved. The first thing that is needed, is to start =
using the list.</div><div><br></div><div>A number of easy way to address =
this, until we get the actual automotive repositories sorted and the =
code into them, would be to</div><div>* CC&nbsp;<a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a> to conversations that relate to Linux upstream, =
Xen upstream and others where you lay the groundwork for the =
project</div><div>* Given that some conversations have already been =
started elsewhere, maybe you can send a mail to&nbsp;<a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a>&nbsp;with pointers to relevant discussions where =
you may want wider community input, such as</div><div>** Add sound to =
front-end driver -&nbsp;<a =
href=3D"http://www.gossamer-threads.com/lists/xen/devel/362595">http://www=
.gossamer-threads.com/lists/xen/devel/362595</a></div><div>**&nbsp;arm: =
introduce basic Renesas R-Car Gen2 platform support - <a =
href=3D"http://www.gossamer-threads.com/lists/xen/devel/362335">http://www=
.gossamer-threads.com/lists/xen/devel/362335</a></div><div>** =
Etc.</div><div>* Members of your team could lead some discussions on the =
mailing list. If you look at&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/windows-pv-drivers.html">ht=
tp://xenproject.org/developers/teams/windows-pv-drivers.html</a>&nbsp;(and=
&nbsp;<a =
href=3D"http://lists.xenproject.org/archives/html/win-pv-devel/2015-01/">h=
ttp://lists.xenproject.org/archives/html/win-pv-devel/2015-01/</a>) - =
this is what we are currently doing for the&nbsp;Windows PV Drivers =
subproject. In November, all messages were from Citrix on the list, but =
in December and January there were first posts from others. =
&nbsp;</div><div><br></div><div>The other suggestion I would want to =
make is that we post minutes of our meetings on the list and/or that =
Artem posts monthly project updates to the =
list.</div><div><br></div><div>Further, if you create white-papers such =
as&nbsp;<a =
href=3D"http://wiki.xenproject.org/wiki/Automotive_Whitepapers">http://wik=
i.xenproject.org/wiki/Automotive_Whitepapers</a>, please send an e-mail =
to <a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a>, but CC =
xen-devel.&nbsp;</div><div><br></div><div>The other thing which is quite =
important is being timely in responding to questions from <a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a>.</div><div><br></div><div>=3D=3D Project Page is =
out-of-date =3D=3D</div><div>The other issue we have is that&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/embedded-and-automotive.htm=
l">http://xenproject.org/developers/teams/embedded-and-automotive.html</a>=
&nbsp;is out of date. There are a number of options:</div><div>* I can =
give Artem write access to the website - but finding your way around =
Joomla is quite tedious</div><div>* Alternatively, just post what you =
want changed to <a =
href=3D"mailto:embedded-pv-devel@lists.xenproject.org">embedded-pv-devel@l=
ists.xenproject.org</a> and then I can go and fix =
it</div><div><br></div><div>For news pieces on&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/embedded-and-automotive.htm=
l">http://xenproject.org/developers/teams/embedded-and-automotive.html</a>=
&nbsp;I could generate a widget that consumes an RSS feed. This would =
look similar to "MIRAGE OS NEWS" on the right hand side of&nbsp;<a =
href=3D"http://xenproject.org/developers/teams/mirage-os.html">http://xenp=
roject.org/developers/teams/mirage-os.html</a>. To do this, we would =
need some means of generating the RSS feed. This could either be a blog, =
or an RSS feed builder (something like WebRSS or =
similar).</div><div><br></div><div>If it was a blog, I can also include =
it into&nbsp;<a =
href=3D"http://xenproject.org/planet-xen.html">http://xenproject.org/plane=
t-xen.html</a>&nbsp;</div><div><br></div><div>=3D Automotive Targeted =
Event =3D</div><div><br></div><div>We also discussed whether we can host =
an automotive event in Europe. We would be talking of a 1 day event, =
somewhere in Europe, for 50 people, before the summer holidays targeted =
at tier 1 OEMs, car manufacturers.&nbsp;</div><div><br></div><div>As we =
discussed this is only doable, if we can find a vendor who would =
volunteer to host such an event. Otherwise the costs would be too =
prohibitive. As we both agreed, we will approach a number of vendors and =
then report back to the list.</div><div><br></div><div>=3D Code =
Repositories =3D&nbsp;</div><div>One of the things which is extremely =
important, is that we start getting the code which was listed in&nbsp;<a =
href=3D"http://wiki.xenproject.org/wiki/Embedded_and_Automotive_PV_Drivers=
/Project_Proposal#Subproject_Proposal">http://wiki.xenproject.org/wiki/Emb=
edded_and_Automotive_PV_Drivers/Project_Proposal#Subproject_Proposal</a>&n=
bsp;out into the open. If this is not feasible, or not applicable any =
more because the drivers are going elsewhere, we ought to change the =
approach and reset expectations. This doesn't have to be a big bang: we =
just need to get the repos created and see some activity. Not having the =
code, is the biggest chicken and egg-problem in bootstrapping a =
community.</div><div><br></div><div>Best =
Regards</div><div>Lars</div><div><br></div><div><br></div></body></html>=

--Apple-Mail=_FD1DF9E8-EBFC-41A1-96C5-607FEE338AE4--


--===============0999182820746843395==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============0999182820746843395==--


From embedded-pv-devel-bounces@lists.xenproject.org Tue Jan 20 10:42:30 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 20 Jan 2015 10:42:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDWGU-0002QI-PE; Tue, 20 Jan 2015 10:42:30 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lars.kurth.xen@gmail.com>) id 1YDWGS-0002OS-PE
	for embedded-pv-devel@lists.xenproject.org;
	Tue, 20 Jan 2015 10:42:29 +0000
Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id
	1C/1F-09842-4113EB45; Tue, 20 Jan 2015 10:42:28 +0000
X-Env-Sender: lars.kurth.xen@gmail.com
X-Msg-Ref: server-8.tower-21.messagelabs.com!1421750547!22649878!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2023 invoked from network); 20 Jan 2015 10:42:27 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-8.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jan 2015 10:42:27 -0000
Received: by mail-wg0-f46.google.com with SMTP id x13so36399278wgg.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Tue, 20 Jan 2015 02:42:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=kou+VKm6AR3LVppqf2YGYkRCrc4Fe9+P2O5VEh/s0BE=;
	b=WvnPN4A0vGJW89psjvzW42oftfBDSR9nlThYVyfNUtS2UBswhtMsVW8rSP/wJaNj74
	INEuMe7NWLTPIHQuyY5lf0LFZO2TeXN0yaLR1aui1426epe9QA+WUEtfq3f8eaXxahX/
	VyKvdK2CbgvHMCNZF7vgJDencSai17O4WZmKaLBKZBnSF81IH5xLHRZSuHUt08rwfgt3
	rKLqyhBpuNaL2Rw8wq/GaNd1lt3DipBOjaZntxigkCQAG8jWYsLHDEFASP5m4qzuIWU9
	h7dRfODeu2INKnObZuDyMjIlfHwgr3jdavDWiv1XDm8EHKVBeYSF2ytHfOgBRhVSNAjk
	chYw==
X-Received: by 10.194.190.39 with SMTP id gn7mr23749764wjc.30.1421750546916;
	Tue, 20 Jan 2015 02:42:26 -0800 (PST)
Received: from [192.168.0.8] (97e5a0c2.skybroadband.com. [151.229.160.194])
	by mx.google.com with ESMTPSA id d7sm8432788wjs.2.2015.01.20.02.42.25
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 20 Jan 2015 02:42:26 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Lars Kurth <lars.kurth.xen@gmail.com>
In-Reply-To: <20150119191238.GA15495@galois.com>
Date: Tue, 20 Jan 2015 10:42:23 +0000
Message-Id: <431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
References: <20150119191238.GA15495@galois.com>
To: Jonathan Daugherty <jtd@galois.com>
X-Mailer: Apple Mail (2.1878.6)
Cc: xen-users@lists.xen.org, embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] [Xen-users] ANN: FreeRTOS 7.6.0 for Xen on
	ARM released
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Jonathan, 
thanks for letting us know and congratulations. Added the embedded list also. I am assuming you are still planning to upstream to freertos sometimes? 
BTW: Do you have an account on Xenproject.org? I would like to add the freertos port to the projects in the vendor directory and assign the entry to you such that you can change it
Regards
Lars

On 19 Jan 2015, at 19:12, Jonathan Daugherty <jtd@galois.com> wrote:

> Hi,
> 
> I'm pleased to announce that my port of FreeRTOS 7.6.0 for Xen on ARM is
> now released!  Now you can deploy FreeRTOS alongside all of those tiny
> Mirage VMs you have been running.  The source is available on GitHub:
> 
>  https://github.com/GaloisInc/FreeRTOS-Xen
> 
> I presented this work at last year's Xen Developer Summit, and it is
> finally out. I am happy to accept community patches, address issues,
> etc. To test your patches, you'll need an ARM system running Xen.
> 
> Many thanks to the Xen developers who helped us along the way!
> 
> Enjoy,
> 
> -- 
>  Jonathan Daugherty
>  Software Engineer
>  Galois, Inc.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xen.org
> http://lists.xen.org/xen-users


_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Tue Jan 20 10:42:30 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 20 Jan 2015 10:42:30 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDWGU-0002QI-PE; Tue, 20 Jan 2015 10:42:30 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lars.kurth.xen@gmail.com>) id 1YDWGS-0002OS-PE
	for embedded-pv-devel@lists.xenproject.org;
	Tue, 20 Jan 2015 10:42:29 +0000
Received: from [85.158.143.35] by server-1.bemta-4.messagelabs.com id
	1C/1F-09842-4113EB45; Tue, 20 Jan 2015 10:42:28 +0000
X-Env-Sender: lars.kurth.xen@gmail.com
X-Msg-Ref: server-8.tower-21.messagelabs.com!1421750547!22649878!1
X-Originating-IP: [74.125.82.46]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 2023 invoked from network); 20 Jan 2015 10:42:27 -0000
Received: from mail-wg0-f46.google.com (HELO mail-wg0-f46.google.com)
	(74.125.82.46)
	by server-8.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jan 2015 10:42:27 -0000
Received: by mail-wg0-f46.google.com with SMTP id x13so36399278wgg.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Tue, 20 Jan 2015 02:42:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=content-type:mime-version:subject:from:in-reply-to:date:cc
	:content-transfer-encoding:message-id:references:to;
	bh=kou+VKm6AR3LVppqf2YGYkRCrc4Fe9+P2O5VEh/s0BE=;
	b=WvnPN4A0vGJW89psjvzW42oftfBDSR9nlThYVyfNUtS2UBswhtMsVW8rSP/wJaNj74
	INEuMe7NWLTPIHQuyY5lf0LFZO2TeXN0yaLR1aui1426epe9QA+WUEtfq3f8eaXxahX/
	VyKvdK2CbgvHMCNZF7vgJDencSai17O4WZmKaLBKZBnSF81IH5xLHRZSuHUt08rwfgt3
	rKLqyhBpuNaL2Rw8wq/GaNd1lt3DipBOjaZntxigkCQAG8jWYsLHDEFASP5m4qzuIWU9
	h7dRfODeu2INKnObZuDyMjIlfHwgr3jdavDWiv1XDm8EHKVBeYSF2ytHfOgBRhVSNAjk
	chYw==
X-Received: by 10.194.190.39 with SMTP id gn7mr23749764wjc.30.1421750546916;
	Tue, 20 Jan 2015 02:42:26 -0800 (PST)
Received: from [192.168.0.8] (97e5a0c2.skybroadband.com. [151.229.160.194])
	by mx.google.com with ESMTPSA id d7sm8432788wjs.2.2015.01.20.02.42.25
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Tue, 20 Jan 2015 02:42:26 -0800 (PST)
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Lars Kurth <lars.kurth.xen@gmail.com>
In-Reply-To: <20150119191238.GA15495@galois.com>
Date: Tue, 20 Jan 2015 10:42:23 +0000
Message-Id: <431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
References: <20150119191238.GA15495@galois.com>
To: Jonathan Daugherty <jtd@galois.com>
X-Mailer: Apple Mail (2.1878.6)
Cc: xen-users@lists.xen.org, embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] [Xen-users] ANN: FreeRTOS 7.6.0 for Xen on
	ARM released
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Jonathan, 
thanks for letting us know and congratulations. Added the embedded list also. I am assuming you are still planning to upstream to freertos sometimes? 
BTW: Do you have an account on Xenproject.org? I would like to add the freertos port to the projects in the vendor directory and assign the entry to you such that you can change it
Regards
Lars

On 19 Jan 2015, at 19:12, Jonathan Daugherty <jtd@galois.com> wrote:

> Hi,
> 
> I'm pleased to announce that my port of FreeRTOS 7.6.0 for Xen on ARM is
> now released!  Now you can deploy FreeRTOS alongside all of those tiny
> Mirage VMs you have been running.  The source is available on GitHub:
> 
>  https://github.com/GaloisInc/FreeRTOS-Xen
> 
> I presented this work at last year's Xen Developer Summit, and it is
> finally out. I am happy to accept community patches, address issues,
> etc. To test your patches, you'll need an ARM system running Xen.
> 
> Many thanks to the Xen developers who helped us along the way!
> 
> Enjoy,
> 
> -- 
>  Jonathan Daugherty
>  Software Engineer
>  Galois, Inc.
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xen.org
> http://lists.xen.org/xen-users


_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Tue Jan 20 13:29:53 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 20 Jan 2015 13:29:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDYsT-0005pt-41; Tue, 20 Jan 2015 13:29:53 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dario.faggioli@citrix.com>) id 1YDYsR-0005pe-Nu
	for embedded-pv-devel@lists.xenproject.org;
	Tue, 20 Jan 2015 13:29:51 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	25/FB-05632-F485EB45; Tue, 20 Jan 2015 13:29:51 +0000
X-Env-Sender: dario.faggioli@citrix.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1421760588!20942429!1
X-Originating-IP: [66.165.176.63]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n,
	ML_RADAR_SPEW_LINKS_8, spamassassin: ,
	surbl: (ASYNC_NO) c3VyYmxfcmVjaGVja19kZWxheTogMCAoYWJhbmRv
	bmVkOiBhYm91dC5tZS9kYXJpby5mYWdnaW9s\naSk=\n
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18662 invoked from network); 20 Jan 2015 13:29:50 -0000
Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jan 2015 13:29:50 -0000
X-IronPort-AV: E=Sophos;i="5.09,434,1418083200"; 
	d="asc'?scan'208";a="219780820"
Received: from [127.0.0.1] (10.80.16.47) by smtprelay.citrix.com
	(10.13.107.79) with Microsoft SMTP Server id 14.3.210.2;
	Tue, 20 Jan 2015 08:29:46 -0500
Message-ID: <1421760583.12874.28.camel@Abyss.station>
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Lars Kurth <lars.kurth.xen@gmail.com>
Date: Tue, 20 Jan 2015 14:29:43 +0100
In-Reply-To: <431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
References: <20150119191238.GA15495@galois.com>
	<431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
Organization: Citrix
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) 
MIME-Version: 1.0
X-DLP: MIA1
Cc: xen-users@lists.xen.org, Jonathan Daugherty <jtd@galois.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] [Xen-users] ANN: FreeRTOS 7.6.0 for Xen on
	ARM released
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8968031554736345115=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============8968031554736345115==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="=-fCssbUBFANeo7K4ddAaV"

--=-fCssbUBFANeo7K4ddAaV
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2015-01-20 at 10:42 +0000, Lars Kurth wrote:
> BTW: Do you have an account on Xenproject.org? I would like to add the fr=
eertos port to the projects in the vendor directory and assign the entry to=
 you such that you can change it
>
Also, Jonathan, would you be interested in writing a story for our blog
about this? https://blog.xenproject.org/

We've had posts about projects related to Xen in the past:
https://blog.xenproject.org/2013/03/28/xen-orchestra-a-web-interface-for-xc=
p/
https://blog.xenproject.org/2014/01/17/libvirt-support-for-xens-new-libxenl=
ight-toolstack/
https://blog.xenproject.org/2014/12/01/using-xen-project-on-openstack-juno-=
via-libvirt/

and I think this is an interesting news about an interesting project
related to Xen! :-)

You could put in it basically anything you want: status of the project,
steps for trying it (and/or links to there), screenshots, anything. IMO,
a few word on the motivations for the work, and on possible, or on your
current (if possible), use cases would be great!

If you're up to it, just go to
https://blog.xenproject.org/wp-login.php?action=3Dregister , register and
let me know your username, and I'll make you able to write posts. When
you're done, you just save it as a draft, and send the link to
publicity@lists.xenproject.org for review.

Thanks and Regards,
Dario

> On 19 Jan 2015, at 19:12, Jonathan Daugherty <jtd@galois.com> wrote:
>=20
> > Hi,
> >=20
> > I'm pleased to announce that my port of FreeRTOS 7.6.0 for Xen on ARM i=
s
> > now released!  Now you can deploy FreeRTOS alongside all of those tiny
> > Mirage VMs you have been running.  The source is available on GitHub:
> >=20
> >  https://github.com/GaloisInc/FreeRTOS-Xen
> >=20
> > I presented this work at last year's Xen Developer Summit, and it is
> > finally out. I am happy to accept community patches, address issues,
> > etc. To test your patches, you'll need an ARM system running Xen.
> >=20
> > Many thanks to the Xen developers who helped us along the way!
> >=20
> > Enjoy,
> >=20
> > --=20
> >  Jonathan Daugherty
> >  Software Engineer
> >  Galois, Inc.
> >=20
--=20
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


--=-fCssbUBFANeo7K4ddAaV
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlS+WEcACgkQk4XaBE3IOsTTzwCfSm0pMYXjLZCjaaxD4n+o+0I1
HyQAn2AiPFEOjZDjdzRl33V2JqO08Oc/
=2aum
-----END PGP SIGNATURE-----

--=-fCssbUBFANeo7K4ddAaV--


--===============8968031554736345115==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============8968031554736345115==--


From embedded-pv-devel-bounces@lists.xenproject.org Tue Jan 20 13:29:53 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 20 Jan 2015 13:29:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDYsT-0005pt-41; Tue, 20 Jan 2015 13:29:53 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <dario.faggioli@citrix.com>) id 1YDYsR-0005pe-Nu
	for embedded-pv-devel@lists.xenproject.org;
	Tue, 20 Jan 2015 13:29:51 +0000
Received: from [85.158.137.68] by server-2.bemta-3.messagelabs.com id
	25/FB-05632-F485EB45; Tue, 20 Jan 2015 13:29:51 +0000
X-Env-Sender: dario.faggioli@citrix.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1421760588!20942429!1
X-Originating-IP: [66.165.176.63]
X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: 
	VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n,
	ML_RADAR_SPEW_LINKS_8, spamassassin: ,
	surbl: (ASYNC_NO) c3VyYmxfcmVjaGVja19kZWxheTogMCAoYWJhbmRv
	bmVkOiBhYm91dC5tZS9kYXJpby5mYWdnaW9s\naSk=\n
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 18662 invoked from network); 20 Jan 2015 13:29:50 -0000
Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63)
	by server-2.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	20 Jan 2015 13:29:50 -0000
X-IronPort-AV: E=Sophos;i="5.09,434,1418083200"; 
	d="asc'?scan'208";a="219780820"
Received: from [127.0.0.1] (10.80.16.47) by smtprelay.citrix.com
	(10.13.107.79) with Microsoft SMTP Server id 14.3.210.2;
	Tue, 20 Jan 2015 08:29:46 -0500
Message-ID: <1421760583.12874.28.camel@Abyss.station>
From: Dario Faggioli <dario.faggioli@citrix.com>
To: Lars Kurth <lars.kurth.xen@gmail.com>
Date: Tue, 20 Jan 2015 14:29:43 +0100
In-Reply-To: <431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
References: <20150119191238.GA15495@galois.com>
	<431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
Organization: Citrix
X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) 
MIME-Version: 1.0
X-DLP: MIA1
Cc: xen-users@lists.xen.org, Jonathan Daugherty <jtd@galois.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] [Xen-users] ANN: FreeRTOS 7.6.0 for Xen on
	ARM released
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8968031554736345115=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============8968031554736345115==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="=-fCssbUBFANeo7K4ddAaV"

--=-fCssbUBFANeo7K4ddAaV
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, 2015-01-20 at 10:42 +0000, Lars Kurth wrote:
> BTW: Do you have an account on Xenproject.org? I would like to add the fr=
eertos port to the projects in the vendor directory and assign the entry to=
 you such that you can change it
>
Also, Jonathan, would you be interested in writing a story for our blog
about this? https://blog.xenproject.org/

We've had posts about projects related to Xen in the past:
https://blog.xenproject.org/2013/03/28/xen-orchestra-a-web-interface-for-xc=
p/
https://blog.xenproject.org/2014/01/17/libvirt-support-for-xens-new-libxenl=
ight-toolstack/
https://blog.xenproject.org/2014/12/01/using-xen-project-on-openstack-juno-=
via-libvirt/

and I think this is an interesting news about an interesting project
related to Xen! :-)

You could put in it basically anything you want: status of the project,
steps for trying it (and/or links to there), screenshots, anything. IMO,
a few word on the motivations for the work, and on possible, or on your
current (if possible), use cases would be great!

If you're up to it, just go to
https://blog.xenproject.org/wp-login.php?action=3Dregister , register and
let me know your username, and I'll make you able to write posts. When
you're done, you just save it as a draft, and send the link to
publicity@lists.xenproject.org for review.

Thanks and Regards,
Dario

> On 19 Jan 2015, at 19:12, Jonathan Daugherty <jtd@galois.com> wrote:
>=20
> > Hi,
> >=20
> > I'm pleased to announce that my port of FreeRTOS 7.6.0 for Xen on ARM i=
s
> > now released!  Now you can deploy FreeRTOS alongside all of those tiny
> > Mirage VMs you have been running.  The source is available on GitHub:
> >=20
> >  https://github.com/GaloisInc/FreeRTOS-Xen
> >=20
> > I presented this work at last year's Xen Developer Summit, and it is
> > finally out. I am happy to accept community patches, address issues,
> > etc. To test your patches, you'll need an ARM system running Xen.
> >=20
> > Many thanks to the Xen developers who helped us along the way!
> >=20
> > Enjoy,
> >=20
> > --=20
> >  Jonathan Daugherty
> >  Software Engineer
> >  Galois, Inc.
> >=20
--=20
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


--=-fCssbUBFANeo7K4ddAaV
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlS+WEcACgkQk4XaBE3IOsTTzwCfSm0pMYXjLZCjaaxD4n+o+0I1
HyQAn2AiPFEOjZDjdzRl33V2JqO08Oc/
=2aum
-----END PGP SIGNATURE-----

--=-fCssbUBFANeo7K4ddAaV--


--===============8968031554736345115==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============8968031554736345115==--


From embedded-pv-devel-bounces@lists.xenproject.org Wed Jan 21 09:31:37 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 21 Jan 2015 09:31:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDrdR-0001Ik-CB; Wed, 21 Jan 2015 09:31:37 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jtd@galois.com>) id 1YDeYA-00036m-Ae
	for embedded-pv-devel@lists.xenproject.org;
	Tue, 20 Jan 2015 19:33:18 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	09/D8-27584-D7DAEB45; Tue, 20 Jan 2015 19:33:17 +0000
X-Env-Sender: jtd@galois.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1421782393!11570268!1
X-Originating-IP: [66.193.37.198]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20747 invoked from network); 20 Jan 2015 19:33:15 -0000
Received: from quintic.galois.com (HELO mail.galois.com) (66.193.37.198)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 Jan 2015 19:33:15 -0000
Received: from hurricane.galois.com (hurricane.galois.com
	[IPv6:2001:4870:e08e:200:5054:ff:fefa:ce41])
	by mail.galois.com (8.14.4/8.14.4) with ESMTP id t0KJX7h3018224
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=OK); Tue, 20 Jan 2015 11:33:11 -0800
Received: from galois.com ([IPv6:2001:4870:e08e:201:d056:32ee:c60f:7b7c])
	(authenticated bits=0)
	by hurricane.galois.com (8.14.4/8.14.4) with ESMTP id t0KJX7tQ029652
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=NO); Tue, 20 Jan 2015 11:33:07 -0800
Date: Tue, 20 Jan 2015 11:33:07 -0800
From: Jonathan Daugherty <jtd@galois.com>
To: Lars Kurth <lars.kurth.xen@gmail.com>
Message-ID: <20150120193307.GD10782@galois.com>
References: <20150119191238.GA15495@galois.com>
	<431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.5 required=4.5 tests=BAYES_00,T_RP_MATCHES_RCVD
	shortcircuit=no autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on quintic.galois.com
X-Mailman-Approved-At: Wed, 21 Jan 2015 09:31:36 +0000
Cc: xen-users@lists.xen.org, embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] [Xen-users] ANN: FreeRTOS 7.6.0 for Xen on
	ARM released
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

> thanks for letting us know and congratulations. Added the embedded
> list also. I am assuming you are still planning to upstream to
> freertos sometimes?

It's looking like the right way to go with contributing this work is to
upload it to (or at least mention it on) the FreeRTOS community support
site,

  http://interactive.freertos.org/

> BTW: Do you have an account on Xenproject.org? I would like to add the
> freertos port to the projects in the vendor directory and assign the
> entry to you such that you can change it

I created an account under the name 'jtdaugherty'.  Thanks!

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Wed Jan 21 09:31:37 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 21 Jan 2015 09:31:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YDrdR-0001Ik-CB; Wed, 21 Jan 2015 09:31:37 +0000
Received: from mail6.bemta5.messagelabs.com ([195.245.231.135])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <jtd@galois.com>) id 1YDeYA-00036m-Ae
	for embedded-pv-devel@lists.xenproject.org;
	Tue, 20 Jan 2015 19:33:18 +0000
Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id
	09/D8-27584-D7DAEB45; Tue, 20 Jan 2015 19:33:17 +0000
X-Env-Sender: jtd@galois.com
X-Msg-Ref: server-3.tower-206.messagelabs.com!1421782393!11570268!1
X-Originating-IP: [66.193.37.198]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 20747 invoked from network); 20 Jan 2015 19:33:15 -0000
Received: from quintic.galois.com (HELO mail.galois.com) (66.193.37.198)
	by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 20 Jan 2015 19:33:15 -0000
Received: from hurricane.galois.com (hurricane.galois.com
	[IPv6:2001:4870:e08e:200:5054:ff:fefa:ce41])
	by mail.galois.com (8.14.4/8.14.4) with ESMTP id t0KJX7h3018224
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=OK); Tue, 20 Jan 2015 11:33:11 -0800
Received: from galois.com ([IPv6:2001:4870:e08e:201:d056:32ee:c60f:7b7c])
	(authenticated bits=0)
	by hurricane.galois.com (8.14.4/8.14.4) with ESMTP id t0KJX7tQ029652
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256
	verify=NO); Tue, 20 Jan 2015 11:33:07 -0800
Date: Tue, 20 Jan 2015 11:33:07 -0800
From: Jonathan Daugherty <jtd@galois.com>
To: Lars Kurth <lars.kurth.xen@gmail.com>
Message-ID: <20150120193307.GD10782@galois.com>
References: <20150119191238.GA15495@galois.com>
	<431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <431CD171-F235-407D-B7DD-A7020D90BF90@gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=-0.5 required=4.5 tests=BAYES_00,T_RP_MATCHES_RCVD
	shortcircuit=no autolearn=no version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on quintic.galois.com
X-Mailman-Approved-At: Wed, 21 Jan 2015 09:31:36 +0000
Cc: xen-users@lists.xen.org, embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] [Xen-users] ANN: FreeRTOS 7.6.0 for Xen on
	ARM released
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

> thanks for letting us know and congratulations. Added the embedded
> list also. I am assuming you are still planning to upstream to
> freertos sometimes?

It's looking like the right way to go with contributing this work is to
upload it to (or at least mention it on) the FreeRTOS community support
site,

  http://interactive.freertos.org/

> BTW: Do you have an account on Xenproject.org? I would like to add the
> freertos port to the projects in the vendor directory and assign the
> entry to you such that you can change it

I created an account under the name 'jtdaugherty'.  Thanks!

-- 
  Jonathan Daugherty
  Software Engineer
  Galois, Inc.

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:07:46 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:07:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEfpq-0007vf-1h; Fri, 23 Jan 2015 15:07:46 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEfpo-0007uU-J6 for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:07:44 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	F7/9D-10078-FB362C45; Fri, 23 Jan 2015 15:07:43 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-3.tower-21.messagelabs.com!1422025661!11608556!1
X-Originating-IP: [64.18.0.139]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12493 invoked from network); 23 Jan 2015 15:07:43 -0000
Received: from exprod5og121.obsmtp.com (HELO exprod5og121.obsmtp.com)
	(64.18.0.139)
	by server-3.tower-21.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:07:43 -0000
Received: from mail-qc0-f174.google.com ([209.85.216.174]) (using TLSv1) by
	exprod5ob121.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJjvdvl8TjVYFxp7klYuELTn31pmEVG@postini.com;
	Fri, 23 Jan 2015 07:07:42 PST
Received: by mail-qc0-f174.google.com with SMTP id s11so6671946qcv.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:07:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=fKFm/dpfQQQYsN3UwpxKnPOWxDPgsq55uDpXJ07GFlM=;
	b=I26d2yiMqsgU4+B0WVckiIOwgs5XNcPxLtIt7PesweYe5QmIF8NuB6Hyz72HrnXCYt
	nGTvUbnHcnJROSertqkFeUCX0bxiA0cLmKDm2i24JuXlBWQa5dxcCeqmmngHQQui8h1w
	eHtz55DRB2zIXFSVFjJkMX9PJ6GIvSv4uwn2s=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=fKFm/dpfQQQYsN3UwpxKnPOWxDPgsq55uDpXJ07GFlM=;
	b=C74kiZoBzqbPXoT6WsXBQYaOEuRdHIx/cfYfZIdEyEkoMR6CpcryhQhcsEFE/h83oY
	lfnlAyhYuqAHdCxOiqS4NDSL+nzCgzAp9C7pStAR5bFkGNY+A3hYJ5DznhcmRrRCSYP+
	tYJgqik6qiX+tfYa+NEAUv0fG3jb8K54J2NCyWwlUcFFVLfEYbnj7v5G3y25FoDSqFrH
	t7FmStZ1SwzLOkbssT4fSdMdeSiFHDbt0hPXukKBbni+D7VCmYf+Fk5hkjAR9eruVEL3
	e37XDqZPGMQdrZoroYVvj3YOy5ghOhRVjL8Qja7uj4+sbhjKUr/9cgjgMEd5a+f5ctvG
	ZgMg==
X-Gm-Message-State: ALoCoQnCl+UpZRZHNTd1ICwvq2pD7dvhNhmwM81+W3QOglscefW9iIdux7O58JdCWe1bz6trqXY/uA8PdpFt68W6QiX7AVZzykmwWPweadJ2PTFk7JPJK8nDZhJSppJ8wFgqteHoOIYsgNdyGQQxxxtVXY5IqxZOVvccWuZE7o45EpYgQlc4v/w=
X-Received: by 10.224.97.72 with SMTP id k8mr8842150qan.52.1422025660829;
	Fri, 23 Jan 2015 07:07:40 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.224.97.72 with SMTP id k8mr8842116qan.52.1422025660649; Fri,
	23 Jan 2015 07:07:40 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:07:40 -0800 (PST)
In-Reply-To: <alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<D0E80C1C.177D5%lars.kurth@citrix.com>
	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
Date: Fri, 23 Jan 2015 17:07:40 +0200
Message-ID: <CAH_mUMOB1w6CERV9JS+HkPkoay79Vr5SuG8N--o47PsGrkMTwA@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>, 
	embedded-pv-devel@lists.xenproject.org, 
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Julien Grall <julien.grall@citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

SGkgU3RlZmFuby4KCk9uIEZyaSwgSmFuIDIzLCAyMDE1IGF0IDQ6NDggUE0sIFN0ZWZhbm8gU3Rh
YmVsbGluaQo8c3RlZmFuby5zdGFiZWxsaW5pQGV1LmNpdHJpeC5jb20+IHdyb3RlOgo+IEkgdGhp
bmsgaXQgd291bGQgYmUgaW50ZXJlc3RpbmcuCj4KPiBJIHdvdWxkIGFsc28gbGlrZSB0byBzZWUg
d2hhdCBjaGFuZ2VzIGFyZSBhY3R1YWxseSByZXF1aXJlZC4gTWF5YmUgc29tZQo+IG9mIHRoZW0g
Y291bGQgYmUgdXBzdHJlYW1lZD8KPgoKVGhhbmsgeW91IGZvciB5b3VyIGludGVyZXN0LiBJIGhv
cGUgd2Ugd2lsbCB1cHN0cmVhbSBzb21lIG9mIGNoYW5nZXMuClRvIG1ha2UgZHJpdmVyIGRvbWFp
biBydW5uaW5nIHdlIG5lZWQgdG8gaGF2ZSBpdCBtZW1vcnkgMSB0byAxIG1hcHBlZC4KQW5kIHdl
IGRpZCBzb21lIGNoYW5nZXMgdG8gaGF2ZSBhIHBvc3NpYmlsaXR5IHRvIG1hcCAqYW55KiBkb21h
aW4gMSB0bwoxIGlmIG5lZWRlZC4gVGhpcyByZXF1aXJlcyBoeXBlcnZpc29yICsgdG9vbHN0YWNr
IGNoYW5nZXMuIFRoaXMgaXMgdGhlCmJlc3QgY2FuZGlkYXRlIGZvciB1cHN0cmVhbSBhcyBzb29u
IGFzIGl0IHdpbGwgYmUgcmV3cml0dGVuIHByb3Blcmx5LgpPbGVrc2FuZHIgVHlzY2hlbmtvIGlz
IG5vdyB3b3JraW5nIG9uIHRoaXMuCgpSZWdhcmRzLApBbmRyaWkKCj4gT24gRnJpLCAyMyBKYW4g
MjAxNSwgTGFycyBLdXJ0aCB3cm90ZToKPj4gQW5kcmlpLAo+PiBJIHRoaW5rIGl0IHdvdWxkLCBi
dXQgSSB3aWxsIGxldCBJYW4sIEp1bGllbiAmIFN0ZWZhbm8gY29tbWVudAo+PiBDYW4gSSBhc2sg
eW91IHRvIHRvIGhhdmUgYSBsb29rIGF0IGh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9hcmNo
aXZlcy9odG1sL2VtYmVkZGVkLXB2LWRldmVsLzIwMTUtMDEvbXNnMDAwMDIuaHRtbCDigJMgSSB0
aGluayB3ZQo+PiBuZWVkIHRvIGdldCB0cmFmZmljIHVwIGF0IGVtYmVkZGVkLXB2LWRldmVsQCBh
bmQgdGhlc2Uga2luZCBvZiBxdWVzdGlvbnMgd2lsbCBmaXQgcGVyZmVjdGx5IHRoZXJlLgo+PiBS
ZWdhcmRzCj4+IExhcnMKPj4KPj4gRnJvbTogQW5kcmlpIFRzZWdseXRza3lpIDxhbmRyaWkudHNl
Z2x5dHNreWlAZ2xvYmFsbG9naWMuY29tPgo+PiBEYXRlOiBGcmlkYXksIDIzIEphbnVhcnkgMjAx
NSAxNDoxOQo+PiBUbzogSWFuIENhbXBiZWxsIDxJYW4uQ2FtcGJlbGxAY2l0cml4LmNvbT4sIExh
cnMgS3VydGggPGxhcnMua3VydGhAY2l0cml4LmNvbT4sIEp1bGllbiBHcmFsbCA8anVsaWVuLmdy
YWxsQGNpdHJpeC5jb20+LAo+PiAic3RlZmFuby5zdGFiZWxsaW5pQGNpdHJpeC5jb20iIDxzdGVm
YW5vLnN0YWJlbGxpbmlAY2l0cml4LmNvbT4KPj4gQ2M6IEFydGVtIE15Z2FpZXYgPGFydGVtLm15
Z2FpZXZAZ2xvYmFsbG9naWMuY29tPiwgQW5kcmlpIEFuaXNvdiA8YW5kcmlpLmFuaXNvdkBnbG9i
YWxsb2dpYy5jb20+Cj4+IFN1YmplY3Q6IERyaXZlciBkb21haW4gdW5kZXIgWGVuCj4+Cj4+IEhp
LAo+PiBYZW4gcmVsYXRlZCBkZXZlbG9wbWVudCBpbiBHbG9iYWxMb2dpYyBpcyBnb2luZyB3aXRo
IGdvb2QgcHJvZ3Jlc3MsIGFuZCBsYXRlc3Qgd2hhdCB3ZSd2ZSBkb25lIG9uIG91ciBwbGF0Zm9y
bSBpcyBkcml2ZXIgZG9tYWluLgo+PiBSaWdodCBub3cgb24gb3VyIHBsYXRmb3JtIGRvbTAgZG9l
c24ndCBhY2Nlc3MgYW55IGhhcmR3YXJlIChleGNlcHQgU0FUQSBhbmQgYmxvY2sgZGV2aWNlKS4g
RHJpdmVyIGRvbWFpbiBtYW5hZ2VzIGFsbCBoYXJkd2FyZSBhbmQKPj4gcnVuIGFsbCBiYWNrZW5k
IGRyaXZlcnMuCj4+IFRoaXMgcmVxdWlyZWQgc2V2ZXJhbCBjaGFuZ2VzIGluIGh5cGVydmlzb3Is
IHRvb2xzdGFjaywga2VybmVscywgZmlsZXN5c3RlbXMsIGRldmljZSB0cmVlcyBldGMuIEkgd291
bGQgbGlrZSB0byB3cml0ZSBhbiBhcnRpY2xlCj4+IGFidXQgb3VyIGV4cGVyaWVuY2Ugb2YgZHJp
dmVyIGRvbWFpbiArIGJhY2tlbmRzIGJyaW5ndXAuCj4+Cj4+IFdpbGwgdGhpcyBiZSBpbnRlcmVz
dGluZz8KPj4KPj4gUmVnYXJkcywKPj4KPj4gLS0KPj4KPj4gQW5kcmlpIFRzZWdseXRza3lpIHwg
TGVhZCBlbmdpbmVlcgo+PiBHbG9iYWxMb2dpYwo+PiB3d3cuZ2xvYmFsbG9naWMuY29tCj4+Cj4+
CgoKCi0tIAoKQW5kcmlpIFRzZWdseXRza3lpIHwgTGVhZCBlbmdpbmVlcgpHbG9iYWxMb2dpYwp3
d3cuZ2xvYmFsbG9naWMuY29tCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fXwpFbWJlZGRlZC1wdi1kZXZlbCBtYWlsaW5nIGxpc3QKRW1iZWRkZWQtcHYtZGV2
ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1i
aW4vbWFpbG1hbi9saXN0aW5mby9lbWJlZGRlZC1wdi1kZXZlbA==

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:07:46 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:07:46 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEfpq-0007vf-1h; Fri, 23 Jan 2015 15:07:46 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEfpo-0007uU-J6 for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:07:44 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	F7/9D-10078-FB362C45; Fri, 23 Jan 2015 15:07:43 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-3.tower-21.messagelabs.com!1422025661!11608556!1
X-Originating-IP: [64.18.0.139]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12493 invoked from network); 23 Jan 2015 15:07:43 -0000
Received: from exprod5og121.obsmtp.com (HELO exprod5og121.obsmtp.com)
	(64.18.0.139)
	by server-3.tower-21.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:07:43 -0000
Received: from mail-qc0-f174.google.com ([209.85.216.174]) (using TLSv1) by
	exprod5ob121.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJjvdvl8TjVYFxp7klYuELTn31pmEVG@postini.com;
	Fri, 23 Jan 2015 07:07:42 PST
Received: by mail-qc0-f174.google.com with SMTP id s11so6671946qcv.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:07:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	bh=fKFm/dpfQQQYsN3UwpxKnPOWxDPgsq55uDpXJ07GFlM=;
	b=I26d2yiMqsgU4+B0WVckiIOwgs5XNcPxLtIt7PesweYe5QmIF8NuB6Hyz72HrnXCYt
	nGTvUbnHcnJROSertqkFeUCX0bxiA0cLmKDm2i24JuXlBWQa5dxcCeqmmngHQQui8h1w
	eHtz55DRB2zIXFSVFjJkMX9PJ6GIvSv4uwn2s=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=fKFm/dpfQQQYsN3UwpxKnPOWxDPgsq55uDpXJ07GFlM=;
	b=C74kiZoBzqbPXoT6WsXBQYaOEuRdHIx/cfYfZIdEyEkoMR6CpcryhQhcsEFE/h83oY
	lfnlAyhYuqAHdCxOiqS4NDSL+nzCgzAp9C7pStAR5bFkGNY+A3hYJ5DznhcmRrRCSYP+
	tYJgqik6qiX+tfYa+NEAUv0fG3jb8K54J2NCyWwlUcFFVLfEYbnj7v5G3y25FoDSqFrH
	t7FmStZ1SwzLOkbssT4fSdMdeSiFHDbt0hPXukKBbni+D7VCmYf+Fk5hkjAR9eruVEL3
	e37XDqZPGMQdrZoroYVvj3YOy5ghOhRVjL8Qja7uj4+sbhjKUr/9cgjgMEd5a+f5ctvG
	ZgMg==
X-Gm-Message-State: ALoCoQnCl+UpZRZHNTd1ICwvq2pD7dvhNhmwM81+W3QOglscefW9iIdux7O58JdCWe1bz6trqXY/uA8PdpFt68W6QiX7AVZzykmwWPweadJ2PTFk7JPJK8nDZhJSppJ8wFgqteHoOIYsgNdyGQQxxxtVXY5IqxZOVvccWuZE7o45EpYgQlc4v/w=
X-Received: by 10.224.97.72 with SMTP id k8mr8842150qan.52.1422025660829;
	Fri, 23 Jan 2015 07:07:40 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.224.97.72 with SMTP id k8mr8842116qan.52.1422025660649; Fri,
	23 Jan 2015 07:07:40 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:07:40 -0800 (PST)
In-Reply-To: <alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<D0E80C1C.177D5%lars.kurth@citrix.com>
	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
Date: Fri, 23 Jan 2015 17:07:40 +0200
Message-ID: <CAH_mUMOB1w6CERV9JS+HkPkoay79Vr5SuG8N--o47PsGrkMTwA@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>, 
	embedded-pv-devel@lists.xenproject.org, 
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Julien Grall <julien.grall@citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

SGkgU3RlZmFuby4KCk9uIEZyaSwgSmFuIDIzLCAyMDE1IGF0IDQ6NDggUE0sIFN0ZWZhbm8gU3Rh
YmVsbGluaQo8c3RlZmFuby5zdGFiZWxsaW5pQGV1LmNpdHJpeC5jb20+IHdyb3RlOgo+IEkgdGhp
bmsgaXQgd291bGQgYmUgaW50ZXJlc3RpbmcuCj4KPiBJIHdvdWxkIGFsc28gbGlrZSB0byBzZWUg
d2hhdCBjaGFuZ2VzIGFyZSBhY3R1YWxseSByZXF1aXJlZC4gTWF5YmUgc29tZQo+IG9mIHRoZW0g
Y291bGQgYmUgdXBzdHJlYW1lZD8KPgoKVGhhbmsgeW91IGZvciB5b3VyIGludGVyZXN0LiBJIGhv
cGUgd2Ugd2lsbCB1cHN0cmVhbSBzb21lIG9mIGNoYW5nZXMuClRvIG1ha2UgZHJpdmVyIGRvbWFp
biBydW5uaW5nIHdlIG5lZWQgdG8gaGF2ZSBpdCBtZW1vcnkgMSB0byAxIG1hcHBlZC4KQW5kIHdl
IGRpZCBzb21lIGNoYW5nZXMgdG8gaGF2ZSBhIHBvc3NpYmlsaXR5IHRvIG1hcCAqYW55KiBkb21h
aW4gMSB0bwoxIGlmIG5lZWRlZC4gVGhpcyByZXF1aXJlcyBoeXBlcnZpc29yICsgdG9vbHN0YWNr
IGNoYW5nZXMuIFRoaXMgaXMgdGhlCmJlc3QgY2FuZGlkYXRlIGZvciB1cHN0cmVhbSBhcyBzb29u
IGFzIGl0IHdpbGwgYmUgcmV3cml0dGVuIHByb3Blcmx5LgpPbGVrc2FuZHIgVHlzY2hlbmtvIGlz
IG5vdyB3b3JraW5nIG9uIHRoaXMuCgpSZWdhcmRzLApBbmRyaWkKCj4gT24gRnJpLCAyMyBKYW4g
MjAxNSwgTGFycyBLdXJ0aCB3cm90ZToKPj4gQW5kcmlpLAo+PiBJIHRoaW5rIGl0IHdvdWxkLCBi
dXQgSSB3aWxsIGxldCBJYW4sIEp1bGllbiAmIFN0ZWZhbm8gY29tbWVudAo+PiBDYW4gSSBhc2sg
eW91IHRvIHRvIGhhdmUgYSBsb29rIGF0IGh0dHA6Ly9saXN0cy54ZW5wcm9qZWN0Lm9yZy9hcmNo
aXZlcy9odG1sL2VtYmVkZGVkLXB2LWRldmVsLzIwMTUtMDEvbXNnMDAwMDIuaHRtbCDigJMgSSB0
aGluayB3ZQo+PiBuZWVkIHRvIGdldCB0cmFmZmljIHVwIGF0IGVtYmVkZGVkLXB2LWRldmVsQCBh
bmQgdGhlc2Uga2luZCBvZiBxdWVzdGlvbnMgd2lsbCBmaXQgcGVyZmVjdGx5IHRoZXJlLgo+PiBS
ZWdhcmRzCj4+IExhcnMKPj4KPj4gRnJvbTogQW5kcmlpIFRzZWdseXRza3lpIDxhbmRyaWkudHNl
Z2x5dHNreWlAZ2xvYmFsbG9naWMuY29tPgo+PiBEYXRlOiBGcmlkYXksIDIzIEphbnVhcnkgMjAx
NSAxNDoxOQo+PiBUbzogSWFuIENhbXBiZWxsIDxJYW4uQ2FtcGJlbGxAY2l0cml4LmNvbT4sIExh
cnMgS3VydGggPGxhcnMua3VydGhAY2l0cml4LmNvbT4sIEp1bGllbiBHcmFsbCA8anVsaWVuLmdy
YWxsQGNpdHJpeC5jb20+LAo+PiAic3RlZmFuby5zdGFiZWxsaW5pQGNpdHJpeC5jb20iIDxzdGVm
YW5vLnN0YWJlbGxpbmlAY2l0cml4LmNvbT4KPj4gQ2M6IEFydGVtIE15Z2FpZXYgPGFydGVtLm15
Z2FpZXZAZ2xvYmFsbG9naWMuY29tPiwgQW5kcmlpIEFuaXNvdiA8YW5kcmlpLmFuaXNvdkBnbG9i
YWxsb2dpYy5jb20+Cj4+IFN1YmplY3Q6IERyaXZlciBkb21haW4gdW5kZXIgWGVuCj4+Cj4+IEhp
LAo+PiBYZW4gcmVsYXRlZCBkZXZlbG9wbWVudCBpbiBHbG9iYWxMb2dpYyBpcyBnb2luZyB3aXRo
IGdvb2QgcHJvZ3Jlc3MsIGFuZCBsYXRlc3Qgd2hhdCB3ZSd2ZSBkb25lIG9uIG91ciBwbGF0Zm9y
bSBpcyBkcml2ZXIgZG9tYWluLgo+PiBSaWdodCBub3cgb24gb3VyIHBsYXRmb3JtIGRvbTAgZG9l
c24ndCBhY2Nlc3MgYW55IGhhcmR3YXJlIChleGNlcHQgU0FUQSBhbmQgYmxvY2sgZGV2aWNlKS4g
RHJpdmVyIGRvbWFpbiBtYW5hZ2VzIGFsbCBoYXJkd2FyZSBhbmQKPj4gcnVuIGFsbCBiYWNrZW5k
IGRyaXZlcnMuCj4+IFRoaXMgcmVxdWlyZWQgc2V2ZXJhbCBjaGFuZ2VzIGluIGh5cGVydmlzb3Is
IHRvb2xzdGFjaywga2VybmVscywgZmlsZXN5c3RlbXMsIGRldmljZSB0cmVlcyBldGMuIEkgd291
bGQgbGlrZSB0byB3cml0ZSBhbiBhcnRpY2xlCj4+IGFidXQgb3VyIGV4cGVyaWVuY2Ugb2YgZHJp
dmVyIGRvbWFpbiArIGJhY2tlbmRzIGJyaW5ndXAuCj4+Cj4+IFdpbGwgdGhpcyBiZSBpbnRlcmVz
dGluZz8KPj4KPj4gUmVnYXJkcywKPj4KPj4gLS0KPj4KPj4gQW5kcmlpIFRzZWdseXRza3lpIHwg
TGVhZCBlbmdpbmVlcgo+PiBHbG9iYWxMb2dpYwo+PiB3d3cuZ2xvYmFsbG9naWMuY29tCj4+Cj4+
CgoKCi0tIAoKQW5kcmlpIFRzZWdseXRza3lpIHwgTGVhZCBlbmdpbmVlcgpHbG9iYWxMb2dpYwp3
d3cuZ2xvYmFsbG9naWMuY29tCgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fXwpFbWJlZGRlZC1wdi1kZXZlbCBtYWlsaW5nIGxpc3QKRW1iZWRkZWQtcHYtZGV2
ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cDovL2xpc3RzLnhlbnByb2plY3Qub3JnL2NnaS1i
aW4vbWFpbG1hbi9saXN0aW5mby9lbWJlZGRlZC1wdi1kZXZlbA==

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:08:26 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:08:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEfqU-0008I3-79; Fri, 23 Jan 2015 15:08:26 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEfqT-0008HT-8F for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:08:25 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	5A/4C-04085-8E362C45; Fri, 23 Jan 2015 15:08:24 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1422025701!21863115!1
X-Originating-IP: [64.18.0.147]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26514 invoked from network); 23 Jan 2015 15:08:23 -0000
Received: from exprod5og116.obsmtp.com (HELO exprod5og116.obsmtp.com)
	(64.18.0.147)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:08:23 -0000
Received: from mail-qc0-f169.google.com ([209.85.216.169]) (using TLSv1) by
	exprod5ob116.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJj5XLTnRpJWC3lKpCrr1FZcYzHq3o2@postini.com;
	Fri, 23 Jan 2015 07:08:23 PST
Received: by mail-qc0-f169.google.com with SMTP id b13so6662883qcw.0
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:08:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=F3ezJY1l3IkwKqSaws74eHskyWGS6xUz+8SjQtEXUWA=;
	b=HmI4zMc/pvQa84C78CdIu7QzMbCBUMkiOvII6kfr5OQY4F5ENZfzHhpmomXn1sHt3A
	5gavT9g+cqcjIVslpyjr87zd05hdXWCI37aRJOSGhR6cT/bLZQjlcal15mVdUOSb1F4u
	a8gkRqXPf6qKHZOGPgF8FXGTHOjFHeoHS2t1c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=F3ezJY1l3IkwKqSaws74eHskyWGS6xUz+8SjQtEXUWA=;
	b=lacUpGw+iZzhxVzx3Nb6JxFH8i1yUGPDNMGi4qXgTKhOjXo5KUHQA2nsruFsTEV1vX
	Ns3pLW/5Emi/ntNV7Ds05Iqg7gmGfaW1Za0l/QI7c500EYdgmGqQrK7iN07ZI8nlBV1F
	v1vH1imuukYMgLub9mSKGOTwHW3HqPZ3FE/ttvqv2mtgUkkKDggGCN5exmqqnQGHXbFX
	A9F4X8/u/Ycw05LgVgRr4P7a+eKSPdhhOZgG4vDJoCJxJrfKbcaiXs/YA1OKFjwrOPlh
	SltvulvvESOtYSJyClMvssM4Un2swap195hfiAT+TigKjxBhOhhjYteVNyjzQ5EE09Rr
	gysw==
X-Gm-Message-State: ALoCoQkrPtnhO2QDf6BiD2DPqC0FrDmPxELJzK5YvFTeLOMsAr2V//U61yGJbYyBzfmnEFhWWvcDlKdKf9nwI+01mhrLjNW1pf9X2QvLEkBjhC0jmifLC9zPOtoXONWZ8a6VyL8tctTbEuLxHOoaevRZJMRez/OQSgzI5xKMsjaKHTGO/njWTZw=
X-Received: by 10.229.182.9 with SMTP id ca9mr14933980qcb.31.1422025701092;
	Fri, 23 Jan 2015 07:08:21 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.229.182.9 with SMTP id ca9mr14933957qcb.31.1422025700945;
	Fri, 23 Jan 2015 07:08:20 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:08:20 -0800 (PST)
In-Reply-To: <54C25F32.4000106@citrix.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
Date: Fri, 23 Jan 2015 17:08:20 +0200
Message-ID: <CAH_mUMO3hgM19NYetKeCt1X3RaimvvS-sCeW2y-K7eCmEYHX-Q@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@citrix.com>,
	embedded-pv-devel@lists.xenproject.org
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Hi Julien

On Fri, Jan 23, 2015 at 4:48 PM, Julien Grall <julien.grall@citrix.com> wrote:
> On 23/01/15 14:19, Andrii Tseglytskyi wrote:
>> Hi,
>
> Hi Andrii,
>
>> Xen related development in GlobalLogic is going with good progress, and
>> latest what we've done on our platform is *driver domain*.
>> Right now on our platform dom0 doesn't access any hardware (except SATA
>> and block device). Driver domain manages all hardware and run all
>> backend drivers.
>> This required several changes in hypervisor, toolstack, kernels,
>> filesystems, device trees etc. I would like to write an article abut our
>> experience of driver domain + backends bringup.
>>
>> Will this be interesting?
>
> It's a good blog post.
>
> OOI, what did you modify in the hypervisor and toolstack? I was able to
> create drivers domain without any modification aside my non-pci
> passthrough series.
>

Briefly - I added possibility to map driver domain memory 1 to 1,
added possibility to allocate 128/256/512 Mb of RAM in one chunk, new
XSM label, and reworked IRQ routing a bit. It's great that this is
interesting for you - I will describe this in blog with lot of
details.

Regarding passtrough - I did not use this series - we still live with
attached devtree blob. To make passtrough working for us we need to
extend it a bit. I'll come to you with summary what is needed asap. (I
think after blog post)

Thank you,
Regards,
Andrii

> Regards,
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:08:26 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:08:26 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEfqU-0008I3-79; Fri, 23 Jan 2015 15:08:26 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEfqT-0008HT-8F for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:08:25 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	5A/4C-04085-8E362C45; Fri, 23 Jan 2015 15:08:24 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1422025701!21863115!1
X-Originating-IP: [64.18.0.147]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26514 invoked from network); 23 Jan 2015 15:08:23 -0000
Received: from exprod5og116.obsmtp.com (HELO exprod5og116.obsmtp.com)
	(64.18.0.147)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:08:23 -0000
Received: from mail-qc0-f169.google.com ([209.85.216.169]) (using TLSv1) by
	exprod5ob116.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJj5XLTnRpJWC3lKpCrr1FZcYzHq3o2@postini.com;
	Fri, 23 Jan 2015 07:08:23 PST
Received: by mail-qc0-f169.google.com with SMTP id b13so6662883qcw.0
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:08:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=F3ezJY1l3IkwKqSaws74eHskyWGS6xUz+8SjQtEXUWA=;
	b=HmI4zMc/pvQa84C78CdIu7QzMbCBUMkiOvII6kfr5OQY4F5ENZfzHhpmomXn1sHt3A
	5gavT9g+cqcjIVslpyjr87zd05hdXWCI37aRJOSGhR6cT/bLZQjlcal15mVdUOSb1F4u
	a8gkRqXPf6qKHZOGPgF8FXGTHOjFHeoHS2t1c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=F3ezJY1l3IkwKqSaws74eHskyWGS6xUz+8SjQtEXUWA=;
	b=lacUpGw+iZzhxVzx3Nb6JxFH8i1yUGPDNMGi4qXgTKhOjXo5KUHQA2nsruFsTEV1vX
	Ns3pLW/5Emi/ntNV7Ds05Iqg7gmGfaW1Za0l/QI7c500EYdgmGqQrK7iN07ZI8nlBV1F
	v1vH1imuukYMgLub9mSKGOTwHW3HqPZ3FE/ttvqv2mtgUkkKDggGCN5exmqqnQGHXbFX
	A9F4X8/u/Ycw05LgVgRr4P7a+eKSPdhhOZgG4vDJoCJxJrfKbcaiXs/YA1OKFjwrOPlh
	SltvulvvESOtYSJyClMvssM4Un2swap195hfiAT+TigKjxBhOhhjYteVNyjzQ5EE09Rr
	gysw==
X-Gm-Message-State: ALoCoQkrPtnhO2QDf6BiD2DPqC0FrDmPxELJzK5YvFTeLOMsAr2V//U61yGJbYyBzfmnEFhWWvcDlKdKf9nwI+01mhrLjNW1pf9X2QvLEkBjhC0jmifLC9zPOtoXONWZ8a6VyL8tctTbEuLxHOoaevRZJMRez/OQSgzI5xKMsjaKHTGO/njWTZw=
X-Received: by 10.229.182.9 with SMTP id ca9mr14933980qcb.31.1422025701092;
	Fri, 23 Jan 2015 07:08:21 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.229.182.9 with SMTP id ca9mr14933957qcb.31.1422025700945;
	Fri, 23 Jan 2015 07:08:20 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:08:20 -0800 (PST)
In-Reply-To: <54C25F32.4000106@citrix.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
Date: Fri, 23 Jan 2015 17:08:20 +0200
Message-ID: <CAH_mUMO3hgM19NYetKeCt1X3RaimvvS-sCeW2y-K7eCmEYHX-Q@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@citrix.com>,
	embedded-pv-devel@lists.xenproject.org
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Hi Julien

On Fri, Jan 23, 2015 at 4:48 PM, Julien Grall <julien.grall@citrix.com> wrote:
> On 23/01/15 14:19, Andrii Tseglytskyi wrote:
>> Hi,
>
> Hi Andrii,
>
>> Xen related development in GlobalLogic is going with good progress, and
>> latest what we've done on our platform is *driver domain*.
>> Right now on our platform dom0 doesn't access any hardware (except SATA
>> and block device). Driver domain manages all hardware and run all
>> backend drivers.
>> This required several changes in hypervisor, toolstack, kernels,
>> filesystems, device trees etc. I would like to write an article abut our
>> experience of driver domain + backends bringup.
>>
>> Will this be interesting?
>
> It's a good blog post.
>
> OOI, what did you modify in the hypervisor and toolstack? I was able to
> create drivers domain without any modification aside my non-pci
> passthrough series.
>

Briefly - I added possibility to map driver domain memory 1 to 1,
added possibility to allocate 128/256/512 Mb of RAM in one chunk, new
XSM label, and reworked IRQ routing a bit. It's great that this is
interesting for you - I will describe this in blog with lot of
details.

Regarding passtrough - I did not use this series - we still live with
attached devtree blob. To make passtrough working for us we need to
extend it a bit. I'll come to you with summary what is needed asap. (I
think after blog post)

Thank you,
Regards,
Andrii

> Regards,
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:13:22 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:13:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEfvG-0000cm-3T; Fri, 23 Jan 2015 15:13:22 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEfvE-0000cc-NQ for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:13:20 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	3F/D9-18244-01562C45; Fri, 23 Jan 2015 15:13:20 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1422025997!22575153!1
X-Originating-IP: [64.18.0.149]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19132 invoked from network); 23 Jan 2015 15:13:19 -0000
Received: from exprod5og117.obsmtp.com (HELO exprod5og117.obsmtp.com)
	(64.18.0.149)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:13:19 -0000
Received: from mail-qg0-f45.google.com ([209.85.192.45]) (using TLSv1) by
	exprod5ob117.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJlDYwIqw1ybm1lEDHy/6qtabzo1wvh@postini.com;
	Fri, 23 Jan 2015 07:13:19 PST
Received: by mail-qg0-f45.google.com with SMTP id q107so6430693qgd.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:13:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=62lFWQkr5DGWuDaISAGaHMPmgfsl5L8kWJgWf4Ugnnk=;
	b=i8sA2AfMIBDASWMRwboxo2prQGo/0LK2Gsqh/J7Tzjuw2rW3S52q1XnX9AMoGJ3ohf
	BmIVGlYC5eL6TfURX1oYOAgfcaLxIXcCw9zfqR195y056zwFGDAF7O+OFE6mLKwxTGFj
	02c4zfr1KRyTXw+DiqKn+FYBfqtbCvCAzYTMo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=62lFWQkr5DGWuDaISAGaHMPmgfsl5L8kWJgWf4Ugnnk=;
	b=Xl9STXsuKN1EKrk5REsLDRxPQCrVUOdKTi+KCFR3sP9gW7K3gaqo0HwkPmBRQ7srxz
	OySdrUDv92PXAZgfoWZ7rB9cxAUA1NciOHdNWHlFLue6QQj02WNRbWjI3zDsVs8AnCmi
	XcRrASXoaBHXf7ct5IVfRsWg/VsDmKjvCiwDR2yuu2TX16rXa7z3w9LdgSYZNsvoo21J
	nb8Vpsqry10wlfjyoIMK9bVCpXDuwiWM23btafTDSStMRujnYIcNR2TNJLyMRkmLkuCh
	4TpwH640O4/vMXHeXUD+oFX5DhWVw0L5gNZ1NzlKCSbbX+CuLfp2zJ79XHbFRqmo7+C7
	o+AQ==
X-Gm-Message-State: ALoCoQkSMx+XjAtbrY+BpUjYYxMilulK8jgAGxvsL18Thrsio/iuMN5Ad0mFuxc+BQh6M2T0Q+1sNy1BWCkrWb4deEtd6u3c8cLK38ffeM6NH7PPRJqSbwvw3ogB0MV9R4kD6RQJlTpldYrExq6G3Elgys1z2/g1thLg6BCaHn80mQYbYCNf1AE=
X-Received: by 10.140.29.138 with SMTP id b10mr14309833qgb.34.1422025996515;
	Fri, 23 Jan 2015 07:13:16 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.29.138 with SMTP id b10mr14309812qgb.34.1422025996411;
	Fri, 23 Jan 2015 07:13:16 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:13:16 -0800 (PST)
In-Reply-To: <54C2623B.6040309@citrix.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<D0E80C1C.177D5%lars.kurth@citrix.com>
	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
	<CAH_mUMNURM=F8K0C6Vnw3w=yOSRSZ=bNqf85oqkaJbL=dnfSBA@mail.gmail.com>
	<54C2623B.6040309@citrix.com>
Date: Fri, 23 Jan 2015 17:13:16 +0200
Message-ID: <CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@citrix.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Hi Julien,

On Fri, Jan 23, 2015 at 5:01 PM, Julien Grall <julien.grall@citrix.com> wrote:
> On 23/01/15 14:56, Andrii Tseglytskyi wrote:
>> Thank you for your interest. I hope we will upstream some of changes.
>> To make driver domain running we need to have it memory 1 to 1 mapped.
>> And we did some changes to have a possibility to map *any* domain 1 to
>> 1 if needed. This requires hypervisor + toolstack changes. This is the
>> best candidate for upstream as soon as it will be rewritten properly
>> :) Oleksandr Tyschenko is now working on this.
>
> I'm concerned about a such change in Xen upstream. Any device
> passthrough to a domain should be protected by IOMMU.
>
> Using the 1:1 mapping means you want to passthrough a non-protected
> device. So the driver domain could issue a DMA request to override any
> part of the memory (such as Xen or DOM0).

Using DMA is an idea here. We don't have SMMU support on our platform.

Regards,
Andrii
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:13:22 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:13:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEfvG-0000cm-3T; Fri, 23 Jan 2015 15:13:22 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEfvE-0000cc-NQ for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:13:20 +0000
Received: from [193.109.254.147] by server-10.bemta-14.messagelabs.com id
	3F/D9-18244-01562C45; Fri, 23 Jan 2015 15:13:20 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-15.tower-27.messagelabs.com!1422025997!22575153!1
X-Originating-IP: [64.18.0.149]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19132 invoked from network); 23 Jan 2015 15:13:19 -0000
Received: from exprod5og117.obsmtp.com (HELO exprod5og117.obsmtp.com)
	(64.18.0.149)
	by server-15.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:13:19 -0000
Received: from mail-qg0-f45.google.com ([209.85.192.45]) (using TLSv1) by
	exprod5ob117.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJlDYwIqw1ybm1lEDHy/6qtabzo1wvh@postini.com;
	Fri, 23 Jan 2015 07:13:19 PST
Received: by mail-qg0-f45.google.com with SMTP id q107so6430693qgd.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:13:16 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=62lFWQkr5DGWuDaISAGaHMPmgfsl5L8kWJgWf4Ugnnk=;
	b=i8sA2AfMIBDASWMRwboxo2prQGo/0LK2Gsqh/J7Tzjuw2rW3S52q1XnX9AMoGJ3ohf
	BmIVGlYC5eL6TfURX1oYOAgfcaLxIXcCw9zfqR195y056zwFGDAF7O+OFE6mLKwxTGFj
	02c4zfr1KRyTXw+DiqKn+FYBfqtbCvCAzYTMo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=62lFWQkr5DGWuDaISAGaHMPmgfsl5L8kWJgWf4Ugnnk=;
	b=Xl9STXsuKN1EKrk5REsLDRxPQCrVUOdKTi+KCFR3sP9gW7K3gaqo0HwkPmBRQ7srxz
	OySdrUDv92PXAZgfoWZ7rB9cxAUA1NciOHdNWHlFLue6QQj02WNRbWjI3zDsVs8AnCmi
	XcRrASXoaBHXf7ct5IVfRsWg/VsDmKjvCiwDR2yuu2TX16rXa7z3w9LdgSYZNsvoo21J
	nb8Vpsqry10wlfjyoIMK9bVCpXDuwiWM23btafTDSStMRujnYIcNR2TNJLyMRkmLkuCh
	4TpwH640O4/vMXHeXUD+oFX5DhWVw0L5gNZ1NzlKCSbbX+CuLfp2zJ79XHbFRqmo7+C7
	o+AQ==
X-Gm-Message-State: ALoCoQkSMx+XjAtbrY+BpUjYYxMilulK8jgAGxvsL18Thrsio/iuMN5Ad0mFuxc+BQh6M2T0Q+1sNy1BWCkrWb4deEtd6u3c8cLK38ffeM6NH7PPRJqSbwvw3ogB0MV9R4kD6RQJlTpldYrExq6G3Elgys1z2/g1thLg6BCaHn80mQYbYCNf1AE=
X-Received: by 10.140.29.138 with SMTP id b10mr14309833qgb.34.1422025996515;
	Fri, 23 Jan 2015 07:13:16 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.29.138 with SMTP id b10mr14309812qgb.34.1422025996411;
	Fri, 23 Jan 2015 07:13:16 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:13:16 -0800 (PST)
In-Reply-To: <54C2623B.6040309@citrix.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<D0E80C1C.177D5%lars.kurth@citrix.com>
	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
	<CAH_mUMNURM=F8K0C6Vnw3w=yOSRSZ=bNqf85oqkaJbL=dnfSBA@mail.gmail.com>
	<54C2623B.6040309@citrix.com>
Date: Fri, 23 Jan 2015 17:13:16 +0200
Message-ID: <CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@citrix.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Hi Julien,

On Fri, Jan 23, 2015 at 5:01 PM, Julien Grall <julien.grall@citrix.com> wrote:
> On 23/01/15 14:56, Andrii Tseglytskyi wrote:
>> Thank you for your interest. I hope we will upstream some of changes.
>> To make driver domain running we need to have it memory 1 to 1 mapped.
>> And we did some changes to have a possibility to map *any* domain 1 to
>> 1 if needed. This requires hypervisor + toolstack changes. This is the
>> best candidate for upstream as soon as it will be rewritten properly
>> :) Oleksandr Tyschenko is now working on this.
>
> I'm concerned about a such change in Xen upstream. Any device
> passthrough to a domain should be protected by IOMMU.
>
> Using the 1:1 mapping means you want to passthrough a non-protected
> device. So the driver domain could issue a DMA request to override any
> part of the memory (such as Xen or DOM0).

Using DMA is an idea here. We don't have SMMU support on our platform.

Regards,
Andrii
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:22:16 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:22:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEg3s-0001kT-Eg; Fri, 23 Jan 2015 15:22:16 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEg3q-0001k9-Hz for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:22:14 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	4E/89-27612-52762C45; Fri, 23 Jan 2015 15:22:13 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1422026530!17125428!1
X-Originating-IP: [64.18.0.26]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3002 invoked from network); 23 Jan 2015 15:22:12 -0000
Received: from exprod5og113.obsmtp.com (HELO exprod5og113.obsmtp.com)
	(64.18.0.26)
	by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:22:12 -0000
Received: from mail-qa0-f47.google.com ([209.85.216.47]) (using TLSv1) by
	exprod5ob113.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJnIuOdjPj7Hh/rbtIcXUkYQdyZ2ahn@postini.com;
	Fri, 23 Jan 2015 07:22:12 PST
Received: by mail-qa0-f47.google.com with SMTP id n8so6222090qaq.6
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:22:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=QHWD7sVTB9xKymYpCMuEYm5F8zUmGYE9iw0j/quK+f0=;
	b=RH/kg9feNyWpsqqYMzqZiDIUIzkxwBLyevZg+aET1z338LfDOlByhBCGND1PIl7aZJ
	YwKrzWInPQIEKQAxvpm/XYQFzK5IiwzBFLSAPOa0NofXfYhrqkzJHmFPhz19mPXsGPA1
	Ei6hodz5i625c6ilv4/hNbNEQjzfzvOwv7u/c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=QHWD7sVTB9xKymYpCMuEYm5F8zUmGYE9iw0j/quK+f0=;
	b=iaSmsx9DH0yLjdqEISOjdqROhhx/updOEoCtqry81EPbneClTyqYsn/bja57rlr18t
	0qA4jrLYe2bFhkAw1mAQ3LJLe+AEVr4ITU59g9ErqmVwhvbyybIpJVWmM6JQlX9M+pbC
	Jb+1uOfEUh/wMcSWldky56YEYnFSlN9CL/0d87risEAtAT11ckRqeGqQ0f18xWIpunsm
	0rgVdf4rFMmImQ/mgydSid/zdnqmuooJM2pf5Cp1Nh+PsOMmBHfBD6knEMJUAbM9zjvO
	Pwnat3hdYyGQMQmf49PupsdvIwOCw5yw3T/g+eb/qRN7fx7A2ijBzJToiZMANxlruwOg
	/d2w==
X-Gm-Message-State: ALoCoQmVv8ZIDM0mxAYNbyORYH/pQP0RvGFSioKnAM6GjbzO3p0LoBN/bM5DPU2tDwSsYSV0Ul5rEtlAanxLHVWxVWMFpN+V1UaepznmHHj+u8zfnvCqlvuo/pi8TT1e+F8GUfJdb3zv5LE1b87Fli0s+pxD/sDEaaexMjX6w+a1pCM5cGokxJk=
X-Received: by 10.140.29.138 with SMTP id b10mr14389898qgb.34.1422026530096;
	Fri, 23 Jan 2015 07:22:10 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.29.138 with SMTP id b10mr14389864qgb.34.1422026529922;
	Fri, 23 Jan 2015 07:22:09 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:22:09 -0800 (PST)
In-Reply-To: <54C264E7.6030905@linaro.org>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
Date: Fri, 23 Jan 2015 17:22:09 +0200
Message-ID: <CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Hi Julien,

On Fri, Jan 23, 2015 at 5:12 PM, Julien Grall <julien.grall@linaro.org> wrote:
> On 23/01/15 15:03, Andrii Tseglytskyi wrote:
>> On Fri, Jan 23, 2015 at 4:48 PM, Julien Grall <julien.grall@citrix.com> wrote:
>>> On 23/01/15 14:19, Andrii Tseglytskyi wrote:
>>>> Hi,
>>>
>>> Hi Andrii,
>>>
>>>> Xen related development in GlobalLogic is going with good progress, and
>>>> latest what we've done on our platform is *driver domain*.
>>>> Right now on our platform dom0 doesn't access any hardware (except SATA
>>>> and block device). Driver domain manages all hardware and run all
>>>> backend drivers.
>>>> This required several changes in hypervisor, toolstack, kernels,
>>>> filesystems, device trees etc. I would like to write an article abut our
>>>> experience of driver domain + backends bringup.
>>>>
>>>> Will this be interesting?
>>>
>>> It's a good blog post.
>>>
>>> OOI, what did you modify in the hypervisor and toolstack? I was able to
>>> create drivers domain without any modification aside my non-pci
>>> passthrough series.
>>>
>>
>> Briefly - I added possibility to map driver domain memory 1 to 1,
>> added possibility to allocate 128/256/512 Mb of RAM in one chunk, new
>> XSM label, and reworked IRQ routing a bit. It's great that this is
>
> If it's possible, I would be interested to have more detail about the
> IRQ routing changes now.
>
> I have few patches (part of non-pci passthrough series) which take care
> of IRQ routing. What is missing in thoses patches? If you are not using
> them, what did you modify?

OK. I'm sending you my local changes - 3 pieces of code.

Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Date:   Tue Dec 30 18:38:55 2014 +0200

    xen/arm: always use count number to release hardware irq

    As soons as hardware interrupts are always mapped 1 to 1
    count number plus 32 is always equal to interrupt number which
    should be released. In current implementation if we don't receive
    any irq which number should be released existing p->irq number will
    be equal to 0, and interrupt will be not released properly.
    So, use lopp counter + 32 here.

    Change-Id: If89c928ff3ac5b83319d8b2b91439a7d598ed66d
    Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
index e50e35d..aee2521 100644
--- a/xen/arch/arm/vgic.c
+++ b/xen/arch/arm/vgic.c
@@ -133,7 +133,7 @@ void domain_vgic_free(struct domain *d)

         if ( p->desc )
         {
-            ret = release_guest_irq(d, p->irq);
+            ret = release_guest_irq(d, i + 32);
             if ( ret )
                 dprintk(XENLOG_G_WARNING, "d%u: Failed to release
virq %u ret = %d\n",
                         d->domain_id, p->irq, ret);

commit 52db4eacef9c3ab050bba2548196bcaff657bc00
Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Date:   Fri Aug 29 14:39:31 2014 +0300

    xen/arm: allow reassigning of hw interrupts to guest domain

    Patch allows reassigning of hardware interrupts from dom0 to
    other guest domain.

    Change-Id: Ie85485830d87b07393cc7fe7e64de5fd5f65ebb8
    Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
index ba33571..018a2f6 100644
--- a/xen/arch/arm/irq.c
+++ b/xen/arch/arm/irq.c
@@ -455,12 +455,24 @@ int route_irq_to_guest(struct domain *d,
unsigned int virq,
             goto out;

         if ( test_bit(_IRQ_GUEST, &desc->status) )
-            dprintk(XENLOG_G_ERR, "IRQ %u is already used by domain %u\n",
-                    irq, ad->domain_id);
+        {
+            dprintk(XENLOG_G_DEBUG, "IRQ %u is reassigned from domain
%u to domain %u\n",
+                    irq, ad->domain_id, d->domain_id);
+
+            clear_bit(_IRQ_DISABLED, &desc->status);
+            retval = gic_remove_irq_from_guest(ad, irq, desc);
+            if ( retval )
+                dprintk(XENLOG_G_ERR, "failed to remove IRQ %u from
domain %u (%d)\n",
+                        irq, ad->domain_id, retval);
+            xfree(desc->action);
+            desc->action = NULL;
+        }
         else
+        {
             dprintk(XENLOG_G_ERR, "IRQ %u is already used by Xen\n", irq);
-        retval = -EBUSY;
-        goto out;
+            retval = -EBUSY;
+            goto out;
+        }
     }

     retval = __setup_irq(desc, 0, action);

commit 09f50d7864b249bc4d53cb68c5c409ce7e8560f3
Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Date:   Tue Nov 25 19:27:44 2014 +0200

    xen/arm: map pv domain interrupts numbers one to one

    Currently driver domain uses hardware interrupts. They
    are mapped as SPIs to guest domains. Patch allows to use
    one to one mappings between hardware interrupts numbers
    and SPIs numbers.

    Change-Id: Ie5704c88979724b489cc33431bdf6a78ff03fe8c
    Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
index 653da31..e50e35d 100644
--- a/xen/arch/arm/vgic.c
+++ b/xen/arch/arm/vgic.c
@@ -66,7 +66,7 @@ int domain_vgic_init(struct domain *d)

     d->arch.vgic.ctlr = 0;

-    if ( is_hardware_domain(d) )
+    if ( is_hardware_domain(d) || is_pv_domain(d) )
         d->arch.vgic.nr_spis = gic_number_lines() - 32;
     else
         d->arch.vgic.nr_spis = 0; /* We don't need SPIs for the guest */
@@ -470,7 +470,7 @@ int vgic_allocate_virq(struct domain *d, unsigned int irq)
     int virq = -1;

     /* Hardware domain has IRQ mapped 1:1 */
-    if ( is_hardware_domain(d) )
+    if ( is_hardware_domain(d) || is_pv_domain(d) )
         return irq;

     spin_lock(&d->arch.vgic.lock);


>
> Regards,
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:22:16 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:22:16 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEg3s-0001kT-Eg; Fri, 23 Jan 2015 15:22:16 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEg3q-0001k9-Hz for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:22:14 +0000
Received: from [193.109.254.147] by server-16.bemta-14.messagelabs.com id
	4E/89-27612-52762C45; Fri, 23 Jan 2015 15:22:13 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-16.tower-27.messagelabs.com!1422026530!17125428!1
X-Originating-IP: [64.18.0.26]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 3002 invoked from network); 23 Jan 2015 15:22:12 -0000
Received: from exprod5og113.obsmtp.com (HELO exprod5og113.obsmtp.com)
	(64.18.0.26)
	by server-16.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:22:12 -0000
Received: from mail-qa0-f47.google.com ([209.85.216.47]) (using TLSv1) by
	exprod5ob113.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJnIuOdjPj7Hh/rbtIcXUkYQdyZ2ahn@postini.com;
	Fri, 23 Jan 2015 07:22:12 PST
Received: by mail-qa0-f47.google.com with SMTP id n8so6222090qaq.6
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:22:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=QHWD7sVTB9xKymYpCMuEYm5F8zUmGYE9iw0j/quK+f0=;
	b=RH/kg9feNyWpsqqYMzqZiDIUIzkxwBLyevZg+aET1z338LfDOlByhBCGND1PIl7aZJ
	YwKrzWInPQIEKQAxvpm/XYQFzK5IiwzBFLSAPOa0NofXfYhrqkzJHmFPhz19mPXsGPA1
	Ei6hodz5i625c6ilv4/hNbNEQjzfzvOwv7u/c=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=QHWD7sVTB9xKymYpCMuEYm5F8zUmGYE9iw0j/quK+f0=;
	b=iaSmsx9DH0yLjdqEISOjdqROhhx/updOEoCtqry81EPbneClTyqYsn/bja57rlr18t
	0qA4jrLYe2bFhkAw1mAQ3LJLe+AEVr4ITU59g9ErqmVwhvbyybIpJVWmM6JQlX9M+pbC
	Jb+1uOfEUh/wMcSWldky56YEYnFSlN9CL/0d87risEAtAT11ckRqeGqQ0f18xWIpunsm
	0rgVdf4rFMmImQ/mgydSid/zdnqmuooJM2pf5Cp1Nh+PsOMmBHfBD6knEMJUAbM9zjvO
	Pwnat3hdYyGQMQmf49PupsdvIwOCw5yw3T/g+eb/qRN7fx7A2ijBzJToiZMANxlruwOg
	/d2w==
X-Gm-Message-State: ALoCoQmVv8ZIDM0mxAYNbyORYH/pQP0RvGFSioKnAM6GjbzO3p0LoBN/bM5DPU2tDwSsYSV0Ul5rEtlAanxLHVWxVWMFpN+V1UaepznmHHj+u8zfnvCqlvuo/pi8TT1e+F8GUfJdb3zv5LE1b87Fli0s+pxD/sDEaaexMjX6w+a1pCM5cGokxJk=
X-Received: by 10.140.29.138 with SMTP id b10mr14389898qgb.34.1422026530096;
	Fri, 23 Jan 2015 07:22:10 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.29.138 with SMTP id b10mr14389864qgb.34.1422026529922;
	Fri, 23 Jan 2015 07:22:09 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:22:09 -0800 (PST)
In-Reply-To: <54C264E7.6030905@linaro.org>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
Date: Fri, 23 Jan 2015 17:22:09 +0200
Message-ID: <CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Hi Julien,

On Fri, Jan 23, 2015 at 5:12 PM, Julien Grall <julien.grall@linaro.org> wrote:
> On 23/01/15 15:03, Andrii Tseglytskyi wrote:
>> On Fri, Jan 23, 2015 at 4:48 PM, Julien Grall <julien.grall@citrix.com> wrote:
>>> On 23/01/15 14:19, Andrii Tseglytskyi wrote:
>>>> Hi,
>>>
>>> Hi Andrii,
>>>
>>>> Xen related development in GlobalLogic is going with good progress, and
>>>> latest what we've done on our platform is *driver domain*.
>>>> Right now on our platform dom0 doesn't access any hardware (except SATA
>>>> and block device). Driver domain manages all hardware and run all
>>>> backend drivers.
>>>> This required several changes in hypervisor, toolstack, kernels,
>>>> filesystems, device trees etc. I would like to write an article abut our
>>>> experience of driver domain + backends bringup.
>>>>
>>>> Will this be interesting?
>>>
>>> It's a good blog post.
>>>
>>> OOI, what did you modify in the hypervisor and toolstack? I was able to
>>> create drivers domain without any modification aside my non-pci
>>> passthrough series.
>>>
>>
>> Briefly - I added possibility to map driver domain memory 1 to 1,
>> added possibility to allocate 128/256/512 Mb of RAM in one chunk, new
>> XSM label, and reworked IRQ routing a bit. It's great that this is
>
> If it's possible, I would be interested to have more detail about the
> IRQ routing changes now.
>
> I have few patches (part of non-pci passthrough series) which take care
> of IRQ routing. What is missing in thoses patches? If you are not using
> them, what did you modify?

OK. I'm sending you my local changes - 3 pieces of code.

Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Date:   Tue Dec 30 18:38:55 2014 +0200

    xen/arm: always use count number to release hardware irq

    As soons as hardware interrupts are always mapped 1 to 1
    count number plus 32 is always equal to interrupt number which
    should be released. In current implementation if we don't receive
    any irq which number should be released existing p->irq number will
    be equal to 0, and interrupt will be not released properly.
    So, use lopp counter + 32 here.

    Change-Id: If89c928ff3ac5b83319d8b2b91439a7d598ed66d
    Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
index e50e35d..aee2521 100644
--- a/xen/arch/arm/vgic.c
+++ b/xen/arch/arm/vgic.c
@@ -133,7 +133,7 @@ void domain_vgic_free(struct domain *d)

         if ( p->desc )
         {
-            ret = release_guest_irq(d, p->irq);
+            ret = release_guest_irq(d, i + 32);
             if ( ret )
                 dprintk(XENLOG_G_WARNING, "d%u: Failed to release
virq %u ret = %d\n",
                         d->domain_id, p->irq, ret);

commit 52db4eacef9c3ab050bba2548196bcaff657bc00
Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Date:   Fri Aug 29 14:39:31 2014 +0300

    xen/arm: allow reassigning of hw interrupts to guest domain

    Patch allows reassigning of hardware interrupts from dom0 to
    other guest domain.

    Change-Id: Ie85485830d87b07393cc7fe7e64de5fd5f65ebb8
    Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
index ba33571..018a2f6 100644
--- a/xen/arch/arm/irq.c
+++ b/xen/arch/arm/irq.c
@@ -455,12 +455,24 @@ int route_irq_to_guest(struct domain *d,
unsigned int virq,
             goto out;

         if ( test_bit(_IRQ_GUEST, &desc->status) )
-            dprintk(XENLOG_G_ERR, "IRQ %u is already used by domain %u\n",
-                    irq, ad->domain_id);
+        {
+            dprintk(XENLOG_G_DEBUG, "IRQ %u is reassigned from domain
%u to domain %u\n",
+                    irq, ad->domain_id, d->domain_id);
+
+            clear_bit(_IRQ_DISABLED, &desc->status);
+            retval = gic_remove_irq_from_guest(ad, irq, desc);
+            if ( retval )
+                dprintk(XENLOG_G_ERR, "failed to remove IRQ %u from
domain %u (%d)\n",
+                        irq, ad->domain_id, retval);
+            xfree(desc->action);
+            desc->action = NULL;
+        }
         else
+        {
             dprintk(XENLOG_G_ERR, "IRQ %u is already used by Xen\n", irq);
-        retval = -EBUSY;
-        goto out;
+            retval = -EBUSY;
+            goto out;
+        }
     }

     retval = __setup_irq(desc, 0, action);

commit 09f50d7864b249bc4d53cb68c5c409ce7e8560f3
Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Date:   Tue Nov 25 19:27:44 2014 +0200

    xen/arm: map pv domain interrupts numbers one to one

    Currently driver domain uses hardware interrupts. They
    are mapped as SPIs to guest domains. Patch allows to use
    one to one mappings between hardware interrupts numbers
    and SPIs numbers.

    Change-Id: Ie5704c88979724b489cc33431bdf6a78ff03fe8c
    Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
index 653da31..e50e35d 100644
--- a/xen/arch/arm/vgic.c
+++ b/xen/arch/arm/vgic.c
@@ -66,7 +66,7 @@ int domain_vgic_init(struct domain *d)

     d->arch.vgic.ctlr = 0;

-    if ( is_hardware_domain(d) )
+    if ( is_hardware_domain(d) || is_pv_domain(d) )
         d->arch.vgic.nr_spis = gic_number_lines() - 32;
     else
         d->arch.vgic.nr_spis = 0; /* We don't need SPIs for the guest */
@@ -470,7 +470,7 @@ int vgic_allocate_virq(struct domain *d, unsigned int irq)
     int virq = -1;

     /* Hardware domain has IRQ mapped 1:1 */
-    if ( is_hardware_domain(d) )
+    if ( is_hardware_domain(d) || is_pv_domain(d) )
         return irq;

     spin_lock(&d->arch.vgic.lock);


>
> Regards,
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:22:22 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:22:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEg3y-0001lY-Gj; Fri, 23 Jan 2015 15:22:22 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <julien.grall@linaro.org>) id 1YEg3w-0001lI-Qj
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:22:20 +0000
Received: from [193.109.254.147] by server-6.bemta-14.messagelabs.com id
	45/04-05177-C2762C45; Fri, 23 Jan 2015 15:22:20 +0000
X-Env-Sender: julien.grall@linaro.org
X-Msg-Ref: server-5.tower-27.messagelabs.com!1422026539!17926993!1
X-Originating-IP: [209.85.212.177]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28619 invoked from network); 23 Jan 2015 15:22:19 -0000
Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com)
	(209.85.212.177)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jan 2015 15:22:19 -0000
Received: by mail-wi0-f177.google.com with SMTP id r20so3533197wiv.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:22:17 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=MRxCspSqfHbNCXvHJLSujNQC0Dq4xbUPWlViaEtvcyg=;
	b=d3QJkqLTG2rhnNj7nmvMYePT4vqpglQ4DiPNk8zXKxgnuiqOrTc6e3xdfvH5UMWB0X
	GFRpf56c6Fh9Zkb8wnAX3qL/JYkGe6HCd7L5NWFAewhZjbXC0Qlk+mIXc1UV0zQ4q2tE
	mLL9NR1D7KSgsdWDdZBr5Ca8z3ThaGgy3fbIQbw3uOJyytFE1K9f8eu+fRt6nRqxX9oR
	xAygV4CmuEeKV2wlhWIzmoSX/8/QWmkQuaTiqIWtl9lEvPBylTIoPWyJ7fsgdrcpNrO8
	OSdYkllEQeQpa1b2PO3h8FMtzbN4A/vWrQXdNSF/MUbbPOSoDCimlU5aXPAjhvUlYhay
	VWUA==
X-Gm-Message-State: ALoCoQlkMY/T1pwj3nJQ5bvvdoEU+Cb8w8Yjf9mggQEqR2B0/T4+SUFe29MNqbPpU+ohLXcmnUPa
X-Received: by 10.180.91.201 with SMTP id cg9mr4757676wib.63.1422026537854;
	Fri, 23 Jan 2015 07:22:17 -0800 (PST)
Received: from [10.80.2.139] ([185.25.64.249]) by mx.google.com with ESMTPSA id
	qg11sm2220211wic.17.2015.01.23.07.22.16
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 23 Jan 2015 07:22:17 -0800 (PST)
Message-ID: <54C2670D.7030705@linaro.org>
Date: Fri, 23 Jan 2015 15:21:49 +0000
From: Julien Grall <julien.grall@linaro.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.3.0
MIME-Version: 1.0
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>, 
	Julien Grall <julien.grall@citrix.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>	<D0E80C1C.177D5%lars.kurth@citrix.com>	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>	<CAH_mUMNURM=F8K0C6Vnw3w=yOSRSZ=bNqf85oqkaJbL=dnfSBA@mail.gmail.com>	<54C2623B.6040309@citrix.com>
	<CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
In-Reply-To: <CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On 23/01/15 15:13, Andrii Tseglytskyi wrote:
> Hi Julien,
> 
> On Fri, Jan 23, 2015 at 5:01 PM, Julien Grall <julien.grall@citrix.com> wrote:
>> On 23/01/15 14:56, Andrii Tseglytskyi wrote:
>>> Thank you for your interest. I hope we will upstream some of changes.
>>> To make driver domain running we need to have it memory 1 to 1 mapped.
>>> And we did some changes to have a possibility to map *any* domain 1 to
>>> 1 if needed. This requires hypervisor + toolstack changes. This is the
>>> best candidate for upstream as soon as it will be rewritten properly
>>> :) Oleksandr Tyschenko is now working on this.
>>
>> I'm concerned about a such change in Xen upstream. Any device
>> passthrough to a domain should be protected by IOMMU.
>>
>> Using the 1:1 mapping means you want to passthrough a non-protected
>> device. So the driver domain could issue a DMA request to override any
>> part of the memory (such as Xen or DOM0).
> 
> Using DMA is an idea here. We don't have SMMU support on our platform.

Without SMMU support, DMA request is unsafe. If someone break into the
driver domain, it will be able to access the whole platform. You will
have to trust the driver domain (like we do for DOM0).

In general, any platform without SMMU/IOMMU support is not safe for any
kind of device passthrough.

Regards,

-- 
Julien Grall

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:22:22 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:22:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEg3y-0001lY-Gj; Fri, 23 Jan 2015 15:22:22 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <julien.grall@linaro.org>) id 1YEg3w-0001lI-Qj
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:22:20 +0000
Received: from [193.109.254.147] by server-6.bemta-14.messagelabs.com id
	45/04-05177-C2762C45; Fri, 23 Jan 2015 15:22:20 +0000
X-Env-Sender: julien.grall@linaro.org
X-Msg-Ref: server-5.tower-27.messagelabs.com!1422026539!17926993!1
X-Originating-IP: [209.85.212.177]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 28619 invoked from network); 23 Jan 2015 15:22:19 -0000
Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com)
	(209.85.212.177)
	by server-5.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jan 2015 15:22:19 -0000
Received: by mail-wi0-f177.google.com with SMTP id r20so3533197wiv.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:22:17 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=MRxCspSqfHbNCXvHJLSujNQC0Dq4xbUPWlViaEtvcyg=;
	b=d3QJkqLTG2rhnNj7nmvMYePT4vqpglQ4DiPNk8zXKxgnuiqOrTc6e3xdfvH5UMWB0X
	GFRpf56c6Fh9Zkb8wnAX3qL/JYkGe6HCd7L5NWFAewhZjbXC0Qlk+mIXc1UV0zQ4q2tE
	mLL9NR1D7KSgsdWDdZBr5Ca8z3ThaGgy3fbIQbw3uOJyytFE1K9f8eu+fRt6nRqxX9oR
	xAygV4CmuEeKV2wlhWIzmoSX/8/QWmkQuaTiqIWtl9lEvPBylTIoPWyJ7fsgdrcpNrO8
	OSdYkllEQeQpa1b2PO3h8FMtzbN4A/vWrQXdNSF/MUbbPOSoDCimlU5aXPAjhvUlYhay
	VWUA==
X-Gm-Message-State: ALoCoQlkMY/T1pwj3nJQ5bvvdoEU+Cb8w8Yjf9mggQEqR2B0/T4+SUFe29MNqbPpU+ohLXcmnUPa
X-Received: by 10.180.91.201 with SMTP id cg9mr4757676wib.63.1422026537854;
	Fri, 23 Jan 2015 07:22:17 -0800 (PST)
Received: from [10.80.2.139] ([185.25.64.249]) by mx.google.com with ESMTPSA id
	qg11sm2220211wic.17.2015.01.23.07.22.16
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 23 Jan 2015 07:22:17 -0800 (PST)
Message-ID: <54C2670D.7030705@linaro.org>
Date: Fri, 23 Jan 2015 15:21:49 +0000
From: Julien Grall <julien.grall@linaro.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.3.0
MIME-Version: 1.0
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>, 
	Julien Grall <julien.grall@citrix.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>	<D0E80C1C.177D5%lars.kurth@citrix.com>	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>	<CAH_mUMNURM=F8K0C6Vnw3w=yOSRSZ=bNqf85oqkaJbL=dnfSBA@mail.gmail.com>	<54C2623B.6040309@citrix.com>
	<CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
In-Reply-To: <CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On 23/01/15 15:13, Andrii Tseglytskyi wrote:
> Hi Julien,
> 
> On Fri, Jan 23, 2015 at 5:01 PM, Julien Grall <julien.grall@citrix.com> wrote:
>> On 23/01/15 14:56, Andrii Tseglytskyi wrote:
>>> Thank you for your interest. I hope we will upstream some of changes.
>>> To make driver domain running we need to have it memory 1 to 1 mapped.
>>> And we did some changes to have a possibility to map *any* domain 1 to
>>> 1 if needed. This requires hypervisor + toolstack changes. This is the
>>> best candidate for upstream as soon as it will be rewritten properly
>>> :) Oleksandr Tyschenko is now working on this.
>>
>> I'm concerned about a such change in Xen upstream. Any device
>> passthrough to a domain should be protected by IOMMU.
>>
>> Using the 1:1 mapping means you want to passthrough a non-protected
>> device. So the driver domain could issue a DMA request to override any
>> part of the memory (such as Xen or DOM0).
> 
> Using DMA is an idea here. We don't have SMMU support on our platform.

Without SMMU support, DMA request is unsafe. If someone break into the
driver domain, it will be able to access the whole platform. You will
have to trust the driver domain (like we do for DOM0).

In general, any platform without SMMU/IOMMU support is not safe for any
kind of device passthrough.

Regards,

-- 
Julien Grall

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:25:08 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:25:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEg6e-00025e-6M; Fri, 23 Jan 2015 15:25:08 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEg6d-00025U-5e for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:25:07 +0000
Received: from [85.158.143.35] by server-3.bemta-4.messagelabs.com id
	E1/DD-19804-2D762C45; Fri, 23 Jan 2015 15:25:06 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-12.tower-21.messagelabs.com!1422026704!11953661!1
X-Originating-IP: [64.18.0.26]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5821 invoked from network); 23 Jan 2015 15:25:05 -0000
Received: from exprod5og113.obsmtp.com (HELO exprod5og113.obsmtp.com)
	(64.18.0.26)
	by server-12.tower-21.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:25:05 -0000
Received: from mail-qg0-f44.google.com ([209.85.192.44]) (using TLSv1) by
	exprod5ob113.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJnz/fpf3+/2U1A9VX5qV6+eN4rO3mE@postini.com;
	Fri, 23 Jan 2015 07:25:05 PST
Received: by mail-qg0-f44.google.com with SMTP id l89so6488008qgf.3
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:25:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=hdLITy4moLnug/AZtVgYgxvYQtFYcssKfeBUW0jp+dk=;
	b=ieru9DAiMdAB7dpyX8UvuXH45lLTFaJnx8RmY09PCsoR2HJsqvmULRzmO7Be6uUWE7
	TUSPBUdBbqBPchTCsCYOZ54JFJ1fX3Jyr+wop50qA9wL5rfttubARbCmxBgRnFFiAUDx
	fSD3qxJNe6cmMq42Ghob3wntVrWmcv1lPNkYo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=hdLITy4moLnug/AZtVgYgxvYQtFYcssKfeBUW0jp+dk=;
	b=ijykj76+gcmiU8iqcaoi6tzelaU4XwtpTZaEw2f5O/k9c9GgKyPoitS6gNP00ejH+q
	shlJ2r3t89Y6JY65uAxS9cBHt3mRxXLD42Z8TiATq3cOarfXLU92WxxES+/tfwEP6egS
	g87i0cvxfioVs0TXp+QHgPqqlN/dXuVzJruIUFXPYFv/JuKy38eEiD/YbH+hTzkEvdz3
	oeP0Az4+oKdGoBMKB3cCbVlwlQEEKC95Qhy+7qh/MiUllkI3By9AdfOMwWKdjhKlr4pU
	KznsD52V2b3zamhv9UM0tCiWWsevCDiad/LZHBnQc6GHKm3Uy/h6CK/Sz6CzyZh7rZn+
	CTBw==
X-Gm-Message-State: ALoCoQnIlxMPKy2uuFWEP8E8xInr20EQeqsEk06XrNRm2Qeb51NXW6/nSXvpb4GGXQuCpcqGoxdNUa05vulCNVTeLQDkEgg3mF3mLGAsUE34y0heo8c9xyaZLTwZ2vObvfQrTUELQ5YE4Ap1Y1QqMMiHO4o67SwVHV5HZrtN6FpzSi7MsOHansE=
X-Received: by 10.229.68.202 with SMTP id w10mr15124211qci.13.1422026703118;
	Fri, 23 Jan 2015 07:25:03 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.229.68.202 with SMTP id w10mr15123599qci.13.1422026698995;
	Fri, 23 Jan 2015 07:24:58 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:24:58 -0800 (PST)
In-Reply-To: <54C2670D.7030705@linaro.org>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<D0E80C1C.177D5%lars.kurth@citrix.com>
	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
	<CAH_mUMNURM=F8K0C6Vnw3w=yOSRSZ=bNqf85oqkaJbL=dnfSBA@mail.gmail.com>
	<54C2623B.6040309@citrix.com>
	<CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
	<54C2670D.7030705@linaro.org>
Date: Fri, 23 Jan 2015 17:24:58 +0200
Message-ID: <CAH_mUMOqt33GSxoY-+gLFfr0z=G29pCo5E6mcD+o_vuUNDr8aA@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Julien Grall <julien.grall@citrix.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On Fri, Jan 23, 2015 at 5:21 PM, Julien Grall <julien.grall@linaro.org> wrote:
> On 23/01/15 15:13, Andrii Tseglytskyi wrote:
>> Hi Julien,
>>
>> On Fri, Jan 23, 2015 at 5:01 PM, Julien Grall <julien.grall@citrix.com> wrote:
>>> On 23/01/15 14:56, Andrii Tseglytskyi wrote:
>>>> Thank you for your interest. I hope we will upstream some of changes.
>>>> To make driver domain running we need to have it memory 1 to 1 mapped.
>>>> And we did some changes to have a possibility to map *any* domain 1 to
>>>> 1 if needed. This requires hypervisor + toolstack changes. This is the
>>>> best candidate for upstream as soon as it will be rewritten properly
>>>> :) Oleksandr Tyschenko is now working on this.
>>>
>>> I'm concerned about a such change in Xen upstream. Any device
>>> passthrough to a domain should be protected by IOMMU.
>>>
>>> Using the 1:1 mapping means you want to passthrough a non-protected
>>> device. So the driver domain could issue a DMA request to override any
>>> part of the memory (such as Xen or DOM0).
>>
>> Using DMA is an idea here. We don't have SMMU support on our platform.
>
> Without SMMU support, DMA request is unsafe. If someone break into the
> driver domain, it will be able to access the whole platform. You will
> have to trust the driver domain (like we do for DOM0).
>
> In general, any platform without SMMU/IOMMU support is not safe for any
> kind of device passthrough.
>

Agree with everything you are noticing. But as soon as we don't have a
SMMU - no way for us except trusting driver domain like dom0 and use
DMA + SWIOTLB as is.

> Regards,
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 15:25:08 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 15:25:08 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEg6e-00025e-6M; Fri, 23 Jan 2015 15:25:08 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEg6d-00025U-5e for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 15:25:07 +0000
Received: from [85.158.143.35] by server-3.bemta-4.messagelabs.com id
	E1/DD-19804-2D762C45; Fri, 23 Jan 2015 15:25:06 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-12.tower-21.messagelabs.com!1422026704!11953661!1
X-Originating-IP: [64.18.0.26]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 5821 invoked from network); 23 Jan 2015 15:25:05 -0000
Received: from exprod5og113.obsmtp.com (HELO exprod5og113.obsmtp.com)
	(64.18.0.26)
	by server-12.tower-21.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 15:25:05 -0000
Received: from mail-qg0-f44.google.com ([209.85.192.44]) (using TLSv1) by
	exprod5ob113.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJnz/fpf3+/2U1A9VX5qV6+eN4rO3mE@postini.com;
	Fri, 23 Jan 2015 07:25:05 PST
Received: by mail-qg0-f44.google.com with SMTP id l89so6488008qgf.3
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 07:25:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=hdLITy4moLnug/AZtVgYgxvYQtFYcssKfeBUW0jp+dk=;
	b=ieru9DAiMdAB7dpyX8UvuXH45lLTFaJnx8RmY09PCsoR2HJsqvmULRzmO7Be6uUWE7
	TUSPBUdBbqBPchTCsCYOZ54JFJ1fX3Jyr+wop50qA9wL5rfttubARbCmxBgRnFFiAUDx
	fSD3qxJNe6cmMq42Ghob3wntVrWmcv1lPNkYo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=hdLITy4moLnug/AZtVgYgxvYQtFYcssKfeBUW0jp+dk=;
	b=ijykj76+gcmiU8iqcaoi6tzelaU4XwtpTZaEw2f5O/k9c9GgKyPoitS6gNP00ejH+q
	shlJ2r3t89Y6JY65uAxS9cBHt3mRxXLD42Z8TiATq3cOarfXLU92WxxES+/tfwEP6egS
	g87i0cvxfioVs0TXp+QHgPqqlN/dXuVzJruIUFXPYFv/JuKy38eEiD/YbH+hTzkEvdz3
	oeP0Az4+oKdGoBMKB3cCbVlwlQEEKC95Qhy+7qh/MiUllkI3By9AdfOMwWKdjhKlr4pU
	KznsD52V2b3zamhv9UM0tCiWWsevCDiad/LZHBnQc6GHKm3Uy/h6CK/Sz6CzyZh7rZn+
	CTBw==
X-Gm-Message-State: ALoCoQnIlxMPKy2uuFWEP8E8xInr20EQeqsEk06XrNRm2Qeb51NXW6/nSXvpb4GGXQuCpcqGoxdNUa05vulCNVTeLQDkEgg3mF3mLGAsUE34y0heo8c9xyaZLTwZ2vObvfQrTUELQ5YE4Ap1Y1QqMMiHO4o67SwVHV5HZrtN6FpzSi7MsOHansE=
X-Received: by 10.229.68.202 with SMTP id w10mr15124211qci.13.1422026703118;
	Fri, 23 Jan 2015 07:25:03 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.229.68.202 with SMTP id w10mr15123599qci.13.1422026698995;
	Fri, 23 Jan 2015 07:24:58 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 07:24:58 -0800 (PST)
In-Reply-To: <54C2670D.7030705@linaro.org>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<D0E80C1C.177D5%lars.kurth@citrix.com>
	<alpine.DEB.2.02.1501231447030.18131@kaball.uk.xensource.com>
	<CAH_mUMNURM=F8K0C6Vnw3w=yOSRSZ=bNqf85oqkaJbL=dnfSBA@mail.gmail.com>
	<54C2623B.6040309@citrix.com>
	<CAH_mUMM1r+WaKkmn5QHjTiOkud6OwLGLbAo2w2QON+=VF2q+AQ@mail.gmail.com>
	<54C2670D.7030705@linaro.org>
Date: Fri, 23 Jan 2015 17:24:58 +0200
Message-ID: <CAH_mUMOqt33GSxoY-+gLFfr0z=G29pCo5E6mcD+o_vuUNDr8aA@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Julien Grall <julien.grall@citrix.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <Stefano.Stabellini@citrix.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On Fri, Jan 23, 2015 at 5:21 PM, Julien Grall <julien.grall@linaro.org> wrote:
> On 23/01/15 15:13, Andrii Tseglytskyi wrote:
>> Hi Julien,
>>
>> On Fri, Jan 23, 2015 at 5:01 PM, Julien Grall <julien.grall@citrix.com> wrote:
>>> On 23/01/15 14:56, Andrii Tseglytskyi wrote:
>>>> Thank you for your interest. I hope we will upstream some of changes.
>>>> To make driver domain running we need to have it memory 1 to 1 mapped.
>>>> And we did some changes to have a possibility to map *any* domain 1 to
>>>> 1 if needed. This requires hypervisor + toolstack changes. This is the
>>>> best candidate for upstream as soon as it will be rewritten properly
>>>> :) Oleksandr Tyschenko is now working on this.
>>>
>>> I'm concerned about a such change in Xen upstream. Any device
>>> passthrough to a domain should be protected by IOMMU.
>>>
>>> Using the 1:1 mapping means you want to passthrough a non-protected
>>> device. So the driver domain could issue a DMA request to override any
>>> part of the memory (such as Xen or DOM0).
>>
>> Using DMA is an idea here. We don't have SMMU support on our platform.
>
> Without SMMU support, DMA request is unsafe. If someone break into the
> driver domain, it will be able to access the whole platform. You will
> have to trust the driver domain (like we do for DOM0).
>
> In general, any platform without SMMU/IOMMU support is not safe for any
> kind of device passthrough.
>

Agree with everything you are noticing. But as soon as we don't have a
SMMU - no way for us except trusting driver domain like dom0 and use
DMA + SWIOTLB as is.

> Regards,
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 16:05:45 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 16:05:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEgjx-0006yG-Ch; Fri, 23 Jan 2015 16:05:45 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <julien.grall@linaro.org>) id 1YEgjw-0006y7-Rc
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 16:05:45 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	AF/A3-16320-85172C45; Fri, 23 Jan 2015 16:05:44 +0000
X-Env-Sender: julien.grall@linaro.org
X-Msg-Ref: server-11.tower-27.messagelabs.com!1422029143!19241479!1
X-Originating-IP: [209.85.212.177]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27715 invoked from network); 23 Jan 2015 16:05:43 -0000
Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com)
	(209.85.212.177)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jan 2015 16:05:43 -0000
Received: by mail-wi0-f177.google.com with SMTP id r20so3824625wiv.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 08:05:43 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=25vYJbQZl0XxxAblQie6wb+knuYoTQwpG95zRUqu2Ng=;
	b=mP2Hg4zABxAwWYiSnWod5mWk6833pG624zle5aJQ6KnG+5dGlFqDAURPb/RC4Am2Oy
	ZEXlgDECcgFJZY2yv4jxgnRdAGmb0lDguIZyYbXkKLxT0ub5ELUMLQOzxy/AH/VQBb9h
	9XMW7lUJbwEmA7cUGx4yNU0wsWXz7fe67DaruF3UKm7Q+RtuKtgqGQ+uJJyypMonO7Cz
	8Zj4W0OKtq4e3ljxnZnHkZOyKPIXMv3GfqHgBfrQ2Vtg3u3/8fmmTljAh463GJUq26CD
	oBEDrMhDsk1xsyVzaPWzWJvm8Nm/3vr/vyVvTlolBpceYeug7Ttc7Qa+V/dz7DK5qMsH
	fZ3w==
X-Gm-Message-State: ALoCoQkGL/XO3o2n9q1mOurI+cX0D3SW+A93eAX22aPW7OwgcRUYRhn0xWif4200y6mBzQISjxbG
X-Received: by 10.194.184.76 with SMTP id es12mr6221396wjc.110.1422029142988; 
	Fri, 23 Jan 2015 08:05:42 -0800 (PST)
Received: from [10.80.2.139] ([185.25.64.249]) by mx.google.com with ESMTPSA id
	gi12sm2366098wic.24.2015.01.23.08.05.41
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 23 Jan 2015 08:05:42 -0800 (PST)
Message-ID: <54C2713A.9080203@linaro.org>
Date: Fri, 23 Jan 2015 16:05:14 +0000
From: Julien Grall <julien.grall@linaro.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.3.0
MIME-Version: 1.0
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>	<54C25F32.4000106@citrix.com>	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
In-Reply-To: <CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On 23/01/15 15:22, Andrii Tseglytskyi wrote:
> OK. I'm sending you my local changes - 3 pieces of code.

Few comments below.

> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> Date:   Tue Dec 30 18:38:55 2014 +0200
> 
>     xen/arm: always use count number to release hardware irq
> 
>     As soons as hardware interrupts are always mapped 1 to 1
>     count number plus 32 is always equal to interrupt number which
>     should be released. In current implementation if we don't receive
>     any irq which number should be released existing p->irq number will
>     be equal to 0, and interrupt will be not released properly.
>     So, use lopp counter + 32 here.

release_guest_irq is taking a vIRQ in parameter and not an IRQ.

>     Change-Id: If89c928ff3ac5b83319d8b2b91439a7d598ed66d
>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

See https://patches.linaro.org/42995/

> commit 52db4eacef9c3ab050bba2548196bcaff657bc00
> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> Date:   Fri Aug 29 14:39:31 2014 +0300
> 
>     xen/arm: allow reassigning of hw interrupts to guest domain
> 
>     Patch allows reassigning of hardware interrupts from dom0 to
>     other guest domain.
> 
>     Change-Id: Ie85485830d87b07393cc7fe7e64de5fd5f65ebb8
>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> 
> diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
> index ba33571..018a2f6 100644
> --- a/xen/arch/arm/irq.c
> +++ b/xen/arch/arm/irq.c
> @@ -455,12 +455,24 @@ int route_irq_to_guest(struct domain *d,
> unsigned int virq,
>              goto out;
> 
>          if ( test_bit(_IRQ_GUEST, &desc->status) )
> -            dprintk(XENLOG_G_ERR, "IRQ %u is already used by domain %u\n",
> -                    irq, ad->domain_id);
> +        {
> +            dprintk(XENLOG_G_DEBUG, "IRQ %u is reassigned from domain
> %u to domain %u\n",
> +                    irq, ad->domain_id, d->domain_id);
> +
> +            clear_bit(_IRQ_DISABLED, &desc->status);

Didn't you mean set_bit? We should not be able to remove an IRQ from
DOM0 if it's enabled. Very bad thing could happen, such as the IRQ still
in LRs...

In any case, it clearly wrong to modify &desc->status in this code
because it's related to the interrupt status in the hardware.

> commit 09f50d7864b249bc4d53cb68c5c409ce7e8560f3
> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> Date:   Tue Nov 25 19:27:44 2014 +0200
> 
>     xen/arm: map pv domain interrupts numbers one to one
> 
>     Currently driver domain uses hardware interrupts. They
>     are mapped as SPIs to guest domains. Patch allows to use
>     one to one mappings between hardware interrupts numbers
>     and SPIs numbers.
> 
>     Change-Id: Ie5704c88979724b489cc33431bdf6a78ff03fe8c
>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> 
> diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
> index 653da31..e50e35d 100644
> --- a/xen/arch/arm/vgic.c
> +++ b/xen/arch/arm/vgic.c
> @@ -66,7 +66,7 @@ int domain_vgic_init(struct domain *d)
> 
>      d->arch.vgic.ctlr = 0;
> 
> -    if ( is_hardware_domain(d) )
> +    if ( is_hardware_domain(d) || is_pv_domain(d) )

I don't understand this change. ARM only support one kind of domain.

We should never use is_{pv,hvm}_domain on ARM as it doesn't have any
meaning for this architecture.

Give a look to my new patch series [1], for the interrupt parts it will
really help you.

Regards,

[1] http://www.gossamer-threads.com/lists/xen/devel/361849

-- 
Julien Grall

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 16:05:45 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 16:05:45 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEgjx-0006yG-Ch; Fri, 23 Jan 2015 16:05:45 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <julien.grall@linaro.org>) id 1YEgjw-0006y7-Rc
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 16:05:45 +0000
Received: from [193.109.254.147] by server-4.bemta-14.messagelabs.com id
	AF/A3-16320-85172C45; Fri, 23 Jan 2015 16:05:44 +0000
X-Env-Sender: julien.grall@linaro.org
X-Msg-Ref: server-11.tower-27.messagelabs.com!1422029143!19241479!1
X-Originating-IP: [209.85.212.177]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 27715 invoked from network); 23 Jan 2015 16:05:43 -0000
Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com)
	(209.85.212.177)
	by server-11.tower-27.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jan 2015 16:05:43 -0000
Received: by mail-wi0-f177.google.com with SMTP id r20so3824625wiv.4
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 08:05:43 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=25vYJbQZl0XxxAblQie6wb+knuYoTQwpG95zRUqu2Ng=;
	b=mP2Hg4zABxAwWYiSnWod5mWk6833pG624zle5aJQ6KnG+5dGlFqDAURPb/RC4Am2Oy
	ZEXlgDECcgFJZY2yv4jxgnRdAGmb0lDguIZyYbXkKLxT0ub5ELUMLQOzxy/AH/VQBb9h
	9XMW7lUJbwEmA7cUGx4yNU0wsWXz7fe67DaruF3UKm7Q+RtuKtgqGQ+uJJyypMonO7Cz
	8Zj4W0OKtq4e3ljxnZnHkZOyKPIXMv3GfqHgBfrQ2Vtg3u3/8fmmTljAh463GJUq26CD
	oBEDrMhDsk1xsyVzaPWzWJvm8Nm/3vr/vyVvTlolBpceYeug7Ttc7Qa+V/dz7DK5qMsH
	fZ3w==
X-Gm-Message-State: ALoCoQkGL/XO3o2n9q1mOurI+cX0D3SW+A93eAX22aPW7OwgcRUYRhn0xWif4200y6mBzQISjxbG
X-Received: by 10.194.184.76 with SMTP id es12mr6221396wjc.110.1422029142988; 
	Fri, 23 Jan 2015 08:05:42 -0800 (PST)
Received: from [10.80.2.139] ([185.25.64.249]) by mx.google.com with ESMTPSA id
	gi12sm2366098wic.24.2015.01.23.08.05.41
	(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
	Fri, 23 Jan 2015 08:05:42 -0800 (PST)
Message-ID: <54C2713A.9080203@linaro.org>
Date: Fri, 23 Jan 2015 16:05:14 +0000
From: Julien Grall <julien.grall@linaro.org>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:31.0) Gecko/20100101 Icedove/31.3.0
MIME-Version: 1.0
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>	<54C25F32.4000106@citrix.com>	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
In-Reply-To: <CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On 23/01/15 15:22, Andrii Tseglytskyi wrote:
> OK. I'm sending you my local changes - 3 pieces of code.

Few comments below.

> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> Date:   Tue Dec 30 18:38:55 2014 +0200
> 
>     xen/arm: always use count number to release hardware irq
> 
>     As soons as hardware interrupts are always mapped 1 to 1
>     count number plus 32 is always equal to interrupt number which
>     should be released. In current implementation if we don't receive
>     any irq which number should be released existing p->irq number will
>     be equal to 0, and interrupt will be not released properly.
>     So, use lopp counter + 32 here.

release_guest_irq is taking a vIRQ in parameter and not an IRQ.

>     Change-Id: If89c928ff3ac5b83319d8b2b91439a7d598ed66d
>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>

See https://patches.linaro.org/42995/

> commit 52db4eacef9c3ab050bba2548196bcaff657bc00
> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> Date:   Fri Aug 29 14:39:31 2014 +0300
> 
>     xen/arm: allow reassigning of hw interrupts to guest domain
> 
>     Patch allows reassigning of hardware interrupts from dom0 to
>     other guest domain.
> 
>     Change-Id: Ie85485830d87b07393cc7fe7e64de5fd5f65ebb8
>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> 
> diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
> index ba33571..018a2f6 100644
> --- a/xen/arch/arm/irq.c
> +++ b/xen/arch/arm/irq.c
> @@ -455,12 +455,24 @@ int route_irq_to_guest(struct domain *d,
> unsigned int virq,
>              goto out;
> 
>          if ( test_bit(_IRQ_GUEST, &desc->status) )
> -            dprintk(XENLOG_G_ERR, "IRQ %u is already used by domain %u\n",
> -                    irq, ad->domain_id);
> +        {
> +            dprintk(XENLOG_G_DEBUG, "IRQ %u is reassigned from domain
> %u to domain %u\n",
> +                    irq, ad->domain_id, d->domain_id);
> +
> +            clear_bit(_IRQ_DISABLED, &desc->status);

Didn't you mean set_bit? We should not be able to remove an IRQ from
DOM0 if it's enabled. Very bad thing could happen, such as the IRQ still
in LRs...

In any case, it clearly wrong to modify &desc->status in this code
because it's related to the interrupt status in the hardware.

> commit 09f50d7864b249bc4d53cb68c5c409ce7e8560f3
> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> Date:   Tue Nov 25 19:27:44 2014 +0200
> 
>     xen/arm: map pv domain interrupts numbers one to one
> 
>     Currently driver domain uses hardware interrupts. They
>     are mapped as SPIs to guest domains. Patch allows to use
>     one to one mappings between hardware interrupts numbers
>     and SPIs numbers.
> 
>     Change-Id: Ie5704c88979724b489cc33431bdf6a78ff03fe8c
>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
> 
> diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
> index 653da31..e50e35d 100644
> --- a/xen/arch/arm/vgic.c
> +++ b/xen/arch/arm/vgic.c
> @@ -66,7 +66,7 @@ int domain_vgic_init(struct domain *d)
> 
>      d->arch.vgic.ctlr = 0;
> 
> -    if ( is_hardware_domain(d) )
> +    if ( is_hardware_domain(d) || is_pv_domain(d) )

I don't understand this change. ARM only support one kind of domain.

We should never use is_{pv,hvm}_domain on ARM as it doesn't have any
meaning for this architecture.

Give a look to my new patch series [1], for the interrupt parts it will
really help you.

Regards,

[1] http://www.gossamer-threads.com/lists/xen/devel/361849

-- 
Julien Grall

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 16:20:13 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 16:20:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEgxw-00005D-M8; Fri, 23 Jan 2015 16:20:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEgxv-000051-4h for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 16:20:11 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	0E/FF-15499-AB472C45; Fri, 23 Jan 2015 16:20:10 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1422030007!17940687!1
X-Originating-IP: [64.18.0.145]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12782 invoked from network); 23 Jan 2015 16:20:09 -0000
Received: from exprod5og103.obsmtp.com (HELO exprod5og103.obsmtp.com)
	(64.18.0.145)
	by server-5.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 16:20:09 -0000
Received: from mail-qg0-f46.google.com ([209.85.192.46]) (using TLSv1) by
	exprod5ob103.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJ0twab5wHJSBgGtdpZQJPH2Nz4m+Tm@postini.com;
	Fri, 23 Jan 2015 08:20:09 PST
Received: by mail-qg0-f46.google.com with SMTP id i50so6718997qgf.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 08:20:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=yMT0AMTPySFdx5sv/iKNoBjxnSb9DPbSWsNWenlC3CY=;
	b=P8asSo8Gnlvy9UkKCgNajM/jvVgR0mvRYDMLPe5xQTo9yY/2tJRo4FbLEC3nPWUNqJ
	byUladaZdnErw223dEqAbm502HpGLOM7EJyo9b2ii0nSQhk8DiJHIF6T2wXxHI6Hn8XN
	DkzABBvJH67qlnXTF5Y4Bneu8isibQt92h/Qs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=yMT0AMTPySFdx5sv/iKNoBjxnSb9DPbSWsNWenlC3CY=;
	b=HOk9a1SOYiJPhrrcIrWRsPrW8y49IHxzavxkXMlsBnSCINhZwPQ9VgjibPICplr+CP
	8SxydAdjkEidUXoBypyKZpQBptKBpPqJMqKSyfWEf2KtlD1ib661HjN785eL1NBZRshw
	JRekmLf535XvgRAL8AQebo/DfDYHT5YSldq2900e2mTp7RgvM0XNajNiI+9+tdx0UgRM
	DPlAfSnJuCI0h/4e5mmkSIhlsNZ/ftSH8N9/7VXUo0uDjEELnFQScVAJSuoTQn/nhacH
	F/I7Kjvy7LKnSEwBlKpLCIXS7SVpHypAJulLSBR2qu+uS2xEuZxsktFp23sC8faGtw1X
	6F2g==
X-Gm-Message-State: ALoCoQkcv5r711FQ15VupG5An4xYbsl31F7/XwKsz6zruSXdzRl4nrhxJxpSHKeX5QeWzzKyPZ+m80Uk9JB2PuHpnYbOxTRN198gN+/Buq6AsA7r+j4WO+8bdN/YC7CwOlb4ixUvZPvTRXDIxOlNtYHY0EfA+79GbCUNi9Q171KOdYi3f0e5N64=
X-Received: by 10.140.23.84 with SMTP id 78mr14423142qgo.93.1422030006668;
	Fri, 23 Jan 2015 08:20:06 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.23.84 with SMTP id 78mr14423109qgo.93.1422030006501;
	Fri, 23 Jan 2015 08:20:06 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 08:20:06 -0800 (PST)
In-Reply-To: <54C2713A.9080203@linaro.org>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
	<54C2713A.9080203@linaro.org>
Date: Fri, 23 Jan 2015 18:20:06 +0200
Message-ID: <CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On Fri, Jan 23, 2015 at 6:05 PM, Julien Grall <julien.grall@linaro.org> wrote:
> On 23/01/15 15:22, Andrii Tseglytskyi wrote:
>> OK. I'm sending you my local changes - 3 pieces of code.
>
> Few comments below.
>
>> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>> Date:   Tue Dec 30 18:38:55 2014 +0200
>>
>>     xen/arm: always use count number to release hardware irq
>>
>>     As soons as hardware interrupts are always mapped 1 to 1
>>     count number plus 32 is always equal to interrupt number which
>>     should be released. In current implementation if we don't receive
>>     any irq which number should be released existing p->irq number will
>>     be equal to 0, and interrupt will be not released properly.
>>     So, use lopp counter + 32 here.
>
> release_guest_irq is taking a vIRQ in parameter and not an IRQ.
>
>>     Change-Id: If89c928ff3ac5b83319d8b2b91439a7d598ed66d
>>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>
> See https://patches.linaro.org/42995/
>
>> commit 52db4eacef9c3ab050bba2548196bcaff657bc00
>> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>> Date:   Fri Aug 29 14:39:31 2014 +0300
>>
>>     xen/arm: allow reassigning of hw interrupts to guest domain
>>
>>     Patch allows reassigning of hardware interrupts from dom0 to
>>     other guest domain.
>>
>>     Change-Id: Ie85485830d87b07393cc7fe7e64de5fd5f65ebb8
>>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>>
>> diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
>> index ba33571..018a2f6 100644
>> --- a/xen/arch/arm/irq.c
>> +++ b/xen/arch/arm/irq.c
>> @@ -455,12 +455,24 @@ int route_irq_to_guest(struct domain *d,
>> unsigned int virq,
>>              goto out;
>>
>>          if ( test_bit(_IRQ_GUEST, &desc->status) )
>> -            dprintk(XENLOG_G_ERR, "IRQ %u is already used by domain %u\n",
>> -                    irq, ad->domain_id);
>> +        {
>> +            dprintk(XENLOG_G_DEBUG, "IRQ %u is reassigned from domain
>> %u to domain %u\n",
>> +                    irq, ad->domain_id, d->domain_id);
>> +
>> +            clear_bit(_IRQ_DISABLED, &desc->status);
>
> Didn't you mean set_bit? We should not be able to remove an IRQ from
> DOM0 if it's enabled. Very bad thing could happen, such as the IRQ still
> in LRs...
>
> In any case, it clearly wrong to modify &desc->status in this code
> because it's related to the interrupt status in the hardware.
>
>> commit 09f50d7864b249bc4d53cb68c5c409ce7e8560f3
>> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>> Date:   Tue Nov 25 19:27:44 2014 +0200
>>
>>     xen/arm: map pv domain interrupts numbers one to one
>>
>>     Currently driver domain uses hardware interrupts. They
>>     are mapped as SPIs to guest domains. Patch allows to use
>>     one to one mappings between hardware interrupts numbers
>>     and SPIs numbers.
>>
>>     Change-Id: Ie5704c88979724b489cc33431bdf6a78ff03fe8c
>>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>>
>> diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
>> index 653da31..e50e35d 100644
>> --- a/xen/arch/arm/vgic.c
>> +++ b/xen/arch/arm/vgic.c
>> @@ -66,7 +66,7 @@ int domain_vgic_init(struct domain *d)
>>
>>      d->arch.vgic.ctlr = 0;
>>
>> -    if ( is_hardware_domain(d) )
>> +    if ( is_hardware_domain(d) || is_pv_domain(d) )
>
> I don't understand this change. ARM only support one kind of domain.
>
> We should never use is_{pv,hvm}_domain on ARM as it doesn't have any
> meaning for this architecture.
>
> Give a look to my new patch series [1], for the interrupt parts it will
> really help you.

Julien,

This is why I didn't want to send you code right now. All these
changes work for us to have 1 to 1 IRQ mapping in driver domain and to
release them correctly in case of domain crash. Before get them
upstreamed I would prefer to think twice on each of them and rework if
needed.

Regards,
Andrii

>
> Regards,
>
> [1] http://www.gossamer-threads.com/lists/xen/devel/361849
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 16:20:13 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 16:20:13 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEgxw-00005D-M8; Fri, 23 Jan 2015 16:20:12 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEgxv-000051-4h for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 16:20:11 +0000
Received: from [193.109.254.147] by server-13.bemta-14.messagelabs.com id
	0E/FF-15499-AB472C45; Fri, 23 Jan 2015 16:20:10 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-5.tower-27.messagelabs.com!1422030007!17940687!1
X-Originating-IP: [64.18.0.145]
X-SpamReason: No, hits=0.8 required=7.0 tests=BODY_RANDOM_LONG,
  RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 12782 invoked from network); 23 Jan 2015 16:20:09 -0000
Received: from exprod5og103.obsmtp.com (HELO exprod5og103.obsmtp.com)
	(64.18.0.145)
	by server-5.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 16:20:09 -0000
Received: from mail-qg0-f46.google.com ([209.85.192.46]) (using TLSv1) by
	exprod5ob103.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMJ0twab5wHJSBgGtdpZQJPH2Nz4m+Tm@postini.com;
	Fri, 23 Jan 2015 08:20:09 PST
Received: by mail-qg0-f46.google.com with SMTP id i50so6718997qgf.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 08:20:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=yMT0AMTPySFdx5sv/iKNoBjxnSb9DPbSWsNWenlC3CY=;
	b=P8asSo8Gnlvy9UkKCgNajM/jvVgR0mvRYDMLPe5xQTo9yY/2tJRo4FbLEC3nPWUNqJ
	byUladaZdnErw223dEqAbm502HpGLOM7EJyo9b2ii0nSQhk8DiJHIF6T2wXxHI6Hn8XN
	DkzABBvJH67qlnXTF5Y4Bneu8isibQt92h/Qs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=yMT0AMTPySFdx5sv/iKNoBjxnSb9DPbSWsNWenlC3CY=;
	b=HOk9a1SOYiJPhrrcIrWRsPrW8y49IHxzavxkXMlsBnSCINhZwPQ9VgjibPICplr+CP
	8SxydAdjkEidUXoBypyKZpQBptKBpPqJMqKSyfWEf2KtlD1ib661HjN785eL1NBZRshw
	JRekmLf535XvgRAL8AQebo/DfDYHT5YSldq2900e2mTp7RgvM0XNajNiI+9+tdx0UgRM
	DPlAfSnJuCI0h/4e5mmkSIhlsNZ/ftSH8N9/7VXUo0uDjEELnFQScVAJSuoTQn/nhacH
	F/I7Kjvy7LKnSEwBlKpLCIXS7SVpHypAJulLSBR2qu+uS2xEuZxsktFp23sC8faGtw1X
	6F2g==
X-Gm-Message-State: ALoCoQkcv5r711FQ15VupG5An4xYbsl31F7/XwKsz6zruSXdzRl4nrhxJxpSHKeX5QeWzzKyPZ+m80Uk9JB2PuHpnYbOxTRN198gN+/Buq6AsA7r+j4WO+8bdN/YC7CwOlb4ixUvZPvTRXDIxOlNtYHY0EfA+79GbCUNi9Q171KOdYi3f0e5N64=
X-Received: by 10.140.23.84 with SMTP id 78mr14423142qgo.93.1422030006668;
	Fri, 23 Jan 2015 08:20:06 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.23.84 with SMTP id 78mr14423109qgo.93.1422030006501;
	Fri, 23 Jan 2015 08:20:06 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 08:20:06 -0800 (PST)
In-Reply-To: <54C2713A.9080203@linaro.org>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
	<54C2713A.9080203@linaro.org>
Date: Fri, 23 Jan 2015 18:20:06 +0200
Message-ID: <CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On Fri, Jan 23, 2015 at 6:05 PM, Julien Grall <julien.grall@linaro.org> wrote:
> On 23/01/15 15:22, Andrii Tseglytskyi wrote:
>> OK. I'm sending you my local changes - 3 pieces of code.
>
> Few comments below.
>
>> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>> Date:   Tue Dec 30 18:38:55 2014 +0200
>>
>>     xen/arm: always use count number to release hardware irq
>>
>>     As soons as hardware interrupts are always mapped 1 to 1
>>     count number plus 32 is always equal to interrupt number which
>>     should be released. In current implementation if we don't receive
>>     any irq which number should be released existing p->irq number will
>>     be equal to 0, and interrupt will be not released properly.
>>     So, use lopp counter + 32 here.
>
> release_guest_irq is taking a vIRQ in parameter and not an IRQ.
>
>>     Change-Id: If89c928ff3ac5b83319d8b2b91439a7d598ed66d
>>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>
> See https://patches.linaro.org/42995/
>
>> commit 52db4eacef9c3ab050bba2548196bcaff657bc00
>> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>> Date:   Fri Aug 29 14:39:31 2014 +0300
>>
>>     xen/arm: allow reassigning of hw interrupts to guest domain
>>
>>     Patch allows reassigning of hardware interrupts from dom0 to
>>     other guest domain.
>>
>>     Change-Id: Ie85485830d87b07393cc7fe7e64de5fd5f65ebb8
>>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>>
>> diff --git a/xen/arch/arm/irq.c b/xen/arch/arm/irq.c
>> index ba33571..018a2f6 100644
>> --- a/xen/arch/arm/irq.c
>> +++ b/xen/arch/arm/irq.c
>> @@ -455,12 +455,24 @@ int route_irq_to_guest(struct domain *d,
>> unsigned int virq,
>>              goto out;
>>
>>          if ( test_bit(_IRQ_GUEST, &desc->status) )
>> -            dprintk(XENLOG_G_ERR, "IRQ %u is already used by domain %u\n",
>> -                    irq, ad->domain_id);
>> +        {
>> +            dprintk(XENLOG_G_DEBUG, "IRQ %u is reassigned from domain
>> %u to domain %u\n",
>> +                    irq, ad->domain_id, d->domain_id);
>> +
>> +            clear_bit(_IRQ_DISABLED, &desc->status);
>
> Didn't you mean set_bit? We should not be able to remove an IRQ from
> DOM0 if it's enabled. Very bad thing could happen, such as the IRQ still
> in LRs...
>
> In any case, it clearly wrong to modify &desc->status in this code
> because it's related to the interrupt status in the hardware.
>
>> commit 09f50d7864b249bc4d53cb68c5c409ce7e8560f3
>> Author: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>> Date:   Tue Nov 25 19:27:44 2014 +0200
>>
>>     xen/arm: map pv domain interrupts numbers one to one
>>
>>     Currently driver domain uses hardware interrupts. They
>>     are mapped as SPIs to guest domains. Patch allows to use
>>     one to one mappings between hardware interrupts numbers
>>     and SPIs numbers.
>>
>>     Change-Id: Ie5704c88979724b489cc33431bdf6a78ff03fe8c
>>     Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
>>
>> diff --git a/xen/arch/arm/vgic.c b/xen/arch/arm/vgic.c
>> index 653da31..e50e35d 100644
>> --- a/xen/arch/arm/vgic.c
>> +++ b/xen/arch/arm/vgic.c
>> @@ -66,7 +66,7 @@ int domain_vgic_init(struct domain *d)
>>
>>      d->arch.vgic.ctlr = 0;
>>
>> -    if ( is_hardware_domain(d) )
>> +    if ( is_hardware_domain(d) || is_pv_domain(d) )
>
> I don't understand this change. ARM only support one kind of domain.
>
> We should never use is_{pv,hvm}_domain on ARM as it doesn't have any
> meaning for this architecture.
>
> Give a look to my new patch series [1], for the interrupt parts it will
> really help you.

Julien,

This is why I didn't want to send you code right now. All these
changes work for us to have 1 to 1 IRQ mapping in driver domain and to
release them correctly in case of domain crash. Before get them
upstreamed I would prefer to think twice on each of them and rework if
needed.

Regards,
Andrii

>
> Regards,
>
> [1] http://www.gossamer-threads.com/lists/xen/devel/361849
>
> --
> Julien Grall



-- 

Andrii Tseglytskyi | Lead engineer
GlobalLogic
www.globallogic.com

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 22:32:28 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 22:32:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEmmB-0002ix-Hx; Fri, 23 Jan 2015 22:32:27 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <julien.grall@linaro.org>) id 1YEmmA-0002is-HM
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 22:32:26 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	3D/2C-10078-9FBC2C45; Fri, 23 Jan 2015 22:32:25 +0000
X-Env-Sender: julien.grall@linaro.org
X-Msg-Ref: server-5.tower-21.messagelabs.com!1422052344!11993958!1
X-Originating-IP: [209.85.214.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13122 invoked from network); 23 Jan 2015 22:32:25 -0000
Received: from mail-ob0-f174.google.com (HELO mail-ob0-f174.google.com)
	(209.85.214.174)
	by server-5.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jan 2015 22:32:25 -0000
Received: by mail-ob0-f174.google.com with SMTP id gq1so43993obb.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 14:32:23 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type;
	bh=UTqfXy151KLeWl9/Hu8gbuI6FzIWaKhNqLhX3rzFrbc=;
	b=PoIiZYYfUt989awSNe84hvsEJJOVURw1Cn4Ri/gFa7kFM68fdjw7s34Sgp+okhzGK5
	QvjkNBJ6ljE++5pN01blRLmuDv/T6SJmjww84Nz5KtpRtT0ng1Wk8FnRDIciz+CC9aE3
	+IupLPP9ucrnVDtL8Sr36feAasjEs0vLkU/KFmBwsNO33DRgtLMKmLl0tfTCqyvVBDg2
	KRo11sYvbtEh6sb56J3Z0Jfh+PV7ganJ+tamhITqjUdLlbOED55ESfChITCi6MxrSx2b
	R3hXSNiY6CnktL0iqE2mBfX1nw2WPcmPD8QJK0Yfu+N16AC0GlbrTeaVl2TOFY6izkAA
	A3pg==
X-Gm-Message-State: ALoCoQmvOTpF+L8okwgnSn+a+nGWECSR67zmQO1yiMHDBD2QRHq+6p6GvFU/0hsHbD6LUbvBsIEH
X-Received: by 10.202.65.66 with SMTP id o63mr5595666oia.66.1422052343879;
	Fri, 23 Jan 2015 14:32:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.202.218.137 with HTTP; Fri, 23 Jan 2015 14:31:51 -0800 (PST)
In-Reply-To: <CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
	<54C2713A.9080203@linaro.org>
	<CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
From: Julien Grall <julien.grall@linaro.org>
Date: Fri, 23 Jan 2015 22:31:51 +0000
Message-ID: <CAPnVf8zmWf9FsX1TdczXWvGdwie_D2FZGV=wKUhrH6-gvkhqXw@mail.gmail.com>
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On 23 January 2015 at 16:20, Andrii Tseglytskyi
<andrii.tseglytskyi@globallogic.com> wrote:
> This is why I didn't want to send you code right now. All these
> changes work for us to have 1 to 1 IRQ mapping in driver domain and to
> release them correctly in case of domain crash. Before get them
> upstreamed I would prefer to think twice on each of them and rework if
> needed.

I was mostly interesting to know if you have found new race condition in
the guest physical IRQ management. I spent the last couple of months fixing
multiple race condition in my series. I don't consider the v1 neither v2 safe to
use for interrupts passthrough.

For instance, your clear_bit(_IRQ_DISABLED, &desc->status) is too
workaround a latent bug in gic_remove_irq_from_guest().

Anyway, it's fine to use as long as it's used for a prototype.

Regards,

-- 
Julien Grall

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 22:32:28 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 22:32:28 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEmmB-0002ix-Hx; Fri, 23 Jan 2015 22:32:27 +0000
Received: from mail6.bemta4.messagelabs.com ([85.158.143.247])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <julien.grall@linaro.org>) id 1YEmmA-0002is-HM
	for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 22:32:26 +0000
Received: from [85.158.143.35] by server-2.bemta-4.messagelabs.com id
	3D/2C-10078-9FBC2C45; Fri, 23 Jan 2015 22:32:25 +0000
X-Env-Sender: julien.grall@linaro.org
X-Msg-Ref: server-5.tower-21.messagelabs.com!1422052344!11993958!1
X-Originating-IP: [209.85.214.174]
X-SpamReason: No, hits=0.3 required=7.0 tests=RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 13122 invoked from network); 23 Jan 2015 22:32:25 -0000
Received: from mail-ob0-f174.google.com (HELO mail-ob0-f174.google.com)
	(209.85.214.174)
	by server-5.tower-21.messagelabs.com with RC4-SHA encrypted SMTP;
	23 Jan 2015 22:32:25 -0000
Received: by mail-ob0-f174.google.com with SMTP id gq1so43993obb.5
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 14:32:23 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:cc:content-type;
	bh=UTqfXy151KLeWl9/Hu8gbuI6FzIWaKhNqLhX3rzFrbc=;
	b=PoIiZYYfUt989awSNe84hvsEJJOVURw1Cn4Ri/gFa7kFM68fdjw7s34Sgp+okhzGK5
	QvjkNBJ6ljE++5pN01blRLmuDv/T6SJmjww84Nz5KtpRtT0ng1Wk8FnRDIciz+CC9aE3
	+IupLPP9ucrnVDtL8Sr36feAasjEs0vLkU/KFmBwsNO33DRgtLMKmLl0tfTCqyvVBDg2
	KRo11sYvbtEh6sb56J3Z0Jfh+PV7ganJ+tamhITqjUdLlbOED55ESfChITCi6MxrSx2b
	R3hXSNiY6CnktL0iqE2mBfX1nw2WPcmPD8QJK0Yfu+N16AC0GlbrTeaVl2TOFY6izkAA
	A3pg==
X-Gm-Message-State: ALoCoQmvOTpF+L8okwgnSn+a+nGWECSR67zmQO1yiMHDBD2QRHq+6p6GvFU/0hsHbD6LUbvBsIEH
X-Received: by 10.202.65.66 with SMTP id o63mr5595666oia.66.1422052343879;
	Fri, 23 Jan 2015 14:32:23 -0800 (PST)
MIME-Version: 1.0
Received: by 10.202.218.137 with HTTP; Fri, 23 Jan 2015 14:31:51 -0800 (PST)
In-Reply-To: <CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
	<54C2713A.9080203@linaro.org>
	<CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
From: Julien Grall <julien.grall@linaro.org>
Date: Fri, 23 Jan 2015 22:31:51 +0000
Message-ID: <CAPnVf8zmWf9FsX1TdczXWvGdwie_D2FZGV=wKUhrH6-gvkhqXw@mail.gmail.com>
To: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>,
	embedded-pv-devel@lists.xenproject.org
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

On 23 January 2015 at 16:20, Andrii Tseglytskyi
<andrii.tseglytskyi@globallogic.com> wrote:
> This is why I didn't want to send you code right now. All these
> changes work for us to have 1 to 1 IRQ mapping in driver domain and to
> release them correctly in case of domain crash. Before get them
> upstreamed I would prefer to think twice on each of them and rework if
> needed.

I was mostly interesting to know if you have found new race condition in
the guest physical IRQ management. I spent the last couple of months fixing
multiple race condition in my series. I don't consider the v1 neither v2 safe to
use for interrupts passthrough.

For instance, your clear_bit(_IRQ_DISABLED, &desc->status) is too
workaround a latent bug in gic_remove_irq_from_guest().

Anyway, it's fine to use as long as it's used for a prototype.

Regards,

-- 
Julien Grall

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 22:57:15 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 22:57:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEnAB-0003r0-7U; Fri, 23 Jan 2015 22:57:15 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEnAA-0003qv-I1 for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 22:57:14 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	91/39-19044-9C1D2C45; Fri, 23 Jan 2015 22:57:13 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-6.tower-27.messagelabs.com!1422053830!22603165!1
X-Originating-IP: [64.18.0.184]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_10_20,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8393 invoked from network); 23 Jan 2015 22:57:12 -0000
Received: from exprod5og107.obsmtp.com (HELO exprod5og107.obsmtp.com)
	(64.18.0.184)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 22:57:12 -0000
Received: from mail-qc0-f182.google.com ([209.85.216.182]) (using TLSv1) by
	exprod5ob107.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMLRxjY78szkNKNUvg5b6EkQYi0rT7DJ@postini.com;
	Fri, 23 Jan 2015 14:57:12 PST
Received: by mail-qc0-f182.google.com with SMTP id l6so80091qcy.13
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 14:57:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=P2xgKj6jBAIUQT7ZUUOCVCW40uIC07IfPw4JHrrsCdQ=;
	b=am0YuxgwHVIxeUPTt5oTvZZfFVNFWAzeX4Ec3vd2QMx8gTGneNo9rXDl70Lt/NrAhS
	qcQzEDwVL+qyByY8+u+4UR6jlNx6hPTKUUpiWwLEJjZEHJG0iNqaBd/CQ/ueu1WL0f4r
	7pz43gaYXvlxyM+L3BfjYhmxw0WZxcEQf9Rnw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=P2xgKj6jBAIUQT7ZUUOCVCW40uIC07IfPw4JHrrsCdQ=;
	b=LLBm2YRp2hESOElcVDZRgfYZk0p/BqGdu3fRfuHI5fj9N/2bScy5Mqn4PFdNybIr1R
	vJQ00TVGo8EcrMm+0wCkluo64N/REOEebW+1hcGfXPlCEWpo3VC/NgPGMIWYBNhxL5jH
	teUp+Yk3FJx47yXYENL+ko4/jSEo5BygriYsjJXecDc/eu8cou3nyGqwTD17XPKvYkFU
	qVJKDW/yW7bkBLHBH5Iya8vIMcaX/ANr3jQRYnin1kPpeRm9gg02A7dqYe8k+cg8lJOv
	C0cULp/JgBRtlR8qK78VJlII7l9LWZVknHD86H7jK+ifhMxuAnI67JRkn9EpP4RbFSWJ
	gpxg==
X-Gm-Message-State: ALoCoQm2LqAVMQSbYDDFd6Wfx50nODAJhJzdwjoWsVvPFGDONB0hkgNDbuU9fU+hQWSaObHwTyfGN4ofkzZK7N/8Iww6r7qeij/Qi5K5UxG92BJ5bjUx1/XruOPhmXQC7L15UOsSF/Lz/PMJtCU98Zg5b4nbeA5ROGsUGhvGGe3CY9VBwulXzxA=
X-Received: by 10.140.109.164 with SMTP id l33mr18080007qgf.91.1422053829990; 
	Fri, 23 Jan 2015 14:57:09 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.109.164 with SMTP id l33mr18079978qgf.91.1422053829857; 
	Fri, 23 Jan 2015 14:57:09 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 14:57:09 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 14:57:09 -0800 (PST)
In-Reply-To: <CAPnVf8zmWf9FsX1TdczXWvGdwie_D2FZGV=wKUhrH6-gvkhqXw@mail.gmail.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
	<54C2713A.9080203@linaro.org>
	<CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
	<CAPnVf8zmWf9FsX1TdczXWvGdwie_D2FZGV=wKUhrH6-gvkhqXw@mail.gmail.com>
Date: Sat, 24 Jan 2015 00:57:09 +0200
Message-ID: <CAH_mUMOm8U51LE2TqN7gnQ1Xs=OzMBmULS6k5ConPG0FfzKjcQ@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5236400851466842085=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============5236400851466842085==
Content-Type: multipart/alternative; boundary=001a113a304e616ef8050d59b581

--001a113a304e616ef8050d59b581
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

24 =D1=81=D1=96=D1=87. 2015 00:32, =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=
=83=D0=B2=D0=B0=D1=87 "Julien Grall" <julien.grall@linaro.org>
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2:
>
> On 23 January 2015 at 16:20, Andrii Tseglytskyi
> <andrii.tseglytskyi@globallogic.com> wrote:
> > This is why I didn't want to send you code right now. All these
> > changes work for us to have 1 to 1 IRQ mapping in driver domain and to
> > release them correctly in case of domain crash. Before get them
> > upstreamed I would prefer to think twice on each of them and rework if
> > needed.
>
> I was mostly interesting to know if you have found new race condition in
> the guest physical IRQ management. I spent the last couple of months
fixing
> multiple race condition in my series. I don't consider the v1 neither v2
safe to
> use for interrupts passthrough.

Actually I did not find any new races. But I need to mention that I do not
use complete series - just first 3 or 4 patches. Not sure what version I am
using - might be v2. At some point of time I stopped rebasing to newer
revisions, because I realize a lot of differences between them, and I was
really out of time that days. Now I am planning to rebase to latest irq and
devtree passthrough series, and check do we need anything else to map irqs
1 to 1. Will comment in public list as soon as done.
The same with devtree passthrough - we decided not to use it in our CES
demo, but now need to check it again and comment if something needed.

>
> For instance, your clear_bit(_IRQ_DISABLED, &desc->status) is too
> workaround a latent bug in gic_remove_irq_from_guest().

Exactly )). Quick and dirty hack to force gic_remove_irq_from_guest() not
to return with error, but to remove irqs from dom0. Works pretty stable - I
forward about 30 irqs to driver domain and 4 irqs to Android. Verified with
domain restart. For sure - solution is not for upstream ))

Regards,
Andrii

>
> Anyway, it's fine to use as long as it's used for a prototype.
>
> Regards,
>
> --
> Julien Grall

--001a113a304e616ef8050d59b581
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
24 =D1=81=D1=96=D1=87. 2015 00:32, =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=
=83=D0=B2=D0=B0=D1=87 &quot;Julien Grall&quot; &lt;<a href=3D"mailto:julien=
.grall@linaro.org">julien.grall@linaro.org</a>&gt; =D0=BD=D0=B0=D0=BF=D0=B8=
=D1=81=D0=B0=D0=B2:<br>
&gt;<br>
&gt; On 23 January 2015 at 16:20, Andrii Tseglytskyi<br>
&gt; &lt;<a href=3D"mailto:andrii.tseglytskyi@globallogic.com">andrii.tsegl=
ytskyi@globallogic.com</a>&gt; wrote:<br>
&gt; &gt; This is why I didn&#39;t want to send you code right now. All the=
se<br>
&gt; &gt; changes work for us to have 1 to 1 IRQ mapping in driver domain a=
nd to<br>
&gt; &gt; release them correctly in case of domain crash. Before get them<b=
r>
&gt; &gt; upstreamed I would prefer to think twice on each of them and rewo=
rk if<br>
&gt; &gt; needed.<br>
&gt;<br>
&gt; I was mostly interesting to know if you have found new race condition =
in<br>
&gt; the guest physical IRQ management. I spent the last couple of months f=
ixing<br>
&gt; multiple race condition in my series. I don&#39;t consider the v1 neit=
her v2 safe to<br>
&gt; use for interrupts passthrough.</p>
<p dir=3D"ltr">Actually I did not find any new races. But I need to mention=
 that I do not use complete series - just first 3 or 4 patches. Not sure wh=
at version I am using - might be v2. At some point of time I stopped rebasi=
ng to newer revisions, because I realize a lot of differences between them,=
 and I was really out of time that days. Now I am planning to rebase to lat=
est irq and devtree passthrough series, and check do we need anything else =
to map irqs 1 to 1. Will comment in public list as soon as done.<br>
The same with devtree passthrough - we decided not to use it in our CES dem=
o, but now need to check it again and comment if something needed.</p>
<p dir=3D"ltr">&gt;<br>
&gt; For instance, your clear_bit(_IRQ_DISABLED, &amp;desc-&gt;status) is t=
oo<br>
&gt; workaround a latent bug in gic_remove_irq_from_guest().</p>
<p dir=3D"ltr">Exactly )). Quick and dirty hack to force gic_remove_irq_fro=
m_guest() not to return with error, but to remove irqs from dom0. Works pre=
tty stable - I forward about 30 irqs to driver domain and 4 irqs to Android=
. Verified with domain restart. For sure - solution is not for upstream ))<=
/p>
<p dir=3D"ltr">Regards,<br>
Andrii</p>
<p dir=3D"ltr">&gt;<br>
&gt; Anyway, it&#39;s fine to use as long as it&#39;s used for a prototype.=
<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; --<br>
&gt; Julien Grall<br>
</p>

--001a113a304e616ef8050d59b581--


--===============5236400851466842085==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============5236400851466842085==--


From embedded-pv-devel-bounces@lists.xenproject.org Fri Jan 23 22:57:15 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Fri, 23 Jan 2015 22:57:15 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YEnAB-0003r0-7U; Fri, 23 Jan 2015 22:57:15 +0000
Received: from mail6.bemta14.messagelabs.com ([193.109.254.103])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <andrii.tseglytskyi@globallogic.com>)
	id 1YEnAA-0003qv-I1 for embedded-pv-devel@lists.xenproject.org;
	Fri, 23 Jan 2015 22:57:14 +0000
Received: from [193.109.254.147] by server-1.bemta-14.messagelabs.com id
	91/39-19044-9C1D2C45; Fri, 23 Jan 2015 22:57:13 +0000
X-Env-Sender: andrii.tseglytskyi@globallogic.com
X-Msg-Ref: server-6.tower-27.messagelabs.com!1422053830!22603165!1
X-Originating-IP: [64.18.0.184]
X-SpamReason: No, hits=1.2 required=7.0 tests=HTML_10_20,HTML_MESSAGE,
	RCVD_BY_IP
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 8393 invoked from network); 23 Jan 2015 22:57:12 -0000
Received: from exprod5og107.obsmtp.com (HELO exprod5og107.obsmtp.com)
	(64.18.0.184)
	by server-6.tower-27.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 23 Jan 2015 22:57:12 -0000
Received: from mail-qc0-f182.google.com ([209.85.216.182]) (using TLSv1) by
	exprod5ob107.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMLRxjY78szkNKNUvg5b6EkQYi0rT7DJ@postini.com;
	Fri, 23 Jan 2015 14:57:12 PST
Received: by mail-qc0-f182.google.com with SMTP id l6so80091qcy.13
	for <embedded-pv-devel@lists.xenproject.org>;
	Fri, 23 Jan 2015 14:57:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type;
	bh=P2xgKj6jBAIUQT7ZUUOCVCW40uIC07IfPw4JHrrsCdQ=;
	b=am0YuxgwHVIxeUPTt5oTvZZfFVNFWAzeX4Ec3vd2QMx8gTGneNo9rXDl70Lt/NrAhS
	qcQzEDwVL+qyByY8+u+4UR6jlNx6hPTKUUpiWwLEJjZEHJG0iNqaBd/CQ/ueu1WL0f4r
	7pz43gaYXvlxyM+L3BfjYhmxw0WZxcEQf9Rnw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type;
	bh=P2xgKj6jBAIUQT7ZUUOCVCW40uIC07IfPw4JHrrsCdQ=;
	b=LLBm2YRp2hESOElcVDZRgfYZk0p/BqGdu3fRfuHI5fj9N/2bScy5Mqn4PFdNybIr1R
	vJQ00TVGo8EcrMm+0wCkluo64N/REOEebW+1hcGfXPlCEWpo3VC/NgPGMIWYBNhxL5jH
	teUp+Yk3FJx47yXYENL+ko4/jSEo5BygriYsjJXecDc/eu8cou3nyGqwTD17XPKvYkFU
	qVJKDW/yW7bkBLHBH5Iya8vIMcaX/ANr3jQRYnin1kPpeRm9gg02A7dqYe8k+cg8lJOv
	C0cULp/JgBRtlR8qK78VJlII7l9LWZVknHD86H7jK+ifhMxuAnI67JRkn9EpP4RbFSWJ
	gpxg==
X-Gm-Message-State: ALoCoQm2LqAVMQSbYDDFd6Wfx50nODAJhJzdwjoWsVvPFGDONB0hkgNDbuU9fU+hQWSaObHwTyfGN4ofkzZK7N/8Iww6r7qeij/Qi5K5UxG92BJ5bjUx1/XruOPhmXQC7L15UOsSF/Lz/PMJtCU98Zg5b4nbeA5ROGsUGhvGGe3CY9VBwulXzxA=
X-Received: by 10.140.109.164 with SMTP id l33mr18080007qgf.91.1422053829990; 
	Fri, 23 Jan 2015 14:57:09 -0800 (PST)
MIME-Version: 1.0
X-Received: by 10.140.109.164 with SMTP id l33mr18079978qgf.91.1422053829857; 
	Fri, 23 Jan 2015 14:57:09 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 14:57:09 -0800 (PST)
Received: by 10.140.242.150 with HTTP; Fri, 23 Jan 2015 14:57:09 -0800 (PST)
In-Reply-To: <CAPnVf8zmWf9FsX1TdczXWvGdwie_D2FZGV=wKUhrH6-gvkhqXw@mail.gmail.com>
References: <CAH_mUMOJYm13796vNgm5iw74_hM2d9nCf4VS3R4GniH02yEh_Q@mail.gmail.com>
	<54C25F32.4000106@citrix.com>
	<CAH_mUMP=bZqcsu-cFN2C_mdOGcZdkzwAM5StfVduASO1vH9v3A@mail.gmail.com>
	<54C264E7.6030905@linaro.org>
	<CAH_mUMN-dLLBFxzw0b8OD6brisdv+Bec0a1KZOwy4=qQTVPUrg@mail.gmail.com>
	<54C2713A.9080203@linaro.org>
	<CAH_mUMPauLQQ8aqcdNYGYFpAZo3aYdbt-2RCtmNEU-an=dUmqQ@mail.gmail.com>
	<CAPnVf8zmWf9FsX1TdczXWvGdwie_D2FZGV=wKUhrH6-gvkhqXw@mail.gmail.com>
Date: Sat, 24 Jan 2015 00:57:09 +0200
Message-ID: <CAH_mUMOm8U51LE2TqN7gnQ1Xs=OzMBmULS6k5ConPG0FfzKjcQ@mail.gmail.com>
From: Andrii Tseglytskyi <andrii.tseglytskyi@globallogic.com>
To: Julien Grall <julien.grall@linaro.org>
Cc: Lars Kurth <lars.kurth@citrix.com>,
	Artem Mygaiev <artem.mygaiev@globallogic.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	embedded-pv-devel@lists.xenproject.org,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Andrii Anisov <andrii.anisov@globallogic.com>,
	Oleksandr Tyshchenko <oleksandr.tyshchenko@globallogic.com>
Subject: Re: [Embedded-pv-devel] Driver domain under Xen
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5236400851466842085=="
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

--===============5236400851466842085==
Content-Type: multipart/alternative; boundary=001a113a304e616ef8050d59b581

--001a113a304e616ef8050d59b581
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

24 =D1=81=D1=96=D1=87. 2015 00:32, =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=
=83=D0=B2=D0=B0=D1=87 "Julien Grall" <julien.grall@linaro.org>
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=B2:
>
> On 23 January 2015 at 16:20, Andrii Tseglytskyi
> <andrii.tseglytskyi@globallogic.com> wrote:
> > This is why I didn't want to send you code right now. All these
> > changes work for us to have 1 to 1 IRQ mapping in driver domain and to
> > release them correctly in case of domain crash. Before get them
> > upstreamed I would prefer to think twice on each of them and rework if
> > needed.
>
> I was mostly interesting to know if you have found new race condition in
> the guest physical IRQ management. I spent the last couple of months
fixing
> multiple race condition in my series. I don't consider the v1 neither v2
safe to
> use for interrupts passthrough.

Actually I did not find any new races. But I need to mention that I do not
use complete series - just first 3 or 4 patches. Not sure what version I am
using - might be v2. At some point of time I stopped rebasing to newer
revisions, because I realize a lot of differences between them, and I was
really out of time that days. Now I am planning to rebase to latest irq and
devtree passthrough series, and check do we need anything else to map irqs
1 to 1. Will comment in public list as soon as done.
The same with devtree passthrough - we decided not to use it in our CES
demo, but now need to check it again and comment if something needed.

>
> For instance, your clear_bit(_IRQ_DISABLED, &desc->status) is too
> workaround a latent bug in gic_remove_irq_from_guest().

Exactly )). Quick and dirty hack to force gic_remove_irq_from_guest() not
to return with error, but to remove irqs from dom0. Works pretty stable - I
forward about 30 irqs to driver domain and 4 irqs to Android. Verified with
domain restart. For sure - solution is not for upstream ))

Regards,
Andrii

>
> Anyway, it's fine to use as long as it's used for a prototype.
>
> Regards,
>
> --
> Julien Grall

--001a113a304e616ef8050d59b581
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
24 =D1=81=D1=96=D1=87. 2015 00:32, =D0=BA=D0=BE=D1=80=D0=B8=D1=81=D1=82=D1=
=83=D0=B2=D0=B0=D1=87 &quot;Julien Grall&quot; &lt;<a href=3D"mailto:julien=
.grall@linaro.org">julien.grall@linaro.org</a>&gt; =D0=BD=D0=B0=D0=BF=D0=B8=
=D1=81=D0=B0=D0=B2:<br>
&gt;<br>
&gt; On 23 January 2015 at 16:20, Andrii Tseglytskyi<br>
&gt; &lt;<a href=3D"mailto:andrii.tseglytskyi@globallogic.com">andrii.tsegl=
ytskyi@globallogic.com</a>&gt; wrote:<br>
&gt; &gt; This is why I didn&#39;t want to send you code right now. All the=
se<br>
&gt; &gt; changes work for us to have 1 to 1 IRQ mapping in driver domain a=
nd to<br>
&gt; &gt; release them correctly in case of domain crash. Before get them<b=
r>
&gt; &gt; upstreamed I would prefer to think twice on each of them and rewo=
rk if<br>
&gt; &gt; needed.<br>
&gt;<br>
&gt; I was mostly interesting to know if you have found new race condition =
in<br>
&gt; the guest physical IRQ management. I spent the last couple of months f=
ixing<br>
&gt; multiple race condition in my series. I don&#39;t consider the v1 neit=
her v2 safe to<br>
&gt; use for interrupts passthrough.</p>
<p dir=3D"ltr">Actually I did not find any new races. But I need to mention=
 that I do not use complete series - just first 3 or 4 patches. Not sure wh=
at version I am using - might be v2. At some point of time I stopped rebasi=
ng to newer revisions, because I realize a lot of differences between them,=
 and I was really out of time that days. Now I am planning to rebase to lat=
est irq and devtree passthrough series, and check do we need anything else =
to map irqs 1 to 1. Will comment in public list as soon as done.<br>
The same with devtree passthrough - we decided not to use it in our CES dem=
o, but now need to check it again and comment if something needed.</p>
<p dir=3D"ltr">&gt;<br>
&gt; For instance, your clear_bit(_IRQ_DISABLED, &amp;desc-&gt;status) is t=
oo<br>
&gt; workaround a latent bug in gic_remove_irq_from_guest().</p>
<p dir=3D"ltr">Exactly )). Quick and dirty hack to force gic_remove_irq_fro=
m_guest() not to return with error, but to remove irqs from dom0. Works pre=
tty stable - I forward about 30 irqs to driver domain and 4 irqs to Android=
. Verified with domain restart. For sure - solution is not for upstream ))<=
/p>
<p dir=3D"ltr">Regards,<br>
Andrii</p>
<p dir=3D"ltr">&gt;<br>
&gt; Anyway, it&#39;s fine to use as long as it&#39;s used for a prototype.=
<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; --<br>
&gt; Julien Grall<br>
</p>

--001a113a304e616ef8050d59b581--


--===============5236400851466842085==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel
--===============5236400851466842085==--


From embedded-pv-devel-bounces@lists.xenproject.org Wed Jan 28 10:09:12 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 28 Jan 2015 10:09:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YGPYe-0004VU-Oo; Wed, 28 Jan 2015 10:09:12 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lars.kurth.xen@gmail.com>)
	id 1YGPYd-0004Uv-P3; Wed, 28 Jan 2015 10:09:11 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	1D/6C-03891-645B8C45; Wed, 28 Jan 2015 10:09:10 +0000
X-Env-Sender: lars.kurth.xen@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1422439749!22923805!1
X-Originating-IP: [74.125.82.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19104 invoked from network); 28 Jan 2015 10:09:10 -0000
Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com)
	(74.125.82.44)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	28 Jan 2015 10:09:10 -0000
Received: by mail-wg0-f44.google.com with SMTP id z12so19637210wgg.3;
	Wed, 28 Jan 2015 02:09:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:date:message-id
	:cc:to:mime-version;
	bh=yE9HIbxQQKPg+IdndQVKrLfqojZGFQCiIi7719Wsrj0=;
	b=aA70nW7lofEzr+jyu18aj6rmde9n/Ly5TqwEurLiyu/XnisWKJ/Lt1vM529XHLvfgf
	+uiUZtd4IT3UnDn6tyepvhuiylFdpyofz/4jTNQvYQB95ztp2Y8lsICJsNxDMlafjft8
	ZOUcxeEbZtQ/xHW00/OI1E0OPrRYloagiTRuENACuSy9ybghjxMNLW7fQx7Spv+d8ZOX
	gMnQWvGNSfGcYeQRmTTxSr2BzQpN8VUKJAivZtA/qRUmmff7jNV8tOODGqO30Zr8XY2f
	3niwD3rh/ObrKfb/tRp2ZMf8wYemYzHhtgEs3YnEBkPRLr7A50Me0J1TiS6MlLISw5n0
	tLxA==
X-Received: by 10.180.14.136 with SMTP id p8mr5474826wic.20.1422439749566;
	Wed, 28 Jan 2015 02:09:09 -0800 (PST)
Received: from [192.168.0.8] (97e5a0c2.skybroadband.com. [151.229.160.194])
	by mx.google.com with ESMTPSA id b10sm5373019wjr.32.2015.01.28.02.09.07
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 28 Jan 2015 02:09:08 -0800 (PST)
From: Lars Kurth <lars.kurth.xen@gmail.com>
Date: Wed, 28 Jan 2015 10:09:06 +0000
Message-Id: <851C4ADF-6236-443B-B7BA-5A7A68AC8819@gmail.com>
To: xen-devel <xen-devel@lists.xenproject.org>,
	Win-pv-devel@lists.xenproject.org,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	xen-api@lists.xenproject.org, embedded-pv-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Cc: advisory-board@lists.xenproject.org
Subject: [Embedded-pv-devel] Hackathon date options in Shanghai : please
	vote for a preference by Wed the 3rd of Feb
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Dear community members,

Intel has volunteered to host the next Xen Project Hackathon in Shanghai in China. We were originally looking at an April/May time-frame, but due to Easter holidays and the OpenStack summit in May, the following two date options look most sensible.

Remember, this is a two day event.

The options are:
* Option 1: 2 days from Tue April 21 to Fri 24th ... In this case I would suggest maybe the 22 - 23rd, giving people a chance to meet customers on Friday and/or do a bit of sightseeing. It also means that attendees from other Chinese cities will be able to get to their home cities more easily (Friday is always extremely busy)
* Option 2: April 28-29

Please let me know if you have any preferences and vote for option 1 or 2 (if you vote for option 1 let me know if you care about any specific dates)

Regards
Lars
_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Wed Jan 28 10:09:12 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Wed, 28 Jan 2015 10:09:12 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YGPYe-0004VU-Oo; Wed, 28 Jan 2015 10:09:12 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <lars.kurth.xen@gmail.com>)
	id 1YGPYd-0004Uv-P3; Wed, 28 Jan 2015 10:09:11 +0000
Received: from [85.158.137.68] by server-5.bemta-3.messagelabs.com id
	1D/6C-03891-645B8C45; Wed, 28 Jan 2015 10:09:10 +0000
X-Env-Sender: lars.kurth.xen@gmail.com
X-Msg-Ref: server-7.tower-31.messagelabs.com!1422439749!22923805!1
X-Originating-IP: [74.125.82.44]
X-SpamReason: No, hits=0.0 required=7.0 tests=
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 19104 invoked from network); 28 Jan 2015 10:09:10 -0000
Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com)
	(74.125.82.44)
	by server-7.tower-31.messagelabs.com with RC4-SHA encrypted SMTP;
	28 Jan 2015 10:09:10 -0000
Received: by mail-wg0-f44.google.com with SMTP id z12so19637210wgg.3;
	Wed, 28 Jan 2015 02:09:09 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:content-type:content-transfer-encoding:subject:date:message-id
	:cc:to:mime-version;
	bh=yE9HIbxQQKPg+IdndQVKrLfqojZGFQCiIi7719Wsrj0=;
	b=aA70nW7lofEzr+jyu18aj6rmde9n/Ly5TqwEurLiyu/XnisWKJ/Lt1vM529XHLvfgf
	+uiUZtd4IT3UnDn6tyepvhuiylFdpyofz/4jTNQvYQB95ztp2Y8lsICJsNxDMlafjft8
	ZOUcxeEbZtQ/xHW00/OI1E0OPrRYloagiTRuENACuSy9ybghjxMNLW7fQx7Spv+d8ZOX
	gMnQWvGNSfGcYeQRmTTxSr2BzQpN8VUKJAivZtA/qRUmmff7jNV8tOODGqO30Zr8XY2f
	3niwD3rh/ObrKfb/tRp2ZMf8wYemYzHhtgEs3YnEBkPRLr7A50Me0J1TiS6MlLISw5n0
	tLxA==
X-Received: by 10.180.14.136 with SMTP id p8mr5474826wic.20.1422439749566;
	Wed, 28 Jan 2015 02:09:09 -0800 (PST)
Received: from [192.168.0.8] (97e5a0c2.skybroadband.com. [151.229.160.194])
	by mx.google.com with ESMTPSA id b10sm5373019wjr.32.2015.01.28.02.09.07
	(version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
	Wed, 28 Jan 2015 02:09:08 -0800 (PST)
From: Lars Kurth <lars.kurth.xen@gmail.com>
Date: Wed, 28 Jan 2015 10:09:06 +0000
Message-Id: <851C4ADF-6236-443B-B7BA-5A7A68AC8819@gmail.com>
To: xen-devel <xen-devel@lists.xenproject.org>,
	Win-pv-devel@lists.xenproject.org,
	mirageos-devel <mirageos-devel@lists.xenproject.org>,
	xen-api@lists.xenproject.org, embedded-pv-devel@lists.xenproject.org
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
Cc: advisory-board@lists.xenproject.org
Subject: [Embedded-pv-devel] Hackathon date options in Shanghai : please
	vote for a preference by Wed the 3rd of Feb
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

Dear community members,

Intel has volunteered to host the next Xen Project Hackathon in Shanghai in China. We were originally looking at an April/May time-frame, but due to Easter holidays and the OpenStack summit in May, the following two date options look most sensible.

Remember, this is a two day event.

The options are:
* Option 1: 2 days from Tue April 21 to Fri 24th ... In this case I would suggest maybe the 22 - 23rd, giving people a chance to meet customers on Friday and/or do a bit of sightseeing. It also means that attendees from other Chinese cities will be able to get to their home cities more easily (Friday is always extremely busy)
* Option 2: April 28-29

Please let me know if you have any preferences and vote for option 1 or 2 (if you vote for option 1 let me know if you care about any specific dates)

Regards
Lars
_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Thu Jan 29 11:01:59 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 29 Jan 2015 11:01:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YGmrG-0006VI-QB; Thu, 29 Jan 2015 11:01:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <oleksandr.dmytryshyn@globallogic.com>)
	id 1YGmrE-0006PH-Bj for embedded-pv-devel@lists.xenproject.org;
	Thu, 29 Jan 2015 11:01:56 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	08/1D-02995-3231AC45; Thu, 29 Jan 2015 11:01:55 +0000
X-Env-Sender: oleksandr.dmytryshyn@globallogic.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1422529311!23207271!1
X-Originating-IP: [64.18.0.192]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1723 invoked from network); 29 Jan 2015 11:01:53 -0000
Received: from exprod5og122.obsmtp.com (HELO exprod5og122.obsmtp.com)
	(64.18.0.192)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 29 Jan 2015 11:01:53 -0000
Received: from mail-lb0-f178.google.com ([209.85.217.178]) (using TLSv1) by
	exprod5ob122.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMoTHj/S7cAaqXOJYDxeF5dYW1oJ/Ae8@postini.com;
	Thu, 29 Jan 2015 03:01:52 PST
Received: by mail-lb0-f178.google.com with SMTP id u10so26723738lbd.9
	for <embedded-pv-devel@lists.xenproject.org>;
	Thu, 29 Jan 2015 03:01:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=from:to:cc:subject:date:message-id;
	bh=5f/8iEOjT79NwphG+VYeh3Qg4CCgiYJR+MqHUeF0vH8=;
	b=R5RIJJZlJaBmiZKGBKUV9LSAuc6OEEmDH2yi+H6N29NKg+bd8II9dqRWCOHFC6rZ79
	x62lhNidSIMNVnhdeRJk8TRzi7IbqCFb/jkb2KnJDwxhsKspjSzFUoYRcvjgbbVU0qJs
	pNIaWJdgPE7vPJVX5+lYFGuO116+ECMCXzvyA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:from:to:cc:subject:date:message-id;
	bh=5f/8iEOjT79NwphG+VYeh3Qg4CCgiYJR+MqHUeF0vH8=;
	b=XO/0NlSMFvGyx7iRybc4PRODwJ4c+oNzeKivFl8GqjufU7omyCNAhPthU9zwLtgLYE
	S8FGmifL67tw9IZBhrllEHCWCGoUYwvdGrhBIEBVSzNjrVE5/LxofGPak3j3DPPWn3kU
	WBbb14dKgscDO910j7YI0+nr1FcREzRdFlHEplumOSJvd/abFmBIKawPK3JzFLcSPWjf
	IWW/vhvboj+JIlzoCVv8T1Zv8YVHhCEUbH2d7fQy/5FziYk3nqgDtD2VUxvo9t7YC6vo
	FEHM719+UEAeL4ygWAfqgFNfMfhhC1icFvaI7tkcLf2wLbI89SojJj97UA0qwGLVrAlZ
	r0qA==
X-Gm-Message-State: ALoCoQlBQVsz02qa9X3g28vDZ/VIYsTMKPqgYKcsxootzhAoNOic+unhiL8KLPdKY8TZxFVQkCmXMVMIMuUWFNa3RG1vQmg8vUXNGAWbq6WalGlGO/p2Ex64YiKwIYQl+0AMIW9p7zShagFq6xUh/CaJDmdjgljQiMdEz4YcCEfcHPO5zY7PT4k=
X-Received: by 10.112.140.196 with SMTP id ri4mr13396700lbb.55.1422529309181; 
	Thu, 29 Jan 2015 03:01:49 -0800 (PST)
X-Received: by 10.112.140.196 with SMTP id ri4mr13396671lbb.55.1422529308983; 
	Thu, 29 Jan 2015 03:01:48 -0800 (PST)
Received: from localhost ([195.238.92.241])
	by mx.google.com with ESMTPSA id eb8sm2044810lbb.28.2015.01.29.03.01.47
	(version=TLSv1.2 cipher=RC4-SHA bits=128/128);
	Thu, 29 Jan 2015 03:01:47 -0800 (PST)
From: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>
To: xen-devel@lists.xen.org,
	embedded-pv-devel@lists.xenproject.org
Date: Thu, 29 Jan 2015 13:01:45 +0200
Message-Id: <1422529305-11410-1-git-send-email-oleksandr.dmytryshyn@globallogic.com>
X-Mailer: git-send-email 1.9.1
Cc: Iurii Konovalenko <iurii.konovalenko@globallogic.com>,
	Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>, Tim Deegan <tim@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>, Jan Beulich <jbeulich@suse.com>
Subject: [Embedded-pv-devel] [PATCH v6] sndif: add ABI for Para-virtual sound
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

This is ABI for the two halves of a Para-virtual
sound driver to communicate with each to other.

Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>
Signed-off-by: Iurii Konovalenko <iurii.konovalenko@globallogic.com>
---
Changes since v1:
 * removed __attribute__((__packed__)) from all structures definitions

Changes since v2:
 * removed all C structures
 * added protocol description between frontend and backend drivers

Changes since v3:
 * fixed some typos
 * renamed XENSND_PCM_FORMAT_FLOAT_** to XENSND_PCM_FORMAT_F32_**
 * renamed XENSND_PCM_FORMAT_FLOAT64_** to XENSND_PCM_FORMAT_F64_**
 * added 'id' field to the request and response packets
 * renamed 'stream_id' to 'stream' in the packets description
 * renamed 'pcm_data_rate' to 'pcm_rate' in the packets description
 * renamed 'pcm_stream_type' to 'pcm_type' in the packets description
 * removed 'stream_id' field from the response packets

Changes since v4:
 * renamed 'stream_id' back to the to 'stream' in the packets description
 * moved 'id' field to the upper position in the response packets

Changes since v5:
 * Slightly reworked request/response packets
 * Size of the request/response packet is changed to the 64 bytes
 * Now parameters for the XENSND_OP_SET_VOLUME/XENSND_OP_GET_VOLUME are
   passed via shared page
 * Added parameters for the XenBus nodes (now each stream can be mapped
   to the defined sound device in the backend using those parameters)
 * Added XenBus state diagrams description

 xen/include/public/io/sndif.h | 421 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 421 insertions(+)
 create mode 100644 xen/include/public/io/sndif.h

diff --git a/xen/include/public/io/sndif.h b/xen/include/public/io/sndif.h
new file mode 100644
index 0000000..f2e080b
--- /dev/null
+++ b/xen/include/public/io/sndif.h
@@ -0,0 +1,421 @@
+/******************************************************************************
+ * sndif.h
+ *
+ * Unified sound-device I/O interface for Xen guest OSes.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Copyright (C) 2013-2015 GlobalLogic Inc.
+ */
+
+#ifndef __XEN_PUBLIC_IO_XENSND_H__
+#define __XEN_PUBLIC_IO_XENSND_H__
+
+/*
+ * Front->back notifications: When enqueuing a new request, sending a
+ * notification can be made conditional on req_event (i.e., the generic
+ * hold-off mechanism provided by the ring macros). Backends must set
+ * req_event appropriately (e.g., using RING_FINAL_CHECK_FOR_REQUESTS()).
+ *
+ * Back->front notifications: When enqueuing a new response, sending a
+ * notification can be made conditional on rsp_event (i.e., the generic
+ * hold-off mechanism provided by the ring macros). Frontends must set
+ * rsp_event appropriately (e.g., using RING_FINAL_CHECK_FOR_RESPONSES()).
+ */
+
+/*
+ * Feature and Parameter Negotiation
+ * =================================
+ * The two halves of a Para-virtual sound card driver utilize nodes within the
+ * XenStore to communicate capabilities and to negotiate operating parameters.
+ * This section enumerates these nodes which reside in the respective front and
+ * backend portions of the XenStore, following the XenBus convention.
+ *
+ * All data in the XenStore is stored as strings.  Nodes specifying numeric
+ * values are encoded in decimal.  Integer value ranges listed below are
+ * expressed as fixed sized integer types capable of storing the conversion
+ * of a properly formated node string, without loss of information.
+ *
+ *****************************************************************************
+ *                            Backend XenBus Nodes
+ *****************************************************************************
+ *
+ *------------------------- Backend Device parameters -------------------------
+ *
+ * devid
+ *      Values:         <uint32_t>
+ *
+ *      Index of the soundcard which will be created in the frontend. This
+ *      index is zero based.
+ *
+ * streams_cnt
+ *      Values:         <uint32_t>
+ *
+ *      Streams count for virtualized soundcard.
+ *
+ *----------------------------- Streams settings ------------------------------
+ *
+ * Every virtualized device has own set of the sound streams. Each stream
+ * parameter is with index "%u" and defined as 'stream%u_???'. Stream index is
+ * zero based and should be continuous in range from 0 to 'streams_cnt' - 1.
+ *
+ * stream%u_channels
+ *      Values:         <uint32_t>
+ *
+ *      The maximum amount of channels that can be supported by this stream.
+ *      Should be from 1 to XENSND_MAX_CHANNELS_PER_STREAM.
+ *
+ * stream%u_type
+ *      Values:         "p", "c"
+ *
+ *      Stream type: "p" - playback stream, "c" - capture stream.
+ *
+ * stream%u_bedev
+ *      Values:         string
+ *
+ *      Name of the sound device which is mapped to this stream by the backend.
+ *
+ * stream%u_devid
+ *      Values:         <uint32_t>
+ *
+ *      Index of the PCM instance which is created by the soundcard
+ *      in the frontend.
+ *
+ *****************************************************************************
+ *                            Frontend XenBus Nodes
+ *****************************************************************************
+ *
+ *----------------------- Request Transport Parameters -----------------------
+ *
+ * event-channel
+ *      Values:         <uint32_t>
+ *
+ *      The identifier of the Xen event channel used to signal activity
+ *      in the ring buffer.
+ *
+ * ring-ref
+ *      Values:         <uint32_t>
+ *
+ *      The Xen grant reference granting permission for the backend to map
+ *      the sole page in a single page sized ring buffer.
+ */
+
+/*
+ * STATE DIAGRAMS
+ *
+ *****************************************************************************
+ *                                   Startup                                 *
+ *****************************************************************************
+ *
+ * Tool stack creates front and back nodes with state XenbusStateInitialising.
+ *
+ * Front                                Back
+ * =================================    =====================================
+ * XenbusStateInitialising              XenbusStateInitialising
+ *  o Query virtual device               o Query backend device identification
+ *    properties.                          data.
+ *  o Setup OS device instance.          o Open and validate backend device.
+ *                                       o Publish backend features and
+ *                                         transport parameters.
+ *                                                      |
+ *                                                      |
+ *                                                      V
+ *                                      XenbusStateInitWait
+ *
+ * o Query backend features and
+ *   transport parameters.
+ * o Allocate and initialize the
+ *   request ring.
+ * o Publish transport parameters
+ *   that will be in effect during
+ *   this connection.
+ *              |
+ *              |
+ *              V
+ * XenbusStateInitialised
+ *
+ *                                       o Query frontend transport parameters.
+ *                                       o Connect to the request ring and
+ *                                         event channel.
+ *                                       o Publish backend device properties.
+ *                                                      |
+ *                                                      |
+ *                                                      V
+ *                                      XenbusStateConnected
+ *
+ *  o Query backend device properties.
+ *  o Finalize OS virtual device
+ *    instance.
+ *              |
+ *              |
+ *              V
+ * XenbusStateConnected
+ *
+ * Note: Drivers that do not support any optional features, or the negotiation
+ *       of transport parameters, can skip certain states in the state machine:
+ *
+ *       o A frontend may transition to XenbusStateInitialised without
+ *         waiting for the backend to enter XenbusStateInitWait.  In this
+ *         case, default transport parameters are in effect and any
+ *         transport parameters published by the frontend must contain
+ *         their default values.
+ *
+ *       o A backend may transition to XenbusStateInitialised, bypassing
+ *         XenbusStateInitWait, without waiting for the frontend to first
+ *         enter the XenbusStateInitialised state.  In this case, default
+ *         transport parameters are in effect and any transport parameters
+ *         published by the backend must contain their default values.
+ *
+ *       Drivers that support optional features and/or transport parameter
+ *       negotiation must tolerate these additional state transition paths.
+ *       In general this means performing the work of any skipped state
+ *       transition, if it has not already been performed, in addition to the
+ *       work associated with entry into the current state.
+ */
+
+/*
+ * PCM FORMATS
+ *
+ * XENSND_PCM_FORMAT_<format>[_<endian>]
+ *
+ * format: <S/U/F><bits> or <name>
+ *     S - signed, U - unsigned, F - float
+ *     bits - 8, 16, 24, 32
+ *     name - MU_LAW, GSM, etc.
+ *
+ * endian: <LE/BE>, may be absent
+ *     LE - Little endian, BE - Big endian
+ */
+#define XENSND_PCM_FORMAT_S8            0
+#define XENSND_PCM_FORMAT_U8            1
+#define XENSND_PCM_FORMAT_S16_LE        2
+#define XENSND_PCM_FORMAT_S16_BE        3
+#define XENSND_PCM_FORMAT_U16_LE        4
+#define XENSND_PCM_FORMAT_U16_BE        5
+#define XENSND_PCM_FORMAT_S24_LE        6
+#define XENSND_PCM_FORMAT_S24_BE        7
+#define XENSND_PCM_FORMAT_U24_LE        8
+#define XENSND_PCM_FORMAT_U24_BE        9
+#define XENSND_PCM_FORMAT_S32_LE        10
+#define XENSND_PCM_FORMAT_S32_BE        11
+#define XENSND_PCM_FORMAT_U32_LE        12
+#define XENSND_PCM_FORMAT_U32_BE        13
+#define XENSND_PCM_FORMAT_F32_LE        14 /* 4-byte float, IEEE-754 32-bit, */
+#define XENSND_PCM_FORMAT_F32_BE        15 /* range -1.0 to 1.0              */
+#define XENSND_PCM_FORMAT_F64_LE        16 /* 8-byte float, IEEE-754 64-bit, */
+#define XENSND_PCM_FORMAT_F64_BE        17 /* range -1.0 to 1.0              */
+#define XENSND_PCM_FORMAT_IEC958_SUBFRAME_LE 18
+#define XENSND_PCM_FORMAT_IEC958_SUBFRAME_BE 19
+#define XENSND_PCM_FORMAT_MU_LAW        20
+#define XENSND_PCM_FORMAT_A_LAW         21
+#define XENSND_PCM_FORMAT_IMA_ADPCM     22
+#define XENSND_PCM_FORMAT_MPEG          23
+#define XENSND_PCM_FORMAT_GSM           24
+#define XENSND_PCM_FORMAT_SPECIAL       31 /* Any other unspecified format */
+
+/*
+ * REQUEST CODES.
+ */
+#define XENSND_OP_OPEN                  0
+#define XENSND_OP_CLOSE                 1
+#define XENSND_OP_READ                  2
+#define XENSND_OP_WRITE                 3
+#define XENSND_OP_SET_VOLUME            4
+#define XENSND_OP_GET_VOLUME            5
+
+/*
+ * The maximum amount of shared pages which can be used in any request
+ * from the frontend driver to the backend driver
+ */
+#define XENSND_MAX_PAGES_PER_REQUEST    10
+
+/* The maximum amount of channels per virtualized stream */
+#define XENSND_MAX_CHANNELS_PER_STREAM  128
+
+/*
+ * STATUS RETURN CODES.
+ */
+ /* Operation failed for some unspecified reason (e. g. -EIO). */
+#define XENSND_RSP_ERROR                 (-1)
+ /* Operation completed successfully. */
+#define XENSND_RSP_OKAY                  0
+
+/*
+ * Description of the protocol between frontend and backend driver.
+ *
+ * The two halves of a Para-virtual sound driver communicates with
+ * each to other using an shared page and event channel.
+ * Shared page contains a ring with request/response packets.
+ * All fields within the packet are always in little-endian byte order.
+ * Almost all fields within the packet are unsigned except
+ * the field 'status' in the responses packets which is signed.
+ *
+ *
+ * All request packets have the same length (64 bytes)
+ *
+ * Request open - open an pcm stream for playback or capture:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |      stream_idx       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |      pcm_format       |      pcm_channels     |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       pcm_rate        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_OPEN
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ * pcm_format - XENSND_PCM_FORMAT_???
+ * pcm_channels - channels count in stream
+ * pcm_rate - stream data rate
+ *
+ *
+ * Request close - close an opened pcm stream:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |       stream_idx      |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_CLOSE
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ *
+ *
+ * Request read/write - used for read (for capture) or write (for playback):
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |       stream_idx      |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |         length        |         gref0         |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |         gref1         |         gref2         |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |          gref9        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_READ or XENSND_OP_WRITE
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ * length - read or write data length
+ * gref0 - gref9 - references to a grant entries for used pages in read/write
+ * request.
+ *
+ *
+ * Request set volume - set/get channels volume in stream:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |       stream_idx      |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |         gref          |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_SET_VOLUME or XENSND_OP_GET_VOLUME
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ * gref - references to a grant entry for page with the volume values
+ *
+ *
+ * Shared page for set/get volume:
+ *
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |        vol_ch0        |        vol_ch1        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |        vol_ch2        |        vol_ch3        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       vol_ch126       |       vol_ch127       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * vol_ch0 - vol_ch127 - volume for the channel from 0 to
+ *   XENSND_MAX_CHANNELS_PER_STREAM
+ * Please, note that only first 'stream%u_channels' are used in this command,
+ *   where 'stream%u_channels' is read from the XenStore (channels count for
+ *   stream with index '%u' which equals to 'stream_idx')
+ *
+ *
+ * All response packets have the same length (64 bytes)
+ *
+ * Response for all requests:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |         status        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       stream_idx      |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - copied from request
+ * stream_idx - copied from request
+ * operation - XENSND_OP_??? - copied from request
+ * status - XENSND_RSP_???
+ */
+
+struct xensnd_request {
+    uint8_t raw[64];
+};
+
+struct xensnd_response {
+    uint8_t raw[64];
+};
+
+DEFINE_RING_TYPES(xensnd, struct xensnd_request, struct xensnd_response);
+
+#endif /* __XEN_PUBLIC_IO_XENSND_H__ */
-- 
1.9.1


_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

From embedded-pv-devel-bounces@lists.xenproject.org Thu Jan 29 11:01:59 2015
Return-path: <embedded-pv-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 29 Jan 2015 11:01:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xen.org)
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <embedded-pv-devel-bounces@lists.xenproject.org>)
	id 1YGmrG-0006VI-QB; Thu, 29 Jan 2015 11:01:58 +0000
Received: from mail6.bemta3.messagelabs.com ([195.245.230.39])
	by lists.xen.org with esmtp (Exim 4.72)
	(envelope-from <oleksandr.dmytryshyn@globallogic.com>)
	id 1YGmrE-0006PH-Bj for embedded-pv-devel@lists.xenproject.org;
	Thu, 29 Jan 2015 11:01:56 +0000
Received: from [85.158.137.68] by server-9.bemta-3.messagelabs.com id
	08/1D-02995-3231AC45; Thu, 29 Jan 2015 11:01:55 +0000
X-Env-Sender: oleksandr.dmytryshyn@globallogic.com
X-Msg-Ref: server-2.tower-31.messagelabs.com!1422529311!23207271!1
X-Originating-IP: [64.18.0.192]
X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG
X-StarScan-Received: 
X-StarScan-Version: 6.12.5; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 1723 invoked from network); 29 Jan 2015 11:01:53 -0000
Received: from exprod5og122.obsmtp.com (HELO exprod5og122.obsmtp.com)
	(64.18.0.192)
	by server-2.tower-31.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 29 Jan 2015 11:01:53 -0000
Received: from mail-lb0-f178.google.com ([209.85.217.178]) (using TLSv1) by
	exprod5ob122.postini.com ([64.18.4.12]) with SMTP
	ID DSNKVMoTHj/S7cAaqXOJYDxeF5dYW1oJ/Ae8@postini.com;
	Thu, 29 Jan 2015 03:01:52 PST
Received: by mail-lb0-f178.google.com with SMTP id u10so26723738lbd.9
	for <embedded-pv-devel@lists.xenproject.org>;
	Thu, 29 Jan 2015 03:01:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=globallogic.com; s=google;
	h=from:to:cc:subject:date:message-id;
	bh=5f/8iEOjT79NwphG+VYeh3Qg4CCgiYJR+MqHUeF0vH8=;
	b=R5RIJJZlJaBmiZKGBKUV9LSAuc6OEEmDH2yi+H6N29NKg+bd8II9dqRWCOHFC6rZ79
	x62lhNidSIMNVnhdeRJk8TRzi7IbqCFb/jkb2KnJDwxhsKspjSzFUoYRcvjgbbVU0qJs
	pNIaWJdgPE7vPJVX5+lYFGuO116+ECMCXzvyA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=1e100.net; s=20130820;
	h=x-gm-message-state:from:to:cc:subject:date:message-id;
	bh=5f/8iEOjT79NwphG+VYeh3Qg4CCgiYJR+MqHUeF0vH8=;
	b=XO/0NlSMFvGyx7iRybc4PRODwJ4c+oNzeKivFl8GqjufU7omyCNAhPthU9zwLtgLYE
	S8FGmifL67tw9IZBhrllEHCWCGoUYwvdGrhBIEBVSzNjrVE5/LxofGPak3j3DPPWn3kU
	WBbb14dKgscDO910j7YI0+nr1FcREzRdFlHEplumOSJvd/abFmBIKawPK3JzFLcSPWjf
	IWW/vhvboj+JIlzoCVv8T1Zv8YVHhCEUbH2d7fQy/5FziYk3nqgDtD2VUxvo9t7YC6vo
	FEHM719+UEAeL4ygWAfqgFNfMfhhC1icFvaI7tkcLf2wLbI89SojJj97UA0qwGLVrAlZ
	r0qA==
X-Gm-Message-State: ALoCoQlBQVsz02qa9X3g28vDZ/VIYsTMKPqgYKcsxootzhAoNOic+unhiL8KLPdKY8TZxFVQkCmXMVMIMuUWFNa3RG1vQmg8vUXNGAWbq6WalGlGO/p2Ex64YiKwIYQl+0AMIW9p7zShagFq6xUh/CaJDmdjgljQiMdEz4YcCEfcHPO5zY7PT4k=
X-Received: by 10.112.140.196 with SMTP id ri4mr13396700lbb.55.1422529309181; 
	Thu, 29 Jan 2015 03:01:49 -0800 (PST)
X-Received: by 10.112.140.196 with SMTP id ri4mr13396671lbb.55.1422529308983; 
	Thu, 29 Jan 2015 03:01:48 -0800 (PST)
Received: from localhost ([195.238.92.241])
	by mx.google.com with ESMTPSA id eb8sm2044810lbb.28.2015.01.29.03.01.47
	(version=TLSv1.2 cipher=RC4-SHA bits=128/128);
	Thu, 29 Jan 2015 03:01:47 -0800 (PST)
From: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>
To: xen-devel@lists.xen.org,
	embedded-pv-devel@lists.xenproject.org
Date: Thu, 29 Jan 2015 13:01:45 +0200
Message-Id: <1422529305-11410-1-git-send-email-oleksandr.dmytryshyn@globallogic.com>
X-Mailer: git-send-email 1.9.1
Cc: Iurii Konovalenko <iurii.konovalenko@globallogic.com>,
	Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>, Tim Deegan <tim@xen.org>,
	Ian Jackson <ian.jackson@eu.citrix.com>, Jan Beulich <jbeulich@suse.com>
Subject: [Embedded-pv-devel] [PATCH v6] sndif: add ABI for Para-virtual sound
X-BeenThere: embedded-pv-devel@lists.xenproject.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <embedded-pv-devel.lists.xenproject.org>
List-Unsubscribe: <http://lists.xenproject.org/cgi-bin/mailman/options/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:embedded-pv-devel@lists.xenproject.org>
List-Help: <mailto:embedded-pv-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel>,
	<mailto:embedded-pv-devel-request@lists.xenproject.org?subject=subscribe>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: embedded-pv-devel-bounces@lists.xenproject.org
Errors-To: embedded-pv-devel-bounces@lists.xenproject.org

This is ABI for the two halves of a Para-virtual
sound driver to communicate with each to other.

Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>
Signed-off-by: Iurii Konovalenko <iurii.konovalenko@globallogic.com>
---
Changes since v1:
 * removed __attribute__((__packed__)) from all structures definitions

Changes since v2:
 * removed all C structures
 * added protocol description between frontend and backend drivers

Changes since v3:
 * fixed some typos
 * renamed XENSND_PCM_FORMAT_FLOAT_** to XENSND_PCM_FORMAT_F32_**
 * renamed XENSND_PCM_FORMAT_FLOAT64_** to XENSND_PCM_FORMAT_F64_**
 * added 'id' field to the request and response packets
 * renamed 'stream_id' to 'stream' in the packets description
 * renamed 'pcm_data_rate' to 'pcm_rate' in the packets description
 * renamed 'pcm_stream_type' to 'pcm_type' in the packets description
 * removed 'stream_id' field from the response packets

Changes since v4:
 * renamed 'stream_id' back to the to 'stream' in the packets description
 * moved 'id' field to the upper position in the response packets

Changes since v5:
 * Slightly reworked request/response packets
 * Size of the request/response packet is changed to the 64 bytes
 * Now parameters for the XENSND_OP_SET_VOLUME/XENSND_OP_GET_VOLUME are
   passed via shared page
 * Added parameters for the XenBus nodes (now each stream can be mapped
   to the defined sound device in the backend using those parameters)
 * Added XenBus state diagrams description

 xen/include/public/io/sndif.h | 421 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 421 insertions(+)
 create mode 100644 xen/include/public/io/sndif.h

diff --git a/xen/include/public/io/sndif.h b/xen/include/public/io/sndif.h
new file mode 100644
index 0000000..f2e080b
--- /dev/null
+++ b/xen/include/public/io/sndif.h
@@ -0,0 +1,421 @@
+/******************************************************************************
+ * sndif.h
+ *
+ * Unified sound-device I/O interface for Xen guest OSes.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ *
+ * Copyright (C) 2013-2015 GlobalLogic Inc.
+ */
+
+#ifndef __XEN_PUBLIC_IO_XENSND_H__
+#define __XEN_PUBLIC_IO_XENSND_H__
+
+/*
+ * Front->back notifications: When enqueuing a new request, sending a
+ * notification can be made conditional on req_event (i.e., the generic
+ * hold-off mechanism provided by the ring macros). Backends must set
+ * req_event appropriately (e.g., using RING_FINAL_CHECK_FOR_REQUESTS()).
+ *
+ * Back->front notifications: When enqueuing a new response, sending a
+ * notification can be made conditional on rsp_event (i.e., the generic
+ * hold-off mechanism provided by the ring macros). Frontends must set
+ * rsp_event appropriately (e.g., using RING_FINAL_CHECK_FOR_RESPONSES()).
+ */
+
+/*
+ * Feature and Parameter Negotiation
+ * =================================
+ * The two halves of a Para-virtual sound card driver utilize nodes within the
+ * XenStore to communicate capabilities and to negotiate operating parameters.
+ * This section enumerates these nodes which reside in the respective front and
+ * backend portions of the XenStore, following the XenBus convention.
+ *
+ * All data in the XenStore is stored as strings.  Nodes specifying numeric
+ * values are encoded in decimal.  Integer value ranges listed below are
+ * expressed as fixed sized integer types capable of storing the conversion
+ * of a properly formated node string, without loss of information.
+ *
+ *****************************************************************************
+ *                            Backend XenBus Nodes
+ *****************************************************************************
+ *
+ *------------------------- Backend Device parameters -------------------------
+ *
+ * devid
+ *      Values:         <uint32_t>
+ *
+ *      Index of the soundcard which will be created in the frontend. This
+ *      index is zero based.
+ *
+ * streams_cnt
+ *      Values:         <uint32_t>
+ *
+ *      Streams count for virtualized soundcard.
+ *
+ *----------------------------- Streams settings ------------------------------
+ *
+ * Every virtualized device has own set of the sound streams. Each stream
+ * parameter is with index "%u" and defined as 'stream%u_???'. Stream index is
+ * zero based and should be continuous in range from 0 to 'streams_cnt' - 1.
+ *
+ * stream%u_channels
+ *      Values:         <uint32_t>
+ *
+ *      The maximum amount of channels that can be supported by this stream.
+ *      Should be from 1 to XENSND_MAX_CHANNELS_PER_STREAM.
+ *
+ * stream%u_type
+ *      Values:         "p", "c"
+ *
+ *      Stream type: "p" - playback stream, "c" - capture stream.
+ *
+ * stream%u_bedev
+ *      Values:         string
+ *
+ *      Name of the sound device which is mapped to this stream by the backend.
+ *
+ * stream%u_devid
+ *      Values:         <uint32_t>
+ *
+ *      Index of the PCM instance which is created by the soundcard
+ *      in the frontend.
+ *
+ *****************************************************************************
+ *                            Frontend XenBus Nodes
+ *****************************************************************************
+ *
+ *----------------------- Request Transport Parameters -----------------------
+ *
+ * event-channel
+ *      Values:         <uint32_t>
+ *
+ *      The identifier of the Xen event channel used to signal activity
+ *      in the ring buffer.
+ *
+ * ring-ref
+ *      Values:         <uint32_t>
+ *
+ *      The Xen grant reference granting permission for the backend to map
+ *      the sole page in a single page sized ring buffer.
+ */
+
+/*
+ * STATE DIAGRAMS
+ *
+ *****************************************************************************
+ *                                   Startup                                 *
+ *****************************************************************************
+ *
+ * Tool stack creates front and back nodes with state XenbusStateInitialising.
+ *
+ * Front                                Back
+ * =================================    =====================================
+ * XenbusStateInitialising              XenbusStateInitialising
+ *  o Query virtual device               o Query backend device identification
+ *    properties.                          data.
+ *  o Setup OS device instance.          o Open and validate backend device.
+ *                                       o Publish backend features and
+ *                                         transport parameters.
+ *                                                      |
+ *                                                      |
+ *                                                      V
+ *                                      XenbusStateInitWait
+ *
+ * o Query backend features and
+ *   transport parameters.
+ * o Allocate and initialize the
+ *   request ring.
+ * o Publish transport parameters
+ *   that will be in effect during
+ *   this connection.
+ *              |
+ *              |
+ *              V
+ * XenbusStateInitialised
+ *
+ *                                       o Query frontend transport parameters.
+ *                                       o Connect to the request ring and
+ *                                         event channel.
+ *                                       o Publish backend device properties.
+ *                                                      |
+ *                                                      |
+ *                                                      V
+ *                                      XenbusStateConnected
+ *
+ *  o Query backend device properties.
+ *  o Finalize OS virtual device
+ *    instance.
+ *              |
+ *              |
+ *              V
+ * XenbusStateConnected
+ *
+ * Note: Drivers that do not support any optional features, or the negotiation
+ *       of transport parameters, can skip certain states in the state machine:
+ *
+ *       o A frontend may transition to XenbusStateInitialised without
+ *         waiting for the backend to enter XenbusStateInitWait.  In this
+ *         case, default transport parameters are in effect and any
+ *         transport parameters published by the frontend must contain
+ *         their default values.
+ *
+ *       o A backend may transition to XenbusStateInitialised, bypassing
+ *         XenbusStateInitWait, without waiting for the frontend to first
+ *         enter the XenbusStateInitialised state.  In this case, default
+ *         transport parameters are in effect and any transport parameters
+ *         published by the backend must contain their default values.
+ *
+ *       Drivers that support optional features and/or transport parameter
+ *       negotiation must tolerate these additional state transition paths.
+ *       In general this means performing the work of any skipped state
+ *       transition, if it has not already been performed, in addition to the
+ *       work associated with entry into the current state.
+ */
+
+/*
+ * PCM FORMATS
+ *
+ * XENSND_PCM_FORMAT_<format>[_<endian>]
+ *
+ * format: <S/U/F><bits> or <name>
+ *     S - signed, U - unsigned, F - float
+ *     bits - 8, 16, 24, 32
+ *     name - MU_LAW, GSM, etc.
+ *
+ * endian: <LE/BE>, may be absent
+ *     LE - Little endian, BE - Big endian
+ */
+#define XENSND_PCM_FORMAT_S8            0
+#define XENSND_PCM_FORMAT_U8            1
+#define XENSND_PCM_FORMAT_S16_LE        2
+#define XENSND_PCM_FORMAT_S16_BE        3
+#define XENSND_PCM_FORMAT_U16_LE        4
+#define XENSND_PCM_FORMAT_U16_BE        5
+#define XENSND_PCM_FORMAT_S24_LE        6
+#define XENSND_PCM_FORMAT_S24_BE        7
+#define XENSND_PCM_FORMAT_U24_LE        8
+#define XENSND_PCM_FORMAT_U24_BE        9
+#define XENSND_PCM_FORMAT_S32_LE        10
+#define XENSND_PCM_FORMAT_S32_BE        11
+#define XENSND_PCM_FORMAT_U32_LE        12
+#define XENSND_PCM_FORMAT_U32_BE        13
+#define XENSND_PCM_FORMAT_F32_LE        14 /* 4-byte float, IEEE-754 32-bit, */
+#define XENSND_PCM_FORMAT_F32_BE        15 /* range -1.0 to 1.0              */
+#define XENSND_PCM_FORMAT_F64_LE        16 /* 8-byte float, IEEE-754 64-bit, */
+#define XENSND_PCM_FORMAT_F64_BE        17 /* range -1.0 to 1.0              */
+#define XENSND_PCM_FORMAT_IEC958_SUBFRAME_LE 18
+#define XENSND_PCM_FORMAT_IEC958_SUBFRAME_BE 19
+#define XENSND_PCM_FORMAT_MU_LAW        20
+#define XENSND_PCM_FORMAT_A_LAW         21
+#define XENSND_PCM_FORMAT_IMA_ADPCM     22
+#define XENSND_PCM_FORMAT_MPEG          23
+#define XENSND_PCM_FORMAT_GSM           24
+#define XENSND_PCM_FORMAT_SPECIAL       31 /* Any other unspecified format */
+
+/*
+ * REQUEST CODES.
+ */
+#define XENSND_OP_OPEN                  0
+#define XENSND_OP_CLOSE                 1
+#define XENSND_OP_READ                  2
+#define XENSND_OP_WRITE                 3
+#define XENSND_OP_SET_VOLUME            4
+#define XENSND_OP_GET_VOLUME            5
+
+/*
+ * The maximum amount of shared pages which can be used in any request
+ * from the frontend driver to the backend driver
+ */
+#define XENSND_MAX_PAGES_PER_REQUEST    10
+
+/* The maximum amount of channels per virtualized stream */
+#define XENSND_MAX_CHANNELS_PER_STREAM  128
+
+/*
+ * STATUS RETURN CODES.
+ */
+ /* Operation failed for some unspecified reason (e. g. -EIO). */
+#define XENSND_RSP_ERROR                 (-1)
+ /* Operation completed successfully. */
+#define XENSND_RSP_OKAY                  0
+
+/*
+ * Description of the protocol between frontend and backend driver.
+ *
+ * The two halves of a Para-virtual sound driver communicates with
+ * each to other using an shared page and event channel.
+ * Shared page contains a ring with request/response packets.
+ * All fields within the packet are always in little-endian byte order.
+ * Almost all fields within the packet are unsigned except
+ * the field 'status' in the responses packets which is signed.
+ *
+ *
+ * All request packets have the same length (64 bytes)
+ *
+ * Request open - open an pcm stream for playback or capture:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |      stream_idx       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |      pcm_format       |      pcm_channels     |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       pcm_rate        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_OPEN
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ * pcm_format - XENSND_PCM_FORMAT_???
+ * pcm_channels - channels count in stream
+ * pcm_rate - stream data rate
+ *
+ *
+ * Request close - close an opened pcm stream:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |       stream_idx      |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_CLOSE
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ *
+ *
+ * Request read/write - used for read (for capture) or write (for playback):
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |       stream_idx      |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |         length        |         gref0         |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |         gref1         |         gref2         |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |          gref9        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_READ or XENSND_OP_WRITE
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ * length - read or write data length
+ * gref0 - gref9 - references to a grant entries for used pages in read/write
+ * request.
+ *
+ *
+ * Request set volume - set/get channels volume in stream:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |       stream_idx      |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |         gref          |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - private guest value, echoed in resp
+ * operation - XENSND_OP_SET_VOLUME or XENSND_OP_GET_VOLUME
+ * stream_idx - index of the stream (from 0 to 'streams_cnt' - 1.
+ *   'streams_cnt' is read from the XenStore)
+ * gref - references to a grant entry for page with the volume values
+ *
+ *
+ * Shared page for set/get volume:
+ *
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |        vol_ch0        |        vol_ch1        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |        vol_ch2        |        vol_ch3        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       vol_ch126       |       vol_ch127       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * vol_ch0 - vol_ch127 - volume for the channel from 0 to
+ *   XENSND_MAX_CHANNELS_PER_STREAM
+ * Please, note that only first 'stream%u_channels' are used in this command,
+ *   where 'stream%u_channels' is read from the XenStore (channels count for
+ *   stream with index '%u' which equals to 'stream_idx')
+ *
+ *
+ * All response packets have the same length (64 bytes)
+ *
+ * Response for all requests:
+ *     0    1     2     3     4     5     6     7  octet
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |                      id                       |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       operation       |         status        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       stream_idx      |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * +/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/+
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ * |       reserved        |       reserved        |
+ * +-----+-----+-----+-----+-----+-----+-----+-----+
+ *
+ * id - copied from request
+ * stream_idx - copied from request
+ * operation - XENSND_OP_??? - copied from request
+ * status - XENSND_RSP_???
+ */
+
+struct xensnd_request {
+    uint8_t raw[64];
+};
+
+struct xensnd_response {
+    uint8_t raw[64];
+};
+
+DEFINE_RING_TYPES(xensnd, struct xensnd_request, struct xensnd_response);
+
+#endif /* __XEN_PUBLIC_IO_XENSND_H__ */
-- 
1.9.1


_______________________________________________
Embedded-pv-devel mailing list
Embedded-pv-devel@lists.xenproject.org
http://lists.xenproject.org/cgi-bin/mailman/listinfo/embedded-pv-devel

