Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp747228ybk; Wed, 20 May 2020 10:57:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQFeIXFlHYNbiPvE58x5lwedNqsU7ze+F+UqINDw9d+U4uVrT3mnNr5IpVcFd2sgRajHAC X-Received: by 2002:a17:906:4d4a:: with SMTP id b10mr221605ejv.262.1589997440895; Wed, 20 May 2020 10:57:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589997440; cv=none; d=google.com; s=arc-20160816; b=xKbtKTVNYomJVpUXihxqnvf/2HUh1lirl5VOm2HXQvA8RytjKY6VCWC5OYO3FcGHKK KDT1WTNkclv3UP3ewJO7w/9w5CWHCEDdsB+iauMyn8J0h691MHNXWxcI9Bghw4/r+pbV S4tZUhvDonw2hZE0YD57amcjZ/z5dO7M8XHHrmZGGLoLm+wzu8pv31PRYNQBOUyBhyed zZlp63A+KFfdCjsG6Gk2aNJdRS5EoffzLO4/NuWql+hnLOhUHtAoXoS3S341SziJgGQ7 DlYktDy23iCjGl5Vq+UjvkzOFh55VaP0J7GeAZktnHSODQ0rKJPOfUxJY4nk3Vhwb0w6 jbTg== 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 :dkim-signature; bh=Csv788bAOABJDgwkYPNorOls1nmau0XEeJcG3gD4CzU=; b=itRV0S/4aIW6nM2KmBSzSDjsbMwL/vS801gDEmWLeeJWjyCr/c/ccS3v+63lrFkDjC bs0p0/HD9/Fyqe8+eGrj+dXqe6cmBoUQa94mMe/31NK6HXQ1dI9RAuN8JzVyv9zsJGah Zq/lCcR3nRncgP5RSVOPgO996XLHvCZs6XGbQ2c7zGM3QORfwfxOK3g5JEGmGXnTrw0i pem4mWA/xxb8mxbEVSyTl8JJE+xR7K+/SKxjQi9x9hp6N+TcbKbbuKaAD8ROg/hiazR9 alwmqqAZmJfv/CTtiVTH5oFwvM10+lGUWAHWwXp9qx/v5e+13uNWx16IorrkJXogEjdn T1CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WzowI8+G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si2119297eje.203.2020.05.20.10.56.58; Wed, 20 May 2020 10:57:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WzowI8+G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726964AbgETRyv (ORCPT + 99 others); Wed, 20 May 2020 13:54:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:60910 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726576AbgETRyt (ORCPT ); Wed, 20 May 2020 13:54:49 -0400 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6973E20823; Wed, 20 May 2020 17:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589997288; bh=tSusfwEtnTufQiTMMaZ15xY6HANjfc5RrrUfXAHd4bU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WzowI8+GqPbs73hL8wdgdaas6aoLB4lvYGw1rWSCDNTR9IC7pFclCVbjgGMKgBAh5 uB8VqgZAdfEHAyY7/qcBGKGpkHNPWQ1Y/ve3p3PeYIQ8Vv10LRnYd9/A8NnP+uNj10 z/N/0AOm7CzIOSU+1BrQmu7FJsG6OoT+c8Inlxnk= From: Will Deacon To: Tuan Phan Cc: catalin.marinas@arm.com, Will Deacon , patches@amperecomputing.com, Robin Murphy , Len Brown , Shameer Kolothum , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, Hanjun Guo , Sudeep Holla , Lorenzo Pieralisi Subject: Re: [PATCH v5] ACPI/IORT: Fix PMCG node single ID mapping handling Date: Wed, 20 May 2020 18:54:38 +0100 Message-Id: <158999660879.126681.3746296394205258449.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1589994787-28637-1-git-send-email-tuanphan@os.amperecomputing.com> References: <1589994787-28637-1-git-send-email-tuanphan@os.amperecomputing.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 20 May 2020 10:13:07 -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. > > [...] Applied to arm64 (for-next/acpi), thanks! [1/1] ACPI/IORT: Fix PMCG node single ID mapping handling https://git.kernel.org/arm64/c/50c8ab8d9fbf Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev