Commit Graph

13501 Commits

Author SHA1 Message Date
Amber Lin f8028a40fd libhsakmt: Support x2APIC in topology
Current processor/cache topology code implements xAPIC architecture, which
is 8 bits addressability. This is not enough for a system having more than
255 processors. x2APIC is the extension of xAPIC architecture to support
32 bit addressability of processors. This patch detects the x2APIC
enablement and uses the extension leaf to get apicid when detected.

Change-Id: I0826585d02f696a46cd5efb9a6630c60af01e2d8
Signed-off-by: Amber Lin <Amber.Lin@amd.com>
2019-03-01 16:42:30 -05:00
Kent Russell d00ec779ce kfdtest.exclude: Temporarily blacklist IPC on gfx900
Due to the recent HMM changes, the KFDIPCTest can intermittently fail,
combined with CrossMemoryAttach consistently failing. Remove it for now
while Philip Yang investigates

Change-Id: Icf272100bb7882eff4202ad6f4ced63b569f4e7d
2019-02-28 07:29:47 -05:00
Sean Keely 67376e06ab Report SRAM ECC errors through the system event handler.
Modify the system event handler to support multiple users.
Name memory fault reason codes.

Change-Id: I1b5979b36ab15637eb2be59a61e2d57e76d0a70e
2019-02-27 18:08:07 -05:00
Chris Freehill 625e2098cb Merge pull request #22 from cfreehill/master
Add rsmi_dev_pci_throughput_get()
2019-02-27 15:27:29 -06:00
Chris Freehill 18ce553dce Add rsmi_dev_pci_throughput_get() 2019-02-27 15:10:26 -06:00
Kent Russell a0b8dd8462 Temporarily remove CMATest from gfx900
Per Philip Yang:
For forked child process, userptr allocated on heap (through malloc)
will have two vmas if child process malloc smaller size buf, free it,
this is on vma cloned from parent process. Then malloc larger size buf,
kernel will put some pages on previous freed space from vma cloned,
create new vma for the rest of pages. This is what IPCTest does.

Change-Id: I054771e20880f975d7cc774225f19aad5363843f
2019-02-27 07:05:42 -05:00
Jenkins ef02001fe8 Merge 'master' into 'amd-master'
Change-Id: Ieb5e7f9fd79339a8453462fa276fd1fe41251515
2019-02-26 04:09:56 -06:00
Sean Keely 3c3db0243e Loader support for SRAM ECC.
Change-Id: I0c6791c356d9186cc8dabae9fd698b1d4de19b09
2019-02-25 18:30:05 -05:00
Chris Freehill 03724c9c5a Merge pull request #21 from cfreehill/master
Fix sysfs write operations
2019-02-25 15:42:48 -06:00
Chris Freehill 4771996d99 Fix sysfs write operations 2019-02-25 15:14:46 -06:00
Evgeny c6a20178dc metrics exceptions handling
Change-Id: I9b050f78b1ef333853649d5457c80544944ea7f6
2019-02-25 03:58:14 -06:00
Evgeny 8feba010df metrics exceptions handling
Change-Id: I9b050f78b1ef333853649d5457c80544944ea7f6


[ROCm/rocprofiler commit: c6a20178dc]
2019-02-25 03:58:14 -06:00
Chris Freehill 3e4280d03e Merge pull request #19 from cfreehill/master
Add VBIOS version get function
2019-02-24 11:31:16 -06:00
Chris Freehill 021f13a68f Add VBIOS version get function
Also, consolidate "get version" type function tests into 1 test.
2019-02-24 11:01:18 -06:00
Chris Freehill 2a50d37827 Merge pull request #18 from cfreehill/master
Docs and freq-volt curve updates
2019-02-22 15:23:20 -06:00
Chris Freehill 68b5e2ee0d Documentation and volt-curve read updates 2019-02-22 15:05:44 -06:00
Yong Zhao 1d478f3cf2 kfdtest: Add a result check in CreateCpQueue test
With the orginal code, CreateCpQueue will report failure if
WaitOnValue return false. Add EXPECT_TRUE() so that in that case
the failure is reported.

Change-Id: I043d013958b452d7ccb9538dc296d99d024abf01
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
2019-02-21 17:42:45 -05:00
Sean Keely c56d86100b Add fine grain vram pool.
Part 1 of 2.
Enables fine grain vram over PCIe based on env flag.
Part 2 will extend to XGMI.

Change-Id: I8ad506e004b398d56d462b0200274eae2293a461
2019-02-21 13:08:11 -05:00
Evgeny 996b64309a fix of reported completion signal in th ecase when it is proxied by the tracker
Change-Id: Ic1100fde03bc34e0130405285d32d6b97a031967
2019-02-20 19:21:35 -06:00
Evgeny 33e8160a54 fix of reported completion signal in th ecase when it is proxied by the tracker
Change-Id: Ic1100fde03bc34e0130405285d32d6b97a031967


