From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA74DC433E0 for ; Wed, 20 May 2020 17:44:05 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A1798207D3 for ; Wed, 20 May 2020 17:44:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="s7vEdvkZ"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="LJ5Q3o7l" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A1798207D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=m/QF4cDjzmCA6j+GC3SskE73mpkwguDciO5SoD4muSo=; b=s7vEdvkZVitl7t kDbWFhAoSWI1ZZS0x7Hs5kS+viYHjRXYMDonb5Se5KJEYFRKMEolrV4UoSLwCvo4y0s3JfC3i4AL5 vs8+Z5wycK0oNry+REuXExgmfXhW8ohoRI0i+Ekt2NgX6lNBOdlcXNvoeQ+oWuY3KuQLpeJVBMh7H fDnYgnMRVCDAoOJjkJQsUgItGrvpZ/1UG+8sKMqLkjAsEhUV3hRZGMqL89SxA8IEcElJCjB66Wb6H 7jMY06n7kOXpCPuLQ0ZvBJTmDUWZHWgO1dmN62yUEqbpgq5lyTIwfmrNM5KUzjN4xz7r2aWkMwBQb +B8VYVV0inAWJVYWof6g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbSlA-0000BC-Iv; Wed, 20 May 2020 17:44:04 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jbSl7-0000Ad-H1 for linux-arm-kernel@lists.infradead.org; Wed, 20 May 2020 17:44:02 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 427C82075F; Wed, 20 May 2020 17:43:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589996641; bh=P2aat+TlaI2N+/z7SW3hph4BEYfuA7FSbseNufQGe4k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LJ5Q3o7lmeUADmYQ2lB29DmpSJq9CwNkr/C8uOM21tMpkAFWObarU+Bu1OsPfq9FG 4F6Ql4BWleoI4gCPqUB936+6/WYnqm5xYt5ZI5xAF0uY3EHOr74j831yY9jHzVpFEC at7VFnF549jrYb1WBdZlx226K8TrOTtmFi+2M4UA= Date: Wed, 20 May 2020 18:43:56 +0100 From: Will Deacon To: Lorenzo Pieralisi Subject: Re: [PATCH v5] ACPI/IORT: Fix PMCG node single ID mapping handling Message-ID: <20200520174355.GC27629@willie-the-truck> References: <1589994787-28637-1-git-send-email-tuanphan@os.amperecomputing.com> <20200520172736.GA10693@e121166-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200520172736.GA10693@e121166-lin.cambridge.arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200520_104401_583892_E405F191 X-CRM114-Status: GOOD ( 17.42 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hanjun Guo , Tuan Phan , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, Shameer Kolothum , linux-acpi@vger.kernel.org, Sudeep Holla , patches@amperecomputing.com, Robin Murphy , linux-arm-kernel@lists.infradead.org, Len Brown Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, May 20, 2020 at 06:27:36PM +0100, Lorenzo Pieralisi wrote: > On Wed, May 20, 2020 at 10:13:07AM -0700, Tuan Phan wrote: > > An IORT PMCG node can have no ID mapping if its overflow interrupt is > > wire based therefore the code that parses the PMCG node can not assume > > the node will always have a single mapping present at index 0. > > > > Fix iort_get_id_mapping_index() by checking for an overflow interrupt > > and mapping count. > > > > Fixes: 24e516049360 ("ACPI/IORT: Add support for PMCG") > > > > Acked-by: Lorenzo Pieralisi > > Reviewed-by: Hanjun Guo > > Signed-off-by: Tuan Phan > > --- > > v1 -> v2: > > - Use pmcg node to detect wired base overflow interrupt. > > > > v2 -> v3: > > - Address Hanjun and Robin's comments. > > > > v3 -> v4: > > - Update the title and description as mentioned by Lorenzo. > > > > v4 -> v5: > > - Remove period in the title and commit references. > > > > drivers/acpi/arm64/iort.c | 5 +++++ > > Hi Will, > > is there a chance we can get this patch into v5.8 ? I understand > we are very late in the cycle but I wanted to ask (it applies cleanly > to for-next/acpi). Sorry, Lorenzo -- I didn't notice that this had been Acked already. I was waiting for somebody to chime in! I'll queue it ASAP for 5.8. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel