Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4728730rdb; Fri, 15 Sep 2023 10:24:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHLhM7SQ4nGUoH+wo+LZm/lONI/w26mQPyYZrH9+dKdWCJk5RistLAOZldqVarSIae3zWVq X-Received: by 2002:a17:903:1249:b0:1bf:69af:b4e4 with SMTP id u9-20020a170903124900b001bf69afb4e4mr2606979plh.37.1694798645792; Fri, 15 Sep 2023 10:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694798645; cv=none; d=google.com; s=arc-20160816; b=DadyFZwUOWs9uodUHMQobLcQx2wQnKxp0M1bhjKOliDsccvSpH3ac4XujIv5/VL2k8 lH5tm+fY0vloCH4c+8uVQlvEaAQ1M4YRZ3vEfn+OBTSs2FKyGfCeMSkydW9qF8gq3wgl RlEvXxbiKHbYkMX6wJ/klVKYWw/aBb45DHhD59jJIHDER6rea+m9MwYxGsNli0xdK0RQ faU5/XpOuGQ7Hj0P2PwC0XmIMV3pcEcm3LOrDFUNVaNeeyUsu67iY2vC8Scy5qpNYI6J ZmYzs1e/wRNvJ6nb5PWqWzZ950hSZHc/MfK/I5UwhEegcoBYFoH9JkTSpdpDFBhGPPgq 6iNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=sqq5h262yRgc+EQsWHNMfGPnL9DSezQazzrCneH4P+o=; fh=AQy+YeQKoFQqQwcORh53TllO576gpx4a38tEHs6b5i8=; b=d7FQqq86jjU8deHse7MVPS141hzO128lTWvUcLM7VNvrI68FUVgP24FcqFpNlZnlM+ rRWLkTOrLcXrX/F/SyllzfF5U1kU/0EOqsXSxIsk288l/NntT/JnhykWNaw3bx+122aM 0GredMUzeRBsGOwTmDC+jZxpEhBhew1qaUesQqWcyDab1+Qgir2p2Ke+6yCOb2k0Z8Sd m1Us+fbuvjohJfiN6JM64o5PJRNbil7WuKNFGD9x2m4GcHeoco/SwKdqS/+k34DBZOGa 13DAUnTfmNHj1VGMqHKqlRyRUeh1TFHl2NrCaMQSRDHzYWVWstdEmr0pJMFDc2J/PAvy 9fZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id lk15-20020a17090308cf00b001bda1941a8esi3452099plb.582.2023.09.15.10.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 10:24:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B1A59858A3B5; Fri, 15 Sep 2023 10:08:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234971AbjIORHs convert rfc822-to-8bit (ORCPT + 99 others); Fri, 15 Sep 2023 13:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234435AbjIORHa (ORCPT ); Fri, 15 Sep 2023 13:07:30 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21473E7F; Fri, 15 Sep 2023 10:07:25 -0700 (PDT) Received: from lhrpeml500001.china.huawei.com (unknown [172.18.147.226]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4RnL8v5Njxz67KXG; Sat, 16 Sep 2023 01:02:39 +0800 (CST) Received: from lhrpeml500001.china.huawei.com (7.191.163.213) by lhrpeml500001.china.huawei.com (7.191.163.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Fri, 15 Sep 2023 18:07:22 +0100 Received: from lhrpeml500001.china.huawei.com ([7.191.163.213]) by lhrpeml500001.china.huawei.com ([7.191.163.213]) with mapi id 15.01.2507.031; Fri, 15 Sep 2023 18:07:21 +0100 From: Salil Mehta To: Russell King 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?] Thread-Topic: [RFC PATCH v2 27/35] ACPICA: Add new MADT GICC flags fields [code first?] Thread-Index: AQHZ5mDqpYLh+nkhC0mj9mPBt3XEBLAZ5MMAgAB0lICAAAsFgIAAEfIQgADzSoCAABq9gIAAG4DQgAA3wICAACNmMP///ZyAgAAmTMA= Date: Fri, 15 Sep 2023 17:07:21 +0000 Message-ID: References: <20230913163823.7880-28-james.morse@arm.com> <20230914155459.00002dba@Huawei.com> <80e36ff513504a0382a1cbce83e42295@huawei.com> <9e327ad1128045fa80eebf327abaa8f0@huawei.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.174.239] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Fri, 15 Sep 2023 10:08:20 -0700 (PDT) Hi Russel, > From: Russell King > Sent: Friday, September 15, 2023 4:41 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 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. Yes, we can discuss it as part of separate thread. > 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. I beg to disagree on this as these are not enhancements/features but problems. But yes, we can sort these out in a step wise fashion subsequently even after patches have been accepted. Totally agree that this can cause distraction so let us defer it for a moment. The original purpose was to highlight them here briefly, which has been achieved! Thanks Salil.