From: Chintan Pandya <cpandya@codeaurora.org>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, catalin.marinas@arm.com, will.deacon@arm.com,
mark.rutland@arm.com, toshi.kani@hpe.com, arnd@arndb.de,
ard.biesheuvel@linaro.org, marc.zyngier@arm.com,
james.morse@arm.com, kristina.martsenko@arm.com,
takahiro.akashi@linaro.org, gregkh@linuxfoundation.org,
tglx@linutronix.de, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org,
akpm@linux-foundation.org
Subject: Re: [PATCH v7 1/4] ioremap: Update pgtable free interfaces with addr
Date: Tue, 3 Apr 2018 13:31:52 +0530 [thread overview]
Message-ID: <95da57a0-dcf9-c829-1c4b-6492d7681750@codeaurora.org> (raw)
In-Reply-To: <201803291957.TombWSzK%fengguang.wu@intel.com>
On 3/29/2018 5:23 PM, kbuild test robot wrote:
> Hi Chintan,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on v4.16-rc7]
> [also build test ERROR on next-20180328]
> [cannot apply to arm64/for-next/core tip/x86/core asm-generic/master]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url: https://github.com/0day-ci/linux/commits/Chintan-Pandya/ioremap-Update-pgtable-free-interfaces-with-addr/20180329-133736
> config: x86_64-rhel (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
> arch/x86/mm/pgtable.c: In function 'pud_free_pmd_page':
>>> arch/x86/mm/pgtable.c:725:8: error: too few arguments to function 'pmd_free_pte_page'
> if (!pmd_free_pte_page(&pmd[i]), addr + (i * PMD_SIZE))
> ^~~~~~~~~~~~~~~~~
> In file included from arch/x86/include/asm/pgtable.h:1292:0,
> from include/linux/memremap.h:8,
> from include/linux/mm.h:27,
> from arch/x86/mm/pgtable.c:2:
> include/asm-generic/pgtable.h:987:5: note: declared here
> int pmd_free_pte_page(pmd_t *pmd, unsigned long addr);
> ^~~~~~~~~~~~~~~~~
> arch/x86/mm/pgtable.c:725:34: warning: left-hand operand of comma expression has no effect [-Wunused-value]
> if (!pmd_free_pte_page(&pmd[i]), addr + (i * PMD_SIZE))
> ^
>
> vim +/pmd_free_pte_page +725 arch/x86/mm/pgtable.c
>
> 705
> 706 /**
> 707 * pud_free_pmd_page - Clear pud entry and free pmd page.
> 708 * @pud: Pointer to a PUD.
> 709 * @addr: Virtual address associated with pud.
> 710 *
> 711 * Context: The pud range has been unmaped and TLB purged.
> 712 * Return: 1 if clearing the entry succeeded. 0 otherwise.
> 713 */
> 714 int pud_free_pmd_page(pud_t *pud, unsigned long addr)
> 715 {
> 716 pmd_t *pmd;
> 717 int i;
> 718
> 719 if (pud_none(*pud))
> 720 return 1;
> 721
> 722 pmd = (pmd_t *)pud_page_vaddr(*pud);
> 723
> 724 for (i = 0; i < PTRS_PER_PMD; i++)
> > 725 if (!pmd_free_pte_page(&pmd[i]), addr + (i * PMD_SIZE))
Missed it. Will upload v8
> 726 return 0;
> 727
> 728 pud_clear(pud);
> 729 free_page((unsigned long)pmd);
> 730
> 731 return 1;
> 732 }
> 733
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
Chintan
--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center,
Inc. is a member of the Code Aurora Forum, a Linux Foundation
Collaborative Project
next prev parent reply other threads:[~2018-04-03 8:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-28 12:31 [PATCH v7 0/4] Fix issues with huge mapping in ioremap for ARM64 Chintan Pandya
2018-03-28 12:31 ` Chintan Pandya
2018-03-28 12:31 ` [PATCH v7 1/4] ioremap: Update pgtable free interfaces with addr Chintan Pandya
2018-03-28 12:31 ` Chintan Pandya
2018-03-29 11:53 ` kbuild test robot
2018-03-29 11:53 ` kbuild test robot
2018-04-03 8:01 ` Chintan Pandya [this message]
2018-04-03 8:01 ` Chintan Pandya
2018-03-28 12:31 ` [PATCH v7 2/4] arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable Chintan Pandya
2018-03-28 12:31 ` Chintan Pandya
2018-03-28 12:31 ` [PATCH v7 3/4] arm64: Implement page table free interfaces Chintan Pandya
2018-03-28 12:31 ` Chintan Pandya
2018-03-28 12:31 ` [PATCH v7 4/4] Revert "arm64: Enforce BBM for huge IO/VMAP mappings" Chintan Pandya
2018-03-28 12:31 ` Chintan Pandya
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95da57a0-dcf9-c829-1c4b-6492d7681750@codeaurora.org \
--to=cpandya@codeaurora.org \
--cc=akpm@linux-foundation.org \
--cc=ard.biesheuvel@linaro.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=gregkh@linuxfoundation.org \
--cc=james.morse@arm.com \
--cc=kbuild-all@01.org \
--cc=kristina.martsenko@arm.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=takahiro.akashi@linaro.org \
--cc=tglx@linutronix.de \
--cc=toshi.kani@hpe.com \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox