From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8363139B for ; Sun, 12 Jan 2025 12:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736683341; cv=none; b=Bdnm7ywHldeQivCsCW26DaTwdzDwzJN6h4kU9FoxKv2CMSe+nWWCvvnbPo4CAFCgxqUW9HHc1b5LvcuZEhTvNYI3yQnbVXqOMG/j/HbWa2t86qvwcR5Q5B4BTJkX+LskEQ/XYqYayB5TALdEHErvXf4+XjDWlqq3dlpmTG5NNqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736683341; c=relaxed/simple; bh=pe8+uRW2MsPJJR+cMHLPb4/Tp50FVUexA78hpV2jfXg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VNKDIU0g7tbhA4FY2llSz89v6DHOEFTmo6I6iRjjwNYXiVKg/6cM/a5LLii92FIBn4hh0UBUBoLLBR2KwLkE68EMrXAqk3H5sc8vudsQ89w9hkubWugnT6cIfXN7uPr6lLBkNIqyvGbkl6E4/Cw1EgLtC/rhlbKUM8g3pzFjuH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=VC0UYmmI; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="VC0UYmmI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736683337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=OvlgjQkGD8RO2wkiLsRtHlqQCQpwARNsjKnf3XqGk6k=; b=VC0UYmmIA5eNwEOYHawl5m4BAM448wr88OjgkyExS1Ayqpobisj2D0c9Q4NnelSQCZKz9O iD6Gwok8g0PBkEzoT/oXElS7530RpWLU82mAOIryV9kswThPbKwA7ZDR/ATKQpjRRtQ4u4 XDEPYLNB9AkQhPH8BFcWsDOZhVqLGXM= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-198-nLxt4nX5N96hjPvf8M0-pg-1; Sun, 12 Jan 2025 07:02:16 -0500 X-MC-Unique: nLxt4nX5N96hjPvf8M0-pg-1 X-Mimecast-MFC-AGG-ID: nLxt4nX5N96hjPvf8M0-pg Received: by mail-ej1-f69.google.com with SMTP id a640c23a62f3a-aa69c41994dso248735666b.0 for ; Sun, 12 Jan 2025 04:02:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736683335; x=1737288135; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=OvlgjQkGD8RO2wkiLsRtHlqQCQpwARNsjKnf3XqGk6k=; b=kavhgGpnp0qIfkkJrPl9Ja80rnCsP9ELQNAoTJ4uojmQLS+coqhQqNmuag7lz/DhIF 68iajFpAcoeV/zjzr65+P9qCmKObKffEEWIKrgmziITYvfYew9GvbtM1n8UpOOHOhCU8 5Nqf6LsYh/ld+d9LDjQ2m1eBWMXqcUZXkmFnsitBQE1zDVtrdIpZzzmixDmLiBUYzLYC 0+EbXQqo5/cqj4lebBa9TmDQZNP/wmyX5MLQaQE9psn1DaQtertIApmGPxKs02CF4uac CagpAKo+09Y9ScrOuzavHqTPKm4vlEigYlLboVuZLmTPKirT89vPXpFh5/QFMtd9XDg7 d1wQ== X-Gm-Message-State: AOJu0YwTUxKC3OoBptb9hqU8bmp/hTdfSlhqomvXYjCL1KMQhLsdXoQW ybAu3ci+jdQwbpeUxDU6DKeabuu9Sz8yIbdl9cN2Qe5kQaPsatBxGK6RKdMugIx7/PuFvYp+SiZ nINJKKUavjRtJyvBOw6cXPQAElfZH2JnC67wBOiFrKbqI0209qs+fZ6JVPlWScw== X-Gm-Gg: ASbGncuNxWrQExALEoTi03HdWJ7CYkM9eA/Rgjht7TKpS+dcys+mf0VZCI5LVUKzVi/ Kj2FC0rITKjz6O1Fo3eFWmsy6iPkv+dcJDk2L8O5JbeU+SWkppzUzAEGL7R0Twnl8BYNLmEq1pv NMidEbtNXB6MgdX8V0gFO5TJYk7deUYuydUyt+HJC2lVGs5MhHNSGGLCuSTkjGl7jUnMo0HeSou YE2QOHB+WVNFAtaSSEs5yjm65PC6DnMsJbSBiJj7gLQ+pqH5sM2jreA7mg= X-Received: by 2002:a05:6402:1eca:b0:5d6:688d:b683 with SMTP id 4fb4d7f45d1cf-5d972e0b18bmr38391436a12.9.1736683335009; Sun, 12 Jan 2025 04:02:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4iw+C6RyEvPLlraXbotmvzO3Xf9zB4jeehu6nupahlXVWk16R1eRilYnECuJSc8hcT3RZGA== X-Received: by 2002:a05:6402:1eca:b0:5d6:688d:b683 with SMTP id 4fb4d7f45d1cf-5d972e0b18bmr38391373a12.9.1736683334621; Sun, 12 Jan 2025 04:02:14 -0800 (PST) Received: from [192.168.10.3] ([151.62.105.73]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab2c964924bsm370007266b.179.2025.01.12.04.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jan 2025 04:02:14 -0800 (PST) From: Paolo Bonzini To: torvalds@linux-foundation.org Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: [GIT PULL] KVM fixes for 6.13-rc7 Date: Sun, 12 Jan 2025 13:02:12 +0100 Message-ID: <20250112120212.440133-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Linus, The following changes since commit 9d89551994a430b50c4fffcb1e617a057fa76e20: Linux 6.13-rc6 (2025-01-05 14:13:40 -0800) are available in the Git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus for you to fetch changes up to a5546c2f0dc4f84727a4bb8a91633917929735f5: Merge tag 'kvm-s390-master-6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD (2025-01-12 12:51:05 +0100) The largest part here is for KVM/PPC, where a NULL pointer dereference was introduced in the 6.13 merge window and is now fixed. There's some "holiday-induced lateness", as the s390 submaintainer put it, but otherwise things looks fine. ---------------------------------------------------------------- s390: * fix a latent bug when the kernel is compiled in debug mode * two small UCONTROL fixes and their selftests arm64: * always check page state in hyp_ack_unshare() * align set_id_regs selftest with the fact that ASIDBITS field is RO * various vPMU fixes for bugs that only affect nested virt PPC e500: * Fix a mostly impossible (but just wrong) case where IRQs were never re-enabled * Observe host permissions instead of mapping readonly host pages as guest-writable. This fixes a NULL-pointer dereference in 6.13 * Replace brittle VMA-based attempts at building huge shadow TLB entries with PTE lookups. ---------------------------------------------------------------- Christoph Schlameuss (5): KVM: s390: Reject setting flic pfault attributes on ucontrol VMs KVM: s390: selftests: Add ucontrol flic attr selftests KVM: s390: Reject KVM_SET_GSI_ROUTING on ucontrol VMs KVM: s390: selftests: Add ucontrol gis routing test KVM: s390: selftests: Add has device attr check to uc_attr_mem_limit selftest Claudio Imbrenda (1): KVM: s390: vsie: fix virtual/physical address in unpin_scb() Mark Brown (1): KVM: arm64: Fix set_id_regs selftest for ASIDBITS becoming unwritable Oliver Upton (4): KVM: arm64: Add unified helper for reprogramming counters by mask KVM: arm64: Use KVM_REQ_RELOAD_PMU to handle PMCR_EL0.E change KVM: arm64: nv: Reload PMU events upon MDCR_EL2.HPME change KVM: arm64: Only apply PMCR_EL0.P to the guest range of counters Paolo Bonzini (8): KVM: e500: always restore irqs KVM: e500: use shadow TLB entry as witness for writability KVM: e500: track host-writability of pages KVM: e500: map readonly host pages for read KVM: e500: perform hugepage check after looking up the PFN Merge branch 'kvm-e500-check-writable-pfn' into HEAD Merge tag 'kvmarm-fixes-6.13-3' of https://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD Merge tag 'kvm-s390-master-6.13-1' of https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD Quentin Perret (1): KVM: arm64: Always check the state from hyp_ack_unshare() Documentation/virt/kvm/api.rst | 3 + Documentation/virt/kvm/devices/s390_flic.rst | 4 + arch/arm64/kvm/hyp/nvhe/mem_protect.c | 3 - arch/arm64/kvm/pmu-emul.c | 91 ++++------ arch/arm64/kvm/sys_regs.c | 32 +++- arch/powerpc/kvm/e500.h | 2 + arch/powerpc/kvm/e500_mmu_host.c | 199 +++++++++------------- arch/s390/kvm/interrupt.c | 6 + arch/s390/kvm/vsie.c | 2 +- include/kvm/arm_pmu.h | 6 +- tools/testing/selftests/kvm/aarch64/set_id_regs.c | 1 - tools/testing/selftests/kvm/s390x/ucontrol_test.c | 172 ++++++++++++++++++- 12 files changed, 333 insertions(+), 188 deletions(-)