Skip to content

Commit aa2eaa8

Browse files
committed
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 <[email protected]>
2 parents a3d3c74 + 1609d76 commit aa2eaa8

File tree

159 files changed

+1672
-1377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+1672
-1377
lines changed

.clang-format

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,13 @@ ForEachMacros:
107107
- 'css_for_each_descendant_post'
108108
- 'css_for_each_descendant_pre'
109109
- 'device_for_each_child_node'
110+
- 'dma_fence_chain_for_each'
110111
- 'drm_atomic_crtc_for_each_plane'
111112
- 'drm_atomic_crtc_state_for_each_plane'
112113
- 'drm_atomic_crtc_state_for_each_plane_state'
113114
- 'drm_atomic_for_each_plane_damage'
115+
- 'drm_client_for_each_connector_iter'
116+
- 'drm_client_for_each_modeset'
114117
- 'drm_connector_for_each_possible_encoder'
115118
- 'drm_for_each_connector_iter'
116119
- 'drm_for_each_crtc'
@@ -126,6 +129,7 @@ ForEachMacros:
126129
- 'drm_mm_for_each_node_in_range'
127130
- 'drm_mm_for_each_node_safe'
128131
- 'flow_action_for_each'
132+
- 'for_each_active_dev_scope'
129133
- 'for_each_active_drhd_unit'
130134
- 'for_each_active_iommu'
131135
- 'for_each_available_child_of_node'
@@ -153,6 +157,8 @@ ForEachMacros:
153157
- 'for_each_cpu_not'
154158
- 'for_each_cpu_wrap'
155159
- 'for_each_dev_addr'
160+
- 'for_each_dev_scope'
161+
- 'for_each_displayid_db'
156162
- 'for_each_dma_cap_mask'
157163
- 'for_each_dpcm_be'
158164
- 'for_each_dpcm_be_rollback'
@@ -169,6 +175,8 @@ ForEachMacros:
169175
- 'for_each_evictable_lru'
170176
- 'for_each_fib6_node_rt_rcu'
171177
- 'for_each_fib6_walker_rt'
178+
- 'for_each_free_mem_pfn_range_in_zone'
179+
- 'for_each_free_mem_pfn_range_in_zone_from'
172180
- 'for_each_free_mem_range'
173181
- 'for_each_free_mem_range_reverse'
174182
- 'for_each_func_rsrc'
@@ -178,6 +186,7 @@ ForEachMacros:
178186
- 'for_each_ip_tunnel_rcu'
179187
- 'for_each_irq_nr'
180188
- 'for_each_link_codecs'
189+
- 'for_each_link_platforms'
181190
- 'for_each_lru'
182191
- 'for_each_matching_node'
183192
- 'for_each_matching_node_and_match'
@@ -302,7 +311,10 @@ ForEachMacros:
302311
- 'ide_port_for_each_present_dev'
303312
- 'idr_for_each_entry'
304313
- 'idr_for_each_entry_continue'
314+
- 'idr_for_each_entry_continue_ul'
305315
- 'idr_for_each_entry_ul'
316+
- 'in_dev_for_each_ifa_rcu'
317+
- 'in_dev_for_each_ifa_rtnl'
306318
- 'inet_bind_bucket_for_each'
307319
- 'inet_lhash2_for_each_icsk_rcu'
308320
- 'key_for_each'
@@ -343,8 +355,6 @@ ForEachMacros:
343355
- 'media_device_for_each_intf'
344356
- 'media_device_for_each_link'
345357
- 'media_device_for_each_pad'
346-
- 'mp_bvec_for_each_page'
347-
- 'mp_bvec_for_each_segment'
348358
- 'nanddev_io_for_each_page'
349359
- 'netdev_for_each_lower_dev'
350360
- 'netdev_for_each_lower_private'
@@ -381,18 +391,19 @@ ForEachMacros:
381391
- 'radix_tree_for_each_slot'
382392
- 'radix_tree_for_each_tagged'
383393
- 'rbtree_postorder_for_each_entry_safe'
394+
- 'rdma_for_each_block'
384395
- 'rdma_for_each_port'
385396
- 'resource_list_for_each_entry'
386397
- 'resource_list_for_each_entry_safe'
387398
- 'rhl_for_each_entry_rcu'
388399
- 'rhl_for_each_rcu'
389400
- 'rht_for_each'
390-
- 'rht_for_each_from'
391401
- 'rht_for_each_entry'
392402
- 'rht_for_each_entry_from'
393403
- 'rht_for_each_entry_rcu'
394404
- 'rht_for_each_entry_rcu_from'
395405
- 'rht_for_each_entry_safe'
406+
- 'rht_for_each_from'
396407
- 'rht_for_each_rcu'
397408
- 'rht_for_each_rcu_from'
398409
- '__rq_for_each_bio'

