Lenovo ThinkPad E485

Introduction
The Lenovo ThinkPad E485 is a business laptop aimed at SMB. It is one of the early laptops with an AMD Ryzen CPU with integrated graphics. The laptop has a solid build, a good keyboard, and a nice 14" 1920x1080 display. It is possible to have both NMVe and an SSD or spinning hard disk. It is cheaper than most other ThinkPads, but lacks some features like a fingerprint scanner or a backlit keyboard.

Installation
The installation is per the Gentoo AMD64 handbook.

Some specific configuration options are:
 * If is emerged with the "experimental" USE flag, then it is possible to set the processor family to "AMD Zen"
 * Enable the kernel modules for encryption using SSE3 and AES instructions, see Iwd for an example of the options to enable
 * AMDGPU graphics, configuring the drivers for the Vega family
 * USB support, configuring xHCI, EHCI
 * Audio according to ALSA and optionally PulseAudio. Make sure to enable build Realtek HD-audio codec support.

CPU

 * Microarchitecture: Zen
 * Processor core: Raven Ridge

Enable AMD specific kernel options, load the required microcode, and enable the crypto instructions.

Storage controllers
Configure SATA and NMVe drivers as built-in. The memory card driver can be built in as module.

Video
Note that the AMD GPU also needs firmware, which will be loaded automatically if the driver is built as a module.

Network
Configure support for both ethernet and wifi

Sensors
Sensors are provided through:
 * CPU
 * GPU
 * Thinkpad

Portage make.conf
Many options of Gentoo are set in. Some of the key aspects are: