Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2614076rdd; Fri, 12 Jan 2024 15:56:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnlgwDNjhyuEQoiiXQxg7EjX1E2nmKiHddg/5Hp3ySeaykKRWE/ujO7QAsL/xl9wsHqP1u X-Received: by 2002:ac8:598d:0:b0:429:ccdb:d511 with SMTP id e13-20020ac8598d000000b00429ccdbd511mr2908591qte.0.1705103764350; Fri, 12 Jan 2024 15:56:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705103764; cv=none; d=google.com; s=arc-20160816; b=xkAPqK0XmeyaGK3EwEM95hGNS42qrqShF1ou3DRfRKsF/BoCMwS8zNMXIYn7rxmL7c vvmod5Y58Wnz5PcX9J9aAENi+/pdHwB2g4ZJ6noBkRB7hMHI7tCM252tJdmcpTi7nSfu 4lDsy55+kTc4/tq5FWn3Uzcn+0XoSvb/zSkSTz/V5z+xKOyx/Qedhv4gOr0xfnE8JnXX CTlOp1ifo1bC2694tdNAeuW7hO2Ih2KHPbX0PSQGkM3M9BIg1FxDK1wC61jhlaRzyN9j vp63qQYKzqhanqKkfJ7NJ709PZUs/5uvTYUk+zIJfSZW+0MhoVxVViwDgiFKASoQyrok h/gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date; bh=gs+osQ4JMk0b+DIOh+BXavjsZaPBoH1jST1sDAxf3IQ=; fh=BioYOFqdmPVN/+RGCr/XuJAFeNr42luTJiiFJAaHKJg=; b=K1VpBYLbfqZOSrdtD8H7C/phBj+0hkNPVfpnUSQf7VXG2QUpukL4YQ+WxWu6N0y4H2 kp91DFWnqjfKRWUKXgABfNVEjoB+wXqwhhALyma0Zew51wiuPgP0sZnxxFGcJKXfS/Im L9q9acn+Lf/ggq/Aon9LumSQW1l9298azMNWctLEkizpTUf9rN8khnP5HLFbT2FbuqL2 l549JwjoCEFP4Qq0SyyWrngxFf/zWRKA8A32a38MTuKLfKiqr4JYZwvrlKTJfcRb5jKE iiGCcGga+wySqUi0NC+xwM9SnJm4MMHUB6LaTPJYqt6o1IkidQm1J3rpF5ZrfpxlCCLg npAA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-25118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25118-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. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m16-20020a05622a055000b004298fc29799si3945119qtx.785.2024.01.12.15.56.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:56:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25118-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; spf=pass (google.com: domain of linux-kernel+bounces-25118-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25118-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 1F0941C22AAD for ; Fri, 12 Jan 2024 23:56:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79F921A5B8; Fri, 12 Jan 2024 23:55:57 +0000 (UTC) Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 BE1281A5AC for ; Fri, 12 Jan 2024 23:55:55 +0000 (UTC) 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-pf1-f172.google.com with SMTP id d2e1a72fcca58-6d9b37f4804so5033841b3a.1 for ; Fri, 12 Jan 2024 15:55:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705103755; x=1705708555; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gs+osQ4JMk0b+DIOh+BXavjsZaPBoH1jST1sDAxf3IQ=; b=v4m9ezi6NN+iqSR8JLr851VZXPVf5WM/zkKHKdZfKQsgWtMG6DzkCONaQM/GxCW7ez hEBDLtcRvWbyLRABop6rAOf0BxLxVyS/Qhrz7gKfHUxYwQXbrOQqD7dYtuy0qklA0bf/ i9YTfuHcfU+IdipX4aqCWVdOWhdDEThi69oxg8VyR3lJS2GBA9iYlODE/b5+catafrb9 5v9UwYh1J3ASn6+tnO6hdCwHY4ts/R7hMGxdiFqkBwhxBwmY4urG71UooXyBKZs7GRS5 U5bcajO1AyRd3q4AYUQtVQ2LBOsrHc0I7ONn5lbYIE/kAlIYd41WH6DwCTvrGlYyDd83 qWFA== X-Gm-Message-State: AOJu0YzUPf6fAdKpdc1cPo4MvRqW0povBFRvtdh43ewPRClO8tbYWi2K 76bEu0RNxPlGWZ8otq9T7Hs= X-Received: by 2002:a17:90b:3b8a:b0:28d:a535:ca23 with SMTP id pc10-20020a17090b3b8a00b0028da535ca23mr3133012pjb.20.1705103754948; Fri, 12 Jan 2024 15:55:54 -0800 (PST) Received: from snowbird ([136.25.84.107]) by smtp.gmail.com with ESMTPSA id w5-20020a17090ad60500b0028ce12f8cdasm4807193pju.10.2024.01.12.15.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 15:55:54 -0800 (PST) Date: Fri, 12 Jan 2024 15:55:52 -0800 From: Dennis Zhou To: Linus Torvalds Cc: Tejun Heo , Christoph Lameter , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] percpu changes for v6.8-rc1 Message-ID: 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 Hi Linus, This enables the percpu page allocator for risc-v as a fallback path. Separately, I just sent out a respin of Thomas' cpu hotplug related fixes for percpu_counters in [1]. I'll hopefully pull that in shortly and get it into for-next for some wider testing. [1] https://lore.kernel.org/lkml/cover.1705101789.git.dennis@kernel.org/ Thanks, Dennis The following changes since commit 33cc938e65a98f1d29d0a18403dbbee050dcad9a: Linux 6.7-rc4 (2023-12-03 18:52:56 +0900) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu.git tags/percpu-for-6.8 for you to fetch changes up to 6b9f29b81b155af023da95f560f738f29722b306: riscv: Enable pcpu page first chunk allocator (2023-12-14 00:24:06 -0800) ---------------------------------------------------------------- percpu: - Enable percpu page allocator for risc-v. There are risc-v configurations with sparse NUMA configurations and small vmalloc space causing dynamic percpu allocations to fail as the backing chunk stride is too far apart. ---------------------------------------------------------------- Alexandre Ghiti (2): mm: Introduce flush_cache_vmap_early() riscv: Enable pcpu page first chunk allocator arch/arc/include/asm/cacheflush.h | 1 + arch/arm/include/asm/cacheflush.h | 2 ++ arch/csky/abiv1/inc/abi/cacheflush.h | 1 + arch/csky/abiv2/inc/abi/cacheflush.h | 1 + arch/m68k/include/asm/cacheflush_mm.h | 1 + arch/mips/include/asm/cacheflush.h | 2 ++ arch/nios2/include/asm/cacheflush.h | 1 + arch/parisc/include/asm/cacheflush.h | 1 + arch/riscv/Kconfig | 2 ++ arch/riscv/include/asm/cacheflush.h | 3 ++- arch/riscv/include/asm/tlbflush.h | 1 + arch/riscv/mm/kasan_init.c | 8 ++++++++ arch/riscv/mm/tlbflush.c | 5 +++++ arch/sh/include/asm/cacheflush.h | 1 + arch/sparc/include/asm/cacheflush_32.h | 1 + arch/sparc/include/asm/cacheflush_64.h | 1 + arch/xtensa/include/asm/cacheflush.h | 6 ++++-- include/asm-generic/cacheflush.h | 6 ++++++ mm/percpu.c | 8 +------- 19 files changed, 42 insertions(+), 10 deletions(-)