Skip to content

Commit 7899b3a

Browse files
Automatic merge of 'next' into merge (2025-03-14 09:05)
2 parents 1304f48 + 861efb8 commit 7899b3a

File tree

7 files changed

+7
-14
lines changed

7 files changed

+7
-14
lines changed

arch/powerpc/crypto/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ $(obj)/aesp8-ppc.S $(obj)/ghashp8-ppc.S: $(obj)/%.S: $(src)/%.pl FORCE
5151
OBJECT_FILES_NON_STANDARD_aesp10-ppc.o := y
5252
OBJECT_FILES_NON_STANDARD_ghashp10-ppc.o := y
5353
OBJECT_FILES_NON_STANDARD_aesp8-ppc.o := y
54+
OBJECT_FILES_NON_STANDARD_ghashp8-ppc.o := y

arch/powerpc/kernel/prom_init.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2889,11 +2889,11 @@ static void __init fixup_device_tree_pmac(void)
28892889
char type[8];
28902890
phandle node;
28912891

2892-
// Some pmacs are missing #size-cells on escc nodes
2892+
// Some pmacs are missing #size-cells on escc or i2s nodes
28932893
for (node = 0; prom_next_node(&node); ) {
28942894
type[0] = '\0';
28952895
prom_getprop(node, "device_type", type, sizeof(type));
2896-
if (prom_strcmp(type, "escc"))
2896+
if (prom_strcmp(type, "escc") && prom_strcmp(type, "i2s"))
28972897
continue;
28982898

28992899
if (prom_getproplen(node, "#size-cells") != PROM_ERROR)

arch/powerpc/kernel/switch.S

-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ flush_branch_caches:
3939

4040
// Flush the link stack
4141
.rept 64
42-
ANNOTATE_INTRA_FUNCTION_CALL
4342
bl .+4
4443
.endr
4544
b 1f

arch/powerpc/kexec/relocate_32.S

+2-5
Original file line numberDiff line numberDiff line change
@@ -348,16 +348,13 @@ write_utlb:
348348
rlwinm r10, r24, 0, 22, 27
349349

350350
cmpwi r10, PPC47x_TLB0_4K
351-
bne 0f
352351
li r10, 0x1000 /* r10 = 4k */
353-
ANNOTATE_INTRA_FUNCTION_CALL
354-
bl 1f
352+
beq 0f
355353

356-
0:
357354
/* Defaults to 256M */
358355
lis r10, 0x1000
359356

360-
bcl 20,31,$+4
357+
0: bcl 20,31,$+4
361358
1: mflr r4
362359
addi r4, r4, (2f-1b) /* virtual address of 2f */
363360

arch/powerpc/kvm/book3s_hv_rmhandlers.S

-2
Original file line numberDiff line numberDiff line change
@@ -1524,14 +1524,12 @@ kvm_flush_link_stack:
15241524

15251525
/* Flush the link stack. On Power8 it's up to 32 entries in size. */
15261526
.rept 32
1527-
ANNOTATE_INTRA_FUNCTION_CALL
15281527
bl .+4
15291528
.endr
15301529

15311530
/* And on Power9 it's up to 64. */
15321531
BEGIN_FTR_SECTION
15331532
.rept 32
1534-
ANNOTATE_INTRA_FUNCTION_CALL
15351533
bl .+4
15361534
.endr
15371535
END_FTR_SECTION_IFSET(CPU_FTR_ARCH_300)

arch/powerpc/kvm/powerpc.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -550,12 +550,9 @@ int kvm_vm_ioctl_check_extension(struct kvm *kvm, long ext)
550550

551551
#ifdef CONFIG_PPC_BOOK3S_64
552552
case KVM_CAP_SPAPR_TCE:
553+
fallthrough;
553554
case KVM_CAP_SPAPR_TCE_64:
554-
r = 1;
555-
break;
556555
case KVM_CAP_SPAPR_TCE_VFIO:
557-
r = !!cpu_has_feature(CPU_FTR_HVMODE);
558-
break;
559556
case KVM_CAP_PPC_RTAS:
560557
case KVM_CAP_PPC_FIXUP_HCALL:
561558
case KVM_CAP_PPC_ENABLE_HCALL:

arch/powerpc/perf/vpa-pmu.c

+1
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ static void vpa_pmu_del(struct perf_event *event, int flags)
156156
}
157157

158158
static struct pmu vpa_pmu = {
159+
.module = THIS_MODULE,
159160
.task_ctx_nr = perf_sw_context,
160161
.name = "vpa_pmu",
161162
.event_init = vpa_pmu_event_init,

0 commit comments

Comments
 (0)