Re: [PATCHv2] arm64: Make sure permission updates happen for pmd/pud

2018-05-24 Thread Will Deacon
Hi Laura, On Wed, May 23, 2018 at 11:43:46AM -0700, Laura Abbott wrote: > Commit 15122ee2c515 ("arm64: Enforce BBM for huge IO/VMAP mappings") > disallowed block mappings for ioremap since that code does not honor > break-before-make. The same APIs are also used for permission updating > though

Re: [PATCHv2] arm64: Make sure permission updates happen for pmd/pud

2018-05-24 Thread Will Deacon
Hi Laura, On Wed, May 23, 2018 at 11:43:46AM -0700, Laura Abbott wrote: > Commit 15122ee2c515 ("arm64: Enforce BBM for huge IO/VMAP mappings") > disallowed block mappings for ioremap since that code does not honor > break-before-make. The same APIs are also used for permission updating > though

Re: [PATCHv2] arm64: Make sure permission updates happen for pmd/pud

2018-05-24 Thread Peter Robinson
On Wed, May 23, 2018 at 7:43 PM, Laura Abbott wrote: > Commit 15122ee2c515 ("arm64: Enforce BBM for huge IO/VMAP mappings") > disallowed block mappings for ioremap since that code does not honor > break-before-make. The same APIs are also used for permission updating > though

Re: [PATCHv2] arm64: Make sure permission updates happen for pmd/pud

2018-05-24 Thread Peter Robinson
On Wed, May 23, 2018 at 7:43 PM, Laura Abbott wrote: > Commit 15122ee2c515 ("arm64: Enforce BBM for huge IO/VMAP mappings") > disallowed block mappings for ioremap since that code does not honor > break-before-make. The same APIs are also used for permission updating > though and the extra checks

Re: [PATCHv2] arm64: Make sure permission updates happen for pmd/pud

2018-05-23 Thread Kees Cook
On Wed, May 23, 2018 at 11:43 AM, Laura Abbott wrote: > Commit 15122ee2c515 ("arm64: Enforce BBM for huge IO/VMAP mappings") > disallowed block mappings for ioremap since that code does not honor > break-before-make. The same APIs are also used for permission updating > though

Re: [PATCHv2] arm64: Make sure permission updates happen for pmd/pud

2018-05-23 Thread Kees Cook
On Wed, May 23, 2018 at 11:43 AM, Laura Abbott wrote: > Commit 15122ee2c515 ("arm64: Enforce BBM for huge IO/VMAP mappings") > disallowed block mappings for ioremap since that code does not honor > break-before-make. The same APIs are also used for permission updating > though and the extra