From nobody Sat Apr 11 21:28:58 2026 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 CB8A2C19F2D for ; Sat, 6 Aug 2022 12:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232146AbiHFM1e (ORCPT ); Sat, 6 Aug 2022 08:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231894AbiHFM10 (ORCPT ); Sat, 6 Aug 2022 08:27:26 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A297A11441 for ; Sat, 6 Aug 2022 05:27: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=1659788843; x=1691324843; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pWwgBvD99brUZP1vpwghMCe5wodCT05WBigqNzyLWgg=; b=idQ5JnkEOYTdyeskrvVff2+x3kxM/nnpQFkvL0jYNjZ1ILh36vDcwCiV BmqFRBSrBiZ6dnFqsJpB59e9YB3tItfZr1N0wPCaz1r+8ZaTxVfLHc/nJ KiusjAijjkNr0RMZ8mj4/TmkjDAd7Es4sq0SU827T8tmZqpHP17qgI44e EgwWfo5O1txaCwqRSCIkeZKV3rGDG58rf1B6q4ciKszfPxyOb5XF/98j+ UjNCXiqz9dMH3rfYyXkDqBPl7dpBt/1s+gD5VRtq8Oa+DfodSCmlRAvYg yFMCRgDmaaaOnxpe7H6d3bn7U2BhmNLSS/fGch87jbYZrXm+l8nyoIVO/ A==; X-IronPort-AV: E=McAfee;i="6400,9594,10430"; a="289121882" X-IronPort-AV: E=Sophos;i="5.93,217,1654585200"; d="scan'208";a="289121882" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2022 05:27:23 -0700 X-IronPort-AV: E=Sophos;i="5.93,217,1654585200"; d="scan'208";a="632329045" Received: from twinkler-lnx.jer.intel.com ([10.12.87.143]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Aug 2022 05:27:19 -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 v7 03/15] mei: add slow_firmware flag to the mei auxiliary device Date: Sat, 6 Aug 2022 15:26:24 +0300 Message-Id: <20220806122636.43068-4-tomas.winkler@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220806122636.43068-1-tomas.winkler@intel.com> References: <20220806122636.43068-1-tomas.winkler@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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 time= outs. */ struct mei_aux_device { struct auxiliary_device aux_dev; int irq; struct resource bar; + bool slow_firmware; }; =20 #define auxiliary_dev_to_mei_aux_dev(auxiliary_dev) \ --=20 2.37.1