Linux/linux af5e34adrivers/mtd mtdcore.c, drivers/mtd/maps uclinux.c

Merge tag 'mtd/fixes-for-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux

Pull mtd fixes from Miquel Raynal:
 "Among the most important fixes that we have here, there are:

   - the revert of the uclinux map driver which was presumed to
     be no longer used but in fact was

   - the use of SPI match data to get chip capabilities in the
     mchp23k256 driver

   - several fixes addressing the newly introduced virt-concat
     support

   - a missing build dependency on ndfc

  as well as the usual load (if not actually bigger than usual) of
  uninitialized variables, leaks, double free, and AI fuzzed issues
  being fixed"

    [21 lines not shown]
DeltaFile
+118-0drivers/mtd/maps/uclinux.c
+19-5drivers/mtd/nand/ecc-mtk.c
+19-4drivers/mtd/mtdcore.c
+10-2drivers/mtd/nand/raw/lpc32xx_slc.c
+10-2drivers/mtd/nand/raw/lpc32xx_mlc.c
+8-1drivers/mtd/nand/raw/fsl_ifc_nand.c
+184-1411 files not shown
+224-2317 files

Linux/linux 45419d0Documentation/devicetree/bindings/mmc mtk-sd.yaml, drivers/memstick/core ms_block.c

Merge tag 'mmc-v7.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc

Pull MMC fixes from Ulf Hansson:
 "MMC core:
   - Fix RPMB device unregister ordering
   - Fix __counted_by handling in mmc_test

  MMC host:
   - mtk-sd: Document missing clocks for MT8189
   - sdhci-esdhc-imx: Fix the support for system suspend/resume for SDIO
   - sdhci-of-dwcmshc: Fix error handling for clock prepare/enable
   - vub300:
       - Fix lockdep issue for the cmd_mutex
       - Fix use-after-free on probe failure

  MEMSTICK:
   - Reject a card that reports too many blocks"

* tag 'mmc-v7.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:

    [15 lines not shown]
DeltaFile
+58-33drivers/mmc/host/sdhci-esdhc-imx.c
+24-12drivers/mmc/host/vub300.c
+28-1Documentation/devicetree/bindings/mmc/mtk-sd.yaml
+11-7drivers/mmc/core/mmc_test.c
+9-5drivers/mmc/host/sdhci-of-dwcmshc.c
+4-0drivers/memstick/core/ms_block.c
+134-581 files not shown
+135-607 files

Linux/linux 111e7b2. MAINTAINERS, arch/arm64/boot/dts/nvidia tegra234.dtsi

Merge tag 'soc-fixes-7.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc

Pull SoC fixes from Arnd Bergmann:
 "There are only three devicetree fixes this time: one critical memory
  corruption fix for Renesas and three minor corrections for Tegra.

  The MAINTAINERS file is updated for a new maintainer of the CIX
  platform and two address changes.

  The rest is all driver fixes, mostly firmware:

   - multiple runtime issues in ARM SCMI and FF-A firmware code, dealing
     with error handling for corner cases in firmware.

   - multiple fixes for reset drivers, dealing with individual platform
     specific mistakes and more error handling

   - minor build and runtime fixes for the Tegra SoC drivers"


    [21 lines not shown]
DeltaFile
+41-0arch/arm64/boot/dts/renesas/r8a78000-ironhide.dts
+21-8drivers/firmware/arm_ffa/driver.c
+12-12arch/arm64/boot/dts/nvidia/tegra234.dtsi
+8-5drivers/firmware/arm_scmi/clock.c
+6-6MAINTAINERS
+6-0drivers/reset/reset-imx7.c
+94-3112 files not shown
+114-5118 files

Linux/linux 6917aa7arch/powerpc/include/asm preempt.h, arch/powerpc/kernel dt_cpu_ftrs.c time.c

Merge tag 'powerpc-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fixes from Madhavan Srinivasan:

 - Enable CONFIG_VPA_PMU to be used with KVM

 - Initialize starttime at boot for native accounting

 - Set CPU_FTR_P11_PVR for Power11 and later processors

 - fix memory leak on krealloc failure in papr_init

 - Misc fixes and cleanups

