Commit Graph

924 Commits

Author SHA1 Message Date
brentholtsclaw 1b6d968000 Update to 1.5.1
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
1.5.1
2020-05-29 16:21:56 -07:00
Frinzell 7c0fe8241b Remove extra import 2020-05-29 14:05:18 -07:00
Frinzell 1ead0d25f2 rtclock.py improvements 2020-05-29 14:05:18 -07:00
Frinzell 881e119307 spd.py minor updates 2020-05-29 14:05:03 -07:00
brentholtsclaw 35a614cbfc Add ICL support
Add ICL configuration file
Update memconfig, remap, smm_dma modules
Add ia_untrusted module

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-28 14:11:41 -07:00
brentholtsclaw 3bb2b443b7 Don't display pch information for atom
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-26 12:37:35 -07:00
p-state 3a981cba61 add SMBIOS_SYSTEM_INFO_2_0 2020-05-20 15:57:51 -07:00
p-state b4134e94d2 don't pass value twice; use value index instead 2020-05-20 15:57:51 -07:00
p-state 367f8b746e fix empty table if only SMBIOS v2 is available 2020-05-20 15:57:51 -07:00
gibarrasch 787e556b97 Fixed compilation in kernels >= 5.6 (#911) 2020-05-20 15:57:24 -07:00
Yves-Alexis Perez f3ab247c87 add 0x9B61 to CometLake SKUs
SKU corresponds to CPU Intel Core i5-10210U

Fix for issue #912
2020-05-14 09:08:06 -07:00
brentholtsclaw 2cea2f4bdc edit pch assignment logic
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-08 14:31:48 -07:00
brentholtsclaw d339220226 Fix: Config files within setup.py install
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-08 10:53:40 -07:00
Nathaniel Mitchell dd4970ef1c Fixed unknown platform error message to return system information
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-05-08 10:53:19 -07:00
Ignacio Hernandez 33525e2ee0 Make the platform cfg loader to only accept hex based names
In the cfg folder, filter out the non-hex folder names, currently
we only filter out folders whose name starts with '__'

Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-05-08 10:52:47 -07:00
brentholtsclaw 2c6528a38f Update to verison 1.5.0
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
1.5.0
2020-05-01 16:46:46 -07:00
brentholtsclaw 731629a7d3 Add PCH_CODE_XXX to globals
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 12:17:11 -07:00
brentholtsclaw daba05d1b0 Fix xml configuration loading
ensure all filename and configuration names are consistently lowercase

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 12:17:11 -07:00
Nathaniel Mitchell 62eac70f7c Fixed extra closing tag
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2020-05-01 12:16:53 -07:00
brentholtsclaw c10d066a09 Modify xml load order
files with common name
files that are not platform/pch specific
files that are platform specific
files that are pch specific

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 11:32:09 -07:00
Martin Galvan c7da8f0f06 Apollo Lake/Gemini Lake: Fix register definitions
This commit fixes several register/field definitions for APL and GLK. I found
these mistakes after checking against the Intel datasheets.

In some cases (such as BDSM and friends) I saw that we can just fall back to the
'common' definitions, since those match the datasheets'.

Notice that I intentionally didn't fix ABASE for GLK, so as not to conflict with
PR #890.
2020-05-01 11:31:29 -07:00
brentholtsclaw 965793d148 Add pch_4xxh to config
Based on doc 620854 and 620855

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 11:19:56 -07:00
brentholtsclaw 57850deb2e Fixup spibar and pwrmbase for glk and spibar for apl
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 11:19:36 -07:00
Armour, Nicholas 3df8d27a4c fix abase definition 2020-05-01 11:17:28 -07:00
brentholtsclaw 54860e3d45 Update IOCTL_LOAD_UCODE_PATCH in linux driver
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 08:23:23 -07:00
brentholtsclaw acace8ec2c Modify rdmsr/wrmsr for linux driver
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 08:22:28 -07:00
brentholtsclaw 45ef668234 Add ability to use LENGTH and ADMSKXXX regs within client atom
Depends on #844
Fix for issue #877

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-05-01 08:21:45 -07:00
Ignacio Hernandez c920c932c2 Sort the reported result summaries
Makes easier to compare results between runs

Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-05-01 08:21:10 -07:00
Ignacio Hernandez 427ab13196 Adding markdown formatted output
Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-05-01 08:21:10 -07:00
brentholtsclaw 2d0233ad87 Fix broken module imports
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-28 16:14:11 -07:00
Frinzell 61c47d8877 Check device enabled based on reg 2020-04-28 16:09:58 -07:00
Frinzell 77835d7fe4 Update hex dump and print 2020-04-28 16:08:27 -07:00
Cr4sh 6d491162bf linux helper HAS_EFI bugfix 2020-04-28 16:07:53 -07:00
brentholtsclaw bdc5a20611 Move Cfg class to chipset.py
Delete file
Move class to chipset.py
Remove imports from common.py

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-22 16:26:11 -07:00
BrentHoltsclaw 4f3b7236ba Remove duplicate configuration from common.py and move specific configuration to hal files
Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-22 16:26:11 -07:00
brentholtsclaw f2f1b54345 Address comments
Merged in changes from #871 will close PR

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
brentholtsclaw 42310edfb7 Apply suggested changes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
brentholtsclaw 55a3f7e700 Changes after rebase with 1.4.8
Fixup 300 split for the configuration
Fixup snb additions

Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
BrentHoltsclaw 514c23d84d Modify files based upon chipset.py changes
Fixup files that relied on CHIPSET_ID_XXX logic
Modify files for functions moved within cs class

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
BrentHoltsclaw d88dc907f3 Modify chipset.py to load configuration dictionary from xml
Added initialize_xml which reads in pch and chipset dictionary
Added VID to dictinaries
Removed CHIPSET_ID_XXX and functionality

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
BrentHoltsclaw 194c9ec70b Reorganize xml
Add VID level directory
Move chipset_dictionary to chipset configurations
Move pch_dictionary to pch configurations

Signed-off-by: BrentHoltsclaw <brent.holtsclaw@intel.com>
2020-04-20 08:39:02 -07:00
brentholtsclaw 12bb725351 Update copyright
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:23:07 -07:00
brentholtsclaw 9c47edabf7 Misc LGTM fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:23:07 -07:00
brentholtsclaw 8106f9718a Helper LGTM fixes
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:13:26 -07:00
brentholtsclaw 4492206438 HAL fixes from LGTM (3/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-17 09:13:02 -07:00
Ignacio Hernandez 87185860e3 Changed the method used for counting the number of threads
The current method breaks when 'process' is found in the CPU
brand string. Instead use the multiprocessing module to collect
this information.

We could get the information from the MSR but that method does
not work when one or more CPUs are offline.

Signed-off-by: Ignacio Hernandez <ignacio.hernandez@intel.com>
2020-04-16 12:02:18 -07:00
Frinzell d7646897f7 Fix util command errors 2020-04-16 12:01:58 -07:00
brentholtsclaw 32d0633fcf HAL fixes from LGTM (2/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-16 12:00:36 -07:00
brentholtsclaw f2b0d31d31 HAL fixes from LGTM (1/3)
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
2020-04-16 12:00:18 -07:00
brentholtsclaw 604c3fc8b9 Update to version 1.4.9
Signed-off-by: brentholtsclaw <brent.holtsclaw@intel.com>
1.4.9
2020-03-26 17:57:30 -07:00