From patchwork Sat Feb 12 01:32:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "David E. Box" X-Patchwork-Id: 12744173 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 AFEF2C433EF for ; Sat, 12 Feb 2022 01:32:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344641AbiBLBc5 (ORCPT ); Fri, 11 Feb 2022 20:32:57 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242868AbiBLBc5 (ORCPT ); Fri, 11 Feb 2022 20:32:57 -0500 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E63AC56; Fri, 11 Feb 2022 17:32:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644629574; x=1676165574; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wgt9cDpHFiIgyIo4vctyylP81ktaV/VnGl0eXCmjt9E=; b=S7TXQRQC2Ly/96IwrthTXyFxE2GJPCExlNgurvUVKTmT7vWCnbAzNFoV xBY5WYiUrfn3W0RIVkcgxqaO8swPylGw3CyQrlZpDQwkjQA8jrLdMtujf 5kA1fMKLAoUfCFvWPTP/YNmWlnt1OmJuLK6E8bI5Admv85KeDE8erL2it 7UM7/fjjwZ2HLc5Gf5KWGUx/f/rG6mEsE5hmzIzfp5gnGrshig6XYdgCr F23d/SRtvhRiH9vbWlDvZhOrBSGjLIfEZMRhOnQp4RFrwYJyoC/CFZUwQ UWGPblGxjcWXM/m6v+t5x0UUvmG5Cvq0W06hZZnStbj4Kbm5UPX0P/LuH A==; X-IronPort-AV: E=McAfee;i="6200,9189,10255"; a="248672543" X-IronPort-AV: E=Sophos;i="5.88,361,1635231600"; d="scan'208";a="248672543" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 17:32:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,361,1635231600"; d="scan'208";a="483788681" Received: from linux.intel.com ([10.54.29.200]) by orsmga003.jf.intel.com with ESMTP; 11 Feb 2022 17:32:54 -0800 Received: from debox1-desk4.intel.com (unknown [10.212.133.77]) by linux.intel.com (Postfix) with ESMTP id E5EDC580C25; Fri, 11 Feb 2022 17:32:53 -0800 (PST) From: "David E. Box" To: hdegoede@redhat.com, david.e.box@linux.intel.com, gregkh@linuxfoundation.org, andriy.shevchenko@linux.intel.com, srinivas.pandruvada@intel.com, mgross@linux.intel.com Cc: linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: [PATCH V7 0/3] Intel Software Defined Silicon Date: Fri, 11 Feb 2022 17:32:49 -0800 Message-Id: <20220212013252.1293396-1-david.e.box@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: platform-driver-x86@vger.kernel.org This series adds support for Intel Software Defined Silicon. These patches are the same as patches 4-6 from this series [1]. Patches 1-3 of that series were pulled in during the 5.17 merge window. [1] https://lore.kernel.org/lkml/20211216023146.2361174-1-david.e.box@linux.intel.com/T/ David E. Box (3): platform/x86: Add Intel Software Defined Silicon driver tools arch x86: Add Intel SDSi provisiong tool selftests: sdsi: test sysfs setup .../ABI/testing/sysfs-driver-intel_sdsi | 77 +++ MAINTAINERS | 7 + drivers/platform/x86/intel/Kconfig | 12 + drivers/platform/x86/intel/Makefile | 2 + drivers/platform/x86/intel/sdsi.c | 574 ++++++++++++++++++ drivers/platform/x86/intel/vsec.c | 12 +- tools/arch/x86/intel_sdsi/Makefile | 9 + tools/arch/x86/intel_sdsi/sdsi.c | 540 ++++++++++++++++ tools/testing/selftests/drivers/sdsi/sdsi.sh | 18 + .../selftests/drivers/sdsi/sdsi_test.py | 226 +++++++ 10 files changed, 1476 insertions(+), 1 deletion(-) create mode 100644 Documentation/ABI/testing/sysfs-driver-intel_sdsi create mode 100644 drivers/platform/x86/intel/sdsi.c create mode 100644 tools/arch/x86/intel_sdsi/Makefile create mode 100644 tools/arch/x86/intel_sdsi/sdsi.c create mode 100755 tools/testing/selftests/drivers/sdsi/sdsi.sh create mode 100644 tools/testing/selftests/drivers/sdsi/sdsi_test.py