# git rev-parse -q --verify cb95712138ec5e480db5160b41172bbc6f6494cc^{commit} cb95712138ec5e480db5160b41172bbc6f6494cc already have revision, skipping fetch # git checkout -q -f -B kisskb cb95712138ec5e480db5160b41172bbc6f6494cc # git clean -qxdf # < git log -1 # commit cb95712138ec5e480db5160b41172bbc6f6494cc # Merge: 550c2129d93d 64ef8f2c4791 # Author: Linus Torvalds # Date: Sun Aug 23 11:37:23 2020 -0700 # # Merge tag 'powerpc-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux # # Pull powerpc fixes from Michael Ellerman: # # - Add perf support for emitting extended registers for power10. # # - A fix for CPU hotplug on pseries, where on large/loaded systems we # may not wait long enough for the CPU to be offlined, leading to # crashes. # # - Addition of a raw cputable entry for Power10, which is not required # to boot, but is required to make our PMU setup work correctly in # guests. # # - Three fixes for the recent changes on 32-bit Book3S to move modules # into their own segment for strict RWX. # # - A fix for a recent change in our powernv PCI code that could lead to # crashes. # # - A change to our perf interrupt accounting to avoid soft lockups when # using some events, found by syzkaller. # # - A change in the way we handle power loss events from the hypervisor # on pseries. We no longer immediately shut down if we're told we're # running on a UPS. # # - A few other minor fixes. # # Thanks to Alexey Kardashevskiy, Andreas Schwab, Aneesh Kumar K.V, Anju T # Sudhakar, Athira Rajeev, Christophe Leroy, Frederic Barrat, Greg Kurz, # Kajol Jain, Madhavan Srinivasan, Michael Neuling, Michael Roth, # Nageswara R Sastry, Oliver O'Halloran, Thiago Jung Bauermann, # Vaidyanathan Srinivasan, Vasant Hegde. # # * tag 'powerpc-5.9-3' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux: # powerpc/perf/hv-24x7: Move cpumask file to top folder of hv-24x7 driver # powerpc/32s: Fix module loading failure when VMALLOC_END is over 0xf0000000 # powerpc/pseries: Do not initiate shutdown when system is running on UPS # powerpc/perf: Fix soft lockups due to missed interrupt accounting # powerpc/powernv/pci: Fix possible crash when releasing DMA resources # powerpc/pseries/hotplug-cpu: wait indefinitely for vCPU death # powerpc/32s: Fix is_module_segment() when MODULES_VADDR is defined # powerpc/kasan: Fix KASAN_SHADOW_START on BOOK3S_32 # powerpc/fixmap: Fix the size of the early debug area # powerpc/pkeys: Fix build error with PPC_MEM_KEYS disabled # powerpc/kernel: Cleanup machine check function declarations # powerpc: Add POWER10 raw mode cputable entry # powerpc/perf: Add extended regs support for power10 platform # powerpc/perf: Add support for outputting extended regs in perf intr_regs # powerpc: Fix P10 PVR revision in /proc/cpuinfo for SMT4 cores # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 cb95712138ec5e480db5160b41172bbc6f6494cc # < make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # Added to kconfig CONFIG_MIPS_CPS_NS16550_BASE=0x1b0003f8 # Added to kconfig CONFIG_MIPS_CPS_NS16550_SHIFT=0 # < make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- help # make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- olddefconfig .config:12463:warning: override: reassigning to symbol MIPS_CPS_NS16550_SHIFT # make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- In file included from /kisskb/src/include/linux/compiler_types.h:65, from : /kisskb/src/arch/mips/oprofile/op_model_mipsxx.c: In function 'mipsxx_perfcount_handler': /kisskb/src/include/linux/compiler_attributes.h:214:41: warning: statement will never be executed [-Wswitch-unreachable] # define fallthrough __attribute__((__fallthrough__)) ^~~~~~~~~~~~~ /kisskb/src/arch/mips/oprofile/op_model_mipsxx.c:248:2: note: in expansion of macro 'fallthrough' fallthrough; \ ^~~~~~~~~~~ /kisskb/src/arch/mips/oprofile/op_model_mipsxx.c:258:2: note: in expansion of macro 'HANDLE_COUNTER' HANDLE_COUNTER(3) ^~~~~~~~~~~~~~ /kisskb/src/drivers/input/joystick/analog.c:160:2: warning: #warning Precise timer not defined for this architecture. [-Wcpp] #warning Precise timer not defined for this architecture. ^~~~~~~ In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:28, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:261: warning: "M_SPC_CFG_CLEAR" redefined #define M_SPC_CFG_CLEAR M_BCM1480_SPC_CFG_CLEAR In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:27, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:392: note: this is the location of the previous definition #define M_SPC_CFG_CLEAR _SB_MAKEMASK1(32) In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:28, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/bcm1480_scd.h:262: warning: "M_SPC_CFG_ENABLE" redefined #define M_SPC_CFG_ENABLE M_BCM1480_SPC_CFG_ENABLE In file included from /kisskb/src/arch/mips/include/asm/sibyte/sb1250.h:27, from /kisskb/src/drivers/watchdog/sb_wdog.c:58: /kisskb/src/arch/mips/include/asm/sibyte/sb1250_scd.h:393: note: this is the location of the previous definition #define M_SPC_CFG_ENABLE _SB_MAKEMASK1(33) In file included from /kisskb/src/include/linux/printk.h:405, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/clk.h:13, from /kisskb/src/drivers/crypto/sa2ul.c:11: /kisskb/src/drivers/crypto/sa2ul.c: In function 'sa_sha_init': /kisskb/src/drivers/crypto/sa2ul.c:1486:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] crypto_ahash_digestsize(tfm), (u64)rctx); ^ /kisskb/src/include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call' func(&id, ##__VA_ARGS__); \ ^~~~~~~~~~~ /kisskb/src/include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt,__dynamic_dev_dbg, \ ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/dev_printk.h:115:2: note: in expansion of macro 'dynamic_dev_dbg' dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~~~~~ /kisskb/src/drivers/crypto/sa2ul.c:1485:2: note: in expansion of macro 'dev_dbg' dev_dbg(sa_k3_dev, "init: digest size: %d, rctx=%llx\n", ^~~~~~~ In file included from /kisskb/src/include/linux/bits.h:6, from /kisskb/src/include/linux/bitops.h:5, from /kisskb/src/include/linux/kernel.h:12, from /kisskb/src/include/linux/vdpa.h:5, from /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:4: /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'print_features': /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:27:60: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_MQ) | BIT(VIRTIO_NET_F_CTRL_MAC_ADDR) | BIT(VIRTIO_NET_F_HASH_REPORT) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:27: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:55: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:29:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_SPEED_DUPLEX) | BIT(VIRTIO_F_NOTIFY_ON_EMPTY) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:30: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:56: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:3: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:31: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:62: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:187:18: note: in expansion of macro 'VALID_FEATURES_MASK' if (features & ~VALID_FEATURES_MASK) ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:27:60: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_MQ) | BIT(VIRTIO_NET_F_CTRL_MAC_ADDR) | BIT(VIRTIO_NET_F_HASH_REPORT) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:27: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:28:55: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_RSS) | BIT(VIRTIO_NET_F_RSC_EXT) | BIT(VIRTIO_NET_F_STANDBY) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:29:3: note: in expansion of macro 'BIT' BIT(VIRTIO_NET_F_SPEED_DUPLEX) | BIT(VIRTIO_F_NOTIFY_ON_EMPTY) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:30: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:30:56: note: in expansion of macro 'BIT' BIT(VIRTIO_F_ANY_LAYOUT) | BIT(VIRTIO_F_VERSION_1) | BIT(VIRTIO_F_ACCESS_PLATFORM) | \ ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:3: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:31: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:31:62: note: in expansion of macro 'BIT' BIT(VIRTIO_F_RING_PACKED) | BIT(VIRTIO_F_ORDER_PLATFORM) | BIT(VIRTIO_F_SR_IOV)) ^~~ /kisskb/src/include/linux/dev_printk.h:106:33: note: in expansion of macro 'VALID_FEATURES_MASK' _dev_warn(dev, dev_fmt(fmt), ##__VA_ARGS__) ^~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/core/mlx5_vdpa.h:80:2: note: in expansion of macro 'dev_warn' dev_warn((__dev)->mdev->device, "%s:%d:(pid %d) warning: " format, __func__, __LINE__, \ ^~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:188:3: note: in expansion of macro 'mlx5_vdpa_warn' mlx5_vdpa_warn(mvdev, "There are invalid feature bits 0x%llx\n", ^~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:220:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_HASH_REPORT); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:221:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_RSS); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:222:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_RSC_EXT); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:223:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_STANDBY); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:224:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_NET_F_SPEED_DUPLEX); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:227:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_VERSION_1); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:228:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_ACCESS_PLATFORM); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:229:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_RING_PACKED); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:230:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_ORDER_PLATFORM); ^~~~~~~~~~~~~~~~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:152:18: note: in expansion of macro 'BIT' if (features & BIT(_feature)) \ ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:231:2: note: in expansion of macro 'MLX5_LOG_VIO_FLAG' MLX5_LOG_VIO_FLAG(VIRTIO_F_SR_IOV); ^~~~~~~~~~~~~~~~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'mlx5_vdpa_get_features': /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:1462:31: note: in expansion of macro 'BIT' ndev->mvdev.mlx_features |= BIT(VIRTIO_F_VERSION_1); ^~~ /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:1463:30: note: in expansion of macro 'BIT' ndev->mvdev.mlx_features |= BIT(VIRTIO_F_ACCESS_PLATFORM); ^~~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c: In function 'verify_min_features': /kisskb/src/include/vdso/bits.h:7:26: warning: left shift count >= width of type [-Wshift-count-overflow] #define BIT(nr) (UL(1) << (nr)) ^~ /kisskb/src/drivers/vdpa/mlx5/net/mlx5_vnet.c:1470:19: note: in expansion of macro 'BIT' if (!(features & BIT(VIRTIO_F_ACCESS_PLATFORM))) ^~~ In file included from /kisskb/src/arch/mips/include/asm/page.h:258, from /kisskb/src/arch/mips/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/arch/mips/include/asm/mips-cps.h:10, from /kisskb/src/arch/mips/include/asm/smp-ops.h:16, from /kisskb/src/arch/mips/include/asm/smp.h:21, from /kisskb/src/include/linux/smp.h:82, from /kisskb/src/include/linux/percpu.h:7, from /kisskb/src/include/linux/prandom.h:12, from /kisskb/src/include/linux/random.h:118, from /kisskb/src/include/linux/net.h:18, from /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:8: /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c: In function 'siw_tx_hdt': /kisskb/src/arch/mips/include/asm/page.h:249:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define virt_to_pfn(kaddr) PFN_DOWN(virt_to_phys((void *)(kaddr))) ^ /kisskb/src/include/asm-generic/memory_model.h:33:41: note: in definition of macro '__pfn_to_page' #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) ^~~ /kisskb/src/arch/mips/include/asm/page.h:249:31: note: in expansion of macro 'PFN_DOWN' #define virt_to_pfn(kaddr) PFN_DOWN(virt_to_phys((void *)(kaddr))) ^~~~~~~~ /kisskb/src/arch/mips/include/asm/page.h:250:41: note: in expansion of macro 'virt_to_pfn' #define virt_to_page(kaddr) pfn_to_page(virt_to_pfn(kaddr)) ^~~~~~~~~~~ /kisskb/src/drivers/infiniband/sw/siw/siw_qp_tx.c:528:23: note: in expansion of macro 'virt_to_page' page_array[seg] = virt_to_page(va & PAGE_MASK); ^~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c:6: /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c: In function 'ice_free_flow_profs': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flex_pipe.c:2921:9: note: in expansion of macro 'ICE_FLOW_ENTRY_HNDL' ICE_FLOW_ENTRY_HNDL(e)); ^~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:5: /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c: In function 'ice_flow_add_entry': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:197:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:946:13: note: in expansion of macro 'ICE_FLOW_ENTRY_HNDL' *entry_h = ICE_FLOW_ENTRY_HNDL(e); ^~~~~~~~~~~~~~~~~~~ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c: In function 'ice_flow_rem_entry': /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.h:198:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define ICE_FLOW_ENTRY_PTR(h) ((struct ice_flow_entry *)(h)) ^ /kisskb/src/drivers/net/ethernet/intel/ice/ice_flow.c:974:10: note: in expansion of macro 'ICE_FLOW_ENTRY_PTR' entry = ICE_FLOW_ENTRY_PTR(entry_h); ^~~~~~~~~~~~~~~~~~ FIT description: Linux 5.9.0-rc1+ Created: Mon Aug 24 07:12:36 2020 Image 0 (kernel@0) Description: Linux 5.9.0-rc1+ Created: Mon Aug 24 07:12:36 2020 Type: Kernel Image Compression: gzip compressed Data Size: 9281236 Bytes = 9063.71 KiB = 8.85 MiB Architecture: MIPS OS: Linux Load Address: 0x84000000 Entry Point: 0x852daf20 Hash algo: sha1 Hash value: bca91c0b0cae1b675783761826ef76c49df63cbe Image 1 (fdt@boston) Description: img,boston Device Tree Created: Mon Aug 24 07:12:36 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 3793 Bytes = 3.70 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 4799f50d688573234da6e9d7701234d394759ef4 Image 2 (fdt@ni169445) Description: NI 169445 device tree Created: Mon Aug 24 07:12:36 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 1871 Bytes = 1.83 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 51b89b31605ee62038c8468c429af091dfc75ec7 Image 3 (fdt@ocelot_pcb123) Description: MSCC Ocelot PCB123 Device Tree Created: Mon Aug 24 07:12:36 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 4639 Bytes = 4.53 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: be2724f58b66c316a61da7c11ced633f4e7e86c7 Image 4 (fdt@ocelot_pcb120) Description: MSCC Ocelot PCB120 Device Tree Created: Mon Aug 24 07:12:36 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 5398 Bytes = 5.27 KiB = 0.01 MiB Architecture: MIPS Hash algo: sha1 Hash value: 2a757b83ef9e9d35fb6c43bdbde70d311b3e4555 Image 5 (fdt@xilfpga) Description: MIPSfpga (xilfpga) Device Tree Created: Mon Aug 24 07:12:36 2020 Type: Flat Device Tree Compression: uncompressed Data Size: 2708 Bytes = 2.64 KiB = 0.00 MiB Architecture: MIPS Hash algo: sha1 Hash value: 63d058b780f65e22da30f0a183433765f1807f1d Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Configuration 1 (conf@boston) Description: Boston Linux kernel Kernel: kernel@0 FDT: fdt@boston Configuration 2 (conf@ni169445) Description: NI 169445 Linux Kernel Kernel: kernel@0 FDT: fdt@ni169445 Configuration 3 (conf@ocelot_pcb123) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb123 Configuration 4 (conf@ocelot_pcb120) Description: Ocelot Linux kernel Kernel: kernel@0 FDT: fdt@ocelot_pcb120 Configuration 5 (conf@xilfpga) Description: MIPSfpga Linux kernel Kernel: kernel@0 FDT: fdt@xilfpga ERROR: modpost: "fw_arg3" [drivers/mtd/parsers/bcm63xxpart.ko] undefined! make[2]: *** [/kisskb/src/scripts/Makefile.modpost:111: Module.symvers] Error 1 make[2]: *** Deleting file 'Module.symvers' make[1]: *** [/kisskb/src/Makefile:1392: modules] Error 2 make: *** [Makefile:185: __sub-make] Error 2 Command 'make -s -j 80 ARCH=mips O=/kisskb/build/linus_mips-allmodconfig_mips-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/mips-linux/bin/mips-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus_mips-allmodconfig_mips-gcc8 # Build took: 0:19:25.646495