scripts/Makefile.clean:12: drivers/gpu/drm/xe/tests/Makefile: No such file or directory make[7]: *** No rule to make target 'drivers/gpu/drm/xe/tests/Makefile'. Stop. make[6]: *** [scripts/Makefile.clean:61: drivers/gpu/drm/xe/tests] Error 2 make[5]: *** [scripts/Makefile.clean:61: drivers/gpu/drm/xe] Error 2 make[4]: *** [scripts/Makefile.clean:61: drivers/gpu/drm] Error 2 make[3]: *** [scripts/Makefile.clean:61: drivers/gpu] Error 2 make[2]: *** [scripts/Makefile.clean:61: drivers] Error 2 make[1]: *** [/srv/vmksft/testing/wt-21/Makefile:2059: _clean_.] Error 2 make: *** [Makefile:248: __sub-make] Error 2 In file included from ./include/linux/thread_info.h:27, from ./include/linux/spinlock.h:60, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from arch/x86/boot/startup/gdt_idt.c:6: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/boot/startup/gdt_idt.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/kernel.h:23, from arch/x86/boot/startup/map_kernel.c:6: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/boot/startup/map_kernel.o] Error 1 make[3]: *** [scripts/Makefile.build:544: arch/x86/boot/startup] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/io.h:41, from ./include/linux/io.h:12, from arch/x86/realmode/init.c:2: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/realmode/init.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./include/linux/smp.h:13, from ./include/linux/lockdep.h:14, from ./include/linux/mutex.h:17, from ./include/linux/notifier.h:14, from ./include/linux/kprobes.h:21, from arch/x86/lib/error-inject.c:5: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:544: arch/x86/realmode] Error 2 make[3]: *** [scripts/Makefile.build:287: arch/x86/lib/error-inject.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/kernel.h:23, from arch/x86/kernel/head64.c:14: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kernel/head64.o] Error 1 make[4]: *** Waiting for unfinished jobs.... arch/x86/power/cpu.c: In function ‘__save_processor_state’: arch/x86/power/cpu.c:130:48: error: taking address of packed member of ‘struct saved_context’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 130 | &ctxt->misc_enable); | ^~~~~~~~~~~~~~~~~~ arch/x86/power/cpu.c: In function ‘msr_build_context’: arch/x86/power/cpu.c:390:41: error: taking address of packed member of ‘struct saved_context’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 390 | struct saved_msrs *saved_msrs = &saved_context.saved_msrs; | ^~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: arch/x86/power/cpu.o] Error 1 make[2]: *** [scripts/Makefile.build:544: arch/x86/power] Error 2 make[2]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/console.h:17, from drivers/usb/early/ehci-dbgp.c:15: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/usb/early/ehci-dbgp.o] Error 1 In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./include/linux/smp.h:13, from ./include/linux/lockdep.h:14, from ./include/linux/mutex.h:17, from ./include/linux/notifier.h:14, from ./arch/x86/include/asm/kdebug.h:5, from ./include/linux/kdebug.h:5, from arch/x86/entry/entry_fred.c:7: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:544: drivers/usb/early] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [scripts/Makefile.build:287: arch/x86/entry/entry_fred.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./arch/x86/include/asm/cpumask.h:7, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/tsc.h:11, from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from arch/x86/entry/vsyscall/vsyscall_64.c:30: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:544: arch/x86/lib] Error 2 make[5]: *** [scripts/Makefile.build:287: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 make[4]: *** [scripts/Makefile.build:544: arch/x86/entry/vsyscall] Error 2 make[3]: *** [scripts/Makefile.build:544: drivers/usb] Error 2 make[3]: *** Waiting for unfinished jobs.... arch/x86/platform/efi/efi.c: In function ‘efi_memblock_x86_reserve_range’: arch/x86/platform/efi/efi.c:194:30: error: taking address of packed member of ‘struct boot_params’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 194 | struct efi_info *e = &boot_params.efi_info; | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: arch/x86/platform/efi/efi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./arch/x86/include/asm/cpumask.h:7, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/tsc.h:11, from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/fs_dirent.h:5, from ./include/linux/fs/super_types.h:5, from ./include/linux/fs/super.h:5, from ./include/linux/fs.h:5, from ./include/uapi/linux/aio_abi.h:31, from ./include/linux/syscalls.h:85, from arch/x86/entry/syscall_32.c:7: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/entry/syscall_32.o] Error 1 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/sched.h:14, from ./include/linux/ptrace.h:6, from ./include/uapi/asm-generic/bpf_perf_event.h:4, from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1, from ./include/uapi/linux/bpf_perf_event.h:11, from ./include/linux/perf_event.h:18, from arch/x86/events/amd/ibs.c:9: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: arch/x86/events/amd/ibs.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ./include/linux/kernel.h:23, from arch/x86/platform/efi/efi_64.c:21: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: arch/x86/platform/efi/efi_64.o] Error 1 make[4]: *** [scripts/Makefile.build:544: arch/x86/platform/efi] Error 2 make[3]: *** [scripts/Makefile.build:544: arch/x86/platform] Error 2 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/sched.h:14, from arch/x86/mm/fault.c:7: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/processor.h:20, from ./include/linux/sched.h:13: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./arch/x86/include/asm/cpumask.h:7, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/tsc.h:11, from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/module.h:13, from init/main.c:18: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: init/main.o] Error 1 make[4]: *** [scripts/Makefile.build:287: arch/x86/mm/fault.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.build:544: init] Error 2 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/sched.h:14, from ./include/linux/ptrace.h:6, from ./include/uapi/asm-generic/bpf_perf_event.h:4, from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1, from ./include/uapi/linux/bpf_perf_event.h:11, from ./include/linux/perf_event.h:18, from arch/x86/events/core.c:15: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/events/core.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./arch/x86/include/asm/cpumask.h:7, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/tsc.h:11, from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/sync_file.h:17, from drivers/gpu/drm/drm_atomic.c:30: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors In file included from ./include/linux/uaccess.h:13, from ./include/linux/sched/task.h:13, from ./include/linux/sched/signal.h:9, from ./include/linux/rcuwait.h:6, from ./include/linux/percpu-rwsem.h:7, from ./include/linux/fs/super_types.h:13, from ./include/linux/fs/super.h:5, from ./include/linux/fs.h:5, from ./include/linux/compat.h:17, from ./arch/x86/include/asm/ia32.h:7, from ./arch/x86/include/asm/elf.h:10, from ./include/linux/elf.h:6, from ./include/linux/module.h:20, from sound/core/control.c:9: sound/core/control_compat.c: In function ‘snd_ctl_elem_info_compat’: sound/core/control_compat.c:111:35: error: taking address of packed member of ‘struct snd_ctl_elem_info32’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 111 | if (put_user(data->owner, &data32->owner)) ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ sound/core/control_compat.c:111:13: note: in expansion of macro ‘put_user’ 111 | if (put_user(data->owner, &data32->owner)) | ^~~~~~~~ sound/core/control_compat.c:116:55: error: taking address of packed member of ‘struct snd_ctl_elem_info32’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 116 | if (put_user(data->value.integer.min, &data32->value.integer.min) || ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ sound/core/control_compat.c:116:21: note: in expansion of macro ‘put_user’ 116 | if (put_user(data->value.integer.min, &data32->value.integer.min) || | ^~~~~~~~ sound/core/control_compat.c:117:55: error: taking address of packed member of ‘struct snd_ctl_elem_info32’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 117 | put_user(data->value.integer.max, &data32->value.integer.max) || ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ sound/core/control_compat.c:117:21: note: in expansion of macro ‘put_user’ 117 | put_user(data->value.integer.max, &data32->value.integer.max) || | ^~~~~~~~ sound/core/control_compat.c:118:56: error: taking address of packed member of ‘struct snd_ctl_elem_info32’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 118 | put_user(data->value.integer.step, &data32->value.integer.step)) ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ sound/core/control_compat.c:118:21: note: in expansion of macro ‘put_user’ 118 | put_user(data->value.integer.step, &data32->value.integer.step)) | ^~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: sound/core/control.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[5]: *** [scripts/Makefile.build:287: drivers/gpu/drm/drm_atomic.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [scripts/Makefile.build:544: arch/x86/events/amd] Error 2 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/sched.h:14, from ./include/linux/ratelimit.h:6, from ./include/linux/dev_printk.h:16, from ./include/linux/device.h:15, from ./include/linux/node.h:18, from ./include/linux/cpu.h:17, from arch/x86/kernel/process_64.c:18: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kernel/process_64.o] Error 1 make[3]: *** [scripts/Makefile.build:544: arch/x86/kernel] Error 2 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/spinlock.h:60, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from arch/x86/entry/vdso/extable.c:3: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: arch/x86/entry/vdso/extable.o] Error 1 make[4]: *** [scripts/Makefile.build:544: arch/x86/entry/vdso] Error 2 make[3]: *** [scripts/Makefile.build:544: arch/x86/entry] Error 2 In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./arch/x86/include/asm/cpumask.h:7, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/tsc.h:11, from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/jiffies.h:10, from ./include/linux/ktime.h:25, from ./include/linux/timer.h:6, from ./include/linux/netdevice.h:24, from arch/x86/net/bpf_jit_comp.c:8: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/net/bpf_jit_comp.o] Error 1 make[3]: *** [scripts/Makefile.build:544: arch/x86/net] Error 2 In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/processor.h:20, from ./include/linux/sched.h:13, from ./include/linux/uaccess.h:10, from arch/x86/mm/extable.c:3: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/sched.h:14: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:544: sound/core] Error 2 make[3]: *** Waiting for unfinished jobs.... make[4]: *** [scripts/Makefile.build:287: arch/x86/mm/extable.o] Error 1 make[3]: *** [scripts/Makefile.build:544: arch/x86/mm] Error 2 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/spinlock.h:60, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/slab.h:16, from drivers/gpu/drm/drm_auth.c:32: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/gpu/drm/drm_auth.o] Error 1 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/spinlock.h:60, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/slab.h:16, from drivers/gpu/drm/drm_blend.c:28: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/gpu/drm/drm_blend.o] Error 1 make[2]: *** [scripts/Makefile.build:544: sound] Error 2 In file included from ./include/linux/bitmap.h:8, from ./include/linux/cpumask.h:11, from ./include/linux/smp.h:13, from ./include/linux/lockdep.h:14, from ./include/linux/mutex.h:17, from ./include/linux/kernfs.h:11, from ./include/linux/sysfs.h:16, from ./include/linux/kobject.h:20, from ./include/linux/pci.h:35, from drivers/iommu/amd/init.c:11: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/iommu/amd/init.o] Error 1 make[4]: *** [scripts/Makefile.build:544: drivers/iommu/amd] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/spinlock.h:60, from ./include/drm/drm_crtc.h:28, from ./include/drm/drm_atomic.h:31, from drivers/gpu/drm/drm_atomic_uapi.c:30: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/gpu/drm/drm_atomic_uapi.o] Error 1 In file included from ./include/linux/uaccess.h:13, from ./include/linux/sched/task.h:13, from ./include/linux/sched/signal.h:9, from ./include/linux/rcuwait.h:6, from ./include/linux/mm.h:36, from io_uring/eventfd.c:4: ./include/linux/eventpoll.h: In function ‘epoll_put_uevent’: ./include/linux/eventpoll.h:85:33: error: taking address of packed member of ‘struct epoll_event’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 85 | if (__put_user(revents, &uevent->events) || ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ ./include/linux/eventpoll.h:85:13: note: in expansion of macro ‘__put_user’ 85 | if (__put_user(revents, &uevent->events) || | ^~~~~~~~~~ ./include/linux/eventpoll.h:86:30: error: taking address of packed member of ‘struct epoll_event’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 86 | __put_user(data, &uevent->data)) ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ ./include/linux/eventpoll.h:86:13: note: in expansion of macro ‘__put_user’ 86 | __put_user(data, &uevent->data)) | ^~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: io_uring/eventfd.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/debug_locks.h:5, from kernel/panic.c:12: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: kernel/panic.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from ./arch/x86/include/asm/cpumask.h:7, from ./arch/x86/include/asm/msr.h:11, from ./arch/x86/include/asm/tsc.h:11, from ./arch/x86/include/asm/timex.h:6, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./include/linux/stat.h:19, from ./include/linux/fs_dirent.h:5, from ./include/linux/fs/super_types.h:5, from ./include/linux/fs/super.h:5, from ./include/linux/fs.h:5, from ./include/linux/debugfs.h:15, from drivers/gpu/drm/drm_bridge.c:24: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[5]: *** [scripts/Makefile.build:287: drivers/gpu/drm/drm_bridge.o] Error 1 make[4]: *** [scripts/Makefile.build:544: drivers/gpu/drm] Error 2 make[3]: *** [scripts/Makefile.build:544: drivers/gpu] Error 2 In file included from ./include/linux/uaccess.h:13, from ./include/linux/sched/task.h:13, from ./include/linux/sched/signal.h:9, from ./include/linux/rcuwait.h:6, from ./include/linux/percpu-rwsem.h:7, from ./include/linux/fs/super_types.h:13, from ./include/linux/fs/super.h:5, from ./include/linux/fs.h:5, from ./include/linux/compat.h:17, from ./arch/x86/include/asm/ia32.h:7, from ./arch/x86/include/asm/elf.h:10, from ./include/linux/elf.h:6, from ./include/linux/module.h:20, from fs/file_table.c:13: ./include/linux/eventpoll.h: In function ‘epoll_put_uevent’: ./include/linux/eventpoll.h:85:33: error: taking address of packed member of ‘struct epoll_event’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 85 | if (__put_user(revents, &uevent->events) || ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ ./include/linux/eventpoll.h:85:13: note: in expansion of macro ‘__put_user’ 85 | if (__put_user(revents, &uevent->events) || | ^~~~~~~~~~ ./include/linux/eventpoll.h:86:30: error: taking address of packed member of ‘struct epoll_event’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 86 | __put_user(data, &uevent->data)) ./arch/x86/include/asm/uaccess.h:176:34: note: in definition of macro ‘do_put_user_call’ 176 | __typeof__(ptr) __ptr = (ptr); /* eval ptr once */ \ | ^~~ ./include/linux/eventpoll.h:86:13: note: in expansion of macro ‘__put_user’ 86 | __put_user(data, &uevent->data)) | ^~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: fs/file_table.o] Error 1 make[3]: *** Waiting for unfinished jobs.... net/ipv4/ip_sockglue.c: In function ‘compat_ip_set_mcast_msfilter’: net/ipv4/ip_sockglue.c:839:34: error: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 839 | &gf32->gf_group, gf32->gf_slist_flex); | ^~~~~~~~~~~~~~~ net/ipv4/ip_sockglue.c:839:55: error: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 839 | &gf32->gf_group, gf32->gf_slist_flex); | ~~~~^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: net/ipv4/ip_sockglue.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/spinlock.h:60, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from kernel/exit.c:8: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: kernel/exit.o] Error 1 make[2]: *** [scripts/Makefile.build:544: io_uring] Error 2 make[2]: *** [scripts/Makefile.build:544: kernel] Error 2 make[3]: *** [scripts/Makefile.build:544: drivers/iommu] Error 2 net/ipv6/ipv6_sockglue.c: In function ‘compat_ipv6_set_mcast_msfilter’: net/ipv6/ipv6_sockglue.c:256:60: error: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 256 | .gf_numsrc = gf32->gf_numsrc}, gf32->gf_slist_flex); | ~~~~^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: net/ipv6/ipv6_sockglue.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/processor.h:20, from ./include/linux/sched.h:13, from ./include/linux/resume_user_mode.h:6, from ./include/linux/entry-virt.h:6, from ./include/linux/kvm_host.h:5, from arch/x86/kvm/irq.c:13: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/irq.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[2]: *** [scripts/Makefile.build:544: fs] Error 2 make[3]: *** [scripts/Makefile.build:544: arch/x86/events] Error 2 net/vmw_vsock/virtio_transport_common.c: In function ‘virtio_transport_recv_enqueue’: net/vmw_vsock/virtio_transport_common.c:1411:38: error: taking address of packed member of ‘struct virtio_vsock_hdr’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 1411 | le32_add_cpu(&last_hdr->len, len); | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: net/vmw_vsock/virtio_transport_common.o] Error 1 make[3]: *** [scripts/Makefile.build:544: net/vmw_vsock] Error 2 make[3]: *** Waiting for unfinished jobs.... block/partitions/efi.c: In function ‘efi_partition’: block/partitions/efi.c:744:33: error: taking address of packed member of ‘struct _gpt_entry’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 744 | efi_guid_to_str(&ptes[i].unique_partition_guid, info->uuid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block/partitions/efi.c:749:41: error: taking address of packed member of ‘struct _gpt_entry’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 749 | utf16_le_to_7bit(ptes[i].partition_name, label_max, info->volname); | ~~~~~~~^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: block/partitions/efi.o] Error 1 make[3]: *** [scripts/Makefile.build:544: block/partitions] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/processor.h:20, from ./include/linux/sched.h:13, from ./include/linux/resume_user_mode.h:6, from ./include/linux/entry-virt.h:6, from ./include/linux/kvm_host.h:5, from arch/x86/kvm/lapic.c:20: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/lapic.o] Error 1 arch/x86/kvm/emulate.c: In function ‘em_lgdt_lidt’: arch/x86/kvm/emulate.c:3474:30: error: taking address of packed member of ‘struct desc_ptr’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 3474 | &desc_ptr.size, &desc_ptr.address, | ^~~~~~~~~~~~~~ arch/x86/kvm/emulate.c:3474:46: error: taking address of packed member of ‘struct desc_ptr’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 3474 | &desc_ptr.size, &desc_ptr.address, | ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/emulate.o] Error 1 net/ipv6/exthdrs.c: In function ‘ipv6_rpl_srh_rcv’: net/ipv6/exthdrs.c:568:36: error: taking address of packed member of ‘struct ipv6_rpl_sr_hdr’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 568 | if (ipv6_addr_is_multicast(&ohdr->rpl_segaddr[i])) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from ./include/net/rpl.h:12, from net/ipv6/exthdrs.c:51: ./include/uapi/linux/rpl.h:45:33: error: taking address of packed member of ‘struct ipv6_rpl_sr_hdr’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 45 | #define rpl_segaddr segments.addr net/ipv6/exthdrs.c:574:48: note: in expansion of macro ‘rpl_segaddr’ 574 | err = ipv6_chk_rpl_srh_loop(net, ohdr->rpl_segaddr, n + 1); | ^~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: net/ipv6/exthdrs.o] Error 1 In file included from ./include/linux/atomic.h:82, from ./arch/x86/include/asm/thread_info.h:60, from ./include/linux/thread_info.h:60, from ./include/linux/spinlock.h:60, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from mm/highmem.c:20: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: mm/highmem.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/thread_info.h:27, from ./include/linux/spinlock.h:60, from ./include/linux/mmzone.h:8, from ./include/linux/gfp.h:7, from ./include/linux/mm.h:7, from arch/x86/kvm/i8259.c:31: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/i8259.o] Error 1 In file included from ./include/linux/atomic.h:82, from ./include/linux/refcount.h:104, from ./include/linux/objpool.h:7, from lib/objpool.c:3: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: lib/objpool.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ./include/linux/atomic.h:82, from ./include/linux/cpumask.h:10, from lib/nmi_backtrace.c:16: ./include/linux/objpool.h: In function ‘__objpool_try_get_slot’: ./include/linux/objpool.h:156:41: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 156 | if (try_cmpxchg_release(&slot->head, &head, head + 1)) ./include/linux/atomic/atomic-instrumented.h:4894:33: note: in definition of macro ‘try_cmpxchg_release’ 4894 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ ./include/linux/objpool.h: In function ‘__objpool_try_add_slot’: ./include/linux/objpool.h:203:39: error: taking address of packed member of ‘struct objpool_slot’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | } while (!try_cmpxchg_acquire(&slot->tail, &tail, tail + 1)); ./include/linux/atomic/atomic-instrumented.h:4885:33: note: in definition of macro ‘try_cmpxchg_acquire’ 4885 | typeof(ptr) __ai_ptr = (ptr); \ | ^~~ cc1: all warnings being treated as errors make[3]: *** [scripts/Makefile.build:287: lib/nmi_backtrace.o] Error 1 In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/processor.h:20, from ./include/linux/sched.h:13, from ./include/linux/resume_user_mode.h:6, from ./include/linux/entry-virt.h:6, from ./include/linux/kvm_host.h:5, from arch/x86/kvm/cpuid.c:13: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/cpuid.o] Error 1 make[3]: *** [scripts/Makefile.build:544: net/ipv4] Error 2 make[2]: *** [scripts/Makefile.build:544: block] Error 2 make[3]: *** [scripts/Makefile.build:544: net/ipv6] Error 2 make[2]: *** [scripts/Makefile.build:544: drivers] Error 2 In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./include/linux/mm_types_task.h:14, from ./include/linux/mm_types.h:5, from ./arch/x86/kvm/irq.h:13, from arch/x86/kvm/mmu/mmu.c:19: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/mmu/mmu.o] Error 1 make[2]: *** [scripts/Makefile.build:544: lib] Error 2 make[2]: *** [scripts/Makefile.build:544: mm] Error 2 make[2]: *** [scripts/Makefile.build:544: net] Error 2 In file included from ./include/linux/log2.h:12, from ./include/asm-generic/getorder.h:8, from ./arch/x86/include/asm/page.h:90, from ./arch/x86/include/asm/processor.h:20, from ./include/linux/sched.h:13, from ./include/linux/resume_user_mode.h:6, from ./include/linux/entry-virt.h:6, from ./include/linux/kvm_host.h:5, from arch/x86/kvm/x86.c:20: ./arch/x86/include/asm/svm.h: In function ‘ghcb_cpl_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_cpl’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:684:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 684 | DEFINE_GHCB_ACCESSORS(cpl) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rip_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rip’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:685:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 685 | DEFINE_GHCB_ACCESSORS(rip) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:686:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 686 | DEFINE_GHCB_ACCESSORS(rsp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rax_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rax’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:687:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 687 | DEFINE_GHCB_ACCESSORS(rax) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rcx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rcx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:688:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 688 | DEFINE_GHCB_ACCESSORS(rcx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:689:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 689 | DEFINE_GHCB_ACCESSORS(rdx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbx_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbx’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:690:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 690 | DEFINE_GHCB_ACCESSORS(rbx) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rbp_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rbp’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:691:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 691 | DEFINE_GHCB_ACCESSORS(rbp) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rsi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rsi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:692:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 692 | DEFINE_GHCB_ACCESSORS(rsi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_rdi_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_rdi’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:693:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 693 | DEFINE_GHCB_ACCESSORS(rdi) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r8_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r8’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:694:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 694 | DEFINE_GHCB_ACCESSORS(r8) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r9_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r9’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:695:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 695 | DEFINE_GHCB_ACCESSORS(r9) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r10_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r10’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:696:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 696 | DEFINE_GHCB_ACCESSORS(r10) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r11_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r11’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:697:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 697 | DEFINE_GHCB_ACCESSORS(r11) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r12_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r12’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:698:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 698 | DEFINE_GHCB_ACCESSORS(r12) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r13_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r13’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:699:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 699 | DEFINE_GHCB_ACCESSORS(r13) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r14_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r14’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:700:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 700 | DEFINE_GHCB_ACCESSORS(r14) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_r15_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_r15’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:701:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 701 | DEFINE_GHCB_ACCESSORS(r15) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_code_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_code’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:702:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 702 | DEFINE_GHCB_ACCESSORS(sw_exit_code) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_1_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_1’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:703:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 703 | DEFINE_GHCB_ACCESSORS(sw_exit_info_1) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_exit_info_2_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_exit_info_2’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:704:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 704 | DEFINE_GHCB_ACCESSORS(sw_exit_info_2) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_sw_scratch_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_sw_scratch’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:705:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 705 | DEFINE_GHCB_ACCESSORS(sw_scratch) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xcr0_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xcr0’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:706:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 706 | DEFINE_GHCB_ACCESSORS(xcr0) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_xss_is_valid’: ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:664:50: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 664 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:663:24: note: in expansion of macro ‘test_bit’ 663 | return test_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h: In function ‘ghcb_set_xss’: ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:24: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ ./arch/x86/include/asm/svm.h:680:44: error: taking address of packed member of ‘struct ghcb’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 680 | (unsigned long *)&ghcb->save.valid_bitmap); \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/bitops.h:47:39: note: in definition of macro ‘bitop’ 47 | const##op(nr, addr) : op(nr, addr)) | ^~~~ ./arch/x86/include/asm/svm.h:679:17: note: in expansion of macro ‘__set_bit’ 679 | __set_bit(GHCB_BITMAP_IDX(field), \ | ^~~~~~~~~ ./arch/x86/include/asm/svm.h:707:1: note: in expansion of macro ‘DEFINE_GHCB_ACCESSORS’ 707 | DEFINE_GHCB_ACCESSORS(xss) | ^~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/x86.c: In function ‘__get_kvmclock’: arch/x86/kvm/x86.c:3223:36: error: taking address of packed member of ‘struct pvclock_vcpu_time_info’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 3223 | &hv_clock.tsc_to_system_mul); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/x86/kvm/x86.c: In function ‘kvm_get_wall_clock_epoch’: arch/x86/kvm/x86.c:3493:36: error: taking address of packed member of ‘struct pvclock_vcpu_time_info’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 3493 | &hv_clock.tsc_to_system_mul); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[4]: *** [scripts/Makefile.build:287: arch/x86/kvm/x86.o] Error 1 make[3]: *** [scripts/Makefile.build:544: arch/x86/kvm] Error 2 make[2]: *** [scripts/Makefile.build:544: arch/x86] Error 2 make[1]: *** [/srv/vmksft/testing/wt-21/Makefile:2054: .] Error 2 make: *** [Makefile:248: __sub-make] Error 2