RE: [PATCH 1/2] powerpc/vas: Report proper error for address translation failure

2020-07-09 Thread Bulent Abali
com, Haren Myneni/Beaverton/IBM@IBMUS Date: 07/09/2020 04:01 PM Subject:Re: [EXTERNAL] Re: [PATCH 1/2] powerpc/vas: Report proper error for address translation failure "Linuxppc-dev" wrote on 07/09/2020 04:22:10 AM: > From: Michael Ellerman > To: Haren Myneni &g

RE: [PATCH 1/2] powerpc/vas: Report proper error for address translation failure

2020-07-09 Thread Haren Myneni
"Linuxppc-dev" wrote on 07/09/2020 04:22:10 AM: > From: Michael Ellerman > To: Haren Myneni > Cc: tuli...@br.ibm.com, ab...@us.ibm.com, linuxppc- > d...@lists.ozlabs.org, rzin...@linux.ibm.com > Date: 07/09/2020 04:21 AM > Subject: [EXTERNAL] Re: [PATCH 1/2] powe

Re: [PATCH 1/2] powerpc/vas: Report proper error for address translation failure

2020-07-09 Thread Michael Ellerman
Haren Myneni writes: > DMA controller uses CC=5 internally for translation fault handling. So > OS should be using CC=250 and should report this error to the user space > when NX encounters address translation failure on the request buffer. That doesn't really explain *why* the OS must use CC=250