linux/arch/arc
Vineet Gupta 2519d75367 ARC: Fix PAE40 boot failures due to PTE truncation
So a benign looking cleanup which macro'ized PAGE_SHIFT shifts turned
out to be bad (since it was done non-sensically across the board).

It caused boot failures with PAE40 as forced cast to (unsigned long)
from newly introduced virt_to_pfn() was causing truncatiion of the
(long long) pte/paddr values.

It is OK to use this in accessors dealing with kernel virtual address,
pointers etc, but not for PTE values themelves.

Fixes: cJ2ff5cf2735c ("ARC: mm: Use virt_to_pfn() for addr >> PAGE_SHIFT pattern)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2016-05-05 16:35:45 +05:30
..
boot Revert "ARC: [plat-axs10x] add Ethernet PHY description in .dts" 2016-04-07 14:59:09 +05:30
configs ARC: [plat-axs103] Enable loop block devices 2016-04-07 14:59:09 +05:30
include ARC: Fix PAE40 boot failures due to PTE truncation 2016-05-05 16:35:45 +05:30
kernel ARCv2: Enable LOCKDEP 2016-04-22 18:12:31 +05:30
lib ARCv2: lib: memcpy: use local symbols 2015-11-03 17:33:00 +05:30
mm ARC: add support for reserved memory defined by device tree 2016-04-27 17:06:56 +05:30
oprofile ARC: OProfile support 2013-02-15 23:16:00 +05:30
plat-axs10x ARC: Add PCI support 2016-03-10 14:44:13 -06:00
plat-sim ARC: remove extraneous header include 2015-11-14 13:11:38 +05:30
plat-tb10x ARC: [plat*] move code out of .init_machine into common 2014-10-13 14:46:13 +05:30
Kbuild
Kconfig ARC: add support for reserved memory defined by device tree 2016-04-27 17:06:56 +05:30
Kconfig.debug ARC: With earlycon in use, retire EARLY_PRINTK 2015-05-11 11:20:21 +05:30
Makefile ARC: build: Turn off -Wmaybe-uninitialized for ARC gcc 4.8 2016-03-18 16:22:36 +05:30