2024-04-08 13:00:48

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 6.1 000/138] 6.1.85-rc1 review

This is the start of the stable review cycle for the 6.1.85 release.
There are 138 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.

Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
Anything received after that time might be too late.

The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.85-rc1.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>
Linux 6.1.85-rc1

min15.li <[email protected]>
nvme: fix miss command type check

David Hildenbrand <[email protected]>
mm/secretmem: fix GUP-fast succeeding on secretmem folios

Geliang Tang <[email protected]>
selftests: mptcp: display simult in extra_msg

Davide Caratti <[email protected]>
mptcp: don't account accept() of non-MPC client as fallback to TCP

Geliang Tang <[email protected]>
selftests: mptcp: join: fix dev in check_endpoint

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in smb2_is_network_name_deleted()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in is_valid_oplock_break()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in smb2_is_valid_lease_break()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in smb2_is_valid_oplock_break()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in cifs_stats_proc_show()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in cifs_stats_proc_write()

Paulo Alcantara <[email protected]>
smb: client: fix potential UAF in cifs_debug_files_proc_show()

Ritvik Budhiraja <[email protected]>
smb3: retrying on failed server close

Stefan O'Rear <[email protected]>
riscv: process: Fix kernel gp leakage

Samuel Holland <[email protected]>
riscv: Fix spurious errors from __get/put_kernel_nofault

Sumanth Korikkar <[email protected]>
s390/entry: align system call table on 8 bytes

Jason A. Donenfeld <[email protected]>
x86/coco: Require seeding RNG with RDRAND on CoCo systems

Borislav Petkov (AMD) <[email protected]>
x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()

David Hildenbrand <[email protected]>
x86/mm/pat: fix VM_PAT handling in COW mappings

Herve Codina <[email protected]>
of: dynamic: Synchronize of_changeset_destroy() with the devlink removals

Herve Codina <[email protected]>
driver core: Introduce device_link_wait_removal()

I Gede Agastya Darma Laksana <[email protected]>
ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone

Christoffer Sandberg <[email protected]>
ALSA: hda/realtek - Fix inactive headset mic jack

Namjae Jeon <[email protected]>
ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1

Namjae Jeon <[email protected]>
ksmbd: validate payload size in ipc response

Namjae Jeon <[email protected]>
ksmbd: don't send oplock break if rename fails

Borislav Petkov (AMD) <[email protected]>
x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk

Jeff Layton <[email protected]>
nfsd: hold a lighter-weight client reference over CB_RECALL_ANY

Arnd Bergmann <[email protected]>
ata: sata_mv: Fix PCI device ID table declaration compilation warning

Thomas Richter <[email protected]>
s390/pai: fix sampling event removal for PMU device driver

Thomas Richter <[email protected]>
s390/pai: rework paiXXX_start and paiXXX_stop functions

Thomas Richter <[email protected]>
s390/pai: cleanup event initialization

Thomas Richter <[email protected]>
s390/pai_crypto: remove per-cpu variable assignement in event initialization

Thomas Richter <[email protected]>
s390/pai: initialize event count once at initialization

Thomas Richter <[email protected]>
s390/pai_ext: replace atomic_t with refcount_t

Thomas Richter <[email protected]>
s390/pai: rename structure member users to active_events

Thomas Richter <[email protected]>
s390/pai: rework pai_crypto mapped buffer reference count

David Howells <[email protected]>
cifs: Fix caching to try to do open O_WRONLY as rdwr on server

Li Nan <[email protected]>
scsi: sd: Unregister device if device_add_disk() failed in sd_probe()

Arnd Bergmann <[email protected]>
scsi: mylex: Fix sysfs buffer lengths

Arnd Bergmann <[email protected]>
ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit

Stephen Lee <[email protected]>
ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw

Pierre-Louis Bossart <[email protected]>
ASoC: rt711-sdw: fix locking sequence

