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 4BF2CC04A95 for ; Tue, 25 Oct 2022 11:06:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229613AbiJYLG3 (ORCPT ); Tue, 25 Oct 2022 07:06:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231357AbiJYLG2 (ORCPT ); Tue, 25 Oct 2022 07:06:28 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D6E1183DAA for ; Tue, 25 Oct 2022 04:06:28 -0700 (PDT) Received: from frapeml100004.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4MxTbj3hfkz6H73Y; Tue, 25 Oct 2022 19:04:33 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (7.191.163.240) by frapeml100004.china.huawei.com (7.182.85.167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 25 Oct 2022 13:06:26 +0200 Received: from localhost (10.202.226.42) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 25 Oct 2022 12:06:25 +0100 Date: Tue, 25 Oct 2022 12:06:24 +0100 From: Jonathan Cameron To: Dave Jiang CC: , , , , Subject: Re: [PATCH] cxl: update eiw_to_ways() comment referring to cxl spec Message-ID: <20221025120624.00001516@huawei.com> In-Reply-To: <166664850753.511468.15931290944330812647.stgit@djiang5-desk3.ch.intel.com> References: <166664850753.511468.15931290944330812647.stgit@djiang5-desk3.ch.intel.com> 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.202.226.42] X-ClientProxiedBy: lhrpeml100001.china.huawei.com (7.191.160.183) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-cxl@vger.kernel.org On Mon, 24 Oct 2022 14:55:07 -0700 Dave Jiang wrote: > Change comment pointing to CLX ECN to the releveant released rev3 spec. > > Suggested-by: Alison Schofield > Signed-off-by: Dave Jiang Confirmed reference is correct. Reviewed-by: Jonathan Cameron > --- > drivers/cxl/cxl.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cxl/cxl.h b/drivers/cxl/cxl.h > index e2a1a7523a2b..512ba28a6349 100644 > --- a/drivers/cxl/cxl.h > +++ b/drivers/cxl/cxl.h > @@ -77,7 +77,7 @@ static inline int eig_to_granularity(u16 eig, unsigned int *granularity) > return 0; > } > > -/* Encode defined in CXL ECN "3, 6, 12 and 16-way memory Interleaving" */ > +/* Encode defined in CXL rev3.0 8.2.4.19.7 CXL HDM Decoder n Control Register */ > static inline int eiw_to_ways(u8 eiw, unsigned int *ways) > { > switch (eiw) { > >