From patchwork Tue Feb 22 10:48:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Usyskin X-Patchwork-Id: 12754893 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E9BEEC433F5 for ; Tue, 22 Feb 2022 10:49:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5A53C10E6F7; Tue, 22 Feb 2022 10:49:29 +0000 (UTC) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id AA42B10E6F7 for ; Tue, 22 Feb 2022 10:49:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645526967; x=1677062967; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=563hB/rXHNGZzJHbLZ19JTAegWPlZpDTmnNbjcAniLA=; b=hIyySVOEkHfTnDBLKDtqvGpQGPOLJO9RnQyYPLo2P1o2mu6FuFTPnjz3 V7SwhPtNG/5zxYHS504UvIUelUcV26Egn1J7vDSNDqbX6yI2chiYVRwGf /cvhUzZuntnyrbNyeuBGyUkbf1EwkyFUDZmmRKFPPqCsMPcZexvAUOqNw EGqMM4RvMbs3AbI+DZ0mbhMlIFUIfRi3sDUjx4ATTNXL50Hd/+UjB/9eK Kc1ybulfDzctN2PMpsMzXD8HJPpHLf+YZ302UqJPMIIwK9U5uS/aJim6q kGOMbmpqtolDOI0IwjQ/n0oDtNpuuVyaEcl5RyLQsY8jSf9OOZDbhlzsh w==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="312405397" X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="312405397" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 02:49:27 -0800 X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="706569575" Received: from sannilnx.jer.intel.com ([10.12.231.79]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 02:49:24 -0800 From: Alexander Usyskin To: Greg Kroah-Hartman , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , David Airlie , Daniel Vetter , Tvrtko Ursulin Date: Tue, 22 Feb 2022 12:48:49 +0200 Message-Id: <20220222104854.3188643-3-alexander.usyskin@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220222104854.3188643-1-alexander.usyskin@intel.com> References: <20220222104854.3188643-1-alexander.usyskin@intel.com> MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 2/7] drm/i915/gsc: add slow_fw flag to the mei auxiliary device X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, Tomas Winkler , Alexander Usyskin , Vitaly Lubart , intel-gfx@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" 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 --- 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) \