Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2106301rda; Tue, 24 Oct 2023 12:29:16 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9zCyDQDRtCm5IalbM6NmmkNOrt4iTiG+OR+DEh0BB3qAsfU+Sz6+v+QKOlDy8oYj9PduJ X-Received: by 2002:a17:90a:194b:b0:27d:1ea0:bc84 with SMTP id 11-20020a17090a194b00b0027d1ea0bc84mr9948049pjh.34.1698175755435; Tue, 24 Oct 2023 12:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698175755; cv=none; d=google.com; s=arc-20160816; b=YqBcqJPeiUJ1TukLYD5aFrH5600KTWi1XOwSeYF+mJZsdwbj/myqr78se1OmkPyRIX YCCqLWQNwJAdpwNOZxqdYGmYY+JUtJd035ddN5NP9+rszdeDD6IHGR3fik/0ncNKUFdh wUdKC003HkaZFANpHxkaxltpjvpBLey1PlVvZ9aVDJAhhYdGGh6FSsS3ah5qlcDcU8Qa ZVxnqB6zI5BPztvH3l5jQVAtFZRMW9+k6BMp6fYWasG08fdawunmrB1Y9Hu7xY03S4b2 /pdI/geSZzaut1/nCnbgfc4VlH1oBqkCfZ0Jnp7xGsGtfXTvIyyvlFf5ccmDzzrSIiIA bLHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4y6l7G1s0Dqeh+0zp9FkvmwtEOSFGk+0AxUmVITMGPU=; fh=Z0rgc3VjqdGil5FwRJVQgX89shfTpA6mt4G6EXKjqag=; b=XKs1ikqYKxmiAc5faK4pBYCU341uKCGKxzikzyXJLNpHsokYpiBbICz9xSixAmuRAR 3VuKQjM8QueKWxdcwizAKf9onZVQaqKARpzPrOxoNr+uEFcp5weH4jKMpVTy8BQ7PtIq 9vX+UnGePxELTao/5qq5YWwfApkuLfSRmVdc82+F0THQ7n6rWpglLrCu1yFPMlHBH9kF Ya4+dT6bYIAOkgnbqe6Gkv7ELQmgQf72Exd1LYp/piJ2TMVY7vwaUNNIXMUWUlDTbgAZ fnUuqHTBNWTmfKDA2Piyf+IAhuaVoe/CEKewxjxNniVwSqr53GKB9lYHAqBjVAigzOVy JgHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=DtkWRF3b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id x6-20020a17090a8a8600b0027e31647f2bsi5560561pjn.65.2023.10.24.12.29.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 12:29:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=DtkWRF3b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 718FD8032EE6; Tue, 24 Oct 2023 12:29:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344126AbjJXT3E (ORCPT + 99 others); Tue, 24 Oct 2023 15:29:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234736AbjJXT3C (ORCPT ); Tue, 24 Oct 2023 15:29:02 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AC0710D3; Tue, 24 Oct 2023 12:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4y6l7G1s0Dqeh+0zp9FkvmwtEOSFGk+0AxUmVITMGPU=; b=DtkWRF3bmONSx32KVn6ChvxqI2 u16XWvdfg/5pScH/5dNy7MZzEuQM6lSUzqd632z1Ah6E0EXL0ZDVxeNrjefPodzVuHe8LE30ZUOxc ynQdnLV6CRnNzRke0MCL1Dsm3nCLqUX500XhUr0pRHQsjzRcIJS6tPIGxJfePtgxo5h6+HqithRzO ME7uEgNuCsnLh/16YcmBRUCb1HSbefoNKFgjh9sok9tyCuiBOmle2d/zkCDTk438cLD03S2yBO8bL sGnAoFnOhJr91vckXF5qi2Q/jfyomzUMGuw1rIWP6pD1VltxAlpxOTCoiIQYP90MMgcgDaVNQtEqe b/akFbdA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:48356) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qvN5B-0004q9-0c; Tue, 24 Oct 2023 20:28:53 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qvN58-0006FV-Kl; Tue, 24 Oct 2023 20:28:50 +0100 Date: Tue, 24 Oct 2023 20:28:50 +0100 From: "Russell King (Oracle)" To: "Rafael J. Wysocki" 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 Subject: Re: [RFC PATCH v3 00/39] ACPI/arm64: add support for virtual cpuhotplug Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 24 Oct 2023 12:29:12 -0700 (PDT) On Tue, Oct 24, 2023 at 08:26:58PM +0200, Rafael J. Wysocki wrote: > On Tue, Oct 24, 2023 at 5:15 PM Russell King (Oracle) > wrote: > > > > Hi, > > > > I'm posting James' patch set updated with most of the review comments > > from his RFC v2 series back in September. Individual patches have a > > changelog attached at the bottom of the commit message. Those which > > I have finished updating have my S-o-b on them, those which still have > > outstanding review comments from RFC v2 do not. In some of these cases > > I've asked questions and am waiting for responses. > > > > I'm posting this as RFC v3 because there's still some unaddressed > > comments and it's clearly not ready for merging. Even if it was ready > > to be merged, it is too late in this development cycle to be taking > > this change in, so there would be little point posting it non-RFC. > > Also James stated that he's waiting for confirmation from the > > Kubernetes/Kata folk - I have no idea what the status is there. > > > > I will be sending each patch individually to a wider audience > > appropriate for that patch - apologies to those missing out on this > > cover message. I have added more mailing lists to the series with the > > exception of the acpica list in a hope of this cover message also > > reaching those folk. > > > > The changes that aren't included are: > > > > 1. Updates for my patch that was merged via Thomas (thanks!): > > c4dd854f740c cpu-hotplug: Provide prototypes for arch CPU registration > > rather than having this change spread through James' patches. > > > > 2. New patch - simplification of PA-RISC's smp_prepare_boot_cpu() > > > > 3. Moved "ACPI: Use the acpi_device_is_present() helper in more places" > > and "ACPI: Rename acpi_scan_device_not_present() to be about > > enumeration" to the beginning of the series - these two patches are > > already queued up for merging into 6.7. > > > > 4. Moved "arm64, irqchip/gic-v3, ACPI: Move MADT GICC enabled check into > > a helper" to the beginning of the series, which has been submitted, > > but as yet the fate of that posting isn't known. > > > > The first four patches in this series are provided for completness only. > > > > There is an additional patch in James' git tree that isn't in the set > > of patches that James posted: "ACPI: processor: Only call > > arch_unregister_cpu() if HOTPLUG_CPU is selected" which looks to me to > > be a workaround for arch_unregister_cpu() being under the ifdef. I've > > commented on this on the RFC v2 posting making a suggestion, but as yet > > haven't had any response. > > > > I've included almost all of James' original covering body below the > > diffstat. > > > > The reason that I'm doing this is to help move this code forward so > > hopefully it can be merged - which is why I have been keen to dig out > > from James' patches anything that can be merged and submit it > > separately, since this is a feature for which some users have a > > definite need for. > > I've gone through the series and there is at least one thing in it > that concerns me a lot and some others that at least appear to be > really questionable. > > I need more time to send comments which I'm not going to do before the > 6.7 merge window (sorry), but from what I can say right now, this is > not looking good. Thanks for having a look - there was the feeling that this was ready for merging based on the review comments from the previous series sent by James. However, when I sent this series, I did notice that some mailing lists were missing, so I guess that's could be why you haven't commented before, and we find out now that there are major concerns. My interest in it is because my employer wants to be able to hotplug CPUs in a virtual machine, and this saga with aarch64 has been running for years with different approaches ending up dead in the water. I hope your concerns do not result in this approach being entirely scrapped, and there can be some solution found. I think James Morse will need to be involved in addressing your concerns since he has the detailed background about the history of this series. However, James seemed to fall totally silent after the last posting back in September, so whether that is possible is currently unknown. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!