Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1291857rwb; Fri, 28 Jul 2023 07:28:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFGHu43PqoY08t57EBjdseFjNPHJz7ji8+IwSttUEPAiX7TkRO344LnctznmmFcFKTRSXOY X-Received: by 2002:aa7:d507:0:b0:522:3a28:feca with SMTP id y7-20020aa7d507000000b005223a28fecamr2101905edq.24.1690554530375; Fri, 28 Jul 2023 07:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690554530; cv=none; d=google.com; s=arc-20160816; b=LjhG8fN4MrmCIJwy+45ktEQfix+bunsSi3ojlpoGqp6/WtcUuheH0DFaRqvZwzXqNP 3VsVQPqRHT4dZlCECsZesGOCD5QptnPzZ6FEeq0Tnu7oLjUAbhaOur/9PTerpmgl3kZd Rz1I/y/VakBQOjMawbhiJlBGnNMQ/wv8GBKtQSlTkfztaCmoO7JiDUgaeewwF8/ai6w3 6fbttxU7A1mM4dAJCf1ZDrgOGgO6PdwqxCYCCZDYEZJOIjkQCTWmSO6kZH2R5wGIaBSh yo+2sNOUFRerrXVXXNI4lVTMTcOJHnlyJgngsLPnEUbr35SuxgzWeFP4+wfzixURaGXL dSqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=VThUxk4mv9Mln4wklKylCuIEHAHkCGFHzfNcd7GhBWU=; fh=CFc+7ru1cqXkvo090biAF1EpxuKlOk162a5JoaYC7P4=; b=Av+Km/QsrvpDCLwCs3el8r0sR3YFujXmzGNTqkTk3j/C3Uxi15ObfJbfUrr75OoZAj q2MFOEGhF+ONFD/pFjB3GnmPjZwkgT4rQ0A9tFoZumfIzN1nf8aC6qoaf03Q4n/uv7Xe AhuuTouO0d8jEvvQ+A/Z+W1211AOlQbrKbV01UHkhR+J0XYAkA6RYXbkgfyLjMIecyz6 vPVG8/KSual1Txlk2QqpFzJC2F2HYdAymTKTqV39jk7wm5BhBzw+LVCQBpCeAySRRW+b 9Vlg5ZJ6gpoOegp2evYSH5JWDzET7XwKh5AFsyNiqNZajDLYDUbkE2tXPm6RN7ymPXhe DD2w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c2-20020aa7df02000000b0051de3796896si2651286edy.211.2023.07.28.07.28.25; Fri, 28 Jul 2023 07:28:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236904AbjG1NzZ (ORCPT + 99 others); Fri, 28 Jul 2023 09:55:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236898AbjG1NzT (ORCPT ); Fri, 28 Jul 2023 09:55:19 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45506DB; Fri, 28 Jul 2023 06:55:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D733F62159; Fri, 28 Jul 2023 13:55:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32028C433C8; Fri, 28 Jul 2023 13:55:15 +0000 (UTC) From: Catalin Marinas To: lpieralisi@kernel.org, guohanjun@huawei.com, sudeep.holla@arm.com, rafael@kernel.org, Guanghui Feng Cc: Will Deacon , linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, baolin.wang@linux.alibaba.com, alikernel-developer@linux.alibaba.com Subject: Re: [PATCH v3] ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info() Date: Fri, 28 Jul 2023 14:55:13 +0100 Message-Id: <169055250812.1025105.13485697321170348706.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <1689593625-45213-1-git-send-email-guanghuifeng@linux.alibaba.com> References: <1689593625-45213-1-git-send-email-guanghuifeng@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 17 Jul 2023 19:33:45 +0800, Guanghui Feng wrote: > According to the ARM IORT specifications DEN 0049 issue E, > the "Number of IDs" field in the ID mapping format reports > the number of IDs in the mapping range minus one. > > In iort_node_get_rmr_info(), we erroneously skip ID mappings > whose "Number of IDs" equal to 0, resulting in valid mapping > nodes with a single ID to map being skipped, which is wrong. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] ACPI/IORT: Remove erroneous id_count check in iort_node_get_rmr_info() https://git.kernel.org/arm64/c/003e6b56d780 -- Catalin