Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5265204imm; Wed, 12 Sep 2018 03:38:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZSvC79crqf3eGKibZinoXfbbD0UbHzRA8PSgOk/+X0YrGPYSVU7bEN1Qjdm5x+Ejy61JtP X-Received: by 2002:a62:808c:: with SMTP id j134-v6mr1537544pfd.120.1536748698820; Wed, 12 Sep 2018 03:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536748698; cv=none; d=google.com; s=arc-20160816; b=FoJoZJvdBepwlTdBR6Pu1nhAXbnpCf2adJn0wL36lk7d/faknVZ6jwI2wbZe1g8fBK 1W1fmqqDhWUHyeymj6lE0lpJ3axXG34bTbUMjEPajI5dewMXIJ8uUnoXGCo7BMWJ4Swn yDVZ0naBl8tMSb/Lvbks12KEFtMbOSa/DrH6YCrH/rZzEi5oZqc0MKIrKvhPNxEH6SPL +5Z4mnYUSyFvZN5FlD4ZS+L7Kcwmup7dAgSDbZ+5C8hKGNdHhhVJxfbjPjEAvQhY1e2t nuPa94SqgBJRM/npPZQyE8inmcqY2qWcKMAoAir58F6YUyRNvRoYsRTQGpdaYB1/4HZq fA1g== 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=GZUgVswiDKPwzyfOOBJCFH6BOHCANrxfSL2E3wx5Lic=; b=xJyD1pYc/APHonuGSnwe+99qMSvjWwnnF9sMfGrJ5iExr+uBOW0tPVX13aVofzOtJ9 jmUVmfl7ChNTOVyA/IXcrZ6aEcx2qhUlig8GwKFpQ2Y3CuKZZAaufdU5T+mAR5YzZHH3 Mhw6OO9mMJS0VRdSJNmtxUtd7kG7c+B/vWTMlco59r2r+Qp9R5eiySFQEGnhv1Vsv/RI ZAFlFnz00KTOAKXjG97IVnmw3y0WnEL6G14idBGK34aA89td9HxNGqxDeDpMSxoflMX4 I6+WdsT2rtAcSH6ZdSZ1L5HR/b6q/2aggdHDsPn8J3RvEmlRQ3RnQAFwnQSfpAuc2iyK yRpg== 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 7-v6si562012pll.369.2018.09.12.03.38.03; Wed, 12 Sep 2018 03:38:18 -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 S1727773AbeILPlf (ORCPT + 99 others); Wed, 12 Sep 2018 11:41:35 -0400 Received: from foss.arm.com ([217.140.101.70]:57352 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726855AbeILPlf (ORCPT ); Wed, 12 Sep 2018 11:41:35 -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 B0A267A9; Wed, 12 Sep 2018 03:37:38 -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 700BA3F614; Wed, 12 Sep 2018 03:37:37 -0700 (PDT) Cc: Sudeep Holla , linux-kernel@vger.kernel.org, vkilari@codeaurora.org Subject: Re: [PATCH] ACPI/PPTT: Handle architecturally unknown cache types To: Jeremy Linton , Jeffrey Hugo , rjw@rjwysocki.net, linux-acpi@vger.kernel.org References: <1536694334-5811-1-git-send-email-jhugo@codeaurora.org> From: Sudeep Holla Organization: ARM Message-ID: <3eef4199-f99e-2d1d-0d1f-98b30cafb5bf@arm.com> Date: Wed, 12 Sep 2018 11:37:35 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/09/18 21:16, Jeremy Linton wrote: > Hi Jeffrey, > > (+Sudeep) > Thanks for looping me in. > > If you look at the next line of code following this comment its going to > update the cache type for fully populated PPTT nodes. Although with the > suggested change its only going to activate if someone completely fills > out the node and fails to set the valid flag on the cache type. > > What I suspect is happening in the reported case is that the nodes in > the PPTT table are missing fields we consider to be important. Since > that data isn't being filled out anywhere else, so we leave the cache > type alone too. This has the effect of hiding sysfs nodes with > incomplete information. > > Also, the lack of the DATA/INST fields is based on the assumption that > the only nodes which need their type field updated are outside of the > CPU core itself so they are pretty much guaranteed to be UNIFIED. Are > you hitting this case? > Completely agree with you. -- Regards, Sudeep