coreboot/src/mainboard
Jonathan Zhang 75985f1d0c mainboard/ocp: Add support for OCP platform TiogaPass
OCP platform Tiogapass is a 2-socket server platform, which
is based on a chipset including Intel Skylake-SP processors
and a Lewisburg PCH. Skylake-SP is a processor in Intel Xeon
Scalable Processor family.

Following ACPI tables are added:
DSDT/SSDT, MADT, FACP, FACS, HPET, MCFG, SLIT, SRAT, DMAR

This patchset is tested on a Tiogapass board. It booted with
Linux kernel 4.16.0; lscpu command shows all 72 cpus (2 sockets,
18 cores, 2 thread per core); ssh command shows
networking is up from Mellanox ConnectX-4 PCIe NIC card.

Towards successful gerrit buildbot build, note that:
* microcode is in coreboot intel-microcode submodule repo.
* IFD binary is included in this patch.
* Dummy ME binary is used, as it may take long time for Intel
ME binary to be available in public domain.
* Fake FSP binary is used, as at this moment the SKX-SP
FSP binary is not going to be available in public domain.

Known issues (Not intend to address in this initial support for
Xeon-SP processors):
* c6 state is not supported.
* dsdt table is not fully populated, such as processor/socket
devices, some PCIe devices.
* SMM handlers are not added.

Following are some command execution with CentOS booted from
local SATA disk:
[root@localhost ~]# lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                72
On-line CPU(s) list:   0-71
Thread(s) per core:    2
Core(s) per socket:    18
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 6139 CPU @ 2.30GHz
Stepping:              4
CPU MHz:               140.415
BogoMIPS:              4626.46
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              25344K
NUMA node0 CPU(s):     0-17,36-53
NUMA node1 CPU(s):     18-35,54-71
[root@localhost ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.23.68.190  netmask 255.255.0.0  broadcast 172.23.255.255
        inet6 2620:10d:c082:9063:268a:7ff:fe57:5af0  prefixlen 64 //cut
        inet6 fe80::268a:7ff:fe57:5af0  prefixlen 64  scopeid 0x20<link>
        inet6 2620:10d:c082:9063::5d2  prefixlen 128  scopeid 0x0<global>
        ether 24:8a:07:57:5a:f0  txqueuelen 1000  (Ethernet)
        RX packets 84249  bytes 6371591 (6.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8418  bytes 748781 (731.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 613  bytes 63906 (62.4 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 613  bytes 63906 (62.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[root@localhost ~]# cbmem
36 entries total:

// Lines were cut to avoid checkpatch.pl warnings

Total Time: 96,243,882,140,175,829

Signed-off-by: Jonathan Zhang <jonzhang@fb.com>
Signed-off-by: Reddy Chagam <anjaneya.chagam@intel.com>
Tested-by: johnny_lin@wiwynn.com
Change-Id: I29868f03037d1887b90dfb19d15aee83c456edce
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38549
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
2020-03-06 08:20:44 +00:00
..
adlink mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
amd mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
aopen mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
apple mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
asrock src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
asus src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
bap mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
biostar mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
cavium mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
compulab mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
elmex mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
emulation treewide: Replace BOARD_EMULATION_QEMU_X86 2020-03-03 10:16:09 +00:00
facebook mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
foxconn mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
getac mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
gigabyte mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
gizmosphere src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
google mb/google/volteer: add new ripto variant 2020-03-06 07:56:16 +00:00
hp src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
ibase mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
intel mb/intel/tglrvp: Enable Audio AIC with Max98373 & ALC5682 on TGL 2020-03-06 08:02:07 +00:00
jetway mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
kontron mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
lenovo mb/lenovo/x230: List Lenovo X230t convertible/tablet as variant 2020-03-06 08:03:50 +00:00
lippert mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
msi src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
ocp mainboard/ocp: Add support for OCP platform TiogaPass 2020-03-06 08:20:44 +00:00
opencellular mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
packardbell mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
pcengines src: capitalize 'PCIe' 2020-03-04 15:43:30 +00:00
portwell mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
purism mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
razer mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
roda mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
samsung mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
sapphire mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
scaleway mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
siemens mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
sifive mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
supermicro mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
system76 mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
ti mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00
up mb/up/squared: move USB config to device tree 2020-03-06 07:59:29 +00:00
Kconfig mb/*/Kconfig: Factor out MAINBOARD_VENDOR 2020-03-03 10:15:22 +00:00