Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1885062lqo; Mon, 13 May 2024 00:57:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXApD8K/Dl0s5SS+Iz+53gsLQkQUNqBNRHuCfZT7c2ZNeR7+7iFVLcOOy0i8QbjfNsshMidx70IFv6AuMzSOyZFh/D+kg6Z8PlqR9LMeA== X-Google-Smtp-Source: AGHT+IEJXV2n4OQvrluLp2dPkk9q2EXIkNyFMuSZRb6p39/SuXZ4DgIJisqgBRMxwVFAmnYAKGLX X-Received: by 2002:a05:620a:414a:b0:792:dc65:bd80 with SMTP id af79cd13be357-792dc65bf40mr296757285a.1.1715587035971; Mon, 13 May 2024 00:57:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715587035; cv=pass; d=google.com; s=arc-20160816; b=lx017sA4Ern5p+ECc7qMVD0f9vydOTVaNfZjrzVXo1ceSlICw9hQdSfQrFgQMuHvc6 65pmpAz1WF5Xw2MifcSTVZlmOhZuFf5p9+wSEyhxPHY766IN/pMoe/orDR4YjPqas3bj kfE0C32w+m1TfOZGi5wuxv1RASoT+yxmS7F4UgbNQr2Dv5RC0RxpQgAj9dWaws1yMTWi viqEyJPLnuOIkMZzfd9+O1DOzVSwgdwp65XBM0OtsrAEzX8xj/tWXYWS1iO9tPgZUJ15 U6Il+mNQ8XS1L+QtcUKJ4byW54ir/Zowya1jFGOZLp/DeHNw8V2pWkxTHaTCtvdwHYG2 yfug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:sender:dkim-signature; bh=IsCF8cRPzCwLqfZ9Sx6lTmA2VXF/bwry4jJkEGhVAD4=; fh=wkdLSvrISvxEotylRIiY6c2cbFPq3YCKzcVZLJOb4wM=; b=c+Fl/A3VQLQsyiM9A1n94t1poZd9tSjGx7vzQQsCbcGdtiy/DKlii0nodgU9UXKf7Q 0xwfRut6YlRDtwUx1U9nqvdm0Qh4EcXC8xxzJViwbwpALw4AsSyPzA9xF6PpCPQ57gsU w7ESXlQ7tEBVJEaqw5LG217d080ydiTzP4sNC8w71udsQgsFG7Z0+88kTjqTteNthHtl 59Cg6Kl89MA9z5463LU4bKl56VmMFzBeaaB1GO0wmGDRHSx3t9GxTJL4iwl4wC4HKHF8 lXi7q8rgO8Q2RqPNQyq4LIEFB9tzzb/bUdFp8rOAaZyOBCAnVX1eP8ua0hJlHKW0HtTi f3pQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eS0DKQX0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177311-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf277eb3si875261585a.75.2024.05.13.00.57.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 00:57:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177311-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=eS0DKQX0; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-177311-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177311-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 AE4A31C211F3 for ; Mon, 13 May 2024 07:57:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F7FF146D4E; Mon, 13 May 2024 07:57:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eS0DKQX0" Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 E6552146A8E for ; Mon, 13 May 2024 07:57:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715587030; cv=none; b=PVUrAsQkT0J7cJ06gjLfrjoPgxzdRt4SFzyfc8OlAZxaCm23xUHDOgUoLDJL5IGyyXX7SHMYwCn1xKMpXhzb8LJWQmQtQOhTFG18Bx5bf6BothLquGFQVf9hAQdKXckRvRICqzCSNMgYWbNilkbwYvfyHhYrwA+htl9tWs221L0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715587030; c=relaxed/simple; bh=FrWhayP5qWvaagrCCPD121wDeuxuPzsweoCZXCHaWFc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qgGjMGYhv3VXiPgbtFugd4JHD7bV+RTyz2URLcgFBgsR+A86b7bToBPhh7ro3Oee5J0glojtowk21aDvk+f6P8BZfxxCKEvaLzDsFMGgO0Wldx6bTjjv2vXOTaomKqzwpWDsnXRmhOlDdOGObRvIW7RmKvPZZ1aYA8MUfUuAqOY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=eS0DKQX0; arc=none smtp.client-ip=209.85.218.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-f49.google.com with SMTP id a640c23a62f3a-a59b178b75bso758948266b.0 for ; Mon, 13 May 2024 00:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715587027; x=1716191827; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=IsCF8cRPzCwLqfZ9Sx6lTmA2VXF/bwry4jJkEGhVAD4=; b=eS0DKQX07kypP0HSuHYf1Im2gCro6cAt+bZBOOReNThz50F52NS47CC1ZiQlIIPnOa Shn5hw2kTtZg/FilzAibHOI/raa0kAfVPiyXsziYpIO28Z97W2nOUiVoUbjXV/ktWh7m z5ezxgkD1fU0nbw8rwxJTMk5PQY0AlJmBF8FQhD0UlBH92Eb3Kc71xZ8j54yMW6EqS/N v4+l/IweMtwrkKNeG+GEc62u+PJKlvSgkXsGyREzkau3ftAzrBo9LzuVD5P9FtULUWCW TePC8ckmGAlHAhmzgSSt4KesxKvXdEY7f5Okv0EHt7g8SN6CBW5E+4abRK6zYcIyMrRe qzfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715587027; x=1716191827; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IsCF8cRPzCwLqfZ9Sx6lTmA2VXF/bwry4jJkEGhVAD4=; b=sVctbKy7EOMAMft4lFEMFVJMWWXnSWpS3kKc/JObwm3SHgpXmo+qjnqj97e1RRsee5 iffrnj5rfuDqlYP1wCukdNdafAiZlgNCPzCcDeCsXSOKPCQqNLepJdX4gcM93wBnBs6c VqEgPcF55bjV0texXgf2B6cOkleKi1c9fMOSBSjEVONs6OCpIXK6FfzwyNSlfI1tSs3k NFCrnx7BMPoSquuC9S8+bUzs4Nr/6OhJlbc3ddBxVe5VJbNWQUzbUwaFUOIggU7LM2ar xJblAUeTjRBnidKUT7hyvjCtDydVpgA2RiYOs3vWyl6GzhVJlGkq0Jy3jW/WEc9dDiBZ W2ew== X-Gm-Message-State: AOJu0Yx9yTvny2eyl6qGQBLZ0hyTSfAwKbHf8Q62vYQwktAWOUrlpcja WpG7v9M4tiCfAoP+CrqyF5ZJXOTeB9qRbMrij/ZEMdENvDisu7Ma X-Received: by 2002:a50:8d16:0:b0:568:1882:651f with SMTP id 4fb4d7f45d1cf-5734d5cf95amr6776169a12.25.1715587027052; Mon, 13 May 2024 00:57:07 -0700 (PDT) Received: from gmail.com (1F2EF402.unconfigured.pool.telekom.hu. [31.46.244.2]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5733c2d5436sm5851961a12.62.2024.05.13.00.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 00:57:06 -0700 (PDT) Sender: Ingo Molnar Date: Mon, 13 May 2024 09:57:04 +0200 From: Ingo Molnar To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, the arch/x86 maintainers , Uros Bizjak Subject: [GIT PULL] x86/percpu changes for v6.10 Message-ID: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Linus, Please pull the latest x86/percpu Git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-percpu-2024-05-13 # HEAD: 93cfa544cf9e4771def159002304a2e366cd97af x86/percpu: Introduce raw_cpu_read_long() to reduce ifdeffery x86/percpu changes for v6.10: - Expand the named address spaces optimizations down to GCC 9.1+. - Re-enable named address spaces with sanitizers for GCC 13.3+ - Generate better this_percpu_xchg_op() code - Introduce raw_cpu_read_long() to reduce ifdeffery - Simplify the x86_this_cpu_test_bit() et al macros - Address Sparse warnings - Misc cleanups & fixes Thanks, Ingo ------------------> Uros Bizjak (11): x86/percpu: Convert this_percpu_xchg_op() from asm() to C code, to generate better code x86/percpu: Move raw_percpu_xchg_op() to a better place x86/percpu: Re-enable named address spaces with KASAN for GCC 13.3+ x86/percpu: Enable named address spaces for GCC 9.1+ x86/percpu: Unify arch_raw_cpu_ptr() defines x86/percpu: Do not use this_cpu_read_stable_8() for 32-bit targets x86/percpu: Use __force to cast from __percpu address space x86/percpu: Re-enable named address spaces with sanitizers for GCC 13.3+ x86/percpu: Fix x86_this_cpu_variable_test_bit() asm template x86/percpu: Rewrite x86_this_cpu_test_bit() and friends as macros x86/percpu: Introduce raw_cpu_read_long() to reduce ifdeffery arch/um/include/asm/cpufeature.h | 3 +- arch/x86/Kconfig | 14 ++-- arch/x86/include/asm/cpufeature.h | 3 +- arch/x86/include/asm/percpu.h | 157 +++++++++++++++++--------------------- 4 files changed, 78 insertions(+), 99 deletions(-)