Skip to content

Commit f444fea

Browse files
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
drivers/ptp/Kconfig: 55c8fca ("ptp_pch: Restore dependency on PCI") e5f3155 ("ethernet: fix PTP_1588_CLOCK dependencies") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2 parents 9e5f10f + f87d643 commit f444fea

181 files changed

Lines changed: 1572 additions & 1130 deletions

File tree

Some content is hidden

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

‎Documentation/devicetree/bindings/iio/st,st-sensors.yaml‎

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -152,47 +152,6 @@ allOf:
152152
maxItems: 1
153153
st,drdy-int-pin: false
154154

155-
- if:
156-
properties:
157-
compatible:
158-
enum:
159-
# Two intertial interrupts i.e. accelerometer/gyro interrupts
160-
- st,h3lis331dl-accel
161-
- st,l3g4200d-gyro
162-
- st,l3g4is-gyro
163-
- st,l3gd20-gyro
164-
- st,l3gd20h-gyro
165-
- st,lis2de12
166-
- st,lis2dw12
167-
- st,lis2hh12
168-
- st,lis2dh12-accel
169-
- st,lis331dl-accel
170-
- st,lis331dlh-accel
171-
- st,lis3de
172-
- st,lis3dh-accel
173-
- st,lis3dhh
174-
- st,lis3mdl-magn
175-
- st,lng2dm-accel
176-
- st,lps331ap-press
177-
- st,lsm303agr-accel
178-
- st,lsm303dlh-accel
179-
- st,lsm303dlhc-accel
180-
- st,lsm303dlm-accel
181-
- st,lsm330-accel
182-
- st,lsm330-gyro
183-
- st,lsm330d-accel
184-
- st,lsm330d-gyro
185-
- st,lsm330dl-accel
186-
- st,lsm330dl-gyro
187-
- st,lsm330dlc-accel
188-
- st,lsm330dlc-gyro
189-
- st,lsm9ds0-gyro
190-
- st,lsm9ds1-magn
191-
then:
192-
properties:
193-
interrupts:
194-
maxItems: 2
195-
196155
required:
197156
- compatible
198157
- reg

‎Documentation/i2c/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Introduction
1717
busses/index
1818
i2c-topology
1919
muxes/i2c-mux-gpio
20+
i2c-sysfs
2021

2122
Writing device drivers
2223
======================

‎Documentation/virt/kvm/locking.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ On x86:
2525

2626
- vcpu->mutex is taken outside kvm->arch.hyperv.hv_lock
2727

