From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 41C223E3C5B; Wed, 3 Jun 2026 17:26:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=13.77.154.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780507579; cv=none; b=ckTN47Y/o5EydLHzjHA/uK2eDvaIcQTJu70UjRQhOThxEYNIzMIiwj2ED5FNsZr4nDX3OokSYD1S07hV/pOQ9MIGWXa9KCE3PVKW7bMXMOmYowZY7jXFSHqDn3Bay6I/s7RWtzFUexaH52S5QqcD0d/LsZ3lqtto8Kk3ELlwxcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780507579; c=relaxed/simple; bh=eUGv37BxYmGLfChvLdC2qCJFLIZQQlowPg5kLf6EkaU=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=ffcswRaFeEmJEP977mHfHRdzGFiD6fIP1V18nQqeLzulhzbEkZSxg6GmSOuupqT12zdZbUpS1NC1HDHBm8WDrAbaLLpUJ/ytOv7MivqWuvwsNdWKg5eEAniVmT9NobivU/OFhBf+8a4IVDpVbmyzRQdBDU24nn/ZyNlkcbvs1oM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com; spf=pass smtp.mailfrom=linux.microsoft.com; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b=EnMUBUXn; arc=none smtp.client-ip=13.77.154.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.microsoft.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="EnMUBUXn" Received: by linux.microsoft.com (Postfix, from userid 1241) id 928E120B7168; Wed, 3 Jun 2026 10:25:58 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 928E120B7168 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1780507558; bh=DiMi2AOkr41lLQQ8lkXK5ScVvrndiW+3Zkpi2ThCMg8=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=EnMUBUXndkm6H+8pw74uuRu7AaBF6Y2P5UHSn671EYJ6AHspLIGBAjxTK0YnC63tg a9gWzTZ1uhg3OfJ+IGfN+QTusX0nyLn1rYJxr/vxFjCDx91PproYwVJZZfVSXuq4sc rr0JK382f+sPSDMf6vulEDPlcs/vBEF43JAe1mGA= Received: from localhost (localhost [127.0.0.1]) by linux.microsoft.com (Postfix) with ESMTP id 903BE307050F; Wed, 3 Jun 2026 10:25:58 -0700 (PDT) Date: Wed, 3 Jun 2026 10:25:58 -0700 (PDT) From: Jork Loeser To: Mike Rapoport cc: linux-hyperv@vger.kernel.org, linux-mm@kvack.org, kexec@lists.infradead.org, "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Pasha Tatashin , Pratyush Yadav , Alexander Graf , Jason Miu , Andrew Morton , David Hildenbrand , Muchun Song , Oscar Salvador , Baoquan He , Catalin Marinas , Will Deacon , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , "H. Peter Anvin" , Kees Cook , Ran Xiaokai , Justinien Bouron , Sourabh Jain , Pingfan Liu , "Rafael J. Wysocki" , Mario Limonciello , linux-arm-kernel@lists.infradead.org, x86@kernel.org, linux-kernel@vger.kernel.org, Michael Kelley Subject: Re: [RFC PATCH 00/20] mshv: enable kexec with Hyper-V donated pages and partitions In-Reply-To: Message-ID: <3197c9c9-9e4f-c592-bb7-ac422f89115@linux.microsoft.com> References: <20260528004204.1484584-1-jloeser@linux.microsoft.com> Precedence: bulk X-Mailing-List: linux-hyperv@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed On Wed, 3 Jun 2026, Mike Rapoport wrote: > On Mon, Jun 01, 2026 at 01:09:41PM -0700, Jork Loeser wrote: >> On Sun, 31 May 2026, Mike Rapoport wrote: >> >>>> Patch 19: Export kexec_in_progress for modules >>> >>> Isn't there another way to differentiate kexec reboot? > > There's that "kexec reboot" string passed as the cmd to the reboot > notifier. > Maybe we can make it somehow more well defined API and use it? A string? Dear my - the compiler won't flag it on an API change then, not ideal clearly. What's wrong with exporting kexec_in_progress()? Best, Jork