Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2829917pxb; Mon, 25 Apr 2022 03:33:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBdMN1AvqaZ0ICXx0t0tBhJMJGb5LnAKme1lF/P+s7wgCsaQqajitYpZ89le8WQaYspKK/ X-Received: by 2002:a63:8bc2:0:b0:3ab:b53:ab4e with SMTP id j185-20020a638bc2000000b003ab0b53ab4emr7556452pge.423.1650882797582; Mon, 25 Apr 2022 03:33:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650882797; cv=none; d=google.com; s=arc-20160816; b=hTQe2Q06AfiSVMWMJJLGRh4HsSmBhvgpdPcGWlE+hY+TNbWYaMyfCss7KEpvJefHeW Xyn9cwkGHDNTRHXUVTwVzy8BLC3w59VihqJteZHcaX9tVvWMj/BVBdSdFRKT9rbPJ2MC m8c3yijbBeVxDs4/Xtns/9A/0W1PQQE/4INuuuPmvGG30zGnmuz+nnat2fhiuRjUFzHS LjWeJRW8vx8WUnZCPkl5fMBxCUwPdI+fjZUyOIICUF0szjC5qLGPQ5m1qwiLOKMlz6zw eHYF6t66lPfFf8lKDUueXIhtKP3RTSR6xwR3JT4cotEG54KrBnrxK03gB08FcBksybxh SsAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=I4jI2d/LZS9QXUG2Im9yGoUle2v9gBSPbGbYrZYZuW0=; b=xY+JeviXVg7JhKCuMqc28bOaL1F2cY6RHDpICCaFd7C0+kGXWhaGSubX4GSXajHDuu L0WXnHDur4WN5GSzE94UaKVrRNfxFCD+pAJGlTIbvVE9Rd/i2AUixPV+jddWX9UA0mf6 m0v1iGu/PCRkxuA6MKNF9+GDdHLNeBFszD+9NWZpL2RCCzWdWhAfoSXfns4LV8uSGk3w Ldfm8kZdaKoXR5TkhbgMVNH4lVbUlZSoOlViwj8i2cn09rICeqPt2yjt5SqM2xngkrWU brFo0KuUHV54u3PxHThFL5PN8YrbZehAbwtuT/DQYGgUmITYAohvjjNPyBf/viOLsf7q oGig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RuR3iCNQ; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a170903028300b00158f817a27bsi9318428plr.148.2022.04.25.03.32.54; Mon, 25 Apr 2022 03:33:17 -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=@intel.com header.s=Intel header.b=RuR3iCNQ; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241310AbiDYHxA (ORCPT + 99 others); Mon, 25 Apr 2022 03:53:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241008AbiDYHw0 (ORCPT ); Mon, 25 Apr 2022 03:52:26 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6407FD0 for ; Mon, 25 Apr 2022 00:49:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650872963; x=1682408963; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=WIOdvRXs3F6Uqx0OZDzS9V+TAi03ig5lUw0omN1iKg0=; b=RuR3iCNQWfEjT0iPt25y/VZSQ7QVBPMOaWiFtUcpyvl5FuUy2M6H+9Em MyRoQM0lsA1nBy+YYyIK2Rk0wzNELQAzjK+y5XIb0eE+rlt9mI1LPg5mD 3Eo8TanhS7rf5vM5VkB3w4OuHrt5/sFfs+Rr6Vgl3icY4ATfpkPR8UwtE VO0h/r9xEFE6y/XXylat4s/Iw7xn26CG0y1XdIxXHe/KiCMC8Xh1yRbBT MQ7KIe8GIy4c2sBkg/MA0E/mgsK3vSKZLn1qAsIseYmvzMUzEaSbNbEKh ERfifVVhTLclholL6V+/mDgdmaHo9RxsEgePK6/sBONhdpkdTc850EQCA Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10327"; a="264973665" X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="264973665" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 00:49:23 -0700 X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="557599890" Received: from sannilnx.jer.intel.com ([10.12.231.73]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 00:49:20 -0700 From: Alexander Usyskin To: Greg Kroah-Hartman , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Tvrtko Ursulin Cc: Tomas Winkler , Alexander Usyskin , Vitaly Lubart , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Daniele Ceraolo Spurio Subject: [PATCH v2 03/14] drm/i915/gsc: add slow_fw flag to the mei auxiliary device Date: Mon, 25 Apr 2022 10:48:50 +0300 Message-Id: <20220425074901.3991274-4-alexander.usyskin@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220425074901.3991274-1-alexander.usyskin@intel.com> References: <20220425074901.3991274-1-alexander.usyskin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 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_NONE 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 Add slow_fw flag to the mei auxiliary device info to inform the mei driver about slow underlying firmware. Such firmware will require to use larger operation timeouts. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Reviewed-by: Daniele Ceraolo Spurio --- include/linux/mei_aux.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/mei_aux.h b/include/linux/mei_aux.h index 587f25128848..a29f4064b9c0 100644 --- a/include/linux/mei_aux.h +++ b/include/linux/mei_aux.h @@ -11,6 +11,7 @@ struct mei_aux_device { struct auxiliary_device aux_dev; int irq; struct resource bar; + bool slow_fw; }; #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \ -- 2.32.0