Thanks to Amit Machhiwal, Christophe Leroy (CS GROUP), Ethan
Nelson-Moore, Gautam Menghani, Harsh Prateek Bora, Junrui Luo, Mukesh
Kumar Chaurasiya (IBM), Ritesh Harjani (IBM), Rosen Penev, Shrikanth
Hegde, Thorsten Blum, and Yuhao Jiang


    [9 lines not shown]
DeltaFile
+0-16arch/powerpc/include/asm/preempt.h
+9-0arch/powerpc/kernel/dt_cpu_ftrs.c
+3-5arch/powerpc/platforms/pseries/papr_platform_attributes.c
+4-2arch/powerpc/platforms/cell/spufs/file.c
+3-1arch/powerpc/kernel/time.c
+1-1arch/powerpc/lib/vmx-helper.c
+20-253 files not shown
+24-269 files

Linux/linux fce2dfafs/smb/client smb2ops.c smb2misc.c

Merge tag 'v7.2-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6

Pull smb client fixes from Steve French:

 - fallocate fixes

 - unit test fixes

 - fix allocation size after duplicate extents

 - fix check for overlapping data areas

* tag 'v7.2-rc3-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6:
  smb/client: flush dirty data before punching a hole
  smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols in SMB2
  smb/client: Use EXPORT_SYMBOL_IF_KUNIT() to export symbols
  smb: client: reject overlapping data areas in SMB2 responses
  smb/client: refresh allocation after EOF-extending fallocate
  smb/client: emulate small EOF-extending mode 0 fallocate ranges

    [4 lines not shown]
DeltaFile
+161-22fs/smb/client/smb2ops.c
+25-9fs/smb/client/smb2misc.c
+12-12fs/smb/client/smb1maperror.c
+19-0fs/smb/client/smb2pdu.c
+6-6fs/smb/client/smb2maperror.c
+7-3fs/smb/client/cifsfs.c
+230-525 files not shown
+240-5611 files

Linux/linux 481ed5dsecurity/landlock task.c net.c, tools/testing/selftests/landlock net_test.c scoped_signal_test.c

Merge tag 'landlock-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux

Pull landlock fix from Mickaël Salaün:
 "This fixes TCP Fast Open support, specific test environments, and doc
  warnings"

* tag 'landlock-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux:
  selftests/landlock: Skip scoped_signal subtest with MSG_OOB if not available
  selftests/landlock: Fix screwed up pointers in the scoped_signal_test
  landlock: Update formatting
  landlock: Fix kernel-doc for the nested quiet layer flag
  selftests/landlock: Add test for TCP fast open
  landlock: Fix TCP Fast Open connection bypass
DeltaFile
+97-0tools/testing/selftests/landlock/net_test.c
+44-23tools/testing/selftests/landlock/scoped_signal_test.c
+3-6security/landlock/task.c
+8-0security/landlock/net.c
+2-2security/landlock/ruleset.h
+154-315 files

Linux/linux e22254efs/xfs xfs_bmap_util.c xfs_trace.h, fs/xfs/scrub cow_repair.c trace.h

Merge tag 'xfs-fixes-7.2-rc4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux

Pull xfs fixes from Carlos Maiolino:
 "This contains mostly a series of bug fixes found by different LLM
  models"

* tag 'xfs-fixes-7.2-rc4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: (21 commits)
  xfs: don't zap bmbt forks if they are MAXLEVELS tall
  xfs: clamp timestamp nanoseconds correctly
  xfs: fully check the parent handle when it points to the rootdir
  xfs: handle non-inode owners for rtrmap record checking
  xfs: fix off-by-one error when calling xchk_xref_has_rt_owner
  xfs: set xfarray killable sort correctly
  xfs: grab rtrmap btree when checking rgsuper
  xfs: write the rg superblock when fixing it
  xfs: use the rt version of the cow staging checker
  xfs: use rtrefcount btree cursor in xchk_xref_is_rt_cow_staging
  xfs: don't wrap around quota ids in dqiterate
  xfs: move cow_replace_mapping to xfs_bmap_util.c

    [9 lines not shown]
