Received: by 10.223.185.116 with SMTP id b49csp1043493wrg; Fri, 16 Feb 2018 11:21:57 -0800 (PST) X-Google-Smtp-Source: AH8x224vR32rsbDW01igEEEM2RDpa48HxAticYgFzFBXx3x6UXuEW3tMNSdtHphM7IjPeyAv0rMU X-Received: by 10.98.210.70 with SMTP id c67mr2811986pfg.164.1518808916956; Fri, 16 Feb 2018 11:21:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808916; cv=none; d=google.com; s=arc-20160816; b=EayCKK7NvP8Y1xmYhP+9mwt/8tRKBTQKu4X6JZR1Mmqo7crPqrcNABKsXvvue2dJnm uJs64qCFJBAt+oFXVtObLy2Ma/tnymxEHCyx+IomN1xxmXkSAnx7H6oO+M0zwWuZPE4+ KItns002wzy1tbSN6hEdK6C7+1Nm7QalAqsfa6VTs5BDQTG3Zc84q4PK+x+L887zHb62 KIwKPu/57z0cI5ajr1rjCldfAMi36kKe4PED+KsZqzlyIWU0tZzXT8qUfUO//Bk3Kdct flKFwlW107b9ocAIVSHNAuf7C3JF6ObKVQV9MxhMDm3dBQeHJCV6wwi2mIMnJpOz/GxB HIbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=YOH8CwwbDUU6zVPQaBlbttLujabO7GQqrZtzAkT1/eU=; b=D9npFD+kjbY5qor3p+JcNiCMcCh64GyszTwL3uUpT3Eukd9EuJN4pSx/cKf3V1gDWE HLlcndfHpVFdT0+7n9SLdwE82yMi4ymGQHttpAjNKXiY2qZScK5dxqDEOcRsDlm83WQ0 FFvkiOErqmzPSzzD98a7sS6EeLKwesSjG8TqzBgulYoyptHKzz05wDrRfe7d14UfbctP bM5JSbQqvtkJq9Ug9F2/2pxx7WEh5Rm870p3uvor+ueG8rhsFqdkzZi41kUPj/nHe1Tn 9zWFLg0kWDnqWhTbtW0aAYPb3Yz7FM6FTFkfMi+y8rzVJJ33Epwz+zVRY+0M5vCgWINy w8FA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o1-v6si4693420pld.259.2018.02.16.11.21.42; Fri, 16 Feb 2018 11:21:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1162404AbeBPRuJ (ORCPT + 99 others); Fri, 16 Feb 2018 12:50:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:42332 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759087AbeBPRuH (ORCPT ); Fri, 16 Feb 2018 12:50:07 -0500 Received: from jouet.infradead.org (unknown [179.97.41.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3A0BA2171F; Fri, 16 Feb 2018 17:50:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3A0BA2171F Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id 847841450DD; Fri, 16 Feb 2018 14:50:02 -0300 (-03) Date: Fri, 16 Feb 2018 14:50:02 -0300 From: Arnaldo Carvalho de Melo To: Ravi Bangoria Cc: alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, brueckner@linux.vnet.ibm.com, tmricht@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, mpe@ellerman.id.au Subject: Re: [PATCH 1/3] tools include powerpc: Grab a copy of arch/powerpc/include/uapi/asm/unistd.h Message-ID: <20180216175002.GC16919@kernel.org> References: <20180129083417.31240-1-ravi.bangoria@linux.vnet.ibm.com> <20180129083417.31240-2-ravi.bangoria@linux.vnet.ibm.com> <20180216165245.GD24436@kernel.org> <20180216165616.GF24436@kernel.org> <20180216170336.GG24436@kernel.org> <20180216170812.GA16919@kernel.org> <20180216172901.GB16919@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180216172901.GB16919@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Feb 16, 2018 at 02:29:01PM -0300, Arnaldo Carvalho de Melo escreveu: > Humm, we need to create two tables, one for 32-bit and another for 64, > even with ppc not having (AFAIK) clashes in syscall numbers for 32/64... > > Trying to do it now. Now seems to work, take a look at my perf/core branch, should be one of the first few csets. perfbuilder@cc1a85517216:/git/perf$ grep 192 /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_32.c [192] = "mmap2", perfbuilder@cc1a85517216:/git/perf$ powerpc-linux-gnu-gcc --version powerpc-linux-gnu-gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609 perfbuilder@cc1a85517216:/git/perf$ perfbuilder@9d7fc9dcfb73:/git/perf$ grep 192 /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_32.c [192] = "mmap2", perfbuilder@9d7fc9dcfb73:/git/perf$ grep 192 /tmp/build/perf/arch/powerpc/include/generated/asm/syscalls_64.c perfbuilder@9d7fc9dcfb73:/git/perf$ powerpc64-linux-gnu-gcc --version powerpc64-linux-gnu-gcc (Ubuntu/IBM 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609 perfbuilder@9d7fc9dcfb73:/git/perf$