From patchwork Mon Nov 25 17:07:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yeo Reum Yun X-Patchwork-Id: 13885150 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id AB7DDD58D69 for ; Mon, 25 Nov 2024 17:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=d6omc27AC+plSL3jOo3IbKEXvjF9e4Xms46SqlubyhY=; b=i6covSY3hpFgtgiA10DovfkbtH kvgXCb8qzRzfYFhxjMkOs/2h4tWADHB3o2n/FasnveMuNYQKhnTwnE9pPT+vtnGcbzXBM4WXV7Vw7 JLt7x+MwphTfMuSvRI92VwtHyApqtFeUU0njuM57vuUswdpx1FQdfzLefjA4iR1Cm7kE0tJRt7ZYG SGYxMiyW9ZLyJ51jwGRyCv26bxLoQD6QHpbk06y1n5ZNW+D1qKVxlP0Nn7JGaksP3rEh+3O5Rk4vM Kekxh2Fspjoae4mD+s1zvhIXWTWRlyqzVzcjw0p09+fEfxluzp6BFslIip7pGY80gfmnGR1IOZb4T W7rm7xKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tFca9-00000008iMh-1VFt; Mon, 25 Nov 2024 17:09:05 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tFcZA-00000008iAu-2swE for linux-arm-kernel@lists.infradead.org; Mon, 25 Nov 2024 17:08:05 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 389F51692; Mon, 25 Nov 2024 09:08:33 -0800 (PST) Received: from e129823.cambridge.arm.com (e129823.arm.com [10.1.197.6]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 237913F58B; Mon, 25 Nov 2024 09:08:01 -0800 (PST) From: Yeoreum Yun To: ardb@kernel.org, broonie@kernel.org, sami.mujawar@arm.com, sudeep.holla@arm.com, pierre.gondois@arm.com, hagarhem@amazon.com, catalin.marinas@arm.com, will@kernel.org, guohanjun@huawei.com, Jonathan.Cameron@huawei.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Yeoreum Yun Subject: [PATCH v2 0/2] small fixes when boot with acpi=force option Date: Mon, 25 Nov 2024 17:07:56 +0000 Message-Id: <20241125170758.518943-1-yeoreum.yun@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241125_090804_768008_F28C180C X-CRM114-Status: UNSURE ( 7.71 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org When acpi=force option is used, the dt should be ignored whether it's invalid, passed from command line or from configuration table but it doesn't so it produces error message while scanning dt early time thou it isn't used in booting process. Change to ignore dt when acpi=force option is used. v2: - ignore getting dtb from configuration table when acpi=force option is used Yeoreum Yun (2): arm64/acpi: panic when failed to init acpi table with acpi=force option efi/fdt: ignore dtb when acpi option is used with force arch/arm64/kernel/acpi.c | 2 ++ drivers/firmware/efi/libstub/fdt.c | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) --- LEVI:{C3F47F37-75D8-414A-A8BA-3980EC8A46D7}