On 07/02/2018 06:00 AM, Juergen Gross wrote:
When removing the global bit from __supported_pte_mask do the same for __default_kernel_pte_mask in order to avoid the WARN_ONCE() in check_pgprot() when setting a kernel pte before having called init_mem_mapping().
Cc: stable@vger.kernel.org # 4.17 Reported-by: Michael Young m.a.young@durham.ac.uk Signed-off-by: Juergen Gross jgross@suse.com
Reviewed-by: Boris Ostrovsky boris.ostrovsky@oracle.com