Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3220042pxm; Mon, 28 Feb 2022 14:50:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJycxGMCp95rYcNkbbvIxrTpbwG+7vl4kMIk11R7+M5MXk6LHRRHyAqg27hzgV7U62Rio0Id X-Received: by 2002:a62:7846:0:b0:4c7:f23e:1fd7 with SMTP id t67-20020a627846000000b004c7f23e1fd7mr24081690pfc.67.1646088644629; Mon, 28 Feb 2022 14:50:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646088644; cv=none; d=google.com; s=arc-20160816; b=WBfNJZ2tUq30Vtbk+UEM2gE0eFehb5YXEjrTR6ZdC09gZgzlucJX/KnKwEcmrX/KEG wbg5jtyscMm8dEf2FFwzV1tYKQTi8p9bgep1sEa+cv+WP9Z0AQk9SIUdyP+lehP8D4n/ DnlFFD6qItAGtmzcP+Cj79WFjvlKBeYi/uJWP5Ra2C8TXzILOBFwv5V8nG0BsesT8ok2 JgLiwUcEm0kyp8U973PhOS3qsF1/YtKvFX+idiMJI8T16mSDQpjVa502wVLwdYI5anjM Uvr/oK2ssnGLQTpEsin6Le5brwooBXy7WeZgrP5aQOZNWt6SBFFtrxa78SCT1zv7nZxM cFHQ== 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=ndLH9LSgUl2L7qD6sBH4QzMZA8Oe25FTywV5LRmEM70=; b=s3FM6DETfI4xRmedyVR2fo5ozgogct24kOUPid1Wxo2aZxnSsDzddtftqCs0kzAkxv VFJ/vQUWvGQOJR9eCtIfgn/QtmXB5CBV9Rmqyd1+CTY+KxnJIP9KPy6hNOJ2ID56lQ/v 2LmLd2aDDJWMyHyHfgAzr9+glpu7Lmfp826O5T/9+27FHLMczCiBKc4iH6T3weIXbVFp MpGjyUEOf/9MO+PZF70wEK/jh/k4YreNcJyK8d4TfXCuCuaVf+dwCxiYgrtjIK32YqH2 oQXHVVOfn+y7kn3oLB0gRKHM5R7yA/kNTqqI8kweCXk+DvY7oAguGUnfWegjLzhdaByJ Ch2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BUts0ap9; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020a1709029a0400b0014af00acf68si10095428plp.177.2022.02.28.14.50.27; Mon, 28 Feb 2022 14:50:44 -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=@kernel.org header.s=k20201202 header.b=BUts0ap9; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231550AbiB1Wrl (ORCPT + 99 others); Mon, 28 Feb 2022 17:47:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231548AbiB1Wrj (ORCPT ); Mon, 28 Feb 2022 17:47:39 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F9A514145D; Mon, 28 Feb 2022 14:46:59 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 0D1C56134F; Mon, 28 Feb 2022 22:46:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CFC3C36AE2; Mon, 28 Feb 2022 22:46:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646088418; bh=G6GLEJ6Wfn09TOzKxBlcJIFaXURnq/IsC7hPMLt8SC8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=BUts0ap93eFWhQJrO3DOo3KiralkFIxF9lRykNPSwvtarnylb2fBnPArIqVsIDMPa lL+JQQnMswA9onIB3ktOGKRQ7GeMl/Vx0zmo41v3ZX2CTqsm05YlIohf+7YFKg6J8h eTHKNCv3yl5ekWtRNql08HXRf/eYIS4MHFTquhs6ChGsohiagZH2zu8E07mvzCXDik JXoI0B1ZFZ2a0z7OwsAs5hh9CVtB75WkSSVVaF2qlHxpqWCL06/09rWRxZpqpqvouA xI+Exde4XbzmqV5VBdaNRSmtCDENNJhfESHW1fNUaFaVJHAUzUnEoL/+4wlpuE6VbC nma6M8fv1KXKg== Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-2dbd8777564so10745667b3.0; Mon, 28 Feb 2022 14:46:58 -0800 (PST) X-Gm-Message-State: AOAM5329DGobQAi9kg4ZBqZFi9FiInEcJKNjePOLzM8tysqTVe0FeHOi 2GjVyZ4Zhtx2rjsi+CJoByvM86xMLgBTlz3pKU0= X-Received: by 2002:a0d:d482:0:b0:2d8:1555:e21d with SMTP id w124-20020a0dd482000000b002d81555e21dmr20621347ywd.272.1646088417394; Mon, 28 Feb 2022 14:46:57 -0800 (PST) MIME-Version: 1.0 References: <20220228183355.9090-1-Jason@zx2c4.com> In-Reply-To: From: Ard Biesheuvel Date: Mon, 28 Feb 2022 23:46:46 +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.5 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-crypto@vger.kernel.org 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.