Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 490DDC61DA4 for ; Thu, 16 Feb 2023 14:56:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230329AbjBPO44 (ORCPT ); Thu, 16 Feb 2023 09:56:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230302AbjBPO4x (ORCPT ); Thu, 16 Feb 2023 09:56:53 -0500 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39275521E9; Thu, 16 Feb 2023 06:56:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676559400; x=1708095400; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=Jnag3RTmvPqBfzuViYzSn81cgXd3OsGGPoaxMk4z/kA=; b=OkLArTbgpuaCB1kL3Xh3m/ABtQgMsi92eNWXt26gH1CWF5PLrUl7w2dx moZ14klivmV3ElyhWeLWljPUS5WTVJ7v6psLYpRUC2qgZXPVxdNSaGGvL kVUwOGGBxbfSNQUrFNKemQNHzZD3p2mrp0hW2cY8YlSuhfK+w3p3+aMl/ a+cCRkxk4+2ovnK5ClrCclaQK1GnDj4fY/sHFCdzabgWiXR/5OYWxyEkC vwZ37S4cjrWhA/IzIRtrtGVhFzVsof/ogBo5Bhl6TcRdMNBfFKJytdPzx lTT7JVSYQJOESDQqB+jdUxJbA7dQj3BuKop300cUpjFFZgVz7sBR2V1ts Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="359164718" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="359164718" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2023 06:56:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10623"; a="844169379" X-IronPort-AV: E=Sophos;i="5.97,302,1669104000"; d="scan'208";a="844169379" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga005.jf.intel.com with ESMTP; 16 Feb 2023 06:56:37 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pSfgZ-007pOc-1d; Thu, 16 Feb 2023 16:56:35 +0200 Date: Thu, 16 Feb 2023 16:56:35 +0200 From: Andy Shevchenko To: Mario Limonciello Cc: Jarkko Nikula , Jan =?utf-8?B?RMSFYnJvxZs=?= , Grzegorz Bernacki , Thomas Rijo-john , Lendacky Thomas , herbert@gondor.apana.org.au, Mika Westerberg , linux-i2c@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/6] i2c: designware: Use PCI PSP driver for communication Message-ID: References: <20230209223811.4993-1-mario.limonciello@amd.com> <20230209223811.4993-7-mario.limonciello@amd.com> <703033aa-1293-307d-42a2-9734a51c7190@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Feb 16, 2023 at 07:29:53AM -0600, Mario Limonciello wrote: > On 2/16/23 07:27, Jarkko Nikula wrote: > > On 2/10/23 00:38, Mario Limonciello wrote: ... > > > ? ? config I2C_DESIGNWARE_AMDPSP > > > ????? bool "AMD PSP I2C semaphore support" > > > -??? depends on X86_MSR > > > ????? depends on ACPI > > > ????? depends on I2C_DESIGNWARE_PLATFORM > > > +??? depends on CRYPTO_DEV_SP_PSP && !(I2C_DESIGNWARE_PLATFORM=y && > > > CRYPTO_DEV_CCP_DD=m) > > > ????? help > > > > Would this look better if split? I.e. > > > > ????depends on CRYPTO_DEV_SP_PSP > > ????depends on !(I2C_DESIGNWARE_PLATFORM=y && CRYPTO_DEV_CCP_DD=m) > Yes, thanks I'll change that for next version. I'm wondering if this is homegrown implementation of 'imply' keyword? -- With Best Regards, Andy Shevchenko