Pierre-Louis Bossart <[email protected]>
ASoC: rt711-sdca: fix locking sequence

Pierre-Louis Bossart <[email protected]>
ASoC: rt5682-sdw: fix locking sequence

Christian Hewitt <[email protected]>
drm/panfrost: fix power transition timeout warnings

Pu Lehui <[email protected]>
drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported

Dominique Martinet <[email protected]>
9p: Fix read/write debug statements to report server reply

Jann Horn <[email protected]>
fs/pipe: Fix lockdep false-positive in watchqueue pipe_write()

Ashish Kalra <[email protected]>
KVM: SVM: Add support for allowing zero SEV ASIDs

Sean Christopherson <[email protected]>
KVM: SVM: Use unsigned integers when dealing with ASIDs

Sean Christopherson <[email protected]>
KVM: SVM: WARN, but continue, if misc_cg_set_capacity() fails

Alexander Mikhalitsyn <[email protected]>
KVM: SVM: enhance info printk's in SEV init

Paul Barker <[email protected]>
net: ravb: Always update error counters

Paul Barker <[email protected]>
net: ravb: Always process TX descriptor ring

Claudiu Beznea <[email protected]>
net: ravb: Let IP-specific receive function to interrogate descriptors

Wei Fang <[email protected]>
net: fec: Set mac_managed_pm during probe

Denis Kirjanov <[email protected]>
drivers: net: convert to boolean for the mac_managed_pm flag

Kuniyuki Iwashima <[email protected]>
tcp: Fix bind() regression for v6-only wildcard and v4(-mapped-v6) non-wildcard addresses.

Heiner Kallweit <[email protected]>
r8169: prepare rtl_hw_aspm_clkreq_enable for usage in atomic context

Heiner Kallweit <[email protected]>
r8169: use spinlock to protect access to registers Config2 and Config5

Heiner Kallweit <[email protected]>
r8169: use spinlock to protect mac ocp register access

Ivan Vecera <[email protected]>
i40e: Enforce software interrupt during busy-poll exit

Ivan Vecera <[email protected]>
i40e: Remove _t suffix from enum type names

Joe Damato <[email protected]>
i40e: Store the irq number in i40e_q_vector

Mario Limonciello <[email protected]>
drm/amd: Flush GFXOFF requests in prepare stage

Mario Limonciello <[email protected]>
drm/amd: Add concept of running prepare_suspend() sequence for IP blocks

Mario Limonciello <[email protected]>
drm/amd: Evict resources during PM ops prepare() callback

Christian A. Ehrhardt <[email protected]>
usb: typec: ucsi: Check for notifications after init

Aleksandr Loktionov <[email protected]>
i40e: fix vf may be used uninitialized in this function warning

Aleksandr Loktionov <[email protected]>
i40e: fix i40e_count_filters() to count only active/new filters

Aleksandr Mishin <[email protected]>
octeontx2-af: Add array index check

Su Hui <[email protected]>
octeontx2-pf: check negative error code in otx2_open()

Hariprasad Kelam <[email protected]>
octeontx2-af: Fix issue with loading coalesced KPU profiles

Antoine Tenart <[email protected]>
udp: prevent local UDP tunnel packets from being GROed

Antoine Tenart <[email protected]>
udp: do not transition UDP GRO fraglist partial checksums to unnecessary

Antoine Tenart <[email protected]>
udp: do not accept non-tunnel GSO skbs landing in a tunnel

Atlas Yu <[email protected]>
r8169: skip DASH fw status checks when DASH is disabled

David Thompson <[email protected]>
mlxbf_gige: stop interface during shutdown

Kuniyuki Iwashima <[email protected]>
ipv6: Fix infinite recursion in fib6_dump_done().

Jakub Kicinski <[email protected]>
selftests: reuseaddr_conflict: add missing new line at the end of the output

Eric Dumazet <[email protected]>
erspan: make sure erspan_base_hdr is present in skb->head