DeltaFile
+86-93fs/xfs/scrub/cow_repair.c
+89-0fs/xfs/xfs_bmap_util.c
+41-0fs/xfs/xfs_trace.h
+36-0fs/xfs/xfs_reflink.c
+0-35fs/xfs/scrub/trace.h
+17-11fs/xfs/xfs_sysfs.c
+269-13915 files not shown
+340-16921 files

Linux/linux 133fc7afs/erofs super.c ishare.c

Merge tag 'erofs-for-7.2-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs

Pull erofs fixes from Gao Xiang:

 - Fix sanity checks for ztailpacking tail pclusters to avoid
   false corruption reports

 - Use more informative s_id for file-backed mounts

 - Hide the meaningless "cache_strategy=" mount option on plain
   (uncompressed) filesystems

 - Remove the unneeded erofs_is_ishare_inode() helper

* tag 'erofs-for-7.2-rc4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs:
  erofs: hide "cache_strategy=" for plain filesystems
  erofs: get rid of erofs_is_ishare_inode() helper
  erofs: relax sanity check for tail pclusters due to ztailpacking
  erofs: use more informative s_id for file-backed mounts
DeltaFile
+5-14fs/erofs/super.c
+1-7fs/erofs/ishare.c
+2-1fs/erofs/zmap.c
+8-223 files

Linux/linux 6f5156ddrivers/cpufreq intel_pstate.c cpufreq.c

Merge tag 'pm-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael Wysocki:
 "These fix two cpufreq issues, one in the intel_pstate driver and one
  in the core:

   - Make cpufreq_update_pressure() use cpuinfo.max_freq as the default
     reference frequency when arch_scale_freq_ref() returns 0 to allow
     the scheduler to still take CPU frequency caps into account in
     those cases (Rafael Wysocki)

   - Use the HWP guaranteed performance level as the full capacity
     performance in intel_pstate on hybrid systems when turbo
     frequencies are not allowed to be used to make scale-invariance
     work as expected in those cases (Rafael Wysocki)"

* tag 'pm-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  cpufreq: Make cpufreq_update_pressure() fall back to cpuinfo.max_freq
  cpufreq: intel_pstate: Set non-turbo capacity to HWP_GUARANTEED_PERF()
DeltaFile
+4-2drivers/cpufreq/intel_pstate.c
+3-0drivers/cpufreq/cpufreq.c
+7-22 files

Linux/linux 4302c35drivers/pmdomain/imx imx93-blk-ctrl.c imx8m-blk-ctrl.c, drivers/pmdomain/mediatek mtk-pm-domains.c

Merge tag 'pmdomain-v7.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm

Pull pmdomain fixes from Ulf Hansson:
 "imx:
   - Assign child domains for imx93 to prevent power off when in use
   - Fix i.MX8MP power up sequences

  mediatek:
   - Fix possible nullptr in HWV cleanup/on-check"

* tag 'pmdomain-v7.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/linux-pm:
  pmdomain: mediatek: Fix possible nullptr KP in HWV cleanup/on-check
  pmdomain: imx: Fix i.MX8MP VC8000E power up sequence
  pmdomain: imx: Fix i.MX8MP power notifier
  pmdomain: imx93-blk-ctrl: Extract PHY as shared domain for DSI/CSI
  dt-bindings: power: imx93: Add MIPI PHY power domain
DeltaFile
+58-2drivers/pmdomain/imx/imx93-blk-ctrl.c
+44-2drivers/pmdomain/imx/imx8m-blk-ctrl.c
+33-7drivers/pmdomain/mediatek/mtk-pm-domains.c
+1-0include/dt-bindings/power/fsl,imx93-power.h
+136-114 files

Linux/linux c270a42arch/arm64/kvm nested.c emulate-nested.c, arch/arm64/kvm/hyp/nvhe ffa.c

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm

