Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4425831yba; Wed, 17 Apr 2019 11:12:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhtyZjZRDTScyqMDbIhY0kZW8VmpCnf/r8HcNR/OuKEjh7iYNo5YNY+Rm9YUyF+T1N9vxD X-Received: by 2002:a17:902:3324:: with SMTP id a33mr23070540plc.186.1555524730536; Wed, 17 Apr 2019 11:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555524730; cv=none; d=google.com; s=arc-20160816; b=0rmxY0n6ktnh9xB9222sAO58ufcg3LN0OOwPkEUIJbh8eUvJs9fK47VKs1+LLD5PV5 RY0/AwuXtGEa5LprNQ9nbQiJm0kzyFM5C9whWlpmbcJbheSZZqdqI9l9E0t1Ioq6YB4O NJ0f9REh/Yt8UcTkNt0TIFBYllxEXxQ3gurPhrhnx6SkC1VxxFm2l2wPiz6PSOrFA4PH JLaJCMn/GDO+KlBTXnTNemLE0cwf9Ucvl9k9CtKIW8uovYrs6bqtL8KrVgK/UBo+x68M PT6Tw3+P5Gj7fwJXWf6ltR2GcUh/dRxCJmJ3ga7qGymbH5MWn9GmAp1m799/3WxoxEJU jYKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=4I3rAXLnJw7kldS6K6wtZKwShuVRKK9Ancz0EwYRvBs=; b=puduBIVvM1nkIz7GSjYAcrz1fKBmnx1CFdz/vhVbwLRPo1yrNy8R9Hu/QGG5Lqx2BQ rNKoAO4BSfLGHAN53JVZFx7GbC50iCqBYo7bb/c0moWBBJvZPRFmCHEaXnxB2Rk7QuzF UjRertGof1jDHWaCB6V8pgIDprXoSriGCaTkSUkkGxjYMXVKRP/aFUoWBnj4kpnkY7C5 Ksyl3s2cY65HG1hbU+Ftq4NU5DtSUhj9thQsHQMfrnRCl0nBnnc2nEiVSm9r6PkcDduQ v49OEkujOtKM3CdIzsQDyTNScXFN5ZerlMSGAb6Hc+lWtQz93sXPc+o5fuN7hNXMx/fR 0r5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z2si49100395pgu.437.2019.04.17.11.11.55; Wed, 17 Apr 2019 11:12:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731157AbfDQSKs (ORCPT + 99 others); Wed, 17 Apr 2019 14:10:48 -0400 Received: from mga17.intel.com ([192.55.52.151]:37532 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725848AbfDQSKr (ORCPT ); Wed, 17 Apr 2019 14:10:47 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2019 11:10:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,362,1549958400"; d="scan'208";a="316802634" Received: from alison-desk.jf.intel.com (HELO alison-desk) ([10.54.74.53]) by orsmga005.jf.intel.com with ESMTP; 17 Apr 2019 11:10:47 -0700 From: Alison Schofield To: rjw@rjwysocki.net Cc: Alison Schofield , robert.moore@intel.com, erik.schmauss@intel.com, keith.busch@intel.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] acpi/hmat: Update acpi_hmat_type enum with ACPI_HMAT_TYPE_PROXIMITY Date: Wed, 17 Apr 2019 11:13:10 -0700 Message-Id: <20190417181310.27613-1-alison.schofield@intel.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ACPI 6.3 changed the subtable "Memory Subsystem Address Range Structure" to "Memory Proximity Domain Attributes Structure". Updating and renaming of the structure was included in commit: ACPICA: ACPI 6.3: HMAT updates (9a8d961f1ef835b0d338fbe13da03cb424e87ae5) Rename the enum type to match the subtable and structure naming. Signed-off-by: Alison Schofield --- drivers/acpi/hmat/hmat.c | 4 ++-- include/acpi/actbl1.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/hmat/hmat.c b/drivers/acpi/hmat/hmat.c index b7824a0309f7..3e32120e2dab 100644 --- a/drivers/acpi/hmat/hmat.c +++ b/drivers/acpi/hmat/hmat.c @@ -411,7 +411,7 @@ static int __init hmat_parse_subtable(union acpi_subtable_headers *header, return -EINVAL; switch (hdr->type) { - case ACPI_HMAT_TYPE_ADDRESS_RANGE: + case ACPI_HMAT_TYPE_PROXIMITY: return hmat_parse_proximity_domain(header, end); case ACPI_HMAT_TYPE_LOCALITY: return hmat_parse_locality(header, end); @@ -649,7 +649,7 @@ static __init int hmat_init(void) goto out_put; } - for (i = ACPI_HMAT_TYPE_ADDRESS_RANGE; i < ACPI_HMAT_TYPE_RESERVED; i++) { + for (i = ACPI_HMAT_TYPE_PROXIMITY; i < ACPI_HMAT_TYPE_RESERVED; i++) { if (acpi_table_parse_entries(ACPI_SIG_HMAT, sizeof(struct acpi_table_hmat), i, hmat_parse_subtable, 0) < 0) { diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index d14037ddf108..22c039ebc6c5 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h @@ -1395,7 +1395,7 @@ struct acpi_table_hmat { /* Values for HMAT structure types */ enum acpi_hmat_type { - ACPI_HMAT_TYPE_ADDRESS_RANGE = 0, /* Memory subsystem address range */ + ACPI_HMAT_TYPE_PROXIMITY = 0, /* Memory proximity domain attributes */ ACPI_HMAT_TYPE_LOCALITY = 1, /* System locality latency and bandwidth information */ ACPI_HMAT_TYPE_CACHE = 2, /* Memory side cache information */ ACPI_HMAT_TYPE_RESERVED = 3 /* 3 and greater are reserved */ -- 2.14.1