This repository was archived by the owner on Oct 31, 2024. It is now read-only.
Commit aa665c3
Revert "drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()"
commit 03c6284 upstream.
This patch causes the following iounmap erorr and calltrace
iounmap: bad address 00000000d0b3631f
The original patch was unjustified because amdgpu_device_fini_sw() will
always cleanup the rmmio mapping.
This reverts commit eb4f139.
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent dd0ad48 commit aa665c3
1 file changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4025 | 4025 | | |
4026 | 4026 | | |
4027 | 4027 | | |
4028 | | - | |
4029 | | - | |
4030 | | - | |
4031 | | - | |
| 4028 | + | |
| 4029 | + | |
4032 | 4030 | | |
4033 | 4031 | | |
4034 | 4032 | | |
| |||
4038 | 4036 | | |
4039 | 4037 | | |
4040 | 4038 | | |
4041 | | - | |
| 4039 | + | |
4042 | 4040 | | |
4043 | 4041 | | |
4044 | 4042 | | |
4045 | 4043 | | |
4046 | 4044 | | |
4047 | | - | |
| 4045 | + | |
4048 | 4046 | | |
4049 | 4047 | | |
4050 | 4048 | | |
4051 | 4049 | | |
4052 | 4050 | | |
4053 | 4051 | | |
4054 | | - | |
| 4052 | + | |
4055 | 4053 | | |
4056 | 4054 | | |
4057 | 4055 | | |
| |||
4061 | 4059 | | |
4062 | 4060 | | |
4063 | 4061 | | |
4064 | | - | |
| 4062 | + | |
4065 | 4063 | | |
4066 | 4064 | | |
4067 | 4065 | | |
| |||
4330 | 4328 | | |
4331 | 4329 | | |
4332 | 4330 | | |
4333 | | - | |
4334 | | - | |
4335 | 4331 | | |
4336 | 4332 | | |
4337 | 4333 | | |
| |||
0 commit comments