Received: by 10.213.65.68 with SMTP id h4csp992740imn; Wed, 28 Mar 2018 17:42:21 -0700 (PDT) X-Google-Smtp-Source: AIpwx49qMRJi4TJGAv+5VgY79Ym/2yX3k1pVu9jjPhlADQxEBO9KwzDRtk09kel1kvYowONXiHCE X-Received: by 10.101.97.9 with SMTP id z9mr3214495pgu.446.1522284141055; Wed, 28 Mar 2018 17:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522284141; cv=none; d=google.com; s=arc-20160816; b=D2C8eejSTaBLSY9BeskWu6wXVNRO3yx9q/8wfU8YxRcmxlsi8OgW7BpY6Y9EY9VHBe z742+YOYcOapW+AONEBZYBdyEXgdFp6xgDCNSJu08+gVraGrhz6KSb2oo+AFFo8UVfZm la9381k2m+DoOn+HXIXIzw/mbTluhVrTF8nQuYwepMaXlXi+H4Jx4MhVo0RdIuiCxnEC KTKDloAxWUAAZIg/1cLof2hyhqvzgJMnO7svEwdRQSfMedI741VVS69a5ClbnG7hz40M 3x6GqdElS4c4qvh/pjyp9omjWA3VStTBRQIY22UmsjOIeaCSs494yFG1vmkRob7iA8/4 WsSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature :arc-authentication-results; bh=DQT7JlAxAjS2ixnTjz67KyaYHW2BA6t8rMPWlkoh6NM=; b=wDgpguHrbdkCV8K5GV3MXpDcp+fdqn1ZjEWO4vqimWUeyq32ph2Ue4ILn+dxoaCJ33 B0NjkcwDXWfkCW5FZr1syMKglmrPZK2h+3xENeIO46qDHorrPHX0MSvNoxt7VuYi7C1C oG/CMfec88Boe8VREEWviwu1LTid82XG3sKlLj2wcAfvzPyB3O97uFADXhL0+hLkD/a2 qmdRQvBZSK5yl6lCmcn7MusT/phbOgeyAGqopyWyyrJ7yCZr/WLC/dEeMp+OHQDhnuxL N25m66qsACyk4VOdWBjViUtscey3YqdaqDHcbujg8L1vNNYQiwaOo5DsN0rFE2hzulRT qXmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=NUkK18F0; 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 m24si3614000pfj.264.2018.03.28.17.42.06; Wed, 28 Mar 2018 17:42:21 -0700 (PDT) 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; dkim=pass header.i=@sifive.com header.s=google header.b=NUkK18F0; 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 S1751147AbeC2AlO (ORCPT + 99 others); Wed, 28 Mar 2018 20:41:14 -0400 Received: from mail-pg0-f50.google.com ([74.125.83.50]:34103 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750971AbeC2AlM (ORCPT ); Wed, 28 Mar 2018 20:41:12 -0400 Received: by mail-pg0-f50.google.com with SMTP id y16so1392354pgv.1 for ; Wed, 28 Mar 2018 17:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=DQT7JlAxAjS2ixnTjz67KyaYHW2BA6t8rMPWlkoh6NM=; b=NUkK18F0zTby7JFKFgNFxIlmG98Scj1Wkgcy+VAL62TealmnMlmh4w4PG30ddEMJIn UgpXbifnEJQB+ZNy+Y4zS0njPZAccnfM1G3dR7WOs4QKXRx8bvRSte15uNE6c1eMAS4X a7nZGz3WaXw/tBdLNzZCmlvlaD98uPVWsjGXeoVE99c1SbWmbbUwVkw2BmDKwL3QFl0M ZfMqCtjjaclaIDBqBGqOKYOwGjBf/Y1N9FI+LYhvswxbG/jHhXRu3LjmCsobvkr0KG9k Ty1mrvJ89WR6WWv6l8Q39j1NW4N/6lR/c7wM7mTE/Z6dRlp4wg8wp3oPHSzShZPv4Mv4 PmHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=DQT7JlAxAjS2ixnTjz67KyaYHW2BA6t8rMPWlkoh6NM=; b=ehYtWYSSsgilHWSsukrJFo1GyUnqLN535iUygBAveWESK2vrCBIApLwYZR6qpP8qn3 f6cXWcOMgBZtbNdD+ldmISDYPejA9LbOU9I8aKKLatALihuKBZZiEPFZJuyDyjh0cy9c 87V1Hx28Roa0MsU5RLpiXmfGSOoRe7lk/bp2GBLnYjzHvnFkRY8jbRQJoXhOUL2/sMYg p12V+oLnMLQ6JhfPG9CuYqphbI53T2FVzQ6/m121i8y9rs6hc8tms9n1KoMtOWRVxL5y oEur14oxpUjMcB6GiMDifijsTE8qR9ylkT8kEpXA7lstYoE/W9+owH7LfCltONAAuZOw r+iQ== X-Gm-Message-State: AElRT7Fh+Bcd0/l+qz/GsrK1rdCnxU36zHndqRWQb5S360DhvEdSbZC1 etiZ7Ts5etDDUrbiXLf1wWrrYg== X-Received: by 10.99.117.26 with SMTP id q26mr3923716pgc.169.1522284071973; Wed, 28 Mar 2018 17:41:11 -0700 (PDT) Received: from localhost ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id a65sm11166312pfg.170.2018.03.28.17.41.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Mar 2018 17:41:11 -0700 (PDT) Date: Wed, 28 Mar 2018 17:41:11 -0700 (PDT) X-Google-Original-Date: Wed, 28 Mar 2018 17:34:21 PDT (-0700) Subject: Re: [PATCH 1/2] perf: riscv: preliminary RISC-V support In-Reply-To: CC: alankao@andestech.com, albert@sifive.com, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, corbet@lwn.net, linux-riscv@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, nickhu@andestech.com, greentime@andestech.com From: Palmer Dabbelt To: sols@sifive.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 28 Mar 2018 15:31:30 PDT (-0700), sols@sifive.com wrote: > Also, core IDs and socket IDs are wrong in perf report: It looks like for this we need the stuff in topology.h. I've cobbled something together quickly for Alex to use for now to see if that fixes other problems, I'll submit a sane version when we can.