include/uapi/linux/swab.h:51:(.xiptext+0x3f0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
From: kernel test robot
Date: Fri May 24 2024 - 03:52:28 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6d69b6c12fce479fde7bc06f686212451688a102
commit: 03ce34cf8f50e4c62f9a4b62caffdba1165ca977 xtensa: add XIP-aware MTD support
date: 9 months ago
config: xtensa-randconfig-r023-20230807 (https://download.01.org/0day-ci/archive/20240524/202405241543.eSlEcuSy-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240524/202405241543.eSlEcuSy-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405241543.eSlEcuSy-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x8d): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x95): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0xa3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0xb9): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1ec)
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0xd1): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0xee): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0xfa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x10b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x118): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x12a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x137): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x14b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kmalloc
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x158): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x16a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x176): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x186): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x195): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x1a6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: memset
drivers/mtd/chips/cfi_probe.o:drivers/mtd/chips/cfi_probe.c:197:(.xiptext+0x1af): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:198:(.xiptext+0x1bf): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_probe.c:200:(.xiptext+0x1dc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:204:(.xiptext+0x1ec): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1ec)
drivers/mtd/chips/cfi_probe.c:204:(.xiptext+0x1f8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write1
drivers/mtd/chips/cfi_probe.c:204:(.xiptext+0x210): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:208:(.xiptext+0x21e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.c:208:(.xiptext+0x230): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x18)
drivers/mtd/chips/cfi_probe.c:208:(.xiptext+0x23f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.c:211:(.xiptext+0x254): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o: in function `kmalloc':
include/linux/slab.h:575:(.xiptext+0x262): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
include/linux/slab.h:586:(.xiptext+0x274): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x18)
include/linux/slab.h:586:(.xiptext+0x283): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:212:(.xiptext+0x298): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:212:(.xiptext+0x2a6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.c:212:(.xiptext+0x2b8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x18)
drivers/mtd/chips/cfi_probe.c:212:(.xiptext+0x2c7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.c:215:(.xiptext+0x2dc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:219:(.xiptext+0x2ea): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.c:222:(.xiptext+0x2fc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x18)
drivers/mtd/chips/cfi_probe.c:223:(.xiptext+0x30b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.c:224:(.xiptext+0x31e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:224:(.xiptext+0x32f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.c:223:(.xiptext+0x341): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x18)
drivers/mtd/chips/cfi_probe.c:227:(.xiptext+0x34e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.c:227:(.xiptext+0x35f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:227:(.xiptext+0x372): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.c:227:(.xiptext+0x384): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x18)
drivers/mtd/chips/cfi_probe.c:229:(.xiptext+0x392): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.c:229:(.xiptext+0x3b6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.c:230:(.xiptext+0x3e2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: .text
drivers/mtd/chips/cfi_probe.o: in function `__fswab16':
>> include/uapi/linux/swab.h:51:(.xiptext+0x3f0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write_range
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:231:(.xiptext+0x414): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:231:(.xiptext+0x41f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read1
drivers/mtd/chips/cfi_probe.o: in function `__fswab16':
>> include/uapi/linux/swab.h:51:(.xiptext+0x432): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read_range
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:232:(.xiptext+0x452): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:232:(.xiptext+0x45e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o: in function `__fswab16':
include/uapi/linux/swab.h:51:(.xiptext+0x47a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:232:(.xiptext+0x486): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:233:(.xiptext+0x498): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:233:(.xiptext+0x4af): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_probe.o: in function `__fswab16':
include/uapi/linux/swab.h:51:(.xiptext+0x4b7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:233:(.xiptext+0x4cc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_probe.c:233:(.xiptext+0x4d4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x4e8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x4f0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x508): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_send_gen_cmd
drivers/mtd/chips/cfi_probe.o: in function `__fswab32':
include/uapi/linux/swab.h:60:(.xiptext+0x512): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xc4)
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x51f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x52b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0xc4)
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x53a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:241:(.xiptext+0x544): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:240:(.xiptext+0x55e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:250:(.xiptext+0x56b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:250:(.xiptext+0x57a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1ec)
drivers/mtd/chips/cfi_probe.c:250:(.xiptext+0x58a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: (.text+0x1ec)
drivers/mtd/chips/cfi_probe.c:250:(.xiptext+0x597): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:250:(.xiptext+0x5aa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:250:(.xiptext+0x5b6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:263:(.xiptext+0x5c9): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:263:(.xiptext+0x5e4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read2
drivers/mtd/chips/cfi_probe.c:264:(.xiptext+0x5fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read2
drivers/mtd/chips/cfi_probe.c:265:(.xiptext+0x610): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:266:(.xiptext+0x623): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:266:(.xiptext+0x630): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:267:(.xiptext+0x642): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:267:(.xiptext+0x652): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:268:(.xiptext+0x65e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:268:(.xiptext+0x66a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:276:(.xiptext+0x6fa): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
drivers/mtd/chips/cfi_probe.c:277:(.xiptext+0x704): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o: in function `cfi_early_fixup':
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x71b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x726): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x740): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x74c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x75f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x76c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x78b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:84:(.xiptext+0x795): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.o: in function `cfi_chip_setup':
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x7b0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x7ba): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x7cc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x7de): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x7e8): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x806): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:286:(.xiptext+0x812): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x82f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_volatile_read4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x846): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x853): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x86a): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x87b): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x896): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x8a5): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:98:(.xiptext+0x8cf): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.o: in function `cfi_probe_chip':
drivers/mtd/chips/cfi_probe.c:101:(.xiptext+0x8e4): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:101:(.xiptext+0x8f0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:101:(.xiptext+0x8fb): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:107:(.xiptext+0x917): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:107:(.xiptext+0x926): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:107:(.xiptext+0x94f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:115:(.xiptext+0x95c): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:115:(.xiptext+0x968): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:116:(.xiptext+0x98e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __kcsan_check_access
drivers/mtd/chips/cfi_probe.c:120:(.xiptext+0x9b6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_probe.c:120:(.xiptext+0x9c0): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_probe.c:120:(.xiptext+0x9d7): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x4e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: _mcount
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x56): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x60): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x73): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x83): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x93): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: cfi_build_cmd
drivers/mtd/chips/cfi_util.o:drivers/mtd/chips/cfi_util.c:221:(.xiptext+0xa2): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.o: in function `cfi_qry_present':
drivers/mtd/chips/cfi_util.c:221:(.xiptext+0xbc): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.c:222:(.xiptext+0xd3): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.c:227:(.xiptext+0xf6): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.c:221:(.xiptext+0x102): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_util.c:230:(.xiptext+0x114): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.c:230:(.xiptext+0x123): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_util.c:231:(.xiptext+0x132): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.c:231:(.xiptext+0x13e): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_util.c:234:(.xiptext+0x156): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
drivers/mtd/chips/cfi_util.c:234:(.xiptext+0x162): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_write4
drivers/mtd/chips/cfi_util.c:234:(.xiptext+0x16f): dangerous relocation: windowed longcall crosses 1GB boundary; return may fail: __tsan_read4
vim +51 include/uapi/linux/swab.h
607ca46e97a1b6 David Howells 2012-10-13 9
607ca46e97a1b6 David Howells 2012-10-13 10 /*
607ca46e97a1b6 David Howells 2012-10-13 11 * casts are necessary for constants, because we never know how for sure
607ca46e97a1b6 David Howells 2012-10-13 12 * how U/UL/ULL map to __u16, __u32, __u64. At least not in a portable way.
607ca46e97a1b6 David Howells 2012-10-13 13 */
607ca46e97a1b6 David Howells 2012-10-13 14 #define ___constant_swab16(x) ((__u16)( \
607ca46e97a1b6 David Howells 2012-10-13 15 (((__u16)(x) & (__u16)0x00ffU) << 8) | \
607ca46e97a1b6 David Howells 2012-10-13 16 (((__u16)(x) & (__u16)0xff00U) >> 8)))
607ca46e97a1b6 David Howells 2012-10-13 17
607ca46e97a1b6 David Howells 2012-10-13 18 #define ___constant_swab32(x) ((__u32)( \
607ca46e97a1b6 David Howells 2012-10-13 19 (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
607ca46e97a1b6 David Howells 2012-10-13 20 (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
607ca46e97a1b6 David Howells 2012-10-13 21 (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
607ca46e97a1b6 David Howells 2012-10-13 22 (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
607ca46e97a1b6 David Howells 2012-10-13 23
607ca46e97a1b6 David Howells 2012-10-13 24 #define ___constant_swab64(x) ((__u64)( \
607ca46e97a1b6 David Howells 2012-10-13 25 (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \
607ca46e97a1b6 David Howells 2012-10-13 26 (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \
607ca46e97a1b6 David Howells 2012-10-13 27 (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \
607ca46e97a1b6 David Howells 2012-10-13 28 (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \
607ca46e97a1b6 David Howells 2012-10-13 29 (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \
607ca46e97a1b6 David Howells 2012-10-13 30 (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \
607ca46e97a1b6 David Howells 2012-10-13 31 (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \
607ca46e97a1b6 David Howells 2012-10-13 32 (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56)))
607ca46e97a1b6 David Howells 2012-10-13 33
607ca46e97a1b6 David Howells 2012-10-13 34 #define ___constant_swahw32(x) ((__u32)( \
607ca46e97a1b6 David Howells 2012-10-13 35 (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | \
607ca46e97a1b6 David Howells 2012-10-13 36 (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
607ca46e97a1b6 David Howells 2012-10-13 37
607ca46e97a1b6 David Howells 2012-10-13 38 #define ___constant_swahb32(x) ((__u32)( \
607ca46e97a1b6 David Howells 2012-10-13 39 (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
607ca46e97a1b6 David Howells 2012-10-13 40 (((__u32)(x) & (__u32)0xff00ff00UL) >> 8)))
607ca46e97a1b6 David Howells 2012-10-13 41
607ca46e97a1b6 David Howells 2012-10-13 42 /*
607ca46e97a1b6 David Howells 2012-10-13 43 * Implement the following as inlines, but define the interface using
607ca46e97a1b6 David Howells 2012-10-13 44 * macros to allow constant folding when possible:
607ca46e97a1b6 David Howells 2012-10-13 45 * ___swab16, ___swab32, ___swab64, ___swahw32, ___swahb32
607ca46e97a1b6 David Howells 2012-10-13 46 */
607ca46e97a1b6 David Howells 2012-10-13 47
607ca46e97a1b6 David Howells 2012-10-13 48 static inline __attribute_const__ __u16 __fswab16(__u16 val)
607ca46e97a1b6 David Howells 2012-10-13 49 {
7322dd755e7dd3 Arnd Bergmann 2016-05-05 50 #if defined (__arch_swab16)
607ca46e97a1b6 David Howells 2012-10-13 @51 return __arch_swab16(val);
607ca46e97a1b6 David Howells 2012-10-13 52 #else
607ca46e97a1b6 David Howells 2012-10-13 53 return ___constant_swab16(val);
607ca46e97a1b6 David Howells 2012-10-13 54 #endif
607ca46e97a1b6 David Howells 2012-10-13 55 }
607ca46e97a1b6 David Howells 2012-10-13 56
:::::: The code at line 51 was first introduced by commit
:::::: 607ca46e97a1b6594b29647d98a32d545c24bdff UAPI: (Scripted) Disintegrate include/linux
:::::: TO: David Howells <dhowells@xxxxxxxxxx>
:::::: CC: David Howells <dhowells@xxxxxxxxxx>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki