Re: [PATCH v2] riscv,mmio: Fix readX()-to-delay() ordering

From: Palmer Dabbelt
Date: Thu Aug 10 2023 - 15:44:23 EST



On Thu, 03 Aug 2023 06:27:38 +0200, Andrea Parri wrote:
> Section 2.1 of the Platform Specification [1] states:
>
> Unless otherwise specified by a given I/O device, I/O devices are on
> ordering channel 0 (i.e., they are point-to-point strongly ordered).
>
> which is not sufficient to guarantee that a readX() by a hart completes
> before a subsequent delay() on the same hart (cf. memory-barriers.txt,
> "Kernel I/O barrier effects").
>
> [...]

Applied, thanks!

[1/1] riscv,mmio: Fix readX()-to-delay() ordering
https://git.kernel.org/palmer/c/4eb2eb1b4c0e

Best regards,
--
Palmer Dabbelt <palmer@xxxxxxxxxxxx>