Ivan Vecera <[email protected]>
i40e: Fix VF MAC filter removal

Borislav Petkov (AMD) <[email protected]>
x86/retpoline: Do the necessary fixup to the Zen3/4 srso return thunk for !SRSO

Borislav Petkov (AMD) <[email protected]>
x86/bugs: Fix the SRSO mitigation on Zen3/4

Antoine Tenart <[email protected]>
gro: fix ownership transfer

Antoine Tenart <[email protected]>
selftests: net: gro fwd: update vxlan GRO test expectations

Aleksandr Mishin <[email protected]>
net: phy: micrel: Fix potential null pointer dereference

Horatiu Vultur <[email protected]>
net: phy: micrel: lan8814: Fix when enabling/disabling 1-step timestamping

Piotr Wejman <[email protected]>
net: stmmac: fix rx queue priority assignment

Eric Dumazet <[email protected]>
net/sched: fix lockdep splat in qdisc_tree_reduce_backlog()

Eric Dumazet <[email protected]>
net/sched: act_skbmod: prevent kernel-infoleak

Jakub Sitnicki <[email protected]>
bpf, sockmap: Prevent lock inversion deadlock in map delete elem

Christophe JAILLET <[email protected]>
vboxsf: Avoid an spurious warning if load_nls_xxx() fails

Eric Dumazet <[email protected]>
netfilter: validate user input for expected length

Ziyang Xuan <[email protected]>
netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: flush pending destroy work before exit_net release

Pablo Neira Ayuso <[email protected]>
netfilter: nf_tables: reject new basechain after table flag update

Ingo Molnar <[email protected]>
Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."

Marco Pinna <[email protected]>
vsock/virtio: fix packet delivery to tap device

Jose Ignacio Tornos Martinez <[email protected]>
net: usb: ax88179_178a: avoid the interface always configured as random address

Mahmoud Adam <[email protected]>
net/rds: fix possible cp null dereference

Jesper Dangaard Brouer <[email protected]>
xen-netfront: Add missing skb_mark_for_recycle

Bastien Nocera <[email protected]>
Bluetooth: Fix TOCTOU in HCI debugfs implementation

Hui Wang <[email protected]>
Bluetooth: hci_event: set the conn encrypted before conn establishes

Johan Hovold <[email protected]>
Bluetooth: add quirk for broken address properties

Johan Hovold <[email protected]>
Bluetooth: qca: fix device-address endianness

Johan Hovold <[email protected]>
arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken

Johan Hovold <[email protected]>
Revert "Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT"

Sean Christopherson <[email protected]>
x86/cpufeatures: Add CPUID_LNX_5 to track recently added Linux-defined word

Heiner Kallweit <[email protected]>
r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d

Oliver Upton <[email protected]>
KVM: arm64: Fix host-programmed guest events in nVHE

Sandipan Das <[email protected]>
perf/x86/amd/lbr: Use freeze based on availability

Sandipan Das <[email protected]>
x86/cpufeatures: Add new word for scattered features

Arnd Bergmann <[email protected]>
dm integrity: fix out-of-range warning

Florian Westphal <[email protected]>
inet: inet_defrag: prevent sk release while still in use

Hariprasad Kelam <[email protected]>
Octeontx2-af: fix pause frame configuration in GMP mode

Raju Lakkaraju <[email protected]>
net: lan743x: Add set RFE read fifo threshold for PCI1x1x chips

David Howells <[email protected]>
cifs: Fix duplicate fscache cookie warnings

Andrei Matei <[email protected]>
bpf: Protect against int overflow for stack access size

David Thompson <[email protected]>
mlxbf_gige: call request_irq() after NAPI initialized

Sabrina Dubroca <[email protected]>
tls: get psock ref after taking rxlock to avoid leak

Sabrina Dubroca <[email protected]>
tls: adjust recv return with async crypto and failed copy to userspace

