diff options
| author | Dave Airlie <airlied@redhat.com> | 2018-05-18 00:08:53 -0400 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2018-05-18 00:08:53 -0400 |
| commit | 1fafef9dfe127bdd4600eeaca302f0c1cb4ee5d0 (patch) | |
| tree | f829e8a26fc768666eb5f827bf5817892ea7e46c /include | |
| parent | 315852b422972e6ebb1dfddaadada09e46a2681a (diff) | |
| parent | 76ef6b28ea4f81c3d511866a9b31392caa833126 (diff) | |
Merge drm-fixes-for-v4.17-rc6-urgent into drm-next
Need to backmerge some nouveau fixes to reduce
the nouveau -next conflicts a lot.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include')
49 files changed, 230 insertions, 63 deletions
diff --git a/include/dt-bindings/clock/stm32mp1-clks.h b/include/dt-bindings/clock/stm32mp1-clks.h index 86e3ec662ef4..90ec780bfc68 100644 --- a/include/dt-bindings/clock/stm32mp1-clks.h +++ b/include/dt-bindings/clock/stm32mp1-clks.h | |||
| @@ -76,7 +76,7 @@ | |||
| 76 | #define I2C6 63 | 76 | #define I2C6 63 |
| 77 | #define USART1 64 | 77 | #define USART1 64 |
| 78 | #define RTCAPB 65 | 78 | #define RTCAPB 65 |
| 79 | #define TZC 66 | 79 | #define TZC1 66 |
| 80 | #define TZPC 67 | 80 | #define TZPC 67 |
| 81 | #define IWDG1 68 | 81 | #define IWDG1 68 |
| 82 | #define BSEC 69 | 82 | #define BSEC 69 |
| @@ -123,6 +123,7 @@ | |||
| 123 | #define CRC1 110 | 123 | #define CRC1 110 |
| 124 | #define USBH 111 | 124 | #define USBH 111 |
| 125 | #define ETHSTP 112 | 125 | #define ETHSTP 112 |
| 126 | #define TZC2 113 | ||
| 126 | 127 | ||
| 127 | /* Kernel clocks */ | 128 | /* Kernel clocks */ |
| 128 | #define SDMMC1_K 118 | 129 | #define SDMMC1_K 118 |
| @@ -228,7 +229,6 @@ | |||
| 228 | #define CK_MCO2 212 | 229 | #define CK_MCO2 212 |
| 229 | 230 | ||
| 230 | /* TRACE & DEBUG clocks */ | 231 | /* TRACE & DEBUG clocks */ |
| 231 | #define DBG 213 | ||
| 232 | #define CK_DBG 214 | 232 | #define CK_DBG 214 |
| 233 | #define CK_TRACE 215 | 233 | #define CK_TRACE 215 |
| 234 | 234 | ||
diff --git a/include/kvm/arm_vgic.h b/include/kvm/arm_vgic.h index 24f03941ada8..e7efe12a81bd 100644 --- a/include/kvm/arm_vgic.h +++ b/include/kvm/arm_vgic.h | |||
| @@ -131,6 +131,7 @@ struct vgic_irq { | |||
| 131 | u32 mpidr; /* GICv3 target VCPU */ | 131 | u32 mpidr; /* GICv3 target VCPU */ |
| 132 | }; | 132 | }; |
| 133 | u8 source; /* GICv2 SGIs only */ | 133 | u8 source; /* GICv2 SGIs only */ |
| 134 | u8 active_source; /* GICv2 SGIs only */ | ||
| 134 | u8 priority; | 135 | u8 priority; |
| 135 | enum vgic_irq_config config; /* Level or edge */ | 136 | enum vgic_irq_config config; /* Level or edge */ |
| 136 | 137 | ||
diff --git a/include/linux/bpf.h b/include/linux/bpf.h index 486e65e3db26..469b20e1dd7e 100644 --- a/include/linux/bpf.h +++ b/include/linux/bpf.h | |||
| @@ -31,6 +31,7 @@ struct bpf_map_ops { | |||
| 31 | void (*map_release)(struct bpf_map *map, struct file *map_file); | 31 | void (*map_release)(struct bpf_map *map, struct file *map_file); |
| 32 | void (*map_free)(struct bpf_map *map); | 32 | void (*map_free)(struct bpf_map *map); |
| 33 | int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); | 33 | int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); |
| 34 | void (*map_release_uref)(struct bpf_map *map); | ||
| 34 | 35 | ||
| 35 | /* funcs callable from userspace and from eBPF programs */ | 36 | /* funcs callable from userspace and from eBPF programs */ |
| 36 | void *(*map_lookup_elem)(struct bpf_map *map, void *key); | 37 | void *(*map_lookup_elem)(struct bpf_map *map, void *key); |
| @@ -351,6 +352,7 @@ int bpf_prog_array_copy(struct bpf_prog_array __rcu *old_array, | |||
| 351 | struct bpf_prog **_prog, *__prog; \ | 352 | struct bpf_prog **_prog, *__prog; \ |
| 352 | struct bpf_prog_array *_array; \ | 353 | struct bpf_prog_array *_array; \ |
| 353 | u32 _ret = 1; \ | 354 | u32 _ret = 1; \ |
| 355 | preempt_disable(); \ | ||
| 354 | rcu_read_lock(); \ | 356 | rcu_read_lock(); \ |
| 355 | _array = rcu_dereference(array); \ | 357 | _array = rcu_dereference(array); \ |
| 356 | if (unlikely(check_non_null && !_array))\ | 358 | if (unlikely(check_non_null && !_array))\ |
| @@ -362,6 +364,7 @@ int bpf_prog_array_copy(struct bpf_prog_array __rcu *old_array, | |||
| 362 | } \ | 364 | } \ |
| 363 | _out: \ | 365 | _out: \ |
| 364 | rcu_read_unlock(); \ | 366 | rcu_read_unlock(); \ |
| 367 | preempt_enable_no_resched(); \ | ||
| 365 | _ret; \ | 368 | _ret; \ |
| 366 | }) | 369 | }) |
| 367 | 370 | ||
| @@ -434,7 +437,6 @@ int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value); | |||
| 434 | int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, | 437 | int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, |
| 435 | void *key, void *value, u64 map_flags); | 438 | void *key, void *value, u64 map_flags); |
| 436 | int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value); | 439 | int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value); |
| 437 | void bpf_fd_array_map_clear(struct bpf_map *map); | ||
| 438 | int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, | 440 | int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, |
| 439 | void *key, void *value, u64 map_flags); | 441 | void *key, void *value, u64 map_flags); |
| 440 | int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value); | 442 | int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value); |
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index d3339dd48b1a..b324e01ccf2d 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #define PHY_ID_BCM54612E 0x03625e60 | 25 | #define PHY_ID_BCM54612E 0x03625e60 |
| 26 | #define PHY_ID_BCM54616S 0x03625d10 | 26 | #define PHY_ID_BCM54616S 0x03625d10 |
| 27 | #define PHY_ID_BCM57780 0x03625d90 | 27 | #define PHY_ID_BCM57780 0x03625d90 |
| 28 | #define PHY_ID_BCM89610 0x03625cd0 | ||
| 28 | 29 | ||
| 29 | #define PHY_ID_BCM7250 0xae025280 | 30 | #define PHY_ID_BCM7250 0xae025280 |
| 30 | #define PHY_ID_BCM7260 0xae025190 | 31 | #define PHY_ID_BCM7260 0xae025190 |
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index 528ccc943cee..96bb32285989 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h | |||
| @@ -77,7 +77,10 @@ struct ceph_osd_data { | |||
| 77 | u32 bio_length; | 77 | u32 bio_length; |
| 78 | }; | 78 | }; |
| 79 | #endif /* CONFIG_BLOCK */ | 79 | #endif /* CONFIG_BLOCK */ |
| 80 | struct ceph_bvec_iter bvec_pos; | 80 | struct { |
| 81 | struct ceph_bvec_iter bvec_pos; | ||
| 82 | u32 num_bvecs; | ||
| 83 | }; | ||
| 81 | }; | 84 | }; |
| 82 | }; | 85 | }; |
| 83 | 86 | ||
| @@ -412,6 +415,10 @@ void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *osd_req, | |||
| 412 | struct ceph_bio_iter *bio_pos, | 415 | struct ceph_bio_iter *bio_pos, |
| 413 | u32 bio_length); | 416 | u32 bio_length); |
| 414 | #endif /* CONFIG_BLOCK */ | 417 | |
