162306a36Sopenharmony_ci.. SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciIntel(R) Active Management Technology (Intel AMT)
462306a36Sopenharmony_ci=================================================
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciProminent usage of the Intel ME Interface is to communicate with Intel(R)
762306a36Sopenharmony_ciActive Management Technology (Intel AMT) implemented in firmware running on
862306a36Sopenharmony_cithe Intel ME.
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciIntel AMT provides the ability to manage a host remotely out-of-band (OOB)
1162306a36Sopenharmony_cieven when the operating system running on the host processor has crashed or
1262306a36Sopenharmony_ciis in a sleep state.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciSome examples of Intel AMT usage are:
1562306a36Sopenharmony_ci   - Monitoring hardware state and platform components
1662306a36Sopenharmony_ci   - Remote power off/on (useful for green computing or overnight IT
1762306a36Sopenharmony_ci     maintenance)
1862306a36Sopenharmony_ci   - OS updates
1962306a36Sopenharmony_ci   - Storage of useful platform information such as software assets
2062306a36Sopenharmony_ci   - Built-in hardware KVM
2162306a36Sopenharmony_ci   - Selective network isolation of Ethernet and IP protocol flows based
2262306a36Sopenharmony_ci     on policies set by a remote management console
2362306a36Sopenharmony_ci   - IDE device redirection from remote management console
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ciIntel AMT (OOB) communication is based on SOAP (deprecated
2662306a36Sopenharmony_cistarting with Release 6.0) over HTTP/S or WS-Management protocol over
2762306a36Sopenharmony_ciHTTP/S that are received from a remote management console application.
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ciFor more information about Intel AMT:
3062306a36Sopenharmony_cihttps://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ci
3362306a36Sopenharmony_ciIntel AMT Applications
3462306a36Sopenharmony_ci----------------------
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci    1) Intel Local Management Service (Intel LMS)
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci       Applications running locally on the platform communicate with Intel AMT Release
3962306a36Sopenharmony_ci       2.0 and later releases in the same way that network applications do via SOAP
4062306a36Sopenharmony_ci       over HTTP (deprecated starting with Release 6.0) or with WS-Management over
4162306a36Sopenharmony_ci       SOAP over HTTP. This means that some Intel AMT features can be accessed from a
4262306a36Sopenharmony_ci       local application using the same network interface as a remote application
4362306a36Sopenharmony_ci       communicating with Intel AMT over the network.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci       When a local application sends a message addressed to the local Intel AMT host
4662306a36Sopenharmony_ci       name, the Intel LMS, which listens for traffic directed to the host name,
4762306a36Sopenharmony_ci       intercepts the message and routes it to the Intel MEI.
4862306a36Sopenharmony_ci       For more information:
4962306a36Sopenharmony_ci       https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm
5062306a36Sopenharmony_ci       Under "About Intel AMT" => "Local Access"
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci       For downloading Intel LMS:
5362306a36Sopenharmony_ci       https://github.com/intel/lms
5462306a36Sopenharmony_ci
5562306a36Sopenharmony_ci       The Intel LMS opens a connection using the Intel MEI driver to the Intel LMS
5662306a36Sopenharmony_ci       firmware feature using a defined GUID and then communicates with the feature
5762306a36Sopenharmony_ci       using a protocol called Intel AMT Port Forwarding Protocol (Intel APF protocol).
5862306a36Sopenharmony_ci       The protocol is used to maintain multiple sessions with Intel AMT from a
5962306a36Sopenharmony_ci       single application.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci       See the protocol specification in the Intel AMT Software Development Kit (SDK)
6262306a36Sopenharmony_ci       https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm
6362306a36Sopenharmony_ci       Under "SDK Resources" => "Intel(R) vPro(TM) Gateway (MPS)"
6462306a36Sopenharmony_ci       => "Information for Intel(R) vPro(TM) Gateway Developers"
6562306a36Sopenharmony_ci       => "Description of the Intel AMT Port Forwarding (APF) Protocol"
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ci    2) Intel AMT Remote configuration using a Local Agent
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ci       A Local Agent enables IT personnel to configure Intel AMT out-of-the-box
7062306a36Sopenharmony_ci       without requiring installing additional data to enable setup. The remote
7162306a36Sopenharmony_ci       configuration process may involve an ISV-developed remote configuration
7262306a36Sopenharmony_ci       agent that runs on the host.
7362306a36Sopenharmony_ci       For more information:
7462306a36Sopenharmony_ci       https://software.intel.com/sites/manageability/AMT_Implementation_and_Reference_Guide/default.htm
7562306a36Sopenharmony_ci       Under "Setup and Configuration of Intel AMT" =>
7662306a36Sopenharmony_ci       "SDK Tools Supporting Setup and Configuration" =>
7762306a36Sopenharmony_ci       "Using the Local Agent Sample"
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ciIntel AMT OS Health Watchdog
8062306a36Sopenharmony_ci----------------------------
8162306a36Sopenharmony_ci
8262306a36Sopenharmony_ciThe Intel AMT Watchdog is an OS Health (Hang/Crash) watchdog.
8362306a36Sopenharmony_ciWhenever the OS hangs or crashes, Intel AMT will send an event
8462306a36Sopenharmony_cito any subscriber to this event. This mechanism means that
8562306a36Sopenharmony_ciIT knows when a platform crashes even when there is a hard failure on the host.
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_ciThe Intel AMT Watchdog is composed of two parts:
8862306a36Sopenharmony_ci    1) Firmware feature - receives the heartbeats
8962306a36Sopenharmony_ci       and sends an event when the heartbeats stop.
9062306a36Sopenharmony_ci    2) Intel MEI iAMT watchdog driver - connects to the watchdog feature,
9162306a36Sopenharmony_ci       configures the watchdog and sends the heartbeats.
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ciThe Intel iAMT watchdog MEI driver uses the kernel watchdog API to configure
9462306a36Sopenharmony_cithe Intel AMT Watchdog and to send heartbeats to it. The default timeout of the
9562306a36Sopenharmony_ciwatchdog is 120 seconds.
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ciIf the Intel AMT is not enabled in the firmware then the watchdog client won't enumerate
9862306a36Sopenharmony_cion the me client bus and watchdog devices won't be exposed.
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ci---
10162306a36Sopenharmony_cilinux-mei@linux.intel.com
102