Pull kvm fixes from Paolo Bonzini:
 "arm64:

   - Fix an accounting buglet when reclaiming pages from a protected
     guest

   - Fix a bunch of architectural compliance issues when injecting a
     synthesised exception, most of which were missing the PSTATE.IL bit
     indicating a 32bit-wide instruction

   - Another set of fixes addressing issues with translation of
     VNCR_EL2, including corner cases where the guest point that
     register at a RO page...

   - Don't warn when trapping accesses to ZCR_EL2 from an L2 guest, as
     that's not unexpected at all


    [76 lines not shown]
DeltaFile
+255-0tools/testing/selftests/kvm/arm64/mmio_sign_ext.c
+83-81arch/arm64/kvm/nested.c
+39-50arch/x86/kvm/vmx/nested.c
+47-0tools/testing/selftests/kvm/x86/sev_migrate_tests.c
+30-14arch/arm64/kvm/hyp/nvhe/ffa.c
+29-12arch/arm64/kvm/emulate-nested.c
+483-15727 files not shown
+621-23533 files

Linux/linux 3d9855darch/arm64/boot/dts/renesas r8a78000-ironhide.dts

Merge tag 'renesas-fixes-for-v7.2-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/fixes

Renesas fixes for v7.2

  - Fix lock-ups on the Ironhide development board.

* tag 'renesas-fixes-for-v7.2-tag1' of https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
  arm64: dts: renesas: ironhide: Describe inline ECC carveouts

Signed-off-by: Arnd Bergmann <arnd at arndb.de>
DeltaFile
+41-0arch/arm64/boot/dts/renesas/r8a78000-ironhide.dts
+41-01 files

Linux/linux 25f744farch/x86/kvm/svm svm.c

KVM: SVM: Bump asid_generation on CPU online to avoid ASID collision after hotplug

If a vCPU stays scheduled out (or blocked) while the last pCPU it ran
on goes through a hotplug cycle (online->offline->online), and the vCPU
then resumes execution on the same pCPU, then it is possible for it to
run with an ASID that has now been assigned to a different vCPU,
resulting in stale TLB translations being used.

svm_enable_virtualization_cpu() resets asid_generation to 1 and sets
next_asid to max_asid + 1 on every CPU online event, including hotplug
cycles.  Because next_asid starts beyond the pool boundary, the first
call to new_asid() after an online event always wraps the pool,
incrementing asid_generation to 2 and assigning ASIDs starting from
min_asid.

Consider two vCPUs from different VMs, vCPU-A pinned to CPU-X holding
asid_generation=2 and ASID=N from before the hotplug event:

  1. CPU-X goes offline and back online: asid_generation resets to 1,

    [39 lines not shown]
DeltaFile
+6-1arch/x86/kvm/svm/svm.c
+6-11 files

Linux/linux 37e2f87lib bug.c

Merge tag 'linux_kselftest-kunit-fixes-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull kunit fix from Shuah Khan:
 "Fix warning suppressions with kunit built as module:

  CONFIG_KUNIT is a tristate symbol but the warning suppression code in
  lib/bug.c is only built if it's built-in due to it using a plain
  #ifdef, rendering warning suppressions broken for kunit build as
  loadable module.

  kunit_is_suppressed_warning() already has a stub for when kunit is
  disabled so drop that guard entirely"

* tag 'linux_kselftest-kunit-fixes-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  bug: fix warning suppressions with kunit built as module
DeltaFile
+0-2lib/bug.c
+0-21 files

Linux/linux e144887tools/testing/selftests/ftrace/test.d/dynevent add_remove_fprobe_module.tc, tools/testing/selftests/ftrace/test.d/trigger trigger-hist-poll.tc

Merge tag 'linux_kselftest-fixes-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull kselftest fixes from Shuah Khan:

 - Fix ftrace reading enabled_func test in add_remove_fprobe_module test

 - Fix tracing trigger-hist-poll.tc to use sched_process_exit

* tag 'linux_kselftest-fixes-7.2-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  selftests/tracing: Have trigger-hist-poll.tc use sched_process_exit
  selftests/ftrace: Fix reading enabled_functions in add_remove_fprobe_module test
