Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1877712rdh; Tue, 26 Sep 2023 06:21:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPdE02Gc1CbcXZWez5swEHEQh9Huopn8HzjfwIM42WhlFL+Fp7EsgYWxjkeq6qr3lTqJL9 X-Received: by 2002:a05:6358:912:b0:143:8c4e:283b with SMTP id r18-20020a056358091200b001438c4e283bmr9643156rwi.0.1695734471887; Tue, 26 Sep 2023 06:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695734471; cv=none; d=google.com; s=arc-20160816; b=DPR3Utl+0FbtkQWHO30QNhn1d7WKgqPxlLYpRwRhPC7JvAG0EMGk88wn0HQpfOnReX Z+JN12iw96Cx1kgUb2R+L1o4aTsuYYFCrjYfI99sR1IQ3yVEHnPvkQrdXNygYoAUykNs g+PUsqu/yZoqN2yyqD69EZeiCDiH6e277UOMUuhLBIVOXHyQ/ZPXkAltpJwYAf8HDm3f 3/DTr4HiTf4rF/juVFBusqpDVuiGodLN/D4fpXv0hS4nmGrrOeSm96XNOaDhaxHRqhz1 Ip0UDZGBYiZNr9uRxUeZV3Liv+5Z5yzCCV13JivQ2tczVtXAnxuq/s1jMca7v4JHFI2+ Lybg== 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=opU7u0b7dT944diGD1MENJ7xyUWplVT8yT2TVfHOEuk=; fh=CGZdxHf0KKF1RcWHgY7/wT33yadN59iKF9xEhUmtPYs=; b=XQAc6NMBEAYCaXCSwDgoxyMNdctUsEks/jI8qqveVf3CIuNW4/dGKqeU/GgV/15qbo rnV8kmI3zvXzOOyBPOV22ShnAEqQlxBeJjgdH0ZXj8BKMKJr5+3jlgET2t4kQfNhCFFN 4dHa1KPGTSYztzzcAnaSBdxe1sdO+/9Butm1lwAEh5FD+jGJqCmu2U9Tpx1PTm4CebIY bn5QQzPO99C+kwM1lUuskhmEb+CfIWZDcaABFD8EE/rnAGvOT1YqNB/m/yV9wN+/4lVE pi62aGhcnvntsz515hN54iBr8ez83mZgwQnvBEEUArmE4mbRTWtHy6Lz2RA5Tc8i0AdC 6Nag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l191-20020a6388c8000000b00565eb0b4f33si12902558pgd.224.2023.09.26.06.21.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 06:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id 2F2AE80B7AE2; Tue, 26 Sep 2023 06:16:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234807AbjIZNQw convert rfc822-to-8bit (ORCPT + 99 others); Tue, 26 Sep 2023 09:16:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbjIZNQv (ORCPT ); Tue, 26 Sep 2023 09:16:51 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88044E4; Tue, 26 Sep 2023 06:16:44 -0700 (PDT) Received: from lhrpeml500002.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Rw0bh0SMmz6K7vG; Tue, 26 Sep 2023 21:15:28 +0800 (CST) Received: from lhrpeml500001.china.huawei.com (7.191.163.213) by lhrpeml500002.china.huawei.com (7.191.160.78) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Tue, 26 Sep 2023 14:16:41 +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; Tue, 26 Sep 2023 14:16:41 +0100 From: Salil Mehta To: 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" CC: "x86@kernel.org" , Russell King , Jean-Philippe Brucker , "jianyong.wu@arm.com" , "justin.he@arm.com" Subject: RE: [RFC PATCH v2 00/35] ACPI/arm64: add support for virtual cpuhotplug Thread-Topic: [RFC PATCH v2 00/35] ACPI/arm64: add support for virtual cpuhotplug Thread-Index: AQHZ5mDIR7JMF2KEeEGQTVeJuAX/8LAtKYMg Date: Tue, 26 Sep 2023 13:16:41 +0000 Message-ID: <622a39bda12a4b75a6da84f4566b4238@huawei.com> References: <20230913163823.7880-1-james.morse@arm.com> In-Reply-To: <20230913163823.7880-1-james.morse@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.126.174.16] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.8 required=5.0 tests=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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 06:16:56 -0700 (PDT) > From: James Morse > Sent: Wednesday, September 13, 2023 5:38 PM [...] > > Hello! > > Changes since RFC-v1: > * riscv is new, ia64 is gone > * The KVM support is different, and upstream - no need to patch the host. > > --- > > This series adds what looks like cpuhotplug support to arm64 for use in > virtual machines. It does this by moving the cpu_register() calls for > architectures that support ACPI out of the arch code by using > GENERIC_CPU_DEVICES, then into the ACPI processor driver. > > The kubernetes folk really want to be able to add CPUs to an existing VM, > in exactly the same way they do on x86. The use-case is pre-booting guests > with one CPU, then adding the number that were actually needed when the > workload is provisioned. > [...] > > I had a go at switching the remaining architectures over to > GENERIC_CPU_DEVICES, > so that the Kconfig symbol can be removed, but I got stuck with powerpc > and s390. > > I've only build tested Loongarch and riscv. I've removed the ia64 specific > patches, but left the changes in other patches to make git-grep review of > renames easier. > > If folk want to play along at home, you'll need a copy of Qemu that > supports this. > https://github.com/salil-mehta/qemu.git salil/virt-cpuhp-armv8/rfc-v2-rc6 Please use the latest pushed RFC V2 instead: https://lore.kernel.org/qemu-devel/20230926100436.28284-1-salil.mehta@huawei.com/T/#m523b37819c4811c7827333982004e07a1ef03879 Repository: https://github.com/salil-mehta/qemu.git virt-cpuhp-armv8/rfc-v2 Thanks Salil. [...] > Why is this still an RFC? I'm still looking for confirmation from the > kubernetes/kata folk that this works for them. Because of this I've culled > the CC list... > > > This series is based on v6.6-rc1, and can be retrieved from: > https://git.kernel.org/pub/scm/linux/kernel/git/morse/linux.git/virtual_cpu_hotplug/rfc/v2