From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZgvR-0006BO-6s for qemu-devel@nongnu.org; Sun, 22 Mar 2015 10:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZgvM-0006DY-75 for qemu-devel@nongnu.org; Sun, 22 Mar 2015 10:32:25 -0400 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:36371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZgvL-0006DC-Vh for qemu-devel@nongnu.org; Sun, 22 Mar 2015 10:32:20 -0400 Received: by padcy3 with SMTP id cy3so163051215pad.3 for ; Sun, 22 Mar 2015 07:32:18 -0700 (PDT) Message-ID: <550ED1EF.7010108@gmail.com> Date: Sun, 22 Mar 2015 07:30:07 -0700 From: Sergey Fedorov MIME-Version: 1.0 References: <550C581D.5070609@mailbox.tu-berlin.de> <550CE2A6.6050703@gmail.com> <20150321044942.GA30197@toto> In-Reply-To: <20150321044942.GA30197@toto> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] GSoC Proposal: ARM Virtualization Extensions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: Peter Maydell , Merten Sach , QEMU Developers On 20.03.2015 21:49, Edgar E. Iglesias wrote: > Hi all, > > Sergey, that's good to hear! > > Peter, Yes I have quite a bit of patch material but unfortunately a lot of > it is not in a state for upstreaming. I know I've promised to clean > it up and submit more but I have not been able to find time for it, > sorry about that... > > Patches that I planned to send are around hyp timers, misc bugfixes > here and there and maybe the GIC virt extensions. > > The 2 stage MMU code I have is shamefully ugly but it kind of works > so it is useful for understanding some of the problems that need to be > solved. (works well enough to boot XEN and KVM guests). > > Sergey and myself communicated a bit off-list a while back ago > and he expressed interest in AArch64 EL2 and my code. Sergey, it would be > very interesting to hear more details on how you are doing on that? > > Cheers, > Edgar Hi Edgar, I successfully reproduced your results with running KVM on your patches. Then I decided to start implementing the features without looking at your code so that I can get somewhat different view on how to implement that. Then I plan to compare my and your code and make a final version. Now I've got patches that allows to boot Linux kernel with KVM enabled. So KVM initialization is happy. Basically, I added some EL2 registers required by KVM and adjusted page table walk to support EL2 translation regime. A colleague of mine has prepared a patch to support virtualization extensions in generic timer. Before sending patches here, I will do my best to carefully compare my final code against yours and credit you appropriately in that patches for any derivatives found. Anyway, do not hesitate to ask questions or point out any misses in respect of this matter. Best regards, Sergey