Messages in this thread | | | Date | Fri, 17 Apr 2020 09:09:58 +0200 | From | Christoph Hellwig <> | Subject | Re: [patch 4/7] dma-direct: atomic allocations must come from atomic coherent pools |
| |
The subject should say something like "atomic unencrypted allocations.." as many other atomic allocations are fine. Which brings up that with the codebase in this patch we can't really support architectures that require both an atomic pool for uncached remapping for just some devices and unencrypted for others. We don't have such an archicture right now, and I hope we don't grow one, but we probably need a little safeguard with a BUILD_BUG_ON if both options are set. I can send an incremental patch for that if that is ok with you.
| |