From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apYPp-0001ME-It for qemu-devel@nongnu.org; Mon, 11 Apr 2016 05:45:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apYPo-0004dV-LP for qemu-devel@nongnu.org; Mon, 11 Apr 2016 05:45:53 -0400 References: <1460023087-31509-1-git-send-email-vijayak@caviumnetworks.com> <1460023087-31509-3-git-send-email-vijayak@caviumnetworks.com> From: Suzuki K Poulose Message-ID: <570B7048.5010501@arm.com> Date: Mon, 11 Apr 2016 10:37:12 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vijay Kilari , Peter Maydell Cc: Vijaya Kumar K , qemu-arm , Paolo Bonzini , QEMU Developers , Prasun Kapoor , suresh knv , Vijaya Kumar K , Suresh , Catalin Marinas , Will Deacon On 11/04/16 07:52, Vijay Kilari wrote: > Adding Suzuki Poulose. > > Hi Suzuki, > > On Fri, Apr 8, 2016 at 3:13 PM, Peter Maydell wrote: >> On 8 April 2016 at 07:21, Vijay Kilari wrote: >>> On Thu, Apr 7, 2016 at 5:15 PM, Peter Maydell wrote: >>>> I'm told there are kernel patches in progress to get this sort >>>> of information in a maintainable way to userspace, which are >>>> currently somewhat stalled due to lack of anybody who wants to >>>> consume it. If you have a use case then you should probably >>>> flag it up with the kernel devs. >>> >>> Can you please give references to those patches/discussion? >> >> I'm told the most recent thread is https://lkml.org/lkml/2015/10/5/517 >> (and that most of the patches in that series have gone in, except >> for the last 4 or 5 which implement the ABI). > > Can you please throw some light on what is the status of ABI to > read cpu information in user space. > I wanted to know cpu implementer, part number in QEMU utils > to add prefetches to speed up live migration for Thunderx platform. > As for the patch series, except for that last 5 patches (which actually implements the ABI), the infrastructure patches have been merged in v4.4. We are awaiting feedback from possible consumers like toolchain (gcc, glibc). If you think this will be suitable for you, thats good to know. There is documentation available in the last patch in the above series. Could you please try the series (on v4.4, which would be easier, by simply picking up the last 5 patches) and let us know if that works for you ? Cheers Suzuki