18c2ecf20Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciIntel(R) Active Management Technology (Intel AMT) 48c2ecf20Sopenharmony_ci================================================= 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ciProminent usage of the Intel ME Interface is to communicate with Intel(R) 78c2ecf20Sopenharmony_ciActive Management Technology (Intel AMT) implemented in firmware running on 88c2ecf20Sopenharmony_cithe Intel ME. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ciIntel AMT provides the ability to manage a host remotely out-of-band (OOB) 118c2ecf20Sopenharmony_cieven when the operating system running on the host processor has crashed or 128c2ecf20Sopenharmony_ciis in a sleep state. 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciSome examples of Intel AMT usage are: 158c2ecf20Sopenharmony_ci - Monitoring hardware state and platform components 168c2ecf20Sopenharmony_ci - Remote power off/on (useful for green computing or overnight IT 178c2ecf20Sopenharmony_ci maintenance) 188c2ecf20Sopenharmony_ci - OS updates 198c2ecf20Sopenharmony_ci - Storage of useful platform information such as software assets 208c2ecf20Sopenharmony_ci - Built-in hardware KVM 218c2ecf20Sopenharmony_ci - Selective network isolation of Ethernet and IP protocol flows based 228c2ecf20Sopenharmony_ci on policies set by a remote management console 238c2ecf20Sopenharmony_ci - IDE device redirection from remote management console 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciIntel AMT (OOB) communication is based on SOAP (deprecated 268c2ecf20Sopenharmony_cistarting with Release 6.0) over HTTP/S or WS-Management protocol over 278c2ecf20Sopenharmony_ciHTTP/S that are received from a remote management console application. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ciFor more information about Intel AMT: 308c2ecf20Sopenharmony_cihttps://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciIntel AMT Applications 348c2ecf20Sopenharmony_ci---------------------- 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci 1) Intel Local Management Service (Intel LMS) 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci Applications running locally on the platform communicate with Intel AMT Release 398c2ecf20Sopenharmony_ci 2.0 and later releases in the same way that network applications do via SOAP 408c2ecf20Sopenharmony_ci over HTTP (deprecated starting with Release 6.0) or with WS-Management over 418c2ecf20Sopenharmony_ci SOAP over HTTP. This means that some Intel AMT features can be accessed from a 428c2ecf20Sopenharmony_ci local application using the same network interface as a remote application 438c2ecf20Sopenharmony_ci communicating with Intel AMT over the network. 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ci When a local application sends a message addressed to the local Intel AMT host 468c2ecf20Sopenharmony_ci name, the Intel LMS, which listens for traffic directed to the host name, 478c2ecf20Sopenharmony_ci intercepts the message and routes it to the Intel MEI. 488c2ecf20Sopenharmony_ci For more information: 498c2ecf20Sopenharmony_ci https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm 508c2ecf20Sopenharmony_ci Under "About Intel AMT" => "Local Access" 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci For downloading Intel LMS: 538c2ecf20Sopenharmony_ci https://github.com/intel/lms 548c2ecf20Sopenharmony_ci 558c2ecf20Sopenharmony_ci The Intel LMS opens a connection using the Intel MEI driver to the Intel LMS 568c2ecf20Sopenharmony_ci firmware feature using a defined GUID and then communicates with the feature 578c2ecf20Sopenharmony_ci using a protocol called Intel AMT Port Forwarding Protocol (Intel APF protocol). 588c2ecf20Sopenharmony_ci The protocol is used to maintain multiple sessions with Intel AMT from a 598c2ecf20Sopenharmony_ci single application. 608c2ecf20Sopenharmony_ci 618c2ecf20Sopenharmony_ci See the protocol specification in the Intel AMT Software Development Kit (SDK) 628c2ecf20Sopenharmony_ci https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm 638c2ecf20Sopenharmony_ci Under "SDK Resources" => "Intel(R) vPro(TM) Gateway (MPS)" 648c2ecf20Sopenharmony_ci => "Information for Intel(R) vPro(TM) Gateway Developers" 658c2ecf20Sopenharmony_ci => "Description of the Intel AMT Port Forwarding (APF) Protocol" 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci 2) Intel AMT Remote configuration using a Local Agent 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci A Local Agent enables IT personnel to configure Intel AMT out-of-the-box 708c2ecf20Sopenharmony_ci without requiring installing additional data to enable setup. The remote 718c2ecf20Sopenharmony_ci configuration process may involve an ISV-developed remote configuration 728c2ecf20Sopenharmony_ci agent that runs on the host. 738c2ecf20Sopenharmony_ci For more information: 748c2ecf20Sopenharmony_ci https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm 758c2ecf20Sopenharmony_ci Under "Setup and Configuration of Intel AMT" => 768c2ecf20Sopenharmony_ci "SDK Tools Supporting Setup and Configuration" => 778c2ecf20Sopenharmony_ci "Using the Local Agent Sample" 788c2ecf20Sopenharmony_ci 798c2ecf20Sopenharmony_ciIntel AMT OS Health Watchdog 808c2ecf20Sopenharmony_ci---------------------------- 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ciThe Intel AMT Watchdog is an OS Health (Hang/Crash) watchdog. 838c2ecf20Sopenharmony_ciWhenever the OS hangs or crashes, Intel AMT will send an event 848c2ecf20Sopenharmony_cito any subscriber to this event. This mechanism means that 858c2ecf20Sopenharmony_ciIT knows when a platform crashes even when there is a hard failure on the host. 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ciThe Intel AMT Watchdog is composed of two parts: 888c2ecf20Sopenharmony_ci 1) Firmware feature - receives the heartbeats 898c2ecf20Sopenharmony_ci and sends an event when the heartbeats stop. 908c2ecf20Sopenharmony_ci 2) Intel MEI iAMT watchdog driver - connects to the watchdog feature, 918c2ecf20Sopenharmony_ci configures the watchdog and sends the heartbeats. 928c2ecf20Sopenharmony_ci 938c2ecf20Sopenharmony_ciThe Intel iAMT watchdog MEI driver uses the kernel watchdog API to configure 948c2ecf20Sopenharmony_cithe Intel AMT Watchdog and to send heartbeats to it. The default timeout of the 958c2ecf20Sopenharmony_ciwatchdog is 120 seconds. 968c2ecf20Sopenharmony_ci 978c2ecf20Sopenharmony_ciIf the Intel AMT is not enabled in the firmware then the watchdog client won't enumerate 988c2ecf20Sopenharmony_cion the me client bus and watchdog devices won't be exposed. 998c2ecf20Sopenharmony_ci 1008c2ecf20Sopenharmony_ci--- 1018c2ecf20Sopenharmony_cilinux-mei@linux.intel.com 102