Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1243801imm; Fri, 29 Jun 2018 14:13:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL5IKGPcBLN1zrik8Vxk8Rm2tEmcvGGgxP9GH2oGMDbfYMCslhndYb/PRq16PdMOicTlrI1 X-Received: by 2002:a65:6142:: with SMTP id o2-v6mr14100103pgv.347.1530306795576; Fri, 29 Jun 2018 14:13:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530306795; cv=none; d=google.com; s=arc-20160816; b=QBhBZK8gjGt/0IRxiDAUi76x0kSYfNOMEEc7ruwesxKZaftWNhuCig6S5kDTAq5xef K60DmmmThuY8ctldB4abEtf1X6wKbybPGYN46Q387xG2BKBUbeVBlePweNO9OkhmKQ32 CrozZ4SJEwfhZ4lXHe8TjoyjyAuVIqzShFFIzYbGJPJoFM2APHUE3jZA/74PSi49Hgbb gywyMj3JVZHj57AbMpGqP7nktOQi2YlLDQ4AVbGVK3yofeb0RaM/Y8pFQj0vuHjTAzg8 1kH/IwuROaQ0CtD7Xtam/Gfka9qN7NRJ3rmMb3HoX2N+6KaEaesOHwt2GtJzjQM5OdEE Aq7w== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Hz7z2dBUxRuAZ/qh7K0wl4kE7KiPvoDxlDLn/0uP588=; b=whKzzvfXbXBSbfaP4ZYJfpASzkNtLoNMZxeocHXTyvtF4/uHOdr4llednpfEoyQTij uqDl9j6vGyR5qsAPh3PkvsEoht0UxVXgdSMkE/RQszGqkypQlomhQy/8tKxBU4PYS3Pu grugiuQNsUCFn27ROG6m2VM7PNhJR7vE3WMEK8YhVXJt6WbhAraNf/C8xhOnXDaKGBwA BlR8rwpxB3GhD2gMgaFCVHSZhcZgKlIRkesj90ZEc2btiKZti7x0VSgt8Ft+NeOcvtJ3 zTzaLlWndMSRWXaq/8avanpMq8UdWkfiTZwJ7UW+K5MaaB7yczjtZ+JOtrjhZRLshjnN 6aTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="nHG/e9Eg"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j6-v6si9885603pll.54.2018.06.29.14.13.01; Fri, 29 Jun 2018 14:13:15 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="nHG/e9Eg"; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937024AbeF2TaR (ORCPT + 99 others); Fri, 29 Jun 2018 15:30:17 -0400 Received: from mail-ua0-f196.google.com ([209.85.217.196]:44271 "EHLO mail-ua0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936958AbeF2T3l (ORCPT ); Fri, 29 Jun 2018 15:29:41 -0400 Received: by mail-ua0-f196.google.com with SMTP id v15-v6so6466261ual.11; Fri, 29 Jun 2018 12:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Hz7z2dBUxRuAZ/qh7K0wl4kE7KiPvoDxlDLn/0uP588=; b=nHG/e9EglTTONeuoZA3FmUbz8La2mG6QcilN6IIxGfeFB0RjvfPBI7om4Umng8gpw5 ocHxZrWvxsq/VLPIMDgADEol+4Xk/wU21H27PykrxOiGWFFt9tBocskrE5j6V6c/2Uww 1vwc5qhVBWJK9u2HoAvSGrzU0AzimFfmFD1NrFzuvTd6XtEnCQbRbWNqlbcDTh3Tkhbh L8rx1yBOUUYvD7Cp4PReWo5EqdqQ+7ibuvKOG9J8VxrNDDI1xE+HDWVPaMsUIz20BlYH 59L0gjvNcDtBiSx8pO6eq/Zj7hat+hB8LnalQQ3r5klZkahAd+3XL4Zs8ZdUWGiDbsPX SMHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Hz7z2dBUxRuAZ/qh7K0wl4kE7KiPvoDxlDLn/0uP588=; b=TgcHZ14cKMyfhRpfZQdLTyp3FKmtNoS/asJvA/PmkkdyK0EIYsHuIT2KcEI4V1C58P mfsTsrSztylnz2p8G3HK8S+PvFidkgIhiwvD2lHyCUOYtoUQ+vqk8ycP051pRATn1Ejc zuccbgTnNjXY2zq1Zdx0ucRMHPbkHTZYZHHPHj10ZH16QuksWyQqL9dMQgTZNHMolKkt DW98cEqPTOa/0WriQiAnhY/R2Fda+wNktH/D2pwLeEWCNiuIzXVrE3wCDC9M2P+VbEmj Xbhi9vQ7Gwx4xWYRJsU5uWd8H8dGK/vQbcezcP2siC7vk5DZEnLjJn+SEqkMHw/tAkfM 10pA== X-Gm-Message-State: APt69E2ebEZvD/G6DDA9PUBun2DNUeVBu6nBEv4ML1JCsY0mwEeM73V2 hrhaB0yosjLhxfHlLmIIRJAK0KZBD0ac+30H++I+MEzu X-Received: by 2002:ab0:15ad:: with SMTP id i42-v6mr10058871uae.199.1530300580592; Fri, 29 Jun 2018 12:29:40 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:8b02:0:0:0:0:0 with HTTP; Fri, 29 Jun 2018 12:29:39 -0700 (PDT) In-Reply-To: <367a12e9-7d10-98e4-4791-69cdc7d01129@gmail.com> References: <45b8bde6-aaa8-3f3f-0528-81e5e931751c@gmail.com> <20180609010420.GA112645@localhost.localdomain> <8307f1e0-c480-3f78-9327-e248208e5349@gmail.com> <367a12e9-7d10-98e4-4791-69cdc7d01129@gmail.com> From: Andy Shevchenko Date: Fri, 29 Jun 2018 22:29:39 +0300 Message-ID: Subject: Re: [PATCH v3] dcdbas: Add support for WSMT ACPI table To: Stuart Hayes Cc: Darren Hart , Mario Limonciello , Linux Kernel Mailing List , Platform Driver 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 Fri, Jun 29, 2018 at 9:56 PM, Stuart Hayes wrote: > On 06/27/2018 06:52 PM, Andy Shevchenko wrote: >> On Fri, Jun 15, 2018 at 1:31 AM, Stuart Hayes wrote: >>> On 6/14/2018 12:25 PM, Andy Shevchenko wrote: >>>> On Thu, Jun 14, 2018 at 5:22 PM, Stuart Hayes wrote: >>>>> On 6/13/2018 3:54 AM, Andy Shevchenko wrote: >>>> Thanks, but here I meant += 1 vs += 16 step. > I did realize that the debug code that printed the address of the EPS table was not > working right, and the table on my system is actually 16-byte aligned. However, > the documentation on the EPS does not specify that it will be 16-byte aligned, so I > don't think the driver should make that assumption, especially since scanning a 64K > region byte by byte should take very little extra time over scanning every 16th byte. > I guess this isn't needed since the table on my system actually is 16-byte aligned. I think the 16 byte is a natural alignment applicable to all tables like a such. I would rather go with it until we will get a (weird) BIOS which does not support that. (I believe this alignment just comes by definition of C ABIs for the structures / types. So, each defined type is located on an aligned boundaries) >>> [ 4680.194012] dcdbas dcdbas: WSMT found, using firmware-provided SMI buffer. >>> [ 4680.195327] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.3) >> >> OK, now the most important question, did you investigate "SMM >> Communication ACPI Table"? >> Can you utilize information in it? > Dell BIOS does not provide a "SMM Communication ACPI Table", just the EPS. It appears > that the "SMM Communication ACPI Table" is deprecated in the UEFI 2.7 spec. Also, the > dcdbas driver is for Dell systems only. > The EPS table isn't an ACPI table, > it's just a Dell-defined table. Hmm... It's either strange or has some background why is so. OK it has a note that there is no use case, but here it is! Mario, can we consider this as a BIOS bug which doesn't provide SMM Communication ACPI table? Can it be escalated on UEFI committee? -- With Best Regards, Andy Shevchenko