Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp825232imm; Thu, 13 Sep 2018 08:17:58 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY9n27XRJ7mZI97XhjUmihBFPgryhPV1wFSULmweYh7abhrUgGkB5A5UH2d6pilfJikdYje X-Received: by 2002:a17:902:6b0b:: with SMTP id o11-v6mr7759376plk.214.1536851878053; Thu, 13 Sep 2018 08:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536851878; cv=none; d=google.com; s=arc-20160816; b=k21XCYr6wRmPy1pB9E8nQj1CIDA6VlojWgOOP62VXtQAoJEG/pRvBzZdOXNvvMzWHR PrySC/spXP+SvWfLjVWnFKWCGOS0snOR+aj6znPf/7uol+X6oRZ+8CJ7Y+f95HtgAy7x hqNUL08y880LU64nC0q1vsZJU1LNoH7H6cRu6GG4tC9fT7YSRrRuwV2IsL7wuSJedAaJ WKtFMV8uUBvFSMPT1/et1WkU5H0FhAAlwKCgmMYFCrcCy3UiJGVfNAvISPHEk7Mae41R crXaFNIobO+ImpJsKUTqCElgwcSMP7dbiBxszM3mvNisbpWE//Sn6Zg7QxMZqahpYeK6 S1Og== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:to:subject:cc; bh=9gzIf46cx5osUEJ/ikI9O9z1TwLjA6Q1FHaMkFYt+kg=; b=cy6NUJim9RCz0yo/cZNVBh2yP8nvACuMMFZhd0pmri3R3OKXJKNrRDGe6oG1aDfG74 aPhezoTB1Z6L/XXulTcvqqGfygQXaQ4wZwiwjLcRxdR7Td4polmWkOiE3I08cl91L1PZ kCm31rquekKXwATZuDQvUwS6d42028PmUKl9XENlhn7GlQtKB6YXr/WCoWqvQbNgjMK6 hT/RjwrDm2I+dWQM9SMHSzcU2h9tXgI5sr9VRkXV3nCqiCPWj4JvObX8vJ3lWqwoqoa4 AmsxzxqIVRuHhOmezLyiLEAdnAu0q8mVc5RyZfDbiChu8NjzezXMJuWjYacu1VEaBv1C OohA== 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 j64-v6si3478451pgc.88.2018.09.13.08.17.33; Thu, 13 Sep 2018 08:17:57 -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; 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 S1728298AbeIMU0z (ORCPT + 99 others); Thu, 13 Sep 2018 16:26:55 -0400 Received: from foss.arm.com ([217.140.101.70]:49968 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726824AbeIMU0z (ORCPT ); Thu, 13 Sep 2018 16:26:55 -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 1562F7A9; Thu, 13 Sep 2018 08:16:58 -0700 (PDT) Received: from [10.4.12.116] (e107155-lin.emea.arm.com [10.4.12.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 097AA3F557; Thu, 13 Sep 2018 08:16:55 -0700 (PDT) Cc: Sudeep Holla , Jeffrey Hugo , Jeremy Linton , rjw@rjwysocki.net, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, vkilari@codeaurora.org Subject: Re: [PATCH] ACPI/PPTT: Handle architecturally unknown cache types To: Brice Goglin , James Morse References: <1536694334-5811-1-git-send-email-jhugo@codeaurora.org> <4f253bf4-ef2d-849f-b793-9b0530e72aab@gmail.com> <20180913103525.GA7777@e107155-lin> <0f23136a-cfb7-8def-702a-87e02705f0d6@gmail.com> From: Sudeep Holla Organization: ARM Message-ID: <00cadeff-3a1c-c780-2641-04e47c26181f@arm.com> Date: Thu, 13 Sep 2018 16:16:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <0f23136a-cfb7-8def-702a-87e02705f0d6@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/09/18 12:53, Brice Goglin wrote: > Le 13/09/2018 à 11:35, Sudeep Holla a écrit : >>> On 13/09/18 06:51, Brice Goglin wrote: [...] >>>> By the way, did anybody actually see an error with lstopo when there's >>>> no "type" attribute for L3? I can't reproduce any issue, we just skip >>>> that specific cache entirely, but everything else appears. If you guys >>>> want to make that "no_cache" cache appear, I'll make it a Unified cache >>>> unless you tell me what to show :) >> IIUC, Jeffrey Hugo did see error as per his initial message: >> " >> This fixes the following lscpu issue where only the cache type sysfs file >> is missing which results in no output providing a poor user experience in >> the above system configuration. >> lscpu: cannot open /sys/devices/system/cpu/cpu0/cache/index3/type: No such >> file or directory >> " >> > > I don't know about lscpu (it's a different project), but lstopo > shouldn't have any such problem. > Ah OK, I have only looked at lscpu source. Sorry for that, I assumed they are based on same/similar code base. Thanks for letting me know they are not. > If you see an issue with lstopo, I'd be interesting in getting the > tarball generated by hwloc-gather-topology (it dumps useful files from > procfs and sysfs so that we may debug offline). Thanks for the information. -- Regards, Sudeep