Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp1306472rba; Fri, 22 Mar 2024 09:56:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVQhBCDPaDj6yGFNpEQK4GcqAijoCzcpTcM5yeTYO4J7fNaBEe3thVt3sQCVsAsdkzSP0ta1m4DJe/O1eI3CDP2xuH8WUxZpHFB6CyODQ== X-Google-Smtp-Source: AGHT+IHVXSQwvcQT6ZCIzezaQfk0nBK4I4EQOAFbVmfuVdf0spQ3yWuKCK9P02C/6qU3qFqW8FNV X-Received: by 2002:a37:db09:0:b0:789:d43a:a6e0 with SMTP id e9-20020a37db09000000b00789d43aa6e0mr15774qki.14.1711126561873; Fri, 22 Mar 2024 09:56:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711126561; cv=pass; d=google.com; s=arc-20160816; b=eWCFCUwcWVC2DBUg4tGEzGJu/x3v8gwHn/OwtJ/sA3690npoEFhhWSPbpiFZDiA7wU vdUtMWdTxZtzyqOZqPeoS+K85U2clgZtXmMgETrxxWEGv2KsfDL98CU+p5bcavfH3Nct HFvmx4tO2DY7YRqnRd2bRUZmm/beHcxIqjvpHZsSCZIInfTxFlQY60+AeuUlkykpQn/f AtcwozundThLXCwnmkuoxrFyKokSSTEmIlyGZTqGXxAsC/qKn7DHfMWRqg1npVaVeSV4 Z6rdoKBMRbo/0g5J40ML40S782L8mA1LgDYd+lOVVEEEdN8nsFtWnIdYbJx0tKQI16CR vfGA== 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=bcrz+iNlkSMaXga6GjK/dXFl4dsslQPtza4Zz/b9aGg=; fh=Ybqzib7VvyNw0H6IRXAkoWQJMJZhcT0LA+Wn4AzKnx8=; b=x6IccXCaJSgXK7W2FVGPmR3pXeepIBKRDKx/3n1Q3kP0FdKmh8QLM6zBSwNk1bjRQ8 75c1P/WBot2658csSXB8ABD91BuvV882MaGAB0/4epvMDi2v/vDVVgJK9Uh8mDtsEMXZ vMYin7nAGwldyfUWPCfN/x4eu3/Xq78xltp+vdAHsYqmz2nRrQd+UPOTGkCESKf3kDns 0SJfsCZIE8kBguq/tx/1uLDNsrH3a60JIq80c1he6H3g2Xuv2Sx//ZXF+J+9SCeQwjP0 23hXxcauspjESCB0o5o+/oIuJCUA95B9epY1POvT4Gn0ucpXqj6/nmjLETUBZ3pxWFoc DycQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K5JDXIjJ; 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-111823-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111823-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q24-20020ae9e418000000b00789e614ce90si2351743qkc.767.2024.03.22.09.56.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 09:56:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111823-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=K5JDXIjJ; 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-111823-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111823-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 873E31C220E3 for ; Fri, 22 Mar 2024 16:56:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8366560893; Fri, 22 Mar 2024 16:53:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="K5JDXIjJ" Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) (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 B06B0608FD for ; Fri, 22 Mar 2024 16:53:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711126386; cv=none; b=i6flPHql5fRazLSm2oEL78TsELtaOtsbjg35JiZF+DXps7i7Rz5+khWPZyS1BX/F4JYnmM4sbbSscZ4zfNStvA7hvnKlShuDDgupT+uPVxJm6vAlILke+pYxALpjMyF495ou5VKxgSmsyYlr95hooCQzPgb7nQR+QLTtcF0tTBY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711126386; c=relaxed/simple; bh=1igDXVcGgPluBlHDLoIaqQCElcppshSoQ7wAP1/2GMc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AiBAeLTHTNa53fxN2RDa3lROd2hzPQEF9nLOmL6vdJ9RvCRTi7zaG/AbFZSH6x7iKYi84e4o+QxSMbfnZYXOqaUn9PsVLUtcegSNAG79Ny2xdxIBAlBlw35iSeRZKGnF5DDIZnSBfGJ6A3ciYiwMMXKiF9JSCNvuded8lClDVK4= 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=K5JDXIjJ; arc=none smtp.client-ip=209.85.210.42 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-ot1-f42.google.com with SMTP id 46e09a7af769-6e50e8dcc72so888806a34.3 for ; Fri, 22 Mar 2024 09:53:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711126383; x=1711731183; 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=bcrz+iNlkSMaXga6GjK/dXFl4dsslQPtza4Zz/b9aGg=; b=K5JDXIjJFFX0dP4n7csFbzd1pVAdoeRL9F4wIy2yH6Sd8a85ygOHRUL2VoixwWL/hd 7AKgg+1K4ayMEdzYNmeHt1ZA+XJQuvAKolmYFIf8hHyqrdvDB2TLKu47iB7EVQ6T3CCX 2CB5B4z+6YecUDmq6DZamPN4hN1bWbue0nrpia6xEKIFBQa8VVC/+Yyv+LTPjsz5mHS6 h89MFdJ0bTI+oM6Z/Wzv2/3Z6OqeYKnVxyE4XkUZXOV/cUAWDbSG25yboHbgFCxZxy0s 9glxm+jORA3N7Lz1ljPM8xeFtPv2oEjcLNSf5uPRxFpzZNVeteMzAvpz+sHQnelqKPXQ Yo6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711126383; x=1711731183; 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=bcrz+iNlkSMaXga6GjK/dXFl4dsslQPtza4Zz/b9aGg=; b=kKbmNTRNoXnnUhH6hRrF6yP7CvsCwJcOe5mySTfYE0eKPfEBr/bB9EXAeZKh28wmLy 286lBYPuCvqk0jCgSg0R/NcpMEs1WMR4JuSPLFu+wehaSgASwiGszCLIzvEUF4xMEQ+j 9flCWJ/0FFJG313LaJGHT96BZwQPH7pDE+OcROnvnpYTAxFp7V8D7G4sktVFYoF6FY6T s0ngYrcN5QhZcNQONMem9Ow1BuIVAJpO2yU1xhDKvdNVNMxYCAh+gXxQSdk/nRbZbqP+ VqF7JnLfDNz5x/tusnVzhRoDNhN7/saq5Y8VDZ7hFLFpIlxEmxKOroorKmSvHh93Soco pODA== X-Gm-Message-State: AOJu0YxVlepqr11d0WxPDfWnPJKoCak+/t0z+kQADIV1H4CdYVqjRyZr 4jDorPbLoyna5F3zikLexdH6D7yj5fBCsOyd7Ekoui/atcSEIE2cZ6It0L4= X-Received: by 2002:a05:6830:148b:b0:6e6:97e5:7949 with SMTP id s11-20020a056830148b00b006e697e57949mr229305otq.6.1711126382941; Fri, 22 Mar 2024 09:53:02 -0700 (PDT) Received: from citadel.lan (2600-6c4a-4d3f-6d5c-0000-0000-0000-1019.inf6.spectrum.com. [2600:6c4a:4d3f:6d5c::1019]) by smtp.gmail.com with ESMTPSA id j1-20020a37ef01000000b00789e9bbf962sm894901qkk.133.2024.03.22.09.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 09:53:02 -0700 (PDT) From: Brian Gerst To: linux-kernel@vger.kernel.org, x86@kernel.org Cc: Ingo Molnar , Thomas Gleixner , Borislav Petkov , "H . Peter Anvin" , Uros Bizjak , David.Laight@aculab.com, Brian Gerst Subject: [PATCH v4 13/16] percpu: Remove PER_CPU_FIRST_SECTION Date: Fri, 22 Mar 2024 12:52:30 -0400 Message-ID: <20240322165233.71698-14-brgerst@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240322165233.71698-1-brgerst@gmail.com> References: <20240322165233.71698-1-brgerst@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 x86-64 was the last user. Signed-off-by: Brian Gerst --- include/asm-generic/vmlinux.lds.h | 1 - include/linux/percpu-defs.h | 12 ------------ 2 files changed, 13 deletions(-) diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 9752eb420ffa..74f169772778 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h @@ -1033,7 +1033,6 @@ */ #define PERCPU_INPUT(cacheline) \ __per_cpu_start = .; \ - *(.data..percpu..first) \ . = ALIGN(PAGE_SIZE); \ *(.data..percpu..page_aligned) \ . = ALIGN(cacheline); \ diff --git a/include/linux/percpu-defs.h b/include/linux/percpu-defs.h index ec3573119923..b9ddee91e6c7 100644 --- a/include/linux/percpu-defs.h +++ b/include/linux/percpu-defs.h @@ -26,13 +26,11 @@ #define PER_CPU_SHARED_ALIGNED_SECTION "..shared_aligned" #define PER_CPU_ALIGNED_SECTION "..shared_aligned" #endif -#define PER_CPU_FIRST_SECTION "..first" #else #define PER_CPU_SHARED_ALIGNED_SECTION "" #define PER_CPU_ALIGNED_SECTION "..shared_aligned" -#define PER_CPU_FIRST_SECTION "" #endif @@ -114,16 +112,6 @@ #define DEFINE_PER_CPU(type, name) \ DEFINE_PER_CPU_SECTION(type, name, "") -/* - * Declaration/definition used for per-CPU variables that must come first in - * the set of variables. - */ -#define DECLARE_PER_CPU_FIRST(type, name) \ - DECLARE_PER_CPU_SECTION(type, name, PER_CPU_FIRST_SECTION) - -#define DEFINE_PER_CPU_FIRST(type, name) \ - DEFINE_PER_CPU_SECTION(type, name, PER_CPU_FIRST_SECTION) - /* * Declaration/definition used for per-CPU variables that must be cacheline * aligned under SMP conditions so that, whilst a particular instance of the -- 2.44.0