Re: [PATCH v6 09/20] xen/riscv: introduce io.h

2024-03-22 Thread Oleksii
On Fri, 2024-03-22 at 12:36 +0100, Jan Beulich wrote: > On 22.03.2024 12:02, Oleksii wrote: > > On Thu, 2024-03-21 at 13:27 +0100, Jan Beulich wrote: > > > On 15.03.2024 19:06, Oleksii Kurochko wrote: > > > > --- /dev/null > > > > +++ b/xen/arch/riscv/include/asm/io.h > > > > @@ -0,0 +1,167 @@ > >

Re: [PATCH v6 09/20] xen/riscv: introduce io.h

2024-03-22 Thread Jan Beulich
On 22.03.2024 12:02, Oleksii wrote: > On Thu, 2024-03-21 at 13:27 +0100, Jan Beulich wrote: >> On 15.03.2024 19:06, Oleksii Kurochko wrote: >>> --- /dev/null >>> +++ b/xen/arch/riscv/include/asm/io.h >>> @@ -0,0 +1,167 @@ >>> +/* SPDX-License-Identifier: GPL-2.0-only */ >>> +/* >>> + *  The header

Re: [PATCH v6 09/20] xen/riscv: introduce io.h

2024-03-22 Thread Oleksii
On Thu, 2024-03-21 at 13:27 +0100, Jan Beulich wrote: > On 15.03.2024 19:06, Oleksii Kurochko wrote: > > --- /dev/null > > +++ b/xen/arch/riscv/include/asm/io.h > > @@ -0,0 +1,167 @@ > > +/* SPDX-License-Identifier: GPL-2.0-only */ > > +/* > > + *  The header taken form Linux 6.4.0-rc1 and is

Re: [PATCH v6 09/20] xen/riscv: introduce io.h

2024-03-21 Thread Jan Beulich
On 15.03.2024 19:06, Oleksii Kurochko wrote: > --- /dev/null > +++ b/xen/arch/riscv/include/asm/io.h > @@ -0,0 +1,167 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +/* > + * The header taken form Linux 6.4.0-rc1 and is based on > + * arch/riscv/include/asm/mmio.h with the following

[PATCH v6 09/20] xen/riscv: introduce io.h

2024-03-15 Thread Oleksii Kurochko
The header taken form Linux 6.4.0-rc1 and is based on arch/riscv/include/asm/mmio.h with the following changes: - drop forcing of endianess for read*(), write*() functions as no matter what CPU endianness, what endianness a particular device (and hence its MMIO region(s)) is using is entirely