Sabrina Dubroca <[email protected]>
tls: recv: process_rx_list shouldn't use an offset with kvec

Jian Shen <[email protected]>
net: hns3: mark unexcuted loopback test result as UNEXECUTED

Yonglong Liu <[email protected]>
net: hns3: fix kernel crash when devlink reload during pf initialization

Jie Wang <[email protected]>
net: hns3: fix index limit to support all queue stats

Nikita Kiryushin <[email protected]>
ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields()

Bjørn Mork <[email protected]>
net: wwan: t7xx: Split 64bit accesses to fix alignment issues

Eric Dumazet <[email protected]>
tcp: properly terminate timers for kernel sockets

Alexandra Winter <[email protected]>
s390/qeth: handle deferred cc1

Przemek Kitszel <[email protected]>
ixgbe: avoid sleeping allocation in ixgbe_ipsec_vf_add_sa()

Johannes Berg <[email protected]>
wifi: iwlwifi: mvm: rfi: fix potential response leaks

David Thompson <[email protected]>
mlxbf_gige: stop PHY during open() error paths

Ryosuke Yasuoka <[email protected]>
nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet

Pavel Sakharov <[email protected]>
dma-buf: Fix NULL pointer dereference in sanitycheck()

Hangbin Liu <[email protected]>
scripts/bpf_doc: Use silent mode when exec make cmd


-------------

Diffstat:

