From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3729BC02194 for ; Fri, 7 Feb 2025 01:29:03 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7BDAC6B0088; Thu, 6 Feb 2025 20:29:02 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 76DC26B0089; Thu, 6 Feb 2025 20:29:02 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 60DD96B008A; Thu, 6 Feb 2025 20:29:02 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 435036B0088 for ; Thu, 6 Feb 2025 20:29:02 -0500 (EST) Received: from smtpin21.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id D8B63C0B12 for ; Fri, 7 Feb 2025 01:29:01 +0000 (UTC) X-FDA: 83091414882.21.ADF5E06 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by imf14.hostedemail.com (Postfix) with ESMTP id E8DCC100011 for ; Fri, 7 Feb 2025 01:28:59 +0000 (UTC) Authentication-Results: imf14.hostedemail.com; dkim=pass header.d=soleen-com.20230601.gappssmtp.com header.s=20230601 header.b=yWtiE1Il; dmarc=pass (policy=none) header.from=soleen.com; spf=pass (imf14.hostedemail.com: domain of pasha.tatashin@soleen.com designates 209.85.160.176 as permitted sender) smtp.mailfrom=pasha.tatashin@soleen.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1738891740; a=rsa-sha256; cv=none; b=FK4m4Zc+R5pRFnm6GHadfeJW2egciqzfYLPLlTlF3VGlUaTP7G9xgywMYeF9adgYYDveP9 mWwUSo47S0BpGDUXaOVoDC3xUyuGOeR1JaOF/lTj1TbnmKbQ38Owlz6phjoBFXTKVCW40v rcxXGrflCDsR+YBRo0nv9HP+XiRM+4k= ARC-Authentication-Results: i=1; imf14.hostedemail.com; dkim=pass header.d=soleen-com.20230601.gappssmtp.com header.s=20230601 header.b=yWtiE1Il; dmarc=pass (policy=none) header.from=soleen.com; spf=pass (imf14.hostedemail.com: domain of pasha.tatashin@soleen.com designates 209.85.160.176 as permitted sender) smtp.mailfrom=pasha.tatashin@soleen.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1738891740; h=from:from:sender: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:dkim-signature; bh=E/B6rKXoRP9BkkuR2mn1tTK5oITIELKG2LYs8WqA/Z0=; b=xPPN7BuA3TiHH8ZtieMV3uIWXKfSvcQg59KO0veYTxHqHEjp6T06rUNlPnysTWcbzO4SkT U157QJTA7RtSYS+1bplEa7J3pSjXWwGqwXptx5C2tz9Kp5oXxFb+CXGZNKO9tYrD8/TyQP lvhHP2eTL3S6jLrm1aUtZp8vav6Sd1Q= Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-46788c32a69so20946541cf.2 for ; Thu, 06 Feb 2025 17:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=soleen-com.20230601.gappssmtp.com; s=20230601; t=1738891739; x=1739496539; darn=kvack.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=E/B6rKXoRP9BkkuR2mn1tTK5oITIELKG2LYs8WqA/Z0=; b=yWtiE1Ilfh5+ATz+rNVB0Z5eU+ooM02kyBmNpBpu3Bi9PFUupGQw8/XpN4v1VQ98jO NVW6KnmOpz1qjzEBbGnddrIQkYPWdZWnhQgZlTlY4iTAWhO3RU5nturX6v1vfnCu0kct 8Qp2y7D1IuGVxnFrKvPIndoVmONrZ84N8cOBC9KPIHw1qsLGbQ3e32KxeRdtme1A8ZW+ mEx262fg5H5WglAB40nYCmF6aN2SAzJlL2S3/uw49cXuxRpYizC2E/e7riWaojMAq0dc A1adMcFsrj0Ls+NlNIC349p4OkH3ZYnY1YhxIr3diwQnTgIdbxql3I44TeUXxCFxA62v YOeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738891739; x=1739496539; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=E/B6rKXoRP9BkkuR2mn1tTK5oITIELKG2LYs8WqA/Z0=; b=hPwXiWWfSteKgVZcw7xYgsbrhY7HT7fE8pGOFOxwVcZmuWKag3va8JtEiyOyzvunQi FwcKhCiFLrRc7DIjS/szD9hNgstfT/0R80/rNCt/ksMzuR7HZ0rKXmRq/GslF5O1RzLa cMl7Ium8sqRXXHz5fn/lMBP3gVZVJqhwR4kbKjcBFDHIOMuuH1GqhBcmA0t64OuAOXhW jQuJzJM9p3c/3AFbTpWywx/6Ckp7a+IZIcExzZHPw1afZXH8YNsMMcScwLNN4K8Nj3Oo DfxI96VGuM0L0ImfQWnkFXhiAgvSIGm9CHbjmow24XJ6aeswtvi2xuWH5iJ3/xnYkE5t 8lIA== X-Forwarded-Encrypted: i=1; AJvYcCW70LSzRt92KtrLRwb9tuOVsDKY/1c17h5v2UyqdIL3Ol4tE/AD+ixhsfsA5c4F9BkNKamQeu154A==@kvack.org X-Gm-Message-State: AOJu0Yw8xEP5bTt2E8i0jVl8bzlJUqqWhOsjK9J5MTFF197b6JYtlhtT 0ft6owJ62+JvZtaUr3TaEP+ytFJU6ID/b05RrqQY4XWN2gblfK/Y/JXPlS0nV84d1DKMuML3Pry qady/3hvi2k894DxxTgNxVpIVVhoYn0iawZ+oRQ== X-Gm-Gg: ASbGncvbwFlLACdC1TmipgOy5qRYVbYIvvRn/RpIcU9Q3zFvHXdUUFpHccOS7uA1sB+ /4Z73ZlOUuAc29O7EWhIlwwsWwBC1pkAHRxLOwSnGdoT5W5V52biluO7QxZZhTOpEBbMLbg== X-Google-Smtp-Source: AGHT+IG/qU+DQGRbIVpasPJX4dEgRbGI1bwsgyRQgH7sLyexv6ztYzz7dd87jk6gdrjtGjTpHMmepc+RecJuVSIbOWM= X-Received: by 2002:a05:622a:30f:b0:46e:24b1:dcd1 with SMTP id d75a77b69052e-47167ae2a56mr22008491cf.32.1738891738868; Thu, 06 Feb 2025 17:28:58 -0800 (PST) MIME-Version: 1.0 References: <20250206132754.2596694-1-rppt@kernel.org> <20250206162939.a1f86fb835f1eeb7ed73ff1c@linux-foundation.org> In-Reply-To: <20250206162939.a1f86fb835f1eeb7ed73ff1c@linux-foundation.org> From: Pasha Tatashin Date: Thu, 6 Feb 2025 20:28:21 -0500 X-Gm-Features: AWEUYZl6iTKJpq_CKya0Z3uq2I-kaX8PhW2bxqIFxSemVzQfHVc82dvbk7pP-8Y Message-ID: Subject: Re: [PATCH v4 00/14] kexec: introduce Kexec HandOver (KHO) To: Andrew Morton Cc: 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: E8DCC100011 X-Stat-Signature: jgu5y3g8o4odn1by1rcxso5k6ic6dbc3 X-Rspam-User: X-HE-Tag: 1738891739-788938 X-HE-Meta: U2FsdGVkX19Ec8JH4XoRWNNHLkE6vpyMBW4JQveeto7bCpF0r85uEpmWqzYzB5heOar7dwQz6P5INcfiR0Bhk5hkZOgqM1dsJhHT9fE39W6AauaJN1psukTfc65pCuqhKQGvED/TiX1eQAbwbWwLRQCe0MwjGCTeoevyZ6iO3Bb612Vh+O/DjlCIjwgcsHbegRVKUBHbCbEQ7Ih1ejEyf+f6QCW0zmkv5k8yR2K8/aiXlRleHN979Tq+4E7LKgoWwh0Frqd68MkhkzCCR4PafkQhDOVpp5Bp7ExPRwTRsbR+RfdR2KZBGj08lHcxgkK4JBLiUTfO0/8iMqkDITU5Z2PX/dJsHdtJxA5X4ahIXTpbCEUzBNufgK6diOr6p1/GTQZSSF98f+L6ta9rEh4HsQgrf4jMzHmbQBaSajHYDpoSJbuQpyfcEwoXwwXyUwxRLmD2hUF2d2lKgYNm//d+iUqF1/t0o+AZQbCDtCpae+p92jGTXQ2A6jbkWpQr4HKyhU5o2ENJD0BtiWjKbJAu/FZi35ByNJ4hyLwwLpqxq5v+e14GhqiB/jAW606A7pjGhgiqcR8ZrltshQ3CLqvBCSlaMp/Chas+uA0g7wCTbYpuxVFSQKTt8z5QSW6Ibc6ud+692G2ofEfHPcshhvPtr5eEPqJx61QA0xXL6Qh2wPnuOEp4LtgK3JpFtZv356848O3il8cIau9dlS0WGVJf7H7Bf18XSX+a/iXJnPEKV+clNEEmInCEHmOGsvNWKEaZmezXEJP/JO5mxmh/cPATt4nBN85B2tLYFiQc9/IdWGQRqdK/r+BvzT4NgSrihaXq6hM8zkI0Oxic9KOoNMEgl6bt+M1r6lt/Uv94pFLGqCezCQSdocaVDxrLDT80F+6xvPjKXQnJBsm0LSr3mbIYU6gKGpslGPu18v1sQqvNp6n8tCyRbW99Xwhfm2WzmcHzxSzyO4Aw7XboAWgOsed eOTk84St RfQDmKZGvQXzd+L8GD5DhC2LpUi9zAXQcUI6KXFwcL4PVt4KSQGxe0qP5h17IWfDF8mJ+CpR4bv417zOPkoA4AOXx8OGGbPYclojGFGFtnVPD4Snjrr/AK/IUPfPEaVastopRbmuPT4B8SOIDIuRunlL8lvFNewrFKtO/+WetgZyXx4Ist50hR8K1czkWXhA9EsdNz3ik8l+O1QUG/zWSrGYzMm6Kdk+2218w1AglIGrQ4VBl2MG9nmPgx1hkTJTN2g4JQbq0u7Ffu/mqcoJ1DEHKFIjewKPFuh1sJr78dwV8dt4+r0AlCtd5CCli4r34YTC9wH5OUFMS9tgPFsnkOxCgokziKQCrohUm5cJ0wNDhv0gnTi3X3znfhhrwTVlFT/T1pq+DTO0njomi5Y5Ogaj932KkRnYX+2i2Vc4TfLKekRhBswPLc6vQvQ== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, Feb 6, 2025 at 7:29=E2=80=AFPM 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 buff= ers" > > series (https://lore.kernel.org/all/20240117144704.602-1-graf@amazon.co= m), > > 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 ne= w > > 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: 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. Pasha