From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DEBBE17A307; Wed, 19 Feb 2025 07:32:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739950372; cv=none; b=eaNgB89r4S+bcN5i6xMDkPXrBam/F9zs01Sm03lG5SMB2ymGgifJLCwtkPrgzy8uyuSF0RKra1JojnqA2nEDFS56W8SIwq1fKpcqjGVtb+SVrgtUCbAuGKdvywl4zzoKOgvqBZyggH+nGaA1qpRZkWXpc3RZA7iQecNlyvcf4KI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739950372; c=relaxed/simple; bh=IU+pHUXldmRuJqluDgSiOT9EDGFnrS7y3gSj3xCGbVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gE9DRKUH9EoTFMmt3i4S1vkJoinby0DJcKKOzjztUIYF2p08h3Hmr42JAdJR/exQflXrJSkK2yQ1dGyagyLeAn6VBp3/bBDHcAwstg5m5RtqCLlrNahdndreABU0WdDDvMBkJrrk5bLwDvCXCKfHc7cYnZ3tyQKWaaR+ajexXvs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bA71nhcL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bA71nhcL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15F07C4CED1; Wed, 19 Feb 2025 07:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739950371; bh=IU+pHUXldmRuJqluDgSiOT9EDGFnrS7y3gSj3xCGbVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bA71nhcLnBv4vVc6bzgMzt4pcW92PdxJcYfbTt8KMC68oKcFO7FfjZsO6EXrZWchl Nmf7yFEHV+k3l6FR4r5n/w9/dOE/MgAfqavsjDv3Gxl6m2kgk0td6LefolW/tdq4vk IQGJ71D7cCbtmVBKFWdpdylHgF1T4KHDqMxX/3ifie06MKaZHrdtFXOMHJVsfhd2gu 4P4M5HUSM3yduXdDxCu6tEG4DMvehgF39yoJqdbeJUI5cTCWgLsXZpSwZcWgYKkLNm FTFZnXtSVFsFSCIsXBBp5pAB1gXIC0M5l2+gRyX7OFT9Mo9AFvCtwqfqTYSiu7XvFT Ds0vM/Iq+dYLA== Date: Wed, 19 Feb 2025 09:32:31 +0200 From: Mike Rapoport To: RuiRui Yang Cc: linux-kernel@vger.kernel.org, Alexander Graf , Andrew Morton , 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 , Pasha Tatashin , "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 Subject: Re: [PATCH v4 00/14] kexec: introduce Kexec HandOver (KHO) Message-ID: References: <20250206132754.2596694-1-rppt@kernel.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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Feb 17, 2025 at 11:19:45AM +0800, RuiRui Yang wrote: > On Thu, 6 Feb 2025 at 21:34, Mike Rapoport wrote: > > == Limitations == > > > > Currently KHO is only implemented for file based kexec. The kernel > > interfaces in the patch set are already in place to support user space > > kexec as well, but it is still not implemented it yet inside kexec tools. > > > > What architecture exactly does this KHO work fine? Device Tree > should be ok on arm*, x86 and power*, but how about s390? KHO does not use device tree as the boot protocol, it uses FDT as a data structure and adds architecture specific bits to the boot structures to point to that data, very similar to how IMA_KEXEC works. Currently KHO is implemented on arm64 and x86, but there is no fundamental reason why it wouldn't work on any architecture that supports kexec. > Thanks > Dae > -- Sincerely yours, Mike.