[ROCm/rocprofiler commit: 996b64309a]
2019-02-20 19:21:35 -06:00
eshcherb cbc08d0976 Update README.md
[ROCm/roctracer commit: b15861dcc9]
2019-02-20 14:47:42 -06:00
eshcherb b15861dcc9 Update README.md 2019-02-20 14:47:42 -06:00
Evgeny 4b1debb8ef advancing hsa-class revision
[ROCm/roctracer commit: 73a5d5ed27]
2019-02-19 10:57:39 -06:00
Evgeny 73a5d5ed27 advancing hsa-class revision 2019-02-19 10:57:39 -06:00
Jenkins 798345b4ee Merge 'master' into 'amd-master'
Change-Id: Ib1b569d15ac06ba03aa19463b41bc0803db09883
2019-02-18 04:09:58 -06:00
Chris Freehill 5cb0895816 Rename manual
Also fix typo.
2019-02-16 13:21:41 -06:00
Chris Freehill 477e47b542 Merge pull request #17 from cfreehill/master
Documentation updates
2019-02-15 21:09:29 -06:00
Sean Keely 344d964f9f Suppress exception reporting for well defined invalid signal handles.
hsa_exceptions with empty what() strings will not report in debug builds.

Change-Id: I0d424d3b1d3044808ece1720a460a57d68bf878e
2019-02-15 19:35:57 -05:00
Chris Freehill 4449411e35 Documentation updates
-Replaced README with cleaner version.
-Added PDF introductory document (same as README)
2019-02-15 17:23:12 -06:00
Eric Huang 7349276860 kfdtest: add RAS tests
They are disabled for now.

Change-Id: I9c936130cbaf8c773f4b8e94bccf4af1f45eda65
Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
2019-02-15 15:03:32 -05:00
Philip Cox 90a3697e1d kfdtest: Blacklist BasicDebuggerSuspendResume
We need to black list this testcase temporarily because
it is failing intermittently.  The failure tends to only happen
when the certain build machine is used to build it.

This issue is being tracked by Jira ticket:
    ROCMOPS-389

Change-Id: Ic4682c9da389ed731cbc034dff57e6646bba0e9d
Signed-off-by: Philip Cox <Philip.Cox@amd.com>
2019-02-13 10:45:20 -05:00
Jenkins 9729e98d5f Merge 'master' into 'amd-master'
Change-Id: I8f6371e1009c9aa4b53ea010b6d7b186c34b556d
2019-02-13 04:10:03 -06:00
Chris Freehill 61593c3895 Merge pull request #15 from cfreehill/master
Add get_version test; remove sanity test
2019-02-12 19:02:44 -06:00
Chris Freehill f3fa9a036c Add get_version test; remove sanity test
Also, don't fail pcie bandwidth test when the pp_dpm_pcie file
does not correctly show the current bandwidth.
2019-02-12 18:07:26 -06:00
Jenkins adde1c326f Merge 'master' into 'amd-master'
Change-Id: I65e79e3728b2441b8ff9ebb63301c982bc8ea0e0
2019-02-12 04:09:55 -06:00
Chris Freehill b9172533b9 Merge pull request #14 from cfreehill/master
Break down monolithic test into smaller tests
2019-02-11 23:06:00 -06:00
Chris Freehill 17bf80dcb2 Break down monolithic test into many smaller tests
Also, added boot up default power profile, and modified to
accomodate new profile format
2019-02-11 22:53:24 -06:00
Chris Freehill dd450e963c Add dont_fail option to not fail entire test on a single failure 2019-02-09 12:18:49 -06:00
eshcherb df21125068 Update README.md
[ROCm/roctracer commit: d85efa7358]
2019-02-08 20:01:44 -06:00
eshcherb d85efa7358 Update README.md 2019-02-08 20:01:44 -06:00
eshcherb ef291ec5dd Update README.md
[ROCm/roctracer commit: e33268318d]
2019-02-08 19:59:34 -06:00
eshcherb e33268318d Update README.md 2019-02-08 19:59:34 -06:00
eshcherb e78ed5afba Update README.md
[ROCm/roctracer commit: 14df45688b]
2019-02-08 19:58:58 -06:00
eshcherb 14df45688b Update README.md 2019-02-08 19:58:58 -06:00
Philip Cox ac6f089f26 kfdtest: Initial basic dbg suspend/resume testcase
A basic sanity test that tests the codepath for
the debugger suspend and resume code path.

Change-Id: If4c64f7bd6a1ef45068a33965b829725a78ce492
Signed-off-by: Philip Cox <Philip.Cox@amd.com>
2019-02-08 11:28:33 -05:00
Chris Freehill 6ff98fc7f6 Merge pull request #13 from cfreehill/master
Replace fan test failure with warning
2019-02-08 10:26:03 -06:00
Chris Freehill 4ab27528be Replace fan test failure with warning
In some cases, the fan sysfs files will exist even if the device
doesn't have a fan. In these cases, the tests will give apparently
random results.

Also, remove documentation and ifdef'd test of debugfs related
power functions.
2019-02-08 09:51:10 -06:00
Sean Keely 400304aa10 Remove stop using ROCm release tags for library version numbers.
Version is now a fixed string that matches previous internal builds.
This also matches released DEB/RPM builds (but not github versions).

Change-Id: Id4819b9de8c855250aadf1a1cebb187b5c031721
2019-02-06 19:22:53 -05:00
Ramesh Errabolu 3fbf03af76 Allows users, via env ROCR_VISIBLE_DEVICES, to surface a subset of Gpu devices
Change-Id: I5662639d5d70f054831969669f9d30dec356dd5a

Update per review comments

Change-Id: I18c7d7cb00b261493b61c2cf5454d486166f40d8
2019-02-06 02:02:29 -06:00
Evgeny cf8b021a55 rocprof: hip trace option
Change-Id: Iafc1939bc2ec2bad820f5406bcf2afb8a0b4cdc2
2019-02-04 18:36:40 -06:00