Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1777858pxb; Sat, 23 Jan 2021 05:29:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJy578MPHvtD7jn33ZMjsRnO12cvLOaE+0Oi79LtCofsZJS8Y0w7zNMxJy029339bWUBJXWl X-Received: by 2002:aa7:c813:: with SMTP id a19mr861709edt.136.1611408547086; Sat, 23 Jan 2021 05:29:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611408547; cv=none; d=google.com; s=arc-20160816; b=YykVrW78422GYng1oJsP2uoHF+bv9Qfptjfczk40nbShL+a7pYRZBy3/rMj3zyQTsM GjIIrum6A91aX+1mXIXkVL1/1QjE3SK0vufSy8Jm1Vdej0JzDWSPfFiBCHImGvy2aUUA abXxpBo/3wEKpl1wSY4XzogohgIwj1ayJshPiU/5ecjfl9eZtQ+R9agRzkr4PRn4N+k+ qKxhY+5g/pV4ULwndVVvzaZrWXIctdQvA992Q6Or3kBC0k8xG2papXsfdLFaRv5Tc2sa xJPK8LofUeqQmpxyn3/9fizHg29sitNH/otL/xW7bkgFbr5qwQi9fMz2vBJeSrbPQqlg bXJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=aaOAIwAstdGsFXicsXuMDYPKFDO8M8tqbn3Qd9bN/9Y=; b=GWMuYFIVDsd4LClSOds31xdyOo9wFy1jHbGAlU9N5gPiZSvUnOP9j2brv1fukoW1A4 d3271ldpKZL5f+FtFl238GvJKXF/TAUMtQE51ScZZLCgFXeebvqPH3LVvC/SqPIF4uo4 vdsJQR/CjNY7+tUosx9bXJElRfErkG53Ecg0Sd1oEP9atC7WFGpjHKrY3QzSfaGcrR1j nU1RRYpLcGqdY1fjRX/sxd0kBaoW5pDAmqBGxG3A3o1qdxfEhQoj1uiPIH5UmgUTWjqo 7PSzgQEDJ7iDWf2lBrPo/qFNl/ZO/c7hwPnKknt8EFviG3KXMGZZLid1z6sm5EV3yEwZ cfaw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si4145868ejx.635.2021.01.23.05.28.42; Sat, 23 Jan 2021 05:29:07 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725863AbhAWN0F (ORCPT + 99 others); Sat, 23 Jan 2021 08:26:05 -0500 Received: from mail.kernel.org ([198.145.29.99]:52404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725778AbhAWN0E (ORCPT ); Sat, 23 Jan 2021 08:26:04 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0D61523159; Sat, 23 Jan 2021 13:25:20 +0000 (UTC) Date: Sat, 23 Jan 2021 13:25:18 +0000 From: Catalin Marinas To: Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-kernel@vger.kernel.org, Will Deacon , Mark Rutland , David Brazdil , Alexandru Elisei , Ard Biesheuvel , Jing Zhang , Ajay Patil , Prasad Sodagudi , Srinivas Ramana , James Morse , Julien Thierry , Suzuki K Poulose , kernel-team@android.com Subject: Re: [PATCH v4 11/21] arm64: Extract early FDT mapping from kaslr_early_init() Message-ID: References: <20210118094533.2874082-1-maz@kernel.org> <20210118094533.2874082-12-maz@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210118094533.2874082-12-maz@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 18, 2021 at 09:45:23AM +0000, Marc Zyngier wrote: > +void __init early_fdt_map(u64 dt_phys) > +{ > + int fdt_size; > + > + early_fixmap_init(); > + early_fdt_ptr = fixmap_remap_fdt(dt_phys, &fdt_size, PAGE_KERNEL); > +} asmlinkage here as well I think. -- Catalin