diff options
| author | David S. Miller <davem@davemloft.net> | 2019-09-15 08:17:27 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-09-15 08:17:27 -0400 |
| commit | aa2eaa8c272a3211dec07ce9c6c863a7e355c10e (patch) | |
| tree | 8454a23d36b2ff36133c276ee0ba80eabc00850e /arch/x86/include/asm | |
| parent | a3d3c74da49c65fc63a937fa559186b0e16adca3 (diff) | |
| parent | 1609d7604b847a9820e63393d1a3b6cac7286d40 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Minor overlapping changes in the btusb and ixgbe drivers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/x86/include/asm')
| -rw-r--r-- | arch/x86/include/asm/bootparam_utils.h | 1 | ||||
| -rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 | ||||
| -rw-r--r-- | arch/x86/include/asm/uaccess.h | 4 |
3 files changed, 6 insertions, 1 deletions
diff --git a/arch/x86/include/asm/bootparam_utils.h b/arch/x86/include/asm/bootparam_utils.h index 9e5f3c722c33..981fe923a59f 100644 --- a/arch/x86/include/asm/bootparam_utils.h +++ b/arch/x86/include/asm/bootparam_utils.h | |||
| @@ -70,6 +70,7 @@ static void sanitize_boot_params(struct boot_params *boot_params) | |||
| 70 | BOOT_PARAM_PRESERVE(eddbuf_entries), | 70 | BOOT_PARAM_PRESERVE(eddbuf_entries), |
| 71 | BOOT_PARAM_PRESERVE(edd_mbr_sig_buf_entries), | 71 | BOOT_PARAM_PRESERVE(edd_mbr_sig_buf_entries), |
| 72 | BOOT_PARAM_PRESERVE(edd_mbr_sig_buffer), | 72 | BOOT_PARAM_PRESERVE(edd_mbr_sig_buffer), |
| 73 | BOOT_PARAM_PRESERVE(secure_boot), | ||
| 73 | BOOT_PARAM_PRESERVE(hdr), | 74 | BOOT_PARAM_PRESERVE(hdr), |
| 74 | BOOT_PARAM_PRESERVE(e820_table), | 75 | BOOT_PARAM_PRESERVE(e820_table), |
| 75 | BOOT_PARAM_PRESERVE(eddbuf), | 76 | BOOT_PARAM_PRESERVE(eddbuf), |
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 74e88e5edd9c..bdc16b0aa7c6 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
| @@ -335,6 +335,7 @@ struct kvm_mmu_page { | |||
| 335 | int root_count; /* Currently serving as active root */ | 335 | int root_count; /* Currently serving as active root */ |
| 336 | unsigned int unsync_children; | 336 | unsigned int unsync_children; |
| 337 | struct kvm_rmap_head parent_ptes; /* rmap pointers to parent sptes */ | 337 | struct kvm_rmap_head parent_ptes; /* rmap pointers to parent sptes */ |
| 338 | unsigned long mmu_valid_gen; | ||
| 338 | DECLARE_BITMAP(unsync_child_bitmap, 512); | 339 | DECLARE_BITMAP(unsync_child_bitmap, 512); |
| 339 | 340 | ||
| 340 | #ifdef CONFIG_X86_32 | 341 | #ifdef CONFIG_X86_32 |
| @@ -856,6 +857,7 @@ struct kvm_arch { | |||
| 856 | unsigned long n_requested_mmu_pages; | 857 | unsigned long n_requested_mmu_pages; |
| 857 | unsigned long n_max_mmu_pages; | 858 | unsigned long n_max_mmu_pages; |
| 858 | unsigned int indirect_shadow_pages; | 859 | unsigned int indirect_shadow_pages; |
| 860 | unsigned long mmu_valid_gen; | ||
| 859 | struct hlist_head mmu_page_hash[KVM_NUM_MMU_PAGES]; | 861 | struct hlist_head mmu_page_hash[KVM_NUM_MMU_PAGES]; |
| 860 | /* | 862 | /* |
| 861 | * Hash table of struct kvm_mmu_page. | 863 | * Hash table of struct kvm_mmu_page. |
diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h index 9c4435307ff8..35c225ede0e4 100644 --- a/arch/x86/include/asm/uaccess.h +++ b/arch/x86/include/asm/uaccess.h | |||
| @@ -444,8 +444,10 @@ __pu_label: \ | |||
| 444 | ({ \ | 444 | ({ \ |
| 445 | int __gu_err; \ | 445 | int __gu_err; \ |
| 446 | __inttype(*(ptr)) __gu_val; \ | 446 | __inttype(*(ptr)) __gu_val; \ |
| 447 | __typeof__(ptr) __gu_ptr = (ptr); \ | ||
| 448 | __typeof__(size) __gu_size = (size); \ | ||
| 447 | __uaccess_begin_nospec(); \ | 449 | __uaccess_begin_nospec(); \ |
| 448 | __get_user_size(__gu_val, (ptr), (size), __gu_err, -EFAULT); \ | 450 | __get_user_size(__gu_val, __gu_ptr, __gu_size, __gu_err, -EFAULT); \ |
| 449 | __uaccess_end(); \ | 451 | __uaccess_end(); \ |
| 450 | (x) = (__force __typeof__(*(ptr)))__gu_val; \ | 452 | (x) = (__force __typeof__(*(ptr)))__gu_val; \ |
| 451 | __builtin_expect(__gu_err, 0); \ | 453 | __builtin_expect(__gu_err, 0); \ |
