From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46425C43334 for ; Wed, 20 Jul 2022 16:58:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235439AbiGTQ6p (ORCPT ); Wed, 20 Jul 2022 12:58:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231842AbiGTQ6p (ORCPT ); Wed, 20 Jul 2022 12:58:45 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4C146716A; Wed, 20 Jul 2022 09:58:43 -0700 (PDT) Received: from fraeml705-chm.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Lp1xs0dvxz67tGk; Thu, 21 Jul 2022 00:54:09 +0800 (CST) Received: from lhreml710-chm.china.huawei.com (10.201.108.61) by fraeml705-chm.china.huawei.com (10.206.15.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2375.24; Wed, 20 Jul 2022 18:58:41 +0200 Received: from localhost (10.81.205.121) by lhreml710-chm.china.huawei.com (10.201.108.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 20 Jul 2022 17:58:40 +0100 Date: Wed, 20 Jul 2022 17:58:39 +0100 From: Jonathan Cameron To: Dan Williams CC: , Ben Widawsky , , , Subject: Re: [PATCH v2 14/28] cxl/hdm: Add sysfs attributes for interleave ways + granularity Message-ID: <20220720175839.00003182@Huawei.com> In-Reply-To: <165784332235.1758207.7185062713652694607.stgit@dwillia2-xfh.jf.intel.com> References: <165784324066.1758207.15025479284039479071.stgit@dwillia2-xfh.jf.intel.com> <165784332235.1758207.7185062713652694607.stgit@dwillia2-xfh.jf.intel.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.29; i686-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.81.205.121] X-ClientProxiedBy: lhreml754-chm.china.huawei.com (10.201.108.204) To lhreml710-chm.china.huawei.com (10.201.108.61) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-cxl@vger.kernel.org On Thu, 14 Jul 2022 17:02:02 -0700 Dan Williams wrote: > From: Ben Widawsky > > The region provisioning flow involves selecting interleave ways + > granularity settings for a region, and then programming the decoder > topology to meet those constraints, if possible. For example, root > decoders set the minimum interleave ways + granularity for any hosted > regions. > > Given decoder programming is not atomic and collisions can occur between > multiple requesting regions userspace will be responsible for conflict > resolution and it needs these attributes to make those decisions. > > Signed-off-by: Ben Widawsky > [djbw: reword changelog, make read-only, add sysfs ABI documentaion] > Signed-off-by: Dan Williams Reviewed-by: Jonathan Cameron