From patchwork Thu Apr 27 16:07:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dave Hansen X-Patchwork-Id: 88305 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp380569vqo; Thu, 27 Apr 2023 09:12:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6hUzALDrgp1/poq0OhNoCv34yj/3yAs5yWlb3fFAeLKpt7Ry5I4WyrjVZSZQbl6BW1zOqn X-Received: by 2002:a05:6a00:1142:b0:63d:255f:36f4 with SMTP id b2-20020a056a00114200b0063d255f36f4mr3026909pfm.3.1682611971205; Thu, 27 Apr 2023 09:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682611971; cv=none; d=google.com; s=arc-20160816; b=FUJE+9R5CMTKJHlQuw9xxhcJNpwtWZ5EZv0+OroWgYpaD6c3nG1WdytTM9UBrGREIi bVQ4f65cs+oPYMVtLLanUUYJUX1YNGz7gdWX1TS0WsLMU4PH8AmUOoAhUxtp389UJNeZ PQg1mI/Df3il+svaVKBBX5WITvUND4A/B/KhisA2nfzz6Epkfd7urbSjWiz8L0w7/6zl iTpYrqEa1SFKV5iMbF7I9cWzNE+7Q+NsDjuve5gO2BHWSVhnEbFBM7DnHnopwC3CRZGj eYMRr5AIoAr5PtYyjFoHiPwEZFSn1h9hutW+cgq5TI/M8y/jIihV1AWwvdxi1Ne91O5Y QaZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=4QlJYpaCRz/ftXh7WGyH99bhaBp4iZ+/Ps+253rtP5k=; b=NVEqkJVWqKfARq5PhmD2NF6BNp+G/pn2aedHKiZoN6K2UXrKqL8pjnaDtZ35GH+nqu uWXTdJPBY/1HNFS6WloAQje+gLYawWOsAaVRcYQZKVPyljF/H14eDWX2/EQuDn5y/zWp 64maNj5tgqXjyi1ykO65NA9xlrxGMqYIMt+6xS5golyIgNv8XHow6gRgsntYBnOHfZVa LGSdXKT/kdsjMC7UPPtJ3uqqO+YDzWj78D9yWBoTXxIiELhG0SG6FJg/6/NADjfAtgTd Ry+2SS8XJmDg++zXedTP40NAjEafSlQKI+L8v8Jrp1Us2srI+ewF5iu0BBGdpdOa83W1 Ajow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PAgV1rrS; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a85-20020a621a58000000b0062ae6345c78si19194637pfa.403.2023.04.27.09.12.35; Thu, 27 Apr 2023 09:12:51 -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=@intel.com header.s=Intel header.b=PAgV1rrS; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244083AbjD0QJ6 (ORCPT + 99 others); Thu, 27 Apr 2023 12:09:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243023AbjD0QJs (ORCPT ); Thu, 27 Apr 2023 12:09:48 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 925232709 for ; Thu, 27 Apr 2023 09:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682611787; x=1714147787; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ClPSbSMHZ6APwD7FTUJlRhQUb9hDopzA54r4WXXsdLo=; b=PAgV1rrSMCjykON0mG7TIQ8wVrPHah2uRCuxGZJZ6Uz252ZCjz39s/LN Nsz18TdC74EEv+vIwiBRwPvlzEFVOLs0TluKLXfbds7V4rR0HwCYcQXpS 4EFjLwLCo6o+LMMcGGY0pGRzWalkotZL7Vm8EU4ho6JuxcASRctoKri/T 2CckRC4MVvQBDpaWByHZIMcPsm7gw027iMtIzUM9CYMXtfHKALK2jhnxc 7lzo3XcY3VmdGbwAV//7vANQl2txqapT/qya6ot9u51ceY3p07BxOxj5c 4HpwZ0f+dscvmXuPdnj/P4nH/B9bvbGDpX27qW+ir6Y3bS1GSDHPVtaNH w==; X-IronPort-AV: E=McAfee;i="6600,9927,10693"; a="375470148" X-IronPort-AV: E=Sophos;i="5.99,230,1677571200"; d="scan'208";a="375470148" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2023 09:07:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10693"; a="644759794" X-IronPort-AV: E=Sophos;i="5.99,230,1677571200"; d="scan'208";a="644759794" Received: from viggo.jf.intel.com (HELO ray2.sr71.net) ([10.54.77.144]) by orsmga003.jf.intel.com with ESMTP; 27 Apr 2023 09:07:53 -0700 From: Dave Hansen To: torvalds@linux-foundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Dave Hansen Subject: [GIT PULL] x86/cache for 6.4 Date: Thu, 27 Apr 2023 09:07:39 -0700 Message-Id: <20230427160739.1053203-1-dave.hansen@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1764346530322845017?= X-GMAIL-MSGID: =?utf-8?q?1764346530322845017?= Hi Linus, Please pull some x86/cache changes for 6.4. This contains a single commit that reduces unnecessary hardware counter reads and also just plain makes the code more readable. --- The following changes since commit eeac8ede17557680855031c6f305ece2378af326: Linux 6.3-rc2 (2023-03-12 16:36:44 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_cache_for_6.4 for you to fetch changes up to 322b72e0fd10101f2da8985b31b4af70f184bf79: x86/resctrl: Avoid redundant counter read in __mon_event_count() (2023-03-15 15:44:15 -0700) ---------------------------------------------------------------- Reduce redundant counter reads with resctrl refactoring ---------------------------------------------------------------- Peter Newman (1): x86/resctrl: Avoid redundant counter read in __mon_event_count() arch/x86/kernel/cpu/resctrl/monitor.c | 43 ++++++++++++++++------------------- 1 file changed, 19 insertions(+), 24 deletions(-)