diff options
author | Yazen Ghannam <Yazen.Ghannam@amd.com> | 2016-11-17 23:57:36 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-11-28 17:49:40 +0100 |
commit | 936fc3afaa8abc20dfea306c9b6d19a6e7ca5caf (patch) | |
tree | 5ef18a9440c2c6db90571b7cddeddcd4c8a5a9cd /drivers/thunderbolt | |
parent | EDAC, amd64: Add AMD Fam17h family type and ops (diff) | |
download | linux-936fc3afaa8abc20dfea306c9b6d19a6e7ca5caf.tar.xz linux-936fc3afaa8abc20dfea306c9b6d19a6e7ca5caf.zip |
EDAC, amd64: Reserve correct PCI devices on AMD Fam17h
Fam17h needs PCI device functions 0 and 6 instead of 1 and 2 as on older
systems. Update struct amd64_pvt to hold the new functions and reserve
them if on Fam17h.
Also, allocate an array of UMC structs within our newly allocated PVT
struct.
Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com>
Cc: Aravind Gopalakrishnan <aravindksg.lkml@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1479423463-8536-11-git-send-email-Yazen.Ghannam@amd.com
[ init_one_instance() error handling, shorten lines, unbreak >80 cols lines. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions