Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-22 Thread Alexey Kardashevskiy
On 22/01/2021 02:27, Nathan Lynch wrote: Michael Ellerman writes: Nathan Lynch writes: Alexey Kardashevskiy writes: On 16/01/2021 02:38, Nathan Lynch wrote: Alexey Kardashevskiy writes: On 15/01/2021 09:00, Nathan Lynch wrote: Memory locations passed as arguments from the OS to RTAS

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-21 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch writes: >> Alexey Kardashevskiy writes: >>> On 16/01/2021 02:38, Nathan Lynch wrote: Alexey Kardashevskiy writes: > On 15/01/2021 09:00, Nathan Lynch wrote: >> Memory locations passed as arguments from the OS to RTAS usually need >> to be

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-20 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch writes: >> Michael Ellerman writes: >>> Nathan Lynch writes: Memory locations passed as arguments from the OS to RTAS usually need to be addressable in 32-bit mode and must reside in the Real Mode Area. On PAPR guests, the RMA starts at log

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-20 Thread Michael Ellerman
Nathan Lynch writes: > Michael Ellerman writes: >> Nathan Lynch writes: >>> Memory locations passed as arguments from the OS to RTAS usually need >>> to be addressable in 32-bit mode and must reside in the Real Mode >>> Area. On PAPR guests, the RMA starts at logical address 0 and is the >>> fir

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-20 Thread Michael Ellerman
Nathan Lynch writes: > Alexey Kardashevskiy writes: >> On 16/01/2021 02:38, Nathan Lynch wrote: >>> Alexey Kardashevskiy writes: On 15/01/2021 09:00, Nathan Lynch wrote: > Memory locations passed as arguments from the OS to RTAS usually need > to be addressable in 32-bit mode and mu

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-19 Thread Alexey Kardashevskiy
On 20/01/2021 11:39, Nathan Lynch wrote: Alexey Kardashevskiy writes: On 16/01/2021 02:38, Nathan Lynch wrote: Alexey Kardashevskiy writes: On 15/01/2021 09:00, Nathan Lynch wrote: Memory locations passed as arguments from the OS to RTAS usually need to be addressable in 32-bit mode and

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-19 Thread Nathan Lynch
Alexey Kardashevskiy writes: > On 16/01/2021 02:38, Nathan Lynch wrote: >> Alexey Kardashevskiy writes: >>> On 15/01/2021 09:00, Nathan Lynch wrote: Memory locations passed as arguments from the OS to RTAS usually need to be addressable in 32-bit mode and must reside in the Real Mode >>

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-19 Thread Nathan Lynch
Michael Ellerman writes: > Nathan Lynch writes: >> Memory locations passed as arguments from the OS to RTAS usually need >> to be addressable in 32-bit mode and must reside in the Real Mode >> Area. On PAPR guests, the RMA starts at logical address 0 and is the >> first logical memory block repor

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-19 Thread Michael Ellerman
Nathan Lynch writes: > Memory locations passed as arguments from the OS to RTAS usually need > to be addressable in 32-bit mode and must reside in the Real Mode > Area. On PAPR guests, the RMA starts at logical address 0 and is the > first logical memory block reported in the LPAR’s device tree. >

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-17 Thread Alexey Kardashevskiy
On 16/01/2021 02:38, Nathan Lynch wrote: Alexey Kardashevskiy writes: On 15/01/2021 09:00, Nathan Lynch wrote: Memory locations passed as arguments from the OS to RTAS usually need to be addressable in 32-bit mode and must reside in the Real Mode Area. On PAPR guests, the RMA starts at logi

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-15 Thread Nathan Lynch
Alexey Kardashevskiy writes: > On 15/01/2021 09:00, Nathan Lynch wrote: >> Memory locations passed as arguments from the OS to RTAS usually need >> to be addressable in 32-bit mode and must reside in the Real Mode >> Area. On PAPR guests, the RMA starts at logical address 0 and is the >> first log

Re: [PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-14 Thread Alexey Kardashevskiy
On 15/01/2021 09:00, Nathan Lynch wrote: Memory locations passed as arguments from the OS to RTAS usually need to be addressable in 32-bit mode and must reside in the Real Mode Area. On PAPR guests, the RMA starts at logical address 0 and is the first logical memory block reported in the LPAR’

[PATCH 6/6] powerpc/rtas: constrain user region allocation to RMA

2021-01-14 Thread Nathan Lynch
Memory locations passed as arguments from the OS to RTAS usually need to be addressable in 32-bit mode and must reside in the Real Mode Area. On PAPR guests, the RMA starts at logical address 0 and is the first logical memory block reported in the LPAR’s device tree. On powerpc targets with RTAS,