Skip to content

Commit feb6d57

Browse files
Automatic merge of 'next-test' into merge-test (2025-03-07 20:17)
2 parents 1304f48 + ff99d5b commit feb6d57

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

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/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)