DeltaFile
+18-9tools/testing/selftests/ftrace/test.d/dynevent/add_remove_fprobe_module.tc
+2-2tools/testing/selftests/ftrace/test.d/trigger/trigger-hist-poll.tc
+20-112 files

Linux/linux add11eadrivers/firmware/arm_ffa driver.c, drivers/firmware/arm_scmi clock.c notify.c

Merge tag 'scmi-ffa-fixes-7.2' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes

Arm SCMI/FF-A fixes for v7.2

Fix two runtime issues in the SCMI framework. Use full 64-bit division
when rounding range-based clock rates, avoiding divisor truncation and
a possible divide-by-zero on 32-bit systems. Rate-limit notification
queue-full warnings emitted from interrupt context to prevent printk
floods and prolonged system stalls during notification bursts. Also
correct a grammar error in the ARM_SCMI_POWER_CONTROL Kconfig help
text.

Fix the FF-A driver RX/TX buffer sizing logic to respect the maximum
buffer size advertised by firmware, while retaining compatibility with
older implementations that may reject PAGE_SIZE-rounded buffers.
Also fix a NULL pointer dereference in ffa_partition_info_get() by
rejecting NULL UUID strings before passing them to uuid_parse().

* tag 'scmi-ffa-fixes-7.2' of https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:

    [7 lines not shown]
DeltaFile
+21-8drivers/firmware/arm_ffa/driver.c
+8-5drivers/firmware/arm_scmi/clock.c
+3-3drivers/firmware/arm_scmi/notify.c
+2-2drivers/firmware/arm_scmi/Kconfig
+34-184 files

Linux/linux 2f2312carch/x86/kvm/vmx nested.c

KVM: nVMX: Put vmcs12 pages if nested VM-Enter fails due to invalid guest state

Put all vmcs12 pages if KVM synthesizes a nested VM-Exit due to invalid
guest while emulating VMLAUNCH or VMRESUME.  The invalid guest state path
doesn't use nested_vmx_vmexit() as that API is intended to be used if and
only if L2 is active, and the open coded equivalent neglects to put the
vmcs12 pages.  Failure to put the vmcs12 pages leaks any pinned pages
(and/or mappings) if L1 retries VMLAUNCH/VMRESUME.

Note, the !from_vmenter scenario doesn't suffer the same problem, as
vmx_get_nested_state_pages() only gets/pins/maps the vmcs12 pages if L2 is
active, i.e. if a "full" VM-Exit is guaranteed before KVM will retry
getting vmcs12 pages.

Fixes: 96c66e87deee ("KVM/nVMX: Use kvm_vcpu_map when mapping the virtual APIC page")
Fixes: 3278e0492554 ("KVM/nVMX: Use kvm_vcpu_map when mapping the posted interrupt descriptor table")
Fixes: fe1911aa443e ("KVM: nVMX: Use kvm_vcpu_map() to get/pin vmcs12's APIC-access page")
Reported-by: Minh Nguyen <minhnguyen.080505 at gmail.com>
Cc: stable at vger.kernel.org

    [2 lines not shown]
DeltaFile
+2-0arch/x86/kvm/vmx/nested.c
+2-01 files

Linux/linux 5246d32arch/s390/kvm pci.c gmap.c

Merge tag 'kvm-s390-master-7.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD

KVM: s390: Fixes for 7.2

- more gmap KVM memory management fixes
- PCI passthru fixes
DeltaFile
+9-3arch/s390/kvm/pci.c
+6-1arch/s390/kvm/gmap.c
+4-2arch/s390/kvm/kvm-s390.c
+2-0arch/s390/kvm/dat.c
+21-64 files

Linux/linux 37694e5arch/x86/kvm lapic.c, arch/x86/kvm/svm sev.c

Merge tag 'kvm-x86-fixes-7.2-rc4' of https://github.com/kvm-x86/linux into HEAD

