Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-05-10 Thread Catalin Marinas
Cc'ing Ramana to get some input from the toolchain side. On Tue, May 10, 2016 at 11:24:04AM +0100, Will Deacon wrote: > On Mon, May 09, 2016 at 01:44:11PM +, Catalin Marinas wrote: > > On Mon, May 09, 2016 at 12:21:08PM +0100, Peter Maydell wrote: > > > On 9 May 2016 at 11:59, Suzuki K Poulose

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-05-10 Thread Will Deacon
On Mon, May 09, 2016 at 01:44:11PM +, Catalin Marinas wrote: > On Mon, May 09, 2016 at 12:21:08PM +0100, Peter Maydell wrote: > > On 9 May 2016 at 11:59, Suzuki K Poulose wrote: > > > Well, we have been waiting for a use case, like this, before we merge > > > the series. > > > > This isn't a

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-05-09 Thread Catalin Marinas
On Mon, May 09, 2016 at 12:21:08PM +0100, Peter Maydell wrote: > On 9 May 2016 at 11:59, Suzuki K Poulose wrote: > > Well, we have been waiting for a use case, like this, before we merge > > the series. > > This isn't a great strategy for moving people away from things > you'd like them to avoid

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-05-09 Thread Peter Maydell
On 9 May 2016 at 11:59, Suzuki K Poulose wrote: > Well, we have been waiting for a use case, like this, before we merge > the series. This isn't a great strategy for moving people away from things you'd like them to avoid like parsing /proc/cpuinfo, because typically userspace app writers are not

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-05-09 Thread Suzuki K Poulose
On 09/05/16 04:30, Vijay Kilari wrote: Hi Suzuki, The last 5 patches are not compiling on v4.4. Looks like your patch series is not merged completely. Can you please rebase your patches and let me know. Could you please give the tree below a try ? git://linux-arm.org/linux-skp.git cpu-ftr

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-05-08 Thread Vijay Kilari
Hi Suzuki/Peter, On Wed, Apr 13, 2016 at 5:59 PM, Suzuki K Poulose wrote: > On 13/04/16 10:54, Vijay Kilari wrote: >> >> On Mon, Apr 11, 2016 at 3:07 PM, Suzuki K Poulose >> wrote: >>> >>> On 11/04/16 07:52, Vijay Kilari wrote: > > >> >> Hi Suzuki, >> >> The last 5 patches are not compiling on

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-13 Thread Suzuki K Poulose
On 13/04/16 10:54, Vijay Kilari wrote: On Mon, Apr 11, 2016 at 3:07 PM, Suzuki K Poulose wrote: On 11/04/16 07:52, Vijay Kilari wrote: Hi Suzuki, The last 5 patches are not compiling on v4.4. Looks like your patch series is not merged completely. Can you please rebase your patches and le

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-13 Thread Vijay Kilari
On Mon, Apr 11, 2016 at 3:07 PM, Suzuki K Poulose wrote: > 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:1

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-11 Thread Suzuki K Poulose
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 o

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-10 Thread Vijay Kilari
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 maintain

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-08 Thread Peter Maydell
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

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-07 Thread Vijay Kilari
Hi Peter, On Thu, Apr 7, 2016 at 5:15 PM, Peter Maydell wrote: > On 7 April 2016 at 11:56, Vijay Kilari wrote: >> On Thu, Apr 7, 2016 at 3:41 PM, Peter Maydell >> wrote: >>> On 7 April 2016 at 10:58, wrote: From: Vijaya Kumar K utils cannot read target cpu information to

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-07 Thread Peter Maydell
On 7 April 2016 at 11:56, Vijay Kilari wrote: > On Thu, Apr 7, 2016 at 3:41 PM, Peter Maydell > wrote: >> On 7 April 2016 at 10:58, wrote: >>> From: Vijaya Kumar K >>> >>> utils cannot read target cpu information to >>> fetch cpu information to implement cpu specific >>> features or erratas.

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-07 Thread Vijay Kilari
On Thu, Apr 7, 2016 at 3:41 PM, Peter Maydell wrote: > On 7 April 2016 at 10:58, wrote: >> From: Vijaya Kumar K >> >> utils cannot read target cpu information to >> fetch cpu information to implement cpu specific >> features or erratas. For this parse /proc/cpuinfo >> and fetch cpu information.

Re: [Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-07 Thread Peter Maydell
On 7 April 2016 at 10:58, wrote: > From: Vijaya Kumar K > > utils cannot read target cpu information to > fetch cpu information to implement cpu specific > features or erratas. For this parse /proc/cpuinfo > and fetch cpu information. > > For now this helper only fetches cpu information > for ar

[Qemu-devel] [RFC PATCH v2 2/3] utils: Add cpuinfo helper to fetch /proc/cpuinfo

2016-04-07 Thread vijayak
From: Vijaya Kumar K utils cannot read target cpu information to fetch cpu information to implement cpu specific features or erratas. For this parse /proc/cpuinfo and fetch cpu information. For now this helper only fetches cpu information for arm architectures. Signed-off-by: Vijaya Kumar K Si