aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorYazen Ghannam <[email protected]>2016-11-10 15:10:56 -0600
committerThomas Gleixner <[email protected]>2016-11-16 20:46:38 +0100
commitddfe43cdc0da3189feac4bb9f0f818bef6d6e56e (patch)
tree1f356fa7ee90d0a4eee3e380a1bb031dccb3396c /scripts/gdb/linux/lists.py
parentb791c6b6a55c402367cc544f54921074253db061 (diff)
x86/amd_nb: Add SMN and Indirect Data Fabric access for AMD Fam17h
Some devices on Fam17h can only be accessed through the System Management Network (SMN). The SMN is accessed by a pair of index/data registers in PCI config space. Add a pair of functions to read from and write to the SMN. The Data Fabric on Fam17h allows multiple devices to use the same register space. The registers of a specific device are accessed indirectly using the device's DF InstanceId. Currently, we only need to read from these devices, so only define a read function for now. Signed-off-by: Yazen Ghannam <[email protected]> Cc: linux-edac <[email protected]> Cc: x86-ml <[email protected]> Link: http://lkml.kernel.org/r/[email protected] [ Boris: make __amd_smn_rw() even more compact. ] Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions