Message ID | 20231011110157.247552-1-tomas.winkler@intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp451278vqb; Wed, 11 Oct 2023 04:02:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE970oBMOLrQPb5ZsDyo8h/7WY5JrbzhgkbJxxhdvjZ8ugayIWAK/zNDhEmY1NaxEZiT9FT X-Received: by 2002:a17:902:a40e:b0:1c9:bd60:72a6 with SMTP id p14-20020a170902a40e00b001c9bd6072a6mr3795739plq.4.1697022148720; Wed, 11 Oct 2023 04:02:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697022148; cv=none; d=google.com; s=arc-20160816; b=P6AiIsL5731e3pm87btFCfpsPQIykvHlB102v10y8S/jlh4vSIkS1/BupeG28baCF3 ciWyWr8LFaBuYjyn0sidCxvssNpGGjddzMwWV1o8GwYdzKMbPl66Kv7mQNsvkVbAbSI3 FO7p9CL+Hy4bcaf4oXpgMPAMwUP7T0Er8FZ5DrY5W/fqUmk42ZDW5F3pdUG29y7AYl2H ki8JvvxJr1Fp0xIuNPsOvDML0YG3x37gg34RJlrueHBzOmT1Q2R6GBC4i4ZTUYXEzt+c VSW7LRD57/qipUtw69/tANTmxangOhjsyjkZzSRTL2KY2HtvPDe6M8zckD0E3P/DHS9K wn5w== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=DGIdWMor5SdSZB+bvIVW3bR0rmIqEiiSuM58Ivo3cb0=; fh=np4jDbLVnoqkv3+sUYlitby5vs5P86AOvvZOqGHaBE8=; b=oZGGtM02/guXWUjn5O1C3WPAE8h4Yv/uDHatn7M7lBOfSit2TKGpP8w/QBZnm2eOhq V6IHQz3ejjHHY0b2oXmMgRLQm3DfUiUlKvA4Yo/0PnVjPA7L7tsJQSZg/35IscHXrEAE qj6quTFijopLanky4Foi+wQ2IEF7r7IOrEvZBGV9Btqx5gmub03PqUTtG0zhkSgAq9yN XCzuS4/pDaiNk9Yf1N9kFW9PluU2UeaAZbx7SIg2ytWIRouCUvFUWHXfA4d+qOPFJInf Y+b0AEOOnD+/qDXnnnlG/urB5y3EJDUo0GzF/LR/qvuVOsffq5ZscAb3vvUzrBs3Tzxf FsBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hC5O7877; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id u3-20020a17090341c300b001c9cf3aaf0bsi988099ple.103.2023.10.11.04.02.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Oct 2023 04:02:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=hC5O7877; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2878481D4DE0; Wed, 11 Oct 2023 04:02:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346581AbjJKLCP (ORCPT <rfc822;kartikey406@gmail.com> + 18 others); Wed, 11 Oct 2023 07:02:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234857AbjJKLCL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 11 Oct 2023 07:02:11 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 814BBB7 for <linux-kernel@vger.kernel.org>; Wed, 11 Oct 2023 04:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697022130; x=1728558130; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Y5PY+/hV6/wrlFIbAS/3+SC0p6p4icSVgrCNrHkomwo=; b=hC5O7877ZkaMCO9oL8NS07oBYROb/2JH+vFsGGBHjV8GnMCVIr4yqr+r 2e8TORLz195ULggnJi58nYE9EEXjvhyCWvsL+3q+0josPVkd86Z6/IJ9V OnHr/0SFzIH2BW9ImCTo5pQYM+jyHgG6slcZx2KhzG273Y4AysLNjv49Q 7Dv1esY/dLgIucGGPc5D9dWcbrLK4DoT571eYzUdapFIXLc4zUnLlGcxO 6BYabow6c5j+z9SaguhqDcOsir1bhxNrbcXphgfD+opmFIh6+LAsPv2hC xAwU+jz9WVljxCFDNh6URFUofMmzeDis6DbgaldX0Z3EXG9yDcbMOh9Tz Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="369696899" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="369696899" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 04:02:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="788960256" X-IronPort-AV: E=Sophos;i="6.03,214,1694761200"; d="scan'208";a="788960256" Received: from twinkler-lnx.jer.intel.com ([10.12.231.216]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2023 04:02:07 -0700 From: Tomas Winkler <tomas.winkler@intel.com> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Alexander Usyskin <alexander.usyskin@intel.com>, Vitaly Lubart <vitaly.lubart@intel.com>, linux-kernel@vger.kernel.org, Tomas Winkler <tomas.winkler@intel.com> Subject: [char-misc-next 0/4] mei: enhance mei pxp recoverability Date: Wed, 11 Oct 2023 14:01:53 +0300 Message-ID: <20231011110157.247552-1-tomas.winkler@intel.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 11 Oct 2023 04:02:26 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779456696740501627 X-GMAIL-MSGID: 1779456696740501627 |
Series |
mei: enhance mei pxp recoverability
|
|
Message
Tomas Winkler
Oct. 11, 2023, 11:01 a.m. UTC
- Add timeouts to send/receive API on mei bus to avoid infinite waits and consequent deadlock. - Re-enable the mei pxp client upon loss. - Retry receive operation in case of memory pressure related failure. Alan Previn (1): mei: update mei-pxp's component interface with timeouts Alexander Usyskin (3): mei: bus: add send and recv api with timeout mei: pxp: recover from recv fail under memory pressure mei: pxp: re-enable client on errors drivers/gpu/drm/i915/pxp/intel_pxp_tee.c | 8 ++- drivers/misc/mei/bus.c | 88 +++++++++++++++++++++++- drivers/misc/mei/pxp/mei_pxp.c | 88 +++++++++++++++++++++--- include/drm/i915_pxp_tee_interface.h | 6 +- include/linux/mei_cl_bus.h | 8 +++ 5 files changed, 183 insertions(+), 15 deletions(-)