From mboxrd@z Thu Jan 1 00:00:00 1970 From: bharat gohil Subject: Re: ARM64:Porting xen to new hardware Date: Fri, 29 Sep 2017 13:45:34 +0530 Message-ID: References: <20170918144419.GA892@localhost.localdomain> <20170922134312.GF26248@char.us.oracle.com> <24ba9a54-c166-b1f4-f120-b0b1a57762f8@epam.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4037620296039475982==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Oleksandr Tyshchenko Cc: Julien Grall , Stefano Stabellini , Andrii Anisov , Xen Devel List-Id: xen-devel@lists.xenproject.org --===============4037620296039475982== Content-Type: multipart/alternative; boundary="94eb2c1ce80615f3b4055a4fa135" --94eb2c1ce80615f3b4055a4fa135 Content-Type: text/plain; charset="UTF-8" Hello The patch didn't work in my case. Thanks, Bharat On Mon, Sep 25, 2017 at 11:38 PM, Oleksandr Tyshchenko wrote: > Hi, Bharat > > On Mon, Sep 25, 2017 at 8:40 PM, bharat gohil wrote: > > > > > > On 25-Sep-2017 6:59 PM, "Julien Grall" wrote: > > > > Hi, > > > > I am using same setup. > > It just my guess because no response to key ctrl+a input. > > > > SoC has 8250 compitible UART.I will print character in receive handler of > > UART in Xen. Do we have any other hook test this? > > Maybe you got stuck in the UART interrupt handler. Can you recheck? > > If so, can you take a look at the patch which has been posted recently: > https://patchwork.kernel.org/patch/9959003/ > > > > > One more thing, is big-little supported in xen? > > How Xen distribute load among the CPUs or Xen only run in context of the > > guest only? > > In my setup Dom0 use energy aware scheduler. > > > > Thanks, > > Bharat > > > > > > On 09/25/2017 01:53 PM, bharat gohil wrote: > >> > >> Hello Andrii, > >> > >> I tried but no success. > >> It looks, Xen is not running. > > > > > > I am a bit confused... on one of the previous e-mail you posted log from > > Xen: > > > > (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch > input to > > Xen) > > > > (XEN) Freed 272kB init memory. > > > > So unless you have a completely new setup, Xen is definitely running. > > However, what may happen is the serial driver in Xen does not receive > input > > characters. > > > > One of the first test would be to check whether the driver effectively > > receive characters. > > > > Cheers, > > > >> > >> Thanks, > >> Bharat > >> > >> > >> On Mon, Sep 25, 2017 at 5:45 PM, Andrii Anisov >> > wrote: > >> > >> Hello Bharat, > >> > >> > >> On 25.09.17 11:42, bharat gohil wrote: > >> > >> Hello Wilk, > >> > >> I had try Ctrl+a three times and 'd' but no dump on the serial > >> console. > >> > >> Its a way to switch to XEN debug console. In case you are using > >> minicom, you should press Ctrl+A six times, then you will see the > >> line like following: > >> (XEN) *** Serial input -> Xen (type 'CTRL-a' three times to > >> switch input to DOM0) > >> > >> Then you can press 'h' for seeing installed key handlers. > >> > >> But all of this requires XEN to be running somehow. > >> > >> -- > >> *Andrii Anisov* > >> > >> > >> > >> > >> > >> -- > >> Regards, > >> Bharat Gohil > >> Sr.Software Engineer > >> bharat.gohil@harman.com > >> +919427054633 > > > > > > -- > > Julien Grall > > > > > > > > -- > Regards, > > Oleksandr Tyshchenko > -- Regards, Bharat Gohil Sr.Software Engineer bharat.gohil@harman.com +919427054633 --94eb2c1ce80615f3b4055a4fa135 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello=C2=A0

The patch didn't work i= n my case.

Thanks,
Bharat

On Mon, Sep 25, 2017= at 11:38 PM, Oleksandr Tyshchenko <olekstysh@gmail.com> w= rote:
Hi, Bharat

On Mon, Sep 25, 2017 at 8:40 PM, bharat gohil <ghl.bhrt@gmail.com> wrote:
>
>
> On 25-Sep-2017 6:59 PM, "Julien Grall" <julien.grall@arm.com> wrote:
>
> Hi,
>
> I am using same setup.
> It just my guess because no response to key ctrl+a input.
>
> SoC has 8250 compitible UART.I will print character in receive handler= of
> UART in Xen. Do we have any other hook test this?

Maybe you got stuck in the UART interrupt handler. Can you recheck?<= br>
If so, can you take a look at the patch which has been posted recently:
https://patchwork.kernel.org/patch/9959003/

>
> One more thing, is big-little supported in xen?
> How Xen distribute load among the CPUs or Xen only run in context of t= he
> guest only?
> In my setup Dom0 use energy aware scheduler.
>
> Thanks,
> Bharat
>
>
> On 09/25/2017 01:53 PM, bharat gohil wrote:
>>
>> Hello Andrii,
>>
>> I tried but no success.
>> It looks, Xen is not running.
>
>
> I am a bit confused... on one of the previous e-mail you posted log fr= om
> Xen:
>
> (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times t= o switch input to
> Xen)
>
> (XEN) Freed 272kB init memory.
>
> So unless you have a completely new setup, Xen is definitely running.<= br> > However, what may happen is the serial driver in Xen does not receive = input
> characters.
>
> One of the first test would be to check whether the driver effectively=
> receive characters.
>
> Cheers,
>
>>
>> Thanks,
>> Bharat
>>
>>
>> On Mon, Sep 25, 2017 at 5:45 PM, Andrii Anisov <andrii_anisov@epam.com
>> <mailto:andrii_anisov= @epam.com>> wrote:
>>
>>=C2=A0 =C2=A0 =C2=A0Hello Bharat,
>>
>>
>>=C2=A0 =C2=A0 =C2=A0On 25.09.17 11:42, bharat gohil wrote:
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Hello Wilk,
>>
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I had try Ctrl+a three times and = 'd' but no dump on the serial
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0console.
>>
>>=C2=A0 =C2=A0 =C2=A0Its a way to switch to XEN debug console. In ca= se you are using
>>=C2=A0 =C2=A0 =C2=A0minicom, you should press Ctrl+A six times, the= n you will see the
>>=C2=A0 =C2=A0 =C2=A0line like following:
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (XEN) *** Serial input -> Xen= (type 'CTRL-a' three times to
>>=C2=A0 =C2=A0 =C2=A0switch input to DOM0)
>>
>>=C2=A0 =C2=A0 =C2=A0Then you can press 'h' for seeing insta= lled key handlers.
>>
>>=C2=A0 =C2=A0 =C2=A0But all of this requires XEN to be running some= how.
>>
>>=C2=A0 =C2=A0 =C2=A0--
>>=C2=A0 =C2=A0 =C2=A0*Andrii Anisov*
>>
>>
>>
>>
>>
>> --
>> Regards,
>> Bharat Gohil
>> Sr.Software Engineer
>> bharat.gohil@harman.com= <mailto:bharat.gohil@har= man.com>
>> +919427054= 633
>
>
> --
> Julien Grall
>
>



--
Regards,

Oleksandr Tyshchenko



--
Regards,
Bharat Gohil
Sr.Software E= ngineer
+919427054633
=
--94eb2c1ce80615f3b4055a4fa135-- --===============4037620296039475982== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============4037620296039475982==--