Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp190512pxm; Tue, 1 Mar 2022 18:16:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJywIDMs6aYSFSKvRUKdew30hf9+E1mOkT4IaUOXt15RDlgsrzzd8jLdz1FJkObps3+0RWyF X-Received: by 2002:a17:906:730c:b0:6d6:f8f2:fb92 with SMTP id di12-20020a170906730c00b006d6f8f2fb92mr3499550ejc.370.1646187360568; Tue, 01 Mar 2022 18:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646187360; cv=none; d=google.com; s=arc-20160816; b=ybNZneNRlCuDaM/tNbMlzYrOyJ6B2gTuMdg9v9pzeHILcVyrCvVqE+GO66PVGkDD+z VwMvbpG2+IuaPh6scV5BP1vBIUCxqxd5mv3VLarDSINr2ugoW0yfm4LonOt3TkLUAeda HMNt1N0Eqe9mX3n45bqGjstQNirN2osL8gpTXbIyMOofOA7VbS4YLMA+UaL9wbhN82Ei PPrwZonPAmJ/kvgZUlswsLrcvcKLOgu9z94+WLbhtq16sU4EZewDtPTR0wMERxibJkQe 7xJz30q3YipExDz2ukdplvUqQw782qx77IkUILWhb+bi0eTZK8tq6ywblZUkFHUCvWYl EXYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QVWwDfP6vCdKSXIrReokkbeYI07Avo5/7iLxJ3qVrMM=; b=y4cIkUa51AdM4/B3sgspPKEZ0szD35XuTq9FuvXDosJ5+b4TOnzohNG+TfAZir2Wko 5Oz9sFC0yJUaXerIq7o56l7ZDJ6N4bG6CWXjRynpJhRmaIGtb6p4h9cwCtOFVtagP31M NObMKaTf3zGT2nAu0rJLkUs6cwhPqrn5AuW94UMqH4p6ukCQk29X90/YzvMV340Aukef +wmoCU2vxdU54xcsU747WWfwAj+1LyNRxH4kQst+FIoxUyzp8n5i0ArCzu7L1aC44ZzH aLED4+TbfG9MgQptAoOqQ57ENKFb+WklmJuvAQ6RWrVJANbeNzJdsokNQRjwLjdxDqo2 Gu5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Dwwa15li; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a170906224600b0069bb58788edsi9163198ejr.158.2022.03.01.18.15.23; Tue, 01 Mar 2022 18:16:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=Dwwa15li; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236648AbiCAXNI (ORCPT + 99 others); Tue, 1 Mar 2022 18:13:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235726AbiCAXNH (ORCPT ); Tue, 1 Mar 2022 18:13:07 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BADCC91AE0; Tue, 1 Mar 2022 15:12:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 73577B81E95; Tue, 1 Mar 2022 23:12:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D1F1C340F2; Tue, 1 Mar 2022 23:12:17 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="Dwwa15li" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1646176334; 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: in-reply-to:in-reply-to:references:references; bh=QVWwDfP6vCdKSXIrReokkbeYI07Avo5/7iLxJ3qVrMM=; b=Dwwa15lion2Yx6INZGRM8RR30ZitnRusGlT9CzLXoCxdVpdCr5DXvjzRrzg7k07EnD4GWH 9r8Bj9vNalC7YaFb9/zxAbbO5GjK3tKRE/zZTWZAn7xkZ7/pd+9QdxImWwfep7+/3QpiUO gf3Pi7ZeianoIyi7RAgclPzrk8DlUNA= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id 3e4d250c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 1 Mar 2022 23:12:14 +0000 (UTC) Received: by mail-yb1-f176.google.com with SMTP id e186so6260915ybc.7; Tue, 01 Mar 2022 15:12:12 -0800 (PST) X-Gm-Message-State: AOAM53015Y7OletVUxe4xXepLCksoJpZsPUJUltpohviHvbkJg9uxe5K t5jja5Gd1sFiSy41jpYIygwOJUxNFBteqbXdJfg= X-Received: by 2002:a05:6902:693:b0:613:7f4f:2e63 with SMTP id i19-20020a056902069300b006137f4f2e63mr26499795ybt.271.1646176331461; Tue, 01 Mar 2022 15:12:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "Jason A. Donenfeld" Date: Wed, 2 Mar 2022 00:12:00 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: propagating vmgenid outward and upward To: Greg KH Cc: LKML , KVM list , QEMU Developers , linux-hyperv@vger.kernel.org, Linux Crypto Mailing List , Alexander Graf , "Michael Kelley (LINUX)" , adrian@parity.io, Laszlo Ersek , =?UTF-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Dominik Brodowski , Jann Horn , "Michael S. Tsirkin" , "Rafael J. Wysocki" , "Brown, Len" , Pavel Machek , Linux PM , Colm MacCarthaigh , "Theodore Ts'o" , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Mar 1, 2022 at 8:41 PM Greg KH wrote: > > On Tue, Mar 01, 2022 at 07:24:11PM +0100, Jason A. Donenfeld wrote: > > Hi Greg, > > > > On Tue, Mar 1, 2022 at 7:01 PM Greg KH wrote: > > > A notifier block like this makes sense, but why tie onto the PM_ stuff? > > > This isn't power management issues, it's a system-wide change that I am > > > sure others will want to know about that doesn't reflect any power > > > changes. > > > > > > As much as I hate adding new notifiers in the kernel, that might be all > > > you need here. > > > > You might indeed be right. I guess I was thinking that "resuming from > > suspend" and "resuming from a VM fork" are kind of the same thing. > > There _is_ a certain kind of similarity between the two. I was hoping > > if the similarity was a strong enough one, maybe it'd make sense to do > > them together rather than adding another notifier. But I suppose you > > disagree, and it sounds like Rafael might too -- > > . > > Hey, nice, we agree! :) It is now done and posted here: https://lore.kernel.org/lkml/20220301231038.530897-1-Jason@zx2c4.com/ Jason