Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp681107yba; Thu, 18 Apr 2019 07:54:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyhQZS3u8nC4reVrQgs6hBJENkJMS7ASn/9pLSHJQfGKTVSryWF7R5qC4x52LWj8UQRxy5N X-Received: by 2002:a63:243:: with SMTP id 64mr88592263pgc.214.1555599274339; Thu, 18 Apr 2019 07:54:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555599274; cv=none; d=google.com; s=arc-20160816; b=qhpJcfyt5JAqpmOWHRjBXMUxcZN++mt92BejgAXwNqJzPm13Z6YD/8u25/WEv2X0U2 h7CfWRWzz5LevUNS1hB06126G+ubM+CqJeARfXhdrNOIS01p3BLWJwdbl3FxEGxZzvuX 4hEZoGPOJvjS4BGjRD6QwQ+nv35oI74BfcIAJyFmnjXWExM1bN29xnuODZeiammS0IX2 O4+UM1gW15HIZXv/ZaRMMVc5tfBQANq3+sTjwra3qIkwy865Vgujilel5fHYDGqdGF9G M7x25vupB1k5A19KZTx+i7LFS6lUGY0HWNk96v2v7nX3hocCaB1/X53r+ofZ3MzM7WqU pr/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=WEIuCuhL9yTN6ExnNV/nTja/EVSP7iGG7vhZCBM1j98=; b=ioKU4c9Xe5Lckz6hkQiS4Ghq9N3AYigSSF/GSZ3Jqhx/TATYllY9sANIZ3jZOY+sXP fNKUJyJTXrScOFnruRB9EpFJalRmN/svbpcwsYQy/UN2Tip98D4ChzOjE5lDf3Y8j2IH j6rfzaOqleKr0L10bUjXQla9puGfVdmL1yrvS0gyVoVz9KffXMb6qkL/rQ9EvMqmli0S xJfu201w1BrTktI576AqdYbFZScQun3lEwkw48z/8+dXe+kS5KXCOY8Uwk9y+WV5gded uzL1AyUhIz+AuiSdnFGIKh3lkaUFq1PvB9uqhv8zGrVTYT63vr/fO7UCcVTcIHLC/p/r Mhdw== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si2011514pgb.435.2019.04.18.07.54.18; Thu, 18 Apr 2019 07:54:34 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389393AbfDROwm (ORCPT + 99 others); Thu, 18 Apr 2019 10:52:42 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:44407 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733192AbfDROwl (ORCPT ); Thu, 18 Apr 2019 10:52:41 -0400 Received: by mail-ot1-f65.google.com with SMTP id d24so1910394otl.11; Thu, 18 Apr 2019 07:52:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WEIuCuhL9yTN6ExnNV/nTja/EVSP7iGG7vhZCBM1j98=; b=o/LTO0oxSXpkPOHI23PD2cLU9BBObihrToo9vkS0hfytRVH1L1DqWP3vLn24WK+XmD uhMbV/IZkxjJJZbMdJmf1C3QsO3bLuPCuG0B4t0XNgUYb+r+k+B75f5tsH+UittZXWE/ pKkdtYw1UcDcmczqna+fSj48ks/niYWKUAHpZoIl24xkEyu+D+NCbwmuMM7atIJ1CXbT KtTDWTloE/4H9jAsSqGjba9M/vMvyv8GW9A5Oao/GF6a06bE2VVI6HFB5sfUWuOboJkR v612pfSpyZsZD39fs+pZAX1v3yu12GPkcolZfkfhZu0V2FMlaHD5/2zt6rk1bbzU53/u /7Fw== X-Gm-Message-State: APjAAAU1+YJpTCCjgQcUqCSKZnbeWSCGrtjF/I5lVwRfRrEMu1gnFcyV 39FxlVqkCDQ8UZDzcaAaBFO26ddOIOILM25b4gk= X-Received: by 2002:a9d:7a50:: with SMTP id z16mr3770782otm.363.1555599160869; Thu, 18 Apr 2019 07:52:40 -0700 (PDT) MIME-Version: 1.0 References: <20190417181310.27613-1-alison.schofield@intel.com> In-Reply-To: <20190417181310.27613-1-alison.schofield@intel.com> From: "Rafael J. Wysocki" Date: Thu, 18 Apr 2019 16:52:30 +0200 Message-ID: Subject: Re: [PATCH] acpi/hmat: Update acpi_hmat_type enum with ACPI_HMAT_TYPE_PROXIMITY To: Alison Schofield Cc: "Rafael J. Wysocki" , Robert Moore , "Schmauss, Erik" , Keith Busch , ACPI Devel Maling List , Linux Kernel Mailing List , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 17, 2019 at 8:10 PM Alison Schofield wrote: > > 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 Since the original HMAT material is there in the Greg's tree, this one would need to go into his tree too, so Acked-by: Rafael J. Wysocki > --- > 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 >