Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1002555ybc; Sat, 16 Nov 2019 12:50:04 -0800 (PST) X-Google-Smtp-Source: APXvYqzn4TxIPK29gqkr/9Q1RHV87V3ybm4UWCm+Tt8e+SQWb/4ANKiAqpjZLIRAiL30CGhjHgxu X-Received: by 2002:a17:906:d795:: with SMTP id pj21mr13127370ejb.44.1573937404008; Sat, 16 Nov 2019 12:50:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573937404; cv=none; d=google.com; s=arc-20160816; b=VwkEdtu8KNqo7lF3/UnB3Vyg4ElhvaTe5CfPOkoC2e6ZYg1BSrDzQ2c+3Q3f4Wt4No 2B0XYfUAkq7uZqjzA4Guv0ODyK1Jt4zEXRCvfb3XkDISsbW+J0Em7xW5uYhE9FC8JD6q FbOCs5w8NHOc3JCN7M3GybCVGC2kiw0CTlnSH96u4QnKowAQWxps9Vb1+/zIS7mVgPzq 4oN7bMkhdyNrsMdKNDMG1s53WsZ9eLtwUXXfNEc1n44Q6AYNZkToUsK52V68O2x38NU+ KD2X0F85dRNzTC5KETPFEaflV9EGDy2pQzmmItnm5r5JTiYDTw+WMydiwhhe5V84d/Zi G16Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2dZwnfQgOqTIKiwRnj4r9Zker73mZIhEC1hZOmrCLBY=; b=zTW2F2ldnZdWNMAtQZ8XmT4E/XcTCXQ8xGib5qXNZgULjh9h6uJL1qoPYY26EzG8/K d6u6FBgSw4nuzPO34tXc3wXatNxuiU91BymLmA1HDwnAtp1wcR9fkO6aaBVnfpbs09sm q/TtWDo8adnngS9ZseELK2U+zCXAwXRmG5H3kTm9zUaRP6xUDGkMbS9RO/lYt+CU/0B3 h6sz8SSQZGVrgICOjorqg4o8eIS7rznJHOFGCx4ttbwl7jVa4oRtiHAuXOFG8Zesy08A XAgNIiL4Acd3X1igv3rqcTbqqP/CfRgaQBZOyMRkrp1R1re0PP5A5FUVKlx1DVF065M3 S2Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=P2n5ewmA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p17si9043510ejm.4.2019.11.16.12.49.39; Sat, 16 Nov 2019 12:50:03 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=P2n5ewmA; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727630AbfKPUpf (ORCPT + 99 others); Sat, 16 Nov 2019 15:45:35 -0500 Received: from mail-ot1-f53.google.com ([209.85.210.53]:35156 "EHLO mail-ot1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727195AbfKPUpf (ORCPT ); Sat, 16 Nov 2019 15:45:35 -0500 Received: by mail-ot1-f53.google.com with SMTP id c14so4105938oth.2 for ; Sat, 16 Nov 2019 12:45:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2dZwnfQgOqTIKiwRnj4r9Zker73mZIhEC1hZOmrCLBY=; b=P2n5ewmAguqGNxt28KAgF0903BwywKKX71aXiOgk8/c0eldQ2jXd+vpyikAxMbFuwa cgkfCGt55N4UizeGQE740p+dLfFqfdvMTxR8RHHcY9B2xt9htdDU4c8Dan1gWbNj1K1j Q/78fhEUiImeG9rQ84yjekUFxTYhA5QfSQNDe7znRxL5wBVhdZEgLeo3vpJbpqPlZ0Yu VD2gAunlUhaLDpT65i+5Sx5ZVmbUNRXT9B29hH09QeA91wpG0f+RsdYtzZL+dZSCy6XV e06bX98qpXzWtB8hrOTk6z5yzcy4QqR0E7/mPnGv9s2FGHqwB8LRMVq4Aq64tRu5C77C TVIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2dZwnfQgOqTIKiwRnj4r9Zker73mZIhEC1hZOmrCLBY=; b=XAYmBGZYcHu7HKWGgg5ZI/RheiPl7tX+kaUkaSAKS83Uj2qtZtMo8wIbrBZAgbVoQw arhdUd4Gv592xCs+v7BjbWI/fyACMupYYPBkjSHqQdoNsLHBPaQD47sAMCzBF6ZvXGY1 oF66zUlI8u8GlPSJwpidRnN4C2YS+9p0Ai3sDlhPU6iTpaHRYx4eIzqJABIAY655OadS OaBMY+p73A6DNvcInGwpA59pjo8zj+0Q4mwQrFg9IKcQbuY4QJfsNGtiLKYS5UaayP8g GhYckmTQoxAEi/ynNfXNtMfBIFsGtcahwGU3xhI4dnFbkWbG+Bxbp+tXLyIWBNt9gMKp 60fQ== X-Gm-Message-State: APjAAAVEMPIYrBFnBLN46T0VBygWwydhLjaTWqrOVIUFe14s9t4e8hMs Qziwj73kMgE/nq9uHWupT/PW7TW4fkxHY71zOsjr8Q== X-Received: by 2002:a9d:30c8:: with SMTP id r8mr17204216otg.363.1573937133999; Sat, 16 Nov 2019 12:45:33 -0800 (PST) MIME-Version: 1.0 References: <20191004114330.104746-1-Jonathan.Cameron@huawei.com> <20191004114330.104746-2-Jonathan.Cameron@huawei.com> <20191113094742.00000dc4@huawei.com> <77b6a6e8-9d44-1e1c-3bf0-a8d04833598d@intel.com> <20191113174845.000009d3@huawei.com> <20191114112504.00005b61@huawei.com> In-Reply-To: <20191114112504.00005b61@huawei.com> From: Dan Williams Date: Sat, 16 Nov 2019 12:45:23 -0800 Message-ID: Subject: Re: [PATCH V5 1/4] ACPI: Support Generic Initiator only domains To: Jonathan Cameron Cc: Tao Xu , Linux MM , Linux ACPI , Linux Kernel Mailing List , Linux ARM , X86 ML , Keith Busch , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , "Rafael J . Wysocki" , Linuxarm , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 14, 2019 at 3:27 AM Jonathan Cameron wrote: [..] > Hi Dan, > > Agreed that it makes sense to expand how we describe these cases a bit. > To make sure I've understood correctly let me paraphrase what you > are proposing (and tweak it a bit ;) > > Assuming for this purpose we don't put GIs in CPU nodes as that makes > for really fiddly explanation. In reality the code will need to handle > that. > > 1) Leave access0 as it currently is with this series - so continue to > not distinguish between CPU nodes and Generic Initator containing ones? Yes, but with the caveat that I think 2) also needs to be part of the series before it goes upstream. I.e. don't regress the amount of default information just because a generic initiator is present. > 2) Add access 1 which is effectively access0 ignoring Generic Initiators? Effectively yes, but I'd say it differently. Always display the access class for the local initiator as defined by the HMAT as access0, but also include the "local" cpu node. > My feeling is that any existing users of access0 are definitely not going > to be expecting generic initiators, so we might want to do this the other > way around. access0 is only CPUs and memory, access1 is including > generic initiators. If there are no GIs don't expose access1 at all? There are no consumers of the information that I know of, so I do not see the risk of regression. > For now we could simply block the GI visibility in access0 and deal > with access1 as a separate series. I suspect we will get push back > as there are no known users of our new access1 so it may take a while > to prove utility and get it accepted. The problem is that HMAT gives an unequivocal answer for "local" because it lists it in the table explicitly. Everything else is a subjective determination from parsing the performance data and picking a metric. If access0 is a GI, then let sysfs just reflect that truth.