mbox series

[v2,0/3] Ensure inX() is ordered wrt delay() routines

Message ID 20190222180454.5992-1-will.deacon@arm.com
Headers show
Series Ensure inX() is ordered wrt delay() routines | expand

Message

Will Deacon Feb. 22, 2019, 6:04 p.m. UTC
Hi all,

This is version two of the patches I previously posted here:

  https://lore.kernel.org/lkml/20190211174544.4302-1-will.deacon@arm.com/T/#u

Changes since v2 include:

  * Incorporate riscv changes from Palmer
  * Update macro definitions as suggested by Geert
  * Extend to cover non-port reads via __io_ar() as well

Feedback welcome,

Will

--->8

Will Deacon (3):
  asm-generic/io: Pass result of I/O accessor to __io_[p]ar()
  riscv: io: Update __io_[p]ar() macros to take an argument
  arm64: io: Hook up __io_par() for inX() ordering

 arch/arm64/include/asm/io.h |  1 +
 arch/riscv/include/asm/io.h | 36 ++++++++++++++++++------------------
 include/asm-generic/io.h    | 20 ++++++++++----------
 3 files changed, 29 insertions(+), 28 deletions(-)

-- 
2.11.0

Comments

Palmer Dabbelt Feb. 26, 2019, 6:14 p.m. UTC | #1
On Fri, 22 Feb 2019 10:04:51 PST (-0800), Will Deacon wrote:
> Hi all,

>

> This is version two of the patches I previously posted here:

>

>   https://lore.kernel.org/lkml/20190211174544.4302-1-will.deacon@arm.com/T/#u

>

> Changes since v2 include:

>

>   * Incorporate riscv changes from Palmer

>   * Update macro definitions as suggested by Geert

>   * Extend to cover non-port reads via __io_ar() as well

>

> Feedback welcome,

>

> Will

>

> --->8

>

> Will Deacon (3):

>   asm-generic/io: Pass result of I/O accessor to __io_[p]ar()

>   riscv: io: Update __io_[p]ar() macros to take an argument

>   arm64: io: Hook up __io_par() for inX() ordering

>

>  arch/arm64/include/asm/io.h |  1 +

>  arch/riscv/include/asm/io.h | 36 ++++++++++++++++++------------------

>  include/asm-generic/io.h    | 20 ++++++++++----------

>  3 files changed, 29 insertions(+), 28 deletions(-)


Reviewed-by: Palmer Dabbelt <palmer@sifive.com>


Thanks!
Catalin Marinas Feb. 28, 2019, 5:37 p.m. UTC | #2
On Fri, Feb 22, 2019 at 06:04:51PM +0000, Will Deacon wrote:
> Will Deacon (3):

>   asm-generic/io: Pass result of I/O accessor to __io_[p]ar()

>   riscv: io: Update __io_[p]ar() macros to take an argument

>   arm64: io: Hook up __io_par() for inX() ordering


Since we have the acks in place, I plan to queue these patches via the
arm64 tree. They don't conflict with -next (as of today) but if anyone
expects other issues, please let me know.

-- 
Catalin