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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3DE72C433EF for ; Tue, 29 Mar 2022 17:06:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2D51183D0C; Tue, 29 Mar 2022 19:06:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="kAbYm0oa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9BABA83F91; Tue, 29 Mar 2022 19:06:37 +0200 (CEST) Received: from mail-wm1-x349.google.com (mail-wm1-x349.google.com [IPv6:2a00:1450:4864:20::349]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 2385E83986 for ; Tue, 29 Mar 2022 19:06:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=3mjxDYgUKBjkkojndbjjbgZ.Xjhp-Wjjogdnon.YZis.YZ@flex--ptosi.bounces.google.com Received: by mail-wm1-x349.google.com with SMTP id i65-20020a1c3b44000000b00385c3f3defaso7022615wma.3 for ; Tue, 29 Mar 2022 10:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:message-id:mime-version:subject:from:to:cc :content-transfer-encoding; bh=csfoVqIP6aadDxoXqDVb7KBxRi2nAAyZXmJEMDtKoJw=; b=kAbYm0oaThLCMQchp/5SEOOnWXTDOkfIj7MppatiIxt3tUe4c3oaVVWexVBgyXl9w+ gnap+l/h8bCYdbX4fiN8Zhgm95xpmgfTE2zLrKS+2TTVKptX7rrpBNIpI0SrEryyLqkX MTHQgsr9ivUnIpyOdZjY2kGgyJvDHrQOzrSg1/zg2kAtHwRO6As/WBgBmnI6SiyRemzP gy8pOvjo8Hfmnmni1owH6FY2ZrFeiK0+hajI+OnUh56NXK7JI83Ak2GxykJo/kFzRrl+ 3YbmSxWj1uudo2lJE+ozEDZdJWt/8qP9okEdoeKdq5fN47D5fwy5DRye0VRmmSTo5GGI 1Mbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc :content-transfer-encoding; bh=csfoVqIP6aadDxoXqDVb7KBxRi2nAAyZXmJEMDtKoJw=; b=N2F9M3QH7ugLJR9lBdXLpP1v8cVuglBLRu2rMj60xFfjbVBD6WHzV6IVE8rOvXg6Rx OJPZfxx40Ixx2RyQAqpsEIHYo2e0uo1FZfBUTA/0Goi6KpiM5Ohph9+YgoYiUKdJxg8M ifoJh5AzSx8qczLHH495u0g8qYJ8iqgZziC+kVUFGt6M/O+B6k4Gxpi05o0UtCCtJc+H eBrrS8zoIEUNXMk+kqoHFvyZk5D0MyKh5/av+AlCvBKKYotjo3kPenNeHtwkJkcuZJKy RiBsd+zCFZwnDCjbSXl6eyySS8f0BQSC4f08oPQhjUNEft3hF3OezNXp+3MpGs+AJUnL umXA== X-Gm-Message-State: AOAM532xLvq+aCn0urbqhajxOxLeCpTLrT9sxYmxPnupQtKO5ODitb02 PnMwWS06GYBvTRTrDPLATC5PSOQ+TnO4Q4mXxx/j6AWRfIL7h5zmGCMoWreI7KZYcik0OzIdcB0 5T3DL4mYZfbcJKPNa9cphIxHQLHzt/0Px9vTShqpKI1pC0jrBokudqwIq X-Google-Smtp-Source: ABdhPJy6bJ41kE+M1J2b8uCp8kDLPIYrQTDVL+0De4uhTI7H5ZGoX9afZB1vtN6jzt5aj4NOpf/asY8gJg== X-Received: from ptosi1.c.googlers.com ([fda3:e722:ac3:cc00:28:9cb1:c0a8:afb]) (user=ptosi job=sendgmr) by 2002:a1c:2544:0:b0:381:18a:a46d with SMTP id l65-20020a1c2544000000b00381018aa46dmr253270wml.26.1648573594408; Tue, 29 Mar 2022 10:06:34 -0700 (PDT) Date: Tue, 29 Mar 2022 18:06:05 +0100 Message-Id: <20220329170607.689006-1-ptosi@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.35.1.1021.g381101b075-goog Subject: [PATCH 1/3] armv8: Include in mmu.h From: "=?UTF-8?q?Pierre-Cl=C3=A9ment=20Tosi?=" To: u-boot@lists.denx.de Cc: "=?UTF-8?q?Pierre-Cl=C3=A9ment=20Tosi?=" , Tom Rini , York Sun Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Import missing definition of type u64. Fixes: 22932ffc03e5 ("ARMv8: Adjust MMU setup") Signed-off-by: Pierre-Cl=C3=A9ment Tosi Cc: Tom Rini Cc: York Sun --- arch/arm/include/asm/armv8/mmu.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/armv8/mmu.h b/arch/arm/include/asm/armv8/= mmu.h index fc97c55114..517300e566 100644 --- a/arch/arm/include/asm/armv8/mmu.h +++ b/arch/arm/include/asm/armv8/mmu.h @@ -104,6 +104,9 @@ #define TCR_EL3_RSVD (1 << 31 | 1 << 23) =20 #ifndef __ASSEMBLY__ + +#include + static inline void set_ttbr_tcr_mair(int el, u64 table, u64 tcr, u64 attr) { asm volatile("dsb sy"); --=20 2.35.1.1021.g381101b075-goog