From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 CE51D125D6 for ; Sat, 8 Feb 2025 01:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738978728; cv=none; b=EjB782iusRdi1TN1DDLgiWyxAXdPr7EgWpCywZ5ed12f0152l9HCytdZ+nP82M8DIOyqnM6HkOqNQyDy8SsPPB7oNBitRXwpVJJY4ATm4qjAHQgZwj2BXUmOTpwhcAMH0KWKonjQ6OC90ftdyqYZ2Um0TPh9frhcfmOqYybpoYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738978728; c=relaxed/simple; bh=ju47K4YUcq5vbKrnu/73+Xzl14uDRzIGxdhBiGOEKwM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=th7wdYh+VWvdrVQZhGGaZZB90wkz0oyadeD1QqTpqNTsUrF9ZZNpKLR5SrrcNOyv1aUr4CocSxJTonMv1V4cLzOLM6RF+j+EDldOalaJ7ODP+wXqlHwANPvxRfUMgKxZtk5yQBPJzeHPtuISzHd0ghEzfTn3VIq/h6XJ6azw2FE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=E6gWZsu+; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="E6gWZsu+" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738978725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4OGpJKlqYKJlS0pLuHn983Uuh5n9DtUrxuwcndbRF+g=; b=E6gWZsu+36TGo6CxBCuxK/KU0QOuFzlIS8NCLaALobr/rETVpkZjPAV0tfK6tgDpsaTkNx 1KluWd57+r8+QoFfiIIkBW5jWgN7jfWPLL3oBvs5P3qNV32R4SgMFfW+P4mnN/zgyjI5iG AYAJKYUn25NcQ43fl4TAi0ND3ekQExk= Received: from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-692-CGeBAf_OMfe2Z_xYLc2IJA-1; Fri, 07 Feb 2025 20:38:42 -0500 X-MC-Unique: CGeBAf_OMfe2Z_xYLc2IJA-1 X-Mimecast-MFC-AGG-ID: CGeBAf_OMfe2Z_xYLc2IJA Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4EE0C1956094; Sat, 8 Feb 2025 01:38:36 +0000 (UTC) Received: from localhost (unknown [10.72.112.20]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id CBBC7180087A; Sat, 8 Feb 2025 01:38:32 +0000 (UTC) Date: Sat, 8 Feb 2025 09:38:27 +0800 From: Baoquan He To: Pasha Tatashin Cc: Andrew Morton , Mike Rapoport , linux-kernel@vger.kernel.org, Alexander Graf , Andy Lutomirski , Anthony Yznaga , Arnd Bergmann , Ashish Kalra , Benjamin Herrenschmidt , Borislav Petkov , Catalin Marinas , Dave Hansen , David Woodhouse , Eric Biederman , Ingo Molnar , James Gowans , Jonathan Corbet , Krzysztof Kozlowski , Mark Rutland , Paolo Bonzini , "H. Peter Anvin" , Peter Zijlstra , Pratyush Yadav , Rob Herring , Rob Herring , Saravana Kannan , Stanislav Kinsburskii , Steven Rostedt , Thomas Gleixner , Tom Lendacky , Usama Arif , Will Deacon , devicetree@vger.kernel.org, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, x86@kernel.org, changyuanl@google.com Subject: Re: [PATCH v4 00/14] kexec: introduce Kexec HandOver (KHO) Message-ID: References: <20250206132754.2596694-1-rppt@kernel.org> <20250206162939.a1f86fb835f1eeb7ed73ff1c@linux-foundation.org> Precedence: bulk X-Mailing-List: devicetree@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: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 On 02/06/25 at 08:28pm, Pasha Tatashin wrote: > On Thu, Feb 6, 2025 at 7:29 PM Andrew Morton wrote: > > > > On Thu, 6 Feb 2025 15:27:40 +0200 Mike Rapoport wrote: > > > > > This a next version of Alex's "kexec: Allow preservation of ftrace buffers" > > > series (https://lore.kernel.org/all/20240117144704.602-1-graf@amazon.com), > > > just to make things simpler instead of ftrace we decided to preserve > > > "reserve_mem" regions. > > > > > > The patches are also available in git: > > > https://git.kernel.org/rppt/h/kho/v4 > > > > > > > > > Kexec today considers itself purely a boot loader: When we enter the new > > > kernel, any state the previous kernel left behind is irrelevant and the > > > new kernel reinitializes the system. > > > > I tossed this into mm.git for some testing and exposure. > > > > What merge path are you anticipating? > > > > Review activity seems pretty thin thus far? > > KHO is going to be discussed at the upcoming lsfmm, we are also > planning to send v5 of this patch series (discussed with Mike > Rapoport) in a couple of weeks. It will include enhancements needed > for the hypervisor live update scenario: So is this V4 still a RFC if v5 will be sent by plan? Should we hold the reviewing until v5? Or this series is a infrustructure building, v5 will add more details as you listed as below. I am a little confused. > > 1. Allow nodes to be added to the KHO tree at any time > 2. Remove "activate" (I will also send a live update framework that > provides the activate functionality). > 3. Allow serialization during shutdown. > 4. Decouple KHO from kexec_file_load(), as kexec_file_load() should > not be used during live update blackout time. > 5. Enable multithreaded serialization by using hash-table as an > intermediate step before conversion to FDT.