[PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-08-13 Thread Joerg Roedel
From: Joerg Roedel commit 51b75b5b563a2637f9d8dc5bd02a31b2ff9e5ea0 upstream. Do not require a struct page for the mapped memory location because it might not exist. This can happen when an ioremapped region is mapped with 2MB pages. Fixes: 5d72b4fba40ef ('x86, mm: support huge I/O mapping capab

[PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-08-13 Thread Joerg Roedel
From: Joerg Roedel commit 51b75b5b563a2637f9d8dc5bd02a31b2ff9e5ea0 upstream. Do not require a struct page for the mapped memory location because it might not exist. This can happen when an ioremapped region is mapped with 2MB pages. Fixes: 5d72b4fba40ef ('x86, mm: support huge I/O mapping capab

[PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-19 Thread Joerg Roedel
From: Joerg Roedel Do not require a struct page for the mapped memory location because it might not exist. This can happen when an ioremapped region is mapped with 2MB pages. Fixes: 5d72b4fba40ef ('x86, mm: support huge I/O mapping capability I/F') Reviewed-by: Dave Hansen Signed-off-by: Joerg

[PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-17 Thread Joerg Roedel
From: Joerg Roedel Do not require a struct page for the mapped memory location because it might not exist. This can happen when an ioremapped region is mapped with 2MB pages. Fixes: 5d72b4fba40ef ('x86, mm: support huge I/O mapping capability I/F') Signed-off-by: Joerg Roedel --- arch/x86/mm/f

Re: [PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-15 Thread Thomas Gleixner
On Mon, 15 Jul 2019, Joerg Roedel wrote: > On Mon, Jul 15, 2019 at 03:08:42PM +0200, Thomas Gleixner wrote: > > On Mon, 15 Jul 2019, Joerg Roedel wrote: > > > > > From: Joerg Roedel > > > > > > Do not require a struct page for the mapped memory location > > > because it might not exist. This can

Re: [PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-15 Thread Joerg Roedel
On Mon, Jul 15, 2019 at 03:08:42PM +0200, Thomas Gleixner wrote: > On Mon, 15 Jul 2019, Joerg Roedel wrote: > > > From: Joerg Roedel > > > > Do not require a struct page for the mapped memory location > > because it might not exist. This can happen when an > > ioremapped region is mapped with 2M

Re: [PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-15 Thread Thomas Gleixner
On Mon, 15 Jul 2019, Joerg Roedel wrote: > From: Joerg Roedel > > Do not require a struct page for the mapped memory location > because it might not exist. This can happen when an > ioremapped region is mapped with 2MB pages. > > Signed-off-by: Joerg Roedel Lacks a Fixes tag, hmm?

[PATCH 1/3] x86/mm: Check for pfn instead of page in vmalloc_sync_one()

2019-07-15 Thread Joerg Roedel
From: Joerg Roedel Do not require a struct page for the mapped memory location because it might not exist. This can happen when an ioremapped region is mapped with 2MB pages. Signed-off-by: Joerg Roedel --- arch/x86/mm/fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a