Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp1842604rdd; Thu, 11 Jan 2024 10:47:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGYzLykFdyK4L5W2LtM6Xt2NkxGe2WXJ59QWS2iXX1b/dEdJfYQOc4J6A1Zbz++L4VXe06I X-Received: by 2002:a17:906:1c4e:b0:a2b:9261:e3d6 with SMTP id l14-20020a1709061c4e00b00a2b9261e3d6mr66942ejg.62.1704998834937; Thu, 11 Jan 2024 10:47:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704998834; cv=none; d=google.com; s=arc-20160816; b=LUw5+yv683HBTvEWaMv6JHRDCr2MkIVJ4D1ngDQMXTEp7nXaksTaQvAgt7YQ3aKE9S sce12PtM53+HthFGb9HF94mir6e5kJiTpYK94tEimPVvjaTDrkHRywinBXZpEMkpy6jB V8z/OD/Rk/TUe6Ic5ci99TmNmLDC7bDDTGd6Fu4rPv6gm8Zo+I7zqyBpz7x4WaLhJ8pR Pb4G0/ijQsB9MIhzJm96r0cwkEqHxLJtITxb5X11KYRMI97N99U3QNbM93MF0ocCpXNy Cp4wHv3GiakjQPIsFyGtSOr0ebdZZrGrykgAwh6CStH7RJko+ANUNOZOKVG5B0qAF33v 9cig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sG0vta/K25cX+m3KWmJQGIOyHDu76/qWE53sJiW1pFo=; fh=+ODUIt4VnAeK/nkCHAGa8GofO0JrYydBV5TxZEqgJOY=; b=GQfEcOAGGwKDTZkse0F038glhcZRwxqP0M6bHDi1yS5E9ODu6oeU0M8Cl/vAngqVwH Kb62lAoaioTppl7Qj/xrZr5b/YKPdIQ7J2ax8nW/R/GEXjoj3pEsWJF7/Np882yYxsrQ ELyBhuZH+K1HAw5UYkSbstasZijtE/sM3rnDohT7/SMi8vH1wWuBtqkmg+/0h/3ayP5b 34/qyFoqtTTDxbG+RDLK4ZjH3wOY8AEnK9D3TxM3LshufILW0cpJB2Sv2JUgsVXSDIFm oliEC89rmuM8tGf6cY/hIEmmUcrgxqwUu2V/T864oXECg3fpY9/Hpdx6IBER13C+Y25p 9MRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=QdyXNbVg; spf=pass (google.com: domain of linux-kernel+bounces-23992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bl17-20020a170906c25100b00a2c1184c8ddsi720315ejb.758.2024.01.11.10.47.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 10:47:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-23992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=QdyXNbVg; spf=pass (google.com: domain of linux-kernel+bounces-23992-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-23992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk 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 am.mirrors.kernel.org (Postfix) with ESMTPS id AF6EF1F25318 for ; Thu, 11 Jan 2024 18:47:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A697254BE0; Thu, 11 Jan 2024 18:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="QdyXNbVg" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 243AFDF57; Thu, 11 Jan 2024 18:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk 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=sG0vta/K25cX+m3KWmJQGIOyHDu76/qWE53sJiW1pFo=; b=QdyXNbVgAPkw53YLTW5MFLAwGd JSmyBJYT187WJ9+lEgwFU4PhK1dNACRkVKJfr68Vrl3dvWbrfDcajsyxvDC+L+X9FlhxRdzkHifJ7 Nyxxyw4E6rhW4a9StvHd/8k0K7cZ2ejK8wWeAxlnWB3EXAqRbexHDSm2Ym+JznIMwLMETkZI1EOBF aFTVH+8Oirspf3X8ccXVNUEcwyl/yFabJZJG4kbTOUGr9HGQnWzceum2L980kdwneZgFV/2GpF9u7 +ZMQvD6P6lp8CqjbYvw2rm5IOxMyXQjXa+F/gD8ocRGtER1nVEgTt8Q6I3eYKL9yLoSjoGENQ2Kyy yStOVlHw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54562) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rO04n-0006t8-0R; Thu, 11 Jan 2024 18:46:49 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rO04l-0006ah-8R; Thu, 11 Jan 2024 18:46:47 +0000 Date: Thu, 11 Jan 2024 18:46:47 +0000 From: "Russell King (Oracle)" To: Jonathan Cameron Cc: "Rafael J. Wysocki" , 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: [PATCH RFC v3 02/21] ACPI: processor: Add support for processors described as container packages Message-ID: References: <20240111175908.00002f46@Huawei.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240111175908.00002f46@Huawei.com> Sender: Russell King (Oracle) On Thu, Jan 11, 2024 at 05:59:08PM +0000, Jonathan Cameron wrote: > On Mon, 18 Dec 2023 21:17:34 +0100 > "Rafael J. Wysocki" wrote: > > > On Wed, Dec 13, 2023 at 1:49 PM Russell King wrote: > > > > > > From: James Morse > > Done some digging + machine faking. This is mid stage results at best. > > Summary: I don't think this patch is necessary. If anyone happens to be in > the mood for testing on various platforms, can you drop this patch and > see if everything still works. > > With this patch in place, and a processor container containing > Processor() objects acpi_process_add is called twice - once via > the path added here and once via acpi_bus_attach etc. > > Maybe it's a left over from earlier approaches to some of this? From what you're saying, it seems that way. It would be really good to get a reply from James to see whether he agrees - or at least get the reason why this patch is in the series... but I suspect that will never come. > Both cases are covered by the existing handling without this. > > I'm far from clear on why we need this patch. Presumably > it's the reference in the description on it breaking for > Processor Package containing Processor() objects that matters > after a move... I'm struggling to find that move though! I do know that James did a lot of testing, so maybe he found some corner case somewhere which made this necessary - but without input from James, we can't know that. So, maybe the right way forward on this is to re-test the series with this patch dropped, and see whether there's any ill effects. It should be possible to resurect the patch if it does turn out to be necessary. Does that sound like a good way forward? Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!