Re: [PATCH] drivers:gpu:drm:amd:amdgpu:fix a potential use-after-free

2021-08-15 Thread Christian König
Am 13.08.21 um 05:28 schrieb lwt105: in line 1503, "dma_fence_put(fence);" drop the reference to fence and may cause fence to be released. However, fence is used subsequently in line 1510 "fence->error". This may result in an use-after-free bug. It can be fixed by recording fence->error in an va

RE: [PATCH] drm/amdgpu: disable BACO support for 699F:C7 polaris12 SKU temporarily

2021-08-15 Thread Quan, Evan
[AMD Official Use Only] > -Original Message- > From: Alex Deucher > Sent: Friday, August 13, 2021 9:56 PM > To: Quan, Evan > Cc: amd-gfx list ; Deucher, Alexander > ; Chen, Guchun > Subject: Re: [PATCH] drm/amdgpu: disable BACO support for 699F:C7 > polaris12 SKU temporarily > > On F

Re: [PATCH] drm/amdgpu: Cancel delayed work when GFXOFF is disabled

2021-08-15 Thread Lazar, Lijo
On 8/13/2021 9:30 PM, Michel Dänzer wrote: On 2021-08-13 5:07 p.m., Lazar, Lijo wrote: On 8/13/2021 8:10 PM, Michel Dänzer wrote: On 2021-08-13 4:14 p.m., Lazar, Lijo wrote: On 8/13/2021 7:04 PM, Michel Dänzer wrote: On 2021-08-13 1:50 p.m., Lazar, Lijo wrote: On 8/13/2021 3:59 PM, Mich

RE: [PATCH] drm/amdgpu: disable BACO support for 699F:C7 polaris12 SKU temporarily

2021-08-15 Thread Chen, Guchun
[Public] Reviewed-by: Guchun Chen Regards, Guchun -Original Message- From: Quan, Evan Sent: Friday, August 13, 2021 4:10 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Chen, Guchun ; Quan, Evan Subject: [PATCH] drm/amdgpu: disable BACO support for 699F:C7 polaris12 SK

[PATCH] drm/radeon: Add break to switch statement in radeonfb_create_pinned_object()

2021-08-15 Thread Nathan Chancellor
Clang + -Wimplicit-fallthrough warns: drivers/gpu/drm/radeon/radeon_fb.c:170:2: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough] default: ^ drivers/gpu/drm/radeon/radeon_fb.c:170:2: note: insert 'break;' to avoid fall-through default:

Re: [PATCH v2 03/12] x86/sev: Add an x86 version of prot_guest_has()

2021-08-15 Thread Tom Lendacky
On 8/14/21 2:08 PM, Borislav Petkov wrote: On Fri, Aug 13, 2021 at 11:59:22AM -0500, Tom Lendacky wrote: diff --git a/arch/x86/include/asm/protected_guest.h b/arch/x86/include/asm/protected_guest.h new file mode 100644 index ..51e4eefd9542 --- /dev/null +++ b/arch/x86/include/asm/pr