Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp876553rwd; Tue, 13 Jun 2023 01:21:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52MKj48nd9nGF3fGMo9LeyYAbORVdFpWTjQqxVVgsKPeBO3ctvb8kQu3F8CGSq+yjg1wY1 X-Received: by 2002:a17:907:2688:b0:967:a127:7e79 with SMTP id bn8-20020a170907268800b00967a1277e79mr11443478ejc.28.1686644479843; Tue, 13 Jun 2023 01:21:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686644479; cv=none; d=google.com; s=arc-20160816; b=EdZj6bPFS4GcTaW+rR9c8rW+hzhfzGzhCCZCupNAK+jo1EXZ/URdHMbrEGP8sSoX/N 19m7/MN+uAwDuqqE1dDpy3jQLicC3M9GAnXg59d8YKQCT0MPX2OKHIJibwc1H8S0O4Jr ynDYypC2HjS5x8ENjZqy9QYCCLnQvq0iU7PD4PXr+7ouPT3QHrNiwU1WLlUFhQmTblIy 7Nb7yOmjDaSNOtBJMzKxSNnjhfRtnqbu+AJYuitbQKL3rAgsRh4mouduftkIKqLIfPsO vPef1ISbigvf2GPGCoDLvlp+cwXLyUXmpCX8II3a1TRVEYJdex0EOCTOViuoqPWykhAm zHsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=BXltckv9T7NV6wbxCtsxc6IhAOqJS+RzyAr4Uz9E9Qc=; b=jhyJu2ti3I7sY9e4O5+S+cWGeOSKluMTXq+qDmDjXMEYs1COnw0kza9BruEJv7LrVJ tFymJgO0DQZb91/xlb6g36vpUtnj0usmizJq5py156qTsH8++0jgyS3svESGi4DkI32u eyWmeg74h9SMv0JvTENUXn35AnKtuPVR4364boZ+XdRBoXTxSSKNkFS9FItqZQIidFkl yRNwJhXboNSZNzvpgMAMBmolzJz4EvHwdCgmcqIwhAn3usEo8o6jNH3bYzNxHGIoAj+u AojQrMyOK0rxVj+Lcs/9V8HvSfLU8+7CTZ+iTZbybDqqBovYKk9GHq4xbiVUzr2wAn6W +Hrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rVLOG4lJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n20-20020a1709061d1400b0097d77a5f035si4963962ejh.680.2023.06.13.01.20.54; Tue, 13 Jun 2023 01:21:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rVLOG4lJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237090AbjFMH6b (ORCPT + 99 others); Tue, 13 Jun 2023 03:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240721AbjFMH56 (ORCPT ); Tue, 13 Jun 2023 03:57:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAF0C1FC1; Tue, 13 Jun 2023 00:57:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2F74C62A2C; Tue, 13 Jun 2023 07:57:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 410FFC433EF; Tue, 13 Jun 2023 07:57:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1686643028; bh=XZcRKllUDNwn2KB+yvdCn+WcXnldLMqtBn28JoqAwAs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rVLOG4lJhh5nhCufoSbyVcE1QEDmhGeLg1W0JkZcRgXj1ET7Sg9f+xe2zE/Q197Y3 pJg0YJSvPPbAtn3qdfzqKSme8VbbTLoDV4NQKASwOWwN3eeLPOztUFwZQedHvBrXNt 2fFpF4Vqqn/rcBe0SNOrl9X+LuZBUDWMB49GFaP8= Date: Tue, 13 Jun 2023 09:57:05 +0200 From: Greg KH To: Dave Jiang Cc: linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org, Dan Williams , rafael@kernel.org, jonathan.cameron@huawei.com Subject: Re: [PATCH v2] base/node / acpi: Change 'node_hmem_attrs' to 'access_coordinates' Message-ID: <2023061331-napkin-disburse-915d@gregkh> References: <168660916231.1965241.248859226126456131.stgit@djiang5-mobl3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <168660916231.1965241.248859226126456131.stgit@djiang5-mobl3> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 12, 2023 at 03:32:42PM -0700, Dave Jiang wrote: > Dan Williams suggested changing the struct 'node_hmem_attrs' to > 'access_coordinates' [1]. The struct is a container of r/w-latency and > r/w-bandwidth numbers. Moving forward, this container will also be used by > CXL to store the performance characteristics of each link hop in > the PCIE/CXL topology. So, where node_hmem_attrs is just the access > parameters of a memory-node, access_coordinates applies more broadly > to hardware topology characteristics. The observation is that seemed like > an excercise in having the application identify "where" it falls on a > spectrum of bandwidth and latency needs. For the tuple of read/write-latency > and read/write-bandwidth, "coordinates" is not a perfect fit. Sometimes it > is just conveying values in isolation and not a "location" relative to > other performance points, but in the end this data is used to identify the > performance operation point of a given memory-node. [2] > > Link: http://lore.kernel.org/r/64471313421f7_1b66294d5@dwillia2-xfh.jf.intel.com.notmuch/ > Link: https://lore.kernel.org/linux-cxl/645e6215ee0de_1e6f2945e@dwillia2-xfh.jf.intel.com.notmuch/ > Suggested-by: Dan Williams > Reviewed-by: Dan Williams > Signed-off-by: Dave Jiang > > --- > > Hi Greg and Rafael, > please consider ACK this patch and Dan can take it through the > CXL upstream tree. The remaining ACPI [1] and CXL [2] patches for enabling > CXL QoS class data have dependency on this patch. Thank you! > > [1]: https://lore.kernel.org/linux-cxl/168333141100.2290593.16294670316057617744.stgit@djiang5-mobl3/T/#t > [2]: https://lore.kernel.org/linux-cxl/168451588868.3470703.3527256859632103687.stgit@djiang5-mobl3/T/#t Isn't this going to conflict with the version that I have in the driver-core-next tree as commit 7810f4dc8795 ("base/node: Use 'property' to identify an access parameter")? Or was that a different thing? thanks, greg k-h