arch/blackfin/mach-common/arch_checks.c:65:3: error: #error You need IFLUSH in L1 inst while Anomaly 05000491 applies

From: kbuild test robot
Date: Sat Jun 11 2016 - 15:56:03 EST


Hi,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 45b00c94be33db5d00595046663163ce55cbbfb9
commit: 74181295fbc6e65047e85529aa74457d82355ffc Blackfin: allow cache funcs to be in L1 for IFLUSH Anomaly 05000491
date: 6 years ago
config: blackfin-allnoconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 4.6.3
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
git checkout 74181295fbc6e65047e85529aa74457d82355ffc
# save the attached .config to linux build tree
make.cross ARCH=blackfin

All errors (new ones prefixed by >>):

>> arch/blackfin/mach-common/arch_checks.c:65:3: error: #error You need IFLUSH in L1 inst while Anomaly 05000491 applies

vim +65 arch/blackfin/mach-common/arch_checks.c

59 #if ANOMALY_05000220 && \
60 (defined(CONFIG_BFIN_EXTMEM_WRITEBACK) || defined(CONFIG_BFIN_L2_WRITEBACK))
61 # error "Anomaly 05000220 does not allow you to use Write Back cache with L2 or External Memory"
62 #endif
63
64 #if ANOMALY_05000491 && !defined(CONFIG_CACHE_FLUSH_L1)
> 65 # error You need IFLUSH in L1 inst while Anomaly 05000491 applies
66 #endif

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data