KVM x86 fixes for 7.2-rcN

 - Fix a bug where KVM will trigger a UAF if updating IOMMU IRTEs fails when
   registering an IRQ-bypass producer.

 - Ignore pending PV EOI instead of BUG()ing the host if the feature was
   disabled by the guest.

 - Fix nVMX bugs where KVM would run L1 with an L1-controlled CR3 after a
   failed "late" consistency check when KVM is NOT using EPT.

 - Disallow intra-host migration/mirroring of SNP VMs as KVM doesn't yet
   support moving/mirroring SNP state.

 - Fix a TOCTOU bug in KVM's handling of the "trusted" CPUID for TDX guests.

 - Fix a NULL pointer deref in trace_kvm_inj_exception() where a change to the
   core infrastructure missed KVM's unique (ab)use of __print_symbolic().
DeltaFile
+37-50arch/x86/kvm/vmx/nested.c
+47-0tools/testing/selftests/kvm/x86/sev_migrate_tests.c
+6-2arch/x86/kvm/lapic.c
+7-0arch/x86/kvm/vmx/vmx.h
+5-1arch/x86/kvm/vmx/tdx.c
+4-2arch/x86/kvm/svm/sev.c
+106-552 files not shown
+110-578 files

Linux/linux 15f8ba7arch/arm64/kvm/hyp pgtable.c, arch/arm64/kvm/hyp/nvhe ffa.c

Merge tag 'kvmarm-fixes-7.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

KVM/arm64 fixes for 7.2, take #2

- Move locking for kvm_io_bus_get_dev() into the caller, ensuring
  race-free checks that the returned object is of the correct type

- Fix initialisation of the page-table walk level when relaxing
  permissions

- Correctly update the XN attribute when relaxing permissions

- Fix the sign extension of loads from emulated MMIO regions

- Assorted collection of fixes for pKVM's FFA proxy, together with a
  couple of FFA driver adjustments
DeltaFile
+255-0tools/testing/selftests/kvm/arm64/mmio_sign_ext.c
+30-14arch/arm64/kvm/hyp/nvhe/ffa.c
+17-8drivers/firmware/arm_ffa/driver.c
+5-11virt/kvm/kvm_main.c
+9-6arch/arm64/kvm/hyp/pgtable.c
+8-1include/linux/arm_ffa.h
+324-403 files not shown
+331-439 files

Linux/linux 5b0d046arch/arm64/include/asm kvm_nested.h, arch/arm64/kvm nested.c emulate-nested.c

Merge tag 'kvmarm-fixes-7.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

KVM/arm64 fixes for 7.2, take #1

- Fix an accounting buglet when reclaiming pages from a protected
  guest

- Fix a bunch of architectural compliance issues when injecting a
  synthesised exception, most of which were missing the PSTATE.IL bit
  indicating a 32bit-wide instruction

- Another set of fixes addressing issues with translation of VNCR_EL2,
  including corner cases where the guest point that register at a RO
  page...

- Don't warn when trapping accesses to ZCR_EL2 from an L2 guest, as
  that's not unexpected at all

- Address a bunch of races with LPI migration vs LPIs being disabled

    [6 lines not shown]
DeltaFile
+83-81arch/arm64/kvm/nested.c
+29-12arch/arm64/kvm/emulate-nested.c
+14-6arch/arm64/kvm/vgic/vgic.c
+5-13arch/arm64/kvm/inject_fault.c
+6-5arch/arm64/kvm/hyp/include/hyp/switch.h
+8-0arch/arm64/include/asm/kvm_nested.h
+145-1175 files not shown
+151-12811 files

Linux/linux e27c946drivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: fix resume error handling

Check pm_runtime_force_resume() return value in resume. If it fails
(clock enable failure), return immediately since accessing hardware
registers on an unclocked device would cause a kernel panic.

The early return intentionally skips enable_irq() and
sdhci_disable_irq_wakeups() because the IRQ handler reads
SDHCI_INT_STATUS, which would also fault without clocks. The PM runtime
usage counter leak only affects this already-broken device instance and
is an acceptable tradeoff to preserve system stability.

Remove the return value check for mmc_gpio_set_cd_wake(host->mmc, false)
since disable_irq_wake() called internally always returns 0.

Also return 0 explicitly on the success path instead of propagating
stale return values.

Fixes: 676a83855614 ("mmc: host: sdhci-esdhc-imx: refactor the system PM logic")

    [5 lines not shown]
