Skip to content

Commit 6bf050f

Browse files
committed
Merge tag 'kvm-s390-next-6.15-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD
Pointer print format fixes
2 parents 0af2f6b + 0c7fbae commit 6bf050f

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

arch/s390/kvm/intercept.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static int handle_validity(struct kvm_vcpu *vcpu)
9595

9696
vcpu->stat.exit_validity++;
9797
trace_kvm_s390_intercept_validity(vcpu, viwhy);
98-
KVM_EVENT(3, "validity intercept 0x%x for pid %u (kvm 0x%pK)", viwhy,
98+
KVM_EVENT(3, "validity intercept 0x%x for pid %u (kvm 0x%p)", viwhy,
9999
current->pid, vcpu->kvm);
100100

101101
/* do not warn on invalid runtime instrumentation mode */

arch/s390/kvm/interrupt.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3161,7 +3161,7 @@ void kvm_s390_gisa_clear(struct kvm *kvm)
31613161
if (!gi->origin)
31623162
return;
31633163
gisa_clear_ipm(gi->origin);
3164-
VM_EVENT(kvm, 3, "gisa 0x%pK cleared", gi->origin);
3164+
VM_EVENT(kvm, 3, "gisa 0x%p cleared", gi->origin);
31653165
}
31663166

31673167
void kvm_s390_gisa_init(struct kvm *kvm)
@@ -3177,7 +3177,7 @@ void kvm_s390_gisa_init(struct kvm *kvm)
31773177
hrtimer_setup(&gi->timer, gisa_vcpu_kicker, CLOCK_MONOTONIC, HRTIMER_MODE_REL);
31783178
memset(gi->origin, 0, sizeof(struct kvm_s390_gisa));
31793179
gi->origin->next_alert = (u32)virt_to_phys(gi->origin);
3180-
VM_EVENT(kvm, 3, "gisa 0x%pK initialized", gi->origin);
3180+
VM_EVENT(kvm, 3, "gisa 0x%p initialized", gi->origin);
31813181
}
31823182

31833183
void kvm_s390_gisa_enable(struct kvm *kvm)
@@ -3218,7 +3218,7 @@ void kvm_s390_gisa_destroy(struct kvm *kvm)
32183218
process_gib_alert_list();
32193219
hrtimer_cancel(&gi->timer);
32203220
gi->origin = NULL;
3221-
VM_EVENT(kvm, 3, "gisa 0x%pK destroyed", gisa);
3221+
VM_EVENT(kvm, 3, "gisa 0x%p destroyed", gisa);
32223222
}
32233223

32243224
void kvm_s390_gisa_disable(struct kvm *kvm)
@@ -3467,7 +3467,7 @@ int __init kvm_s390_gib_init(u8 nisc)
34673467
}
34683468
}
34693469

3470-
KVM_EVENT(3, "gib 0x%pK (nisc=%d) initialized", gib, gib->nisc);
3470+
KVM_EVENT(3, "gib 0x%p (nisc=%d) initialized", gib, gib->nisc);
34713471
goto out;
34723472

34733473
out_unreg_gal:

arch/s390/kvm/kvm-s390.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ static int kvm_s390_set_mem_control(struct kvm *kvm, struct kvm_device_attr *att
10221022
}
10231023
mutex_unlock(&kvm->lock);
10241024
VM_EVENT(kvm, 3, "SET: max guest address: %lu", new_limit);
1025-
VM_EVENT(kvm, 3, "New guest asce: 0x%pK",
1025+
VM_EVENT(kvm, 3, "New guest asce: 0x%p",
10261026
(void *) kvm->arch.gmap->asce);
10271027
break;
10281028
}
@@ -3466,7 +3466,7 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)
34663466
kvm_s390_gisa_init(kvm);
34673467
INIT_LIST_HEAD(&kvm->arch.pv.need_cleanup);
34683468
kvm->arch.pv.set_aside = NULL;
3469-
KVM_EVENT(3, "vm 0x%pK created by pid %u", kvm, current->pid);
3469+
KVM_EVENT(3, "vm 0x%p created by pid %u", kvm, current->pid);
34703470

34713471
return 0;
34723472
out_err:
@@ -3529,7 +3529,7 @@ void kvm_arch_destroy_vm(struct kvm *kvm)
35293529
kvm_s390_destroy_adapters(kvm);
35303530
kvm_s390_clear_float_irqs(kvm);
35313531
kvm_s390_vsie_destroy(kvm);
3532-
KVM_EVENT(3, "vm 0x%pK destroyed", kvm);
3532+
KVM_EVENT(3, "vm 0x%p destroyed", kvm);
35333533
}
35343534

35353535
/* Section: vcpu related */
@@ -3650,7 +3650,7 @@ static int sca_switch_to_extended(struct kvm *kvm)
36503650

36513651
free_page((unsigned long)old_sca);
36523652

3653-
VM_EVENT(kvm, 2, "Switched to ESCA (0x%pK -> 0x%pK)",
3653+
VM_EVENT(kvm, 2, "Switched to ESCA (0x%p -> 0x%p)",
36543654
old_sca, kvm->arch.sca);
36553655
return 0;
36563656
}
@@ -4027,7 +4027,7 @@ int kvm_arch_vcpu_create(struct kvm_vcpu *vcpu)
40274027
goto out_free_sie_block;
40284028
}
40294029

4030-
VM_EVENT(vcpu->kvm, 3, "create cpu %d at 0x%pK, sie block at 0x%pK",
4030+
VM_EVENT(vcpu->kvm, 3, "create cpu %d at 0x%p, sie block at 0x%p",
40314031
vcpu->vcpu_id, vcpu, vcpu->arch.sie_block);
40324032
trace_kvm_s390_create_vcpu(vcpu->vcpu_id, vcpu, vcpu->arch.sie_block);
40334033

arch/s390/kvm/trace-s390.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ TRACE_EVENT(kvm_s390_create_vcpu,
5656
__entry->sie_block = sie_block;
5757
),
5858

59-
TP_printk("create cpu %d at 0x%pK, sie block at 0x%pK",
59+
TP_printk("create cpu %d at 0x%p, sie block at 0x%p",
6060
__entry->id, __entry->vcpu, __entry->sie_block)
6161
);
6262

@@ -255,7 +255,7 @@ TRACE_EVENT(kvm_s390_enable_css,
255255
__entry->kvm = kvm;
256256
),
257257

258-
TP_printk("enabling channel I/O support (kvm @ %pK)\n",
258+
TP_printk("enabling channel I/O support (kvm @ %p)\n",
259259
__entry->kvm)
260260
);
261261

0 commit comments

Comments
 (0)