Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4539084rdh; Wed, 29 Nov 2023 04:28:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpPx3eRb3Z9CNMBW58REidFNprZPealZU4LiDV3MrbhUlRC3+Mhedm4+pxCJ3VJ9vmcYDx X-Received: by 2002:a05:6a20:918b:b0:187:4e8c:ac5c with SMTP id v11-20020a056a20918b00b001874e8cac5cmr27203304pzd.1.1701260916673; Wed, 29 Nov 2023 04:28:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701260916; cv=none; d=google.com; s=arc-20160816; b=ypJtvmouA85SMzJFkotmweEJp97bBU5BUdw6Al9DDSQmzlROnjVG/uYahvB2kBpFk+ rdRBOkPSjqAJX7MpG4Vty7JSbTZJU+qkVUh1tejd838AJ/xzMcBKTF/2Se32ZDhTo0By B+oi8cnqSawn/x7IRJogluFTzPW4PMQQ5xqECVyraRbxPCpdh3aIxUaXIZANJsdpV7PZ PtGt37v9YH9SjNWctHccrdcMp6F6NUX+zd3HenpsEN3nO3r7Y96pwxziVuXS9qMBKq5+ 6c4A9I8CEWQvidI1eaeuXaugmocYud8feuscxpdDXX7Exqzf06ek1doMwcMk4Mi5WwB8 hplA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:content-language:references:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=fsic7ZalulSdGBHD5PSXfciu+uveFKXpxL/nBpe8cXI=; fh=XtvYdrII24fg84zUubX2xNF2bv32OFR3prTFBfUevj4=; b=ff3f/BwMqWvdyUC7Ut8TzOIZfT/5R48N1mWBSklOCbaDJBUBp7gDoYrAWJBDmJHgmf DWV5ziUiDRZ3IowtPOd7pVCkdkitdgzqQbax/e0O71rgaxctVYng1n6yoEMs2usx1nhH iWZGB5e3VzbZzXzXIPP6RTqJc8gK3bdc8i4sYT5OvgeCWWOHAqJgqTpqTuYDW6YpayX9 jEa841sunZx0G/Wy6TbictgkiJVBhj3Krxg2vtIzF620xnCEJy1UiLG5SCXL2VCPyjzm XTHQREcPNmNR0dBs7xO58V5Hpko2J0jWj7Jhf4/nKvR7UjUs2azjp5o4RBGPCzz97AfX eypw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ViJ5D94u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id fb13-20020a056a002d8d00b006cb63c86cc2si14806351pfb.100.2023.11.29.04.28.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 04:28:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ViJ5D94u; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1440D8031AE1; Wed, 29 Nov 2023 04:28:35 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233675AbjK2M2W (ORCPT + 99 others); Wed, 29 Nov 2023 07:28:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233621AbjK2M2T (ORCPT ); Wed, 29 Nov 2023 07:28:19 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E328210E0 for ; Wed, 29 Nov 2023 04:28:25 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A66C4C433C8; Wed, 29 Nov 2023 12:28:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701260905; bh=kbsYrZOu2ZlVdxelYHRe+QBI9k2wdWmBUs0SU+q+p3g=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=ViJ5D94u5X4dGn8FcgCB05W/zaFk52FB7w9N99pljasKARjcuOxS3Cd4jR0mPLbih FwZD1e47E3TwoaLWQpXopGVEWGZ7cZJPRxUouiRSb1cVJtsYiSar1i06qH7oCezdjO se9AGjQPXT0VNve0oMDkq4m2uR61BjwL/JbT8XCyR2fjSdVAFuYVR1VrxHEnga4/mO l2D05tk/Gg/vFcjqDndOPQVLeQ96hTpSvU7LlLxgxHGrTwINZbAxr9yiosui2veRH2 fqY5V6fruHpSSuEloVmnCFYtirs6mCeiQ+HGQlyUrxbzIqSHyroijAF3IpL542IFhV ItoSRfbPEAbHQ== Message-ID: <954c8f3f-8093-42bb-b817-c9050d27ca3f@kernel.org> Date: Wed, 29 Nov 2023 13:28:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] mei: Add MEI hardware support for IVSC device To: Wentong Wu , gregkh@linuxfoundation.org, tomas.winkler@intel.com, hdegoede@redhat.com Cc: andriy.shevchenko@linux.intel.com, sakari.ailus@linux.intel.com, alexander.usyskin@intel.com, zhifeng.wang@intel.com, linux-kernel@vger.kernel.org References: <1701174846-16316-1-git-send-email-wentong.wu@intel.com> <1701174846-16316-3-git-send-email-wentong.wu@intel.com> Content-Language: en-US From: Krzysztof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2hYnLFJI4Xjg+AX1hHFVKmvl3VBHIsBv0oDcsQWXqY+NaFahT0lRPjYtrTa1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <1701174846-16316-3-git-send-email-wentong.wu@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 29 Nov 2023 04:28:35 -0800 (PST) On 28/11/2023 13:34, Wentong Wu wrote: > The protocol used for the IVSC device to communicate with HOST is MEI. > The MEI hardware interfaces for the IVSC device are implemented. > ... > +static DEFINE_SIMPLE_DEV_PM_OPS(mei_vsc_pm_ops, mei_vsc_suspend, mei_vsc_resume); > + > +static struct platform_driver mei_vsc_drv = { > + .probe = mei_vsc_probe, > + .remove = mei_vsc_remove, > + .driver = { > + .name = "intel_vsc", > + .pm = &mei_vsc_pm_ops, > + .probe_type = PROBE_PREFER_ASYNCHRONOUS, > + }, > +}; > +module_platform_driver(mei_vsc_drv); > + > +MODULE_AUTHOR("Wentong Wu "); > +MODULE_AUTHOR("Zhifeng Wang "); > +MODULE_DESCRIPTION("Intel Visual Sensing Controller Interface"); > +MODULE_ALIAS("platform:intel_vsc"); You should not need MODULE_ALIAS() in normal cases. If you need it, usually it means your device ID table is wrong (e.g. misses either entries or MODULE_DEVICE_TABLE()). MODULE_ALIAS() is not a substitute for incomplete ID table. Best regards, Krzysztof