diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-13 00:38:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-13 00:38:46 -0400 |
commit | d864991b220b7c62e81d21209e1fd978fd67352c (patch) | |
tree | b570a1ad6fc1b959c5bcda6ceca0b321319c01e0 /include | |
parent | a688c53a0277d8ea21d86a5c56884892e3442c5e (diff) | |
parent | bab5c80b211035739997ebd361a679fa85b39465 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts were easy to resolve using immediate context mostly,
except the cls_u32.c one where I simply too the entire HEAD
chunk.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 6 | ||||
-rw-r--r-- | include/linux/cgroup-defs.h | 1 | ||||
-rw-r--r-- | include/linux/fpga/fpga-mgr.h | 20 | ||||
-rw-r--r-- | include/linux/gpio/driver.h | 7 | ||||
-rw-r--r-- | include/linux/mmzone.h | 4 | ||||
-rw-r--r-- | include/linux/netdevice.h | 7 | ||||
-rw-r--r-- | include/linux/serial_sci.h | 1 | ||||
-rw-r--r-- | include/linux/suspend.h | 2 | ||||
-rw-r--r-- | include/net/devlink.h | 12 | ||||
-rw-r--r-- | include/net/ip_fib.h | 1 | ||||
-rw-r--r-- | include/soc/fsl/bman.h | 8 | ||||
-rw-r--r-- | include/soc/fsl/qman.h | 8 | ||||
-rw-r--r-- | include/trace/events/rxrpc.h | 1 | ||||
-rw-r--r-- | include/uapi/linux/smc_diag.h | 25 | ||||
-rw-r--r-- | include/uapi/linux/udp.h | 1 |
15 files changed, 78 insertions, 26 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index 7b75ff6e2fce..d7701d466b60 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -68,7 +68,7 @@ | |||
68 | */ | 68 | */ |
69 | #ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION | 69 | #ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION |
70 | #define TEXT_MAIN .text .text.[0-9a-zA-Z_]* | 70 | #define TEXT_MAIN .text .text.[0-9a-zA-Z_]* |
71 | #define DATA_MAIN .data .data.[0-9a-zA-Z_]* | 71 | #define DATA_MAIN .data .data.[0-9a-zA-Z_]* .data..LPBX* |
72 | #define SDATA_MAIN .sdata .sdata.[0-9a-zA-Z_]* | 72 | #define SDATA_MAIN .sdata .sdata.[0-9a-zA-Z_]* |
73 | #define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* | 73 | #define RODATA_MAIN .rodata .rodata.[0-9a-zA-Z_]* |
74 | #define BSS_MAIN .bss .bss.[0-9a-zA-Z_]* | 74 | #define BSS_MAIN .bss .bss.[0-9a-zA-Z_]* |
@@ -613,8 +613,8 @@ | |||
613 | 613 | ||
614 | #define EXIT_DATA \ | 614 | #define EXIT_DATA \ |
615 | *(.exit.data .exit.data.*) \ | 615 | *(.exit.data .exit.data.*) \ |
616 | *(.fini_array) \ | 616 | *(.fini_array .fini_array.*) \ |
617 | *(.dtors) \ | 617 | *(.dtors .dtors.*) \ |
618 | MEM_DISCARD(exit.data*) \ | 618 | MEM_DISCARD(exit.data*) \ |
619 | MEM_DISCARD(exit.rodata*) | 619 | MEM_DISCARD(exit.rodata*) |
620 | 620 | ||
diff --git a/include/linux/cgroup-defs.h b/include/linux/cgroup-defs.h index ff20b677fb9f..22254c1fe1c5 100644 --- a/include/linux/cgroup-defs.h +++ b/include/linux/cgroup-defs.h | |||
@@ -412,6 +412,7 @@ struct cgroup { | |||
412 | * specific task are charged to the dom_cgrp. | 412 | * specific task are charged to the dom_cgrp. |
413 | */ | 413 | */ |
414 | struct cgroup *dom_cgrp; | 414 | struct cgroup *dom_cgrp; |
415 | struct cgroup *old_dom_cgrp; /* used while enabling threaded */ | ||
415 | 416 | ||
416 | /* per-cpu recursive resource statistics */ | 417 | /* per-cpu recursive resource statistics */ |
417 | struct cgroup_rstat_cpu __percpu *rstat_cpu; | 418 | struct cgroup_rstat_cpu __percpu *rstat_cpu; |
diff --git a/include/linux/fpga/fpga-mgr.h b/include/linux/fpga/fpga-mgr.h index 8942e61f0028..8ab5df769923 100644 --- a/include/linux/fpga/fpga-mgr.h +++ b/include/linux/fpga/fpga-mgr.h | |||
@@ -53,12 +53,20 @@ enum fpga_mgr_states { | |||
53 | FPGA_MGR_STATE_OPERATING, | 53 | FPGA_MGR_STATE_OPERATING, |
54 | }; | 54 | }; |
55 | 55 | ||
56 | /* | 56 | /** |
57 | * FPGA Manager flags | 57 | * DOC: FPGA Manager flags |
58 | * FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported | 58 | * |
59 | * FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting | 59 | * Flags used in the &fpga_image_info->flags field |
60 | * FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first | 60 | * |
61 | * FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed | 61 | * %FPGA_MGR_PARTIAL_RECONFIG: do partial reconfiguration if supported |
62 | * | ||
63 | * %FPGA_MGR_EXTERNAL_CONFIG: FPGA has been configured prior to Linux booting | ||
64 | * | ||
65 | * %FPGA_MGR_ENCRYPTED_BITSTREAM: indicates bitstream is encrypted | ||
66 | * | ||
67 | * %FPGA_MGR_BITSTREAM_LSB_FIRST: SPI bitstream bit order is LSB first | ||
68 | * | ||
69 | * %FPGA_MGR_COMPRESSED_BITSTREAM: FPGA bitstream is compressed | ||
62 | */ | 70 | */ |
63 | #define FPGA_MGR_PARTIAL_RECONFIG BIT(0) | 71 | #define FPGA_MGR_PARTIAL_RECONFIG BIT(0) |
64 | #define FPGA_MGR_EXTERNAL_CONFIG BIT(1) | 72 | #define FPGA_MGR_EXTERNAL_CONFIG BIT(1) |
diff --git a/include/linux/gpio/driver.h b/include/linux/gpio/driver.h index 0ea328e71ec9..a4d5eb37744a 100644 --- a/include/linux/gpio/driver.h +++ b/include/linux/gpio/driver.h | |||
@@ -95,6 +95,13 @@ struct gpio_irq_chip { | |||
95 | unsigned int num_parents; | 95 | unsigned int num_parents; |
96 | 96 | ||
97 | /** | 97 | /** |
98 | * @parent_irq: | ||
99 | * | ||
100 | * For use by gpiochip_set_cascaded_irqchip() | ||
101 | */ | ||
102 | unsigned int parent_irq; | ||
103 | |||
104 | /** | ||
98 | * @parents: | 105 | * @parents: |
99 | * | 106 | * |
100 | * A list of interrupt parents of a GPIO chip. This is owned by the | 107 | * A list of interrupt parents of a GPIO chip. This is owned by the |
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 3f4c0b167333..d4b0c79d2924 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h | |||
@@ -668,10 +668,6 @@ typedef struct pglist_data { | |||
668 | wait_queue_head_t kcompactd_wait; | 668 | wait_queue_head_t kcompactd_wait; |
669 | struct task_struct *kcompactd; | 669 | struct task_struct *kcompactd; |
670 | #endif | 670 | #endif |
671 | #ifdef CONFIG_NUMA_BALANCING | ||
672 | /* Lock serializing the migrate rate limiting window */ | ||
673 | spinlock_t numabalancing_migrate_lock; | ||
674 | #endif | ||
675 | /* | 671 | /* |
676 | * This is a per-node reserve of pages that are not available | 672 | * This is a per-node reserve of pages that are not available |
677 | * to userspace allocations. | 673 | * to userspace allocations. |
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 76603ee136a8..22e4ef7bb701 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2496,6 +2496,13 @@ struct netdev_notifier_info { | |||
2496 | struct netlink_ext_ack *extack; | 2496 | struct netlink_ext_ack *extack; |
2497 | }; | 2497 | }; |
2498 | 2498 | ||
2499 | struct netdev_notifier_info_ext { | ||
2500 | struct netdev_notifier_info info; /* must be first */ | ||
2501 | union { | ||
2502 | u32 mtu; | ||
2503 | } ext; | ||
2504 | }; | ||
2505 | |||
2499 | struct netdev_notifier_change_info { | 2506 | struct netdev_notifier_change_info { |
2500 | struct netdev_notifier_info info; /* must be first */ | 2507 | struct netdev_notifier_info info; /* must be first */ |
2501 | unsigned int flags_changed; | 2508 | unsigned int flags_changed; |
diff --git a/include/linux/serial_sci.h b/include/linux/serial_sci.h index c0e795d95477..1c89611e0e06 100644 --- a/include/linux/serial_sci.h +++ b/include/linux/serial_sci.h | |||
@@ -36,6 +36,7 @@ enum { | |||
36 | SCIx_SH4_SCIF_FIFODATA_REGTYPE, | 36 | SCIx_SH4_SCIF_FIFODATA_REGTYPE, |
37 | SCIx_SH7705_SCIF_REGTYPE, | 37 | SCIx_SH7705_SCIF_REGTYPE, |
38 | SCIx_HSCIF_REGTYPE, | 38 | SCIx_HSCIF_REGTYPE, |
39 | SCIx_RZ_SCIFA_REGTYPE, | ||
39 | 40 | ||
40 | SCIx_NR_REGTYPES, | 41 | SCIx_NR_REGTYPES, |
41 | }; | 42 | }; |
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 5a28ac9284f0..3f529ad9a9d2 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h | |||
@@ -251,6 +251,7 @@ static inline bool idle_should_enter_s2idle(void) | |||
251 | return unlikely(s2idle_state == S2IDLE_STATE_ENTER); | 251 | return unlikely(s2idle_state == S2IDLE_STATE_ENTER); |
252 | } | 252 | } |
253 | 253 | ||
254 | extern bool pm_suspend_via_s2idle(void); | ||
254 | extern void __init pm_states_init(void); | 255 | extern void __init pm_states_init(void); |
255 | extern void s2idle_set_ops(const struct platform_s2idle_ops *ops); | 256 | extern void s2idle_set_ops(const struct platform_s2idle_ops *ops); |
256 | extern void s2idle_wake(void); | 257 | extern void s2idle_wake(void); |
@@ -282,6 +283,7 @@ static inline void pm_set_suspend_via_firmware(void) {} | |||
282 | static inline void pm_set_resume_via_firmware(void) {} | 283 | static inline void pm_set_resume_via_firmware(void) {} |
283 | static inline bool pm_suspend_via_firmware(void) { return false; } | 284 | static inline bool pm_suspend_via_firmware(void) { return false; } |
284 | static inline bool pm_resume_via_firmware(void) { return false; } | 285 | static inline bool pm_resume_via_firmware(void) { return false; } |
286 | static inline bool pm_suspend_via_s2idle(void) { return false; } | ||
285 | 287 | ||
286 | static inline void suspend_set_ops(const struct platform_suspend_ops *ops) {} | 288 | static inline void suspend_set_ops(const struct platform_suspend_ops *ops) {} |
287 | static inline int pm_suspend(suspend_state_t state) { return -ENOSYS; } | 289 | static inline int pm_suspend(suspend_state_t state) { return -ENOSYS; } |
diff --git a/include/net/devlink.h b/include/net/devlink.h index 9a70755ad1c2..45db0c79462d 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h | |||
@@ -298,7 +298,7 @@ struct devlink_resource { | |||
298 | 298 | ||
299 | #define DEVLINK_RESOURCE_ID_PARENT_TOP 0 | 299 | #define DEVLINK_RESOURCE_ID_PARENT_TOP 0 |
300 | 300 | ||
301 | #define DEVLINK_PARAM_MAX_STRING_VALUE 32 | 301 | #define __DEVLINK_PARAM_MAX_STRING_VALUE 32 |
302 | enum devlink_param_type { | 302 | enum devlink_param_type { |
303 | DEVLINK_PARAM_TYPE_U8, | 303 | DEVLINK_PARAM_TYPE_U8, |
304 | DEVLINK_PARAM_TYPE_U16, | 304 | DEVLINK_PARAM_TYPE_U16, |
@@ -311,7 +311,7 @@ union devlink_param_value { | |||
311 | u8 vu8; | 311 | u8 vu8; |
312 | u16 vu16; | 312 | u16 vu16; |
313 | u32 vu32; | 313 | u32 vu32; |
314 | const char *vstr; | 314 | char vstr[__DEVLINK_PARAM_MAX_STRING_VALUE]; |
315 | bool vbool; | 315 | bool vbool; |
316 | }; | 316 | }; |
317 | 317 | ||
@@ -568,6 +568,8 @@ int devlink_param_driverinit_value_get(struct devlink *devlink, u32 param_id, | |||
568 | int devlink_param_driverinit_value_set(struct devlink *devlink, u32 param_id, | 568 | int devlink_param_driverinit_value_set(struct devlink *devlink, u32 param_id, |
569 | union devlink_param_value init_val); | 569 | union devlink_param_value init_val); |
570 | void devlink_param_value_changed(struct devlink *devlink, u32 param_id); | 570 | void devlink_param_value_changed(struct devlink *devlink, u32 param_id); |
571 | void devlink_param_value_str_fill(union devlink_param_value *dst_val, | ||
572 | const char *src); | ||
571 | struct devlink_region *devlink_region_create(struct devlink *devlink, | 573 | struct devlink_region *devlink_region_create(struct devlink *devlink, |
572 | const char *region_name, | 574 | const char *region_name, |
573 | u32 region_max_snapshots, | 575 | u32 region_max_snapshots, |
@@ -804,6 +806,12 @@ devlink_param_value_changed(struct devlink *devlink, u32 param_id) | |||
804 | { | 806 | { |
805 | } | 807 | } |
806 | 808 | ||
809 | static inline void | ||
810 | devlink_param_value_str_fill(union devlink_param_value *dst_val, | ||
811 | const char *src) | ||
812 | { | ||
813 | } | ||
814 | |||
807 | static inline struct devlink_region * | 815 | static inline struct devlink_region * |
808 | devlink_region_create(struct devlink *devlink, | 816 | devlink_region_create(struct devlink *devlink, |
809 | const char *region_name, | 817 | const char *region_name, |
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 9846b79c9ee1..852e4ebf2209 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -395,6 +395,7 @@ int ip_fib_check_default(__be32 gw, struct net_device *dev); | |||
395 | int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force); | 395 | int fib_sync_down_dev(struct net_device *dev, unsigned long event, bool force); |
396 | int fib_sync_down_addr(struct net_device *dev, __be32 local); | 396 | int fib_sync_down_addr(struct net_device *dev, __be32 local); |
397 | int fib_sync_up(struct net_device *dev, unsigned int nh_flags); | 397 | int fib_sync_up(struct net_device *dev, unsigned int nh_flags); |
398 | void fib_sync_mtu(struct net_device *dev, u32 orig_mtu); | ||
398 | 399 | ||
399 | #ifdef CONFIG_IP_ROUTE_MULTIPATH | 400 | #ifdef CONFIG_IP_ROUTE_MULTIPATH |
400 | int fib_multipath_hash(const struct net *net, const struct flowi4 *fl4, | 401 | int fib_multipath_hash(const struct net *net, const struct flowi4 *fl4, |
diff --git a/include/soc/fsl/bman.h b/include/soc/fsl/bman.h index eaaf56df4086..5b99cb2ea5ef 100644 --- a/include/soc/fsl/bman.h +++ b/include/soc/fsl/bman.h | |||
@@ -126,4 +126,12 @@ int bman_release(struct bman_pool *pool, const struct bm_buffer *bufs, u8 num); | |||
126 | */ | 126 | */ |
127 | int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num); | 127 | int bman_acquire(struct bman_pool *pool, struct bm_buffer *bufs, u8 num); |
128 | 128 | ||
129 | /** | ||
130 | * bman_is_probed - Check if bman is probed | ||
131 | * | ||
132 | * Returns 1 if the bman driver successfully probed, -1 if the bman driver | ||
133 | * failed to probe or 0 if the bman driver did not probed yet. | ||
134 | */ | ||
135 | int bman_is_probed(void); | ||
136 | |||
129 | #endif /* __FSL_BMAN_H */ | 137 | #endif /* __FSL_BMAN_H */ |
diff --git a/include/soc/fsl/qman.h b/include/soc/fsl/qman.h index d4dfefdee6c1..597783b8a3a0 100644 --- a/include/soc/fsl/qman.h +++ b/include/soc/fsl/qman.h | |||
@@ -1186,4 +1186,12 @@ int qman_alloc_cgrid_range(u32 *result, u32 count); | |||
1186 | */ | 1186 | */ |
1187 | int qman_release_cgrid(u32 id); | 1187 | int qman_release_cgrid(u32 id); |
1188 | 1188 | ||
1189 | /** | ||
1190 | * qman_is_probed - Check if qman is probed | ||
1191 | * | ||
1192 | * Returns 1 if the qman driver successfully probed, -1 if the qman driver | ||
1193 | * failed to probe or 0 if the qman driver did not probed yet. | ||
1194 | */ | ||
1195 | int qman_is_probed(void); | ||
1196 | |||
1189 | #endif /* __FSL_QMAN_H */ | 1197 | #endif /* __FSL_QMAN_H */ |
diff --git a/include/trace/events/rxrpc.h b/include/trace/events/rxrpc.h index 837393fa897b..573d5b901fb1 100644 --- a/include/trace/events/rxrpc.h +++ b/include/trace/events/rxrpc.h | |||
@@ -931,6 +931,7 @@ TRACE_EVENT(rxrpc_tx_packet, | |||
931 | TP_fast_assign( | 931 | TP_fast_assign( |
932 | __entry->call = call_id; | 932 | __entry->call = call_id; |
933 | memcpy(&__entry->whdr, whdr, sizeof(__entry->whdr)); | 933 | memcpy(&__entry->whdr, whdr, sizeof(__entry->whdr)); |
934 | __entry->where = where; | ||
934 | ), | 935 | ), |
935 | 936 | ||
936 | TP_printk("c=%08x %08x:%08x:%08x:%04x %08x %08x %02x %02x %s %s", | 937 | TP_printk("c=%08x %08x:%08x:%08x:%04x %08x %08x %02x %02x %s %s", |
diff --git a/include/uapi/linux/smc_diag.h b/include/uapi/linux/smc_diag.h index ac9e8c96d9bd..8cb3a6fef553 100644 --- a/include/uapi/linux/smc_diag.h +++ b/include/uapi/linux/smc_diag.h | |||
@@ -18,14 +18,17 @@ struct smc_diag_req { | |||
18 | * on the internal clcsock, and more SMC-related socket data | 18 | * on the internal clcsock, and more SMC-related socket data |
19 | */ | 19 | */ |
20 | struct smc_diag_msg { | 20 | struct smc_diag_msg { |
21 | __u8 diag_family; | 21 | __u8 diag_family; |
22 | __u8 diag_state; | 22 | __u8 diag_state; |
23 | __u8 diag_mode; | 23 | union { |
24 | __u8 diag_shutdown; | 24 | __u8 diag_mode; |
25 | __u8 diag_fallback; /* the old name of the field */ | ||
26 | }; | ||
27 | __u8 diag_shutdown; | ||
25 | struct inet_diag_sockid id; | 28 | struct inet_diag_sockid id; |
26 | 29 | ||
27 | __u32 diag_uid; | 30 | __u32 diag_uid; |
28 | __u64 diag_inode; | 31 | __aligned_u64 diag_inode; |
29 | }; | 32 | }; |
30 | 33 | ||
31 | /* Mode of a connection */ | 34 | /* Mode of a connection */ |
@@ -99,11 +102,11 @@ struct smc_diag_fallback { | |||
99 | }; | 102 | }; |
100 | 103 | ||
101 | struct smcd_diag_dmbinfo { /* SMC-D Socket internals */ | 104 | struct smcd_diag_dmbinfo { /* SMC-D Socket internals */ |
102 | __u32 linkid; /* Link identifier */ | 105 | __u32 linkid; /* Link identifier */ |
103 | __u64 peer_gid; /* Peer GID */ | 106 | __aligned_u64 peer_gid; /* Peer GID */ |
104 | __u64 my_gid; /* My GID */ | 107 | __aligned_u64 my_gid; /* My GID */ |
105 | __u64 token; /* Token of DMB */ | 108 | __aligned_u64 token; /* Token of DMB */ |
106 | __u64 peer_token; /* Token of remote DMBE */ | 109 | __aligned_u64 peer_token; /* Token of remote DMBE */ |
107 | }; | 110 | }; |
108 | 111 | ||
109 | #endif /* _UAPI_SMC_DIAG_H_ */ | 112 | #endif /* _UAPI_SMC_DIAG_H_ */ |
diff --git a/include/uapi/linux/udp.h b/include/uapi/linux/udp.h index 09d00f8c442b..09502de447f5 100644 --- a/include/uapi/linux/udp.h +++ b/include/uapi/linux/udp.h | |||
@@ -40,5 +40,6 @@ struct udphdr { | |||
40 | #define UDP_ENCAP_L2TPINUDP 3 /* rfc2661 */ | 40 | #define UDP_ENCAP_L2TPINUDP 3 /* rfc2661 */ |
41 | #define UDP_ENCAP_GTP0 4 /* GSM TS 09.60 */ | 41 | #define UDP_ENCAP_GTP0 4 /* GSM TS 09.60 */ |
42 | #define UDP_ENCAP_GTP1U 5 /* 3GPP TS 29.060 */ | 42 | #define UDP_ENCAP_GTP1U 5 /* 3GPP TS 29.060 */ |
43 | #define UDP_ENCAP_RXRPC 6 | ||
43 | 44 | ||
44 | #endif /* _UAPI_LINUX_UDP_H */ | 45 | #endif /* _UAPI_LINUX_UDP_H */ |