Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2984273imm; Sun, 13 May 2018 01:31:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqxk9udYODUpXIIX+1WGd/z+5MW1d//2Anwgq53DQTrlESs4+ghxne4wzxx6okq7Dd9H3vH X-Received: by 2002:a17:902:988b:: with SMTP id s11-v6mr5254215plp.304.1526200267723; Sun, 13 May 2018 01:31:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526200267; cv=none; d=google.com; s=arc-20160816; b=ERWaD33abzmq2qdtMq7VlN8FN4uXQlbaPep4IPeP9XgjsrK2riay9pFD9DGNcPfv6e Jnvd3S9w7N5oYUyqOlY9+3OXatYHQeojsfPjBnIzUb0ppq3KreIzwQJq22c7/YAD6kq9 BZJUINCuY3QPJE9brG4qnx7omJvY/J/w7XktPyyJAZ9v8ePceCbFQ+5NjX11O0YwJv0e hdqHepLGJbUF+CGD22/euMhYGDOerIfpFs+nPbfmsSEjBdWwdA/QM12M4L9s+7eKyEwD L0w0aiAHfP3ERgCYH7rkbE5bWb39VIDikAloJRtydFYbbj7H0FBMVvhOY0dMJZtoo5V/ Utbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=R26HfM+WuDGMQMzm7m0FJb+nsnHpRDbJd74V9aMpDpA=; b=LSxajW7T1vsEcFWnRThodA8RJYeIK1Hc5p6vJOw8rD8m/VzSyw+GFtgmKZ9IcYFQaL GJPA+uQ+i8eRXEK5RZTcLZjC6/PdQpgEIWmt7tPVtNOV4MrJYDFgtAWigU9XHesT1Cxw MhVM0Qs7mtRUaoAkvMyvr8WeAjuV7gvcfV2umyTcmQuJidvX6lCvBcxNLylJwl3ACHYu 5lQzmaO93vY10UuvppQPPDPJqzmJ4ws/DyTVAgxgL3nAGYjXUs90NS2eWe1bKALy5E9e 5CjYkwovb5j18Mym6LmWWfbpq+8t4Of3B04F0MmxV09b9DFNt9/KDRewYk3a9WDjGvBE 95GA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j19-v6si6637455pll.518.2018.05.13.01.30.53; Sun, 13 May 2018 01:31:07 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbeEMIah (ORCPT + 99 others); Sun, 13 May 2018 04:30:37 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:57812 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbeEMIag (ORCPT ); Sun, 13 May 2018 04:30:36 -0400 Received: from 79.184.255.167.ipv4.supernova.orange.pl (79.184.255.167) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id 4aef3fb0b2c0eb5c; Sun, 13 May 2018 10:30:34 +0200 From: "Rafael J. Wysocki" To: Al Stone Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Prashanth Prakash Subject: Re: [PATCH v3 0/3] mailbox: ACPI: Remove incorrect error message about parsing PCCT Date: Sun, 13 May 2018 10:30:05 +0200 Message-ID: <190779407.lJoETU6Q66@aspire.rjw.lan> In-Reply-To: <20180501003907.4322-1-ahs3@redhat.com> References: <20180501003907.4322-1-ahs3@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, May 1, 2018 2:39:04 AM CEST Al Stone wrote: > This set of patches provide some cleanup in ACPI for minor issues > found while correcting a bogus error message (the first two patches), > and the correction for the error message itself (patch 3/3). Note > that patches 1/3 and 2/3 are not required for 3/3 to work: 1/3 only > changes a comment and 2/3 makes an ACPI table parsing loop a wee bit > more robust. > > For patch 3/3, many systems on boot have been reporting "Error parsing > PCC subspaces from PCCT" which turns out to not be an error at all. > The issue is that the probe for ACPI mailboxes defined in the PCCT > (Platform Communications Channel Table) makes a faulty assumption about > the content of the PCCT. What's more, when the error is reported, no > further PCC mailboxes are set up, even when they have been defined > in the PCCT. So, in the reported cases, there was no error and the > data in the PCCT was being ignored. This is described in more detail > in patch 3/3. > > Since these patches primarily involve ACPI usages, it may make > sense for all of them to go through the linux-acpi tree; clearly, > this is up to the maintainers, though. > > v3: > -- properly format docbook info in patch 1/3 > -- remove extra parens in patch 2/3 > -- clean up formatting, remove pr_warn() calls used in debugging but > providing no value, clean up docbook info for count_pcc_subspaces() > and parse_pcc_subspaces(), all in patch 3/3 > > v2: > -- removed one extraneous '+' in a comment in patch 3/3 > -- fixed an if test that had a predicate that kbuild pointed out would > always be zero > > Al Stone (3): > ACPI: improve function documentation for acpi_parse_entries_array() > ACPI: ensure acpi_parse_entries_array() does not access non-existent > table data > mailbox: ACPI: erroneous error message when parsing the ACPI PCCT > > drivers/acpi/tables.c | 12 ++++--- > drivers/mailbox/pcc.c | 96 +++++++++++++++++++++++++++++++++------------------ > 2 files changed, 71 insertions(+), 37 deletions(-) I've applied [1-2/3] and I'm waiting on input from Prashanth on the [3/3]. Thanks, Rafael