Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3833402pxp; Wed, 23 Mar 2022 06:41:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLxVEsQOsxsivohV1zvQTARd13nMsGynVUaje28SnfhB2ob2jLBbNytdrevmywrgI+pEAA X-Received: by 2002:a17:906:66cb:b0:6cf:e4f7:9504 with SMTP id k11-20020a17090666cb00b006cfe4f79504mr15857ejp.142.1648042914257; Wed, 23 Mar 2022 06:41:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648042914; cv=none; d=google.com; s=arc-20160816; b=yKJ9IPJVQDBpezb4o9gWL//1P1VyyiepzemYhLvgSc7YFbxPrMwjJA2Z7qZcs19CnM lrwBtk2nluYPq9fr7+j+Nh5kVKhcBzvWhUJyFR6W0tRVHtcUsX6jf1lIFUPCJjjgZ5PA 3lIlobrd+RR5VIUYGNvR9d6YamSvb7YwUS+SFqQfBGpLZpt0r7NPotL8PTOSypdN0MdP 8X0eIRNKdGV7YY16wwsBGzPCIHcOpaBptSEf3LbmJGUrOp5tEmj1xeXN260BM98vLix3 /+jnXHPRfx0/3dv9CdV13aDJJBjySBJJMA9nQjU1fH1Am6mRKtlmCcBTnsNCU0NtGVYX E1Uw== 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=95a5NbjgM4Xx1Q0yxPqGa/f8AqReeIWDpmeW69AJklg=; b=GyDfq6Ezcjq5qU2szRGl6Gp672w4CXHnnaEbxxSZREL48Ig1U4qmj8N0X9v+SIsgob hLoaTW/MPyYA4n7Yp8FA26mhd1oLm6e1Ndwx2RzJIM19hpFW6tUspbw43b6gYjlzRN9U DdDT1Njrwa/wMP4AjXnXbyECYKt4bUXPWuNykarw858TE/DCDypZ6t7sma2YhdfOt6hA TwmCJQda+g/sDbuvhy/i41ptZ0zdkRmfOpLwYZJ+KlScU359NVM2B0IVZQfYbLSX9rM7 E9lwI9SRhIVxukc8nnqAitDrsCig+bwCnTR7/OhuYtn2AHF7Y6knIx+RgGpN/9ahREFd QmAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d9G7L5+l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa13-20020a170907868d00b006df76385da6si16160533ejc.582.2022.03.23.06.41.28; Wed, 23 Mar 2022 06:41:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@kernel.org header.s=k20201202 header.b=d9G7L5+l; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237450AbiCVWIP (ORCPT + 99 others); Tue, 22 Mar 2022 18:08:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237435AbiCVWIN (ORCPT ); Tue, 22 Mar 2022 18:08:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AED62E008; Tue, 22 Mar 2022 15:06:45 -0700 (PDT) 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 3EDACB81DAD; Tue, 22 Mar 2022 22:06:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05999C340FA; Tue, 22 Mar 2022 22:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647986803; bh=mkg1qzlpDfb8rzrMfdwYz5AKWcOTZhQ8mO9w318eT9o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=d9G7L5+lPZpH53b0ey+oGWv+2tGAcP8cEl8Bx9iJ/0hS76Fy8K9QlhEXBDs4Jd9+u K0dx5LWcLPuYf+xdkXusWhconJoJklFhZ5SIjr+MXRCi9Hxv3UFgNiQx4yNT234fR3 myjw2PESLEd9Z46wykuVqdAJKbBWjqJPL9x8APiX+w8xKvys/NXjJPdYM2snVNE594 U/r3n4XRX1yOZwg+gXcQ7rGCpSDjel6lEsFtmwwZkG+eH+CdeyzAtIL3Lak0ZyJux3 plws/doNMcbNEVbCRLSk/oAI8mOW4n/OI0Rfp9WrJIVT+4itmgL16ayaI3r8OEonip Ho/2BPtfXjaEQ== Received: by mail-yb1-f176.google.com with SMTP id h126so36251079ybc.1; Tue, 22 Mar 2022 15:06:42 -0700 (PDT) X-Gm-Message-State: AOAM533xREK2yDb5G8LFWa7P909texqlw/5yyGqCeo7UcbB25N8wwfuJ zX5oxXmtYoKDGaDetchpCiAbY5TLStNXTHzuCbM= X-Received: by 2002:a25:dd03:0:b0:633:3cd1:8f1d with SMTP id u3-20020a25dd03000000b006333cd18f1dmr28477586ybg.617.1647986801927; Tue, 22 Mar 2022 15:06:41 -0700 (PDT) MIME-Version: 1.0 References: <20220228183355.9090-1-Jason@zx2c4.com> In-Reply-To: From: Ard Biesheuvel Date: Tue, 22 Mar 2022 23:06:30 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/3 v6] ACPI: allow longer device IDs To: "Michael Kelley (LINUX)" Cc: jason , Andy Shevchenko , "Rafael J. Wysocki" , Linux Kernel Mailing List , linux-crypto , ACPI Devel Maling List , Alexander Graf , Mika Westerberg , Hans de Goede , Len Brown , Greg Kroah-Hartman Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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-kernel@vger.kernel.org On Tue, 22 Mar 2022 at 20:59, Michael Kelley (LINUX) wrote: > > From: Ard Biesheuvel Sent: Monday, February 28, 2022 2:47 PM > > > > On Mon, 28 Feb 2022 at 23:38, Michael Kelley (LINUX) > > wrote: > > > > > > From: Ard Biesheuvel Sent: Monday, February 28, 2022 2:22 PM > > > > > > > > On Mon, 28 Feb 2022 at 23:14, Michael Kelley (LINUX) > > > > wrote: > > > > > > > > > > From: Jason A. Donenfeld Sent: Monday, February 28, 2022 > > > > 1:55 PM > > > > > > > > > > > > Hi Andy, > > > > > > > > > > > > On Mon, Feb 28, 2022 at 10:28 PM Andy Shevchenko > > > > > > wrote: > > > > > > > My point is that this is clear abuse of the spec and: > > > > > > > 1) we have to enable the broken, because it is already in the wild with > > > > > > > the comment that this is an issue > > > > > > > > > > > > > > AND > > > > > > > > > > > > > > 2) issue an ECR / work with MS to make sure they understand the problem. > > > > > > > > > > > > > > This can be done in parallel. What I meant as a prerequisite is to start doing > > > > > > > 2) while we have 1) on table. > > > > > > > > > > > > Oh, okay, that makes sense. If you want to get (2) going, by all means > > > > > > go for it. I have no idea how to do this myself; Ard said something > > > > > > about joining the UEFI forum as an individual something or another but > > > > > > I don't think I'm the man for the job there. Is this something that > > > > > > Intel can do with their existing membership (is that the right term?) > > > > > > at the UEFI forum? Or maybe a Microsoft engineer on the list? > > > > > > > > > > My team at Microsoft, which works on Linux, filed a bug on this > > > > > issue against the Hyper-V team about a year ago, probably when the issue > > > > > was raised during the previous attempt to implement the functionality > > > > > in Linux. I've talked with the Hyper-V dev manager, and they acknowledge > > > > > that the ACPI entry Hyper-V provides to guest VMs violates the spec. But > > > > > changing to an identifier that meets the spec is problematic because > > > > > of backwards compatibility with Windows guests on Hyper-V that > > > > > consume the current identifier. There's no practical way to have Hyper-V > > > > > provide a conformant identifier AND fix all the Windows guests out in > > > > > the wild to consume the new identifier. As a result, at this point Hyper-V > > > > > is not planning to change anything. > > > > > > > > > > It's a lousy state-of-affairs, but as mentioned previously in this thread, > > > > > it seems to be one that we will have to live with. > > > > > > > > > > > > > Thanks for chiming in. > > > > > > > > Why not do something like > > > > > > > > Name (_CID, Package (2) { "VM_GEN_COUNTER", "VMGENCTR" } ) > > > > > > > > ? > > > > > > > > That way, older clients can match on the existing _CID and new clients > > > > can match on the spec compliant one. > > > > > > I'll run this by the Hyper-V guys. I don't have the ACPI expertise to disagree > > > with them when they say they can't change it. :-( > > > > > > > Yes, please, even if it makes no difference for this particular patch. > > The Hyper-V guys pass along their thanks for your suggestion. They have > created an internal build with the change and verified that it preserves > compatibility with Windows guests. I've tested with Linux guests and > Jason's new driver (modified to look for "VMGENCTR"), and it all looks good. > It will take a little while to wend its way through the Windows/Hyper-V > release system, but they are planning to take the change. > Thanks for reporting back. Will the spec be updated accordingly?