From patchwork Fri Nov 3 20:18:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Harris X-Patchwork-Id: 161432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp1291979vqu; Fri, 3 Nov 2023 13:19:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEOk9OQVtMNJhX6R7D2qTX+7OiQPI0aTPMooU+qUJYWFHW4jAIFMAhWwiWmn5AcGAp8wgK X-Received: by 2002:a05:6871:2283:b0:1d5:f070:d518 with SMTP id sd3-20020a056871228300b001d5f070d518mr21178948oab.52.1699042756241; Fri, 03 Nov 2023 13:19:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699042756; cv=none; d=google.com; s=arc-20160816; b=ORI8gYgtGdKeb/V5F8uguJdcwNBVXiN6ap13Wao9X0tiX4NWeIoLL1dwIW/aGYYUY9 UZjK455nXKZCXbQNUAaAtRoeOlTdcYOkQkOv8YH1M70A/cGoDEE2vXVEgf99q96IQ0Zc UvNaPH2REHlIERI9mzhJMXO0HcOD6R6+dmOjv37/Yu813Ve8m8fpHuvfDHO8AnvOy0/u zjxE5MvHdMOaPch7mytX/9p5LYdu0p5KFCzcF79mdl2rpiz7EPZRDPnjDxkHCOOd41FO ow+EzahIC2LG9CB9R+gW9yoU+0Zr3/og4SJA0UC8v4EIpGCnWN9LUHs9KfoLyJ8sFbkn aGIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:mime-version :content-transfer-encoding:content-id:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :to:from:dkim-signature:dkim-filter; bh=e576S7CjUbGKecjfqTWMMj9uJ2tcdjBzvms2BDsK5HE=; fh=LQGAq9x3TWIdgLSfI6OTOYbuXWJq0A5H8df3z6844lE=; b=BOnlTS6oqZu88tuJdgosSNGYdfGf365zbJ4SNmJk51uzzgZEuou9GMkuqLpnxaQusf Nw6boYf4Q7cQuXCjRSe1Z5GwsTSToePccue1u02034N/Hz8gHn9dMsjW/3l+CQWUv7J2 QBVExt0RvE3pBRJiC2H1UTOCjrrxKFYDMCEryx6mkJEWnUYDQNKm35j1Q3HeAXoluvU/ ibv5qTOs0Oy5m8spMrzQV13+1e/NPQ4NWtAOrFVh1GaSW3wTy55rIl5Y62BDzCXAnCfV 6PpWY0sdsFrFt9u/QlSQUir90alxgphAH5KNA5L8b36nXgm3vweTZBRBZY8L5EFA2Ebr M5OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=nBgAGflD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id r7-20020a63e507000000b005b7160263efsi2154887pgh.489.2023.11.03.13.19.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 13:19:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=nBgAGflD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 59724839A933; Fri, 3 Nov 2023 13:19:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378223AbjKCUS7 (ORCPT + 35 others); Fri, 3 Nov 2023 16:18:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378188AbjKCUSp (ORCPT ); Fri, 3 Nov 2023 16:18:45 -0400 Received: from mailout2.w2.samsung.com (mailout2.w2.samsung.com [211.189.100.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 199F11AA; Fri, 3 Nov 2023 13:18:40 -0700 (PDT) Received: from uscas1p2.samsung.com (unknown [182.198.245.207]) by mailout2.w2.samsung.com (KnoxPortal) with ESMTP id 20231103201836usoutp025e89f242c06b081ff5bac6a305f0d8a1~UNlktMzv93064030640usoutp02e; Fri, 3 Nov 2023 20:18:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w2.samsung.com 20231103201836usoutp025e89f242c06b081ff5bac6a305f0d8a1~UNlktMzv93064030640usoutp02e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1699042716; bh=e576S7CjUbGKecjfqTWMMj9uJ2tcdjBzvms2BDsK5HE=; h=From:To:Subject:Date:References:From; b=nBgAGflDJ4sG+S2Ydm84dQ4uOb8E2o5HLGxyXh4dTN+1sEsca9y4wVXOe0TIDygCp 0npUkeRm+bay2I/v45YSbA5EuXTv0utfXU12CrtjEDroe+okM3EYTaStHF1vX3etj/ aJowKkLz7j7h9UpkL/TlK5QQEBnW3pkYCLTD3xG4= Received: from ussmges1new.samsung.com (u109.gpu85.samsung.co.kr [203.254.195.109]) by uscas1p2.samsung.com (KnoxPortal) with ESMTP id 20231103201835uscas1p2f0d035fbdfbef7ec88cc2af5cb6355c7~UNlkVVGJO1816418164uscas1p2H; Fri, 3 Nov 2023 20:18:35 +0000 (GMT) Received: from uscas1p1.samsung.com ( [182.198.245.206]) by ussmges1new.samsung.com (USCPEMTA) with SMTP id BF.B6.50148.B9555456; Fri, 3 Nov 2023 16:18:35 -0400 (EDT) Received: from ussmgxs3new.samsung.com (u92.gpu85.samsung.co.kr [203.254.195.92]) by uscas1p2.samsung.com (KnoxPortal) with ESMTP id 20231103201835uscas1p29ca7f76ed5e4c829bfb022a040202d73~UNlkBjrnr1793517935uscas1p2I; Fri, 3 Nov 2023 20:18:35 +0000 (GMT) X-AuditID: cbfec36d-559ff7000002c3e4-7c-6545559bddac Received: from SSI-EX2.ssi.samsung.com ( [105.128.3.66]) by ussmgxs3new.samsung.com (USCPEXMTA) with SMTP id BF.39.31410.B9555456; Fri, 3 Nov 2023 16:18:35 -0400 (EDT) Received: from SSI-EX2.ssi.samsung.com (105.128.2.227) by SSI-EX2.ssi.samsung.com (105.128.2.227) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.1.2375.24; Fri, 3 Nov 2023 13:18:34 -0700 Received: from SSI-EX2.ssi.samsung.com ([105.128.2.227]) by SSI-EX2.ssi.samsung.com ([105.128.2.227]) with mapi id 15.01.2375.024; Fri, 3 Nov 2023 13:18:34 -0700 From: Jim Harris To: Davidlohr Bueso , Jonathan Cameron , Dave Jiang , "Alison Schofield" , Vishal Verma , Ira Weiny , Dan Williams , Fan Ni , "linux-cxl@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH] cxl/region: fix x9 interleave typo Thread-Topic: [PATCH] cxl/region: fix x9 interleave typo Thread-Index: AQHaDpLrd95Ds0IdwU+fCUHJLUtW4w== Date: Fri, 3 Nov 2023 20:18:34 +0000 Message-ID: <169904271254.204936.8580772404462743630.stgit@ubuntu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [105.128.2.176] Content-ID: MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTcRTH+917d70aq+taepphuTJMcDlM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f76ed5e4c829bfb022a040202d73 CMS-TYPE: 301P X-CMS-RootMailID: 20231103201835uscas1p29ca7f76ed5e4c829bfb022a040202d73 References: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 03 Nov 2023 13:19:11 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781575457263589600 X-GMAIL-MSGID: 1781575457263589600 CXL supports x3, x6 and x12 - not x9. Fixes: 80d10a6cee050 ("cxl/region: Add interleave geometry attributes") Signed-off-by: Jim Harris Reviewed-by: Dave Jiang Reviewed-by: Fan Ni --- drivers/cxl/core/region.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cxl/core/region.c b/drivers/cxl/core/region.c index 6d63b8798c29..d295b3488e4a 100644 --- a/drivers/cxl/core/region.c +++ b/drivers/cxl/core/region.c @@ -403,7 +403,7 @@ static ssize_t interleave_ways_store(struct device *dev, return rc; /* - * Even for x3, x9, and x12 interleaves the region interleave must be a + * Even for x3, x6, and x12 interleaves the region interleave must be a * power of 2 multiple of the host bridge interleave. */ if (!is_power_of_2(val / cxld->interleave_ways) ||