diff --git a/arch b/arch index 50415398b1..6e6f7947bc 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 50415398b1ae76ffb66df9813f4647dcbfcee234 +Subproject commit 6e6f7947bc11679ec220022b696b8d47badf45f7 diff --git a/fs/fat/Kconfig b/fs/fat/Kconfig index 9176484f91..d02b3d7304 100644 --- a/fs/fat/Kconfig +++ b/fs/fat/Kconfig @@ -83,6 +83,20 @@ config FAT_FORCE_INDIRECT without CONFIG_FAT_DMAMEMORY if there is, for example, only a memory aligment constraints. + FORCE_ DMA DIRECT EXAMPLE USAGE + INDIRECT MEMORY RETRY + Y Y * Use specially allocated memory; + Never use caller provided buffer + Y N * Not recommended + N Y ** Special memory required; user memory + has mixed capability; sometimes + caller memory is not usable + N N Y No special memory but there are + alignment requirements; return is + caller buffer is not properly aligned + N N N User memory can always be used for + transfer. + config FAT_DMAMEMORY bool "DMA memory allocator" default n @@ -101,6 +115,20 @@ config FAT_DMAMEMORY corresponding function that will be called to free the DMA-capable memory. + FORCE_ DMA DIRECT EXAMPLE USAGE + INDIRECT MEMORY RETRY + Y Y * Use specially allocated memory; + Never use caller provided buffer + Y N * Not recommended + N Y ** Special memory required; user memory + has mixed capability; sometimes + caller memory is not usable + N N Y No special memory but there are + alignment requirements; return is + caller buffer is not properly aligned + N N N User memory can always be used for + transfer. + config FAT_DIRECT_RETRY bool "Direct transfer retry" default y if FAT_DMAMEMORY @@ -129,4 +157,18 @@ config FAT_DIRECT_RETRY transfer fails with -EFAULT. then the FAT file system will try one more time using the internal sector buffers. + FORCE_ DMA DIRECT EXAMPLE USAGE + INDIRECT MEMORY RETRY + Y Y * Use specially allocated memory; + Never use caller provided buffer + Y N * Not recommended + N Y ** Special memory required; user memory + has mixed capability; sometimes + caller memory is not usable + N N Y No special memory but there are + alignment requirements; return is + caller buffer is not properly aligned + N N N User memory can always be used for + transfer. + endif # FAT