Documentation/process/embargoed-hardware-issues.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Scope
55
-----
66

77
Hardware issues which result in security problems are a different category
8-
of security bugs than pure software bugs which only affect the Linux
8+
of security bugs than pure software bugs which only affect the Linux
99
kernel.
1010

1111
Hardware issues like Meltdown, Spectre, L1TF etc. must be treated
@@ -159,7 +159,7 @@ Mitigation development
159159

160160
The initial response team sets up an encrypted mailing-list or repurposes
161161
an existing one if appropriate. The disclosing party should provide a list
162-
of contacts for all other parties who have already been, or should be
162+
of contacts for all other parties who have already been, or should be,
163163
informed about the issue. The response team contacts these parties so they
164164
can name experts who should be subscribed to the mailing-list.
165165

@@ -217,11 +217,11 @@ an involved disclosed party. The current ambassadors list:
217217
AMD
218218
IBM
219219
Intel
220-
Qualcomm
220+
Qualcomm Trilok Soni <[email protected]>
221221

222-
Microsoft
222+
Microsoft Sasha Levin <[email protected]>
223223
VMware
224-
XEN
224+
Xen Andrew Cooper <[email protected]>
225225

226226
Canonical Tyler Hicks <[email protected]>
227227
Debian Ben Hutchings <[email protected]>
@@ -230,8 +230,8 @@ an involved disclosed party. The current ambassadors list:
230230
SUSE Jiri Kosina <[email protected]>
231231

232232
Amazon
233-
Google
234-
============== ========================================================
233+
Google Kees Cook <[email protected]>
234+
============= ========================================================
235235

236236
If you want your organization to be added to the ambassadors list, please
237237
contact the hardware security team. The nominated ambassador has to

Documentation/riscv/boot-image-header.txt

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following 64-byte header is present in decompressed Linux kernel image.
1818
u32 res1 = 0; /* Reserved */
1919
u64 res2 = 0; /* Reserved */
2020
u64 magic = 0x5643534952; /* Magic number, little endian, "RISCV" */
21-
u32 res3; /* Reserved for additional RISC-V specific header */
21+
u32 magic2 = 0x56534905; /* Magic number 2, little endian, "RSC\x05" */
2222
u32 res4; /* Reserved for PE COFF offset */
2323

2424
This header format is compliant with PE/COFF header and largely inspired from
@@ -37,13 +37,14 @@ Notes:
3737
Bits 16:31 - Major version
3838

3939
This preserves compatibility across newer and older version of the header.
40-
The current version is defined as 0.1.
40+
The current version is defined as 0.2.
4141

42-
- res3 is reserved for offset to any other additional fields. This makes the
43-
header extendible in future. One example would be to accommodate ISA
44-
extension for RISC-V in future. For current version, it is set to be zero.
42+
- The "magic" field is deprecated as of version 0.2. In a future
43+
release, it may be removed. This originally should have matched up
44+
with the ARM64 header "magic" field, but unfortunately does not.
45+
The "magic2" field replaces it, matching up with the ARM64 header.
4546

46-
- In current header, the flag field has only one field.
47+
- In current header, the flags field has only one field.
4748
Bit 0: Kernel endianness. 1 if BE, 0 if LE.
4849

4950
- Image size is mandatory for boot loader to load kernel image. Booting will

MAINTAINERS

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17732,8 +17732,7 @@ F: include/uapi/linux/dqblk_xfs.h
1773217732
F: include/uapi/linux/fsmap.h
1773317733

1773417734
XILINX AXI ETHERNET DRIVER
17735-
M: Anirudha Sarangi <[email protected]>
17736-
M: John Linn <[email protected]>
17735+
M: Radhey Shyam Pandey <[email protected]>
1773717736
S: Maintained
1773817737
F: drivers/net/ethernet/xilinx/xilinx_axienet*
1773917738

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 3
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc7
5+
EXTRAVERSION = -rc8
66
NAME = Bobtail Squid
77