Makefile | 4 +-
arch/arm64/boot/dts/qcom/sc7180-trogdor.dtsi | 2 +
arch/riscv/include/asm/uaccess.h | 4 +-
arch/riscv/kernel/process.c | 3 -
arch/s390/kernel/entry.S | 1 +
arch/s390/kernel/perf_pai_crypto.c | 96 ++++++++-------
arch/s390/kernel/perf_pai_ext.c | 66 ++++++-----
arch/x86/coco/core.c | 41 +++++++
arch/x86/events/amd/core.c | 4 +-
arch/x86/events/amd/lbr.c | 16 ++-
arch/x86/include/asm/asm-prototypes.h | 1 +
arch/x86/include/asm/coco.h | 2 +
arch/x86/include/asm/cpufeature.h | 8 +-
arch/x86/include/asm/cpufeatures.h | 10 +-
arch/x86/include/asm/disabled-features.h | 3 +-
arch/x86/include/asm/nospec-branch.h | 20 +++-
arch/x86/include/asm/required-features.h | 3 +-
arch/x86/kernel/cpu/mce/core.c | 4 +-
arch/x86/kernel/cpu/scattered.c | 1 +
arch/x86/kernel/setup.c | 2 +
arch/x86/kvm/reverse_cpuid.h | 2 +
arch/x86/kvm/svm/sev.c | 60 ++++++----
arch/x86/kvm/trace.h | 10 +-
arch/x86/lib/retpoline.S | 6 +-
arch/x86/mm/ident_map.c | 23 +---
arch/x86/mm/pat/memtype.c | 49 +++++---
drivers/acpi/acpica/dbnames.c | 8 +-
drivers/ata/sata_mv.c | 63 +++++-----
drivers/ata/sata_sx4.c | 6 +-
drivers/base/core.c | 26 +++-
drivers/bluetooth/btqca.c | 8 +-
drivers/bluetooth/hci_qca.c | 19 ++-
drivers/dma-buf/st-dma-fence-chain.c | 6 +-
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 38 ++++++
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 10 +-
drivers/gpu/drm/amd/include/amd_shared.h | 1 +
drivers/gpu/drm/panfrost/panfrost_gpu.c | 6 +-
drivers/md/dm-integrity.c | 2 +-
drivers/net/ethernet/freescale/fec_main.c | 11 +-
.../hns3/hns3_common/hclge_comm_tqp_stats.c | 2 +-
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 19 ++-
.../ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 4 +
drivers/net/ethernet/intel/i40e/i40e.h | 6 +-
drivers/net/ethernet/intel/i40e/i40e_main.c | 14 ++-
drivers/net/ethernet/intel/i40e/i40e_ptp.c | 6 +-
drivers/net/ethernet/intel/i40e/i40e_register.h | 3 +
drivers/net/ethernet/intel/i40e/i40e_txrx.c | 82 +++++++++----
drivers/net/ethernet/intel/i40e/i40e_txrx.h | 5 +-
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c | 45 ++++---
drivers/net/ethernet/intel/ixgbe/ixgbe_ipsec.c | 16 +--
drivers/net/ethernet/marvell/octeontx2/af/cgx.c | 5 +
.../net/ethernet/marvell/octeontx2/af/rvu_cgx.c | 2 +
.../net/ethernet/marvell/octeontx2/af/rvu_npc.c | 2 +-
.../net/ethernet/marvell/octeontx2/nic/otx2_pf.c | 2 +-
.../ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 31 +++--
drivers/net/ethernet/microchip/lan743x_main.c | 18 +++
drivers/net/ethernet/microchip/lan743x_main.h | 4 +
drivers/net/ethernet/realtek/r8169_main.c | 131 +++++++++++++++++----
drivers/net/ethernet/renesas/ravb_main.c | 33 +++---
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 40 +++++--
.../net/ethernet/stmicro/stmmac/dwxgmac2_core.c | 38 ++++--
drivers/net/phy/micrel.c | 31 +++--
drivers/net/usb/asix_devices.c | 4 +-
drivers/net/usb/ax88179_178a.c | 2 +
drivers/net/wireless/intel/iwlwifi/mvm/rfi.c | 8 +-
drivers/net/wwan/t7xx/t7xx_cldma.c | 4 +-
drivers/net/wwan/t7xx/t7xx_hif_cldma.c | 9 +-
drivers/net/wwan/t7xx/t7xx_pcie_mac.c | 8 +-
drivers/net/xen-netfront.c | 1 +
drivers/nvme/host/core.c | 4 +-
drivers/nvme/host/ioctl.c | 3 +-
drivers/nvme/host/nvme.h | 2 +-
drivers/nvme/target/passthru.c | 3 +-
drivers/of/dynamic.c | 12 ++
drivers/perf/riscv_pmu.c | 4 +
drivers/s390/net/qeth_core_main.c | 38 +++++-
drivers/scsi/myrb.c | 20 ++--
drivers/scsi/myrs.c | 24 ++--
drivers/scsi/sd.c | 2 +-
drivers/usb/typec/ucsi/ucsi.c | 10 +-
fs/nfsd/nfs4state.c | 7 +-
fs/pipe.c | 17 ++-
fs/smb/client/cached_dir.c | 6 +-
fs/smb/client/cifs_debug.c | 6 +
fs/smb/client/cifsfs.c | 11 ++
fs/smb/client/cifsglob.h | 17 ++-
fs/smb/client/connect.c | 2 +
fs/smb/client/dir.c | 15 +++
fs/smb/client/file.c | 111 ++++++++++++++---
fs/smb/client/fscache.c | 16 ++-
fs/smb/client/fscache.h | 6 +
fs/smb/client/inode.c | 2 +
fs/smb/client/misc.c | 2 +
fs/smb/client/smb1ops.c | 4 +-
fs/smb/client/smb2misc.c | 4 +
fs/smb/client/smb2ops.c | 11 +-
fs/smb/client/smb2pdu.c | 2 +-
fs/smb/server/ksmbd_netlink.h | 3 +-
fs/smb/server/mgmt/share_config.c | 7 +-
fs/smb/server/smb2ops.c | 10 +-
fs/smb/server/smb2pdu.c | 3 +-
fs/smb/server/transport_ipc.c | 37 ++++++
fs/vboxsf/super.c | 3 +-
include/kvm/arm_pmu.h | 2 +-
include/linux/device.h | 1 +
include/linux/secretmem.h | 4 +-
include/linux/skbuff.h | 7 +-
include/linux/udp.h | 28 +++++
include/net/bluetooth/hci.h | 9 ++
include/net/inet_connection_sock.h | 1 +
include/net/sock.h | 7 ++
kernel/bpf/verifier.c | 5 +
mm/memory.c | 4 +
net/9p/client.c | 10 +-
net/bluetooth/hci_debugfs.c | 64 ++++++----
net/bluetooth/hci_event.c | 25 ++++
net/bluetooth/hci_sync.c | 5 +-
net/bridge/netfilter/ebtables.c | 6 +
net/core/gro.c | 3 +-
net/core/sock_map.c | 6 +
net/ipv4/inet_connection_sock.c | 33 ++++--
net/ipv4/inet_fragment.c | 70 +++++++++--
net/ipv4/ip_fragment.c | 2 +-
net/ipv4/ip_gre.c | 5 +
net/ipv4/netfilter/arp_tables.c | 4 +
net/ipv4/netfilter/ip_tables.c | 4 +
net/ipv4/tcp.c | 2 +
net/ipv4/udp.c | 7 ++
net/ipv4/udp_offload.c | 23 ++--
net/ipv6/ip6_fib.c | 14 +--
net/ipv6/ip6_gre.c | 3 +
net/ipv6/netfilter/ip6_tables.c | 4 +
net/ipv6/netfilter/nf_conntrack_reasm.c | 2 +-
net/ipv6/udp.c | 2 +-
net/ipv6/udp_offload.c | 8 +-
net/mptcp/protocol.c | 3 -
net/mptcp/subflow.c | 2 +
net/netfilter/nf_tables_api.c | 13 +-
net/nfc/nci/core.c | 5 +
net/rds/rdma.c | 2 +-
net/sched/act_skbmod.c | 10 +-
net/sched/sch_api.c | 2 +-
net/tls/tls_sw.c | 7 +-
net/vmw_vsock/virtio_transport.c | 3 +-
scripts/bpf_doc.py | 4 +-
sound/pci/hda/patch_realtek.c | 3 +-
sound/soc/codecs/rt5682-sdw.c | 4 +-
sound/soc/codecs/rt711-sdca-sdw.c | 4 +-
sound/soc/codecs/rt711-sdw.c | 4 +-
sound/soc/soc-ops.c | 2 +-
tools/testing/selftests/net/mptcp/mptcp_connect.sh | 7 ++
tools/testing/selftests/net/mptcp/mptcp_join.sh | 7 +-
tools/testing/selftests/net/reuseaddr_conflict.c | 2 +-
tools/testing/selftests/net/udpgro_fwd.sh | 10 +-
155 files changed, 1520 insertions(+), 589 deletions(-)




