Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp449965pxb; Thu, 31 Mar 2022 09:02:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxZU7E85hG7BZNiE5bw0plbuVaZp93XRXn8tvNNOJzlIZ9Q2342lDvPJXLtix+jnNRYRAqp X-Received: by 2002:a05:6870:b506:b0:dd:cd0f:e014 with SMTP id v6-20020a056870b50600b000ddcd0fe014mr3155547oap.64.1648742566333; Thu, 31 Mar 2022 09:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648742566; cv=none; d=google.com; s=arc-20160816; b=chVoy1Qxz42VF8sdX2621fZiQsmRyG0tPMNpQjUc+A4VKdcJwbQCT6gzIOILhlKAgo 1b1JH2Lnq80lFywnMoLJAPxbvax9Sxzr8SsqGAgl3K2/qQd+0mrdDxuDZdGweLgH0uFj EC1zsGaQRxiUyuqWVCh5r7c8BCpROWaKdBbXDh1hTRb84LTt0OnKKu/vqtROnAugqXfS GY1AHv+BoVVkh4KU2zuBkp/EsIYAOQdHHhuRCOnI7Bmce4pMQAZ+f9gvlKISulO2vf39 uRzav+bkGB0exfzY9BrE+Jj+hA9sfo97Zd5rMf2r5l17ZN3omGO98s8/kOq1pWYiUJ59 JhVQ== 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=sG5dOE2R4bZK5Q9FA7LAwG/KXbEAzzQ6/0q57kLjoUw=; b=s7gAOgsXQDB7PxP3ixXIZ2TQEdqZJ4hMiuDrq1Qe6eFoJCizCM2bWXXlk1eIME1YsL WW3D9724P3aZWYwjgiOL1Z/j7nZY5iEkxrMUj1++YC7gNEYUqktvsK+Ts7EQAuVcBp4u TcpbYIzdkVcLCwKHKU1ku4G5sglIDAV/8MEUypyUZKR8Txa+Y89chjAHusCmD7eGr4gx sPIzM7Ls9WcHLBnOF5gsxdV+AAizj/BNVf1A7rYqDOxPvmVQTJHQxqgCwWjyzxdCmUv9 spe2gtleCN3s5BGVmLUaYxcqsQGMF9i6Ka7sW7iCA82Xc3/ew6jG/JLOGbPMZ2/A0ODN z/jQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=LvAIvXbj; 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 l11-20020a0568301d6b00b005cb2fc138b5si5708580oti.305.2022.03.31.09.02.31; Thu, 31 Mar 2022 09:02:46 -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=LvAIvXbj; 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 S232319AbiCaHo7 (ORCPT + 99 others); Thu, 31 Mar 2022 03:44:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232318AbiCaHoz (ORCPT ); Thu, 31 Mar 2022 03:44:55 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF4D9D3AD8 for ; Thu, 31 Mar 2022 00:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648712587; x=1680248587; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mkM93til0d8Xf/m5G1Gpq08peWjVfBoK2vAxwR/OFjo=; b=LvAIvXbjTznGAiCJId/ZzTf8Zy7mBMH/ZNzOy9vYwM9kNTtTwjQU4r42 xPK7UipXtf980vXsehxe3z0IIK00ms9H9A0imq2jVYJ6KgEAmzE2VIqK1 Fjz4TSX3elM0ev5ZVWBpxmJLOrNBTRugPR0iHxwQKze574IrNiq2R0qBv irESvlpqbmB8imHo1SXIq/HUvhJs7ob81Op07er9OLPNjGVMEx9c9bhrZ BDp42iXW4bVsqET2E4AtQhz/wdd2DU71552rTwldf2N9fngUw49ve9mnX ikRQXDi6IVjCxlUB0EcxNGbpBQA+eHXKrhtPizYk45wbV0VohNlCYNpJI Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10302"; a="346184992" X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="346184992" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Mar 2022 00:43:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,224,1643702400"; d="scan'208";a="566239933" Received: from unknown (HELO localhost.localdomain) ([10.226.216.87]) by orsmga008.jf.intel.com with ESMTP; 31 Mar 2022 00:43:05 -0700 From: kah.jing.lee@intel.com To: Dinh Nguyen Cc: linux-kernel@vger.kernel.org, radu.bacrau@intel.com, tien.sung.ang@intel.com, Kah Jing Lee Subject: [PATCH 0/2] extend svc and rsu drivers for new RSU DCMF status feature Date: Thu, 31 Mar 2022 23:42:36 +0800 Message-Id: <20220331154237.4158001-1-kah.jing.lee@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <4ab174c2-8772-d543-9784-31b4660efd82@kernel.org> References: <4ab174c2-8772-d543-9784-31b4660efd82@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, 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 From: Kah Jing Lee Patches have been internally reviewed by colleagues at Intel. Extend Intel Stratix10 service layer and Remote System Update (RSU) drivers to support new DCMF status reporting. The status of each DCMF is reported. The currently used DCMF is used as reference, while the other three are compared against it to determine if they are corrupted. DCMF = Decision Configuration Management Firmware RSU = Remote System Update Kah Jing Lee (2): firmware: stratix10-svc: extend svc to support RSU feature firmware: stratix10-rsu: extend RSU driver to get DCMF status drivers/firmware/stratix10-rsu.c | 131 +++++++++++++++++- drivers/firmware/stratix10-svc.c | 19 ++- include/linux/firmware/intel/stratix10-smc.h | 21 +++ .../firmware/intel/stratix10-svc-client.h | 7 +- 4 files changed, 164 insertions(+), 14 deletions(-) -- 2.25.1