88
# *DOCUMENTATION*

arch/arm64/boot/dts/renesas/hihope-common.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@
279279
mmc-hs200-1_8v;
280280
non-removable;
281281
fixed-emmc-driver-type = <1>;
282+
status = "okay";
282283
};
283284

284285
&usb_extal_clk {

arch/arm64/boot/dts/renesas/r8a77995-draak.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
reg = <0x0 0x48000000 0x0 0x18000000>;
9898
};
9999

100-
reg_1p8v: regulator0 {
100+
reg_1p8v: regulator-1p8v {
101101
compatible = "regulator-fixed";
102102
regulator-name = "fixed-1.8V";
103103
regulator-min-microvolt = <1800000>;
@@ -106,7 +106,7 @@
106106
regulator-always-on;
107107
};
108108

109-
reg_3p3v: regulator1 {
109+
reg_3p3v: regulator-3p3v {
110110
compatible = "regulator-fixed";
111111
regulator-name = "fixed-3.3V";
112112
regulator-min-microvolt = <3300000>;
@@ -115,7 +115,7 @@
115115
regulator-always-on;
116116
};
117117

118-
reg_12p0v: regulator1 {
118+
reg_12p0v: regulator-12p0v {
119119
compatible = "regulator-fixed";
120120
regulator-name = "D12.0V";
121121
regulator-min-microvolt = <12000000>;

arch/powerpc/kernel/process.c

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,8 @@ static void check_if_tm_restore_required(struct task_struct *tsk)
101101
}
102102
}
103103

104-
static bool tm_active_with_fp(struct task_struct *tsk)
105-
{
106-
return MSR_TM_ACTIVE(tsk->thread.regs->msr) &&
107-
(tsk->thread.ckpt_regs.msr & MSR_FP);
108-
}
109-
110-
static bool tm_active_with_altivec(struct task_struct *tsk)
111-
{
112-
return MSR_TM_ACTIVE(tsk->thread.regs->msr) &&
113-
(tsk->thread.ckpt_regs.msr & MSR_VEC);
114-
}
115104
#else
116105
static inline void check_if_tm_restore_required(struct task_struct *tsk) { }
117-
static inline bool tm_active_with_fp(struct task_struct *tsk) { return false; }
118-
static inline bool tm_active_with_altivec(struct task_struct *tsk) { return false; }
119106
#endif /* CONFIG_PPC_TRANSACTIONAL_MEM */
120107

121108
bool strict_msr_control;
@@ -252,7 +239,7 @@ EXPORT_SYMBOL(enable_kernel_fp);
252239

253240
static int restore_fp(struct task_struct *tsk)
254241
{
255-
if (tsk->thread.load_fp || tm_active_with_fp(tsk)) {
242+
if (tsk->thread.load_fp) {
256243
load_fp_state(&current->thread.fp_state);
257244
current->thread.load_fp++;
258245
return 1;
@@ -334,8 +321,7 @@ EXPORT_SYMBOL_GPL(flush_altivec_to_thread);
334321

335322
static int restore_altivec(struct task_struct *tsk)
336323
{
337-
if (cpu_has_feature(CPU_FTR_ALTIVEC) &&
338-
(tsk->thread.load_vec || tm_active_with_altivec(tsk))) {
324+
if (cpu_has_feature(CPU_FTR_ALTIVEC) && (tsk->thread.load_vec)) {
339325
load_vr_state(&tsk->thread.vr_state);
340326
tsk->thread.used_vr = 1;
341327
tsk->thread.load_vec++;
@@ -497,13 +483,14 @@ void giveup_all(struct task_struct *tsk)
497483
if (!tsk->thread.regs)
498484
return;
499485

486+
check_if_tm_restore_required(tsk);
487+
500488
usermsr = tsk->thread.regs->msr;
501489

502490
if ((usermsr & msr_all_available) == 0)
503491
return;
504492

505493
msr_check_and_set(msr_all_available);
506-
check_if_tm_restore_required(tsk);
507494

508495
WARN_ON((usermsr & MSR_VSX) && !((usermsr & MSR_FP) && (usermsr & MSR_VEC)));
509496

arch/powerpc/mm/nohash/tlb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,6 @@ static void early_init_this_mmu(void)
630630
#ifdef CONFIG_PPC_FSL_BOOK3E
631631
if (mmu_has_feature(MMU_FTR_TYPE_FSL_E)) {
632632
unsigned int num_cams;
633-
int __maybe_unused cpu = smp_processor_id();
634633
bool map = true;
635634

636635
/* use a quarter of the TLBCAM for bolted linear map */

arch/riscv/include/asm/image.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
#ifndef __ASM_IMAGE_H
44
#define __ASM_IMAGE_H
55

6-
#define RISCV_IMAGE_MAGIC "RISCV"
6+
#define RISCV_IMAGE_MAGIC "RISCV\0\0\0"
7+
#define RISCV_IMAGE_MAGIC2 "RSC\x05"
78

89
#define RISCV_IMAGE_FLAG_BE_SHIFT 0
910
#define RISCV_IMAGE_FLAG_BE_MASK 0x1
@@ -23,7 +24,7 @@
2324
#define __HEAD_FLAGS (__HEAD_FLAG(BE))
2425

2526
#define RISCV_HEADER_VERSION_MAJOR 0
26-
#define RISCV_HEADER_VERSION_MINOR 1
27+
#define RISCV_HEADER_VERSION_MINOR 2
2728

2829
#define RISCV_HEADER_VERSION (RISCV_HEADER_VERSION_MAJOR << 16 | \
2930
RISCV_HEADER_VERSION_MINOR)
@@ -39,9 +40,8 @@
3940
* @version: version
4041
* @res1: reserved
4142
* @res2: reserved
42-
* @magic: Magic number
43-
* @res3: reserved (will be used for additional RISC-V specific
44-
* header)
43+
* @magic: Magic number (RISC-V specific; deprecated)
44+
* @magic2: Magic number 2 (to match the ARM64 'magic' field pos)
4545
* @res4: reserved (will be used for PE COFF offset)
4646
*
4747
* The intention is for this header format to be shared between multiple
@@ -58,7 +58,7 @@ struct riscv_image_header {
5858
u32 res1;
5959
u64 res2;
6060
u64 magic;
61-
u32 res3;
61+
u32 magic2;
6262
u32 res4;
6363
};
6464
#endif /* __ASSEMBLY__ */

arch/riscv/kernel/head.S

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ ENTRY(_start)
3939
.word RISCV_HEADER_VERSION
4040
.word 0
4141
.dword 0
42-
.asciz RISCV_IMAGE_MAGIC
43-
.word 0
42+
.ascii RISCV_IMAGE_MAGIC
4443
.balign 4
44+
.ascii RISCV_IMAGE_MAGIC2
4545
.word 0
4646

4747
.global _start_kernel

arch/s390/kvm/interrupt.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,16 @@ int s390int_to_s390irq(struct kvm_s390_interrupt *s390int,
19611961
case KVM_S390_MCHK:
19621962
irq->u.mchk.mcic = s390int->parm64;
19631963
break;
1964+
case KVM_S390_INT_PFAULT_INIT:
1965+
irq->u.ext.ext_params = s390int->parm;
1966+
irq->u.ext.ext_params2 = s390int->parm64;
1967+
break;
1968+
case KVM_S390_RESTART:
1969+
case KVM_S390_INT_CLOCK_COMP:
1970+
case KVM_S390_INT_CPU_TIMER:
1971+
break;
1972+
default:
1973+
return -EINVAL;
19641974
}
19651975
return 0;
19661976
}

arch/s390/kvm/kvm-s390.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,6 +1018,8 @@ static int kvm_s390_vm_start_migration(struct kvm *kvm)
10181018
/* mark all the pages in active slots as dirty */
10191019
for (slotnr = 0; slotnr < slots->used_slots; slotnr++) {
10201020
ms = slots->memslots + slotnr;
1021+
if (!ms->dirty_bitmap)
1022+
return -EINVAL;
10211023
/*
10221024
* The second half of the bitmap is only used on x86,
10231025
* and would be wasted otherwise, so we put it to good
@@ -4323,7 +4325,7 @@ long kvm_arch_vcpu_async_ioctl(struct file *filp,
43234325
}
43244326
case KVM_S390_INTERRUPT: {
43254327
struct kvm_s390_interrupt s390int;
4326-
struct kvm_s390_irq s390irq;
4328+
struct kvm_s390_irq s390irq = {};
43274329

43284330
if (copy_from_user(&s390int, argp, sizeof(s390int)))
43294331
return -EFAULT;

0 commit comments

Comments
 (0)