From: kernel test robot <lkp@intel.com>
To: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: linuxppc-dev@lists.ozlabs.org, oe-kbuild-all@lists.linux.dev
Subject: [powerpc:next-test 9/109] arch/powerpc/include/asm/paca.h:155:30: error: field 'tcd' has incomplete type
Date: Tue, 22 Aug 2023 07:28:45 +0800 [thread overview]
Message-ID: <202308220708.nRf5AUAe-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test
head: 0f71dcfb4aef6043da6cc509e7a7f6a3ae87c12d
commit: 3a24ea0df83e32355d897a18bbd82e05986dcdc3 [9/109] powerpc/kuap: Use ASM feature fixups instead of static branches
config: powerpc64-randconfig-r036-20230822 (https://download.01.org/0day-ci/archive/20230822/202308220708.nRf5AUAe-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230822/202308220708.nRf5AUAe-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/202308220708.nRf5AUAe-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/powerpc/include/asm/percpu.h:20,
from arch/powerpc/include/asm/mmu.h:148,
from arch/powerpc/include/asm/nohash/kup-booke.h:6,
from arch/powerpc/include/asm/kup.h:24,
from arch/powerpc/mm/nohash/kup.c:11:
>> arch/powerpc/include/asm/paca.h:155:30: error: field 'tcd' has incomplete type
155 | struct tlb_core_data tcd;
| ^~~
arch/powerpc/include/asm/paca.h:291:36: error: 'struct mm_struct' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
291 | extern void copy_mm_to_paca(struct mm_struct *mm);
| ^~~~~~~~~
cc1: all warnings being treated as errors
vim +/tcd +155 arch/powerpc/include/asm/paca.h
91c60b5b820962 Benjamin Herrenschmidt 2009-06-02 131
e0d68273d70695 Christophe Leroy 2022-09-19 132 #ifdef CONFIG_PPC_BOOK3E_64
016f8cf0d87bb2 Kevin Hao 2015-03-10 133 u64 exgen[8] __aligned(0x40);
f67f4ef5fcdfde Scott Wood 2011-06-22 134 /* Keep pgd in the same cacheline as the start of extlb */
016f8cf0d87bb2 Kevin Hao 2015-03-10 135 pgd_t *pgd __aligned(0x40); /* Current PGD */
f67f4ef5fcdfde Scott Wood 2011-06-22 136 pgd_t *kernel_pgd; /* Kernel PGD */
28efc35fe68dac Scott Wood 2013-10-11 137
28efc35fe68dac Scott Wood 2013-10-11 138 /* Shared by all threads of a core -- points to tcd of first thread */
28efc35fe68dac Scott Wood 2013-10-11 139 struct tlb_core_data *tcd_ptr;
28efc35fe68dac Scott Wood 2013-10-11 140
609af38f8fc0f1 Scott Wood 2014-03-10 141 /*
609af38f8fc0f1 Scott Wood 2014-03-10 142 * We can have up to 3 levels of reentrancy in the TLB miss handler,
609af38f8fc0f1 Scott Wood 2014-03-10 143 * in each of four exception levels (normal, crit, mcheck, debug).
609af38f8fc0f1 Scott Wood 2014-03-10 144 */
609af38f8fc0f1 Scott Wood 2014-03-10 145 u64 extlb[12][EX_TLB_SIZE / sizeof(u64)];
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 146 u64 exmc[8]; /* used for machine checks */
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 147 u64 excrit[8]; /* used for crit interrupts */
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 148 u64 exdbg[8]; /* used for debug interrupts */
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 149
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 150 /* Kernel stack pointers for use by special exceptions */
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 151 void *mc_kstack;
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 152 void *crit_kstack;
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 153 void *dbg_kstack;
28efc35fe68dac Scott Wood 2013-10-11 154
28efc35fe68dac Scott Wood 2013-10-11 @155 struct tlb_core_data tcd;
e0d68273d70695 Christophe Leroy 2022-09-19 156 #endif /* CONFIG_PPC_BOOK3E_64 */
dce6670aaa7efe Benjamin Herrenschmidt 2009-07-23 157
:::::: The code at line 155 was first introduced by commit
:::::: 28efc35fe68dacbddc4b12c2fa8f2df1593a4ad3 powerpc/e6500: TLB miss handler with hardware tablewalk support
:::::: TO: Scott Wood <scottwood@freescale.com>
:::::: CC: Scott Wood <scottwood@freescale.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-21 23:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202308220708.nRf5AUAe-lkp@intel.com \
--to=lkp@intel.com \
--cc=christophe.leroy@csgroup.eu \
--cc=linuxppc-dev@lists.ozlabs.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).