Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp1660676lqb; Sun, 26 May 2024 10:57:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWySVmwXzWTDLwwGJX/osnnDjaVHdh4tosdHzyZ/mMLEyKg9odOEhrZmv6iOShgKUthZpWq3Yhm8C3wRwiKfrun35rP11AdxBJcVoaSeg== X-Google-Smtp-Source: AGHT+IHV8Gw1d69GR6KSsz8k+VkkmBvZyhS0rRuJTTrhfL9z4/3C/rzk4ihp0iCzY58UzdZOsx6d X-Received: by 2002:a05:6402:901:b0:578:67e9:a46e with SMTP id 4fb4d7f45d1cf-57867e9a6b8mr2540272a12.32.1716746239838; Sun, 26 May 2024 10:57:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716746239; cv=pass; d=google.com; s=arc-20160816; b=SAvOINm0S/o7EWcVoTKoMJOWOQwsR3g1p7fngvJ5Mfth30/K06MGi10oBFEOGQeSWi LIEpCkHTyqW8SN0SmCOJOiSSrNZNFF3OU8Ww35ZQZG/965auDLjz5F1CINwjjkSmwgzx 5P4AcLNJ/TPpp23UImKBjBivBeIGgiX376BYnlXuYrE4LmPwo99DCCwt4BNTYjeGvNH0 9oLuRAYcjoZH6WxvdIfTz/yT9Z2Z29/bmQaF/mpUlegFwDIqunXwRug07TAZnMvnJRh+ OMyqU/M/Yt74G354ga4ff88zqYyIQLdZ9JsinXpaKWHrTKanuUveUP6KWb8GgSVSP1Yp Q/fA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4wdEt72NXsmqG4ZgtbWkypOIL4UtO8kSPqTnYgEIfbA=; fh=tYiCDpzIiiMXUJamgD7hfPiMUfrN52Y4RTnBk2auk74=; b=0iTlNlsufTrfPdIUivMsUQBUQnmGU19zVSMfrfPYXerVszBzNXVJ59OkvTibWPVUe2 a8iAQ5SYhGw54BuyEb36dIOqm5dUkgkQ4YCunoQ9eEBgKvs0C9X13B6DkYLyGGyi5E/C u3TKp6gMsuonR0sbtBOoAEZxt0vOqukuGGZecYMSJveGMFUj5NMR8RO7c9rLhhWgSS59 GKePVS0GqnNL8IFFcUIHc+oPBNavbhg0BNvapQLn3WhlDBgxz8e4gpeEd3/5nnf+ST1I 4o7SiD+m4UZFlxP0IWDrG9xOsQfV5zEBtlav72oFiXV/wbQn3UJetrMhmg8b5NO/KCvO nrvA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KihD5xGs; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-189807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-578c164c094si1813231a12.152.2024.05.26.10.57.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 10:57:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-189807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=KihD5xGs; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-189807-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-189807-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8F2401F2101F for ; Sun, 26 May 2024 17:57:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 818DB12BE84; Sun, 26 May 2024 17:57:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KihD5xGs" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 2DA17127B7A for ; Sun, 26 May 2024 17:57:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716746227; cv=none; b=OQMfukP6iYFhG0c+viQul3DXjHVtS4f64tqXcKY2+fUMae930oCZqFzyeZpBTf8OcOeiIGgLRLyCmMOiAXoJZ2JW/bthJzKP9u9s1iHtCpO6IzlIVqKagSA9jlaqY+Y8P6wpalKozu1JV7t4YCH8T02zU0OxZyx+7fpgJ1YOPPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716746227; c=relaxed/simple; bh=gwrkl0x0ZYQXDs57tv+T6mmq3c+fVkN3vQ8jk1jAIGw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lmAc2DglCFHdZjnxeUuDak2UQRMNJ5EZXGm/LoeX+tD7oq0v+DJgCZbz6gyJyivnChD5zQKZ8aQWqz7HrO9pp3hH7shS+FSMeD3RT5fNcUPrCkQW3dmR6jdCYZr4Apl2YizRmSZfniQqlxgM0sOTbOUKYbpHdXByrkt75k+VeZ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KihD5xGs; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a62ef52e837so31940066b.3 for ; Sun, 26 May 2024 10:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716746224; x=1717351024; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=4wdEt72NXsmqG4ZgtbWkypOIL4UtO8kSPqTnYgEIfbA=; b=KihD5xGsGFxOQItH2RtVfRUVzHAlF+lMkLaWFVEZsRCpDcvMYd6NZlhMfHKn++Twcv QwOtdefK++LHVNra4GBXw1yEcsT2rQtgzTzUu58utBx+4Hezwiv3ChP+Hsjadfy8lmRi 92xB9+idVzYxRAkkM5ZAU6hVB9892o1/qu3227GgXw42FZV627OjPNnOShtlISz8YLL2 28g7/He5kzZ9zbfeZT54oCj/l9RheUq/5ZDYP0c8lktL4OzetqAt7+889riiFMv2JHnF 7nYCpCQ67pCeo6ohN84iux9EKVmNq+4xuGuJoruOcCGvsyTiWdmBwuVgU0G2dL/GwbTB 4GcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716746224; x=1717351024; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4wdEt72NXsmqG4ZgtbWkypOIL4UtO8kSPqTnYgEIfbA=; b=VFKX6wL0UpBqaiiZf22MWDdH56iRdama7VlHR7pLJYVuFRlJItAq0k+8N4u69j58nq mU38htuEf0zm198kcbqZR6XHiTbLMacrKRJjjcNMSKR+FI+s9tzx3lLcGhjJpbJTFL78 rRyK/+2Xner1nCgbd4SiLqRAhxTPUXCWfrpr2G1aL0T12EV+xgOVn8A7XIoc2wSPsToV KFSX/hEmSRB3DxfB4dmo5dFQTsQAscEzBbA+A9nkanJ7SOj6EZrcHCnc+drA16/0Pp0p ORvcbctETDwtKN3pJPK+e/27e3CF+5nxozELjDg7VwUKQBNuTITYxNDk4+SBiHwggTqk k5OA== X-Forwarded-Encrypted: i=1; AJvYcCUtaON3HuM4Fh6o+YBlFyt3T9eKzJL8uNhHoJT2v5aHs66E6yBo0eijPYuHsFTHEBm3qNNgNbmcQZUlliTvSNurfeHraju64b1b2msx X-Gm-Message-State: AOJu0YzBpqbrrlNYoizx88ME2F8xFPoFbcM2t4ksOr4Yljony96PmUDW IlIfazDzVtXZvkNpKVKjzOzaRjT7elKedwg/4CVAKsg/1ntEoK3W X-Received: by 2002:a17:906:d18d:b0:a59:ab57:741e with SMTP id a640c23a62f3a-a6265112305mr520494766b.76.1716746224366; Sun, 26 May 2024 10:57:04 -0700 (PDT) Received: from localhost.localdomain ([46.248.82.114]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626c817c52sm406424866b.1.2024.05.26.10.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 May 2024 10:57:04 -0700 (PDT) From: Uros Bizjak To: x86@kernel.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Uros Bizjak , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt Subject: [PATCH 2/2] x86/percpu: *DO NOT MERGE* Enable named address spaces for clang Date: Sun, 26 May 2024 19:55:53 +0200 Message-ID: <20240526175655.227798-2-ubizjak@gmail.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20240526175655.227798-1-ubizjak@gmail.com> References: <20240526175655.227798-1-ubizjak@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Enable named address spaces feature for clang. However, someone from clang side should qualify the compiler before this feature is enabled for real. Signed-off-by: Uros Bizjak Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: Dave Hansen Cc: "H. Peter Anvin" Cc: Nathan Chancellor Cc: Nick Desaulniers Cc: Bill Wendling Cc: Justin Stitt --- arch/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index e8837116704c..08455e62f994 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2433,7 +2433,6 @@ endmenu config CC_HAS_NAMED_AS def_bool $(success,echo 'int __seg_fs fs; int __seg_gs gs;' | $(CC) -x c - -S -o /dev/null) - depends on CC_IS_GCC config CC_HAS_NAMED_AS_FIXED_SANITIZERS def_bool CC_IS_GCC && GCC_VERSION >= 130300 -- 2.42.0