2024-04-08 13:20:46

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 6.1 085/138] KVM: SVM: enhance info printks in SEV init

6.1-stable review patch. If anyone has any objections, please let me know.

------------------

From: Alexander Mikhalitsyn <[email protected]>

[ Upstream commit 6d1bc9754b04075d938b47cf7f7800814b8911a7 ]

Let's print available ASID ranges for SEV/SEV-ES guests.
This information can be useful for system administrator
to debug if SEV/SEV-ES fails to enable.

There are a few reasons.
SEV:
- NPT is disabled (module parameter)
- CPU lacks some features (sev, decodeassists)
- Maximum SEV ASID is 0

SEV-ES:
- mmio_caching is disabled (module parameter)
- CPU lacks sev_es feature
- Minimum SEV ASID value is 1 (can be adjusted in BIOS/UEFI)

Cc: Sean Christopherson <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Stéphane Graber <[email protected]>
Cc: [email protected]
Cc: [email protected]
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Alexander Mikhalitsyn <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: print '0' for min SEV-ES ASID if there are no available ASIDs]
Signed-off-by: Sean Christopherson <[email protected]>
Stable-dep-of: 0aa6b90ef9d7 ("KVM: SVM: Add support for allowing zero SEV ASIDs")
Signed-off-by: Sasha Levin <[email protected]>
---
arch/x86/kvm/svm/sev.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/arch/x86/kvm/svm/sev.c b/arch/x86/kvm/svm/sev.c
index 3dc0ee1fe9db9..1fe9257d87b2d 100644
--- a/arch/x86/kvm/svm/sev.c
+++ b/arch/x86/kvm/svm/sev.c
@@ -2217,7 +2217,6 @@ void __init sev_hardware_setup(void)
if (misc_cg_set_capacity(MISC_CG_RES_SEV, sev_asid_count))
goto out;

