Message ID | 20221116-acpi_hmat_fix-v2-0-3712569be691@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp118953wrr; Wed, 16 Nov 2022 15:44:18 -0800 (PST) X-Google-Smtp-Source: AA0mqf4tfHW63Q2TrMoCwMFH5fs06EvLrM8ExGT5+618GkENIqvEvhWmIqw13dxAqMZQClKIHxyO X-Received: by 2002:a17:906:d85:b0:7ae:3a88:9487 with SMTP id m5-20020a1709060d8500b007ae3a889487mr119416eji.193.1668642258711; Wed, 16 Nov 2022 15:44:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668642258; cv=none; d=google.com; s=arc-20160816; b=gPLdsq6FgH8G+9/GdwCef5HJU6Ta9K1PowKIFgmJaxEBkXjvjHc2RHXJGF1YOKkhUT Q9M2YIuyXP8/iTB+BuKrM/XBCsEEL1OVfL1Txph/t/mO91Ra31Q89Nx69MQev6amrE8T aukdyaN0t1PJItryWymlti/5oatc0PE/JL3JpDPlmUouFrESrCI4//6bUdp03iaN4IeP Jn0Voy8kHxmwDgATcIy4qdTMYbtjQfo/4ihCUzDto2xPABR9iSNqO74QtVTS8YQvWR/r 0bDsSAZOwE4xy3tEw1Q+WleVQ6lcA5kM5ivLI4w21uv+aw2TDNQq04x/pherPXuG7PyZ bm2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:message-id:date:from :content-transfer-encoding:mime-version:subject:dkim-signature; bh=Xi1Kqn/tR9/2IKLlUPT8p6H6Dlt0a/3+b5cKUWoAB/s=; b=eL0EuktzNiRpVQvyY445yCI2kgK7+ljlP9EtMwIXBh4LCNefzMwBQrEZ5c3/pqoGYm zIm3WHzjkc/VTQgECmEDl0XBy0FXA+JV8BDBhKf2nufEoK+ryrdGKq2A/POBgpMYF2Ic gx9Bz3w2cx/mS+rIAwukFlrv0bltpxHrWUzG3VnZbeFlhyUgXqyGDBJCNMoM8kyHOuOW /9B0snF/uswtn/fXXJM2MuCMldGoKVZE0lYoHMw/R+cnZAbM8T1vPE3EW+eT2nA1tVOX sjC3MMjUzEIy8eDUmpl4ktXwjM1TWyX6KarGg0MK541Xxc4eO3+p+Jq4CcknIRZcsPYw CM+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gvC8nGez; 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 qb24-20020a1709077e9800b0078e1a6fbe12si17843173ejc.16.2022.11.16.15.43.56; Wed, 16 Nov 2022 15:44:18 -0800 (PST) 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=gvC8nGez; 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 S234525AbiKPXmt (ORCPT <rfc822;just.gull.subs@gmail.com> + 99 others); Wed, 16 Nov 2022 18:42:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238946AbiKPXme (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 16 Nov 2022 18:42:34 -0500 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51FD06F36D; Wed, 16 Nov 2022 15:41:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1668642088; x=1700178088; h=subject:mime-version:content-transfer-encoding:from:date: message-id:to; bh=gcknXCLuemBiw6QyYPT0m60B03ddAIIJISsWvFv8N2A=; b=gvC8nGezjg2vJC8Y/Pz/9r3y13zbtrwNeatmAvIPAC8aBeBVM6MI7H2k Yz49o4s2mFNMG5q3k063JV1d5mkNgbw6KiYGQm5m6jRf+Ndr7Wsx7zC0d KwXT2vVp3/9/308iT92lbvwvchPp4hRHC87MWExmQOGe6cNOEXPh35j3G +Hdv4xHI9JE2wtWo8DxJFTVybiuL+0UTEq6T/sbsMmbtvB3PDP5CML+rg hgVOdSzRb7iKMiFd/dGk5dyLn7D/81kdLr9OEJzB/0AbIjDJKSHz7tPYR KvMquCKmVkVRjdO5cZjWsJS0XAVT9XrcyUq+nOOcOkcQsphiqx4tx/8BS A==; X-IronPort-AV: E=McAfee;i="6500,9779,10533"; a="292405778" X-IronPort-AV: E=Sophos;i="5.96,169,1665471600"; d="scan'208";a="292405778" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2022 15:41:28 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10533"; a="641848518" X-IronPort-AV: E=Sophos;i="5.96,169,1665471600"; d="scan'208";a="641848518" Received: from jjeyaram-mobl1.amr.corp.intel.com (HELO [192.168.1.28]) ([10.212.1.223]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Nov 2022 15:41:27 -0800 Subject: [PATCH v2 0/2] ACPI: HMAT: fix single-initiator target registrations MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-b4-tracking: H4sIAD90dWMC/z2OwQrCMBBEf6Xs2YQk1YZ68j9EynZNzUKaSFKLUvrvBg+ehhl4M7NBcZldgXOzQX YrF06xGnNogDzGhxN8rx6MMkZr3QmkJw9+xmWY+C0s0nQcCVtLCiozYnFizBjJVyq+Qqih57Kk/Plt rLrK9V+n7Mm2ndS96rteCS3qA49BBrm6POOF4+KCpDTDbd/3L3hSabKuAAAA From: Vishal Verma <vishal.l.verma@intel.com> Date: Wed, 16 Nov 2022 16:37:35 -0700 Message-Id: <20221116-acpi_hmat_fix-v2-0-3712569be691@intel.com> To: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>, Vishal Verma <vishal.l.verma@intel.com>, linux-kernel@vger.kernel.org, Chris Piper <chris.d.piper@intel.com>, nvdimm@lists.linux.dev, linux-acpi@vger.kernel.org, "Rafael J. Wysocki" <rafael@kernel.org>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Dan Williams <dan.j.williams@intel.com>, Liu Shixin <liushixin2@huawei.com>, stable@vger.kernel.org X-Mailer: b4 0.11.0-dev-d1636 X-Developer-Signature: v=1; a=openpgp-sha256; l=1380; i=vishal.l.verma@intel.com; h=from:subject:message-id; bh=gcknXCLuemBiw6QyYPT0m60B03ddAIIJISsWvFv8N2A=; b=owGbwMvMwCXGf25diOft7jLG02pJDMmlpeqLbCaqG/ZfYnqxx+nhqoR3PKfqXh/hYqsqXyDMtOJO 9MGfHaUsDGJcDLJiiix/93xkPCa3PZ8nMMERZg4rE8gQBi5OAZiInCzDP4Vfyk9MrX5umfrqYflbtu meV6foTm1bxyRpUbljS4mbyXKG/9X2l2XXX1yVdbupbdVGjmTG6hWRbzaWzyzmclKJEpdjYwYA X-Developer-Key: i=vishal.l.verma@intel.com; a=openpgp; fpr=F8682BE134C67A12332A2ED07AFA61BEA3B84DFF X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749698225007169034?= X-GMAIL-MSGID: =?utf-8?q?1749698225007169034?= |
Series |
ACPI: HMAT: fix single-initiator target registrations
|
|
Message
Verma, Vishal L
Nov. 16, 2022, 11:37 p.m. UTC
Patch 1 is an obvious cleanup found while fixing this problem.
Patch 2 Fixes a bug with initiator registration for single-initiator
systems. More details on this in its commit message.
Rafael - I didn't retain your ack for patch 2 since it seemed like a
nontrivial change.
Cc: Rafael J. Wysocki <rafael@kernel.org>
Cc: Liu Shixin <liushixin2@huawei.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: linux-acpi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: <stable@vger.kernel.org>
Cc: Chris Piper <chris.d.piper@intel.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
---
Changes in v2:
- Collect Acks for patch 1.
- Separate out the bitmask generation from the comparision helper to make
it more explicit and easier to follow (Kirill)
- Link to v1: https://lore.kernel.org/r/20221116075736.1909690-1-vishal.l.verma@intel.com
---
Vishal Verma (2):
ACPI: HMAT: remove unnecessary variable initialization
ACPI: HMAT: Fix initiator registration for single-initiator systems
drivers/acpi/numa/hmat.c | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)
---
base-commit: 9abf2313adc1ca1b6180c508c25f22f9395cc780
change-id: 20221116-acpi_hmat_fix-7acf4bca37c0
Best regards,