DeltaFile
+4-4drivers/mmc/host/sdhci-esdhc-imx.c
+4-41 files

Linux/linux 6aa00a4drivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: make non-fatal errors non-blocking in suspend

Make pinctrl_pm_select_sleep_state() and mmc_gpio_set_cd_wake() failures
non-fatal in the suspend path. These failures only mean slightly higher
power consumption or missing CD wakeup capability, but should not block
system suspend.

Also change the function to always return 0 on the success path instead
of propagating non-fatal warning return values.

Fixes: 676a83855614 ("mmc: host: sdhci-esdhc-imx: refactor the system PM logic")
Acked-by: Adrian Hunter <adrian.hunter at intel.com>
Signed-off-by: Luke Wang <ziniu.wang_1 at nxp.com>
Cc: stable at vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh at kernel.org>
DeltaFile
+6-7drivers/mmc/host/sdhci-esdhc-imx.c
+6-71 files

Linux/linux 8da5930drivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: use pm_runtime_resume_and_get() in suspend

Replace pm_runtime_get_sync() with pm_runtime_resume_and_get() to
simplify error handling. pm_runtime_resume_and_get() automatically
drops the usage counter on failure, avoiding the need for a separate
pm_runtime_put_noidle() call. If it fails, the device is unclocked and
accessing hardware registers would cause a kernel panic, so return the
error immediately.

Fixes: 676a83855614 ("mmc: host: sdhci-esdhc-imx: refactor the system PM logic")
Acked-by: Adrian Hunter <adrian.hunter at intel.com>
Signed-off-by: Luke Wang <ziniu.wang_1 at nxp.com>
Cc: stable at vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh at kernel.org>
DeltaFile
+3-1drivers/mmc/host/sdhci-esdhc-imx.c
+3-11 files

Linux/linux 9d87eafdrivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: disable irq during suspend to fix unhandled interrupt

When using WIFI out-of-band wakeup, an "irq xxx: nobody cared" warning
occurs. This happens because the usdhc interrupt is not disabled during
system suspend when device_may_wakeup() returns false.

The sequence of events leading to this issue:
1. System enters suspend without disabling usdhc interrupt
(because device_may_wakeup() returns false for usdhc device)
2. WIFI out-of-band wakeup triggers system resume via GPIO interrupt
3. WIFI sends a Card interrupt before usdhc has fully resumed
4. usdhc is still in runtime suspend state and cannot handle the
interrupt properly
5. The unhandled interrupt triggers "nobody cared" warning

Fix this by unconditionally disabling the usdhc interrupt during suspend
and re-enabling it during resume, regardless of the wakeup capability.
This ensures no interrupts are processed during the suspend/resume
transition.

    [7 lines not shown]
DeltaFile
+6-5drivers/mmc/host/sdhci-esdhc-imx.c
+6-51 files

Linux/linux 1db8781drivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: restore pinctrl before restoring ios timing on resume

SDIO devices such as WiFi may keep power during suspend, so the MMC
core skips full card re-initialization on resume and directly restores
the host controller's ios timing to match the card. For DDR mode,
pm_runtime_force_resume() sets DDR_EN before the pin configuration is
restored from sleep state.

This is related to the SoC IP integration: switching pinctrl setting
(changing alt from GPIO to USDHC) impacts the internal loopback path.
If pinctrl configures the pad to GPIO function, once DDR_EN is set, the
DLL delay will be fixed based on the GPIO function loopback path. When
the pinctrl is later changed to USDHC function, the internal loopback
path changes, making the original fixed sample point no longer suitable
for the current loopback path. This causes persistent read CRC errors on
subsequent data transfers.

SD/eMMC running in DDR mode are unaffected as they are fully
re-initialized from legacy timing after resume.

    [13 lines not shown]
DeltaFile
+6-0drivers/mmc/host/sdhci-esdhc-imx.c
+6-01 files

Linux/linux 5adc14cdrivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: fix esdhc_change_pinstate() to allow default state restore