- pr_info("SEV supported: %u ASIDs\n", sev_asid_count);
sev_supported = true;

/* SEV-ES support requested? */
@@ -2245,10 +2244,18 @@ void __init sev_hardware_setup(void)
if (misc_cg_set_capacity(MISC_CG_RES_SEV_ES, sev_es_asid_count))
goto out;

- pr_info("SEV-ES supported: %u ASIDs\n", sev_es_asid_count);
sev_es_supported = true;

out:
+ if (boot_cpu_has(X86_FEATURE_SEV))
+ pr_info("SEV %s (ASIDs %u - %u)\n",
+ sev_supported ? "enabled" : "disabled",
+ min_sev_asid, max_sev_asid);
+ if (boot_cpu_has(X86_FEATURE_SEV_ES))
+ pr_info("SEV-ES %s (ASIDs %u - %u)\n",
+ sev_es_supported ? "enabled" : "disabled",
+ min_sev_asid > 1 ? 1 : 0, min_sev_asid - 1);
+
sev_enabled = sev_supported;
sev_es_enabled = sev_es_supported;
#endif
--
2.43.0




2024-04-08 16:04:49

by SeongJae Park

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

Hello,

On Mon, 8 Apr 2024 14:56:54 +0200 Greg Kroah-Hartman <[email protected]> wrote:

> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.85-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.

This rc kernel passes DAMON functionality test[1] on my test machine.
Attaching the test results summary below. Please note that I retrieved the
kernel from linux-stable-rc tree[2].

Tested-by: SeongJae Park <[email protected]>

[1] https://github.com/awslabs/damon-tests/tree/next/corr
[2] 76e1877fe563 ("Linux 6.1.85-rc1")

Thanks,
SJ

[...]

---

