All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v3 05/16] powerpc/mm: Fix __find_linux_pte() on 32 bits with PMD leaf entries
Date: Sun, 26 May 2024 23:02:07 +0800	[thread overview]
Message-ID: <202405262205.rweOWRhx-lkp@intel.com> (raw)
In-Reply-To: <aa54834e9ee5e40179def32ff5834a8a2a02c413.1716714720.git.christophe.leroy@csgroup.eu>

Hi Christophe,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:

[auto build test WARNING on powerpc/next]
[also build test WARNING on powerpc/fixes arm64/for-next/core v6.9]
[cannot apply to akpm-mm/mm-everything s390/features linus/master next-20240523]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Christophe-Leroy/powerpc-64e-Remove-unused-IBM-HTW-code-SQUASHED/20240526-172511
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
patch link:    https://lore.kernel.org/r/aa54834e9ee5e40179def32ff5834a8a2a02c413.1716714720.git.christophe.leroy%40csgroup.eu
patch subject: [RFC PATCH v3 05/16] powerpc/mm: Fix __find_linux_pte() on 32 bits with PMD leaf entries
config: powerpc-randconfig-001-20240526 (https://download.01.org/0day-ci/archive/20240526/202405262205.rweOWRhx-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240526/202405262205.rweOWRhx-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405262205.rweOWRhx-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> arch/powerpc/mm/pgtable.c:503:18: warning: variable 'pdshift' is uninitialized when used here [-Wuninitialized]
     503 |                 *hpage_shift = pdshift;
         |                                ^~~~~~~
   arch/powerpc/mm/pgtable.c:392:18: note: initialize the variable 'pdshift' to silence this warning
     392 |         unsigned pdshift;
         |                         ^
         |                          = 0
   1 warning generated.


vim +/pdshift +503 arch/powerpc/mm/pgtable.c

a00196a27216133 Nicholas Piggin   2019-06-07  475  
0caed4de502c769 Christophe Leroy  2019-04-26  476  	if (pmd_trans_huge(pmd) || pmd_devmap(pmd)) {
0caed4de502c769 Christophe Leroy  2019-04-26  477  		if (is_thp)
0caed4de502c769 Christophe Leroy  2019-04-26  478  			*is_thp = true;
0caed4de502c769 Christophe Leroy  2019-04-26  479  		ret_pte = (pte_t *)pmdp;
0caed4de502c769 Christophe Leroy  2019-04-26  480  		goto out;
0caed4de502c769 Christophe Leroy  2019-04-26  481  	}
d6eacedd1f0ebf0 Aneesh Kumar K.V  2019-05-14  482  
bd18b688220c722 Peter Xu          2024-03-05  483  	if (pmd_leaf(pmd)) {
0caed4de502c769 Christophe Leroy  2019-04-26  484  		ret_pte = (pte_t *)pmdp;
0caed4de502c769 Christophe Leroy  2019-04-26  485  		goto out;
fab9a1165bcda99 Christophe Leroy  2019-04-26  486  	}
d6eacedd1f0ebf0 Aneesh Kumar K.V  2019-05-14  487  
fab9a1165bcda99 Christophe Leroy  2019-04-26  488  	if (is_hugepd(__hugepd(pmd_val(pmd)))) {
0caed4de502c769 Christophe Leroy  2019-04-26  489  		hpdp = (hugepd_t *)&pmd;
fab9a1165bcda99 Christophe Leroy  2019-04-26  490  		goto out_huge;
fab9a1165bcda99 Christophe Leroy  2019-04-26  491  	}
fab9a1165bcda99 Christophe Leroy  2019-04-26  492  
0caed4de502c769 Christophe Leroy  2019-04-26  493  	return pte_offset_kernel(&pmd, ea);
26e66b08c3376b6 Christophe Leroy  2019-04-26  494  
fab9a1165bcda99 Christophe Leroy  2019-04-26  495  out_huge:
0caed4de502c769 Christophe Leroy  2019-04-26  496  	if (!hpdp)
0caed4de502c769 Christophe Leroy  2019-04-26  497  		return NULL;
0caed4de502c769 Christophe Leroy  2019-04-26  498  
0caed4de502c769 Christophe Leroy  2019-04-26  499  	ret_pte = hugepte_offset(*hpdp, ea, pdshift);
0caed4de502c769 Christophe Leroy  2019-04-26  500  	pdshift = hugepd_shift(*hpdp);
0caed4de502c769 Christophe Leroy  2019-04-26  501  out:
0caed4de502c769 Christophe Leroy  2019-04-26  502  	if (hpage_shift)
0caed4de502c769 Christophe Leroy  2019-04-26 @503  		*hpage_shift = pdshift;
0caed4de502c769 Christophe Leroy  2019-04-26  504  	return ret_pte;
0caed4de502c769 Christophe Leroy  2019-04-26  505  }
0caed4de502c769 Christophe Leroy  2019-04-26  506  EXPORT_SYMBOL_GPL(__find_linux_pte);
6eac1eaf2105dd8 Anshuman Khandual 2022-07-11  507  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  reply	other threads:[~2024-05-26 15:02 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-26  9:22 [RFC PATCH v3 00/16] Reimplement huge pages without hugepd on powerpc (8xx, e500, book3s/64) Christophe Leroy
2024-05-26  9:22 ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 01/16] powerpc/64e: Remove unused IBM HTW code [SQUASHED] Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 02/16] mm: Define __pte_leaf_size() to also take a PMD entry Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-27  4:52   ` Oscar Salvador
2024-05-27  4:52     ` Oscar Salvador
2024-05-26  9:22 ` [RFC PATCH v3 03/16] mm: Provide mm_struct and address to huge_ptep_get() Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26 15:54   ` kernel test robot
2024-05-26 16:05   ` kernel test robot
2024-05-27 11:19   ` Oscar Salvador
2024-05-27 11:19     ` Oscar Salvador
2024-05-27 15:51     ` Christophe Leroy
2024-05-27 15:51       ` Christophe Leroy
2024-05-27 17:38       ` Oscar Salvador
2024-05-27 17:38         ` Oscar Salvador
2024-05-26  9:22 ` [RFC PATCH v3 04/16] powerpc/mm: Remove _PAGE_PSIZE Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 05/16] powerpc/mm: Fix __find_linux_pte() on 32 bits with PMD leaf entries Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26 15:02   ` kernel test robot [this message]
2024-05-27  4:55   ` Oscar Salvador
2024-05-27  4:55     ` Oscar Salvador
2024-05-27  5:16     ` Christophe Leroy
2024-05-27  5:16       ` Christophe Leroy
2024-05-27 11:25   ` Oscar Salvador
2024-05-27 11:25     ` Oscar Salvador
2024-05-26  9:22 ` [RFC PATCH v3 06/16] powerpc/mm: Allow hugepages without hugepd Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-27 11:49   ` Oscar Salvador
2024-05-27 11:49     ` Oscar Salvador
2024-05-26  9:22 ` [RFC PATCH v3 07/16] powerpc/8xx: Fix size given to set_huge_pte_at() Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-27  4:56   ` Oscar Salvador
2024-05-27  4:56     ` Oscar Salvador
2024-05-26  9:22 ` [RFC PATCH v3 08/16] powerpc/8xx: Rework support for 8M pages using contiguous PTE entries Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-27 12:10   ` Oscar Salvador
2024-05-27 12:10     ` Oscar Salvador
2024-05-28 10:53     ` Christophe Leroy
2024-05-28 10:53       ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 09/16] powerpc/8xx: Simplify struct mmu_psize_def Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 10/16] powerpc/e500: Remove enc and ind fields from " Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 11/16] powerpc/e500: Switch to 64 bits PGD on 85xx (32 bits) Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 12/16] powerpc/e500: Encode hugepage size in PTE bits Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 13/16] powerpc/e500: Use contiguous PMD instead of hugepd Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 14/16] powerpc/64s: Use contiguous PMD/PUD instead of HUGEPD Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 15/16] powerpc/mm: Remove hugepd leftovers Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26  9:22 ` [RFC PATCH v3 16/16] mm: Remove CONFIG_ARCH_HAS_HUGEPD Christophe Leroy
2024-05-26  9:22   ` Christophe Leroy
2024-05-26 11:04 ` [RFC PATCH v3 00/16] Reimplement huge pages without hugepd on powerpc (8xx, e500, book3s/64) Oscar Salvador
2024-05-26 11:04   ` Oscar Salvador

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=202405262205.rweOWRhx-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=christophe.leroy@csgroup.eu \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.