Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp450715imu; Tue, 11 Dec 2018 01:47:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/WqJw1S1Kyqsj+4eVl4RydEGABWp1fZfomDFb1kYwzCQO0nfW2FQJY4p9fscIANydPva6Le X-Received: by 2002:a63:83c1:: with SMTP id h184mr13871924pge.437.1544521658062; Tue, 11 Dec 2018 01:47:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544521658; cv=none; d=google.com; s=arc-20160816; b=ARdRKXgPQIrRSXScZxTO2n9BIlbRtl0r7cbMqsFYzqrttX6q0VkcWx7Pz9lp3vnVNg JXdcCqWcugSs4cMgifQrTd6mtuZOGSI9wg202Ydc08j8/5wGtKeOg7xZz9SGy46/C1wN JOUFYAr5vhHNdL5Ti3SjEaiZp9Grooc4KJSqb9mR6rQQMfbGd0Og2m867NdVavTDc7Xz omRz7Kuzccql7NPcKbWjKpWTtac6tZsPjnTluoJxK+6uxbdmCPWUvuy7Jn8tEA7c057N tCTUqoOzEl6ok8hvR48yR13iUu+FwxwDZSZ8CcMkqgeUvYHdRH63qY8Vl3Xcfuj/zVsg ITQg== 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=OgcC+Z1Um4qbp61khV5sMaM1sgo3tXMH2Y/q2WiMLhY=; b=GOgqLV6NpXKFAB/TZRcvB+Dz2m+eV7hgV3sLTcai4ZdtYZaXlu1G8k0uiHHR00ngn3 OVSzg0tpefD5ZR5OQztB1y2vmdYCbmLNHnO0E4puY8mSYawUAGQS039nhNTEWNHqk60p eKbAC6SOzyaFSoS4Lmsm8gbF0MlyDp9NSWCpWantI4skK2Sys1FaJNA71HfVhmY/gK1R GFlTz5LhiEgf5Z8oDKrlHs1nxf1CJpTyXe1BHE6q68iWKUBfvvebghasgUD5RtdGEGRz D0pFtd/FOEunGT7yZ3gem2C15v+BEplRnXMJns81seaEqPsphXQglIN4ad54Xbph6Hr5 LxPg== 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 w2si13005077pfg.78.2018.12.11.01.47.22; Tue, 11 Dec 2018 01:47:38 -0800 (PST) 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 S1726218AbeLKJoq (ORCPT + 99 others); Tue, 11 Dec 2018 04:44:46 -0500 Received: from mail-oi1-f182.google.com ([209.85.167.182]:36863 "EHLO mail-oi1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbeLKJoq (ORCPT ); Tue, 11 Dec 2018 04:44:46 -0500 Received: by mail-oi1-f182.google.com with SMTP id x23so11498806oix.3; Tue, 11 Dec 2018 01:44:44 -0800 (PST) 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=OgcC+Z1Um4qbp61khV5sMaM1sgo3tXMH2Y/q2WiMLhY=; b=idKEwt62N206P/3zQumbxjFLCLK+RlBYODr41vF4tQd6BunYu8GGgRl/J6qXkBL5X7 l1nPoe8Mk6ucUmjGP/LJo9sJT+snnKQWuXyJTl5QZAp3hXbWD1mRYn8ZhsbP5U2ZzhT0 5f1nOgScmAK6XUjREaZoDGeU4n0aWqS7fvwFexZ4FFcIDF6xRqOhJVyi8nZ4ff/I/lFs qWZkw/KFrgW7jcjBlpvVWI0WnRYK6RCGEn5E7z4AkmsUr/vptTIFkPrkii8BzpYdhDWx PZ9NnwyU9pr58+J9RhBWaBWNQAKaqCnV0/8mIJDsWiJHK+ilZOJPHgJFA/n2OxSWIKJL QWxg== X-Gm-Message-State: AA+aEWb3zZAq73qWN/ZWgExPMskyJslmlH4eaZyt/vesaxSVRPF9Ylsx cUj8pUfQWzpTcxbesZ0w2KPQS1S4N8NGelLgXI4= X-Received: by 2002:aca:b642:: with SMTP id g63mr828122oif.195.1544521484258; Tue, 11 Dec 2018 01:44:44 -0800 (PST) MIME-Version: 1.0 References: <20181211010310.8551-1-keith.busch@intel.com> <20181211010310.8551-2-keith.busch@intel.com> In-Reply-To: <20181211010310.8551-2-keith.busch@intel.com> From: "Rafael J. Wysocki" Date: Tue, 11 Dec 2018 10:44:32 +0100 Message-ID: Subject: Re: [PATCHv2 01/12] acpi: Create subtable parsing infrastructure To: Keith Busch Cc: Linux Kernel Mailing List , ACPI Devel Maling List , Linux Memory Management List , Greg Kroah-Hartman , "Rafael J. Wysocki" , Dave Hansen , Dan Williams 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 Tue, Dec 11, 2018 at 2:05 AM Keith Busch wrote: > > Parsing entries in an ACPI table had assumed a generic header structure > that is most common. There is no standard ACPI header, though, so less > common types would need custom parsers if they want go through their > sub-table entry list. It looks like the problem at hand is that acpi_hmat_structure is incompatible with acpi_subtable_header because of the different layout and field sizes. If so, please state that clearly here. With that, please feel free to add Reviewed-by: Rafael J. Wysocki to this patch.