ok 1 selftests: damon: debugfs_attrs.sh
ok 2 selftests: damon: debugfs_schemes.sh
ok 3 selftests: damon: debugfs_target_ids.sh
ok 4 selftests: damon: debugfs_empty_targets.sh
ok 5 selftests: damon: debugfs_huge_count_read_write.sh
ok 6 selftests: damon: debugfs_duplicate_context_creation.sh
ok 7 selftests: damon: sysfs.sh
ok 1 selftests: damon-tests: kunit.sh
ok 2 selftests: damon-tests: huge_count_read_write.sh
ok 3 selftests: damon-tests: buffer_overflow.sh
ok 4 selftests: damon-tests: rm_contexts.sh
ok 5 selftests: damon-tests: record_null_deref.sh
ok 6 selftests: damon-tests: dbgfs_target_ids_read_before_terminate_race.sh
ok 7 selftests: damon-tests: dbgfs_target_ids_pid_leak.sh
ok 8 selftests: damon-tests: damo_tests.sh
ok 9 selftests: damon-tests: masim-record.sh
ok 10 selftests: damon-tests: build_i386.sh
ok 11 selftests: damon-tests: build_arm64.sh
ok 12 selftests: damon-tests: build_m68k.sh
ok 13 selftests: damon-tests: build_i386_idle_flag.sh
ok 14 selftests: damon-tests: build_i386_highpte.sh
ok 15 selftests: damon-tests: build_nomemcg.sh
[33m
[92mPASS [39m

2024-04-08 17:10:56

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On Mon, 8 Apr 2024 at 18:30, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.85-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

The s390 defconfig build failed with gcc-13 and clang-17 due following
build warning / errors on Linux stable-rc linux-6.1.y.

Reported-by: Linux Kernel Functional Testing <[email protected]>

Build error:
--------
arch/s390/kernel/perf_pai_crypto.c:40:26: error: field 'mode' has
incomplete type
40 | enum paievt_mode mode; /* Type of event */
| ^~~~


Commit detail,
s390/pai: rework pai_crypto mapped buffer reference count
[ Upstream commit d3db4ac3c761def3d3a8e5ea6d05d1636c44c2ba ]

Steps to reproduce:
# tuxmake --runtime podman --target-arch s390 --toolchain gcc-13
--kconfig defconfig


Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.84-139-g76e1877fe563/testrun/23349327/suite/build/test/gcc-13-defconfig/log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.84-139-g76e1877fe563/testrun/23349327/suite/build/test/gcc-13-defconfig/details/


--
Linaro LKFT
https://lkft.linaro.org

2024-04-08 20:11:53

by Kelsey Steele

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On Mon, Apr 08, 2024 at 02:56:54PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
> Anything received after that time might be too late.
>
No regressions found on WSL (x86 and arm64).

Built, booted, and reviewed dmesg.

Thank you. :)

Tested-by: Kelsey Steele <[email protected]>

2024-04-09 03:20:23

by Ron Economos

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On 4/8/24 5:56 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.85-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

Tested-by: Ron Economos <[email protected]>


2024-04-09 06:55:29

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On Mon, 08 Apr 2024 14:56:54 +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.85-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

All tests passing for Tegra ...

Test results for stable-v6.1:
10 builds: 10 pass, 0 fail
26 boots: 26 pass, 0 fail
116 tests: 116 pass, 0 fail

Linux version: 6.1.85-rc1-g76e1877fe563
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04

Tested-by: Jon Hunter <[email protected]>

Jon

2024-04-09 07:34:47

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

Hi!

> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

CIP testing did not find any problems here:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/tree/linux-6.1.y

No problems detected here, either:

Linux 6.6.26-rc1 (ec59b99017e9)
Linux 6.8.5-rc1 (51d60edf2813)
Linux 5.15.154-rc1 (bfeab055fa43)

Tested-by: Pavel Machek (CIP) <[email protected]>

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Attachments:
(No filename) (799.00 B)
signature.asc (201.00 B)
Download all attachments

2024-04-09 12:22:01

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On Mon, Apr 08, 2024 at 02:56:54PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

Tested-by: Conor Dooley <[email protected]>

Thanks,
Conor.


Attachments:
(No filename) (381.00 B)
signature.asc (235.00 B)
Download all attachments

2024-04-09 13:11:16

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On Mon, Apr 08, 2024 at 02:56:54PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

Tested-by: Mark Brown <[email protected]>


Attachments:
(No filename) (352.00 B)
signature.asc (499.00 B)
Download all attachments

2024-04-09 18:10:12

by Sven Joachim

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On 2024-04-08 14:56 +0200, Greg Kroah-Hartman wrote:

> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.

Works fine for me on x86_64.

Tested-by: Sven Joachim <[email protected]>

Cheers,
Sven

2024-04-10 00:30:09

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH 6.1 000/138] 6.1.85-rc1 review

On 4/8/24 06:56, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 6.1.85 release.
> There are 138 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Wed, 10 Apr 2024 12:52:23 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.85-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

Compiled and booted on my test system. No dmesg regressions.

Tested-by: Shuah Khan <[email protected]>

thanks,
-- Shuah