From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.25.208.211 with SMTP id h202csp1333216lfg; Mon, 11 Apr 2016 02:59:47 -0700 (PDT) X-Received: by 10.55.23.68 with SMTP id i65mr26719016qkh.74.1460368787428; Mon, 11 Apr 2016 02:59:47 -0700 (PDT) Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id g81si19683635qkb.56.2016.04.11.02.59.47 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 11 Apr 2016 02:59:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Received: from localhost ([::1]:51624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apYdH-0001EO-1v for alex.bennee@linaro.org; Mon, 11 Apr 2016 05:59:47 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apYPn-0001Jr-Ds for qemu-arm@nongnu.org; Mon, 11 Apr 2016 05:45:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apYPh-0004co-RU for qemu-arm@nongnu.org; Mon, 11 Apr 2016 05:45:51 -0400 Received: from foss.arm.com ([217.140.101.70]:46885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apYPh-0004ci-M0; Mon, 11 Apr 2016 05:45:45 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 7270B28; Mon, 11 Apr 2016 02:36:03 -0700 (PDT) Received: from [10.1.209.136] (e106634-lin.cambridge.arm.com [10.1.209.136]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4AC953F25F; Mon, 11 Apr 2016 02:37:14 -0700 (PDT) To: Vijay Kilari , Peter Maydell 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 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.140.101.70 X-Mailman-Approved-At: Mon, 11 Apr 2016 05:59:45 -0400 Subject: Re: [Qemu-arm] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vijaya Kumar K , suresh knv , Vijaya Kumar K , Will Deacon , QEMU Developers , Prasun Kapoor , qemu-arm , Catalin Marinas , Suresh , Paolo Bonzini Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: rW5cGy3YXdmC 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 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