Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7985732imm; Thu, 28 Jun 2018 12:33:42 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL0wLZ4ljkpLybErHGgy9appcvQ4NIF3tE5DPFKIVrB9wvpnlph6VsGWU+Y+dWtYk1HatOO X-Received: by 2002:a17:902:683:: with SMTP id 3-v6mr11867245plh.291.1530214422386; Thu, 28 Jun 2018 12:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530214422; cv=none; d=google.com; s=arc-20160816; b=aCyy9hFGUg1ioV9zUjO3fHWCsgJ/E7jvHYO29KSQyWIa6L0F2jEIttKN/5fEHJ0dy/ EzGr5pOEnktxmi3UJk20wHygWU/4G9Cn/2lTRR/tFoE2d0pV3wVfr1GUkSDk+JnLOuyL AOuaEDsEzVN0/teu6FNXIwdLTV3Zr1aWBuDUzD0Gc4MChc2DJWUKHy852Mu2F1W7EyrL fTrhuqyuo34ScVct2TAb2nYlP4y/JcJzEUUfHHs1WS6rwra8aSLTu2mhz69MRZ5GruSY GqsUQc/PEi1+YkUlfAHr0/NRckNnDhu6ofSLUpVapqxu6zgfl7nepYElnAwmxAAWFPPt toFw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=fnWG4+klgAK0ep4tuu4/Eb944+kFmRk9Aj0ueaBeW0k=; b=iK2gRBEmBh06HbtF3S91ca9XVsps6ZEDiMlbXssztP1XTFvZk/gOG6VWPKAkGXlFqp FoOF3rZcXlY9xOg3VmbdTBwhBoLBak8trDHbskr8AZIVG584E4kafae2BRRub9mzaHhM VVkIF8Y0F4OthWKPrlWqUlJf8DKcLyA3mbC4GuQZJUpYJLjOn7hppbvWPX67cPfiPuZq C3c572ejWFA+hEa5gohRkAEkMzAptCwPfIvpaRWewwAkr0NbxJkyMDVThKV5rY851kWV DqxklyTcXECyKhzsM+/z6/IC6FiyCdc0mJqcPqb2rNOogfrDK1uOJCFwEc7fIL6d2M2z JSzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3-v6si5908555pgq.319.2018.06.28.12.33.26; Thu, 28 Jun 2018 12:33:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967551AbeF1R3X (ORCPT + 99 others); Thu, 28 Jun 2018 13:29:23 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:50878 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967499AbeF1R3W (ORCPT ); Thu, 28 Jun 2018 13:29:22 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E6CE318A; Thu, 28 Jun 2018 10:29:21 -0700 (PDT) Received: from [10.1.206.34] (melchizedek.cambridge.arm.com [10.1.206.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E40683F318; Thu, 28 Jun 2018 10:29:18 -0700 (PDT) Subject: Re: [PATCH v2 2/4] efi/arm: map UEFI memory map even w/o runtime services enabled To: AKASHI Takahiro Cc: catalin.marinas@arm.com, will.deacon@arm.com, akpm@linux-foundation.org, ard.biesheuvel@linaro.org, tbaicar@codeaurora.org, bhsharma@redhat.com, dyoung@redhat.com, mark.rutland@arm.com, al.stone@linaro.org, graeme.gregory@linaro.org, hanjun.guo@linaro.org, lorenzo.pieralisi@arm.com, sudeep.holla@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kexec@lists.infradead.org References: <20180619064424.6642-1-takahiro.akashi@linaro.org> <20180619064424.6642-3-takahiro.akashi@linaro.org> From: James Morse Message-ID: Date: Thu, 28 Jun 2018 18:29:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180619064424.6642-3-takahiro.akashi@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Akashi, On 19/06/18 07:44, AKASHI Takahiro wrote: > Under the current implementation, UEFI memory map will be mapped and made > available in virtual mappings only if runtime services are enabled. > But in a later patch, we want to use UEFI memory map in acpi_os_ioremap() > to create mappings of ACPI tables using memory attributes described in > UEFI memory map. > > So, as a first step, arm_enter_runtime_services() will be modified > so that UEFI memory map will be always accessible. > > See a relevant commit: > arm64: acpi: fix alignment fault in accessing ACPI tables For what its worth: Acked-by: James Morse Thanks, James