Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-31 Thread Richard Weinberger
Am 29.01.2016 um 15:31 schrieb Nicolai Stange: >>> Question 1: now that ->pte_high will be gone, do you want to have >>> ->pte_low renamed to e.g. ->pte_val? >> >> So, with a freshly booted brain the story looks a bit different. >> All this code needs a cleanup and we need to check what

Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-29 Thread Nicolai Stange
Richard Weinberger writes: > Am 29.01.2016 um 02:32 schrieb Nicolai Stange: >> Richard Weinberger writes: >> >>> Am 29.01.2016 um 00:56 schrieb Nicolai Stange: Commit 16da306849d0 ("um: kill pfn_t") introduced a compile warning for defconfig: arch/um/kernel/skas/mmu.c:38:2

Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-29 Thread Richard Weinberger
Am 29.01.2016 um 02:32 schrieb Nicolai Stange: > Richard Weinberger writes: > >> Am 29.01.2016 um 00:56 schrieb Nicolai Stange: >>> Commit 16da306849d0 ("um: kill pfn_t") >>> introduced a compile warning for defconfig: >>> >>> arch/um/kernel/skas/mmu.c:38:206: warning: right shift count >= widt

Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-28 Thread Nicolai Stange
Richard Weinberger writes: > Am 29.01.2016 um 00:56 schrieb Nicolai Stange: >> Commit 16da306849d0 ("um: kill pfn_t") >> introduced a compile warning for defconfig: >> >> arch/um/kernel/skas/mmu.c:38:206: warning: right shift count >= width of >> type >> [-

Re: [PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-28 Thread Richard Weinberger
Am 29.01.2016 um 00:56 schrieb Nicolai Stange: > Commit 16da306849d0 ("um: kill pfn_t") > introduced a compile warning for defconfig: > > arch/um/kernel/skas/mmu.c:38:206: warning: right shift count >= width of > type > [-Wshift-count-overflow] > > Aforement

[PATCH] um: asm/page.h: zero out a pte's high value in set_pte_val()

2016-01-28 Thread Nicolai Stange
Commit 16da306849d0 ("um: kill pfn_t") introduced a compile warning for defconfig: arch/um/kernel/skas/mmu.c:38:206: warning: right shift count >= width of type [-Wshift-count-overflow] Aforementioned patch changes the definition of the phys_to_pfn() macro fr