Re: [PATCH v6 10/12] drm/ttm: Use fault-injection to test error paths

2024-08-09 Thread Matthew Brost
On Fri, Aug 09, 2024 at 03:53:20PM +0200, Thomas Hellström wrote: > On Wed, 2024-08-07 at 23:43 +, Matthew Brost wrote: > > On Wed, Jul 03, 2024 at 05:38:11PM +0200, Thomas Hellström wrote: > > > Use fault-injection to test partial TTM swapout and interrupted > > > swapin. > > > Return -EINTR f

Re: [PATCH v6 10/12] drm/ttm: Use fault-injection to test error paths

2024-08-09 Thread Thomas Hellström
On Wed, 2024-08-07 at 23:43 +, Matthew Brost wrote: > On Wed, Jul 03, 2024 at 05:38:11PM +0200, Thomas Hellström wrote: > > Use fault-injection to test partial TTM swapout and interrupted > > swapin. > > Return -EINTR for swapin to test the callers ability to handle and > > restart the swapin,

Re: [PATCH v6 10/12] drm/ttm: Use fault-injection to test error paths

2024-08-07 Thread Matthew Brost
On Wed, Jul 03, 2024 at 05:38:11PM +0200, Thomas Hellström wrote: > Use fault-injection to test partial TTM swapout and interrupted swapin. > Return -EINTR for swapin to test the callers ability to handle and > restart the swapin, and on swapout perform a partial swapout to test that > the swapin a

[PATCH v6 10/12] drm/ttm: Use fault-injection to test error paths

2024-07-03 Thread Thomas Hellström
Use fault-injection to test partial TTM swapout and interrupted swapin. Return -EINTR for swapin to test the callers ability to handle and restart the swapin, and on swapout perform a partial swapout to test that the swapin and release_shrunken functionality. Cc: Christian König Cc: Somalapuram A