Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4665316rdb; Fri, 15 Sep 2023 08:45:25 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEEmMTl+7APaOMC5p8a6Osr0dO6cY3+8kACEzkE+MQbGlQV0QDuJMapr3N3BKKeGHkrDdwh X-Received: by 2002:a05:6a00:c96:b0:690:28d0:b7b3 with SMTP id a22-20020a056a000c9600b0069028d0b7b3mr2359986pfv.13.1694792724819; Fri, 15 Sep 2023 08:45:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694792724; cv=none; d=google.com; s=arc-20160816; b=ZwApTYL8kZLHFePYXI1x7uqdTIrndBfFHxnGDicVqursHk+KoCRZ3r1PS8awopZcO1 3no6BXNUxeVsJBaTMKdMGLh3RJS5G5O9q1DDuScsPFtWvZjYyTdw8N0r2FcoHHmFT1wd 7SKWg9rb4LEzsqIkE2RRzJFwzxhE6QFw4JpYQQMl+1opxJ9yeqGzQaDpFLoG0KwwGE92 hg1i/zyj3ZMx9k8Gz7bU4MOqX3nuo2Di6T8he45u9M4L54rCBTGnSO6wdd/e2m+x9dnm cb5JNLQJ4Y3fq8RwZV+D/HWB7Hx656CkEu7aCMxAVrhArDl/Z/LNztSqoI20nJvxdbsS rZQg== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YM4Qm3Hjr43Eqs/2gEOwZxrCqRXSp+DHKQuuGty2fNI=; fh=dYIPpOVSIl7hQKB+RPMLh+9SSAag4y70ulB94LGhZ3g=; b=yrnXNc+ZS/xYKxoKf+FQave/CtNBUzGajXdWkKzjn2no49XVgsu4euN4GNOnQ3gXXX YTthxD+mzXcgaROu2dvg39+h7LRf3GnRnJqWoGv3ZmquzW1Rw8ysmger0cPOTX9PTv8Q lpLZzHMkNnshx3s+YjiA8AW5nsEoD+g4vEqU7bFgFFUWczWeoNuC0xARltekh2ZolZqQ phu4BRhgzj7Aho7sSozauw+qzg3aTSSBS9p1Y0Sy9RvqogBzDy7bctbHEAJNErDTkRwt Z+PJeTxl485PmRTm77YJ6BDHJ8uK2yY7GIzg/52U9l97kOxIHjswyW1eKkYJeProz52H ysuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=bPOBzXea; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id cv8-20020a056a0044c800b006870ed47367si3474392pfb.5.2023.09.15.08.45.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 08:45:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=bPOBzXea; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 9C4CF83B311F; Fri, 15 Sep 2023 08:42:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236176AbjIOPlg (ORCPT + 99 others); Fri, 15 Sep 2023 11:41:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236256AbjIOPl3 (ORCPT ); Fri, 15 Sep 2023 11:41:29 -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 2CF18F3; Fri, 15 Sep 2023 08:41:24 -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-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding: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=YM4Qm3Hjr43Eqs/2gEOwZxrCqRXSp+DHKQuuGty2fNI=; b=bPOBzXeaI99AVk+FxpWlXw8wMB YcuXW1WXJd7KPglVafC5Z+4bGTeSOPW3ivDpEn0litHriJna6hKkSbOx7PxtKyTMi53Y/7JVRMXgf x1isLkESjbYkFG4i4LQgrCa1kUJ0Tz+KQm4ymFstoUfcnBPSX7jIeoZ/Bc01mb92MaAHlIwju+kW7 lrmzPOmHJOg+gXCGmdbWtwdRsiq7dlmyeIwUthH6kMtuSqqV1WqZOqEKR1mXsUINdo9UKIGfy3DO2 SKKxo6tn8uRImno7L711uvBgdvoMo/unQGmNRzdzt847k3m1KNUzpDkduPItu+RT6fezfGxcy2fWl c0Bf6xYA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:53852) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qhAwT-0005nZ-0y; Fri, 15 Sep 2023 16:41:13 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1qhAwT-0005v3-Cm; Fri, 15 Sep 2023 16:41:13 +0100 Date: Fri, 15 Sep 2023 16:41:13 +0100 From: "Russell King (Oracle)" To: Salil Mehta Cc: "Rafael J. Wysocki" , Ard Biesheuvel , Jonathan Cameron , James Morse , "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" , Jean-Philippe Brucker , "jianyong.wu@arm.com" , "justin.he@arm.com" Subject: Re: [RFC PATCH v2 27/35] ACPICA: Add new MADT GICC flags fields [code first?] Message-ID: References: <20230913163823.7880-28-james.morse@arm.com> <20230914155459.00002dba@Huawei.com> <80e36ff513504a0382a1cbce83e42295@huawei.com> <9e327ad1128045fa80eebf327abaa8f0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9e327ad1128045fa80eebf327abaa8f0@huawei.com> 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 fry.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 (fry.vger.email [0.0.0.0]); Fri, 15 Sep 2023 08:42:23 -0700 (PDT) On Fri, Sep 15, 2023 at 03:17:21PM +0000, Salil Mehta wrote: > Hi Russel, > Thanks for highlighting your concerns. > > > From: Russell King > > Sent: Friday, September 15, 2023 2:43 PM > > To: Salil Mehta > > Cc: Rafael J. Wysocki ; Ard Biesheuvel > > ; Jonathan Cameron ; James > > Morse ; 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; Jean-Philippe Brucker > philippe@linaro.org>; jianyong.wu@arm.com; justin.he@arm.com > > Subject: Re: [RFC PATCH v2 27/35] ACPICA: Add new MADT GICC flags fields > > [code first?] > > > > On Fri, Sep 15, 2023 at 09:34:46AM +0000, Salil Mehta wrote: > > > > > Note that the ACPI spec says enabled + online-capable isn't defined. > > > > > > > > > > "The information conveyed by this bit depends on the value of the > > > > > Enabled bit. If the Enabled bit is set, this bit is reserved and > > > > > must be zero." > > > > > > > > > > So, if x86 is doing something with the enabled && online-capable > > > > > state (other than ignoring the online-capable) then technically it > > > > > is doing something that the spec doesn't define > > > > > > > > And so it is wrong. > > > > > > Or maybe, specification has not been updated yet. code-first? > > > > What is the point in speculating. If you want to speculate about it, > > fine, but please don't use speculation as a reason that "oh we need > > to sort this out before we can merge the patches". > > [already replied in other thread but repeating it here] > > Sorry, I am not aware but I was suggesting this. Can we have this > done for ARM first because there is a legitimate use-case. This > can be done in parallel while other patches are getting reviewed. > It would be great if they get accepted even in the current form. > > > > This is precisely why engineers are bad at producing products. They > > like to continually tweak the design, and the design never gets out > > the door. You need someone who is a project manager to tell engineers > > when to stop. Without a project manager to do that, eventually the > > project fades into insignificance because it becomes no longer relevant > > or has its funding cut. > > > > Hotplug VCPU on aarch64 feels exactly like that - it seems to be an > > engineer project that is just going to for-ever rumble on and never > > actually see the light of day. > > > Sometimes things are not in single persons control. Yes, it is > frustrating, I do understand that. > > > > So please - stop speculating and lets get vCPU hotplug *actually* > > delivered and usable. Even if it's not 100% perfect. > > We need to decide what is the criteria of acceptability and it can > vary across organizations. It depends upon internal requirements. > The issues what I pointed are, > > 1. Legacy OS will not boot on latest platform with hotplug support. > - Try running older windows on ARM platform with hotplug support. > - older windows will only see boot cpu with online-capable bit. > - Will windows use _OSC to check compatibility? > - We have verified this with older Linux and it only shows 1 CPU. > 2. Hot(un)plug of cold-booted CPUs. > - Its use-case is subjective. Maybe you can throw light on this. > > With current composition of bits both 1 & 2 cannot be supported > simultaneously. > > It is perfectly okay to live with them while clearly indicating > what we intend to support or are in process of supporting it. > But we do need an open discussion about how to proceed. This is > to avoid surprises later on. > > BTW, I am just trying to make every one aware of the problems. Please do it as a separate discussion then - rather than starting a thread in response to a posting of patches which are _supposed_ to be being reviewed. Bringing up issues which are in effect future enhancements without explicitly stating that they are future enhancements makes it look like the patch set isn't ready to be merged - and is a distraction to trying to get the series merged. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!