28-
- kvm->arch.mmu_lock is an rwlock. kvm->arch.tdp_mmu_pages_lock is
29-
taken inside kvm->arch.mmu_lock, and cannot be taken without already
30-
holding kvm->arch.mmu_lock (typically with ``read_lock``, otherwise
31-
there's no need to take kvm->arch.tdp_mmu_pages_lock at all).
28+
- kvm->arch.mmu_lock is an rwlock. kvm->arch.tdp_mmu_pages_lock and
29+
kvm->arch.mmu_unsync_pages_lock are taken inside kvm->arch.mmu_lock, and
30+
cannot be taken without already holding kvm->arch.mmu_lock (typically with
31+
``read_lock`` for the TDP MMU, thus the need for additional spinlocks).
3232

3333
Everything else is a leaf: no other lock is taken inside the critical
3434
sections.

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
VERSION = 5
33
PATCHLEVEL = 14
44
SUBLEVEL = 0
5-
EXTRAVERSION = -rc5
5+
EXTRAVERSION = -rc6
66
NAME = Opossums on Parade
77

88
# *DOCUMENTATION*

‎arch/arm64/kvm/arm.c‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,14 @@ int kvm_vm_ioctl_enable_cap(struct kvm *kvm,
9494
kvm->arch.return_nisv_io_abort_to_user = true;
9595
break;
9696
case KVM_CAP_ARM_MTE:
97-
if (!system_supports_mte() || kvm->created_vcpus)
98-
return -EINVAL;
99-
r = 0;
100-
kvm->arch.mte_enabled = true;
97+
mutex_lock(&kvm->lock);
98+
if (!system_supports_mte() || kvm->created_vcpus) {
99+
r = -EINVAL;
100+
} else {
101+
r = 0;
102+
kvm->arch.mte_enabled = true;
103+
}
104+
mutex_unlock(&kvm->lock);
101105
break;
102106
default:
103107
r = -EINVAL;

‎arch/arm64/kvm/hyp/nvhe/mem_protect.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ static bool range_is_memory(u64 start, u64 end)
193193
{
194194
struct kvm_mem_range r1, r2;
195195

196-
if (!find_mem_range(start, &r1) || !find_mem_range(end, &r2))
196+
if (!find_mem_range(start, &r1) || !find_mem_range(end - 1, &r2))
197197
return false;
198198
if (r1.start != r2.start)
199199
return false;

‎arch/powerpc/include/asm/interrupt.h‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@ DECLARE_INTERRUPT_HANDLER_NMI(hmi_exception_realmode);
583583

584584
DECLARE_INTERRUPT_HANDLER_ASYNC(TAUException);
585585

586+
/* irq.c */
587+
DECLARE_INTERRUPT_HANDLER_ASYNC(do_IRQ);
588+
586589
void __noreturn unrecoverable_exception(struct pt_regs *regs);
587590

588591
void replay_system_reset(void);

‎arch/powerpc/include/asm/irq.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ extern void *mcheckirq_ctx[NR_CPUS];
5252
extern void *hardirq_ctx[NR_CPUS];
5353
extern void *softirq_ctx[NR_CPUS];
5454

55-
extern void do_IRQ(struct pt_regs *regs);
55+
void __do_IRQ(struct pt_regs *regs);
5656
extern void __init init_IRQ(void);
5757
extern void __do_irq(struct pt_regs *regs);
5858

‎arch/powerpc/include/asm/ptrace.h‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,22 @@ struct pt_regs
7070
unsigned long __pad[4]; /* Maintain 16 byte interrupt stack alignment */
7171
};
7272
#endif
73+
#if defined(CONFIG_PPC32) && defined(CONFIG_BOOKE)
74+
struct { /* Must be a multiple of 16 bytes */
75+
unsigned long mas0;
76+
unsigned long mas1;
77+
unsigned long mas2;
78+
unsigned long mas3;
79+
unsigned long mas6;
80+
unsigned long mas7;
81+
unsigned long srr0;
82+
unsigned long srr1;
83+
unsigned long csrr0;
84+
unsigned long csrr1;
85+
unsigned long dsrr0;
86+
unsigned long dsrr1;
87+
};
88+
#endif
7389
};
7490
#endif
7591

‎arch/powerpc/kernel/asm-offsets.c‎

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -309,24 +309,21 @@ int main(void)
309309
STACK_PT_REGS_OFFSET(STACK_REGS_IAMR, iamr);
310310
#endif
311311

312-
#if defined(CONFIG_PPC32)
313-
#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
314-
DEFINE(EXC_LVL_SIZE, STACK_EXC_LVL_FRAME_SIZE);
315-
DEFINE(MAS0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0));
312+
#if defined(CONFIG_PPC32) && defined(CONFIG_BOOKE)
313+
STACK_PT_REGS_OFFSET(MAS0, mas0);
316314
/* we overload MMUCR for 44x on MAS0 since they are mutually exclusive */
317-
DEFINE(MMUCR, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas0));
318-
DEFINE(MAS1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas1));
319-
DEFINE(MAS2, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas2));
320-
DEFINE(MAS3, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas3));
321-
DEFINE(MAS6, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas6));
322-
DEFINE(MAS7, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, mas7));
323-
DEFINE(_SRR0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr0));
324-
DEFINE(_SRR1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, srr1));
325-
DEFINE(_CSRR0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, csrr0));
326-
DEFINE(_CSRR1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, csrr1));
327-
DEFINE(_DSRR0, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, dsrr0));
328-
DEFINE(_DSRR1, STACK_INT_FRAME_SIZE+offsetof(struct exception_regs, dsrr1));
329-
#endif
315+
STACK_PT_REGS_OFFSET(MMUCR, mas0);
316+
STACK_PT_REGS_OFFSET(MAS1, mas1);
317+
STACK_PT_REGS_OFFSET(MAS2, mas2);
318+
STACK_PT_REGS_OFFSET(MAS3, mas3);
319+
STACK_PT_REGS_OFFSET(MAS6, mas6);
320+
STACK_PT_REGS_OFFSET(MAS7, mas7);
321+
STACK_PT_REGS_OFFSET(_SRR0, srr0);
322+
STACK_PT_REGS_OFFSET(_SRR1, srr1);
323+
STACK_PT_REGS_OFFSET(_CSRR0, csrr0);
324+
STACK_PT_REGS_OFFSET(_CSRR1, csrr1);
325+
STACK_PT_REGS_OFFSET(_DSRR0, dsrr0);
326+
STACK_PT_REGS_OFFSET(_DSRR1, dsrr1);
330327
#endif
331328

332329
/* About the CPU features table */

0 commit comments

Comments
 (0)