From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxm4X-00020n-AQ for qemu-devel@nongnu.org; Wed, 27 May 2015 20:53:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxm4U-0005Fs-3Y for qemu-devel@nongnu.org; Wed, 27 May 2015 20:53:21 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxm4T-0005Fg-TS for qemu-devel@nongnu.org; Wed, 27 May 2015 20:53:18 -0400 Received: by padbw4 with SMTP id bw4so10231953pad.0 for ; Wed, 27 May 2015 17:53:17 -0700 (PDT) Message-ID: <556666F5.1020701@linaro.org> Date: Thu, 28 May 2015 08:53:09 +0800 From: Shannon Zhao MIME-Version: 1.0 References: <1430921082-16779-1-git-send-email-shlomopongratz@gmail.com> <1430921082-16779-2-git-send-email-shlomopongratz@gmail.com> <20150527181202.2ef26ca6@nial.brq.redhat.com> <021a01d098a7$7fd6ac40$7f8404c0$@samsung.com> In-Reply-To: <021a01d098a7$7fd6ac40$7f8404c0$@samsung.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH RFC V2 1/4] Use Aff1 with mpidr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Fedin , 'Igor Mammedov' , shlomopongratz@gmail.com Cc: peter.maydell@linaro.org, qemu-devel@nongnu.org, 'Shlomo Pongratz' On 2015/5/28 2:03, Pavel Fedin wrote: > Hello! > >> I think encoding should be CPU type specific i.e. not defined by what >> GIC can support and once we add CPU type with 8 cores, it would provide >> it's own version of mpidr_read since it would be defined by spec >> how to encode aff0. > > I have redone this thing from scratch: > https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg04495.html > My implementation does exactly this. It simply introduces CPU-specific MPIDR value which > CPUs can set as they wish. IIUC, your implementation also uses 8 cpus per cluster which is not consistent with CPU spec. > Also this is used by KVM because KVM has its own ideas about > how CPUs are clustered. > I posted that without RFC, because i think it's ready for application, but my message > seems to have been lost. Looks like i forgot Cc to the maintainer. My current vGICv3 > work-in-progress is based on this. > If Shlomo does not respond until friday, i think i'll post a new vGICv3 series based on > master. > I guess we should give people time to do the respin or other things. > Kind regards, > Pavel Fedin > Expert Engineer > Samsung Electronics Research center Russia > > > -- Shannon