Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp12634349rwd; Fri, 23 Jun 2023 08:35:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ZTeD83Axlu90Ah8ehd8G3HKK5DAxYXPDTfq60y16ph69tD/rV7vAnKFsUCLXx24ED0S7n X-Received: by 2002:a05:6808:1441:b0:398:3152:fc35 with SMTP id x1-20020a056808144100b003983152fc35mr29299685oiv.38.1687534556741; Fri, 23 Jun 2023 08:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687534556; cv=none; d=google.com; s=arc-20160816; b=GOvwUHa9+/4Z48bzebZjhg2aZPetdDc5x4nVmIYv86m9RjHhhpjnKGjdy24XSRgphM nQy+fo/7zGrLuFAzaXXepqR4SWl18iqQCKex4HpsziDhy5MgI9iY496lp9cXnw3UfRwu yhCBKfPfzT/MtNl3uAOxInBq+swBX4pNjP7wbj9vopffebSd3yz7ivpy73081Gh0h0Uo istOEqlSDDfLsISTzUxp8uHyYcWjvCdghmf4Lwu4e5YLpPDzHu/KVaScxx1jvbQWE/Gk P3ZqIPXLR2gElfohvHnbuZqRGb3FCkLbjk5YtEM2kMoK3F52XU6C2Rnk0w1oS10S0OOx /XNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=k9o7YVEzoV5lz+8vLzrqhGQ2D/1rlU+02uMgaoqMDIE=; b=aiyC2jjhsHieelRQo0chaRXLThkt2HM1sOyY5Ilk4Qs5hhEfnpXwC3IqM2vCcbmXo3 CYvDkYsJMRwT7NZBOIU/nB86WOVyLmLEaGC/t8BdBcMJPHmdomAOCNWc2/IEJQbDuUvr C/PXcyesefULIYQm+xjpKyylKGV30hHlaLPQb7DBcJOJuMjSVmR1y7b7jjPP1yMynx1m BFz+xcxqK9sdhTaqc9reLX/8+ajydhYWFjCgw8XcVLcKa9a8vRYWVINql4FCjvDF3acQ RLU86qn2pQdNm7V6Q4CDoXit59RBnupKnpHSlNbvd6h6GucN8IhhXA1hhCKZ7triZd+D whzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="XOZa9v/7"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a656687000000b0054f904a0a0dsi9072783pgw.624.2023.06.23.08.35.44; Fri, 23 Jun 2023 08:35:56 -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=@google.com header.s=20221208 header.b="XOZa9v/7"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231476AbjFWPUd (ORCPT + 99 others); Fri, 23 Jun 2023 11:20:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231755AbjFWPTv (ORCPT ); Fri, 23 Jun 2023 11:19:51 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42FE52112 for ; Fri, 23 Jun 2023 08:19:49 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id d75a77b69052e-40079b6fc56so213701cf.1 for ; Fri, 23 Jun 2023 08:19:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687533588; x=1690125588; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=k9o7YVEzoV5lz+8vLzrqhGQ2D/1rlU+02uMgaoqMDIE=; b=XOZa9v/7zkAy73pr3ZosKiB+YlVu1jh81K1h3okUGFyHrTz3LBIiwz9T7hZZYuYYoP 1eJXPInd8MxtXYaRsw3/KyCOmOCEOd4vH//EOjT3V1LeHr9MjT6UKbp9Wz7taUTe9er9 HvdSX2AdFgfPC1+iC8ASCipcxIuLrvmfGn7ikZ2wffnpoFwOXYpNpkkZeeeiTnHw8UEl FuIKXZes0KemJ79vfVC7K8DTPCIJNd0cc8Ml8Ax7SgBqks232XTp2TBiapLSkhzGSvjK gO0L5GkCvIadtQSpbolNbX4PFQAuIaaPbCJmPwv2afZ0sDJ+WKTKlaYYJyahHnJOvmAd /xWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687533588; x=1690125588; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k9o7YVEzoV5lz+8vLzrqhGQ2D/1rlU+02uMgaoqMDIE=; b=gfHQ4R8G1tgZXymsGlvTO8eZnQ1CDrymbTZmHw6zHZ0ITWrKnkZaih6GZfNqi61JkP bi5ge1m3tTZb4BbSUNOsawuVJM8oJtqG69oRZZP039/AbNGdJ5rCG26rfTmH41SD1G45 uhLPk8nAS3Ndu4NGZjHiyGoUgN3WXu0dATqOu1AaRQGJYP2Q3lFXNJGekVl8eiP7QBRV xzDPzEMv5jmb4Gn4ASSikHD1utLg3D4nHpQGLDQpaEr1v50PxXUuVa+VIUhdisEqzO05 KC3BE3R2CnmhgFJs/ppTO6U78rNv9g7fyZp+HPzibBMdKDtkwDPVodVScigRXzepEIj3 EXOQ== X-Gm-Message-State: AC+VfDz1sVznnfqZEeWamm93E7/a7EO2Z+oGZrsrt0AmtRcgFfPc9XXw YOHwNlxDsvlLapV2MH+TdkTHQAADxe7sgzIc7IpeJg== X-Received: by 2002:ac8:5952:0:b0:3ef:5f97:258f with SMTP id 18-20020ac85952000000b003ef5f97258fmr143411qtz.16.1687533588350; Fri, 23 Jun 2023 08:19:48 -0700 (PDT) MIME-Version: 1.0 References: <20230621174006.42533-1-tony.luck@intel.com> <20230621174006.42533-8-tony.luck@intel.com> In-Reply-To: From: Peter Newman Date: Fri, 23 Jun 2023 17:19:37 +0200 Message-ID: Subject: Re: [PATCH v2 7/7] x86/resctrl: Determine if Sub-NUMA Cluster is enabled and initialize. To: "Luck, Tony" Cc: "Yu, Fenghua" , "Chatre, Reinette" , Jonathan Corbet , "x86@kernel.org" , Shaopeng Tan , James Morse , Jamie Iles , Babu Moger , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "patches@lists.linux.dev" , "Eranian, Stephane" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Hi Tony, On Thu, Jun 22, 2023 at 6:02=E2=80=AFPM Luck, Tony wr= ote: > > > Unfortunately I'm not getting as good of results with the new series. > > The main difference seems to be updating the 0xca0 MSR instead of > > applying the offset to PQR_ASSOC. > > I think I may have reversed the actions to update the MSR in one of > my refactor/rebase. The comment here is correct, but that's not > what the code is doing :-( > > Can you swap the bodies of these two functions and retest? It's a small improvement, but still not great. Still only node 0 giving believable results, but at least no more empty results from the second package. I poked around in /proc/kcore and noticed that my snc_ways is still 1, thou= gh. -Peter