Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp93235rdh; Mon, 18 Dec 2023 12:35:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPy7VxEshTQPJ5id+5gCUQMYAC2rKi+LUVVHrPRjXw2L/V0OWDS4ZUjtd8Ow7HowaOL0V1 X-Received: by 2002:a17:90a:fd85:b0:28b:83fc:9649 with SMTP id cx5-20020a17090afd8500b0028b83fc9649mr1014946pjb.71.1702931741593; Mon, 18 Dec 2023 12:35:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702931741; cv=none; d=google.com; s=arc-20160816; b=of8DxNw6lPVcgpCGw3kRtzKfJyJ3Gxo6W7yYMvNGD7WUCq144zbMMxZ1t7ISMezPz2 PrFjOCDhkaMiDd2/OG9OzOR7BIsyxwP2L9On3bUoVsEefrqE6l1FHCNTBAMwK1MljV64 WUHIq+JqmuHx7lAj0Y1Gp54pQBxJy5CooRaFhvnFMEqsCU1K5Ya7VTvJEOgZkdQp6/hi 0ZC44xr8tTZQF+4sIjqgvR/0tCoBYYm+vh7Ai5bcRzjjXNIn87dyfvc8L7DYwLJdGQDP xaawzJCDxfvviBzs8lL2rD1o+ewI2O5Wh+4MRS3cYsxiwW0RlIie7AHrn20qV34mKY2b HdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence; bh=w5muLLdvnEWK5GQ123Z96eJyI+5glad1JcNNdF8H1Jg=; fh=FdKLH5Lkv+cCalk9mliJbP8ks5hX326lBveelCIbs6Y=; b=vqkDeDS3V3ZXHaNWdN3bzXSw2AUUpHG0LgiU8rRrlTD3FOGvdCRwbgrblRp6UlVjCv hDGmwZ47So9f0Sk1gIk1fuVJPvgyyb+fAkHCjiGypiFXTceyqaQscufjNvKqxU5Itp4T nrRJxSyJPOfrcvFev9o2E0pRxC0sZQ1apXYzk4N48Tu3jdJsEaruKpX5UyNh/D/hIFJ4 rESNezneZcK8T9cJ8FlWyxvVZtE6qgyLl1yh5z2vZ2o2LA+VOoikP+Y3fE08W+A6Pyn7 Dq52ZcuolFaBlpCk9OurGZTgQhgT+nG0/28va/sOkz7+4ZiSwbU8jqrXxpgMsWhYsVav VADQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4361-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4361-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p1-20020a17090a868100b00286f189a050si3765500pjn.22.2023.12.18.12.35.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 12:35:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-4361-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-4361-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-4361-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 40F2F2838D5 for ; Mon, 18 Dec 2023 20:35:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E41D8101E2; Mon, 18 Dec 2023 20:35:29 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from mail-oa1-f53.google.com (mail-oa1-f53.google.com [209.85.160.53]) (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 1B7691DA29; Mon, 18 Dec 2023 20:35:27 +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-oa1-f53.google.com with SMTP id 586e51a60fabf-203223f3299so111013fac.0; Mon, 18 Dec 2023 12:35:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702931727; x=1703536527; h=content-transfer-encoding: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=w5muLLdvnEWK5GQ123Z96eJyI+5glad1JcNNdF8H1Jg=; b=QFjCXzQjZLmVr4iO9XA2sgrkBVSpB8/GIMU085B3NW5V+8rluMFDr1vI1KCwliLpTM TBb2jTYT6bR9KtAYwVdPjxwxiPozX015k8UgcEgfVSTc0k/gHFgelSGI58eA7U8SDLw1 pBZZt5qY2doVjOnI2y9QVrFSBUSCp9pXOGmTHCOVuQ15o9BxmvgxKUcIwjzfxwwL45ry LzQsblDBGcQgwQiZw+hUKJRiFDDMEQsoTfe94joVIGlM9TQAr6mMxDkz9HWYzVu5gtme MhMCQa/hevzK9U1lLvU8SNBtcdvikQZZfSyjMo3yuRr6fuWGRyLXMleY91eScM8ZixbA xMpg== X-Gm-Message-State: AOJu0YyeIJgMFO0elQr12OxlmdapBT8d0yvrHi556SzcPZfQXFCDfnxS A1Op+EXK9gV1bhHf1Z9QUgE9bO3NxwhhOv1LM1s= X-Received: by 2002:a05:6870:71ca:b0:203:e75d:a2c2 with SMTP id p10-20020a05687071ca00b00203e75da2c2mr729668oag.1.1702931727130; Mon, 18 Dec 2023 12:35:27 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 18 Dec 2023 21:35:16 +0100 Message-ID: Subject: Re: [PATCH RFC v3 05/21] ACPI: Rename ACPI_HOTPLUG_CPU to include 'present' To: Russell King Cc: linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, acpica-devel@lists.linuxfoundation.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org, Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, James Morse Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2023 at 1:49=E2=80=AFPM Russell King wrote: > > From: James Morse > > The code behind ACPI_HOTPLUG_CPU allows a not-present CPU to become > present. Right. > This isn't the only use of HOTPLUG_CPU. On arm64 and riscv > CPUs can be taken offline as a power saving measure. But still there is the case in which a non-present CPU can become present, isn't it there? > On arm64 an offline CPU may be disabled by firmware, preventing it from > being brought back online, but it remains present throughout. > > Adding code to prevent user-space trying to online these disabled CPUs > needs some additional terminology. > > Rename the Kconfig symbol CONFIG_ACPI_HOTPLUG_PRESENT_CPU to reflect > that it makes possible CPUs present. Honestly, I don't think that this change is necessary or even useful.