Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1647008rwr; Thu, 27 Apr 2023 23:00:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55lqpj1lGSgIy2ZYNxxrLuxZnA24upV0T7nIl7aax9ez/9MnJXM1PgjHcCrKhU7aq04qYW X-Received: by 2002:a05:6a20:2590:b0:f0:7ac1:ea61 with SMTP id k16-20020a056a20259000b000f07ac1ea61mr5533714pzd.6.1682661624557; Thu, 27 Apr 2023 23:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682661624; cv=none; d=google.com; s=arc-20160816; b=L0/ep+l3dZAbfh+fx+5ZDgbTjVcMs9CdE7gUlqT9lhkLv9Jc3J7NH20S9kQwr1mQg1 r80+MFb60YSQmoUDNhNNg24SPFIBU/yCblzKiMvJ709vF9MOOhjNTaS16RFfQ+uF4AZ1 dx+7DNDnputiWkE2VDJE7wvxX4TOA3pPT1vb/7y1SDqdHgNogLfoT7rYA5ect915sOU2 gangbgFf6ohAUjdj0o+u40FPvv1NQAOl0Dbspwc6Z16h7opR6HVEYsX/qdCEiXTWOjII wVKwPScuaz5DGdtiqL5wO3PVfWQwAQ+3rBItjVoKYNyJK1R5GT2xivLjb3SC41SGC1rU pOiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=4VRpcnmw8YOwTpruFzNVpvXYH+RCLbyYv0y6SxCAJIs=; b=zOo2yPMm/sI9BxSmsu4txavBGgRll8akK8lm3TXEo08+IAVhyTm9aJ3AFTkQYLZkZZ di+lT282GN4q0aSZNz2SCTbNZ6JVBt3/nifIasx5Ss8efQ+5ZkF6gdAAQ33JOajGGBq9 jJVbhP3+nehOzr0HivKe2qYlexo12iUPmIcCW9NvBT1rX1LTn2BK7EamtYw3iO6z4f0G WsxlMAGp0aUJhsZd/BeAa277zhf1n5UY6pkYh1GO9M+VcEcyVtENCZX13RhfYFKIdqmr xc+AEgvgtTqs8eCNjNOnHN7f3O7qoDZjXTucXGegnUNAlC7OphuN3wPTI8DnhWz7FG2v 2OLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=S4kxZxrm; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=CbH3P3EQ; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 67-20020a630046000000b0051b5bb35d72si16718553pga.338.2023.04.27.23.00.10; Thu, 27 Apr 2023 23:00:24 -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=@arndb.de header.s=fm2 header.b=S4kxZxrm; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=CbH3P3EQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345280AbjD1Fui (ORCPT + 99 others); Fri, 28 Apr 2023 01:50:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345256AbjD1Fuh (ORCPT ); Fri, 28 Apr 2023 01:50:37 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 557182D65 for ; Thu, 27 Apr 2023 22:50:35 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 6145A3200961; Fri, 28 Apr 2023 01:50:33 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Fri, 28 Apr 2023 01:50:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1682661032; x=1682747432; bh=4V Rpcnmw8YOwTpruFzNVpvXYH+RCLbyYv0y6SxCAJIs=; b=S4kxZxrmSartSNQLJ1 1XnFPLbDHPoP+W2BCgPepNGJVWHk5K93kyBeTm3o6NQIgNx0Vummy/sDmdEzyRK+ vedTmQso+ZmguYspySnVIMcH9b/jhUbFLMuIWNl6NBmcpK4Hh716Y33mDOsoh1aJ i7As5CfwzRNKFtAdXQp38Qgf9+Uv8W9emWTFgxoif+XyR9+Ye2eqji1ydWFMlZpC AtlLUbR6rknc3SJfSnZDiwg0HRJNvcpmETutfubYUpUd81viNNcv8DReRS5c33Vl XFb4YenMvc5c2PwzI/N1ATZUb6eQpWU7MA8DchAIga5GwlggAgDgSSQIqn312p3k 4HYw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1682661032; x=1682747432; bh=4VRpcnmw8YOwT pruFzNVpvXYH+RCLbyYv0y6SxCAJIs=; b=CbH3P3EQl85u6rk3SRgiEBHvsztVH XyVza1qq/Ggr+Zkg/dAbZGaUMJdEmktn6FOReTDeoW8l91tZvaCrIErbgniU0CFP Ouolf+lJGTy9UymxEnkPpH9TivmLYVcYbqpmy2JsbA4nWcsA2UIttDIgdRa0zPli e4lX8A/XpYrcY8Jrt8d6GAIpej7poMrkQL/4buC8KWLs2mSjnmGzypGN/Ct4JUnl 6JSNIxL4qlTDD346/kytvnHrgugJ2zTUhjlwlR2ZfBH+LhSExWAwMqulkXnyjvjN XfCmIURvgKOScyRLQ0VF3s+KG3DN4QZENsc5ooehm8V4gHe4cQKbcJxaA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedujedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 67143B60086; Fri, 28 Apr 2023 01:50:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-374-g72c94f7a42-fm-20230417.001-g72c94f7a Mime-Version: 1.0 Message-Id: <688fe177-5f00-4434-ba08-2348a8e5ee15@app.fastmail.com> In-Reply-To: References: <20230423135124.55196-1-kilobyte@angband.pl> <20230425115210.GA4151911@angband.pl> <2023042502-resolute-divisible-fbff@gregkh> <20230425152720.GA4155584@angband.pl> Date: Fri, 28 Apr 2023 06:50:27 +0100 From: "Arnd Bergmann" To: "Tomas Winkler" , "Adam Borowski" , "Greg Kroah-Hartman" Cc: "linux-kernel@vger.kernel.org" , "Alexander Usyskin" Subject: Re: [PATCH] mei: make hdcp and pxp depend on X86 && PCI Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Wed, Apr 26, 2023, at 19:11, Winkler, Tomas wrote: >> >> On Tue, Apr 25, 2023, at 16:27, Adam Borowski wrote: >> > The problem in mainline is inconsistency: out of 6 config items, 4 >> > repeat the "depends on X86 && PCI" line, the other 2 do not. There's >> > indeed no immediate functional issue, but I'd argue that a dormant bug is >> still a bug. > > The MEI protocol (CONFIG_INTEL_MEI) is not PCI or X86 dependent. > INTEL_MEI_GSC is PCI dependent but not X86. (Hope I correct also on > implementation side) > They HW layers are currently X86 dependent. Ok, so in that case the dependencies should be relaxed like below I guess, in order to allow using the MEI on non-x86 i915 devices. Arnd diff --git a/drivers/misc/mei/Kconfig b/drivers/misc/mei/Kconfig index d21486d69df2..7c6e3b4588d0 100644 --- a/drivers/misc/mei/Kconfig +++ b/drivers/misc/mei/Kconfig @@ -2,7 +2,6 @@ # Copyright (c) 2003-2019, Intel Corporation. All rights reserved. config INTEL_MEI tristate "Intel Management Engine Interface" - depends on X86 && PCI help The Intel Management Engine (Intel ME) provides Manageability, Security and Media services for system containing Intel chipsets. @@ -39,7 +38,7 @@ config INTEL_MEI_ME config INTEL_MEI_TXE tristate "Intel Trusted Execution Environment with ME Interface" select INTEL_MEI - depends on X86 && PCI + depends on X86 help MEI Support for Trusted Execution Environment device on Intel SoCs @@ -50,7 +49,7 @@ config INTEL_MEI_GSC tristate "Intel MEI GSC embedded device" depends on INTEL_MEI depends on INTEL_MEI_ME - depends on X86 && PCI + depends on PCI depends on DRM_I915 help Intel auxiliary driver for GSC devices embedded in Intel graphics devices.