Re: bhyve and AMD

2013-09-11 Thread Anish
nRIP—Next sequential instruction pointer

from AMD programmer's manual Volume 2, appendix B

This is the RIP used for next vmenter/guest execution.

-Anish


On Wed, Sep 11, 2013 at 3:52 PM, Dee Nixon
wrote:

> On Wed, September 11, 2013 5:20 pm, Anish wrote:
> > Yes, nRIP is required and it will be hard to find AMD processor with
> > SVM support that doesn't have it. We used Phenom II for bhyve port
> > on AMD which is 2+ years old and has RVI and nRIP support.
>
> I'm sorry to have to ask this, but what is nRIP?  (I tried Googling
> "nRIP virtualization" and similar strings but turned up nothing
> relevant.  The closest I could find was a few mentions of RIP,
> apparently meaning "Instruction Pointer Register" or "relative
> instruction pointer".)
>
>
>
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve and AMD

2013-09-11 Thread Dee Nixon
On Wed, September 11, 2013 5:20 pm, Anish wrote:
> Yes, nRIP is required and it will be hard to find AMD processor with
> SVM support that doesn't have it. We used Phenom II for bhyve port
> on AMD which is 2+ years old and has RVI and nRIP support.

I'm sorry to have to ask this, but what is nRIP?  (I tried Googling
"nRIP virtualization" and similar strings but turned up nothing
relevant.  The closest I could find was a few mentions of RIP,
apparently meaning "Instruction Pointer Register" or "relative
instruction pointer".)


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve and AMD

2013-09-11 Thread Peter Grehan

Hi,


   No, that's the main one.


[DN:]
When you say that that's the "main" one, do you mean that there are
also other features that an AMD processor must have, besides RVI, to
be compatible with bhyve, but that might be absent in some AMD
processors with RVI?  If so, what other features should I look for?


 There are some optional features that can be used, but I believe RVI 
is the only mandatory one


 (Anish - is nRIP required ?)


(I'm now shopping around for dedicated server hosting for a
forthcoming demo of the possible bhyve front end I mentioned
earlier.  To that end, I need to find an otherwise inexpensive
server with a processor on which bhyve can run.)


 As mentioned before, it will be hard to find one that doesn't have the 
necessary support.


later,

Peter.
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve and AMD

2013-09-11 Thread Anish
> (Anish - is nRIP required ?)
Yes, nRIP is required and it will be hard to find AMD processor with SVM
support that doesn't have it. We used Phenom II for bhyve port on AMD which
is 2+ years old and has RVI and nRIP support. I use
http://instlatx64.atw.hu/ to check SVM CPUID capability and looks like
after Phenom II, all of them have both of SVM features.

CPUID func 800A: 0001-0040--000F

  ^^

reg[0] LSB = 0x0F indicate that it has NP/RVI(Bit0) and nRIP(bit3) support.


Regards,

Anish




On Wed, Sep 11, 2013 at 2:03 PM, Peter Grehan  wrote:

> Hi,
>
> No, that's the main one.
>>>
>>
>> [DN:]
>> When you say that that's the "main" one, do you mean that there are
>> also other features that an AMD processor must have, besides RVI, to
>> be compatible with bhyve, but that might be absent in some AMD
>> processors with RVI?  If so, what other features should I look for?
>>
>
>  There are some optional features that can be used, but I believe RVI is
> the only mandatory one
>
>  (Anish - is nRIP required ?)
>
>  (I'm now shopping around for dedicated server hosting for a
>> forthcoming demo of the possible bhyve front end I mentioned
>> earlier.  To that end, I need to find an otherwise inexpensive
>> server with a processor on which bhyve can run.)
>>
>
>  As mentioned before, it will be hard to find one that doesn't have the
> necessary support.
>
> later,
>
> Peter.
>
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve and AMD

2013-09-11 Thread dnixon-lists-tech
On Wed, September 11, 2013 4:11 pm, Peter Grehan wrote:
[...]
>   Yes, that would be it. The RVI support has been there in CPUs for
> quite a long time now - it would be hard to find a recent AMD CPU
> that doesn't have it.

[DN:]
>> Or is bhyve using a different feature of some AMD processors?

[PG:]
>   No, that's the main one.

[DN:]
When you say that that's the "main" one, do you mean that there are
also other features that an AMD processor must have, besides RVI, to
be compatible with bhyve, but that might be absent in some AMD
processors with RVI?  If so, what other features should I look for?

(I'm now shopping around for dedicated server hosting for a
forthcoming demo of the possible bhyve front end I mentioned
earlier.  To that end, I need to find an otherwise inexpensive
server with a processor on which bhyve can run.)


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve and AMD

2013-09-11 Thread Peter Grehan

Hi,


The bhyve site says, "AMD SVN support arrived on August 22nd, 2013
with FreeBSD svn r254677 and requires testing."

How can we tell which AMD processors are supported?  Would that be
the same AMD processors that are listed on the following page as
having "Rapid Virtualization Indexing Required to Run Hyper-V in
Windows 8"?

http://support.amd.com/us/kbarticles/Pages/GPU120AMDRVICPUsHyperVWin8.aspx


 Yes, that would be it. The RVI support has been there in CPUs for 
quite a long time now - it would be hard to find a recent AMD CPU that 
doesn't have it.



Or is bhyve using a different feature of some AMD processors?


 No, that's the main one.


I'm a co-developer, with Aryeh Friedman, of a forthcoming possible
front end for bhyve.


 Cool !

later,

Peter.

___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"