esdhc_change_pinstate() checks for pins_100mhz and pins_200mhz at the
top of the function and returns -EINVAL if either is not defined. This
prevents the default case from ever being reached, which means devices
with a sleep pinctrl state but without high-speed pin states (100mhz/
200mhz) can never restore their default pin configuration.

Move the IS_ERR checks for pins_100mhz and pins_200mhz into their
respective switch cases.

Fixes: 676a83855614 ("mmc: host: sdhci-esdhc-imx: refactor the system PM logic")
Acked-by: Adrian Hunter <adrian.hunter at intel.com>
Reviewed-by: Frank Li <Frank.Li at nxp.com>
Signed-off-by: Luke Wang <ziniu.wang_1 at nxp.com>
Cc: stable at vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh at kernel.org>
DeltaFile
+5-3drivers/mmc/host/sdhci-esdhc-imx.c
+5-31 files

Linux/linux 2439becdrivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: restore DLL override for DDR modes on resume

sdhci_esdhc_imx_hwinit() unconditionally clears ESDHC_DLL_CTRL by
writing zero. For SDIO devices that keep power during system suspend
and operate in DDR mode, the card remains in DDR timing while the host
DLL override configuration is lost.

Extract the DLL override setup from esdhc_set_uhs_signaling() into
a helper esdhc_set_dll_override(), and call it on the resume path
when the card kept power and is using a DDR timing mode.

Fixes: 676a83855614 ("mmc: host: sdhci-esdhc-imx: refactor the system PM logic")
Acked-by: Adrian Hunter <adrian.hunter at intel.com>
Reviewed-by: Frank Li <Frank.Li at nxp.com>
Reviewed-by: Haibo Chen <haibo.chen at nxp.com>
Signed-off-by: Luke Wang <ziniu.wang_1 at nxp.com>
Cc: stable at vger.kernel.org
Signed-off-by: Ulf Hansson <ulfh at kernel.org>
DeltaFile
+28-11drivers/mmc/host/sdhci-esdhc-imx.c
+28-111 files

Linux/linux 899160edrivers/mmc/host sdhci-esdhc-imx.c

mmc: sdhci-esdhc-imx: remove unnecessary mmc_card_wake_sdio_irq check for tuning save/restore

The tuning save/restore during system PM is conditioned on
mmc_card_wake_sdio_irq(), but this check is unrelated to whether
tuning values need to be preserved. The actual requirement is that
the card keeps power during suspend and the controller is a uSDHC.

SDIO devices using out-of-band GPIO wakeup maintain power during
suspend but do not set the SDIO IRQ wake flag. In this case the
tuning delay values are not saved/restored.

Remove the unnecessary mmc_card_wake_sdio_irq() condition from both
the suspend save and resume restore paths.

Fixes: c63d25cdc59a ("mmc: sdhci-esdhc-imx: Save tuning value when card stays powered in suspend")
Acked-by: Adrian Hunter <adrian.hunter at intel.com>
Reviewed-by: Frank Li <Frank.Li at nxp.com>
Reviewed-by: Haibo Chen <haibo.chen at nxp.com>
Signed-off-by: Luke Wang <ziniu.wang_1 at nxp.com>

    [2 lines not shown]
DeltaFile
+2-4drivers/mmc/host/sdhci-esdhc-imx.c
+2-41 files

Linux/linux d7d2adcfs/smb/client smb2ops.c

smb/client: flush dirty data before punching a hole

Punching a hole after a large buffered write may leave the range
reported as data. Reproduce it with:

  xfs_io -f \
    -c "pwrite -b 3m -S 0x61 0 3m" \
    -c "fpunch 1m 1m" \
    -c "seek -h 0" \
    -c "seek -d 1m" \
    /mnt/test/repro

Punching 1 MiB at offset 1 MiB should produce:

  0          1 MiB       2 MiB       3 MiB
  |  DATA    |   HOLE    |   DATA    | EOF

Instead, the entire file is reported as data. SEEK_HOLE(0) returns EOF,
and SEEK_DATA(1M) returns 1M.

    [12 lines not shown]
DeltaFile
+9-0fs/smb/client/smb2ops.c
+9-01 files