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=2.4 required=3.0 tests=BAYES_20,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 22AD0C433E0 for ; Sat, 16 Jan 2021 15:25:29 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (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 59B2A207B6 for ; Sat, 16 Jan 2021 15:25:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59B2A207B6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=etri.re.kr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1l0nRn-0005F4-08; Sat, 16 Jan 2021 10:25:03 -0500 Received: from mscreen.etri.re.kr ([129.254.9.16]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA (Exim 4.94) (envelope-from ) id 1l0nRk-0005Em-LF for kernelnewbies@kernelnewbies.org; Sat, 16 Jan 2021 10:25:01 -0500 Received: from unknown (HELO send001-relay.gov-dooray.com) (211.180.235.152) by 129.254.9.16 with ESMTP; 17 Jan 2021 00:24:53 +0900 X-Original-SENDERIP: 211.180.235.152 X-Original-MAILFROM: ckim@etri.re.kr X-Original-RCPTTO: kernelnewbies@kernelnewbies.org Received: from [10.162.225.106] (HELO smtp001-imp.gov-dooray.com) ([10.162.225.106]) by send001-relay.gov-dooray.com with SMTP id 422b941160030546; Sun, 17 Jan 2021 00:24:54 +0900 DKIM-Signature: a=rsa-sha256; b=oq83quAvXSKbtDaCQADWa9qH20LsG4ujuDnlZCa0yqkwwrioOruLgqumGSoHJ7jImtGGgjBnWC 1HPRMTy3QIyAqRkC8mGy9gw2NH1gOpjMs7+sMZvieY46JXO63VAX4ysXHI2hUnEziOeyfABzpyGX FllbPUZDukcbp/Zr7fpchMjiPXYc5+3360gK6/oVpJXRN6dNLUidrJDWaZ2xMk9QlvDLmtdzMJUF pRzHSuumuO0vdCi18qzEW51I9k8aMol+VLrohL/5ANrSRUWJw/H/kNPqlOpJ2i0KEa1yODZYDtbY MKSKaLklmR4J3GXEkLlb3LResh4K83dnvz1knPAw==; c=relaxed/relaxed; s=selector; d=dooray.com; v=1; bh=IPlSOXkImt4PhHfaJ1wSVoblrjcfSZaTnht+gdBqYhw=; h=From:To:Subject:Message-ID; Received: from [129.254.132.39] (HELO CHANKIMPC) ([129.254.132.39]) by smtp001-imp.gov-dooray.com with SMTP id 72f8326760030546; Sun, 17 Jan 2021 00:24:54 +0900 From: To: Subject: device tree or ACPI table? and x0 register in arm64 kernel start Date: Sun, 17 Jan 2021 00:24:52 +0900 Message-ID: <2bba01d6ec1b$bcde5d90$369b18b0$@etri.re.kr> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdbsG7tqQSz7MmWOR62YU8l7TlBnZw== Content-Language: ko X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============7774621510049284956==" Errors-To: kernelnewbies-bounces@kernelnewbies.org This is a multipart message in MIME format. --===============7774621510049284956== Content-Type: multipart/alternative; boundary="----=_NextPart_000_2BBB_01D6EC67.2CC653B0" Content-Language: ko This is a multipart message in MIME format. ------=_NextPart_000_2BBB_01D6EC67.2CC653B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I saw the head.S file for arm64 assumes the x0 register contains the address of the device tree (dtb). But some systems use ACPI table for handing hardware configuration to the kernel. If the system firmware and bootloader uses UEFI and ACPI, (and bootloader like grub), does the bootloader set x0 with dtb too? In this case x0 is not use? Chan Kim ------=_NextPart_000_2BBB_01D6EC67.2CC653B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

I saw the head.S file for arm64 = assumes the x0 register contains the address of the device tree = (dtb).

But = some systems use ACPI table for handing hardware configuration to the = kernel.

If = the system firmware and bootloader uses UEFI and ACPI, (and bootloader = like grub), does the bootloader set x0 with dtb = too?

In = this case x0 is not use?

Chan Kim

------=_NextPart_000_2BBB_01D6EC67.2CC653B0-- --===============7774621510049284956== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============7774621510049284956==--