Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5864431rwb; Wed, 7 Sep 2022 09:03:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR4orbBlwfF8UKhMpnFXsM4Txm5gq6xGR1hku+TwV6xz2E01yvlRAeitZxiYFeYFalgPRLOa X-Received: by 2002:a17:906:11d:b0:712:abf:3210 with SMTP id 29-20020a170906011d00b007120abf3210mr2832627eje.292.1662566581016; Wed, 07 Sep 2022 09:03:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662566581; cv=none; d=google.com; s=arc-20160816; b=tX1sp4BopbMtjJsnz+kNKklyD+p9b7p+SHUKsmEVk4leP7w5sJ7Bgpilmb6r0t8MZH DVWVoCIupSpgurzjH5H4kpw0SdA1b1x4TJd+e2b6qtFUwNPsRcppi/RLYSknR/iEDg8e I8C3eh5koiOejbi8ASmUGU/yQDcQIAZo+iAb+UKu+kJsYmu7Nsp1kGTB/1PkZ1ig2Y2M 2ZvfpmDZtVZSu2b+j3dKIn8k7BUZ8Oi5MybapY1n1MzvARV5KM0Rzb7RTkvp8IWlBrAn uq74v7KL9pkwfyiwZYnfPug4L8DOzbhVoi1RDm4uh3F9eL4AP8UqzvcYkOkqbD9EavG4 c2QA== 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=XGmnQ4zf79qi6sImM6eg/yVbYmM+10njOox2vvKKG9w=; b=Kd+2d9M9vZsg7z0Hm22rdFxROM6Zx2x8YkB/6wEb39SOSJqtMkH2AT7QlCG1Lm2Fam AuAK7mFZf6up9nR5IxP1bi1tgh5MUeJmXTbKswrXRlgt+b3bTHCjCcyYmSCwWEWXE/KG hpRBMDHPyTnYSp8+fSfKHJrmRneN2j3dvvjKf0UzTdxJlTRJ8FQDVc3f6PPmiM+mm9zT Dn0WipMeuD/ThW2xdMiZV6TjTTrk1ngwHt3JV/ct9eJMZ+1tBck18n+erafZcitT30vs tP3VJ0hpr87aWERNvllbJjyDZk/qe7ipNqNIWVJUB3ulkppA0XP3r17sIdlOEjjwZR90 OSRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="TO3m6x/Y"; 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 w2-20020a17090652c200b0073155abc1b8si12135905ejn.154.2022.09.07.09.02.35; Wed, 07 Sep 2022 09:03:01 -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="TO3m6x/Y"; 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 S230052AbiIGP7h (ORCPT + 99 others); Wed, 7 Sep 2022 11:59:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230006AbiIGP71 (ORCPT ); Wed, 7 Sep 2022 11:59:27 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7034E2AD for ; Wed, 7 Sep 2022 08:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1662566362; x=1694102362; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=Iy/GwtvTwnOLfIT1uF2eHNyE186PGpbmZLR7bVd678Q=; b=TO3m6x/YV5NnN7cX3xkOXGm7qWrXLzWMLKrxdOxbebFiTRigle6iIC0q U54oJYLfVTB13BgXlagLDgKlq1JWPuFEih2dmDUjmiCwyHqEhXag0gPcb l9kFdhpls45sJ3xiyUUG0J/DBQCLTMnfMQpENdrjtEZc7iLXA2tQ6/H62 eBIZ9K9HVjtRlx596OiNIHXNcGreDVlG2eeg5NUicShulivXrWh38c6Uh xOwQ0UWg4uGIiM2srP1nj2yurVLQF0Vl1tSX2HebEJSo4yM/XRx7JiJ1r +Q+HRKQyr2XHSRTBpPZh1lXTM9KOqY2ZxTTpoZCZdzd0TwWEIft6LaNKi A==; X-IronPort-AV: E=McAfee;i="6500,9779,10463"; a="294501509" X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="294501509" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 08:58:53 -0700 X-IronPort-AV: E=Sophos;i="5.93,297,1654585200"; d="scan'208";a="676247614" Received: from twinkler-lnx.jer.intel.com ([10.12.87.143]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2022 08:58:49 -0700 From: Tomas Winkler To: Greg Kroah-Hartman , David Airlie , Daniel Vetter Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tomas Winkler , Alexander Usyskin , Vitaly Lubart , Daniele Ceraolo Spurio Subject: [PATCH v8 03/16] mei: add slow_firmware flag to the mei auxiliary device Date: Wed, 7 Sep 2022 18:58:00 +0300 Message-Id: <20220907155813.1427526-4-tomas.winkler@intel.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220907155813.1427526-1-tomas.winkler@intel.com> References: <20220907155813.1427526-1-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 Add slow_firmware 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/mei_aux.h b/include/linux/mei_aux.h index a0cb587006d5..4894d8bf4159 100644 --- a/include/linux/mei_aux.h +++ b/include/linux/mei_aux.h @@ -12,11 +12,14 @@ * @aux_dev: - auxiliary device object * @irq: interrupt driving the mei auxiliary device * @bar: mmio resource bar reserved to mei auxiliary device + * @slow_firmware: The device has slow underlying firmware. + * Such firmware will require to use larger operation timeouts. */ struct mei_aux_device { struct auxiliary_device aux_dev; int irq; struct resource bar; + bool slow_firmware; }; #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \ -- 2.37.2