[PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2)

2024-01-25 Thread Felix Kuehling
The TBA and TMA, along with an unused IB allocation, reside at low addresses in the VM address space. A stray VM fault which hits these pages must be serviced by making their page table entries invalid. The scheduler depends upon these pages being resident and fails, preventing a debugger from insp

RE: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2)

2024-01-29 Thread Yu, Lang
H] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2) > >The TBA and TMA, along with an unused IB allocation, reside at low addresses in >the VM address space. A stray VM fault which hits these pages must be serviced >by making their page table entries invalid. >The schedul

Re: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2)

2024-01-29 Thread Felix Kuehling
: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2) The TBA and TMA, along with an unused IB allocation, reside at low addresses in the VM address space. A stray VM fault which hits these pages must be serviced by making their page table entries invalid. The scheduler depends upon

Re: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2)

2024-01-29 Thread Arunpravin Paneer Selvam
; Koenig, Christian ; Paneer Selvam, Arunpravin Subject: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2) The TBA and TMA, along with an unused IB allocation, reside at low addresses in the VM address space. A stray VM fault which hits these pages must be serviced by making

Re: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2)

2024-01-29 Thread Felix Kuehling
On 2024-01-29 11:50, Arunpravin Paneer Selvam wrote: @@ -339,18 +346,19 @@ static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id)    pdd->lds_base = MAKE_LDS_APP_BASE_V9();    pdd->lds_limit = MAKE_LDS_APP_LIMIT(pdd->lds_base); -    /* Raven needs SVM to supp

Re: [PATCH] drm/amdkfd: Relocate TBA/TMA to opposite side of VM hole (v2)

2024-01-29 Thread Christian König
Am 29.01.24 um 18:48 schrieb Felix Kuehling: On 2024-01-29 11:50, Arunpravin Paneer Selvam wrote: @@ -339,18 +346,19 @@ static void kfd_init_apertures_v9(struct kfd_process_device *pdd, uint8_t id)    pdd->lds_base = MAKE_LDS_APP_BASE_V9();    pdd->lds_limit = MAKE_LDS_APP_LIMIT(pdd->lds