Received: by 2002:a05:6a10:ffa2:0:0:0:0 with SMTP id hs34csp4531340pxb; Tue, 22 Feb 2022 05:11:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxIQzzPCAed9X6apbtDPxHtQE9cGiu4Lv07gcIYrwm/ODgMccQ0AFlWYY3d8LCGOSN4y8Qy X-Received: by 2002:a17:903:1cf:b0:14f:ea85:4be7 with SMTP id e15-20020a17090301cf00b0014fea854be7mr1063801plh.10.1645535488101; Tue, 22 Feb 2022 05:11:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645535488; cv=none; d=google.com; s=arc-20160816; b=LsUB52PH8xKKnFH/ovL+R/u+V2Sx3n6/0f5LGbDx3isKOZDLmHofu9GPcAgT04a863 4hB7M+Vxg2Bc0mnhKq1jhsUau0d3yCuq1pNXbOcz0ywjFEYgcCDI2JZmaQUJbKJoY+kz uC4ZgSf3eRjcXTihTXqIbMT+tQ3dS+sDK90Yw3yHwy2fzgyfBsMxJkSdOanxG0hb6pGR RS3k/5BQQzPsuuBuWOyx2pHXmeMhusXwVzwUh81cKyEWylg40EkrwgVdgG81VDMhnh8F PSUeG1XfSjyJfmLJjIKIQPRjziX2q5UAx/u0rh1NoYLuvT8hqzuSEIze0er1+d2hzKWn e3gA== 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=BVlmzTK3Ac8IPvTZyUfduLj5mviu9v5dRUyCewGpcdw=; b=DZW7jdepG/CJkTTghbevqWsVdZ9BUlVsrkiP4Gh8HY/6FKY5dNPE1MnNEWN/VMb5jo 7YRlLVsU5zb/C25GpbiegiKszRobPgrmuJQ287qNDctuFmDryJP6iupEh9q8uevUuuj9 Ghzsfl7Ibook/67XRSd+5hXsTJq3VHHe5yfF9RBWtbXb/iF/DsqjAbihM+yi/C2ufxyd KjLjfaSKgKszb/pacle/tWwFUzaWrGK9sfxM4yKf3lw0JFnGWNEBnEZ2uLytGfPuzso7 ymIPzY4Mh+Jh/0aaDY44hu2pNLy802vj5zcHaXfYEl1f21MjsAW199qejw8LJzRWxogJ dkNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n+F0hUZW; 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 x13si1830981pjq.80.2022.02.22.05.11.11; Tue, 22 Feb 2022 05:11:28 -0800 (PST) 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=n+F0hUZW; 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 S231277AbiBVKto (ORCPT + 99 others); Tue, 22 Feb 2022 05:49:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230008AbiBVKtn (ORCPT ); Tue, 22 Feb 2022 05:49:43 -0500 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98EDDD5556 for ; Tue, 22 Feb 2022 02:49:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645526956; x=1677062956; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YpzkHInk1JdMvGDlbPDx+MfCePhgDZ7p6g/YywoiwfQ=; b=n+F0hUZWWZd3doAGeX5+YnxCGHpI/ItCFzsdR3eBHntw5QcVfGzpL0Bs mXiBTdVjZvKTPjgqzNNuYc+totqyQc6jxqNEFn1Y1C+Bn4bkLkqUunrtO jjXGt0hl3IbTE/x2Un93aBK23nI0DJHWVBhzHMLt+lQrgDqHssdIhY/4G 6blWDsdzz1g/h8MPXbjo1hFzYt3kQYtjo9D6kImTZRj8VjtZVKWBiKuej ljzIr/Kd8MKPYaGTLwMAegm1ei7hvrDG0Set6gbDTEpoUps+0gJOeROww dKCuUs3oiEffKR5Zo29ZSgfawSwAs9XZGQfok9xHj5yf2x3fEWPlJNKFX g==; X-IronPort-AV: E=McAfee;i="6200,9189,10265"; a="232288526" X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="232288526" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Feb 2022 02:49:16 -0800 X-IronPort-AV: E=Sophos;i="5.88,387,1635231600"; d="scan'208";a="706569520" 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:13 -0800 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 Subject: [PATCH 0/7] add support for GSC in XeHP SDV platform Date: Tue, 22 Feb 2022 12:48:47 +0200 Message-Id: <20220222104854.3188643-1-alexander.usyskin@intel.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 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,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 support for GSC in XeHP SDV (Intel(R) dGPU without display). XeHP SDV GSC controller uses the same hardware settings as DG1, but uses polling instead of interrupts and runs the firmware in slow pace due to hardware limitations. This series should be applied over "Add driver for GSC controller" patch series. Greg KH, please review and ACK the MEI patches. We are pushing all through gfx tree as the device belongs there. Alexander Usyskin (5): drm/i915/gsc: add slow_fw flag to the mei auxiliary device drm/i915/gsc: add slow_fw flag to the gsc device definition drm/i915/gsc: add GSC XeHP SDV platform definition mei: gsc: wait for reset thread on stop mei: extend timeouts on slow devices. Tomas Winkler (1): mei: gsc: use polling instead of interrupts Vitaly Lubart (1): drm/i915/gsc: skip irq initialization if using polling drivers/gpu/drm/i915/gt/intel_gsc.c | 34 +++++++++-- drivers/misc/mei/bus-fixup.c | 3 +- drivers/misc/mei/client.c | 14 ++--- drivers/misc/mei/gsc-me.c | 44 ++++++++++++--- drivers/misc/mei/hbm.c | 12 ++-- drivers/misc/mei/hw-me.c | 88 +++++++++++++++++++++++------ drivers/misc/mei/hw-me.h | 14 ++++- drivers/misc/mei/hw-txe.c | 2 +- drivers/misc/mei/hw.h | 5 ++ drivers/misc/mei/init.c | 21 ++++++- drivers/misc/mei/main.c | 2 +- drivers/misc/mei/mei_dev.h | 16 ++++++ drivers/misc/mei/pci-me.c | 2 +- include/linux/mei_aux.h | 1 + 14 files changed, 208 insertions(+), 50 deletions(-) -- 2.32.0