Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1380631rbb; Mon, 26 Feb 2024 07:34:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxcCNhNXx0/sQYRo04hDzID8PJTmndazGXf7ksrVnPCejAYR2nP4/GNw4VertMXv2RprCoCDx/5oNsUacOO2Rdq0+jtwGdlwQQ3Q7mvw== X-Google-Smtp-Source: AGHT+IG/sfVHHuiDgAb0CXmDAoiKOyVUZMyUTAwzmrqwzIKr63Od3F34CsBWTE4O6/irhShnFKT0 X-Received: by 2002:a05:6214:2681:b0:68f:3058:a0 with SMTP id gm1-20020a056214268100b0068f305800a0mr11727155qvb.41.1708961645386; Mon, 26 Feb 2024 07:34:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708961645; cv=pass; d=google.com; s=arc-20160816; b=ademDIDk9hHgBJppOJHkjhypT0goWA8FDEGOO5QwjGR4b0AcjnlkI8+f5n6n2An/hI NJDJOcAl9uKiqGXGyBbw1hfKlPAt+W4/aHgYIFnHPKr/YX7UPHIOoJ2B5FT2IKAKUFT1 u51Yw1+P+HhMdojY0ukU5m/Bha166gaJarrcIJ6/CX4HENUp9GhzJcDYxtAzBlpJneXF Rn427TLq+I0tg6wr9znFykEcN6n6wqzcF2KM/VYW/4SDebWCmPlDcwt4fAdgmnJvgghr MNYDjKInA/B35xMfXqvqGfY2dT8J6AnHb0h/ptdE025A1Dg2PRsbB2z1jxwFbQu+rBNk 9GhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=CLzmfaxXuoVSovPc9lvPOJuzDpcgdZmABwHl2F0yx7s=; fh=ZNoogdD+tOw39Xj2awVs5i3aMhLHe99S66kmsrDjURw=; b=ZjFshUw4hsUw6dtRE7Imb6jXny/W0Gej/SNtGIXHqAXABqZoEpjPOC3klpzL774WF/ GxZacMzxOsp4ffl8FI/OP7wPv5qfYQQag7Wz4vaECwjZZOlgPo11MsLVO7PT8XG2rItS ALt4p3CHYdsBcJraM9K2pCLe5nMIZhl8oR4XFHEkQWycTyp0kItMijNJKaIDV9dxinEe 4Un4C28Ge3R/iB5rk0e6vu3NP9rg6vDstMavkzuquH315XuNIcSGGHsHDR81RUi1qi/g Ms8F5dfIYV0u//7dEMR5TxDU7gjW+cZgp6gWBbR+s6Z6eJzKvLSLcs1g+kut5ymkqG9P NxaQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Lodzc/PJ"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81812-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81812-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 13-20020a0562140dcd00b0068fab53dcc3si5368570qvt.64.2024.02.26.07.34.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 07:34:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81812-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Lodzc/PJ"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-81812-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81812-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0489E1C233BD for ; Mon, 26 Feb 2024 15:34:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6554D12B145; Mon, 26 Feb 2024 15:33:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Lodzc/PJ" Received: from mail-oa1-f45.google.com (mail-oa1-f45.google.com [209.85.160.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 113067E794 for ; Mon, 26 Feb 2024 15:33:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708961638; cv=none; b=Z+4VyJXqd9aXyrhkeuailk9y0JuChbi4ddoM9pzlnHeFOOhiqC5qZRkhVWgXwMf32ApBWkSAB68/+eXCWq/IBHEyQz3oe1eSQTG6nEL/sF2OgNrsqcYgVYMfJD9hxjV8nXylHbD7+b/pLPlAFwMEHM2XJ++DlXvO7XZYcePbV4I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708961638; c=relaxed/simple; bh=0iyDe1EQgm5oO9vhF/f5ONPzJVHkPLKyTGhY5TjDUDs=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jwaOHb1ACmYKzKyJaczjupnn8FTLxDEystq9Pj68kUs2Im4JxFjBqDIm/1UFZxMaSMHNkGjoe8QhJ9knSW5Z/PFsnpyHZdhnGdeffRNZYZEYwkNwQLP//2pStLB4myVaOfr4PM3fTB4j9EcrIzcpzUNTm2cAP5CPHJyD+nX329c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Lodzc/PJ; arc=none smtp.client-ip=209.85.160.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-21f3a4ba205so1227144fac.1 for ; Mon, 26 Feb 2024 07:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708961636; x=1709566436; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CLzmfaxXuoVSovPc9lvPOJuzDpcgdZmABwHl2F0yx7s=; b=Lodzc/PJ6v3QIQi/tSgu/A2iOYpmfJaUTOPwFvmgzYIS8WqNzuPbdVo1JuPdDq+u19 TsGBzZzFEC/SD/LRupuFO6kyHbPq6eD04ex+u44AHaWW0LLUKVXbdqYQXFVuhmlvWhoW A9yCHg/INBd32YUabwGGJmvbeDXPRZGOIIKtaEJpXbDbk1qsK0LuLRGzggLTz65RezqY VBkKO7hwdxC8WtwWucUS3Mrj2RBKmrEYdJlnBVczuJG1QmUQ+mhFlrubz6tQjXlvQ5PT M38WekEAs7imppvioW80jWqz9jgx5YFBBeuiTUd7ZQquXufX2BTr7aEfyaLfJYmhgO5B WGYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708961636; x=1709566436; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CLzmfaxXuoVSovPc9lvPOJuzDpcgdZmABwHl2F0yx7s=; b=DVhVpSsJjXdFINVaKbgrMgkveznXXU6/VBOuJVSsTkn7ncynXd3Dry7szTDS3JPNRW T1UgW7oY4VSO0E51c87h2KXeJ4GUBkZZ20uwVp9eFH/RUwsDl7X2GuCqHGAUFEHuFsPf 4NTfJFUqWmYNM02zcLMxbjGAlSsirqqDo0L/JGu2snhb3eiHm98hmv0D5kLbFZ6OeM2o gK5zSEjFJFIcx5hdumus01a8i7zATxIdQVCYY+b7G2OoMsI2AEUPXnl95rEme+Ff+bqp DhnqBns44O2Lj09PyDf6R5H7BYSVGC0ljyvljsz7udaeJoBCJrGShd2lglvHsHT+K4bU Wd6A== X-Gm-Message-State: AOJu0YyNtxvu6HEmy+1bmpSs1oJjk1gVNLIntos5X0Z9Tcn7e0eAzuV9 soryVfBdkcGRapIyPC5wouXJA94YkH+X7IeVDNcTJiouNnzWJ6ss465K9Y/hfMOf6fvLk5P4hIg 4k5j1KVAckcySFxkV0lRmwGEJjAoj4onYp6uYrw== X-Received: by 2002:a05:6871:58f:b0:21e:b695:dff5 with SMTP id u15-20020a056871058f00b0021eb695dff5mr8429175oan.20.1708961636025; Mon, 26 Feb 2024 07:33:56 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <0fe0add2-6b17-441f-a0e1-7c1ee9b0ea71@app.fastmail.com> In-Reply-To: <0fe0add2-6b17-441f-a0e1-7c1ee9b0ea71@app.fastmail.com> From: Naresh Kamboju Date: Mon, 26 Feb 2024 21:03:44 +0530 Message-ID: Subject: Re: arch/arm64/include/asm/atomic_ll_sc.h:298:9: error: unknown type name 'u128' To: Arnd Bergmann Cc: open list , lkft-triage@lists.linaro.org, Linux ARM , Anna-Maria Behnsen , Thomas Gleixner , Vincenzo Frascino , Ard Biesheuvel , Catalin Marinas , Kees Cook Content-Type: text/plain; charset="UTF-8" Hi Arnd, On Fri, 23 Feb 2024 at 14:56, Arnd Bergmann wrote: > > On Fri, Feb 23, 2024, at 10:10, Naresh Kamboju wrote: > > In file included from arch/arm64/include/asm/lse.h:5, > > from arch/arm64/include/asm/cmpxchg.h:14, > > from arch/arm64/include/asm/atomic.h:16, > > from include/linux/atomic.h:7, > > from include/asm-generic/bitops/atomic.h:5, > > from arch/arm64/include/asm/bitops.h:25, > > from include/linux/bitops.h:68, > > from arch/arm64/include/asm/memory.h:209, > > from arch/arm64/include/asm/page.h:46, > > from include/vdso/datapage.h:22, > > from lib/vdso/gettimeofday.c:5, > > > > from : > > arch/arm64/include/asm/atomic_ll_sc.h:298:9: error: unknown type name 'u128' > > 298 | u128 full; > > | ^~~~ > > arch/arm64/include/asm/atomic_ll_sc.h:305:24: error: unknown type name 'u128' > > 305 | static __always_inline u128 > > The problem here is the separation of vdso/*.h headers and > linux/*.h headers. > > Commit a0d2fcd62ac2 ("vdso/ARM: Make union vdso_data_store > available for all architectures") introduced a reference to > the asm/page.h in include/vdso/datapage.h, but this is outside > of the vdso/*.h namespace and doesn't work in the compat vdso. > > I think it is only needed because of the PAGE_SIZE macro, > so that constant needs to come from somewhere else. > > I have an older patch that I never merged to unify the > page size configuration in Kconfig, and could try to > dig that out if nobody has a better idea. If we do that, > we could introduce a CONFIG_PAGE_SIZE. The 16K and 64k page size builds pass. > > Arnd