Re: [PATCH v5 08/23] powerpc/8xx: Map IMMR area with 512k page at a fixed address
From: kbuild test robot
Date: Thu Feb 04 2016 - 05:00:02 EST
Hi Christophe,
[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.5-rc2 next-20160204]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-8xx-Use-large-pages-for-RAM-and-IMMR-and-other-improvments/20160204-071322
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-mpc885_ads_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All errors (new ones prefixed by >>):
arch/powerpc/mm/8xx_mmu.c: In function 'mmu_mapin_immr':
>> arch/powerpc/mm/8xx_mmu.c:61:17: error: lvalue required as left operand of assignment
pmd_val(*pmdp) = val;
^
vim +61 arch/powerpc/mm/8xx_mmu.c
55 unsigned long v = VIRT_IMMR_BASE;
56 #ifdef CONFIG_PPC_4K_PAGES
57 pmd_t *pmdp;
58 unsigned long val = p | MD_PS512K | MD_GUARDED;
59
60 pmdp = pmd_offset(pud_offset(pgd_offset_k(v), v), v);
> 61 pmd_val(*pmdp) = val;
62 #else /* CONFIG_PPC_16K_PAGES */
63 unsigned long f = pgprot_val(PAGE_KERNEL_NCG);
64 int offset;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data