Buildresult: gustavoars/ppc64_book3e_allmodconfig/powerpc-gcc9 built on May 14 2020, 10:57
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
Failed
Date/Time:
May 14 2020, 10:57
Duration:
0:30:57.410574
Builder:
ka3
Revision:
media: s5k5baf: avoid gcc-10 zero-length-bounds warning (
8b579b17886ff8283983a84bff934efda4188df5)
Target:
gustavoars/ppc64_book3e_allmodconfig/powerpc-gcc9
Branch:
gustavoars
Compiler:
powerpc-gcc9
(powerpc64-linux-gcc (GCC) 9.2.0 / GNU ld (GNU Binutils) 2.32)
Config:
ppc64_book3e_allmodconfig
(
download
)
Log:
Download original
Possible errors
arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/include/asm/kvm_book3s.h:316:19: error: 'struct kvm_vcpu_arch' has no member named 'book3s' arch/powerpc/include/asm/kvm_book3s.h:328:20: error: redefinition of 'kvmppc_set_gpr' arch/powerpc/include/asm/kvm_book3s.h:333:21: error: redefinition of 'kvmppc_get_gpr' arch/powerpc/include/asm/kvm_book3s.h:338:20: error: redefinition of 'kvmppc_set_cr' arch/powerpc/include/asm/kvm_book3s.h:343:19: error: redefinition of 'kvmppc_get_cr' arch/powerpc/include/asm/kvm_book3s.h:348:20: error: redefinition of 'kvmppc_set_xer' arch/powerpc/include/asm/kvm_book3s.h:353:21: error: redefinition of 'kvmppc_get_xer' arch/powerpc/include/asm/kvm_book3s.h:358:20: error: redefinition of 'kvmppc_set_ctr' arch/powerpc/include/asm/kvm_book3s.h:363:21: error: redefinition of 'kvmppc_get_ctr' arch/powerpc/include/asm/kvm_book3s.h:368:20: error: redefinition of 'kvmppc_set_lr' arch/powerpc/include/asm/kvm_book3s.h:373:21: error: redefinition of 'kvmppc_get_lr' arch/powerpc/include/asm/kvm_book3s.h:378:20: error: redefinition of 'kvmppc_set_pc' arch/powerpc/include/asm/kvm_book3s.h:383:21: error: redefinition of 'kvmppc_get_pc' arch/powerpc/include/asm/kvm_book3s.h:389:20: error: redefinition of 'kvmppc_need_byteswap' arch/powerpc/include/asm/kvm_book3s.h:394:21: error: redefinition of 'kvmppc_get_fault_dar' arch/powerpc/include/asm/kvm_book3s.h:396:20: error: 'struct kvm_vcpu_arch' has no member named 'fault_dar'; did you mean 'fault_dear'? arch/powerpc/include/asm/kvm_book3s.h:405:20: error: redefinition of 'kvmppc_supports_magic_page' arch/powerpc/include/asm/nohash/64/pgtable.h:77:21: error: expected identifier or '(' before 'struct' arch/powerpc/include/asm/book3s/64/pgtable.h:274:21: error: expected ')' before '__vmalloc_end' arch/powerpc/include/asm/book3s/64/hash.h:192:8: error: implicit declaration of function 'pte_raw'; did you mean 'pte_read'? [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:11:30: error: 'struct mmu_psize_def' has no member named 'ap' arch/powerpc/include/asm/book3s/64/radix.h:221:11: error: implicit declaration of function 'pmd_raw'; did you mean 'pmd_val'? [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable-4k.h:9:19: error: redefinition of 'pmd_huge' arch/powerpc/include/asm/book3s/64/pgtable-4k.h:19:19: error: redefinition of 'pud_huge' arch/powerpc/include/asm/book3s/64/pgtable-4k.h:25:13: error: implicit declaration of function 'pud_raw'; did you mean 'pud_val'? [-Werror=implicit-function-declaration] arch/powerpc/include/asm/nohash/pgtable.h:291:19: error: redefinition of 'pgd_huge' arch/powerpc/include/asm/book3s/64/pgtable-4k.h:35:13: error: implicit declaration of function 'pgd_raw'; did you mean 'pgd_val'? [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable-4k.h:44:19: error: redefinition of 'hugepd_ok' arch/powerpc/include/asm/book3s/64/pgtable.h:353:29: error: redefinition of 'pte_update' arch/powerpc/include/asm/book3s/64/pgtable.h:371:19: error: redefinition of '__ptep_test_and_clear_young' arch/powerpc/include/asm/book3s/64/pgtable.h:416:19: error: redefinition of 'pte_write' arch/powerpc/include/asm/book3s/64/pgtable.h:421:19: error: redefinition of 'pte_read' arch/powerpc/include/asm/book3s/64/pgtable.h:427:20: error: redefinition of 'ptep_set_wrprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:437:20: error: redefinition of 'huge_ptep_set_wrprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:451:21: error: redefinition of 'ptep_get_and_clear' arch/powerpc/include/asm/book3s/64/pgtable.h:459:21: error: redefinition of 'ptep_get_and_clear_full' arch/powerpc/include/asm/book3s/64/pgtable.h:474:20: error: redefinition of 'pte_clear' arch/powerpc/include/asm/book3s/64/pgtable.h:480:19: error: redefinition of 'pte_dirty' arch/powerpc/include/asm/book3s/64/pgtable.h:485:19: error: redefinition of 'pte_young' arch/powerpc/include/asm/book3s/64/pgtable.h:490:19: error: redefinition of 'pte_special' arch/powerpc/include/asm/book3s/64/pgtable.h:495:20: error: redefinition of 'pte_exec' arch/powerpc/include/asm/book3s/64/pgtable.h:552:9: error: implicit declaration of function '__pte_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:552:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:556:19: error: redefinition of 'pte_present' arch/powerpc/include/asm/book3s/64/pgtable.h:567:20: error: redefinition of 'pte_hw_valid' arch/powerpc/include/asm/book3s/64/pgtable.h:581:20: error: redefinition of 'pte_user' arch/powerpc/include/asm/book3s/64/pgtable.h:586:30: error: redefinition of 'pte_access_permitted' arch/powerpc/include/asm/book3s/64/pgtable.h:609:21: error: redefinition of 'pfn_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:617:29: error: redefinition of 'pte_pfn' arch/powerpc/include/asm/book3s/64/pgtable.h:623:21: error: redefinition of 'pte_wrprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:627:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:630:21: error: redefinition of 'pte_exprotect' arch/powerpc/include/asm/book3s/64/pgtable.h:632:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:635:21: error: redefinition of 'pte_mkclean' arch/powerpc/include/asm/book3s/64/pgtable.h:637:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:640:21: error: redefinition of 'pte_mkold' arch/powerpc/include/asm/book3s/64/pgtable.h:642:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:645:21: error: redefinition of 'pte_mkexec' arch/powerpc/include/asm/book3s/64/pgtable.h:647:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:650:21: error: redefinition of 'pte_mkpte' arch/powerpc/include/asm/book3s/64/pgtable.h:652:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:655:21: error: redefinition of 'pte_mkwrite' arch/powerpc/include/asm/book3s/64/pgtable.h:660:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:663:21: error: redefinition of 'pte_mkdirty' arch/powerpc/include/asm/book3s/64/pgtable.h:665:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:668:21: error: redefinition of 'pte_mkyoung' arch/powerpc/include/asm/book3s/64/pgtable.h:670:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:673:21: error: redefinition of 'pte_mkspecial' arch/powerpc/include/asm/book3s/64/pgtable.h:675:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:678:21: error: redefinition of 'pte_mkhuge' arch/powerpc/include/asm/book3s/64/pgtable.h:685:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/nohash/pte-book3e.h:108:26: error: redefinition of 'pte_mkprivileged' arch/powerpc/include/asm/book3s/64/pgtable.h:690:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/nohash/pte-book3e.h:115:20: error: redefinition of 'pte_mkuser' arch/powerpc/include/asm/book3s/64/pgtable.h:695:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:704:19: error: redefinition of 'pte_devmap' arch/powerpc/include/asm/book3s/64/pgtable.h:711:21: error: redefinition of 'pte_modify' arch/powerpc/include/asm/book3s/64/pgtable.h:714:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:789:20: error: redefinition of '__ptep_set_access_flags' arch/powerpc/include/asm/nohash/64/pgtable.h:333:36: error: expected ')' before '^' token arch/powerpc/include/asm/nohash/64/pgtable.h:333:50: error: expected ')' before '==' token arch/powerpc/include/asm/book3s/64/pgtable.h:808:19: error: redefinition of 'pte_none' arch/powerpc/include/asm/book3s/64/pgtable.h:815:20: error: redefinition of '__set_pte_at' arch/powerpc/include/asm/book3s/64/pgtable.h:853:20: error: redefinition of 'pte_ci' arch/powerpc/include/asm/book3s/64/pgtable.h:863:20: error: redefinition of 'pmd_clear' arch/powerpc/include/asm/nohash/64/pgtable.h:143:25: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable.h:146:27: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable.h:144:24: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/book3s/64/pgtable.h:911:20: error: redefinition of 'pud_clear' arch/powerpc/include/asm/nohash/64/pgtable.h:160:25: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable.h:163:40: error: expected ')' before '!=' token arch/powerpc/include/asm/book3s/64/pgtable.h:928:21: error: redefinition of 'pud_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:930:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:933:21: error: redefinition of 'pte_pud' arch/powerpc/include/asm/book3s/64/pgtable.h:935:9: error: implicit declaration of function '__pud_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:935:9: error: incompatible types when returning type 'int' but 'pud_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/nohash/64/pgtable.h:161:24: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/book3s/64/pgtable.h:954:20: error: redefinition of 'pgd_clear' arch/powerpc/include/asm/nohash/64/pgtable-4k.h:56:25: error: expected identifier or '(' before '!' token arch/powerpc/include/asm/nohash/64/pgtable-4k.h:58:40: error: expected ')' before '!=' token arch/powerpc/include/asm/book3s/64/pgtable.h:969:21: error: redefinition of 'pgd_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:971:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:974:21: error: redefinition of 'pte_pgd' arch/powerpc/include/asm/book3s/64/pgtable.h:976:9: error: implicit declaration of function '__pgd_raw'; did you mean '__fdget_raw'? [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:976:9: error: incompatible types when returning type 'int' but 'pgd_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/nohash/64/pgtable-4k.h:57:37: error: expected ')' before '==' token arch/powerpc/include/asm/book3s/64/pgtable.h:1022:20: error: redefinition of 'pte_unmap' arch/powerpc/include/asm/book3s/64/pgtable.h:1037:19: error: static declaration of 'map_kernel_page' follows non-static declaration arch/powerpc/include/asm/book3s/64/pgtable.h:1049:29: error: static declaration of 'vmemmap_create_mapping' follows non-static declaration arch/powerpc/include/asm/book3s/64/pgtable.h:1059:20: error: static declaration of 'vmemmap_remove_mapping' follows non-static declaration arch/powerpc/include/asm/book3s/64/pgtable.h:1068:21: error: redefinition of 'pmd_pte' arch/powerpc/include/asm/book3s/64/pgtable.h:1070:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:1075:9: error: implicit declaration of function '__pmd_raw' [-Werror=implicit-function-declaration] arch/powerpc/include/asm/book3s/64/pgtable.h:1075:9: error: incompatible types when returning type 'int' but 'pmd_t' {aka 'struct <anonymous>'} was expected arch/powerpc/include/asm/book3s/64/pgtable.h:1359:21: error: redefinition of 'pmd_is_leaf' arch/powerpc/include/asm/book3s/64/pgtable.h:1366:21: error: redefinition of 'pud_is_leaf' arch/powerpc/include/asm/book3s/64/pgtable.h:1373:21: error: redefinition of 'pgd_is_leaf' arch/powerpc/include/asm/book3s/64/mmu-hash.h:185:19: error: redefinition of 'shift_to_mmu_psize' arch/powerpc/include/asm/book3s/64/mmu-hash.h:195:28: error: redefinition of 'mmu_psize_to_shift' arch/powerpc/include/asm/book3s/64/mmu-hash.h:207:28: error: 'struct mmu_psize_def' has no member named 'ap' arch/powerpc/include/asm/book3s/64/mmu-hash.h:218:32: error: 'struct mmu_psize_def' has no member named 'sllp' arch/powerpc/include/asm/book3s/64/mmu-hash.h:219:26: error: 'struct mmu_psize_def' has no member named 'sllp' arch/powerpc/include/asm/book3s/64/mmu-hash.h:337:57: error: 'struct mmu_psize_def' has no member named 'avpnm' arch/powerpc/include/asm/book3s/64/mmu-hash.h:411:50: error: 'struct mmu_psize_def' has no member named 'penc'; did you mean 'enc'? arch/powerpc/include/asm/book3s/64/mmu-hash.h:698:30: error: 'SLICE_NUM_HIGH' undeclared here (not in a function) arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:267: arch/powerpc/kvm/book3s_64_vio_hv.o] Error 1 make[2]: *** [scripts/Makefile.build:488: arch/powerpc/kvm] Error 2 make[1]: *** [Makefile:1722: arch/powerpc] Error 2 make: *** [Makefile:180: sub-make] Error 2
Possible warnings (221)
arch/powerpc/boot/dts/fsl/p2020rdb.dts:251.22-254.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:52.9-67.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dts:135.22-137.4: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:102.9-116.4: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dts:139.22-141.4: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mvme7100.dts:30.11-32.6: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/ppa8548.dts:34.22-37.4: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dts:39.22-42.4: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dts:44.23-47.4: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:74.9-89.4: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/icon.dts:318.26-357.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dts:359.26-398.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/makalu.dts:271.25-310.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dts:312.25-351.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/gef_ppc9a.dts:211.22-213.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/haleakala.dts:240.25-279.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dts:328.26-368.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/akebono.dts:251.28-289.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dts:291.28-329.5: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dts:331.28-369.5: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dts:371.28-409.5: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dts:59.23-62.4: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/canyonlands.dts:464.26-504.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dts:506.26-546.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dts:59.22-62.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/stxssa8555.dts:329.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dts:534.26-574.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/redwood.dts:238.26-277.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dts:279.26-318.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dts:320.26-359.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/kilauea.dts:325.25-364.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dts:366.25-405.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/boot/dts/mpc5121.dtsi:457.13-466.5: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' arch/powerpc/include/asm/kvm_book3s_asm.h:18: warning: "KVMPPC_NR_LPIDS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:15: warning: "_PAGE_BIT_SWAP_TYPE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:17: warning: "_PAGE_EXEC" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:20: warning: "_PAGE_RW" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:22: warning: "_PAGE_PRIVILEGED" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:23: warning: "_PAGE_SAO" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:26: warning: "_PAGE_DIRTY" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:27: warning: "_PAGE_ACCESSED" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:42: warning: "_PAGE_PRESENT" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:91: warning: "_PAGE_SPECIAL" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:99: warning: "_PAGE_NO_CACHE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:105: warning: "PTE_RPN_MASK" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:116: warning: "_PAGE_KERNEL_RW" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:117: warning: "_PAGE_KERNEL_RO" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:118: warning: "_PAGE_KERNEL_RWX" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:124: warning: "_PAGE_CHG_MASK" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:136: warning: "_PAGE_BASE_NC" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:137: warning: "_PAGE_BASE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:147: warning: "PAGE_NONE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:148: warning: "PAGE_SHARED" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:149: warning: "PAGE_SHARED_X" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:150: warning: "PAGE_COPY" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:151: warning: "PAGE_COPY_X" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:152: warning: "PAGE_READONLY" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:153: warning: "PAGE_READONLY_X" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:157: warning: "PAGE_KERNEL_NC" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:159: warning: "PAGE_KERNEL_NCG" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:190: warning: "PTE_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:191: warning: "PMD_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:192: warning: "PUD_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:193: warning: "PGD_INDEX_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:195: warning: "PMD_CACHE_INDEX" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:196: warning: "PUD_CACHE_INDEX" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:205: warning: "PTE_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:206: warning: "PMD_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:207: warning: "PUD_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:208: warning: "PGD_TABLE_SIZE" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:218: warning: "PTE_FRAG_NR" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:220: warning: "PTE_FRAG_SIZE_SHIFT" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:250: warning: "PMD_MASKED_BITS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:252: warning: "PUD_MASKED_BITS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:254: warning: "PGD_MASKED_BITS" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:273: warning: "VMALLOC_START" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:274: warning: "VMALLOC_END" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:282: warning: "IOREMAP_MAX_ORDER" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:287: warning: "KERN_VIRT_START" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:288: warning: "KERN_IO_START" redefined arch/powerpc/include/asm/book3s/64/hash-4k.h:16: warning: "REGION_SHIFT" redefined arch/powerpc/include/asm/book3s/64/hash-4k.h:49: warning: "H_PAGE_4K_PFN" redefined arch/powerpc/include/asm/book3s/64/hash.h:91: warning: "USER_REGION_ID" redefined arch/powerpc/include/asm/book3s/64/hash.h:93: warning: "VMALLOC_REGION_ID" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:320: warning: "IOREMAP_END" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:409: warning: "pte_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:548: warning: "pte_clear_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:719: warning: "MAX_SWAPFILES_CHECK" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:732: warning: "__swp_offset" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:733: warning: "__swp_entry" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:742: warning: "__pte_to_swp_entry" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:743: warning: "__swp_entry_to_pte" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:823: warning: "_PAGE_CACHE_CTL" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:825: warning: "pgprot_noncached" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:832: warning: "pgprot_noncached_wc" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:839: warning: "pgprot_cached" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:845: warning: "pgprot_writecombine" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:946: warning: "pud_access_permitted" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:986: warning: "pgd_access_permitted" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:997: warning: "pmd_page_vaddr" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:998: warning: "pud_page_vaddr" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:999: warning: "pgd_page_vaddr" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1013: warning: "pud_offset" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1015: warning: "pmd_offset" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1017: warning: "pte_offset_kernel" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1091: warning: "pmd_mk_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1092: warning: "pmd_clear_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1115: warning: "pmd_savedwrite" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1117: warning: "pmd_access_permitted" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1360: warning: "pmd_leaf" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1367: warning: "pud_leaf" redefined arch/powerpc/include/asm/book3s/64/pgtable.h:1374: warning: "pgd_leaf" redefined drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined drivers/usb/gadget/udc/fsl_qe_udc.c:836:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:837:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:964:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:965:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:1490:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:1491:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] drivers/usb/gadget/udc/fsl_qe_udc.c:542:37: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/usb/gadget/udc/fsl_qe_udc.c:563:8: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/usb/gadget/udc/fsl_qe_udc.c:566:8: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/usb/gadget/udc/fsl_qe_udc.c:580:8: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/usb/gadget/udc/fsl_qe_udc.c:596:5: warning: this statement may fall through [-Wimplicit-fallthrough=] drivers/usb/gadget/udc/fsl_qe_udc.c:1840:14: warning: 'udc' may be used uninitialized in this function [-Wmaybe-uninitialized]
Full Log
# git rev-parse -q --verify 8b579b17886ff8283983a84bff934efda4188df5^{commit} 8b579b17886ff8283983a84bff934efda4188df5 already have revision, skipping fetch # git checkout -q -f -B kisskb 8b579b17886ff8283983a84bff934efda4188df5 # git clean -qxdf # < git log -1 # commit 8b579b17886ff8283983a84bff934efda4188df5 # Author: Arnd Bergmann <arnd@arndb.de> # Date: Thu Apr 30 23:30:54 2020 +0200 # # media: s5k5baf: avoid gcc-10 zero-length-bounds warning # # gcc-10 warns about accessing a zero-length struct member: # # drivers/media/i2c/s5k5baf.c: In function 's5k5baf_load_setfile': # drivers/media/i2c/s5k5baf.c:390:13: warning: array subscript 65535 is outside the bounds of an interior zero-length array 'struct <anonymous>[0]' [-Wzero-length-bounds] # 390 | if (f->seq[i].offset + d <= end) # | ~~~~~~^~~ # # This should really be a flexible-array member, but the structure # already has one. I experimentally confirmed that swapping the two # avoids the warning, as the 'data[]' array is not accessed like this. # # Fixes: 3ba225b506a2 ("treewide: Replace zero-length array with flexible-array member") # Fixes: 7d459937dc09 ("[media] Add driver for Samsung S5K5BAF camera sensor") # Signed-off-by: Arnd Bergmann <arnd@arndb.de> # Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 8b579b17886ff8283983a84bff934efda4188df5 # < make -s -j 10 ARCH=powerpc O=/kisskb/build/gustavoars_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc64_book3e_allmodconfig # < make -s -j 10 ARCH=powerpc O=/kisskb/build/gustavoars_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 10 ARCH=powerpc O=/kisskb/build/gustavoars_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 10 ARCH=powerpc O=/kisskb/build/gustavoars_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb.dts:251.22-254.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:43.7-68.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:52.9-67.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:135.22-137.4: Warning (pci_bridge): /pcie@f1008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:92.7-117.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:102.9-116.4: Warning (pci_bridge): /pcie@f1008000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:139.22-141.4: Warning (pci_bridge): /pcie@f1009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@f1009000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/mvme7100.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mvme7100.dts:30.11-32.6: Warning (i2c_bus_reg): /soc@f1000000/i2c@3000/rtc@68: missing or empty reg property /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:34.22-37.4: Warning (pci_bridge): /pci@fe0008000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:43.7-51.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:39.22-42.4: Warning (pci_bridge): /pci@fe0009000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:54.7-62.3 /kisskb/src/arch/powerpc/boot/dts/fsl/ppa8548.dts:44.23-47.4: Warning (pci_bridge): /pcie@fe000a000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:65.7-90.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8548si-post.dtsi:74.9-89.4: Warning (pci_bridge): /pcie@fe000a000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/ppa8548.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@fffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/xpedite5200.dts:135.11-138.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/icon.dts:318.26-357.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/icon.dts:359.26-398.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/icon.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/makalu.dts:271.25-310.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/makalu.dts:312.25-351.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/makalu.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@0:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/fsl/pq3-mpic.dtsi:38.2-25: Warning (interrupts_property): /soc@ffe00000/mdio@24000/ethernet-phy@1:#interrupt-cells: size is (8), expected multiple of 16 /kisskb/src/arch/powerpc/boot/dts/mgcoge.dts:230.14-234.7: Warning (spi_bus_reg): /soc@f0000000/cpm@119c0/spi@11aa0/ds3106@1: SPI bus unit address format error, expected "0" /kisskb/src/arch/powerpc/boot/dts/fsl/gef_sbc610.dts:209.22-211.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_sbc610.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/motionpro.dts:84.15-86.4 arch/powerpc/boot/dts/motionpro.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/uc101.dts:100.15-102.4 arch/powerpc/boot/dts/uc101.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/a3m071.dts:135.15-137.4 arch/powerpc/boot/dts/a3m071.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:397.13-406.5: Warning (spi_bus_bridge): /soc@80000000/psc@11400: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:305.19-326.5 /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:409.13-418.5: Warning (spi_bus_bridge): /soc@80000000/psc@11500: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/ac14xx.dts:329.19-344.5 arch/powerpc/boot/dts/ac14xx.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/cm5200.dts:70.15-72.4 arch/powerpc/boot/dts/cm5200.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/gef_ppc9a.dts:211.22-213.4: Warning (pci_bridge): /pcie@fef09000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:119.7-144.3 /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8641si-post.dtsi:129.9-143.4: Warning (pci_bridge): /pcie@fef09000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/gef_ppc9a.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/haleakala.dts:240.25-279.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/haleakala.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:328.26-368.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/bluestone.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/bluestone.dts:272.13-277.7: Warning (i2c_bus_reg): /plb/opb/i2c@ef600700/sttm@4C: I2C bus unit address format error, expected "4c" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2i.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2i.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/currituck.dts:125.28-161.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:163.28-198.5: Warning (pci_bridge): /plb/pciex@30100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/currituck.dts:200.28-235.5: Warning (pci_bridge): /plb/pciex@38100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/currituck.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/xpedite5200_xmon.dts:139.11-142.6: Warning (i2c_bus_reg): /soc@ef000000/i2c@3000/dtt@48: I2C bus unit address format error, expected "34" /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:132.23-134.4: Warning (pci_bridge): /pcie@ffe200000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:58.7-84.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:68.9-83.4: Warning (pci_bridge): /pcie@ffe200000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:136.23-138.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) /kisskb/src/arch/powerpc/boot/dts/fsl/oca4080.dts:140.23-142.4: Warning (pci_bridge): /pcie@ffe202000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:116.7-142.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p4080si-post.dtsi:126.9-141.4: Warning (pci_bridge): /pcie@ffe202000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/oca4080.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/akebono.dts:251.28-289.5: Warning (pci_bridge): /plb/pciex@10100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:291.28-329.5: Warning (pci_bridge): /plb/pciex@20100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:331.28-369.5: Warning (pci_bridge): /plb/pciex@18100000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/akebono.dts:371.28-409.5: Warning (pci_bridge): /plb/pciex@28100000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/akebono.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc8610_hpcd.dts:420.3-21: Warning (pci_device_bus_num): /pcie@e000a000/pcie@0:bus-range: PCI bus number 0 out of range, expected (1 - 1) /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:189.11-193.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@0: SPI bus unit address format error, expected "1" /kisskb/src/arch/powerpc/boot/dts/fsl/p1020rdb-pd.dts:195.11-199.6: Warning (spi_bus_reg): /soc@ffe00000/spi@7000/slic@1: SPI bus unit address format error, expected "2" /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dts:59.23-62.4: Warning (pci_bridge): /pcie@fffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@fffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_36b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:464.26-504.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/canyonlands.dts:506.26-546.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/canyonlands.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2mnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2mnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dts:59.22-62.4: Warning (pci_bridge): /pcie@ffe08000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:100.7-126.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2020si-post.dtsi:109.9-125.4: Warning (pci_bridge): /pcie@ffe08000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/p2020rdb-pc_32b.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/stxssa8555.dts:329.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/glacier.dts:492.26-532.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/glacier.dts:534.26-574.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/glacier.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2dnt2.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2dnt2.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o3dnt.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o3dnt.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/redwood.dts:238.26-277.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:279.26-318.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/redwood.dts:320.26-359.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/redwood.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/fsl/kmcoge4.dts:196.23-198.4: Warning (pci_bridge): /pcie@ffe201000: missing ranges for PCI bridge (or not a bridge) also defined at /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:87.7-113.3 /kisskb/src/arch/powerpc/boot/dts/fsl/p2041si-post.dtsi:97.9-112.4: Warning (pci_bridge): /pcie@ffe201000/pcie@0: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/fsl/kmcoge4.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:325.25-364.5: Warning (pci_bridge): /plb/pciex@a0000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/kilauea.dts:366.25-405.5: Warning (pci_bridge): /plb/pciex@c0000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/kilauea.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:267.20-280.4: Warning (pci_bridge): /pci@f0000d00: missing ranges for PCI bridge (or not a bridge) arch/powerpc/boot/dts/o2d300.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5200b.dtsi:182.18-186.5: Warning (spi_bus_bridge): /soc5200@f0000000/psc@2000: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/o2d.dtsi:32.12-43.5 arch/powerpc/boot/dts/o2d300.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' /kisskb/src/arch/powerpc/boot/dts/mpc5121.dtsi:457.13-466.5: Warning (spi_bus_bridge): /soc@80000000/psc@11900: node name for SPI buses should be 'spi' also defined at /kisskb/src/arch/powerpc/boot/dts/pdm360ng.dts:172.13-185.5 arch/powerpc/boot/dts/pdm360ng.dtb: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge' In file included from /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:14, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s_asm.h:18: warning: "KVMPPC_NR_LPIDS" redefined 18 | #define KVMPPC_NR_LPIDS (LPID_RSVD + 1) | In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:19: note: this is the location of the previous definition 19 | #define KVMPPC_NR_LPIDS 64 | In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: In function 'to_book3s': /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:316:19: error: 'struct kvm_vcpu_arch' has no member named 'book3s' 316 | return vcpu->arch.book3s; | ^ /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: At top level: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:328:20: error: redefinition of 'kvmppc_set_gpr' 328 | static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:26:20: note: previous definition of 'kvmppc_set_gpr' was here 26 | static inline void kvmppc_set_gpr(struct kvm_vcpu *vcpu, int num, ulong val) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:333:21: error: redefinition of 'kvmppc_get_gpr' 333 | static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:31:21: note: previous definition of 'kvmppc_get_gpr' was here 31 | static inline ulong kvmppc_get_gpr(struct kvm_vcpu *vcpu, int num) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:338:20: error: redefinition of 'kvmppc_set_cr' 338 | static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:36:20: note: previous definition of 'kvmppc_set_cr' was here 36 | static inline void kvmppc_set_cr(struct kvm_vcpu *vcpu, u32 val) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:343:19: error: redefinition of 'kvmppc_get_cr' 343 | static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:41:19: note: previous definition of 'kvmppc_get_cr' was here 41 | static inline u32 kvmppc_get_cr(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:348:20: error: redefinition of 'kvmppc_set_xer' 348 | static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:46:20: note: previous definition of 'kvmppc_set_xer' was here 46 | static inline void kvmppc_set_xer(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:353:21: error: redefinition of 'kvmppc_get_xer' 353 | static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:51:21: note: previous definition of 'kvmppc_get_xer' was here 51 | static inline ulong kvmppc_get_xer(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:358:20: error: redefinition of 'kvmppc_set_ctr' 358 | static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:62:20: note: previous definition of 'kvmppc_set_ctr' was here 62 | static inline void kvmppc_set_ctr(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:363:21: error: redefinition of 'kvmppc_get_ctr' 363 | static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:67:21: note: previous definition of 'kvmppc_get_ctr' was here 67 | static inline ulong kvmppc_get_ctr(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:368:20: error: redefinition of 'kvmppc_set_lr' 368 | static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:72:20: note: previous definition of 'kvmppc_set_lr' was here 72 | static inline void kvmppc_set_lr(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:373:21: error: redefinition of 'kvmppc_get_lr' 373 | static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:77:21: note: previous definition of 'kvmppc_get_lr' was here 77 | static inline ulong kvmppc_get_lr(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:378:20: error: redefinition of 'kvmppc_set_pc' 378 | static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:82:20: note: previous definition of 'kvmppc_set_pc' was here 82 | static inline void kvmppc_set_pc(struct kvm_vcpu *vcpu, ulong val) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:383:21: error: redefinition of 'kvmppc_get_pc' 383 | static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:87:21: note: previous definition of 'kvmppc_get_pc' was here 87 | static inline ulong kvmppc_get_pc(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:389:20: error: redefinition of 'kvmppc_need_byteswap' 389 | static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:56:20: note: previous definition of 'kvmppc_need_byteswap' was here 56 | static inline bool kvmppc_need_byteswap(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:394:21: error: redefinition of 'kvmppc_get_fault_dar' 394 | static inline ulong kvmppc_get_fault_dar(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:92:21: note: previous definition of 'kvmppc_get_fault_dar' was here 92 | static inline ulong kvmppc_get_fault_dar(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:21: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: In function 'kvmppc_get_fault_dar': /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:396:20: error: 'struct kvm_vcpu_arch' has no member named 'fault_dar'; did you mean 'fault_dear'? 396 | return vcpu->arch.fault_dar; | ^~~~~~~~~ | fault_dear /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h: At top level: /kisskb/src/arch/powerpc/include/asm/kvm_book3s.h:405:20: error: redefinition of 'kvmppc_supports_magic_page' 405 | static inline bool kvmppc_supports_magic_page(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/kvm_ppc.h:24, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:20: /kisskb/src/arch/powerpc/include/asm/kvm_booke.h:97:20: note: previous definition of 'kvmppc_supports_magic_page' was here 97 | static inline bool kvmppc_supports_magic_page(struct kvm_vcpu *vcpu) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:15: warning: "_PAGE_BIT_SWAP_TYPE" redefined 15 | #define _PAGE_BIT_SWAP_TYPE 0 | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:15: note: this is the location of the previous definition 15 | #define _PAGE_BIT_SWAP_TYPE 2 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:17: warning: "_PAGE_EXEC" redefined 17 | #define _PAGE_EXEC 0x00001 /* execute permission */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:51: note: this is the location of the previous definition 51 | #define _PAGE_EXEC _PAGE_BAP_UX /* .. and was cache cleaned */ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:20: warning: "_PAGE_RW" redefined 20 | #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:52: note: this is the location of the previous definition 52 | #define _PAGE_RW (_PAGE_BAP_SW | _PAGE_BAP_UW) /* User write permission */ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:22: warning: "_PAGE_PRIVILEGED" redefined 22 | #define _PAGE_PRIVILEGED 0x00008 /* kernel access only */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:58: note: this is the location of the previous definition 58 | #define _PAGE_PRIVILEGED (_PAGE_BAP_SR) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:23: warning: "_PAGE_SAO" redefined 23 | #define _PAGE_SAO 0x00010 /* Strong access order */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:85: note: this is the location of the previous definition 85 | #define _PAGE_SAO 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:26: warning: "_PAGE_DIRTY" redefined 26 | #define _PAGE_DIRTY 0x00080 /* C: page changed */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:37: note: this is the location of the previous definition 37 | #define _PAGE_DIRTY 0x001000 /* C: page changed */ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:27: warning: "_PAGE_ACCESSED" redefined 27 | #define _PAGE_ACCESSED 0x00100 /* R: page referenced */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:43: note: this is the location of the previous definition 43 | #define _PAGE_ACCESSED 0x040000 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:42: warning: "_PAGE_PRESENT" redefined 42 | #define _PAGE_PRESENT 0x8000000000000000UL /* pte contains a translation */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:13: note: this is the location of the previous definition 13 | #define _PAGE_PRESENT 0x000001 /* software: pte contains a translation */ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:91: warning: "_PAGE_SPECIAL" redefined 91 | #define _PAGE_SPECIAL _RPAGE_SW2 /* software: special page */ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:60: note: this is the location of the previous definition 60 | #define _PAGE_SPECIAL _PAGE_SW0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:99: warning: "_PAGE_NO_CACHE" redefined 99 | #define _PAGE_NO_CACHE _PAGE_TOLERANT | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:47: note: this is the location of the previous definition 47 | #define _PAGE_NO_CACHE 0x400000 /* I: cache inhibit */ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:105: warning: "PTE_RPN_MASK" redefined 105 | #define PTE_RPN_MASK (((1UL << _PAGE_PA_MAX) - 1) & (PAGE_MASK)) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:87: note: this is the location of the previous definition 87 | #define PTE_RPN_MASK (~((1UL << PTE_RPN_SHIFT) - 1)) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:116: warning: "_PAGE_KERNEL_RW" redefined 116 | #define _PAGE_KERNEL_RW (_PAGE_PRIVILEGED | _PAGE_RW | _PAGE_DIRTY) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:53: note: this is the location of the previous definition 53 | #define _PAGE_KERNEL_RW (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:117: warning: "_PAGE_KERNEL_RO" redefined 117 | #define _PAGE_KERNEL_RO (_PAGE_PRIVILEGED | _PAGE_READ) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:54: note: this is the location of the previous definition 54 | #define _PAGE_KERNEL_RO (_PAGE_BAP_SR) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:118: warning: "_PAGE_KERNEL_RWX" redefined 118 | #define _PAGE_KERNEL_RWX (_PAGE_PRIVILEGED | _PAGE_DIRTY | \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:55: note: this is the location of the previous definition 55 | #define _PAGE_KERNEL_RWX (_PAGE_BAP_SW | _PAGE_BAP_SR | _PAGE_DIRTY | _PAGE_BAP_SX) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:124: warning: "_PAGE_CHG_MASK" redefined 124 | #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_HPTEFLAGS | _PAGE_DIRTY | \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:93: note: this is the location of the previous definition 93 | #define _PAGE_CHG_MASK (PTE_RPN_MASK | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_SPECIAL) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:136: warning: "_PAGE_BASE_NC" redefined 136 | #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:86: note: this is the location of the previous definition 86 | #define _PAGE_BASE_NC (_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_PSIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:137: warning: "_PAGE_BASE" redefined 137 | #define _PAGE_BASE (_PAGE_BASE_NC) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:88: note: this is the location of the previous definition 88 | #define _PAGE_BASE (_PAGE_BASE_NC | _PAGE_COHERENT) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:147: warning: "PAGE_NONE" redefined 147 | #define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_PRIVILEGED) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:94: note: this is the location of the previous definition 94 | #define PAGE_NONE __pgprot(_PAGE_BASE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:148: warning: "PAGE_SHARED" redefined 148 | #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:95: note: this is the location of the previous definition 95 | #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:149: warning: "PAGE_SHARED_X" redefined 149 | #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_EXEC) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:96: note: this is the location of the previous definition 96 | #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:150: warning: "PAGE_COPY" redefined 150 | #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_READ) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:97: note: this is the location of the previous definition 97 | #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:151: warning: "PAGE_COPY_X" redefined 151 | #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:98: note: this is the location of the previous definition 98 | #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:152: warning: "PAGE_READONLY" redefined 152 | #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_READ) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:99: note: this is the location of the previous definition 99 | #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:153: warning: "PAGE_READONLY_X" redefined 153 | #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:100: note: this is the location of the previous definition 100 | #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:157: warning: "PAGE_KERNEL_NC" redefined 157 | #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:13: note: this is the location of the previous definition 13 | #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:159: warning: "PAGE_KERNEL_NCG" redefined 159 | #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:14: note: this is the location of the previous definition 14 | #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:190: warning: "PTE_INDEX_SIZE" redefined 190 | #define PTE_INDEX_SIZE __pte_index_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:12: note: this is the location of the previous definition 12 | #define PTE_INDEX_SIZE 9 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:191: warning: "PMD_INDEX_SIZE" redefined 191 | #define PMD_INDEX_SIZE __pmd_index_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:13: note: this is the location of the previous definition 13 | #define PMD_INDEX_SIZE 7 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:192: warning: "PUD_INDEX_SIZE" redefined 192 | #define PUD_INDEX_SIZE __pud_index_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:14: note: this is the location of the previous definition 14 | #define PUD_INDEX_SIZE 9 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:193: warning: "PGD_INDEX_SIZE" redefined 193 | #define PGD_INDEX_SIZE __pgd_index_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:15: note: this is the location of the previous definition 15 | #define PGD_INDEX_SIZE 9 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:195: warning: "PMD_CACHE_INDEX" redefined 195 | #define PMD_CACHE_INDEX 0 | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:22: note: this is the location of the previous definition 22 | #define PMD_CACHE_INDEX PMD_INDEX_SIZE | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:196: warning: "PUD_CACHE_INDEX" redefined 196 | #define PUD_CACHE_INDEX __pud_cache_index | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:23: note: this is the location of the previous definition 23 | #define PUD_CACHE_INDEX PUD_INDEX_SIZE | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:205: warning: "PTE_TABLE_SIZE" redefined 205 | #define PTE_TABLE_SIZE __pte_table_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:18: note: this is the location of the previous definition 18 | #define PTE_TABLE_SIZE (sizeof(pte_t) << PTE_INDEX_SIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:206: warning: "PMD_TABLE_SIZE" redefined 206 | #define PMD_TABLE_SIZE __pmd_table_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:19: note: this is the location of the previous definition 19 | #define PMD_TABLE_SIZE (sizeof(pmd_t) << PMD_INDEX_SIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:207: warning: "PUD_TABLE_SIZE" redefined 207 | #define PUD_TABLE_SIZE __pud_table_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:20: note: this is the location of the previous definition 20 | #define PUD_TABLE_SIZE (sizeof(pud_t) << PUD_INDEX_SIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:208: warning: "PGD_TABLE_SIZE" redefined 208 | #define PGD_TABLE_SIZE __pgd_table_size | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:21: note: this is the location of the previous definition 21 | #define PGD_TABLE_SIZE (sizeof(pgd_t) << PGD_INDEX_SIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:218: warning: "PTE_FRAG_NR" redefined 218 | #define PTE_FRAG_NR __pte_frag_nr | In file included from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:131: note: this is the location of the previous definition 131 | #define PTE_FRAG_NR 1 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:220: warning: "PTE_FRAG_SIZE_SHIFT" redefined 220 | #define PTE_FRAG_SIZE_SHIFT __pte_frag_size_shift | In file included from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:132: note: this is the location of the previous definition 132 | #define PTE_FRAG_SIZE_SHIFT PAGE_SHIFT | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:250: warning: "PMD_MASKED_BITS" redefined 250 | #define PMD_MASKED_BITS 0xc0000000000000ffUL | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:45: note: this is the location of the previous definition 45 | #define PMD_MASKED_BITS 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:252: warning: "PUD_MASKED_BITS" redefined 252 | #define PUD_MASKED_BITS 0xc0000000000000ffUL | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:47: note: this is the location of the previous definition 47 | #define PUD_MASKED_BITS 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:254: warning: "PGD_MASKED_BITS" redefined 254 | #define PGD_MASKED_BITS 0xc0000000000000ffUL | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:49: note: this is the location of the previous definition 49 | #define PGD_MASKED_BITS 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:273: warning: "VMALLOC_START" redefined 273 | #define VMALLOC_START __vmalloc_start | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:36: note: this is the location of the previous definition 36 | #define VMALLOC_START KERN_VIRT_START | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:274: warning: "VMALLOC_END" redefined 274 | #define VMALLOC_END __vmalloc_end | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:38: note: this is the location of the previous definition 38 | #define VMALLOC_END (VMALLOC_START + VMALLOC_SIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:282: warning: "IOREMAP_MAX_ORDER" redefined 282 | #define IOREMAP_MAX_ORDER ioremap_max_order() | In file included from /kisskb/src/include/linux/kvm_host.h:19, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/linux/vmalloc.h:52: note: this is the location of the previous definition 52 | #define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:287: warning: "KERN_VIRT_START" redefined 287 | #define KERN_VIRT_START __kernel_virt_start | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:28: note: this is the location of the previous definition 28 | #define KERN_VIRT_START ASM_CONST(0x8000000000000000) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:288: warning: "KERN_IO_START" redefined 288 | #define KERN_IO_START __kernel_io_start | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:49: note: this is the location of the previous definition 49 | #define KERN_IO_START (KERN_VIRT_START + (KERN_VIRT_SIZE >> 1)) | /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:77:21: error: expected identifier or '(' before 'struct' 77 | #define vmemmap ((struct page *)VMEMMAP_BASE) | ^~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:291:21: note: in expansion of macro 'vmemmap' 291 | extern struct page *vmemmap; | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:274:21: error: expected ')' before '__vmalloc_end' 274 | #define VMALLOC_END __vmalloc_end | ^~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:75:23: note: in expansion of macro 'VMALLOC_END' 75 | #define VMEMMAP_BASE VMALLOC_END | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:77:35: note: in expansion of macro 'VMEMMAP_BASE' 77 | #define vmemmap ((struct page *)VMEMMAP_BASE) | ^~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:291:21: note: in expansion of macro 'vmemmap' 291 | extern struct page *vmemmap; | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:18, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-4k.h:16: warning: "REGION_SHIFT" redefined 16 | #define REGION_SHIFT (MAX_EA_BITS_PER_CONTEXT - 2) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:63: note: this is the location of the previous definition 63 | #define REGION_SHIFT 60UL | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:18, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash-4k.h:49: warning: "H_PAGE_4K_PFN" redefined 49 | #define H_PAGE_4K_PFN 0x0 | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:95: note: this is the location of the previous definition 95 | #define H_PAGE_4K_PFN 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:91: warning: "USER_REGION_ID" redefined 91 | #define USER_REGION_ID 0 | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:69: note: this is the location of the previous definition 69 | #define USER_REGION_ID (0UL) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:93: warning: "VMALLOC_REGION_ID" redefined 93 | #define VMALLOC_REGION_ID NON_LINEAR_REGION_ID(H_VMALLOC_START) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:67: note: this is the location of the previous definition 67 | #define VMALLOC_REGION_ID (REGION_ID(VMALLOC_START)) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:295, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h: In function 'hash__ptep_set_access_flags': /kisskb/src/arch/powerpc/include/asm/book3s/64/hash.h:192:8: error: implicit declaration of function 'pte_raw'; did you mean 'pte_read'? [-Werror=implicit-function-declaration] 192 | val = pte_raw(entry) & mask; | ^~~~~~~ | pte_read In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:18, from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:296, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h: In function 'mmu_get_ap': /kisskb/src/arch/powerpc/include/asm/book3s/64/tlbflush-radix.h:11:30: error: 'struct mmu_psize_def' has no member named 'ap' 11 | return mmu_psize_defs[psize].ap; | ^ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:296, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h: In function 'radix__pmd_same': /kisskb/src/arch/powerpc/include/asm/book3s/64/radix.h:221:11: error: implicit declaration of function 'pmd_raw'; did you mean 'pmd_val'? [-Werror=implicit-function-declaration] 221 | return ((pmd_raw(pmd_a) ^ pmd_raw(pmd_b)) == 0); | ^~~~~~~ | pmd_val In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:9:19: error: redefinition of 'pmd_huge' 9 | static inline int pmd_huge(pmd_t pmd) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:277:19: note: previous definition of 'pmd_huge' was here 277 | static inline int pmd_huge(pmd_t pmd) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:19:19: error: redefinition of 'pud_huge' 19 | static inline int pud_huge(pud_t pud) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:282:19: note: previous definition of 'pud_huge' was here 282 | static inline int pud_huge(pud_t pud) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: In function 'pud_huge': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:25:13: error: implicit declaration of function 'pud_raw'; did you mean 'pud_val'? [-Werror=implicit-function-declaration] 25 | return !!(pud_raw(pud) & cpu_to_be64(_PAGE_PTE)); | ^~~~~~~ | pud_val In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:291:19: error: redefinition of 'pgd_huge' 291 | #define pgd_huge pgd_huge | ^~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:29:19: note: in expansion of macro 'pgd_huge' 29 | static inline int pgd_huge(pgd_t pgd) | ^~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:287:19: note: previous definition of 'pgd_huge' was here 287 | static inline int pgd_huge(pgd_t pgd) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:301, from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: In function 'pgd_huge': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:35:13: error: implicit declaration of function 'pgd_raw'; did you mean 'pgd_val'? [-Werror=implicit-function-declaration] 35 | return !!(pgd_raw(pgd) & cpu_to_be64(_PAGE_PTE)); | ^~~~~~~ | pgd_val /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable-4k.h:44:19: error: redefinition of 'hugepd_ok' 44 | static inline int hugepd_ok(hugepd_t hpd) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:267:19: note: previous definition of 'hugepd_ok' was here 267 | static inline int hugepd_ok(hugepd_t hpd) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:320: warning: "IOREMAP_END" redefined 320 | #define IOREMAP_END (KERN_IO_END) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:57: note: this is the location of the previous definition 57 | #define IOREMAP_END (KERN_VIRT_START + KERN_VIRT_SIZE) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:353:29: error: redefinition of 'pte_update' 353 | static inline unsigned long pte_update(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:208:29: note: previous definition of 'pte_update' was here 208 | static inline unsigned long pte_update(struct mm_struct *mm, | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:371:19: error: redefinition of '__ptep_test_and_clear_young' 371 | static inline int __ptep_test_and_clear_young(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:242:19: note: previous definition of '__ptep_test_and_clear_young' was here 242 | static inline int __ptep_test_and_clear_young(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:409: warning: "pte_savedwrite" redefined 409 | #define pte_savedwrite pte_savedwrite | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:231: note: this is the location of the previous definition 231 | #define pte_savedwrite pte_write | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:416:19: error: redefinition of 'pte_write' 416 | static inline int pte_write(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:43:19: note: previous definition of 'pte_write' was here 43 | static inline int pte_write(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:421:19: error: redefinition of 'pte_read' 421 | static inline int pte_read(pte_t pte) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:48:19: note: previous definition of 'pte_read' was here 48 | static inline int pte_read(pte_t pte) { return 1; } | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:427:20: error: redefinition of 'ptep_set_wrprotect' 427 | static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:261:20: note: previous definition of 'ptep_set_wrprotect' was here 261 | static inline void ptep_set_wrprotect(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:437:20: error: redefinition of 'huge_ptep_set_wrprotect' 437 | static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:272:20: note: previous definition of 'huge_ptep_set_wrprotect' was here 272 | static inline void huge_ptep_set_wrprotect(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:451:21: error: redefinition of 'ptep_get_and_clear' 451 | static inline pte_t ptep_get_and_clear(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:290:21: note: previous definition of 'ptep_get_and_clear' was here 290 | static inline pte_t ptep_get_and_clear(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:459:21: error: redefinition of 'ptep_get_and_clear_full' 459 | static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:181:21: note: previous definition of 'ptep_get_and_clear_full' was here 181 | static inline pte_t ptep_get_and_clear_full(struct mm_struct *mm, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:474:20: error: redefinition of 'pte_clear' 474 | static inline void pte_clear(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:297:20: note: previous definition of 'pte_clear' was here 297 | static inline void pte_clear(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:480:19: error: redefinition of 'pte_dirty' 480 | static inline int pte_dirty(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:49:19: note: previous definition of 'pte_dirty' was here 49 | static inline int pte_dirty(pte_t pte) { return pte_val(pte) & _PAGE_DIRTY; } | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:485:19: error: redefinition of 'pte_young' 485 | static inline int pte_young(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:237:19: note: previous definition of 'pte_young' was here 237 | static inline int pte_young(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:490:19: error: redefinition of 'pte_special' 490 | static inline int pte_special(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:50:19: note: previous definition of 'pte_special' was here 50 | static inline int pte_special(pte_t pte) { return pte_val(pte) & _PAGE_SPECIAL; } | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:495:20: error: redefinition of 'pte_exec' 495 | static inline bool pte_exec(pte_t pte) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:54:20: note: previous definition of 'pte_exec' was here 54 | static inline bool pte_exec(pte_t pte) { return pte_val(pte) & _PAGE_EXEC; } | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:548: warning: "pte_clear_savedwrite" redefined 548 | #define pte_clear_savedwrite pte_clear_savedwrite | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:239: note: this is the location of the previous definition 239 | #define pte_clear_savedwrite pte_wrprotect | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_clear_savedwrite': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:552:9: error: implicit declaration of function '__pte_raw' [-Werror=implicit-function-declaration] 552 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE)); | ^~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:552:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 552 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:556:19: error: redefinition of 'pte_present' 556 | static inline int pte_present(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:73:19: note: previous definition of 'pte_present' was here 73 | static inline int pte_present(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:567:20: error: redefinition of 'pte_hw_valid' 567 | static inline bool pte_hw_valid(pte_t pte) | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:78:20: note: previous definition of 'pte_hw_valid' was here 78 | static inline bool pte_hw_valid(pte_t pte) | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:581:20: error: redefinition of 'pte_user' 581 | static inline bool pte_user(pte_t pte) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:89:20: note: previous definition of 'pte_user' was here 89 | static inline bool pte_user(pte_t pte) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:586:30: error: redefinition of 'pte_access_permitted' 586 | #define pte_access_permitted pte_access_permitted | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:587:20: note: in expansion of macro 'pte_access_permitted' 587 | static inline bool pte_access_permitted(pte_t pte, bool write) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:99:30: note: previous definition of 'pte_access_permitted' was here 99 | #define pte_access_permitted pte_access_permitted | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:100:20: note: in expansion of macro 'pte_access_permitted' 100 | static inline bool pte_access_permitted(pte_t pte, bool write) | ^~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:609:21: error: redefinition of 'pfn_pte' 609 | static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:121:21: note: previous definition of 'pfn_pte' was here 121 | static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) { | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:617:29: error: redefinition of 'pte_pfn' 617 | static inline unsigned long pte_pfn(pte_t pte) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:124:29: note: previous definition of 'pte_pfn' was here 124 | static inline unsigned long pte_pfn(pte_t pte) { | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:623:21: error: redefinition of 'pte_wrprotect' 623 | static inline pte_t pte_wrprotect(pte_t pte) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:115:21: note: previous definition of 'pte_wrprotect' was here 115 | static inline pte_t pte_wrprotect(pte_t pte) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_wrprotect': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:627:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 627 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_WRITE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:630:21: error: redefinition of 'pte_exprotect' 630 | static inline pte_t pte_exprotect(pte_t pte) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:128:21: note: previous definition of 'pte_exprotect' was here 128 | static inline pte_t pte_exprotect(pte_t pte) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_exprotect': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:632:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 632 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_EXEC)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:635:21: error: redefinition of 'pte_mkclean' 635 | static inline pte_t pte_mkclean(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:134:21: note: previous definition of 'pte_mkclean' was here 134 | static inline pte_t pte_mkclean(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkclean': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:637:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 637 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_DIRTY)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:640:21: error: redefinition of 'pte_mkold' 640 | static inline pte_t pte_mkold(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:140:21: note: previous definition of 'pte_mkold' was here 140 | static inline pte_t pte_mkold(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkold': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:642:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 642 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_ACCESSED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:645:21: error: redefinition of 'pte_mkexec' 645 | static inline pte_t pte_mkexec(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:120:21: note: previous definition of 'pte_mkexec' was here 120 | static inline pte_t pte_mkexec(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkexec': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:647:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 647 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_EXEC)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:650:21: error: redefinition of 'pte_mkpte' 650 | static inline pte_t pte_mkpte(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:145:21: note: previous definition of 'pte_mkpte' was here 145 | static inline pte_t pte_mkpte(pte_t pte) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkpte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:652:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 652 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PTE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:655:21: error: redefinition of 'pte_mkwrite' 655 | static inline pte_t pte_mkwrite(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:100:21: note: previous definition of 'pte_mkwrite' was here 100 | static inline pte_t pte_mkwrite(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkwrite': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:660:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 660 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_RW)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:663:21: error: redefinition of 'pte_mkdirty' 663 | static inline pte_t pte_mkdirty(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:105:21: note: previous definition of 'pte_mkdirty' was here 105 | static inline pte_t pte_mkdirty(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkdirty': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:665:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 665 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_DIRTY | _PAGE_SOFT_DIRTY)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:668:21: error: redefinition of 'pte_mkyoung' 668 | static inline pte_t pte_mkyoung(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:110:21: note: previous definition of 'pte_mkyoung' was here 110 | static inline pte_t pte_mkyoung(pte_t pte) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkyoung': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:670:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 670 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_ACCESSED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:673:21: error: redefinition of 'pte_mkspecial' 673 | static inline pte_t pte_mkspecial(pte_t pte) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:150:21: note: previous definition of 'pte_mkspecial' was here 150 | static inline pte_t pte_mkspecial(pte_t pte) | ^~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkspecial': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:675:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 675 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:678:21: error: redefinition of 'pte_mkhuge' 678 | static inline pte_t pte_mkhuge(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:156:21: note: previous definition of 'pte_mkhuge' was here 156 | static inline pte_t pte_mkhuge(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkdevmap': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:685:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 685 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_SPECIAL | _PAGE_DEVMAP)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:108:26: error: redefinition of 'pte_mkprivileged' 108 | #define pte_mkprivileged pte_mkprivileged | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:688:21: note: in expansion of macro 'pte_mkprivileged' 688 | static inline pte_t pte_mkprivileged(pte_t pte) | ^~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:103:21: note: previous definition of 'pte_mkprivileged' was here 103 | static inline pte_t pte_mkprivileged(pte_t pte) | ^~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkprivileged': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:690:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 690 | return __pte_raw(pte_raw(pte) | cpu_to_be64(_PAGE_PRIVILEGED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:83, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:115:20: error: redefinition of 'pte_mkuser' 115 | #define pte_mkuser pte_mkuser | ^~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:693:21: note: in expansion of macro 'pte_mkuser' 693 | static inline pte_t pte_mkuser(pte_t pte) | ^~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/pte-book3e.h:110:21: note: previous definition of 'pte_mkuser' was here 110 | static inline pte_t pte_mkuser(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_mkuser': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:695:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 695 | return __pte_raw(pte_raw(pte) & cpu_to_be64(~_PAGE_PRIVILEGED)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:704:19: error: redefinition of 'pte_devmap' 704 | static inline int pte_devmap(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/linux/mm.h:1943:19: note: previous definition of 'pte_devmap' was here 1943 | static inline int pte_devmap(pte_t pte) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:711:21: error: redefinition of 'pte_modify' 711 | static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:176:21: note: previous definition of 'pte_modify' was here 176 | static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) | ^~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_modify': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:714:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 714 | return __pte_raw((pte_raw(pte) & cpu_to_be64(_PAGE_CHG_MASK)) | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 715 | cpu_to_be64(pgprot_val(newprot))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:719: warning: "MAX_SWAPFILES_CHECK" redefined 719 | #define MAX_SWAPFILES_CHECK() do { \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:343: note: this is the location of the previous definition 343 | #define MAX_SWAPFILES_CHECK() do { \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:732: warning: "__swp_offset" redefined 732 | #define __swp_offset(x) (((x).val & PTE_RPN_MASK) >> PAGE_SHIFT) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:350: note: this is the location of the previous definition 350 | #define __swp_offset(x) ((x).val >> PTE_RPN_SHIFT) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:733: warning: "__swp_entry" redefined 733 | #define __swp_entry(type, offset) ((swp_entry_t) { \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:351: note: this is the location of the previous definition 351 | #define __swp_entry(type, offset) ((swp_entry_t) { \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:742: warning: "__pte_to_swp_entry" redefined 742 | #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) & ~_PAGE_PTE }) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:355: note: this is the location of the previous definition 355 | #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:743: warning: "__swp_entry_to_pte" redefined 743 | #define __swp_entry_to_pte(x) __pte((x).val | _PAGE_PTE) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:356: note: this is the location of the previous definition 356 | #define __swp_entry_to_pte(x) __pte((x).val) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:789:20: error: redefinition of '__ptep_set_access_flags' 789 | static inline void __ptep_set_access_flags(struct vm_area_struct *vma, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:305:20: note: previous definition of '__ptep_set_access_flags' was here 305 | static inline void __ptep_set_access_flags(struct vm_area_struct *vma, | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:333:36: error: expected ')' before '^' token 333 | #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:801:19: note: in expansion of macro 'pte_same' 801 | static inline int pte_same(pte_t pte_a, pte_t pte_b) | ^~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:333:50: error: expected ')' before '==' token 333 | #define pte_same(A,B) ((pte_val(A) ^ pte_val(B)) == 0) | ^~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:801:19: note: in expansion of macro 'pte_same' 801 | static inline int pte_same(pte_t pte_a, pte_t pte_b) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:808:19: error: redefinition of 'pte_none' 808 | static inline int pte_none(pte_t pte) | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:51:19: note: previous definition of 'pte_none' was here 51 | static inline int pte_none(pte_t pte) { return (pte_val(pte) & ~_PTE_NONE_MASK) == 0; } | ^~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:815:20: error: redefinition of '__set_pte_at' 815 | static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:192:20: note: previous definition of '__set_pte_at' was here 192 | static inline void __set_pte_at(struct mm_struct *mm, unsigned long addr, | ^~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:823: warning: "_PAGE_CACHE_CTL" redefined 823 | #define _PAGE_CACHE_CTL (_PAGE_SAO | _PAGE_NON_IDEMPOTENT | _PAGE_TOLERANT) | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:237: note: this is the location of the previous definition 237 | #define _PAGE_CACHE_CTL (_PAGE_COHERENT | _PAGE_GUARDED | _PAGE_NO_CACHE | \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:825: warning: "pgprot_noncached" redefined 825 | #define pgprot_noncached pgprot_noncached | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:240: note: this is the location of the previous definition 240 | #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:832: warning: "pgprot_noncached_wc" redefined 832 | #define pgprot_noncached_wc pgprot_noncached_wc | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:243: note: this is the location of the previous definition 243 | #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:839: warning: "pgprot_cached" redefined 839 | #define pgprot_cached pgprot_cached | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:246: note: this is the location of the previous definition 246 | #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:845: warning: "pgprot_writecombine" redefined 845 | #define pgprot_writecombine pgprot_writecombine | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:259: note: this is the location of the previous definition 259 | #define pgprot_writecombine pgprot_noncached_wc | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:853:20: error: redefinition of 'pte_ci' 853 | static inline bool pte_ci(pte_t pte) | ^~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:53:20: note: previous definition of 'pte_ci' was here 53 | static inline bool pte_ci(pte_t pte) { return pte_val(pte) & _PAGE_NO_CACHE; } | ^~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:863:20: error: redefinition of 'pmd_clear' 863 | static inline void pmd_clear(pmd_t *pmdp) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:133:20: note: previous definition of 'pmd_clear' was here 133 | static inline void pmd_clear(pmd_t *pmdp) | ^~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:143:25: error: expected identifier or '(' before '!' token 143 | #define pmd_none(pmd) (!pmd_val(pmd)) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:868:19: note: in expansion of macro 'pmd_none' 868 | static inline int pmd_none(pmd_t pmd) | ^~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:146:27: error: expected identifier or '(' before '!' token 146 | #define pmd_present(pmd) (!pmd_none(pmd)) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:873:19: note: in expansion of macro 'pmd_present' 873 | static inline int pmd_present(pmd_t pmd) | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:144:24: error: expected identifier or '(' before '!' token 144 | #define pmd_bad(pmd) (!is_kernel_addr(pmd_val(pmd)) \ | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:904:19: note: in expansion of macro 'pmd_bad' 904 | static inline int pmd_bad(pmd_t pmd) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:911:20: error: redefinition of 'pud_clear' 911 | static inline void pud_clear(pud_t *pudp) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:155:20: note: previous definition of 'pud_clear' was here 155 | static inline void pud_clear(pud_t *pudp) | ^~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:160:25: error: expected identifier or '(' before '!' token 160 | #define pud_none(pud) (!pud_val(pud)) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:916:19: note: in expansion of macro 'pud_none' 916 | static inline int pud_none(pud_t pud) | ^~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:163:40: error: expected ')' before '!=' token 163 | #define pud_present(pud) (pud_val(pud) != 0) | ^~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:921:19: note: in expansion of macro 'pud_present' 921 | static inline int pud_present(pud_t pud) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:928:21: error: redefinition of 'pud_pte' 928 | static inline pte_t pud_pte(pud_t pud) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:168:21: note: previous definition of 'pud_pte' was here 168 | static inline pte_t pud_pte(pud_t pud) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pud_pte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:930:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 930 | return __pte_raw(pud_raw(pud)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:933:21: error: redefinition of 'pte_pud' 933 | static inline pud_t pte_pud(pte_t pte) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:173:21: note: previous definition of 'pte_pud' was here 173 | static inline pud_t pte_pud(pte_t pte) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_pud': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:935:9: error: implicit declaration of function '__pud_raw' [-Werror=implicit-function-declaration] 935 | return __pud_raw(pte_raw(pte)); | ^~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:935:9: error: incompatible types when returning type 'int' but 'pud_t' {aka 'struct <anonymous>'} was expected 935 | return __pud_raw(pte_raw(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:161:24: error: expected identifier or '(' before '!' token 161 | #define pud_bad(pud) (!is_kernel_addr(pud_val(pud)) \ | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:939:19: note: in expansion of macro 'pud_bad' 939 | static inline int pud_bad(pud_t pud) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:946: warning: "pud_access_permitted" redefined 946 | #define pud_access_permitted pud_access_permitted | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:364: note: this is the location of the previous definition 364 | #define pud_access_permitted(pud, write) \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:954:20: error: redefinition of 'pgd_clear' 954 | static inline void pgd_clear(pgd_t *pgdp) | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:63:20: note: previous definition of 'pgd_clear' was here 63 | static inline void pgd_clear(pgd_t *pgdp) | ^~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:56:25: error: expected identifier or '(' before '!' token 56 | #define pgd_none(pgd) (!pgd_val(pgd)) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:959:19: note: in expansion of macro 'pgd_none' 959 | static inline int pgd_none(pgd_t pgd) | ^~~~~~~~ /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:58:40: error: expected ')' before '!=' token 58 | #define pgd_present(pgd) (pgd_val(pgd) != 0) | ^~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:964:19: note: in expansion of macro 'pgd_present' 964 | static inline int pgd_present(pgd_t pgd) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:969:21: error: redefinition of 'pgd_pte' 969 | static inline pte_t pgd_pte(pgd_t pgd) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:68:21: note: previous definition of 'pgd_pte' was here 68 | static inline pte_t pgd_pte(pgd_t pgd) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pgd_pte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:971:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 971 | return __pte_raw(pgd_raw(pgd)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:974:21: error: redefinition of 'pte_pgd' 974 | static inline pgd_t pte_pgd(pte_t pte) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:73:21: note: previous definition of 'pte_pgd' was here 73 | static inline pgd_t pte_pgd(pte_t pte) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_pgd': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:976:9: error: implicit declaration of function '__pgd_raw'; did you mean '__fdget_raw'? [-Werror=implicit-function-declaration] 976 | return __pgd_raw(pte_raw(pte)); | ^~~~~~~~~ | __fdget_raw /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:976:9: error: incompatible types when returning type 'int' but 'pgd_t' {aka 'struct <anonymous>'} was expected 976 | return __pgd_raw(pte_raw(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:57:37: error: expected ')' before '==' token 57 | #define pgd_bad(pgd) (pgd_val(pgd) == 0) | ^~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:979:19: note: in expansion of macro 'pgd_bad' 979 | static inline int pgd_bad(pgd_t pgd) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:986: warning: "pgd_access_permitted" redefined 986 | #define pgd_access_permitted pgd_access_permitted | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:374: note: this is the location of the previous definition 374 | #define pgd_access_permitted(pgd, write) \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:997: warning: "pmd_page_vaddr" redefined 997 | #define pmd_page_vaddr(pmd) __va(pmd_val(pmd) & ~PMD_MASKED_BITS) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:147: note: this is the location of the previous definition 147 | #define pmd_page_vaddr(pmd) (pmd_val(pmd) & ~PMD_MASKED_BITS) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:998: warning: "pud_page_vaddr" redefined 998 | #define pud_page_vaddr(pud) __va(pud_val(pud) & ~PUD_MASKED_BITS) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:164: note: this is the location of the previous definition 164 | #define pud_page_vaddr(pud) (pud_val(pud) & ~PUD_MASKED_BITS) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:999: warning: "pgd_page_vaddr" redefined 999 | #define pgd_page_vaddr(pgd) __va(pgd_val(pgd) & ~PGD_MASKED_BITS) | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:59: note: this is the location of the previous definition 59 | #define pgd_page_vaddr(pgd) (pgd_val(pgd) & ~PGD_MASKED_BITS) | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1013: warning: "pud_offset" redefined 1013 | #define pud_offset(pgdp, addr) \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:9, from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable-4k.h:81: note: this is the location of the previous definition 81 | #define pud_offset(pgdp, addr) \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1015: warning: "pmd_offset" redefined 1015 | #define pmd_offset(pudp,addr) \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:193: note: this is the location of the previous definition 193 | #define pmd_offset(pudp,addr) \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1017: warning: "pte_offset_kernel" redefined 1017 | #define pte_offset_kernel(dir,addr) \ | In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:196: note: this is the location of the previous definition 196 | #define pte_offset_kernel(dir,addr) \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1022:20: error: redefinition of 'pte_unmap' 1022 | static inline void pte_unmap(pte_t *pte) { } | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:201:20: note: previous definition of 'pte_unmap' was here 201 | static inline void pte_unmap(pte_t *pte) { } | ^~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1037:19: error: static declaration of 'map_kernel_page' follows non-static declaration 1037 | static inline int map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot) | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:358:5: note: previous declaration of 'map_kernel_page' was here 358 | int map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot); | ^~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1049:29: error: static declaration of 'vmemmap_create_mapping' follows non-static declaration 1049 | static inline int __meminit vmemmap_create_mapping(unsigned long start, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:359:22: note: previous declaration of 'vmemmap_create_mapping' was here 359 | extern int __meminit vmemmap_create_mapping(unsigned long start, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1059:20: error: static declaration of 'vmemmap_remove_mapping' follows non-static declaration 1059 | static inline void vmemmap_remove_mapping(unsigned long start, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:362:13: note: previous declaration of 'vmemmap_remove_mapping' was here 362 | extern void vmemmap_remove_mapping(unsigned long start, | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1068:21: error: redefinition of 'pmd_pte' 1068 | static inline pte_t pmd_pte(pmd_t pmd) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/pgtable.h:6, from /kisskb/src/arch/powerpc/include/asm/pgtable.h:20, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/64/pgtable.h:138:21: note: previous definition of 'pmd_pte' was here 138 | static inline pte_t pmd_pte(pmd_t pmd) | ^~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pmd_pte': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1070:9: error: incompatible types when returning type 'int' but 'pte_t' {aka 'struct <anonymous>'} was expected 1070 | return __pte_raw(pmd_raw(pmd)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: In function 'pte_pmd': /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1075:9: error: implicit declaration of function '__pmd_raw' [-Werror=implicit-function-declaration] 1075 | return __pmd_raw(pte_raw(pte)); | ^~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1075:9: error: incompatible types when returning type 'int' but 'pmd_t' {aka 'struct <anonymous>'} was expected 1075 | return __pmd_raw(pte_raw(pte)); | ^~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1091: warning: "pmd_mk_savedwrite" redefined 1091 | #define pmd_mk_savedwrite(pmd) pte_pmd(pte_mk_savedwrite(pmd_pte(pmd))) | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:247: note: this is the location of the previous definition 247 | #define pmd_mk_savedwrite pmd_mkwrite | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1092: warning: "pmd_clear_savedwrite" redefined 1092 | #define pmd_clear_savedwrite(pmd) pte_pmd(pte_clear_savedwrite(pmd_pte(pmd))) | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:251: note: this is the location of the previous definition 251 | #define pmd_clear_savedwrite pmd_wrprotect | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1115: warning: "pmd_savedwrite" redefined 1115 | #define pmd_savedwrite(pmd) pte_savedwrite(pmd_pte(pmd)) | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:243: note: this is the location of the previous definition 243 | #define pmd_savedwrite pmd_write | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1117: warning: "pmd_access_permitted" redefined 1117 | #define pmd_access_permitted pmd_access_permitted | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:359: note: this is the location of the previous definition 359 | #define pmd_access_permitted(pmd, write) \ | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1360: warning: "pmd_leaf" redefined 1360 | #define pmd_leaf pmd_is_leaf | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:1259: note: this is the location of the previous definition 1259 | #define pmd_leaf(x) 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1359:21: error: redefinition of 'pmd_is_leaf' 1359 | #define pmd_is_leaf pmd_is_leaf | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1361:20: note: in expansion of macro 'pmd_is_leaf' 1361 | static inline bool pmd_is_leaf(pmd_t pmd) | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:146:21: note: previous definition of 'pmd_is_leaf' was here 146 | #define pmd_is_leaf pmd_is_leaf | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/pgtable.h:147:20: note: in expansion of macro 'pmd_is_leaf' 147 | static inline bool pmd_is_leaf(pmd_t pmd) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1367: warning: "pud_leaf" redefined 1367 | #define pud_leaf pud_is_leaf | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:1256: note: this is the location of the previous definition 1256 | #define pud_leaf(x) 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1366:21: error: redefinition of 'pud_is_leaf' 1366 | #define pud_is_leaf pud_is_leaf | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1368:20: note: in expansion of macro 'pud_is_leaf' 1368 | static inline bool pud_is_leaf(pud_t pud) | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:154:21: note: previous definition of 'pud_is_leaf' was here 154 | #define pud_is_leaf pud_is_leaf | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/pgtable.h:155:20: note: in expansion of macro 'pud_is_leaf' 155 | static inline bool pud_is_leaf(pud_t pud) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1374: warning: "pgd_leaf" redefined 1374 | #define pgd_leaf pgd_is_leaf | In file included from /kisskb/src/arch/powerpc/include/asm/pgtable.h:99, from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/include/asm-generic/pgtable.h:1250: note: this is the location of the previous definition 1250 | #define pgd_leaf(x) 0 | In file included from /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:20, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1373:21: error: redefinition of 'pgd_is_leaf' 1373 | #define pgd_is_leaf pgd_is_leaf | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/pgtable.h:1375:20: note: in expansion of macro 'pgd_is_leaf' 1375 | static inline bool pgd_is_leaf(pgd_t pgd) | ^~~~~~~~~~~ In file included from /kisskb/src/include/linux/mm.h:95, from /kisskb/src/arch/powerpc/include/asm/io.h:29, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/pgtable.h:162:21: note: previous definition of 'pgd_is_leaf' was here 162 | #define pgd_is_leaf pgd_is_leaf | ^~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/pgtable.h:163:20: note: in expansion of macro 'pgd_is_leaf' 163 | static inline bool pgd_is_leaf(pgd_t pgd) | ^~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:185:19: error: redefinition of 'shift_to_mmu_psize' 185 | static inline int shift_to_mmu_psize(unsigned int shift) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/mmu.h:13, from /kisskb/src/arch/powerpc/include/asm/mmu.h:375, from /kisskb/src/arch/powerpc/include/asm/paca.h:18, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:21, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/mmu-book3e.h:261:19: note: previous definition of 'shift_to_mmu_psize' was here 261 | static inline int shift_to_mmu_psize(unsigned int shift) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:195:28: error: redefinition of 'mmu_psize_to_shift' 195 | static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/include/asm/nohash/mmu.h:13, from /kisskb/src/arch/powerpc/include/asm/mmu.h:375, from /kisskb/src/arch/powerpc/include/asm/paca.h:18, from /kisskb/src/arch/powerpc/include/asm/current.h:13, from /kisskb/src/include/linux/thread_info.h:21, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/nohash/mmu-book3e.h:271:28: note: previous definition of 'mmu_psize_to_shift' was here 271 | static inline unsigned int mmu_psize_to_shift(unsigned int mmu_psize) | ^~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:22: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'ap_to_shift': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:207:28: error: 'struct mmu_psize_def' has no member named 'ap' 207 | if (mmu_psize_defs[psize].ap == ap) | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'get_sllp_encoding': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:218:32: error: 'struct mmu_psize_def' has no member named 'sllp' 218 | sllp = ((mmu_psize_defs[psize].sllp & SLB_VSID_L) >> 6) | | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:219:26: error: 'struct mmu_psize_def' has no member named 'sllp' 219 | ((mmu_psize_defs[psize].sllp & SLB_VSID_LP) >> 4); | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'hpte_encode_avpn': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:337:57: error: 'struct mmu_psize_def' has no member named 'avpnm' 337 | v = (vpn >> (23 - VPN_SHIFT)) & ~(mmu_psize_defs[psize].avpnm); | ^ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: In function 'hpte_encode_r': /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:411:50: error: 'struct mmu_psize_def' has no member named 'penc'; did you mean 'enc'? 411 | unsigned int penc = mmu_psize_defs[base_psize].penc[actual_psize]; | ^~~~ | enc In file included from /kisskb/src/include/linux/cache.h:5, from /kisskb/src/include/linux/printk.h:9, from /kisskb/src/include/linux/kernel.h:15, from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h: At top level: /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:698:30: error: 'SLICE_NUM_HIGH' undeclared here (not in a function) 698 | DECLARE_BITMAP(high_slices, SLICE_NUM_HIGH); | ^~~~~~~~~~~~~~ /kisskb/src/include/uapi/linux/kernel.h:13:40: note: in definition of macro '__KERNEL_DIV_ROUND_UP' 13 | #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) | ^ /kisskb/src/include/linux/types.h:11:21: note: in expansion of macro 'BITS_TO_LONGS' 11 | unsigned long name[BITS_TO_LONGS(bits)] | ^~~~~~~~~~~~~ /kisskb/src/arch/powerpc/include/asm/book3s/64/mmu-hash.h:698:2: note: in expansion of macro 'DECLARE_BITMAP' 698 | DECLARE_BITMAP(high_slices, SLICE_NUM_HIGH); | ^~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/list.h:9, from /kisskb/src/include/linux/preempt.h:11, from /kisskb/src/include/linux/hardirq.h:5, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c: In function 'kvmppc_find_table': /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' 993 | void *__mptr = (void *)(ptr); \ | ^~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' 993 | void *__mptr = (void *)(ptr); \ | ^~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' 993 | void *__mptr = (void *)(ptr); \ | ^~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' 993 | void *__mptr = (void *)(ptr); \ | ^~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' 993 | void *__mptr = (void *)(ptr); \ | ^~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/kernel.h:993:26: note: in definition of macro 'container_of' 993 | void *__mptr = (void *)(ptr); \ | ^~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/string.h:6, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:10: /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:20: note: in expansion of macro '__same_type' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' 995 | !__same_type(*(ptr), void), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' 995 | !__same_type(*(ptr), void), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' 995 | !__same_type(*(ptr), void), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' 995 | !__same_type(*(ptr), void), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' 995 | !__same_type(*(ptr), void), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert' 330 | if (!(condition)) \ | ^~~~~~~~~ /kisskb/src/include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert' 350 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__) | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert' 39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) | ^~~~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:994:2: note: in expansion of macro 'BUILD_BUG_ON_MSG' 994 | BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \ | ^~~~~~~~~~~~~~~~ /kisskb/src/include/linux/kernel.h:995:6: note: in expansion of macro '__same_type' 995 | !__same_type(*(ptr), void), \ | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:2: note: in expansion of macro 'container_of' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~~~~ /kisskb/src/include/linux/compiler.h:269:22: note: in expansion of macro '__READ_ONCE' 269 | #define READ_ONCE(x) __READ_ONCE(x, 1) | ^~~~~~~~~~~ /kisskb/src/include/linux/rculist.h:400:28: note: in expansion of macro 'READ_ONCE' 400 | container_of((typeof(ptr))READ_ONCE(ptr), type, member) | ^~~~~~~~~ /kisskb/src/include/linux/rculist.h:416:13: note: in expansion of macro 'list_entry_lockless' 416 | for (pos = list_entry_lockless((head)->next, typeof(*pos), member); \ | ^~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:2: note: in expansion of macro 'list_for_each_entry_lockless' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /kisskb/src/include/linux/pid.h:5, from /kisskb/src/include/linux/sched.h:14, from /kisskb/src/include/linux/ratelimit.h:6, from /kisskb/src/include/linux/dev_printk.h:16, from /kisskb/src/include/linux/device.h:15, from /kisskb/src/arch/powerpc/include/asm/io.h:27, from /kisskb/src/include/linux/io.h:13, from /kisskb/src/include/linux/irq.h:20, from /kisskb/src/arch/powerpc/include/asm/hardirq.h:6, from /kisskb/src/include/linux/hardirq.h:9, from /kisskb/src/include/linux/kvm_host.h:7, from /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:12: /kisskb/src/arch/powerpc/kvm/book3s_64_vio_hv.c:68:46: error: 'struct kvm_arch' has no member named 'spapr_tce_tables' 68 | list_for_each_entry_lockless(stt, &kvm->arch.spapr_tce_tables, list) | ^ /kisskb/src/include/linux/rculist.h:417:24: note: in definition of macro 'list_for_each_entry_lockless' 417 | &pos->member != (head); \ | ^~~~ cc1: some warnings being treated as errors make[3]: *** [/kisskb/src/scripts/Makefile.build:267: arch/powerpc/kvm/book3s_64_vio_hv.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:488: arch/powerpc/kvm] Error 2 make[1]: *** [/kisskb/src/Makefile:1722: arch/powerpc] Error 2 make[1]: *** Waiting for unfinished jobs.... In file included from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:30: /kisskb/src/drivers/net/ethernet/aurora/nb8800.h:92: warning: "TCR_DIE" redefined 92 | #define TCR_DIE BIT(7) | In file included from /kisskb/src/arch/powerpc/include/asm/reg.h:21, from /kisskb/src/arch/powerpc/include/asm/processor.h:9, from /kisskb/src/arch/powerpc/include/asm/thread_info.h:40, from /kisskb/src/include/linux/thread_info.h:38, from /kisskb/src/include/asm-generic/preempt.h:5, from ./arch/powerpc/include/generated/asm/preempt.h:1, from /kisskb/src/include/linux/preempt.h:78, from /kisskb/src/include/linux/spinlock.h:51, from /kisskb/src/include/linux/seqlock.h:36, from /kisskb/src/include/linux/time.h:6, from /kisskb/src/include/linux/stat.h:19, from /kisskb/src/include/linux/module.h:13, from /kisskb/src/drivers/net/ethernet/aurora/nb8800.c:13: /kisskb/src/arch/powerpc/include/asm/reg_booke.h:551: note: this is the location of the previous definition 551 | #define TCR_DIE TCR_PIE /* DEC Interrupt Enable */ | /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep0_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:836:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 836 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:837:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 837 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_rx_tasklet': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:964:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 964 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:965:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 965 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'ep_req_rx': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1490:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1490 | vaddr = (u32)phys_to_virt(in_be32(&bd->buf)); | ^ In file included from /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:41: /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1491:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1491 | frame_set_data(pframe, (u8 *)vaddr); | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.h:229:47: note: in definition of macro 'frame_set_data' 229 | #define frame_set_data(frm, dat) (frm->data = dat) | ^~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_init': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:542:37: warning: this statement may fall through [-Wimplicit-fallthrough=] 542 | if ((max == 128) || (max == 256) || (max == 512)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:544:4: note: here 544 | default: | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:563:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 563 | if (max <= 1024) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:565:4: note: here 565 | case USB_SPEED_FULL: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:566:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 566 | if (max <= 64) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:568:4: note: here 568 | default: | ^~~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:580:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 580 | if (max <= 1024) | ^ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:582:4: note: here 582 | case USB_SPEED_FULL: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:596:5: warning: this statement may fall through [-Wimplicit-fallthrough=] 596 | switch (max) { | ^~~~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:608:4: note: here 608 | case USB_SPEED_LOW: | ^~~~ /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c: In function 'qe_ep_set_halt': /kisskb/src/drivers/usb/gadget/udc/fsl_qe_udc.c:1840:14: warning: 'udc' may be used uninitialized in this function [-Wmaybe-uninitialized] 1840 | dev_vdbg(udc->dev, "%s %s halt stat %d\n", ep->ep.name, | ^~ make: *** [Makefile:180: sub-make] Error 2 Command 'make -s -j 10 ARCH=powerpc O=/kisskb/build/gustavoars_ppc64_book3e_allmodconfig_powerpc-gcc9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-9.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/gustavoars_ppc64_book3e_allmodconfig_powerpc-gcc9 # Build took: 0:30:57.410574
© Michael Ellerman 2006-2018.