Date: Sun, 20 Oct 2024 07:36:06 -0700
From: Drew Fustini <drew@pdp7.com>
To: soc@kernel.org
Cc: Emil Renner Berthing <emil.renner.berthing@canonical.com>,
	Jisheng Zhang <jszhang@kernel.org>, Guo Ren <guoren@kernel.org>,
	Fu Wei <wefu@redhat.com>, Conor Dooley <conor+dt@kernel.org>,
	linux-riscv@lists.infradead.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] RISC-V T-HEAD Devicetrees for v6.13

Hi Arnd,

Please pull these thead dts changes. I've run W=1 dtbs_check and they
have been in linux-next since October 15th.

Thanks,
Drew

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  git@github.com:pdp7/linux.git tags/thead-dt-for-v6.13

for you to fetch changes up to 2a3bf75a9408c40403aab39336274c8010b4c815:

  riscv: dts: thead: remove enabled property for spi0 (2024-10-15 10:01:18 -0700)

----------------------------------------------------------------
T-HEAD Devicetrees for v6.13

Add nodes for pin controllers on the T-Head TH1520 RISC-V SoC. The
yaml binding and pinctrl-th1520 driver has been merged into next by
Linus W and will be included in the 6.13 pinctrl PR.

The TH1520 GPIO controllers are already supported by the gpio-dwapb
driver. This PR improves GPIO support by adding GPIO ranges and GPIO
line names for the BeagleV Ahead and LicheePi 4A boards. Support is
added for the built-in LEDs on the Ahead board.

Signed-off-by: Drew Fustini <drew@pdp7.com>

----------------------------------------------------------------
Drew Fustini (1):
      riscv: dts: thead: remove enabled property for spi0

Emil Renner Berthing (7):
      riscv: dts: thead: Add TH1520 pin control nodes
      riscv: dts: thead: Add TH1520 GPIO ranges
      riscv: dts: thead: Adjust TH1520 GPIO labels
      riscv: dts: thead: Add Lichee Pi 4M GPIO line names
      riscv: dts: thead: Add TH1520 pinctrl settings for UART0
      riscv: dtb: thead: Add BeagleV Ahead LEDs
      riscv: dts: thead: Add missing GPIO clock-names

 arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 86 +++++++++++++++++++++-
 .../boot/dts/thead/th1520-lichee-module-4a.dtsi    | 39 ++++++++++
 arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts  | 30 +++++++-
 arch/riscv/boot/dts/thead/th1520.dtsi              | 70 ++++++++++++++----
 4 files changed, 202 insertions(+), 23 deletions(-)

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

.
Date: Mon, 21 Oct 2024 13:17:28 -0400
From: Paolo Bonzini <pbonzini@redhat.com>
To: torvalds@linux-foundation.org
Cc: linux-kernel@vger.kernel.org,
	kvm@vger.kernel.org
Subject: [GIT PULL] KVM fixes for Linux 6.12-rc5

Linus,

The following changes since commit c8d430db8eec7d4fd13a6bea27b7086a54eda6da:

  Merge tag 'kvmarm-fixes-6.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2024-10-06 03:59:22 -0400)

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 e9001a382fa2c256229adc68d55212028b01d515:

  Merge tag 'kvmarm-fixes-6.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD (2024-10-20 12:10:59 -0400)

After seeing your release commentary yesterday, well, this is not
going to make rc5 smaller.  The short description is that there is
mostly Arm stuff here (due to me sitting on submaintainer pull requests
for perhaps too long) and a bit of everything for x86 (host, guest,
selftests, docs).

Paolo

----------------------------------------------------------------
ARM64:

* Fix the guest view of the ID registers, making the relevant fields
  writable from userspace (affecting ID_AA64DFR0_EL1 and ID_AA64PFR1_EL1)

* Correcly expose S1PIE to guests, fixing a regression introduced
  in 6.12-rc1 with the S1POE support

* Fix the recycling of stage-2 shadow MMUs by tracking the context
  (are we allowed to block or not) as well as the recycling state

* Address a couple of issues with the vgic when userspace misconfigures
  the emulation, resulting in various splats. Headaches courtesy
  of our Syzkaller friends

* Stop wasting space in the HYP idmap, as we are dangerously close
  to the 4kB limit, and this has already exploded in -next

* Fix another race in vgic_init()

* Fix a UBSAN error when faking the cache topology with MTE
  enabled

RISCV:

* RISCV: KVM: use raw_spinlock for critical section in imsic

x86:

* A bandaid for lack of XCR0 setup in selftests, which causes trouble
  if the compiler is configured to have x86-64-v3 (with AVX) as the
  default ISA.  Proper XCR0 setup will come in the next merge window.

* Fix an issue where KVM would not ignore low bits of the nested CR3
  and potentially leak up to 31 bytes out of the guest memory's bounds

* Fix case in which an out-of-date cached value for the segments could
  by returned by KVM_GET_SREGS.

* More cleanups for KVM_X86_QUIRK_SLOT_ZAP_ALL

* Override MTRR state for KVM confidential guests, making it WB by
  default as is already the case for Hyper-V guests.

Generic:

* Remove a couple of unused functions

----------------------------------------------------------------
Cyan Yang (1):
      RISCV: KVM: use raw_spinlock for critical section in imsic

Dr. David Alan Gilbert (2):
      KVM: Remove unused kvm_vcpu_gfn_to_pfn
      KVM: Remove unused kvm_vcpu_gfn_to_pfn_atomic

Ilkka Koskinen (1):
      KVM: arm64: Fix shift-out-of-bounds bug

Kirill A. Shutemov (1):
      x86/kvm: Override default caching mode for SEV-SNP and TDX

Marc Zyngier (3):
      Merge branch kvm-arm64/idregs-6.12 into kvmarm/fixes
      KVM: arm64: Don't eagerly teardown the vgic on init error
      KVM: arm64: Shave a few bytes from the EL2 idmap code

Mark Brown (1):
      KVM: arm64: Expose S1PIE to guests

Maxim Levitsky (1):
      KVM: VMX: reset the segment cache after segment init in vmx_vcpu_reset()

Oliver Upton (7):
      KVM: arm64: Unregister redistributor for failed vCPU creation
      KVM: arm64: nv: Keep reference on stage-2 MMU when scheduled out
      KVM: arm64: nv: Do not block when unmapping stage-2 if disallowed
      KVM: arm64: nv: Punt stage-2 recycling to a vCPU request
      KVM: arm64: nv: Clarify safety of allowing TLBI unmaps to reschedule
      KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQS
      KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration

Paolo Bonzini (2):
      Merge tag 'kvmarm-fixes-6.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
      Merge tag 'kvmarm-fixes-6.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD

Sean Christopherson (5):
      KVM: x86/mmu: Zap only SPs that shadow gPTEs when deleting memslot
      KVM: x86/mmu: Add lockdep assert to enforce safe usage of kvm_unmap_gfn_range()
      KVM: x86: Clean up documentation for KVM_X86_QUIRK_SLOT_ZAP_ALL
      KVM: nSVM: Ignore nCR3[4:0] when loading PDPTEs from memory
      KVM: selftests: Fix out-of-bounds reads in CPUID test's array lookups

Shameer Kolothum (1):
      KVM: arm64: Make the exposed feature bits in AA64DFR0_EL1 writable from userspace

Shaoqin Huang (4):
      KVM: arm64: Disable fields that KVM doesn't know how to handle in ID_AA64PFR1_EL1
      KVM: arm64: Use kvm_has_feat() to check if FEAT_SSBS is advertised to the guest
      KVM: arm64: Allow userspace to change ID_AA64PFR1_EL1
      KVM: selftests: aarch64: Add writable test for ID_AA64PFR1_EL1

Vitaly Kuznetsov (1):
      KVM: selftests: x86: Avoid using SSE/AVX instructions

 Documentation/virt/kvm/api.rst                    | 16 ++---
 Documentation/virt/kvm/locking.rst                |  2 +-
 arch/arm64/include/asm/kvm_asm.h                  |  1 +
 arch/arm64/include/asm/kvm_host.h                 |  7 +++
 arch/arm64/include/asm/kvm_mmu.h                  |  3 +-
 arch/arm64/include/asm/kvm_nested.h               |  4 +-
 arch/arm64/kernel/asm-offsets.c                   |  1 +
 arch/arm64/kvm/arm.c                              |  5 ++
 arch/arm64/kvm/hyp/nvhe/hyp-init.S                | 52 ++++++++-------
 arch/arm64/kvm/hypercalls.c                       | 12 ++--
 arch/arm64/kvm/mmu.c                              | 15 ++---
 arch/arm64/kvm/nested.c                           | 53 +++++++++++++---
 arch/arm64/kvm/sys_regs.c                         | 77 ++++++++++++++++++++---
 arch/arm64/kvm/vgic/vgic-init.c                   | 41 ++++++++++--
 arch/arm64/kvm/vgic/vgic-kvm-device.c             |  7 ++-
 arch/riscv/kvm/aia_imsic.c                        |  8 +--
 arch/x86/kernel/kvm.c                             |  4 ++
 arch/x86/kvm/mmu/mmu.c                            | 27 +++++---
 arch/x86/kvm/svm/nested.c                         |  6 +-
 arch/x86/kvm/vmx/vmx.c                            |  6 +-
 include/linux/kvm_host.h                          |  2 -
 tools/testing/selftests/kvm/Makefile              |  1 +
 tools/testing/selftests/kvm/aarch64/set_id_regs.c | 16 ++++-
 tools/testing/selftests/kvm/x86_64/cpuid_test.c   |  2 +-
 virt/kvm/kvm_main.c                               | 12 ----
 25 files changed, 277 insertions(+), 103 deletions(-)


.
Date: Fri, 18 Oct 2024 10:00:27 -0500
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, CIFS <linux-cifs@vger.kernel.org>
Subject: [GIT PULL] smb3 client fixes

Please pull the following changes since commit
8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/v6.12-rc3-smb3-client-fixes

for you to fetch changes up to 6aca91c416f626fc0c5146cc4450ea86b831f3dd:

  cifs: Remove unused functions (2024-10-16 00:30:52 -0500)

----------------------------------------------------------------
two fixes for stable, and two small cleanup fixes
- Fix possible double free setting xattrs
- Fix slab out of bounds with large ioctl payload
- Remove 3 unused functions, and an unused variable that could be confusing
----------------------------------------------------------------
Advait Dhamorikar (1):
      smb/client: Fix logically dead code

Dr. David Alan Gilbert (1):
      cifs: Remove unused functions

Paulo Alcantara (1):
      smb: client: fix OOBs when building SMB2_IOCTL request

Su Hui (1):
      smb: client: fix possible double free in smb2_set_ea()

 fs/smb/client/cifsproto.h |  9 ---------
 fs/smb/client/compress.c  |  4 ----
 fs/smb/client/connect.c   | 12 ------------
 fs/smb/client/sess.c      | 32 --------------------------------
 fs/smb/client/smb2ops.c   |  3 ++-
 fs/smb/client/smb2pdu.c   |  9 +++++++++
 6 files changed, 11 insertions(+), 58 deletions(-)


-- 
Thanks,

Steve

.
Date: Fri, 18 Oct 2024 13:10:13 +0530
From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: torvalds@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
        Michael Ellerman <mpe@ellerman.id.au>, npiggin@gmail.com,
        christophe.leroy@csgroup.eu, naveen@kernel.org
Subject: [GIT PULL] Please pull powerpc/linux.git powerpc-6.12-5 tag


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Linus,

Please pull my first pullrequest for powerpc tree.

My gpg key is available in pgpkeys.git and it is signed by Michael Ellerman and others.

https://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git/commit/?id=5931604633197aa5cdbf6c4c9de0f08ab931615f

Please pull some more powerpc fixes for 6.12:

The following changes since commit 8956c582ac6b1693a351230179f898979dd00bdf:

  powerpc/8xx: Fix kernel DTLB miss on dcbz (2024-10-11 15:53:06 +1100)

are available in the git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git tags/powerpc-6.12-5

for you to fetch changes up to cf8989d20d64ad702a6210c11a0347ebf3852aa7:

  powerpc/powernv: Free name on error in opal_event_init() (2024-10-16 09:26:50 +1100)

- ------------------------------------------------------------------
powerpc fixes for 6.12 #5

 - To prevent possible memory leak, free "name" on error in opal_event_init()

Thanks to: Michael Ellerman, 2639161967.

- ------------------------------------------------------------------
Michael Ellerman (1):
      powerpc/powernv: Free name on error in opal_event_init()


 arch/powerpc/platforms/powernv/opal-irqchip.c | 1 +
 1 file changed, 1 insertion(+)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEqX2DNAOgU8sBX3pRpnEsdPSHZJQFAmcSCXYACgkQpnEsdPSH
ZJQUwRAAjPQqxLvWlexOaz8Q+bIW04WxENK9t2ke4njWuBJsh7N2k4F+hphGtTjU
qLBU+MeawQoAIjMptcSLoruxIQsYdGqN/oFp+u5+kKEVwC2aTDJBHAw4FnjxUJQ4
ztZk5vc9/PuvrafRfEuIsujIvmuCHFh9gzflgQbgArXZ2NFKKdy+CyBonryO0/DQ
5IXO8S91PCx20xhveLWwIdUIpK1bBZQmttwx4QWLNmB7ZtbOv05h2tlDo0Fwv1eC
oAWitl6r85ISBcSXGKu6teIIhxMSi4l2/LJl1cuhl4v37r6JXi1EPkAtvMQQK40P
tahvl3/8Oxb8QRO/cvDS23jM588AJ5zIassRlYucRWrJJ4G32MvK/4Ftz+Hs0kF9
ioADX1tl416w9wpMtGanSao1fieNQF2RnuTm55DFtSEzZOETxayPjDK2hg3s/iy1
qp2sFKRdSx+Ljbm/WDDGN2o6PlwWUS3HOu9d/CJEwpGu9Sv0zyOlxLHDteRR5fho
BYLTBRI10T92pFMFCG1/gli27fx7OiPud44vc9gk9a9ymO8oF4+/IVLDSX6gpFiY
uuM5s/P6sGkKCuIH85nUQZQPgK0z3T8zdt4hqUTepBsoBd24BRf0abOzwUkENXdB
UxWylfW9jbhYAZtqhSXYFBSKOzXpz3vGBRuUKQ5GG+3lA+fIjng=
=Xm97
-----END PGP SIGNATURE-----

.
Date: Fri, 18 Oct 2024 10:57:26 +0200
From: Joerg Roedel <joro@8bytes.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Will Deacon <will@kernel.org>, linux-kernel@vger.kernel.org,
	iommu@lists.linux.dev
Subject: [git pull] IOMMU Fixes for Linux v6.12-rc3


--HS5WuD6udurEOHJe
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Linus,

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/iommu/linux.git tags/iommu-fixes-v6.12-rc3

for you to fetch changes up to 6e02a277f1db24fa039e23783c8921c7b0e5b1b3:

  iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices (2024-10-15 10:17:54 +0200)

----------------------------------------------------------------
IOMMU Fixes for Linux v6.12-rc3

Including:

	- ARM-SMMU fixes from Will Deacon:
	  - Clarify warning message when failing to disable the MMU-500
	    prefetcher
	  - Fix undefined behaviour in calculation of L1 stream-table index
	    when 32-bit StreamIDs are implemented
	  - Replace a rogue comma with a semicolon

	- Intel VT-d fix from Lu Baolu:
	  - Fix incorrect pci_for_each_dma_alias() for non-PCI devices

----------------------------------------------------------------
Chen Ni (1):
      iommu/arm-smmu-v3: Convert comma to semicolon

Daniel Mentz (1):
      iommu/arm-smmu-v3: Fix last_sid_idx calculation for sid_bits==32

Joerg Roedel (1):
      Merge tag 'arm-smmu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into fixes

Lu Baolu (1):
      iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices

Robin Murphy (1):
      iommu/arm-smmu: Clarify MMU-500 CPRE workaround

 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 4 ++--
 drivers/iommu/arm/arm-smmu/arm-smmu-impl.c  | 4 ++--
 drivers/iommu/intel/iommu.c                 | 4 +++-
 3 files changed, 7 insertions(+), 5 deletions(-)

Please pull.

Thanks,

	Joerg

--HS5WuD6udurEOHJe
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEr9jSbILcajRFYWYyK/BELZcBGuMFAmcSIvYACgkQK/BELZcB
GuMC+A//T0JANvaQ8OUZ2bCOry674NcTGldYh84OosAw2xPK2arnyE2+usoj0QTK
HyMtauy3hzb4/2z0hpr2ZE2hguB53eI+Mt4psmyG3uomxVZAhQhEpdTgZ0sqpeYV
tWE01QJc+rJbvumfwDC5yJUwSOP4Y8Gth2DRKY0+/+9AkjaNOMzDG7F4Ytebfg1R
QRaAVsrukykUcg4KEmuAL14Ruz8sHasUJkwln2RfYFQZGfU+0uYX7Xm7gnbE6gER
P4fo2zkWchJeIXHXxqE1Zg+JDrRtkfNZgGBiHmskqF7Ia/FXlxCavh7A33lLM2o0
VXX1mMzcwFa3jgDb4bwMawUs23XlmMWU9G4uVYlJPug7f3jXBSa4ayCGvMzmS3+c
HnDTwz6UkWmo0Xl0SCalXqoszzzGKSgTQIZOltsdwfit811tE5+wqnH8MuUA6k9p
x+XHKmkNaApOo1Zwz/7hxhNWIc+jKbIHhA9ZX9bFdt4z8nkwOKlc/hN7zWZDIdHo
nnt5AzKNExMzoBDjFz7QaDWHqXluO1nRYKIevCaGKibgM+Dxkd7nvOl/fsvHAA8i
LKtGrVOwdnCT3d4AD9gANt+QXJXJmSeZe56bn3hW0WdcXBVXt+lUcy93Sw4AXbe8
1szTeByF7xbzhbO+IiBKi3b3tNLGdDZqYys8+W6Jq7nW0F5fD1g=
=uNjT
-----END PGP SIGNATURE-----

--HS5WuD6udurEOHJe--

.
Date: Fri, 18 Oct 2024 12:06:11 +0200
From: Johan Hovold <johan@kernel.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] USB-serial device ids for 6.12-rc4

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git tags/usb-serial-6.12-rc4

for you to fetch changes up to 6d951576ee16430822a8dee1e5c54d160e1de87d:

  USB: serial: option: add Telit FN920C04 MBIM compositions (2024-10-17 16:38:02 +0200)

----------------------------------------------------------------
USB-serial device ids for 6.12-rc4

Here are some new modem device ids.

Everything has been in linux-next over night with no reported issues.

----------------------------------------------------------------
Benjamin B. Frost (1):
      USB: serial: option: add support for Quectel EG916Q-GL

Daniele Palmas (1):
      USB: serial: option: add Telit FN920C04 MBIM compositions

 drivers/usb/serial/option.c | 8 ++++++++
 1 file changed, 8 insertions(+)

.
Date: Fri, 18 Oct 2024 12:36:58 +0200
From: Heiko Carstens <hca@linux.ibm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Vasily Gorbik <gor@linux.ibm.com>,
        Alexander Gordeev <agordeev@linux.ibm.com>, linux-s390@vger.kernel.org,
        linux-kernel@vger.kernel.org
Subject: [GIT PULL] s390 fixes for 6.12-rc4

Hi Linus,

please pull s390 fixes for 6.12-rc4.

Thanks,
Heiko

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-6.12-3

for you to fetch changes up to b4fa00fd428bf7648d4ac5d0c8b61882902ec516:

  s390: Update defconfigs (2024-10-16 11:32:32 +0200)

----------------------------------------------------------------
s390 fixes for 6.12-rc4

- Fix PCI error recovery by handling error events correctly

- Fix CCA crypto card behavior within protected execution environment

- Two KVM commits which fix virtual vs physical address handling bugs
  in KVM pfault handling

- Fix return code handling in pckmo_key2protkey()

- Deactivate sclp console as late as possible so that outstanding
  messages appear on the console instead of being dropped on reboot

- Convert newlines to CRLF instead of LFCR for the sclp vt220 driver,
  as required by the vt220 specification

- Initialize also psw mask in perf_arch_fetch_caller_regs() to make
  sure that user_mode(regs) will return false

- Update defconfigs

----------------------------------------------------------------
Harald Freudenberger (1):
      s390/ap: Fix CCA crypto card behavior within protected execution environment

Heiko Carstens (2):
      s390: Initialize psw mask in perf_arch_fetch_caller_regs()
      s390: Update defconfigs

Holger Dengler (1):
      s390/pkey_pckmo: Return with success for valid protected key types

Michael Mueller (1):
      KVM: s390: Change virtual to physical address access in diag 0x258 handler

Nico Boehr (1):
      KVM: s390: gaccess: Check if guest address is in memslot

Niklas Schnelle (1):
      s390/pci: Handle PCI error codes other than 0x3a

Thomas Wei?schuh (2):
      s390/sclp: Deactivate sclp after all its users
      s390/sclp_vt220: Convert newlines to CRLF instead of LFCR

 arch/s390/configs/debug_defconfig    | 13 +++++++++++--
 arch/s390/configs/defconfig          | 14 ++++++++++++--
 arch/s390/configs/zfcpdump_defconfig |  1 +
 arch/s390/include/asm/perf_event.h   |  1 +
 arch/s390/kvm/diag.c                 |  2 +-
 arch/s390/kvm/gaccess.c              |  4 ++++
 arch/s390/kvm/gaccess.h              | 14 ++++++++------
 arch/s390/pci/pci_event.c            | 17 +++++++++--------
 drivers/s390/char/sclp.c             |  3 ++-
 drivers/s390/char/sclp_vt220.c       |  4 ++--
 drivers/s390/crypto/ap_bus.c         |  3 +--
 drivers/s390/crypto/ap_bus.h         |  2 +-
 drivers/s390/crypto/ap_queue.c       | 28 ++++++++++++++++++++--------
 drivers/s390/crypto/pkey_pckmo.c     |  1 +
 14 files changed, 74 insertions(+), 33 deletions(-)

diff --git a/arch/s390/configs/debug_defconfig b/arch/s390/configs/debug_defconfig
index 9b57add02cd5..fb0e9a1d9be2 100644
--- a/arch/s390/configs/debug_defconfig
+++ b/arch/s390/configs/debug_defconfig
@@ -50,7 +50,6 @@ CONFIG_NUMA=y
 CONFIG_HZ_100=y
 CONFIG_CERT_STORE=y
 CONFIG_EXPOLINE=y
-# CONFIG_EXPOLINE_EXTERN is not set
 CONFIG_EXPOLINE_AUTO=y
 CONFIG_CHSC_SCH=y
 CONFIG_VFIO_CCW=m
@@ -95,6 +94,7 @@ CONFIG_BINFMT_MISC=m
 CONFIG_ZSWAP=y
 CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y
 CONFIG_ZSMALLOC_STAT=y
+CONFIG_SLAB_BUCKETS=y
 CONFIG_SLUB_STATS=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_MEMORY_HOTPLUG=y
@@ -426,6 +426,13 @@ CONFIG_DEVTMPFS_SAFE=y
 # CONFIG_FW_LOADER is not set
 CONFIG_CONNECTOR=y
 CONFIG_ZRAM=y
+CONFIG_ZRAM_BACKEND_LZ4=y
+CONFIG_ZRAM_BACKEND_LZ4HC=y
+CONFIG_ZRAM_BACKEND_ZSTD=y
+CONFIG_ZRAM_BACKEND_DEFLATE=y
+CONFIG_ZRAM_BACKEND_842=y
+CONFIG_ZRAM_BACKEND_LZO=y
+CONFIG_ZRAM_DEF_COMP_DEFLATE=y
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_DRBD=m
 CONFIG_BLK_DEV_NBD=m
@@ -486,6 +493,7 @@ CONFIG_DM_UEVENT=y
 CONFIG_DM_FLAKEY=m
 CONFIG_DM_VERITY=m
 CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y
+CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_PLATFORM_KEYRING=y
 CONFIG_DM_SWITCH=m
 CONFIG_DM_INTEGRITY=m
 CONFIG_DM_VDO=m
@@ -535,6 +543,7 @@ CONFIG_NLMON=m
 CONFIG_MLX4_EN=m
 CONFIG_MLX5_CORE=m
 CONFIG_MLX5_CORE_EN=y
+# CONFIG_NET_VENDOR_META is not set
 # CONFIG_NET_VENDOR_MICREL is not set
 # CONFIG_NET_VENDOR_MICROCHIP is not set
 # CONFIG_NET_VENDOR_MICROSEMI is not set
@@ -695,6 +704,7 @@ CONFIG_NFSD=m
 CONFIG_NFSD_V3_ACL=y
 CONFIG_NFSD_V4=y
 CONFIG_NFSD_V4_SECURITY_LABEL=y
+# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
 CONFIG_CIFS=m
 CONFIG_CIFS_UPCALL=y
 CONFIG_CIFS_XATTR=y
@@ -740,7 +750,6 @@ CONFIG_CRYPTO_DH=m
 CONFIG_CRYPTO_ECDH=m
 CONFIG_CRYPTO_ECDSA=m
 CONFIG_CRYPTO_ECRDSA=m
-CONFIG_CRYPTO_SM2=m
 CONFIG_CRYPTO_CURVE25519=m
 CONFIG_CRYPTO_AES_TI=m
 CONFIG_CRYPTO_ANUBIS=m
diff --git a/arch/s390/configs/defconfig b/arch/s390/configs/defconfig
index df4addd1834a..88be0a734b60 100644
--- a/arch/s390/configs/defconfig
+++ b/arch/s390/configs/defconfig
@@ -48,7 +48,6 @@ CONFIG_NUMA=y
 CONFIG_HZ_100=y
 CONFIG_CERT_STORE=y
 CONFIG_EXPOLINE=y
-# CONFIG_EXPOLINE_EXTERN is not set
 CONFIG_EXPOLINE_AUTO=y
 CONFIG_CHSC_SCH=y
 CONFIG_VFIO_CCW=m
@@ -89,6 +88,7 @@ CONFIG_BINFMT_MISC=m
 CONFIG_ZSWAP=y
 CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD=y
 CONFIG_ZSMALLOC_STAT=y
+CONFIG_SLAB_BUCKETS=y
 # CONFIG_COMPAT_BRK is not set
 CONFIG_MEMORY_HOTPLUG=y
 CONFIG_MEMORY_HOTREMOVE=y
@@ -416,6 +416,13 @@ CONFIG_DEVTMPFS_SAFE=y
 # CONFIG_FW_LOADER is not set
 CONFIG_CONNECTOR=y
 CONFIG_ZRAM=y
+CONFIG_ZRAM_BACKEND_LZ4=y
+CONFIG_ZRAM_BACKEND_LZ4HC=y
+CONFIG_ZRAM_BACKEND_ZSTD=y
+CONFIG_ZRAM_BACKEND_DEFLATE=y
+CONFIG_ZRAM_BACKEND_842=y
+CONFIG_ZRAM_BACKEND_LZO=y
+CONFIG_ZRAM_DEF_COMP_DEFLATE=y
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_DRBD=m
 CONFIG_BLK_DEV_NBD=m
@@ -476,6 +483,7 @@ CONFIG_DM_UEVENT=y
 CONFIG_DM_FLAKEY=m
 CONFIG_DM_VERITY=m
 CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG=y
+CONFIG_DM_VERITY_VERIFY_ROOTHASH_SIG_PLATFORM_KEYRING=y
 CONFIG_DM_SWITCH=m
 CONFIG_DM_INTEGRITY=m
 CONFIG_DM_VDO=m
@@ -525,6 +533,7 @@ CONFIG_NLMON=m
 CONFIG_MLX4_EN=m
 CONFIG_MLX5_CORE=m
 CONFIG_MLX5_CORE_EN=y
+# CONFIG_NET_VENDOR_META is not set
 # CONFIG_NET_VENDOR_MICREL is not set
 # CONFIG_NET_VENDOR_MICROCHIP is not set
 # CONFIG_NET_VENDOR_MICROSEMI is not set
@@ -682,6 +691,7 @@ CONFIG_NFSD=m
 CONFIG_NFSD_V3_ACL=y
 CONFIG_NFSD_V4=y
 CONFIG_NFSD_V4_SECURITY_LABEL=y
+# CONFIG_NFSD_LEGACY_CLIENT_TRACKING is not set
 CONFIG_CIFS=m
 CONFIG_CIFS_UPCALL=y
 CONFIG_CIFS_XATTR=y
@@ -726,7 +736,6 @@ CONFIG_CRYPTO_DH=m
 CONFIG_CRYPTO_ECDH=m
 CONFIG_CRYPTO_ECDSA=m
 CONFIG_CRYPTO_ECRDSA=m
-CONFIG_CRYPTO_SM2=m
 CONFIG_CRYPTO_CURVE25519=m
 CONFIG_CRYPTO_AES_TI=m
 CONFIG_CRYPTO_ANUBIS=m
@@ -767,6 +776,7 @@ CONFIG_CRYPTO_LZ4=m
 CONFIG_CRYPTO_LZ4HC=m
 CONFIG_CRYPTO_ZSTD=m
 CONFIG_CRYPTO_ANSI_CPRNG=m
+CONFIG_CRYPTO_JITTERENTROPY_OSR=1
 CONFIG_CRYPTO_USER_API_HASH=m
 CONFIG_CRYPTO_USER_API_SKCIPHER=m
 CONFIG_CRYPTO_USER_API_RNG=m
diff --git a/arch/s390/configs/zfcpdump_defconfig b/arch/s390/configs/zfcpdump_defconfig
index 8c2b61363bab..bcbaa069de96 100644
--- a/arch/s390/configs/zfcpdump_defconfig
+++ b/arch/s390/configs/zfcpdump_defconfig
@@ -49,6 +49,7 @@ CONFIG_ZFCP=y
 # CONFIG_HVC_IUCV is not set
 # CONFIG_HW_RANDOM_S390 is not set
 # CONFIG_HMC_DRV is not set
+# CONFIG_S390_UV_UAPI is not set
 # CONFIG_S390_TAPE is not set
 # CONFIG_VMCP is not set
 # CONFIG_MONWRITER is not set
diff --git a/arch/s390/include/asm/perf_event.h b/arch/s390/include/asm/perf_event.h
index 66200d4a2134..29ee289108c5 100644
--- a/arch/s390/include/asm/perf_event.h
+++ b/arch/s390/include/asm/perf_event.h
@@ -49,6 +49,7 @@ struct perf_sf_sde_regs {
 };
 
 #define perf_arch_fetch_caller_regs(regs, __ip) do {			\
+	(regs)->psw.mask = 0;						\
 	(regs)->psw.addr = (__ip);					\
 	(regs)->gprs[15] = (unsigned long)__builtin_frame_address(0) -	\
 		offsetof(struct stack_frame, back_chain);		\
diff --git a/arch/s390/kvm/diag.c b/arch/s390/kvm/diag.c
index 2a32438e09ce..74f73141f9b9 100644
--- a/arch/s390/kvm/diag.c
+++ b/arch/s390/kvm/diag.c
@@ -77,7 +77,7 @@ static int __diag_page_ref_service(struct kvm_vcpu *vcpu)
 	vcpu->stat.instruction_diagnose_258++;
 	if (vcpu->run->s.regs.gprs[rx] & 7)
 		return kvm_s390_inject_program_int(vcpu, PGM_SPECIFICATION);
-	rc = read_guest(vcpu, vcpu->run->s.regs.gprs[rx], rx, &parm, sizeof(parm));
+	rc = read_guest_real(vcpu, vcpu->run->s.regs.gprs[rx], &parm, sizeof(parm));
 	if (rc)
 		return kvm_s390_inject_prog_cond(vcpu, rc);
 	if (parm.parm_version != 2 || parm.parm_len < 5 || parm.code != 0x258)
diff --git a/arch/s390/kvm/gaccess.c b/arch/s390/kvm/gaccess.c
index e65f597e3044..a688351f4ab5 100644
--- a/arch/s390/kvm/gaccess.c
+++ b/arch/s390/kvm/gaccess.c
@@ -828,6 +828,8 @@ static int access_guest_page(struct kvm *kvm, enum gacc_mode mode, gpa_t gpa,
 	const gfn_t gfn = gpa_to_gfn(gpa);
 	int rc;
 
+	if (!gfn_to_memslot(kvm, gfn))
+		return PGM_ADDRESSING;
 	if (mode == GACC_STORE)
 		rc = kvm_write_guest_page(kvm, gfn, data, offset, len);
 	else
@@ -985,6 +987,8 @@ int access_guest_real(struct kvm_vcpu *vcpu, unsigned long gra,
 		gra += fragment_len;
 		data += fragment_len;
 	}
+	if (rc > 0)
+		vcpu->arch.pgm.code = rc;
 	return rc;
 }
 
diff --git a/arch/s390/kvm/gaccess.h b/arch/s390/kvm/gaccess.h
index b320d12aa049..3fde45a151f2 100644
--- a/arch/s390/kvm/gaccess.h
+++ b/arch/s390/kvm/gaccess.h
@@ -405,11 +405,12 @@ int read_guest_abs(struct kvm_vcpu *vcpu, unsigned long gpa, void *data,
  * @len: number of bytes to copy
  *
  * Copy @len bytes from @data (kernel space) to @gra (guest real address).
- * It is up to the caller to ensure that the entire guest memory range is
- * valid memory before calling this function.
  * Guest low address and key protection are not checked.
  *
- * Returns zero on success or -EFAULT on error.
+ * Returns zero on success, -EFAULT when copying from @data failed, or
+ * PGM_ADRESSING in case @gra is outside a memslot. In this case, pgm check info
+ * is also stored to allow injecting into the guest (if applicable) using
+ * kvm_s390_inject_prog_cond().
  *
  * If an error occurs data may have been copied partially to guest memory.
  */
@@ -428,11 +429,12 @@ int write_guest_real(struct kvm_vcpu *vcpu, unsigned long gra, void *data,
  * @len: number of bytes to copy
  *
  * Copy @len bytes from @gra (guest real address) to @data (kernel space).
- * It is up to the caller to ensure that the entire guest memory range is
- * valid memory before calling this function.
  * Guest key protection is not checked.
  *
- * Returns zero on success or -EFAULT on error.
+ * Returns zero on success, -EFAULT when copying to @data failed, or
+ * PGM_ADRESSING in case @gra is outside a memslot. In this case, pgm check info
+ * is also stored to allow injecting into the guest (if applicable) using
+ * kvm_s390_inject_prog_cond().
  *
  * If an error occurs data may have been copied partially to kernel space.
  */
diff --git a/arch/s390/pci/pci_event.c b/arch/s390/pci/pci_event.c
index dbe95ec5917e..d4f19d33914c 100644
--- a/arch/s390/pci/pci_event.c
+++ b/arch/s390/pci/pci_event.c
@@ -280,18 +280,19 @@ static void __zpci_event_error(struct zpci_ccdf_err *ccdf)
 		goto no_pdev;
 
 	switch (ccdf->pec) {
-	case 0x003a: /* Service Action or Error Recovery Successful */
+	case 0x002a: /* Error event concerns FMB */
+	case 0x002b:
+	case 0x002c:
+		break;
+	case 0x0040: /* Service Action or Error Recovery Failed */
+	case 0x003b:
+		zpci_event_io_failure(pdev, pci_channel_io_perm_failure);
+		break;
+	default: /* PCI function left in the error state attempt to recover */
 		ers_res = zpci_event_attempt_error_recovery(pdev);
 		if (ers_res != PCI_ERS_RESULT_RECOVERED)
 			zpci_event_io_failure(pdev, pci_channel_io_perm_failure);
 		break;
-	default:
-		/*
-		 * Mark as frozen not permanently failed because the device
-		 * could be subsequently recovered by the platform.
-		 */
-		zpci_event_io_failure(pdev, pci_channel_io_frozen);
-		break;
 	}
 	pci_dev_put(pdev);
 no_pdev:
diff --git a/drivers/s390/char/sclp.c b/drivers/s390/char/sclp.c
index f3621adbd5de..fbffd451031f 100644
--- a/drivers/s390/char/sclp.c
+++ b/drivers/s390/char/sclp.c
@@ -1195,7 +1195,8 @@ sclp_reboot_event(struct notifier_block *this, unsigned long event, void *ptr)
 }
 
 static struct notifier_block sclp_reboot_notifier = {
-	.notifier_call = sclp_reboot_event
+	.notifier_call = sclp_reboot_event,
+	.priority      = INT_MIN,
 };
 
 static ssize_t con_pages_show(struct device_driver *dev, char *buf)
diff --git a/drivers/s390/char/sclp_vt220.c b/drivers/s390/char/sclp_vt220.c
index 218ae604f737..33b9c968dbcb 100644
--- a/drivers/s390/char/sclp_vt220.c
+++ b/drivers/s390/char/sclp_vt220.c
@@ -319,7 +319,7 @@ sclp_vt220_add_msg(struct sclp_vt220_request *request,
 	buffer = (void *) ((addr_t) sccb + sccb->header.length);
 
 	if (convertlf) {
-		/* Perform Linefeed conversion (0x0a -> 0x0a 0x0d)*/
+		/* Perform Linefeed conversion (0x0a -> 0x0d 0x0a)*/
 		for (from=0, to=0;
 		     (from < count) && (to < sclp_vt220_space_left(request));
 		     from++) {
@@ -328,8 +328,8 @@ sclp_vt220_add_msg(struct sclp_vt220_request *request,
 			/* Perform conversion */
 			if (c == 0x0a) {
 				if (to + 1 < sclp_vt220_space_left(request)) {
-					((unsigned char *) buffer)[to++] = c;
 					((unsigned char *) buffer)[to++] = 0x0d;
+					((unsigned char *) buffer)[to++] = c;
 				} else
 					break;
 
diff --git a/drivers/s390/crypto/ap_bus.c b/drivers/s390/crypto/ap_bus.c
index 60cea6c24349..e14638936de6 100644
--- a/drivers/s390/crypto/ap_bus.c
+++ b/drivers/s390/crypto/ap_bus.c
@@ -1864,13 +1864,12 @@ static inline void ap_scan_domains(struct ap_card *ac)
 		}
 		/* if no queue device exists, create a new one */
 		if (!aq) {
-			aq = ap_queue_create(qid, ac->ap_dev.device_type);
+			aq = ap_queue_create(qid, ac);
 			if (!aq) {
 				AP_DBF_WARN("%s(%d,%d) ap_queue_create() failed\n",
 					    __func__, ac->id, dom);
 				continue;
 			}
-			aq->card = ac;
 			aq->config = !decfg;
 			aq->chkstop = chkstop;
 			aq->se_bstate = hwinfo.bs;
diff --git a/drivers/s390/crypto/ap_bus.h b/drivers/s390/crypto/ap_bus.h
index 0b275c719319..f4622ee4d894 100644
--- a/drivers/s390/crypto/ap_bus.h
+++ b/drivers/s390/crypto/ap_bus.h
@@ -272,7 +272,7 @@ int ap_test_config_usage_domain(unsigned int domain);
 int ap_test_config_ctrl_domain(unsigned int domain);
 
 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
-struct ap_queue *ap_queue_create(ap_qid_t qid, int device_type);
+struct ap_queue *ap_queue_create(ap_qid_t qid, struct ap_card *ac);
 void ap_queue_prepare_remove(struct ap_queue *aq);
 void ap_queue_remove(struct ap_queue *aq);
 void ap_queue_init_state(struct ap_queue *aq);
diff --git a/drivers/s390/crypto/ap_queue.c b/drivers/s390/crypto/ap_queue.c
index 8c878c5aa31f..9a0e6e4d8a5e 100644
--- a/drivers/s390/crypto/ap_queue.c
+++ b/drivers/s390/crypto/ap_queue.c
@@ -22,6 +22,11 @@ static void __ap_flush_queue(struct ap_queue *aq);
  * some AP queue helper functions
  */
 
+static inline bool ap_q_supported_in_se(struct ap_queue *aq)
+{
+	return aq->card->hwinfo.ep11 || aq->card->hwinfo.accel;
+}
+
 static inline bool ap_q_supports_bind(struct ap_queue *aq)
 {
 	return aq->card->hwinfo.ep11 || aq->card->hwinfo.accel;
@@ -1104,18 +1109,19 @@ static void ap_queue_device_release(struct device *dev)
 	kfree(aq);
 }
 
-struct ap_queue *ap_queue_create(ap_qid_t qid, int device_type)
+struct ap_queue *ap_queue_create(ap_qid_t qid, struct ap_card *ac)
 {
 	struct ap_queue *aq;
 
 	aq = kzalloc(sizeof(*aq), GFP_KERNEL);
 	if (!aq)
 		return NULL;
+	aq->card = ac;
 	aq->ap_dev.device.release = ap_queue_device_release;
 	aq->ap_dev.device.type = &ap_queue_type;
-	aq->ap_dev.device_type = device_type;
-	// add optional SE secure binding attributes group
-	if (ap_sb_available() && is_prot_virt_guest())
+	aq->ap_dev.device_type = ac->ap_dev.device_type;
+	/* in SE environment add bind/associate attributes group */
+	if (ap_is_se_guest() && ap_q_supported_in_se(aq))
 		aq->ap_dev.device.groups = ap_queue_dev_sb_attr_groups;
 	aq->qid = qid;
 	spin_lock_init(&aq->lock);
@@ -1196,10 +1202,16 @@ bool ap_queue_usable(struct ap_queue *aq)
 	}
 
 	/* SE guest's queues additionally need to be bound */
-	if (ap_q_needs_bind(aq) &&
-	    !(aq->se_bstate == AP_BS_Q_USABLE ||
-	      aq->se_bstate == AP_BS_Q_USABLE_NO_SECURE_KEY))
-		rc = false;
+	if (ap_is_se_guest()) {
+		if (!ap_q_supported_in_se(aq)) {
+			rc = false;
+			goto unlock_and_out;
+		}
+		if (ap_q_needs_bind(aq) &&
+		    !(aq->se_bstate == AP_BS_Q_USABLE ||
+		      aq->se_bstate == AP_BS_Q_USABLE_NO_SECURE_KEY))
+			rc = false;
+	}
 
 unlock_and_out:
 	spin_unlock_bh(&aq->lock);
diff --git a/drivers/s390/crypto/pkey_pckmo.c b/drivers/s390/crypto/pkey_pckmo.c
index 98079b1ed6db..beeca8827c46 100644
--- a/drivers/s390/crypto/pkey_pckmo.c
+++ b/drivers/s390/crypto/pkey_pckmo.c
@@ -324,6 +324,7 @@ static int pckmo_key2protkey(const u8 *key, u32 keylen,
 		memcpy(protkey, t->protkey, t->len);
 		*protkeylen = t->len;
 		*protkeytype = t->keytype;
+		rc = 0;
 		break;
 	}
 	case TOKVER_CLEAR_KEY: {

.
Date: Fri, 18 Oct 2024 08:05:31 -0700
From: Guenter Roeck <linux@roeck-us.net>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-hwmon@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] hwmon fixes for v6.12-rc4

Hi Linus,

Please pull hwmon fixes for Linux v6.12-rc4 from signed tag:

    git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-v6.12-rc4

Thanks,
Guenter
------

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git tags/hwmon-for-v6.12-rc4

for you to fetch changes up to eabb03810194b75417b09cff8a526d26939736ac:

  [PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again (2024-10-14 19:14:08 -0700)

----------------------------------------------------------------
hwmon fixes for v6.12-rc4

Fix auto-detect regression in jc42 driver.

----------------------------------------------------------------
Jean Delvare (1):
      [PATCH} hwmon: (jc42) Properly detect TSE2004-compliant devices again

 drivers/hwmon/jc42.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

.
Date: Fri, 18 Oct 2024 18:30:37 +0200
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux PM <linux-pm@vger.kernel.org>, 
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, 
	Mario Limonciello <mario.limonciello@amd.com>
Subject: [GIT PULL] Power management updates for v6.12-rc4

Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm-6.12-rc4

with top-most commit cf8679bb77e99682a5a5806cc86554235fa56233

 Merge branch 'pm-cpufreq'

on top of commit 8e929cb546ee42c9a61d24fae60605e9e3192354

 Linux 6.12-rc3

to receive power management updates for 6.12-rc4.

These fix two issues in the amd-pstate cpufreq driver and update the
intel_rapl power capping driver with a new processor ID.

Specifics:

 - Enable ACPI CPPC in amd_pstate_register_driver() after disabling
   it in amd_pstate_unregister_driver() when switching driver operation
   modes (Dhananjay Ugwekar).

 - Make amd-pstate use nominal performance as the maximum performance
   level when boost is disabled (Mario Limonciello).

 - Add ArrowLake-H to the list of processors where PL4 is supported
   in the MSR part of the intel_rapl power capping driver (Srinivas
   Pandruvada).

Thanks!


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

Dhananjay Ugwekar (1):
      cpufreq/amd-pstate: Fix amd_pstate mode switch on shared memory systems

Mario Limonciello (1):
      cpufreq/amd-pstate: Use nominal perf for limits when boost is disabled

Srinivas Pandruvada (1):
      powercap: intel_rapl_msr: Add PL4 support for ArrowLake-H

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

 drivers/cpufreq/amd-pstate.c      | 30 ++++++++++++++++++++++++------
 drivers/powercap/intel_rapl_msr.c |  1 +
 2 files changed, 25 insertions(+), 6 deletions(-)

.
Date: Fri, 18 Oct 2024 14:05:04 -0600
From: Shuah Khan <skhan@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: shuah <shuah@kernel.org>, Shuah Khan <skhan@linuxfoundation.org>,
 linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Kselftest fixes update for Linux 6.12-rc4

This is a multi-part message in MIME format.
--------------ZlneuxfJq1Xpvfa6ANCD9Syw
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hi Linus,

Please pull the following kselftest fixes update for Linux 6.12-rc4.

-- fixes test makefile to install tests directory without which
    the test fails with errors.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 4ee5ca9a29384fcf3f18232fdf8474166dea8dca:

   ftrace/selftest: Test combination of function_graph tracer and function profiler

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.12-rc4

for you to fetch changes up to fe05c40ca9c18cfdb003f639a30fc78a7ab49519:

   selftest: hid: add the missing tests directory (2024-10-16 15:55:14 -0600)

----------------------------------------------------------------
linux_kselftest-fixes-6.12-rc4

kselftest fixes for Linux 6.12-rc4

-- fixes test makefile to install tests directory without which
    the test fails with errors.

----------------------------------------------------------------
Yun Lu (1):
       selftest: hid: add the missing tests directory

  tools/testing/selftests/hid/Makefile | 1 +
  1 file changed, 1 insertion(+)
----------------------------------------------------------------
--------------ZlneuxfJq1Xpvfa6ANCD9Syw
Content-Type: text/x-patch; charset=UTF-8;
 name="linux_kselftest-fixes-6.12-rc4.diff"
Content-Disposition: attachment;
 filename="linux_kselftest-fixes-6.12-rc4.diff"
Content-Transfer-Encoding: base64

ZGlmZiAtLWdpdCBhL3Rvb2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL2hpZC9NYWtlZmlsZSBiL3Rv
b2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL2hpZC9NYWtlZmlsZQppbmRleCAzOGFlMzFiYjA3YjUu
LjY2MjIwOWY1ZmFiYyAxMDA2NDQKLS0tIGEvdG9vbHMvdGVzdGluZy9zZWxmdGVzdHMvaGlk
L01ha2VmaWxlCisrKyBiL3Rvb2xzL3Rlc3Rpbmcvc2VsZnRlc3RzL2hpZC9NYWtlZmlsZQpA
QCAtMTgsNiArMTgsNyBAQCBURVNUX1BST0dTICs9IGhpZC11c2JfY3Jhc2guc2gKIFRFU1Rf
UFJPR1MgKz0gaGlkLXdhY29tLnNoCiAKIFRFU1RfRklMRVMgOj0gcnVuLWhpZC10b29scy10
ZXN0cy5zaAorVEVTVF9GSUxFUyArPSB0ZXN0cwogCiBDWFggPz0gJChDUk9TU19DT01QSUxF
KWcrKwogCg==

--------------ZlneuxfJq1Xpvfa6ANCD9Syw--

.
Date: Fri, 18 Oct 2024 14:26:01 -0700
From: Fan Wu <wufan@kernel.org>
To: torvalds@linux-foundation.org
Cc: bluca@debian.org, paul@paul-moore.com,
 linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] IPE fixes for 6.12-rc4

Hi Linus,

This PR addresses several issues identified by Luca when attempting to 
enable IPE on Debian [1] and systemd [2]. It includes four commits 
focused on enhancing functionality and resolving issues:

The first and second commits address issues with IPE policy update 
errors and policy update version check, improving the clarity of error 
messages for better understanding by userspace programs.
The third and fourth commits enable IPE policies to be signed by 
secondary and platform keyrings, facilitating broader use across general 
Linux distributions like Debian.
The final commit updates the IPE entry in the MAINTAINERS file to 
reflect the new tree URL and my updated email from kernel.org.

As this is my first PR submission to you, I apologize in advance for any 
mistakes. Could you please consider merging these changes into v6.12-rc4?

Thanks,
Fan

Link: https://salsa.debian.org/kernel-team/linux/-/merge_requests/1233 [1]
Link: 
https://github.com/systemd/systemd/commit/394c61416c19bcc3231d3f717b72ef9d90b89ee7 
[2]
--
The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

   Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

   https://git.kernel.org/pub/scm/linux/kernel/git/wufan/ipe.git 
tags/ipe-pr-20241018

for you to fetch changes up to 917a15c37d371bc40b5ad13df366e29bd49c04a1:

   MAINTAINERS: update IPE tree url and Fan Wu's email (2024-10-18 
12:15:37 -0700)

----------------------------------------------------------------
ipe/stable-6.12 PR 20241018

----------------------------------------------------------------
Fan Wu (1):
       MAINTAINERS: update IPE tree url and Fan Wu's email

Luca Boccassi (4):
       ipe: return -ESTALE instead of -EINVAL on update when new policy 
has a lower version
       ipe: also reject policy updates with the same version
       ipe: allow secondary and platform keyrings to install/update policies
       ipe: fallback to platform keyring also if key in trusted keyring 
is rejected

  Documentation/admin-guide/LSM/ipe.rst |  7 +++++--
  MAINTAINERS                           |  4 ++--
  security/ipe/Kconfig                  | 19 +++++++++++++++++++
  security/ipe/policy.c                 | 18 +++++++++++++++---
  4 files changed, 41 insertions(+), 7 deletions(-)


.
Date: Sat, 19 Oct 2024 00:53:29 +0200
From: Miguel Ojeda <ojeda@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Miguel Ojeda <ojeda@kernel.org>,
	Alex Gaynor <alex.gaynor@gmail.com>,
	Boqun Feng <boqun.feng@gmail.com>,
	Gary Guo <gary@garyguo.net>,
	=?UTF-8?q?Bj=C3=B6rn=20Roy=20Baron?= <bjorn3_gh@protonmail.com>,
	Benno Lossin <benno.lossin@proton.me>,
	Andreas Hindborg <a.hindborg@kernel.org>,
	Alice Ryhl <aliceryhl@google.com>,
	Trevor Gross <tmgross@umich.edu>,
	rust-for-linux@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] Rust fixes for 6.12 (2nd)

Hi Linus,

Please pull these fixes for Rust (second round).

They have all been in linux-next for a week.

No conflicts expected.

Thanks!

Cheers,
Miguel

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.12-2

for you to fetch changes up to 8b8ca9c25fe69c2162e3235c7d6c341127abeed6:

  cfi: fix conditions for HAVE_CFI_ICALL_NORMALIZE_INTEGERS (2024-10-13 22:23:13 +0200)

----------------------------------------------------------------
Rust fixes for v6.12 (2nd)

Toolchain and infrastructure:

 - Fix several issues with the 'rustc-option' macro. It includes a
   refactor from Masahiro of three '{cc,rust}-*' macros, which is not
   a fix but avoids repeating the same commands (which would be several
   lines in the case of 'rustc-option').

 - Fix conditions for 'CONFIG_HAVE_CFI_ICALL_NORMALIZE_INTEGERS'. It
   includes the addition of 'CONFIG_RUSTC_LLVM_VERSION', which is not a
   fix but is needed for the actual fix.

And a trivial grammar fix.

----------------------------------------------------------------
Alice Ryhl (2):
      kbuild: fix issues with rustc-option
      cfi: fix conditions for HAVE_CFI_ICALL_NORMALIZE_INTEGERS

Gary Guo (1):
      kbuild: rust: add `CONFIG_RUSTC_LLVM_VERSION`

Masahiro Yamada (1):
      kbuild: refactor cc-option-yn, cc-disable-warning, rust-option-yn macros

Timo Grautstueck (1):
      lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW

 arch/Kconfig                  | 26 ++++++++++++--------------
 init/Kconfig                  |  8 ++++++--
 lib/Kconfig.debug             |  2 +-
 scripts/Kconfig.include       |  3 +++
 scripts/Makefile.compiler     | 14 +++++++-------
 scripts/rustc-llvm-version.sh | 22 ++++++++++++++++++++++
 6 files changed, 51 insertions(+), 24 deletions(-)
 create mode 100755 scripts/rustc-llvm-version.sh

.
Date: Sat, 19 Oct 2024 08:51:44 +0900
From: Dominique Martinet <asmadeus@codewreck.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Pedro Falcato <pedro.falcato@gmail.com>,
	Christian Schoenebeck <linux_oss@crudebyte.com>,
	Eric Van Hensbergen <ericvh@kernel.org>, v9fs@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Thorsten Leemhuis <regressions@leemhuis.info>
Subject: [GIT PULL] 9p fixes for 6.12-rc4

The following changes since commit 98f7e32f20d28ec452afb208f9cffc08448a2652:

  Linux 6.11 (2024-09-15 16:57:56 +0200)

are available in the Git repository at:

  https://github.com/martinetd/linux tags/9p-for-6.12-rc4

for you to fetch changes up to 79efebae4afc2221fa814c3cae001bede66ab259:

  9p: Avoid creating multiple slab caches with the same name (2024-09-23 05:51:27 +0900)

----------------------------------------------------------------
Mashed-up update that I sat on too long:

- fix for multiple slabs created with the same name
- enable multipage folios
- theorical fix to also look for opened fids by inode if none
was found by dentry

----------------------------------------------------------------
David Howells (1):
      9p: Enable multipage folios

Dominique Martinet (1):
      9p: v9fs_fid_find: also lookup by inode if not found dentry

Pedro Falcato (1):
      9p: Avoid creating multiple slab caches with the same name

 fs/9p/fid.c       |  5 ++---
 fs/9p/vfs_inode.c |  1 +
 net/9p/client.c   | 10 +++++++++-
 3 files changed, 12 insertions(+), 4 deletions(-)

-- 
Dominique Martinet | Asmadeus

.
Date: Fri, 18 Oct 2024 20:18:41 -0700
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org
Subject: [git pull] Input updates for v6.12-rc3

Hi Linus,

Please pull from:

	git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git tags/input-for-v6.12-rc3

to receive updates for the input subsystem. You will get:

- a fix for Zinitix driver to not fail probing if property enabling
  touch keys functionality is not defined. Support for touch keys was
  added in 6.12 merge window so this issue does not affect users of
  released kernels

- a couple new vendor/device IDs in xpad driver to enable support
  for more hardware.

Changelog:
---------

John Edwards (1):
      Input: xpad - add support for MSI Claw A1M

Nikita Travkin (1):
      Input: zinitix - don't fail if linux,keycodes prop is absent

Stefan Kerkmann (1):
      Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller

Diffstat:
--------

 drivers/input/joystick/xpad.c       |  3 +++
 drivers/input/touchscreen/zinitix.c | 34 ++++++++++++++++++++++------------
 2 files changed, 25 insertions(+), 12 deletions(-)

Thanks.


-- 
Dmitry

.
Date: Sat, 19 Oct 2024 14:44:27 -0400
From: Steven Rostedt <rostedt@goodmis.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Masami Hiramatsu
 <mhiramat@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Mathieu
 Desnoyers <mathieu.desnoyers@efficios.com>
Subject: [GIT PULL] ftrace: Two fixes for v6.12



Linus,

ftrace: A couple of fixes to function graph infrastructure

- Fix allocation of idle shadow stack allocation during hotplug

  If function graph tracing is started when a CPU is offline, if it were
  come online during the trace then the idle task that represents the CPU
  will not get a shadow stack allocated for it. This means all function
  graph hooks that happen while that idle task is running (including in
  interrupt mode) will have all its events dropped.

  Switch over to the CPU hotplug mechanism that will have any newly
  brought on line CPU get a callback that can allocate the shadow stack
  for its idle task.

- Fix allocation size of the ret_stack_list array

  When function graph tracing converted over to allowing more than one
  user at a time, it had to convert its shadow stack from an array of
  ret_stack structures to an array of unsigned longs. The shadow stacks
  are allocated in batches of 32 at a time and assigned to every running
  task. The batch is held by the ret_stack_list array. But when the
  conversion happened, instead of allocating an array of 32 pointers, it
  was allocated as a ret_stack itself (PAGE_SIZE). This ret_stack_list
  gets passed to a function that iterates over what it believes is its
  size defined by the FTRACE_RETSTACK_ALLOC_SIZE macro (which is 32).

  Luckily (PAGE_SIZE) is greater than 32 * sizeof(long), otherwise this
  would have been an array overflow. This still should be fixed and the
  ret_stack_list should be allocated to the size it is expected to be as
  someday it may end up being bigger than SHADOW_STACK_SIZE.


Please pull the latest ftrace-v6.12-rc3 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ftrace-v6.12-rc3

Tag SHA1: b2de656c065361da94455f0b336df15e5ac3dc32
Head SHA1: fae4078c289a2f24229c0de652249948b1cd6bdb


Steven Rostedt (2):
      fgraph: Use CPU hotplug mechanism to initialize idle shadow stacks
      fgraph: Allocate ret_stack_list with proper size

----
 kernel/trace/fgraph.c | 31 +++++++++++++++++++++++--------
 1 file changed, 23 insertions(+), 8 deletions(-)
---------------------------
diff --git a/kernel/trace/fgraph.c b/kernel/trace/fgraph.c
index d7d4fb403f6f..41e7a15dcb50 100644
--- a/kernel/trace/fgraph.c
+++ b/kernel/trace/fgraph.c
@@ -1160,19 +1160,14 @@ void fgraph_update_pid_func(void)
 static int start_graph_tracing(void)
 {
 	unsigned long **ret_stack_list;
-	int ret, cpu;
+	int ret;
 
-	ret_stack_list = kmalloc(SHADOW_STACK_SIZE, GFP_KERNEL);
+	ret_stack_list = kcalloc(FTRACE_RETSTACK_ALLOC_SIZE,
+				 sizeof(*ret_stack_list), GFP_KERNEL);
 
 	if (!ret_stack_list)
 		return -ENOMEM;
 
-	/* The cpu_boot init_task->ret_stack will never be freed */
-	for_each_online_cpu(cpu) {
-		if (!idle_task(cpu)->ret_stack)
-			ftrace_graph_init_idle_task(idle_task(cpu), cpu);
-	}
-
 	do {
 		ret = alloc_retstack_tasklist(ret_stack_list);
 	} while (ret == -EAGAIN);
@@ -1242,14 +1237,34 @@ static void ftrace_graph_disable_direct(bool disable_branch)
 	fgraph_direct_gops = &fgraph_stub;
 }
 
+/* The cpu_boot init_task->ret_stack will never be freed */
+static int fgraph_cpu_init(unsigned int cpu)
+{
+	if (!idle_task(cpu)->ret_stack)
+		ftrace_graph_init_idle_task(idle_task(cpu), cpu);
+	return 0;
+}
+
 int register_ftrace_graph(struct fgraph_ops *gops)
 {
+	static bool fgraph_initialized;
 	int command = 0;
 	int ret = 0;
 	int i = -1;
 
 	mutex_lock(&ftrace_lock);
 
+	if (!fgraph_initialized) {
+		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph_idle_init",
+					fgraph_cpu_init, NULL);
+		if (ret < 0) {
+			pr_warn("fgraph: Error to init cpu hotplug support\n");
+			return ret;
+		}
+		fgraph_initialized = true;
+		ret = 0;
+	}
+
 	if (!fgraph_array[0]) {
 		/* The array must always have real data on it */
 		for (i = 0; i < FGRAPH_ARRAY_SIZE; i++)

.
Date: Sat, 19 Oct 2024 15:30:07 -0400
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Andrew Morton <akpm@linux-foundation.org>, Linus Torvalds
	 <torvalds@linux-foundation.org>
Cc: linux-scsi <linux-scsi@vger.kernel.org>, linux-kernel
	 <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] SCSI fixes for 6.12-rc3

Fixes all in drivers. The largest is the mpi3mr which corrects a phy
count limit that should only apply to the controller but was being
incorrectly applied to expander phys.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

Peter Wang (2):
      scsi: ufs: core: Requeue aborted request
      scsi: ufs: core: Fix the issue of ICU failure

Ranjan Kumar (1):
      scsi: mpi3mr: Validate SAS port assignments

Seunghwan Baek (1):
      scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down

Wang Hai (1):
      scsi: target: core: Fix null-ptr-deref in target_alloc_device()

And the diffstat:

 drivers/scsi/mpi3mr/mpi3mr.h           |  4 ++--
 drivers/scsi/mpi3mr/mpi3mr_transport.c | 42 ++++++++++++++++++++++------------
 drivers/target/target_core_device.c    |  2 +-
 drivers/ufs/core/ufs-mcq.c             | 15 ++++++------
 drivers/ufs/core/ufshcd.c              | 24 ++++++-------------
 5 files changed, 45 insertions(+), 42 deletions(-)

With full diff below

diff --git a/drivers/scsi/mpi3mr/mpi3mr.h b/drivers/scsi/mpi3mr/mpi3mr.h
index fcb0fa31536b..16e0baeb8799 100644
--- a/drivers/scsi/mpi3mr/mpi3mr.h
+++ b/drivers/scsi/mpi3mr/mpi3mr.h
@@ -542,8 +542,8 @@ struct mpi3mr_hba_port {
  * @port_list: List of ports belonging to a SAS node
  * @num_phys: Number of phys associated with port
  * @marked_responding: used while refresing the sas ports
- * @lowest_phy: lowest phy ID of current sas port
- * @phy_mask: phy_mask of current sas port
+ * @lowest_phy: lowest phy ID of current sas port, valid for controller port
+ * @phy_mask: phy_mask of current sas port, valid for controller port
  * @hba_port: HBA port entry
  * @remote_identify: Attached device identification
  * @rphy: SAS transport layer rphy object
diff --git a/drivers/scsi/mpi3mr/mpi3mr_transport.c b/drivers/scsi/mpi3mr/mpi3mr_transport.c
index ccd23def2e0c..0ba9e6a6a13c 100644
--- a/drivers/scsi/mpi3mr/mpi3mr_transport.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_transport.c
@@ -590,12 +590,13 @@ static enum sas_linkrate mpi3mr_convert_phy_link_rate(u8 link_rate)
  * @mrioc: Adapter instance reference
  * @mr_sas_port: Internal Port object
  * @mr_sas_phy: Internal Phy object
+ * @host_node: Flag to indicate this is a host_node
  *
  * Return: None.
  */
 static void mpi3mr_delete_sas_phy(struct mpi3mr_ioc *mrioc,
 	struct mpi3mr_sas_port *mr_sas_port,
-	struct mpi3mr_sas_phy *mr_sas_phy)
+	struct mpi3mr_sas_phy *mr_sas_phy, u8 host_node)
 {
 	u64 sas_address = mr_sas_port->remote_identify.sas_address;
 
@@ -605,9 +606,13 @@ static void mpi3mr_delete_sas_phy(struct mpi3mr_ioc *mrioc,
 
 	list_del(&mr_sas_phy->port_siblings);
 	mr_sas_port->num_phys--;
-	mr_sas_port->phy_mask &= ~(1 << mr_sas_phy->phy_id);
-	if (mr_sas_port->lowest_phy == mr_sas_phy->phy_id)
-		mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1;
+
+	if (host_node) {
+		mr_sas_port->phy_mask &= ~(1 << mr_sas_phy->phy_id);
+
+		if (mr_sas_port->lowest_phy == mr_sas_phy->phy_id)
+			mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1;
+	}
 	sas_port_delete_phy(mr_sas_port->port, mr_sas_phy->phy);
 	mr_sas_phy->phy_belongs_to_port = 0;
 }
@@ -617,12 +622,13 @@ static void mpi3mr_delete_sas_phy(struct mpi3mr_ioc *mrioc,
  * @mrioc: Adapter instance reference
  * @mr_sas_port: Internal Port object
  * @mr_sas_phy: Internal Phy object
+ * @host_node: Flag to indicate this is a host_node
  *
  * Return: None.
  */
 static void mpi3mr_add_sas_phy(struct mpi3mr_ioc *mrioc,
 	struct mpi3mr_sas_port *mr_sas_port,
-	struct mpi3mr_sas_phy *mr_sas_phy)
+	struct mpi3mr_sas_phy *mr_sas_phy, u8 host_node)
 {
 	u64 sas_address = mr_sas_port->remote_identify.sas_address;
 
@@ -632,9 +638,12 @@ static void mpi3mr_add_sas_phy(struct mpi3mr_ioc *mrioc,
 
 	list_add_tail(&mr_sas_phy->port_siblings, &mr_sas_port->phy_list);
 	mr_sas_port->num_phys++;
-	mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id);
-	if (mr_sas_phy->phy_id < mr_sas_port->lowest_phy)
-		mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1;
+	if (host_node) {
+		mr_sas_port->phy_mask |= (1 << mr_sas_phy->phy_id);
+
+		if (mr_sas_phy->phy_id < mr_sas_port->lowest_phy)
+			mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1;
+	}
 	sas_port_add_phy(mr_sas_port->port, mr_sas_phy->phy);
 	mr_sas_phy->phy_belongs_to_port = 1;
 }
@@ -675,7 +684,7 @@ static void mpi3mr_add_phy_to_an_existing_port(struct mpi3mr_ioc *mrioc,
 			if (srch_phy == mr_sas_phy)
 				return;
 		}
-		mpi3mr_add_sas_phy(mrioc, mr_sas_port, mr_sas_phy);
+		mpi3mr_add_sas_phy(mrioc, mr_sas_port, mr_sas_phy, mr_sas_node->host_node);
 		return;
 	}
 }
@@ -736,7 +745,7 @@ static void mpi3mr_del_phy_from_an_existing_port(struct mpi3mr_ioc *mrioc,
 				mpi3mr_delete_sas_port(mrioc, mr_sas_port);
 			else
 				mpi3mr_delete_sas_phy(mrioc, mr_sas_port,
-				    mr_sas_phy);
+				    mr_sas_phy, mr_sas_node->host_node);
 			return;
 		}
 	}
@@ -1028,7 +1037,7 @@ mpi3mr_alloc_hba_port(struct mpi3mr_ioc *mrioc, u16 port_id)
 /**
  * mpi3mr_get_hba_port_by_id - find hba port by id
  * @mrioc: Adapter instance reference
- * @port_id - Port ID to search
+ * @port_id: Port ID to search
  *
  * Return: mpi3mr_hba_port reference for the matched port
  */
@@ -1367,7 +1376,8 @@ static struct mpi3mr_sas_port *mpi3mr_sas_port_add(struct mpi3mr_ioc *mrioc,
 	mpi3mr_sas_port_sanity_check(mrioc, mr_sas_node,
 	    mr_sas_port->remote_identify.sas_address, hba_port);
 
-	if (mr_sas_node->num_phys >= sizeof(mr_sas_port->phy_mask) * 8)
+	if (mr_sas_node->host_node && mr_sas_node->num_phys >=
+			sizeof(mr_sas_port->phy_mask) * 8)
 		ioc_info(mrioc, "max port count %u could be too high\n",
 		    mr_sas_node->num_phys);
 
@@ -1377,7 +1387,7 @@ static struct mpi3mr_sas_port *mpi3mr_sas_port_add(struct mpi3mr_ioc *mrioc,
 		    (mr_sas_node->phy[i].hba_port != hba_port))
 			continue;
 
-		if (i >= sizeof(mr_sas_port->phy_mask) * 8) {
+		if (mr_sas_node->host_node && (i >= sizeof(mr_sas_port->phy_mask) * 8)) {
 			ioc_warn(mrioc, "skipping port %u, max allowed value is %zu\n",
 			    i, sizeof(mr_sas_port->phy_mask) * 8);
 			goto out_fail;
@@ -1385,7 +1395,8 @@ static struct mpi3mr_sas_port *mpi3mr_sas_port_add(struct mpi3mr_ioc *mrioc,
 		list_add_tail(&mr_sas_node->phy[i].port_siblings,
 		    &mr_sas_port->phy_list);
 		mr_sas_port->num_phys++;
-		mr_sas_port->phy_mask |= (1 << i);
+		if (mr_sas_node->host_node)
+			mr_sas_port->phy_mask |= (1 << i);
 	}
 
 	if (!mr_sas_port->num_phys) {
@@ -1394,7 +1405,8 @@ static struct mpi3mr_sas_port *mpi3mr_sas_port_add(struct mpi3mr_ioc *mrioc,
 		goto out_fail;
 	}
 
-	mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1;
+	if (mr_sas_node->host_node)
+		mr_sas_port->lowest_phy = ffs(mr_sas_port->phy_mask) - 1;
 
 	if (mr_sas_port->remote_identify.device_type == SAS_END_DEVICE) {
 		tgtdev = mpi3mr_get_tgtdev_by_addr(mrioc,
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c
index bf4892544cfd..bb84d304b07e 100644
--- a/drivers/target/target_core_device.c
+++ b/drivers/target/target_core_device.c
@@ -691,7 +691,7 @@ struct se_device *target_alloc_device(struct se_hba *hba, const char *name)
 
 	dev->queues = kcalloc(nr_cpu_ids, sizeof(*dev->queues), GFP_KERNEL);
 	if (!dev->queues) {
-		dev->transport->free_device(dev);
+		hba->backend->ops->free_device(dev);
 		return NULL;
 	}
 
diff --git a/drivers/ufs/core/ufs-mcq.c b/drivers/ufs/core/ufs-mcq.c
index 5891cdacd0b3..3903947dbed1 100644
--- a/drivers/ufs/core/ufs-mcq.c
+++ b/drivers/ufs/core/ufs-mcq.c
@@ -539,7 +539,7 @@ int ufshcd_mcq_sq_cleanup(struct ufs_hba *hba, int task_tag)
 	struct scsi_cmnd *cmd = lrbp->cmd;
 	struct ufs_hw_queue *hwq;
 	void __iomem *reg, *opr_sqd_base;
-	u32 nexus, id, val;
+	u32 nexus, id, val, rtc;
 	int err;
 
 	if (hba->quirks & UFSHCD_QUIRK_MCQ_BROKEN_RTC)
@@ -569,17 +569,18 @@ int ufshcd_mcq_sq_cleanup(struct ufs_hba *hba, int task_tag)
 	opr_sqd_base = mcq_opr_base(hba, OPR_SQD, id);
 	writel(nexus, opr_sqd_base + REG_SQCTI);
 
-	/* SQRTCy.ICU = 1 */
-	writel(SQ_ICU, opr_sqd_base + REG_SQRTC);
+	/* Initiate Cleanup */
+	writel(readl(opr_sqd_base + REG_SQRTC) | SQ_ICU,
+		opr_sqd_base + REG_SQRTC);
 
 	/* Poll SQRTSy.CUS = 1. Return result from SQRTSy.RTC */
 	reg = opr_sqd_base + REG_SQRTS;
 	err = read_poll_timeout(readl, val, val & SQ_CUS, 20,
 				MCQ_POLL_US, false, reg);
-	if (err)
-		dev_err(hba->dev, "%s: failed. hwq=%d, tag=%d err=%ld\n",
-			__func__, id, task_tag,
-			FIELD_GET(SQ_ICU_ERR_CODE_MASK, readl(reg)));
+	rtc = FIELD_GET(SQ_ICU_ERR_CODE_MASK, readl(reg));
+	if (err || rtc)
+		dev_err(hba->dev, "%s: failed. hwq=%d, tag=%d err=%d RTC=%d\n",
+			__func__, id, task_tag, err, rtc);
 
 	if (ufshcd_mcq_sq_start(hba, hwq))
 		err = -ETIMEDOUT;
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 6a71ebf953e2..706dc81eb924 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -5416,10 +5416,12 @@ ufshcd_transfer_rsp_status(struct ufs_hba *hba, struct ufshcd_lrb *lrbp,
 		}
 		break;
 	case OCS_ABORTED:
-		result |= DID_ABORT << 16;
-		break;
 	case OCS_INVALID_COMMAND_STATUS:
 		result |= DID_REQUEUE << 16;
+		dev_warn(hba->dev,
+				"OCS %s from controller for tag %d\n",
+				(ocs == OCS_ABORTED ? "aborted" : "invalid"),
+				lrbp->task_tag);
 		break;
 	case OCS_INVALID_CMD_TABLE_ATTR:
 	case OCS_INVALID_PRDT_ATTR:
@@ -6465,26 +6467,12 @@ static bool ufshcd_abort_one(struct request *rq, void *priv)
 	struct scsi_device *sdev = cmd->device;
 	struct Scsi_Host *shost = sdev->host;
 	struct ufs_hba *hba = shost_priv(shost);
-	struct ufshcd_lrb *lrbp = &hba->lrb[tag];
-	struct ufs_hw_queue *hwq;
-	unsigned long flags;
 
 	*ret = ufshcd_try_to_abort_task(hba, tag);
 	dev_err(hba->dev, "Aborting tag %d / CDB %#02x %s\n", tag,
 		hba->lrb[tag].cmd ? hba->lrb[tag].cmd->cmnd[0] : -1,
 		*ret ? "failed" : "succeeded");
 
-	/* Release cmd in MCQ mode if abort succeeds */
-	if (hba->mcq_enabled && (*ret == 0)) {
-		hwq = ufshcd_mcq_req_to_hwq(hba, scsi_cmd_to_rq(lrbp->cmd));
-		if (!hwq)
-			return 0;
-		spin_lock_irqsave(&hwq->cq_lock, flags);
-		if (ufshcd_cmd_inflight(lrbp->cmd))
-			ufshcd_release_scsi_cmd(hba, lrbp);
-		spin_unlock_irqrestore(&hwq->cq_lock, flags);
-	}
-
 	return *ret == 0;
 }
 
@@ -10209,7 +10197,9 @@ static void ufshcd_wl_shutdown(struct device *dev)
 	shost_for_each_device(sdev, hba->host) {
 		if (sdev == hba->ufs_device_wlun)
 			continue;
-		scsi_device_quiesce(sdev);
+		mutex_lock(&sdev->state_mutex);
+		scsi_device_set_state(sdev, SDEV_OFFLINE);
+		mutex_unlock(&sdev->state_mutex);
 	}
 	__ufshcd_wl_suspend(hba, UFS_SHUTDOWN_PM);
 



.
Date: Sun, 20 Oct 2024 06:27:04 +0200
From: Christoph Hellwig <hch@infradead.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev
Subject: [GIT PULL] dma-mapping fix for Linux 6.12

The following changes since commit c964ced7726294d40913f2127c3f185a92cb4a41:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2024-10-16 13:37:59 -0700)

are available in the Git repository at:

  git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.12-2024-10-20

for you to fetch changes up to 78b2770c935fc1434a95cc17613fe31165b02dfe:

  dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory (2024-10-17 17:41:29 +0200)

----------------------------------------------------------------
dma-mapping fix for Linux 6.12

Just another small tracing fix from Sean.

----------------------------------------------------------------
Sean Anderson (1):
      dma-mapping: fix tracing dma_alloc/free with vmalloc'd memory

 include/trace/events/dma.h | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

.
Date: Sun, 20 Oct 2024 12:05:33 +0200
From: Juergen Gross <jgross@suse.com>
To: torvalds@linux-foundation.org
Cc: linux-kernel@vger.kernel.org,
	xen-devel@lists.xenproject.org,
	sstabellini@kernel.org
Subject: [GIT PULL] xen: branch for v6.12-rc4

Linus,

Please git pull the following tag:

 git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-6.12a-rc4-tag

xen: branch for v6.12-rc4

It contains just a single fix for a build failure introduced with a
patch in the 6.12 merge window.

Thanks.

Juergen

 drivers/xen/Kconfig                |  1 -
 drivers/xen/acpi.c                 | 24 ++++++++++++++++++++++++
 drivers/xen/privcmd.c              |  6 ++----
 drivers/xen/xen-pciback/pci_stub.c | 11 +++++++++--
 include/xen/acpi.h                 | 14 +++++++++-----
 5 files changed, 44 insertions(+), 12 deletions(-)

Jiqian Chen (1):
      xen: Remove dependency between pciback and privcmd

.
Date: Sun, 20 Oct 2024 12:49:57 +0200
From: Borislav Petkov <bp@alien8.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: x86-ml <x86@kernel.org>, lkml <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] sched/urgent for v6.12-rc4

Hi Linus,

please pull the sched/urgent lineup for v6.12-rc4.

Thx.

---

The following changes since commit c964ced7726294d40913f2127c3f185a92cb4a41:

  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma (2024-10-16 13:37:59 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/sched_urgent_for_v6.12_rc4

for you to fetch changes up to 5ec36fe24bd2d529ba415b9eaed44a689ab543ed:

  MAINTAINERS: Add an entry for PREEMPT_RT. (2024-10-17 21:33:30 +0200)

----------------------------------------------------------------
- Add PREEMPT_RT maintainers

- Fix another aspect of delayed dequeued tasks wrt determining their state,
  i.e., whether they're runnable or blocked

- Handle delayed dequeued tasks and their migration wrt PSI properly

- Fix the situation where a delayed dequeue task gets enqueued into a new
  class, which should not happen

- Fix a case where memory allocation would happen while the runqueue lock is
  held, which is a no-no

- Do not over-schedule when tasks with shorter slices preempt the currently
  running task

- Make sure delayed to deque entities are properly handled before unthrottling

- Other smaller cleanups and improvements

----------------------------------------------------------------
Chen Yu (1):
      sched/eevdf: Fix wakeup-preempt by checking cfs_rq->nr_running

Ingo Molnar (1):
      Merge branch 'linus' into sched/urgent, to resolve conflict

Johannes Weiner (1):
      sched/psi: Fix mistaken CPU pressure indication after corrupted task state bug

Mike Galbraith (1):
      sched: Fix sched_delayed vs cfs_bandwidth

Peter Zijlstra (3):
      sched: Fix delayed_dequeue vs switched_from_fair()
      sched/core: Dequeue PSI signals for blocked tasks that are delayed
      sched/fair: Fix external p->on_rq users

Phil Auld (1):
      sched/deadline: Use hrtick_enabled_dl() before start_hrtick_dl()

Sebastian Andrzej Siewior (1):
      MAINTAINERS: Add an entry for PREEMPT_RT.

Waiman Long (1):
      sched/core: Disable page allocation in task_tick_mm_cid()

 MAINTAINERS                   |  8 ++++++
 include/linux/sched.h         |  5 ++++
 include/linux/task_work.h     |  5 +++-
 kernel/events/core.c          |  2 +-
 kernel/freezer.c              |  7 ++++-
 kernel/rcu/tasks.h            |  9 +++++++
 kernel/sched/core.c           | 61 +++++++++++++++++++++++++++----------------
 kernel/sched/deadline.c       |  2 +-
 kernel/sched/ext.c            |  4 +--
 kernel/sched/fair.c           | 27 +++++--------------
 kernel/sched/sched.h          |  2 +-
 kernel/sched/stats.h          | 48 +++++++++++++++++++++++-----------
 kernel/sched/syscalls.c       | 13 ++++++---
 kernel/task_work.c            | 15 +++++++++--
 kernel/time/tick-sched.c      |  6 +++++
 kernel/trace/trace_selftest.c |  2 +-
 virt/kvm/kvm_main.c           |  2 +-
 17 files changed, 146 insertions(+), 72 deletions(-)


-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

.
Date: Sun, 20 Oct 2024 13:21:10 +0200
From: Borislav Petkov <bp@alien8.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: x86-ml <x86@kernel.org>, lkml <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] irq/urgent for v6.12-rc4

Hi Linus,

please pull the irq/urgent lineup for v6.12-rc4.

Thx.

---

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

  Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/irq_urgent_for_v6.12_rc4

for you to fetch changes up to d038109ac1c6bf619473dda03a16a6de58170f7f:

  irqchip/renesas-rzg2l: Fix missing put_device (2024-10-15 23:54:35 +0200)

----------------------------------------------------------------
- Fix a case for sifive-plic where an interrupt gets disabled *and* masked and
  remains masked when it gets reenabled later

- Plug a small race in GIC-v4 where userspace can force an affinity change of
  a virtual CPU (vPE) in its unmapping path

- Do not mix the two sets of ocelot irqchip's registers in the mask
  calculation of the main interrupt sticky register

- Other smaller fixlets and cleanups

----------------------------------------------------------------
Andrew Jones (1):
      irqchip/riscv-imsic: Fix output text of base address

Charlie Jenkins (1):
      irqchip/sifive-plic: Return error code on failure

Fabrizio Castro (1):
      irqchip/renesas-rzg2l: Fix missing put_device

Lukas Bulwahn (1):
      irqchip: Remove obsolete config ARM_GIC_V3_ITS_PCI

Marc Zyngier (1):
      irqchip/gic-v4: Don't allow a VMOVP on a dying VPE

Nam Cao (1):
      irqchip/sifive-plic: Unmask interrupt in plic_irq_enable()

Sergey Matsievskiy (2):
      irqchip/ocelot: Fix trigger register address
      irqchip/ocelot: Comment sticky register clearing code

Sunil V L (1):
      irqchip/riscv-intc: Fix SMP=n boot with ACPI

 drivers/irqchip/Kconfig                    |  7 -------
 drivers/irqchip/irq-gic-v3-its.c           | 18 ++++++++++++------
 drivers/irqchip/irq-mscc-ocelot.c          | 10 ++++++++--
 drivers/irqchip/irq-renesas-rzg2l.c        | 16 ++++++++++++++--
 drivers/irqchip/irq-riscv-imsic-platform.c |  2 +-
 drivers/irqchip/irq-riscv-intc.c           | 19 ++++++++++++++++++-
 drivers/irqchip/irq-sifive-plic.c          | 29 +++++++++++++++++------------
 include/linux/irqchip/arm-gic-v4.h         |  4 +++-
 8 files changed, 73 insertions(+), 32 deletions(-)


-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

.
Date: Sun, 20 Oct 2024 13:33:51 +0200
From: Borislav Petkov <bp@alien8.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: x86-ml <x86@kernel.org>, lkml <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] x86/urgent for v6.12-rc4

Hi Linus,

please pull the x86/urgent lineup for v6.12-rc4.

Thx.

---

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip tags/x86_urgent_for_v6.12_rc4

for you to fetch changes up to ffd95846c6ec6cf1f93da411ea10d504036cab42:

  x86/apic: Always explicitly disarm TSC-deadline timer (2024-10-15 05:45:18 -0700)

----------------------------------------------------------------
- Explicitly disable the TSC deadline timer when going idle to address
  some CPU errata in that area

- Do not apply the Zenbleed fix on anything else except AMD Zen2 on the
  late microcode loading path

- Clear CPU buffers later in the NMI exit path on 32-bit to avoid
  register clearing while they still contain sensitive data, for the
  RDFS mitigation

- Do not clobber EFLAGS.ZF with VERW on the opportunistic SYSRET exit
  path on 32-bit

- Fix parsing issues of memory bandwidth specification in sysfs for
  resctrl's memory bandwidth allocation feature

- Other small cleanups and improvements

----------------------------------------------------------------
John Allen (1):
      x86/CPU/AMD: Only apply Zenbleed fix for Zen2 during late microcode load

Martin Kletzander (1):
      x86/resctrl: Avoid overflow in MB settings in bw_validate()

Nathan Chancellor (1):
      x86/resctrl: Annotate get_mem_config() functions as __init

Pawan Gupta (3):
      x86/entry_32: Do not clobber user EFLAGS.ZF
      x86/entry_32: Clear CPU buffers after register restore in NMI return
      x86/bugs: Use code segment selector for VERW operand

Richard Gong (1):
      x86/amd_nb: Add new PCI ID for AMD family 1Ah model 20h

Zhang Rui (1):
      x86/apic: Always explicitly disarm TSC-deadline timer

 arch/x86/entry/entry_32.S                 |  6 ++++--
 arch/x86/include/asm/nospec-branch.h      | 11 ++++++++++-
 arch/x86/kernel/amd_nb.c                  |  2 ++
 arch/x86/kernel/apic/apic.c               | 14 +++++++++++++-
 arch/x86/kernel/cpu/amd.c                 |  3 ++-
 arch/x86/kernel/cpu/resctrl/core.c        |  4 ++--
 arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 23 ++++++++++++++---------
 7 files changed, 47 insertions(+), 16 deletions(-)


-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

.
Date: Sun, 20 Oct 2024 15:36:56 +0200
From: Greg KH <gregkh@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org,
	linux-usb@vger.kernel.org
Subject: [GIT PULL] USB fixes for 6.12-rc4

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.12-rc4

for you to fetch changes up to 1154a599214c655c8138b540f13845257f1952fd:

  Merge tag 'usb-serial-6.12-rc4' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus (2024-10-18 12:11:28 +0200)

----------------------------------------------------------------
USB driver fixes for 6.12-rc4

Here are some small USB driver fixes and new device ids for 6.12-rc4.
Included in here are:
  - xhci driver fixes for a number of reported issues
  - new usb-serial driver ids
  - dwc3 driver fixes for reported problems.
  - usb gadget driver fixes for reported problems
  - typec driver fixes
  - MAINTAINER file updates

All of these have been in linux-next this week with no reported issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

----------------------------------------------------------------
Alan Stern (1):
      USB: gadget: dummy-hcd: Fix "task hung" problem

Andrey Konovalov (1):
      MAINTAINERS: usb: raw-gadget: add bug tracker link

Benjamin B. Frost (1):
      USB: serial: option: add support for Quectel EG916Q-GL

Daniele Palmas (1):
      USB: serial: option: add Telit FN920C04 MBIM compositions

Greg Kroah-Hartman (1):
      Merge tag 'usb-serial-6.12-rc4' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus

Henry Lin (1):
      xhci: tegra: fix checked USB2 port number

Jonathan Marek (1):
      usb: typec: qcom-pmic-typec: fix sink status being overwritten with RP_DEF

Kevin Groeneveld (1):
      usb: gadget: f_uac2: fix return value for UAC2_ATTRIBUTE_STRING store

Mathias Nyman (3):
      xhci: Fix incorrect stream context type macro
      xhci: Mitigate failed set dequeue pointer commands
      xhci: dbc: honor usb transfer size boundaries.

Michal Pecio (1):
      usb: xhci: Fix handling errors mid TD followed by other errors

Prashanth K (1):
      usb: dwc3: Wait for EndXfer completion before restoring GUSB2PHYCFG

Roger Quadros (1):
      usb: dwc3: core: Fix system suspend on TI AM62 platforms

Sakari Ailus (1):
      MAINTAINERS: Add an entry for the LJCA drivers

Thadeu Lima de Souza Cascardo (1):
      usb: typec: altmode should keep reference to parent

 MAINTAINERS                                        | 11 ++++
 drivers/usb/dwc3/core.c                            | 19 ++++++
 drivers/usb/dwc3/core.h                            |  3 +
 drivers/usb/dwc3/gadget.c                          | 10 ++--
 drivers/usb/gadget/function/f_uac2.c               |  6 +-
 drivers/usb/gadget/udc/dummy_hcd.c                 | 20 +++++--
 drivers/usb/host/xhci-dbgcap.h                     |  1 +
 drivers/usb/host/xhci-dbgtty.c                     | 55 +++++++++++++++--
 drivers/usb/host/xhci-ring.c                       | 68 ++++++++++------------
 drivers/usb/host/xhci-tegra.c                      |  2 +-
 drivers/usb/host/xhci.h                            |  2 +-
 drivers/usb/serial/option.c                        |  8 +++
 drivers/usb/typec/class.c                          |  3 +
 drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c |  1 -
 14 files changed, 151 insertions(+), 58 deletions(-)

.
Date: Sun, 20 Oct 2024 15:37:22 +0200
From: Greg KH <gregkh@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>, Stephen Rothwell <sfr@canb.auug.org.au>,
	Andrew Morton <akpm@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org
Subject: [GIT PULL] TTY / Serial driver fixes for 6.12-rc4

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-6.12-rc4

for you to fetch changes up to be847a3a8d4ec4bf270c2455376d11f2de61bfb3:

  serial: qcom-geni: rename suspend functions (2024-10-11 08:39:24 +0200)

----------------------------------------------------------------
TTY/Serial driver fixes for 6.12-rc4

Here are some small tty and serial driver fixes for 6.12-rc4.  Included
in here are:
  - qcom-geni serial driver fixes, wow what a mess of a UART chip that
    thing is...
  - vt infoleak fix for odd font sizes
  - imx serial driver bugfix
  - yet-another n_gsm ldisc bugfix, slowly chipping down the issues in
    that piece of code.

All of these have been in linux-next for over a week with no reported
issues.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

----------------------------------------------------------------
Jeongjun Park (1):
      vt: prevent kernel-infoleak in con_font_get()

Johan Hovold (9):
      serial: qcom-geni: fix polled console initialisation
      serial: qcom-geni: revert broken hibernation support
      serial: qcom-geni: fix shutdown race
      serial: qcom-geni: fix dma rx cancellation
      serial: qcom-geni: fix receiver enable
      serial: qcom-geni: fix rx cancel dma status bit
      serial: qcom-geni: drop flip buffer WARN()
      serial: qcom-geni: drop unused receive parameter
      serial: qcom-geni: rename suspend functions

Longlong Xia (1):
      tty: n_gsm: Fix use-after-free in gsm_cleanup_mux

Marek Vasut (1):
      serial: imx: Update mctrl old_status on RTSD interrupt

 drivers/tty/n_gsm.c                   |   2 +
 drivers/tty/serial/imx.c              |  15 +++++
 drivers/tty/serial/qcom_geni_serial.c | 103 ++++++++++++++++------------------
 drivers/tty/vt/vt.c                   |   2 +-
 include/linux/soc/qcom/geni-se.h      |   2 +-
 5 files changed, 67 insertions(+), 57 deletions(-)

.
Date: Sun, 20 Oct 2024 15:38:32 +0200
From: Greg KH <gregkh@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Char/Misc driver fixes for 6.12-rc4

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-6.12-rc4

for you to fetch changes up to 9b673c7551e6881ee0946be95e21ba290c8ac45e:

  misc: rtsx: list supported models in Kconfig help (2024-10-18 13:40:17 +0200)

----------------------------------------------------------------
Char/Misc/IIO fixes for 6.12-rc4

Here are a number of small char/misc/iio driver fixes for 6.12-rc4.
Included in here are the following:
  - loads of small iio driver fixes for reported problems
  - parport driver out-of-bounds fix
  - Kconfig description and MAINTAINERS file updates

All of these, except for the Kconfig and MAINTAINERS file updates have
been in linux-next all week.  Those other two are just documentation
changes and will have no runtime issues and were merged on Friday.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

----------------------------------------------------------------
Christophe JAILLET (1):
      iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()

Dan Carpenter (2):
      iio: bmi323: fix copy and paste bugs in suspend resume
      iio: bmi323: fix reversed if statement in bmi323_core_runtime_resume()

David Lechner (1):
      iio: adc: ad4695: Add missing Kconfig select

Emil Gedenryd (1):
      iio: light: opt3001: add missing full-scale range value

Greg Kroah-Hartman (2):
      Merge tag 'iio-fixes-for-6.12a' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jic23/iio into char-misc-linus
      MAINTAINERS: Remove some entries due to various compliance requirements.

Heiko Thiery (2):
      misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for EEPROM device
      misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP device

Javier Carrasco (24):
      iio: light: veml6030: fix IIO device retrieval from embedded device
      iio: light: veml6030: fix ALS sensor resolution
      iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ad7944: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
      iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: chemical: ens160: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: magnetometer: af8133j: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: pressure: bm1390: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: resolver: ad2s1210 add missing select REGMAP in Kconfig
      iio: resolver: ad2s1210: add missing select (TRIGGERED_)BUFFER in Kconfig
      iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig
      iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig
      iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig
      iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig
      iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
      iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
      iio: frequency: {admv4420,adrf6780}: format Kconfig entries
      iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig

Jonathan Cameron (1):
      iio: pressure: sdp500: Add missing select CRC8

Mikhail Lobanov (1):
      iio: accel: bma400: Fix uninitialized variable field_value in tap event handling.

Mohammed Anees (1):
      iioc: dac: ltc2664: Fix span variable usage in ltc2664_channel_config()

Nathan Chancellor (1):
      iio: bmi323: Drop CONFIG_PM guards around runtime functions

Rob Herring (Arm) (1):
      dt-bindings: iio: dac: adi,ad56xx: Fix duplicate compatible strings

Takashi Iwai (1):
      parport: Proper fix for array out-of-bounds access

Yo-Jung (Leo) Lin (1):
      misc: rtsx: list supported models in Kconfig help

 .../devicetree/bindings/iio/dac/adi,ad5686.yaml    |  53 ++----
 .../devicetree/bindings/iio/dac/adi,ad5696.yaml    |   3 +-
 MAINTAINERS                                        | 178 ---------------------
 drivers/iio/accel/Kconfig                          |   2 +
 drivers/iio/accel/bma400_core.c                    |   3 +-
 drivers/iio/adc/Kconfig                            |  11 ++
 drivers/iio/amplifiers/Kconfig                     |   1 +
 drivers/iio/chemical/Kconfig                       |   2 +
 .../iio/common/hid-sensors/hid-sensor-trigger.c    |   2 +-
 drivers/iio/dac/Kconfig                            |   7 +
 drivers/iio/dac/ltc2664.c                          |  17 +-
 drivers/iio/frequency/Kconfig                      |  32 ++--
 drivers/iio/imu/bmi323/bmi323_core.c               |  23 ++-
 drivers/iio/light/Kconfig                          |   2 +
 drivers/iio/light/opt3001.c                        |   4 +
 drivers/iio/light/veml6030.c                       |   5 +-
 drivers/iio/magnetometer/Kconfig                   |   2 +
 drivers/iio/pressure/Kconfig                       |   4 +
 drivers/iio/proximity/Kconfig                      |   2 +
 drivers/iio/resolver/Kconfig                       |   3 +
 drivers/misc/cardreader/Kconfig                    |   3 +-
 drivers/misc/mchp_pci1xxxx/mchp_pci1xxxx_otpe2p.c  |   2 +
 drivers/parport/procfs.c                           |  22 +--
 23 files changed, 116 insertions(+), 267 deletions(-)

.
Date: Sun, 20 Oct 2024 19:39:54 +0200
From: Linus Walleij <linus.walleij@linaro.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>, linux-kernel <linux-kernel@vger.kernel.org>, 
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Subject: [GIT PULL] Pin control fixes for v6.12

Hi Linus,

here are some pin control fixes for the v6.12 series,
mostly error paths, but one pretty serious interrupt
problem in the Ocelot driver as well.

Details in the signed tag! Please pull it in!

Yours,
Linus Walleij

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

  Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git
tags/pinctrl-v6.12-2

for you to fetch changes up to 93b8ddc54507a227087c60a0013ed833b6ae7d3c:

  pinctrl: ocelot: fix system hang on level based interrupts
(2024-10-12 22:04:38 +0200)

----------------------------------------------------------------
Pin control fixes for the v6.12 kernel series:

- Fix two error paths and a missing semicolon in the
  Intel driver.

- Add a missing ACPI ID for the Intel Panther Lake.

- Check return value of devm_kasprintf() in the Apple
  and STM32 drivers.

- Add a missing mutex_destroy() in the aw9523 driver.

- Fix a double free in cv1800_pctrl_dt_node_to_map()
  in the Sophgo driver.

- Fix a double free in ma35_pinctrl_dt_node_to_map_func()
  in the Nuvoton driver.

- Fix a bug in the Ocelot interrupt handler making the
  system hang.

----------------------------------------------------------------
Andy Shevchenko (2):
      Merge patch series "pinctrl: intel: platform: fix error path in
device_for_each_child_node()"
      pinctrl: intel: platform: Add Panther Lake to the list of supported

Harshit Mogalapalli (2):
      pinctrl: sophgo: fix double free in cv1800_pctrl_dt_node_to_map()
      pinctrl: nuvoton: fix a double free in ma35_pinctrl_dt_node_to_map_func()

Javier Carrasco (2):
      pinctrl: intel: platform: fix error path in device_for_each_child_node()
      pinctrl: intel: platform: use semicolon instead of comma in
ncommunities assignment

Linus Walleij (1):
      Merge tag 'intel-pinctrl-v6.12-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/pinctrl/intel into fixes

Ma Ke (2):
      pinctrl: apple: check devm_kasprintf() returned value
      pinctrl: stm32: check devm_kasprintf() returned value

Rosen Penev (1):
      pinctrl: aw9523: add missing mutex_destroy

Sergey Matsievskiy (1):
      pinctrl: ocelot: fix system hang on level based interrupts

 drivers/pinctrl/intel/Kconfig                  | 1 +
 drivers/pinctrl/intel/pinctrl-intel-platform.c | 5 ++---
 drivers/pinctrl/nuvoton/pinctrl-ma35.c         | 2 +-
 drivers/pinctrl/pinctrl-apple-gpio.c           | 3 +++
 drivers/pinctrl/pinctrl-aw9523.c               | 6 ++++--
 drivers/pinctrl/pinctrl-ocelot.c               | 8 ++++----
 drivers/pinctrl/sophgo/pinctrl-cv18xx.c        | 2 +-
 drivers/pinctrl/stm32/pinctrl-stm32.c          | 9 +++++++--
 8 files changed, 23 insertions(+), 13 deletions(-)

.
Date: Mon, 21 Oct 2024 13:46:37 +0200
From: Christian Brauner <brauner@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Christian Brauner <brauner@kernel.org>,
	linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] vfs fixes

Hey Linus,

/* Summary */
This contains a few fixes:

afs:

- Fix a lock recursion in afs_wake_up_async_call() on ->notify_lock.

netfs:

- Drop the references to a folio immediately after the folio has been
  extracted to prevent races with future I/O collection.

- Fix a documenation build error.

- Downgrade the i_rwsem for buffered writes to fix a cifs reported
  performance regression when switching to netfslib.

vfs:

- Explicitly return -E2BIG from openat2() if the specified size is
  unexpectedly large. This aligns openat2() with other extensible struct
  based system calls.

- When copying a mount namespace ensure that we only try to remove the
  new copy from the mount namespace rbtree if it has already been added
  to it.

nilfs:

- Clear the buffer delay flag when clearing the buffer state clags when
  a buffer head is discarded to prevent a kernel OOPs.

ocfs2:

- Fix an unitialized value warning in ocfs2_setattr().

proc:

- Fix a kernel doc warning.

/* Testing */

gcc version 14.2.0 (Debian 14.2.0-3)
Debian clang version 16.0.6 (27+b1)

All patches are based on v6.11-rc2 and have been sitting in linux-next.
No build failures or warnings were observed.

/* Conflicts */

No known conflicts.

The following changes since commit 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b:

  Linux 6.12-rc2 (2024-10-06 15:32:27 -0700)

are available in the Git repository at:

  git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.12-rc5.fixes

for you to fetch changes up to 197231da7f6a2e9884f84a4a463f53f9f491d920:

  proc: Fix W=1 build kernel-doc warning (2024-10-18 13:02:47 +0200)

Please consider pulling these changes from the signed vfs-6.12-rc5.fixes tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.12-rc5.fixes

----------------------------------------------------------------
Aleksa Sarai (1):
      openat2: explicitly return -E2BIG for (usize > PAGE_SIZE)

Alessandro Zanni (1):
      fs: Fix uninitialized value issue in from_kuid and from_kgid

Christian Brauner (1):
      fs: don't try and remove empty rbtree node

David Howells (3):
      netfs: In readahead, put the folio refs as soon extracted
      netfs: Downgrade i_rwsem for a buffered write
      afs: Fix lock recursion

Jonathan Corbet (1):
      netfs: fix documentation build error

Ryusuke Konishi (1):
      nilfs2: fix kernel bug due to missing clearing of buffer delay flag

Thorsten Blum (1):
      proc: Fix W=1 build kernel-doc warning

 Documentation/filesystems/netfs_library.rst |  1 -
 fs/afs/internal.h                           |  2 +
 fs/afs/rxrpc.c                              | 83 ++++++++++++++++++++---------
 fs/namespace.c                              |  4 +-
 fs/netfs/buffered_read.c                    | 47 +++++-----------
 fs/netfs/locking.c                          |  3 +-
 fs/netfs/read_collect.c                     |  2 +
 fs/nilfs2/page.c                            |  6 ++-
 fs/ocfs2/file.c                             |  9 ++--
 fs/open.c                                   |  2 +
 fs/proc/fd.c                                |  2 +-
 include/trace/events/netfs.h                |  1 -
 12 files changed, 95 insertions(+), 67 deletions(-)

.
Date: Mon, 21 Oct 2024 23:55:34 +0900
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Qiao Ma <mqaio@linux.alibaba.com>, Steven Rostedt <rostedt@goodmis.org>,
 Masami Hiramatsu <mhiramat@kernel.org>, linux-kernel@vger.kernel.org
Subject: [GIT PULL] probes: Fixes for v6.12-rc4


Hi Linus,

Probes fixes for v6.12-rc4:

- uprobe: avoid out-of-bounds memory access of fetching args
  Uprobe trace events can cause out-of-bounds memory access when fetching
  user-space data which is bigger than one page, because it does not check
  the local CPU buffer size when reading the data. This checks the read
  data size and cut it down to the local CPU buffer size.


Please pull the latest probes-fixes-v6.12-rc4 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.12-rc4

Tag SHA1: 7490126e350b20cee68a1437bc1a43788e2c4ae5
Head SHA1: 373b9338c9722a368925d83bc622c596896b328e


Qiao Ma (1):
      uprobe: avoid out-of-bounds memory access of fetching args

----
 kernel/trace/trace_uprobe.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

.
Date: Mon, 21 Oct 2024 12:07:13 -0400
From: Sasha Levin <sashal@kernel.org>
To: torvalds@linux-foundation.org
Cc: ksummit@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: linus-next: improving functional testing for to-be-merged pull
 requests

Hi folks,

The linux-next tree we all know and love is widely used by the kernel
community for integration work. It offers several advantages:

	1. Early detection of conflicts between matinainer trees

	2. Catching most new build errors/warnings

However, it faces significant testing challenges:

	1. Contains a mix of "ready-to-go" code and experimental additions

	2. A single "bad" piece of code can affect testing of everything else

	3. Low barrier of entry, encouraging inclusion over exclusion

	4. While linux-next offers early conflict resolution and
	identifies build issues, it is very difficult to actually test
	due to the abundance of runtime issues it tends to have

These factors combine to make linux-next a valuable tool for integration
but problematic for comprehensive testing.

During the Maintainer's Summit, Linus Torvalds expressed concerns about
the quality of testing that code receives before he pulls it. The
subsequent discussion side-tracked to the testability of linux-next, but
we didn't directly address Linus's original concern about pre-pull
testing quality.

In an attempt to address the concerns, we're trying out a new "linus-next"
tree is being created and maintained with the following characteristics:

	1. Composed of pull requests sent directly to Linus

	2. Contains branches destined for imminent inclusion by Linus

	3. Higher code quality expectation (these are pull requests that
	maintainers expect Linus to pull)

	4. Continuous tree (not daily tags like in linux-next),
	facilitating easier bisection

The linus-next tree aims to provide a more stable and testable
integration point compared to linux-next, addressing the runtime issues
that make testing linux-next challenging and focusing on code that's
about to be pulled by Linus.

linus-next is (expected to be) particularly effective before the merge
window opens, as maintainers tend to send their pull requests early,
allowing for more thorough testing of to-be-merged changes.

We also want to avoid altering the existing workflow. In particular:

	1. No increase in latency. If anything, the expectation is that
	the cadence of merges would be improved given that Linus will
	need to do less builds and tests.

	2. Require "sign up" for the tree like linux-next does. Instead,
	pull requests are monitored and grabbed directly from the
	mailing list.

Tree location: `git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linus-next.git linus-next`

Current testing:
   - LKFT: https://qa-reports.linaro.org/lkft/sashal-linus-next/
   - KernelCI: https://t.ly/KEW7F

Feedback and suggestions for improving usability are welcome!

-- 
Thanks,
Sasha

.
Date: Tue, 22 Oct 2024 13:39:10 -0400
From: Kent Overstreet <kent.overstreet@linux.dev>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-bcachefs@vger.kernel.org, linux-fsdevel@vger.kernel.org, 
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] bcachefs fixes for 6.12-rc5


The following changes since commit 5e3b72324d32629fa013f86657308f3dbc1115e1:

  bcachefs: Fix sysfs warning in fstests generic/730,731 (2024-10-14 05:43:01 -0400)

are available in the Git repository at:

  https://github.com/koverstreet/bcachefs tags/bcachefs-2024-10-22

for you to fetch changes up to a069f014797fdef8757f3adebc1c16416271a599:

  bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path (2024-10-20 18:09:09 -0400)

----------------------------------------------------------------
bcachefs fixes for 6.12-rc5

Lots of hotfixes:
- transaction restart injection has been shaking out a few things

- fix a data corruption in the buffered write path on -ENOSPC, found by
  xfstests generic/299

- Some small show_options fixes

- Repair mismatches in inode hash type, seed: different snapshot
  versions of an inode must have the same hash/type seed, used for
  directory entries and xattrs. We were checking the hash seed, but not
  the type, and a user contributed a filesystem where the hash type on
  one inode had somehow been flipped; these fixes allow his filesystem
  to repair.

  Additionally, the hash type flip made some directory entries
  invisible, which were then recreated by userspace; so the hash check
  code now checks for duplicate non dangling dirents, and renames one of
  them if necessary.

- Don't use wait_event_interruptible() in recovery: this fixes some
  filesystems failing to mount with -ERESTARTSYS

- Workaround for kvmalloc not supporting > INT_MAX allocations, causing
  an -ENOMEM when allocating the sorted array of journal keys: this
  allows a 75 TB filesystem to mount

- Make sure bch_inode_unpacked.bi_snapshot is set in the old inode
  compat path: this alllows Marcin's filesystem (in use since before
  6.7) to repair and mount.

----------------------------------------------------------------
Hongbo Li (2):
      bcachefs: fix incorrect show_options results
      bcachefs: skip mount option handle for empty string.

Kent Overstreet (24):
      bcachefs: fix restart handling in bch2_rename2()
      bcachefs: fix bch2_hash_delete() error path
      bcachefs: fix restart handling in bch2_fiemap()
      bcachefs: fix missing restart handling in bch2_read_retry_nodecode()
      bcachefs: fix restart handling in bch2_do_invalidates_work()
      bcachefs: fix restart handling in bch2_alloc_write_key()
      bcachefs: fix restart handling in __bch2_resume_logged_op_finsert()
      bcachefs: handle restarts in bch2_bucket_io_time_reset()
      bcachefs: Don't use commit_do() unnecessarily
      bcachefS: ec: fix data type on stripe deletion
      bcachefs: fix disk reservation accounting in bch2_folio_reservation_get()
      bcachefs: bch2_folio_reservation_get_partial() is now better behaved
      bcachefs: Fix data corruption on -ENOSPC in buffered write path
      bcachefs: Run in-kernel offline fsck without ratelimit errors
      bcachefs: INODE_STR_HASH() for bch_inode_unpacked
      bcachefs: Add hash seed, type to inode_to_text()
      bcachefs: Repair mismatches in inode hash seed, type
      bcachefs: bch2_hash_set_or_get_in_snapshot()
      bcachefs: fsck: Improve hash_check_key()
      bcachefs: Fix __bch2_fsck_err() warning
      bcachefs: Don't use wait_event_interruptible() in recovery
      bcachefs: Workaround for kvmalloc() not supporting > INT_MAX allocations
      bcachefs: Mark more errors as AUTOFIX
      bcachefs: Set bch_inode_unpacked.bi_snapshot in old inode path

 fs/bcachefs/alloc_background.c      |  37 +++--
 fs/bcachefs/alloc_foreground.c      |   2 +-
 fs/bcachefs/btree_gc.c              |  12 +-
 fs/bcachefs/btree_io.c              |   2 +-
 fs/bcachefs/btree_iter.h            |   2 +
 fs/bcachefs/btree_update.c          |   4 +-
 fs/bcachefs/btree_update.h          |   2 +-
 fs/bcachefs/btree_update_interior.c |   4 +-
 fs/bcachefs/buckets.c               |   7 +-
 fs/bcachefs/buckets.h               |  12 +-
 fs/bcachefs/chardev.c               |   1 +
 fs/bcachefs/darray.c                |  15 +-
 fs/bcachefs/dirent.c                |   7 -
 fs/bcachefs/dirent.h                |   7 +
 fs/bcachefs/disk_accounting.c       |   6 +-
 fs/bcachefs/ec.c                    |  22 +--
 fs/bcachefs/error.c                 |   5 +-
 fs/bcachefs/fs-io-buffered.c        |   6 +
 fs/bcachefs/fs-io-pagecache.c       |  70 +++++----
 fs/bcachefs/fs-io.c                 |   2 +-
 fs/bcachefs/fs.c                    |  18 +--
 fs/bcachefs/fsck.c                  | 281 +++++++++++++++++++++++++++++-------
 fs/bcachefs/inode.c                 |  27 ++--
 fs/bcachefs/inode.h                 |   1 +
 fs/bcachefs/inode_format.h          |   6 +-
 fs/bcachefs/io_misc.c               |   2 +-
 fs/bcachefs/io_read.c               |   8 +-
 fs/bcachefs/io_write.c              |   4 +-
 fs/bcachefs/journal.c               |  10 +-
 fs/bcachefs/journal.h               |   2 +-
 fs/bcachefs/opts.c                  |   6 +-
 fs/bcachefs/opts.h                  |   3 +-
 fs/bcachefs/quota.c                 |   2 +-
 fs/bcachefs/rebalance.c             |   4 +-
 fs/bcachefs/recovery.c              |   2 +-
 fs/bcachefs/sb-errors_format.h      |   4 +-
 fs/bcachefs/str_hash.h              |  60 +++++---
 fs/bcachefs/subvolume.c             |   7 +-
 fs/bcachefs/super.c                 |   2 +-
 fs/bcachefs/tests.c                 |   4 +-
 fs/bcachefs/xattr.c                 |   2 +-
 41 files changed, 475 insertions(+), 205 deletions(-)

.
Date: Wed, 23 Oct 2024 08:38:10 -0500
From: Dave Kleikamp <dave.kleikamp@oracle.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org,
        "jfs-discussion@lists.sourceforge.net" <jfs-discussion@lists.sourceforge.net>
Subject: [GIT PULL] jfs updates for v6.12-rc5

The following changes since commit c2ee9f594da826bea183ed14f2cc029c719bf4da:

   KVM: selftests: Fix build on on non-x86 architectures (2024-10-21 15:49:33 -0700)

are available in the Git repository at:

   git@github.com:kleikamp/linux-shaggy.git tags/jfs-6.12-rc5

for you to fetch changes up to 67373ca8404fe57eb1bb4b57f314cff77ce54932:

   jfs: Fix sanity check in dbMount (2024-10-22 09:40:37 -0500)

----------------------------------------------------------------
Fix a regression introduced in 6.12-rc1

----------------------------------------------------------------
Dave Kleikamp (1):
       jfs: Fix sanity check in dbMount

  fs/jfs/jfs_dmap.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

.
Date: Wed, 23 Oct 2024 23:36:00 +0900
From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Leo Yan <leo.yan@arm.com>, Mikel Rychliski <mikel@mikelr.com>, Viktor
 Malik <vmalik@redhat.com>, Steven Rostedt <rostedt@goodmis.org>,
 linux-kernel@vger.kernel.org, Masami Hiramatsu <mhiramat@kernel.org>
Subject: [GIT PULL] probes: Fixes for v6.12-rc4-2

Hi Linus,

Probes fixes for v6.12-rc4(2):

- objpool: Fix choosing allocation for percpu slots
  Fixes to allocate objpool's percpu slots correctly according to the
  GFP flag. It checks whether "any bit" in GFP_ATOMIC is set to choose
  the vmalloc source, but it should check "all bits" in GFP_ATOMIC flag
  is set, because GFP_ATOMIC is a combined flag.

- tracing/probes: Fix MAX_TRACE_ARGS limit handling
  If more than MAX_TRACE_ARGS are passed for creating a probe event, the
  entries over MAX_TRACE_ARG in trace_arg array are not initialized.
  Thus if the kernel accesses those entries, it crashes. This rejects
  creating event if the number of arguments is over MAX_TRACE_ARGS.

- tracing: Consider the NULL character when validating the event length
  A strlen() is used when parsing the event name, and the original code
  does not consider the terminal null byte. Thus it can pass the name
  1 byte longer than the buffer. This fixes to check it correctly.


Please pull the latest probes-fixes-v6.12-rc4.2 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
probes-fixes-v6.12-rc4.2

Tag SHA1: 62eeda86599cd8c8fe92b4bc6181ef6d2c1e6e03
Head SHA1: 0b6e2e22cb23105fcb171ab92f0f7516c69c8471


Leo Yan (1):
      tracing: Consider the NULL character when validating the event length

Mikel Rychliski (1):
      tracing/probes: Fix MAX_TRACE_ARGS limit handling

Viktor Malik (1):
      objpool: fix choosing allocation for percpu slots

----
 kernel/trace/trace_eprobe.c | 7 ++++++-
 kernel/trace/trace_fprobe.c | 6 +++++-
 kernel/trace/trace_kprobe.c | 6 +++++-
 kernel/trace/trace_probe.c  | 2 +-
 kernel/trace/trace_uprobe.c | 4 +++-
 lib/objpool.c               | 2 +-
 6 files changed, 21 insertions(+), 6 deletions(-)

-- 
Masami Hiramatsu (Google) <mhiramat@kernel.org>

.
Date: Wed, 23 Oct 2024 22:52:12 +0800
From: Huacai Chen <chenhuacai@loongson.cn>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Arnd Bergmann <arnd@arndb.de>,
	Huacai Chen <chenhuacai@kernel.org>
Cc: loongarch@lists.linux.dev,
	linux-arch@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Guo Ren <guoren@kernel.org>,
	Xuerui Wang <kernel@xen0n.name>,
	Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Huacai Chen <chenhuacai@loongson.cn>
Subject: [GIT PULL] LoongArch fixes for v6.12-rc5

The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

  Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson.git tags/loongarch-fixes-6.12-1

for you to fetch changes up to 73adbd92f3223dc0c3506822b71c6b259d5d537b:

  LoongArch: KVM: Mark hrtimer to expire in hard interrupt context (2024-10-23 22:15:44 +0800)

----------------------------------------------------------------
LoongArch fixes for v6.12-rc5

Get correct cores_per_package for SMT systems, enable IRQ if do_ale()
triggered in irq-enabled context, and fix some bugs about vDSO, memory
managenent, hrtimer in KVM, etc. 
----------------------------------------------------------------
Bibo Mao (1):
      LoongArch: Set initial pte entry with PAGE_GLOBAL for kernel space

Huacai Chen (5):
      LoongArch: Get correct cores_per_package for SMT systems
      LoongArch: Enable IRQ if do_ale() triggered in irq-enabled context
      LoongArch: Set correct size for vDSO code mapping
      LoongArch: Make KASAN usable for variable cpu_vabits
      LoongArch: KVM: Mark hrtimer to expire in hard interrupt context

Thomas Weißschuh (1):
      LoongArch: Don't crash in stack_top() for tasks without vDSO

Yanteng Si (1):
      LoongArch: Use "Exception return address" to comment ERA

 arch/loongarch/include/asm/bootinfo.h  |  4 ++++
 arch/loongarch/include/asm/kasan.h     |  2 +-
 arch/loongarch/include/asm/loongarch.h |  2 +-
 arch/loongarch/include/asm/pgalloc.h   | 11 +++++++++++
 arch/loongarch/include/asm/pgtable.h   | 35 +++++++---------------------------
 arch/loongarch/kernel/process.c        | 16 +++++++++-------
 arch/loongarch/kernel/setup.c          |  3 ++-
 arch/loongarch/kernel/traps.c          |  5 +++++
 arch/loongarch/kernel/vdso.c           |  8 ++++----
 arch/loongarch/kvm/timer.c             |  7 ++++---
 arch/loongarch/kvm/vcpu.c              |  2 +-
 arch/loongarch/mm/init.c               |  2 ++
 arch/loongarch/mm/pgtable.c            | 20 +++++++++++++++++++
 include/linux/mm.h                     |  3 ++-
 mm/kasan/init.c                        |  8 +++++++-
 mm/sparse-vmemmap.c                    |  5 +++++
 16 files changed, 85 insertions(+), 48 deletions(-)

.
Date: Wed, 23 Oct 2024 18:07:39 +0200
From: David Sterba <dsterba@suse.com>
To: torvalds@linux-foundation.org
Cc: David Sterba <dsterba@suse.com>,
	linux-btrfs@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] Btrfs fixes for 6.12-rc5

Hi,

please pull the following fixes, all for stable trees. Thanks.

- mount option fixes:
  - fix handling of compression mount options on remount
  - reject rw remount in case there are options that don't work in
    read-write mode (like rescue options)

- fix zone accounting of unusable space

- fix in-memory corruption when merging extent maps

- fix delalloc range locking for sector < page

- use more convenient default value of drop subtree threshold, clean
  more subvolumes without the fallback to marking quotas inconsistent

- fix smatch warning about incorrect value passed to ERR_PTR

----------------------------------------------------------------
The following changes since commit 2ab5e243c2266c841e0f6904fad1514b18eaf510:

  btrfs: fix uninitialized pointer free on read_alloc_one_name() error (2024-10-11 19:55:04 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git tags/for-6.12-rc4-tag

for you to fetch changes up to 75f49c3dc7b7423d3734f2e4dabe3dac8d064338:

  btrfs: fix passing 0 to ERR_PTR in btrfs_search_dir_index_item() (2024-10-22 16:10:55 +0200)

----------------------------------------------------------------
Boris Burkov (1):
      btrfs: fix read corruption due to race with extent map merging

Filipe Manana (1):
      btrfs: clear force-compress on remount when compress mount option is given

Naohiro Aota (1):
      btrfs: zoned: fix zone unusable accounting for freed reserved extent

Qu Wenruo (3):
      btrfs: qgroup: set a more sane default value for subtree drop threshold
      btrfs: fix the delalloc range locking if sector size < page size
      btrfs: reject ro->rw reconfiguration if there are hard ro requirements

Yue Haibing (1):
      btrfs: fix passing 0 to ERR_PTR in btrfs_search_dir_index_item()

 fs/btrfs/block-group.c |  2 ++
 fs/btrfs/dir-item.c    |  4 ++--
 fs/btrfs/disk-io.c     |  2 +-
 fs/btrfs/extent_io.c   | 17 +++++++++--------
 fs/btrfs/extent_map.c  | 31 ++++++++++++++++---------------
 fs/btrfs/inode.c       |  7 ++-----
 fs/btrfs/qgroup.c      |  2 +-
 fs/btrfs/qgroup.h      |  2 ++
 fs/btrfs/super.c       | 12 ++++++++++--
 9 files changed, 45 insertions(+), 34 deletions(-)

.
Date: Thu, 24 Oct 2024 18:10:44 +0300
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>,
	Andy Shevchenko <andy@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH v1 1/1] pinctrl: intel: Add a human readable decoder for pull bias values

Add a human readable decoder for pull bias values in the comment.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/pinctrl/intel/pinctrl-intel.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/pinctrl/intel/pinctrl-intel.c b/drivers/pinctrl/intel/pinctrl-intel.c
index f6f6d3970d5d..86cabb73904f 100644
--- a/drivers/pinctrl/intel/pinctrl-intel.c
+++ b/drivers/pinctrl/intel/pinctrl-intel.c
@@ -85,6 +85,18 @@
 #define PADCFG1_TERM_UP			BIT(13)
 #define PADCFG1_TERM_SHIFT		10
 #define PADCFG1_TERM_MASK		GENMASK(12, 10)
+/*
+ * Bit 0  Bit 1  Bit 2			Value, Ohms
+ *
+ *   0      0      0			-
+ *   0      0      1			20000
+ *   0      1      0			5000
+ *   0      1      1			~4000
+ *   1      0      0			1000 (if supported)
+ *   1      0      1			~952 (if supported)
+ *   1      1      0			~833 (if supported)
+ *   1      1      1			~800 (if supported)
+ */
 #define PADCFG1_TERM_20K		BIT(2)
 #define PADCFG1_TERM_5K			BIT(1)
 #define PADCFG1_TERM_4K			(BIT(2) | BIT(1))
-- 
2.43.0.rc1.1336.g36b5255a03ac


.
Date: Thu, 24 Oct 2024 23:18:15 +0200 (CEST)
From: Jiri Kosina <jikos@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Subject: [GIT PULL] HID fixes for 6.12

Linus,

please _*ignore the trolls*_, and then pull from=20

  git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git tags/hid-for-li=
nus-20241024

to receive HID subsystem fixes:

=3D=3D=3D=3D=3D
- device-specific functionality quirks for Thinkpad X1 Gen3, Logitech Bolt=
=20
  and some Goodix touchpads (Bart=B3omiej Mary=F1czak, Hans de Goede and=20
  Kenneth Albanowski
=3D=3D=3D=3D=3D

----------------------------------------------------------------
Bart=B3omiej Mary=F1czak (1):
      HID: i2c-hid: Delayed i2c resume wakeup for 0x0d42 Goodix touchpad

Hans de Goede (1):
      HID: lenovo: Add support for Thinkpad X1 Tablet Gen 3 keyboard

Kenneth Albanowski (1):
      HID: multitouch: Add quirk for Logitech Bolt receiver w/ Casa touchpa=
d

 drivers/hid/hid-ids.h              |  2 ++
 drivers/hid/hid-lenovo.c           |  8 ++++++++
 drivers/hid/hid-multitouch.c       |  4 ++++
 drivers/hid/i2c-hid/i2c-hid-core.c | 10 ++++++++++
 4 files changed, 24 insertions(+)

--=20
Jiri Kosina
SUSE Labs


.
Date: Fri, 25 Oct 2024 17:10:25 +1000
From: Dave Airlie <airlied@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>, Sima Vetter <sima@ffwll.ch>
Cc: dri-devel <dri-devel@lists.freedesktop.org>, LKML <linux-kernel@vger.kernel.org>
Subject: [git pull] drm fixes for 6.12-rc5

Hi Linus,

Weekly drm fixes, mostly amdgpu and xe, with minor bridge and an i915
Kconfig fix. Nothing too scary and it seems to be pretty quiet.

Dave.

drm-fixes-2024-10-25:
drm fixes for 6.12-rc5

amdgpu:
- ACPI method handling fixes
- SMU 14.x fixes
- Display idle optimization fix
- DP link layer compliance fix
- SDMA 7.x fix
- PSR-SU fix
- SWSMU fix

i915:
- Fix DRM_I915_GVT_KVMGT dependencies in Kconfig

xe:
- Increase invalidation timeout to avoid errors in some hosts
- Flush worker on timeout
- Better handling for force wake failure
- Improve argument check on user fence creation
- Don't restart parallel queues multiple times on GT reset

bridge:
- aux: Fix assignment of OF node
- tc358767: Add missing of_node_put() in error path
The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

  Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/kernel.git tags/drm-fixes-2024-10-25

for you to fetch changes up to 4d95a12beba146b0ca2de59c7ce905bc0aadfd0c:

  Merge tag 'drm-xe-fixes-2024-10-24-1' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes
(2024-10-25 16:55:39 +1000)

----------------------------------------------------------------
drm fixes for 6.12-rc5

amdgpu:
- ACPI method handling fixes
- SMU 14.x fixes
- Display idle optimization fix
- DP link layer compliance fix
- SDMA 7.x fix
- PSR-SU fix
- SWSMU fix

i915:
- Fix DRM_I915_GVT_KVMGT dependencies in Kconfig

xe:
- Increase invalidation timeout to avoid errors in some hosts
- Flush worker on timeout
- Better handling for force wake failure
- Improve argument check on user fence creation
- Don't restart parallel queues multiple times on GT reset

bridge:
- aux: Fix assignment of OF node
- tc358767: Add missing of_node_put() in error path

----------------------------------------------------------------
Abel Vesa (1):
      drm/bridge: Fix assignment of the of_node of the parent to aux bridge

Alex Deucher (1):
      drm/amdgpu: handle default profile on on devices without fullscreen 3D

Arnd Bergmann (1):
      i915: fix DRM_I915_GVT_KVMGT dependencies

Aurabindo Pillai (2):
      drm/amd/display: temp w/a for dGPU to enter idle optimizations
      drm/amd/display: temp w/a for DP Link Layer compliance

Badal Nilawar (1):
      drm/xe/guc/ct: Flush g2h worker in case of g2h response timeout

Dave Airlie (4):
      Merge tag 'amd-drm-fixes-6.12-2024-10-23' of
https://gitlab.freedesktop.org/agd5f/linux into drm-fixes
      Merge tag 'drm-intel-fixes-2024-10-24' of
https://gitlab.freedesktop.org/drm/i915/kernel into drm-fixes
      Merge tag 'drm-misc-fixes-2024-10-24' of
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes
      Merge tag 'drm-xe-fixes-2024-10-24-1' of
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes

Frank Min (1):
      drm/amdgpu: fix random data corruption for sdma 7

Javier Carrasco (1):
      drm/bridge: tc358767: fix missing of_node_put() in
for_each_endpoint_of_node()

Kenneth Feng (3):
      drm/amd/pm: update the driver-fw interface file for smu v14.0.2/3
      drm/amd/pm: update overdrive function on smu v14.0.2/3
      drm/amd/pm: update deep sleep status on smu v14.0.2/3

Mario Limonciello (2):
      drm/amd: Guard against bad data for ATIF ACPI method
      drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too

Nirmoy Das (2):
      drm/xe/ufence: Prefetch ufence addr to catch bogus address
      drm/xe: Don't restart parallel queues multiple times on GT reset

Shuicheng Lin (2):
      drm/xe: Enlarge the invalidation timeout from 150 to 500
      drm/xe: Handle unreliable MMIO reads during forcewake

 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c           |  15 ++-
 drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c             |   9 +-
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  |   3 +-
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c  |  13 ++
 .../drm/amd/display/modules/power/power_helpers.c  |   2 +
 drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c          |  11 +-
 .../pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h   | 132 +++++++++++++--------
 drivers/gpu/drm/amd/pm/swsmu/inc/smu_v14_0.h       |   2 +-
 .../gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c   |  66 ++++-------
 drivers/gpu/drm/bridge/aux-bridge.c                |   3 +-
 drivers/gpu/drm/bridge/tc358767.c                  |   1 +
 drivers/gpu/drm/i915/Kconfig                       |   3 +-
 drivers/gpu/drm/xe/xe_device.c                     |   2 +-
 drivers/gpu/drm/xe/xe_force_wake.c                 |  12 +-
 drivers/gpu/drm/xe/xe_guc_ct.c                     |  18 +++
 drivers/gpu/drm/xe/xe_guc_submit.c                 |  14 ++-
 drivers/gpu/drm/xe/xe_sync.c                       |   3 +-
 17 files changed, 202 insertions(+), 107 deletions(-)

.
Date: Fri, 25 Oct 2024 10:45:05 +0200
From: Takashi Iwai <tiwai@suse.de>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
 Linux Sound Mailing List <linux-sound@vger.kernel.org>, Linux Kernel
 Mailing List <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] sound fixes for 6.12-rc5

Linus,

please pull sound fixes for v6.12-rc5 from:

  git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-6.12-rc5

The topmost commit is c9f7a144e7e3effd49303bfc58c07cc10ab2d573

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

sound fixes for 6.12-rc5

The majority of changes here are about ASoC.

There are two core changes in ASoC (the bump of minimal topology
ABI version and the fix for references of components in DAPM code),
and others are mostly various device-specific fixes for SoundWire,
AMD, Intel, SOF, Qualcomm and FSL, in addition to a few usual
HD-audio quirks and fixes.

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

Alexey Klimov (2):
      ASoC: qcom: sdm845: add missing soundwire runtime stream alloc
      ASoC: codecs: lpass-rx-macro: fix RXn(rx,n) macro for DSM_CTL and SEC7 regs

Amadeusz S³awiñski (2):
      ASoC: Intel: avs: Update stream status in a separate thread
      ASoC: topology: Bump minimal topology ABI version

Andrei Simion (1):
      MAINTAINERS: Update maintainer list for MICROCHIP ASOC, SSC and MCP16502 drivers

Andrey Shumilin (1):
      ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()

Benjamin Bara (1):
      ASoC: dapm: avoid container_of() to get component

Binbin Zhou (1):
      ASoC: loongson: Fix component check failed on FDT systems

Chancel Liu (1):
      ASoC: fsl_micfil: Add a flag to distinguish with different volume control types

Christian Heusel (1):
      ASoC: amd: yc: Add quirk for ASUS Vivobook S15 M3502RA

Colin Ian King (1):
      ASoC: max98388: Fix missing increment of variable slot_found

Derek Fang (1):
      ASoC: Intel: soc-acpi: lnl: Add match entry for TM2 laptops

Eric Biggers (1):
      ALSA: hda/tas2781: select CRC32 instead of CRC32_SARWATE

Ilya Dudikov (1):
      ASoC: amd: yc: Fix non-functional mic on ASUS E1404FA

Jack Yu (1):
      ASoC: rt722-sdca: increase clk_stop_timeout to fix clock stop issue

José Relvas (1):
      ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593

Kai Vehmanen (1):
      ASoC: SOF: Intel: hda-loader: do not wait for HDaudio IOC

Kailang Yang (1):
      ALSA: hda/realtek: Update default depop procedure

Kirill Marinushkin (1):
      ASoC: Change my e-mail to gmail

Krzysztof Kozlowski (2):
      ASoC: qcom: Select missing common Soundwire module code on SDM845
      ASoC: qcom: sc7280: Fix missing Soundwire runtime stream alloc

Lad Prabhakar (1):
      ASoC: rsnd: Fix probe failure on HiHope boards due to endpoint parsing

Miquel Raynal (1):
      ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties

Ranjani Sridharan (4):
      ASoC: SOF: ipc4-topology: Do not set ALH node_id for aggregated DAIs
      ASoC: SOF: Intel: hda: Handle prepare without close for non-HDA DAI's
      soundwire: intel_ace2x: Send PDI stream number during prepare
      ASoC: SOF: Intel: hda: Always clean up link DMA during stop

Shengjiu Wang (2):
      ASoC: fsl_esai: change dev_warn to dev_dbg in irq handler
      ASoC: fsl_micfil: Add sample rate constraint

Venkata Prasad Potturu (2):
      ASoC: SOF: amd: Add error log for DSP firmware validation failure
      ASoC: SOF: amd: Fix for ACP SRAM addr for acp7.0 platform

Zhu Jun (1):
      ASoC: codecs: Fix error handling in aw_dev_get_dsp_status function

Zichen Xie (1):
      ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()

---
 .../bindings/sound/davinci-mcasp-audio.yaml        | 18 ++---
 MAINTAINERS                                        |  5 +-
 drivers/soundwire/intel_ace2x.c                    | 19 ++---
 include/uapi/sound/asoc.h                          |  2 +-
 sound/firewire/amdtp-stream.c                      |  3 +
 sound/pci/hda/Kconfig                              |  2 +-
 sound/pci/hda/patch_realtek.c                      | 48 +++++++------
 sound/soc/amd/yc/acp6x-mach.c                      | 14 ++++
 sound/soc/codecs/aw88399.c                         |  2 +-
 sound/soc/codecs/lpass-rx-macro.c                  | 15 ++--
 sound/soc/codecs/max98388.c                        |  1 +
 sound/soc/codecs/pcm3060-i2c.c                     |  4 +-
 sound/soc/codecs/pcm3060-spi.c                     |  4 +-
 sound/soc/codecs/pcm3060.c                         |  4 +-
 sound/soc/codecs/pcm3060.h                         |  2 +-
 sound/soc/codecs/rt722-sdca-sdw.c                  |  2 +-
 sound/soc/fsl/fsl_esai.c                           |  4 +-
 sound/soc/fsl/fsl_micfil.c                         | 81 +++++++++++++++++++++-
 sound/soc/intel/avs/core.c                         |  3 +-
 sound/soc/intel/avs/pcm.c                          | 19 +++++
 sound/soc/intel/avs/pcm.h                          | 16 +++++
 sound/soc/intel/common/soc-acpi-intel-lnl-match.c  | 38 ++++++++++
 sound/soc/loongson/loongson_card.c                 |  1 +
 sound/soc/qcom/Kconfig                             |  2 +
 sound/soc/qcom/lpass-cpu.c                         |  2 +
 sound/soc/qcom/sc7280.c                            | 10 ++-
 sound/soc/qcom/sdm845.c                            |  7 +-
 sound/soc/sh/rcar/core.c                           |  7 +-
 sound/soc/soc-dapm.c                               |  4 +-
 sound/soc/sof/amd/acp-loader.c                     |  5 +-
 sound/soc/sof/amd/acp.c                            |  4 +-
 sound/soc/sof/intel/hda-dai-ops.c                  | 23 +++---
 sound/soc/sof/intel/hda-dai.c                      | 37 ++++++++--
 sound/soc/sof/intel/hda-loader.c                   | 17 -----
 sound/soc/sof/ipc4-topology.c                      | 15 +++-
 35 files changed, 329 insertions(+), 111 deletions(-)
 create mode 100644 sound/soc/intel/avs/pcm.h


.
Date: Fri, 25 Oct 2024 10:54:13 +0000
From: "Winiarska, Iwona" <iwona.winiarska@intel.com>
To: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>
Subject: [GIT PULL] PECI changes for v6.13-rc1

SGkgR3JlZyENCg0KUGxlYXNlIHB1bGwgUEVDSSB1cGRhdGUgZm9yIExpbnV4IHY2LjEzLg0KDQpU
aGFua3MNCi1Jd29uYQ0KDQpUaGUgZm9sbG93aW5nIGNoYW5nZXMgc2luY2UgY29tbWl0IDQyZjc2
NTJkM2ViNTI3ZDAzNjY1YjA5ZWRhYzQ3Zjg1ZmI2MDA5MjQ6DQoNCiAgTGludXggNi4xMi1yYzQg
KDIwMjQtMTAtMjAgMTU6MTk6MzggLTA3MDApDQoNCmFyZSBhdmFpbGFibGUgaW4gdGhlIEdpdCBy
ZXBvc2l0b3J5IGF0Og0KDQogIGdpdDovL2dpdC5rZXJuZWwub3JnL3B1Yi9zY20vbGludXgva2Vy
bmVsL2dpdC9pd2kvbGludXguZ2l0IHRhZ3MvcGVjaS1uZXh0LTYuMTMtcmMxDQoNCmZvciB5b3Ug
dG8gZmV0Y2ggY2hhbmdlcyB1cCB0byA3MzNkYzk3OGZhYjY1OWRlZTk5Mzg3MzllMmI5ZTg4Y2U3
MmYwNDA4Og0KDQogIHBlY2k6IG5wY206IENvbnN0aWZ5IHN0cnVjdCBwZWNpX2NvbnRyb2xsZXJf
b3Bz4oCLICgyMDI0LTEwLTI1IDEwOjU4OjA3ICswMjAwKQ0KDQotLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpVcGRhdGUgcGVj
aS1uZXh0IGZvciB2Ni4xMy1yYzENCg0KQSBzbWFsbCBjaGFuZ2UgaW4gcGVjaS1ucGNtIGRyaXZl
ciB0byBtYXJrIHBlY2lfY29udHJvbGxlcl9vcHMgYXMgY29uc3QuDQoNCi0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCkNocmlz
dG9waGUgSkFJTExFVCAoMSk6DQogICAgICBwZWNpOiBucGNtOiBDb25zdGlmeSBzdHJ1Y3QgcGVj
aV9jb250cm9sbGVyX29wc+KAiw0KDQogZHJpdmVycy9wZWNpL2NvbnRyb2xsZXIvcGVjaS1ucGNt
LmMgfCAyICstDQogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0p
DQo=

.
Date: Fri, 25 Oct 2024 10:20:53 -0400
From: Chuck Lever <chuck.lever@oracle.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org,
        Jeff Layton <jlayton@kernel.org>
Subject: [GIT PULL] additional NFSD fixes for v6.12-rc

The following changes since commit c88c150a467fcb670a1608e2272beeee3e86df6e:

  nfsd: fix possible badness in FREE_STATEID (2024-10-05 15:44:25 -0400)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/cel/linux.git tags/nfsd-6.12-2

for you to fetch changes up to d5ff2fb2e7167e9483846e34148e60c0c016a1f6:

  nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net (2024-10-21 10:27:36 -0400)

----------------------------------------------------------------
nfsd-6.12 fixes:

- Fix a couple of use-after-free bugs

----------------------------------------------------------------
Olga Kornievskaia (1):
      nfsd: fix race between laundromat and free_stateid

Yang Erkun (1):
      nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net

 fs/nfsd/nfs4state.c | 50 +++++++++++++++++++++++++++++++++++++++++---------
 fs/nfsd/state.h     |  2 ++
 2 files changed, 43 insertions(+), 9 deletions(-)

-- 
Chuck Lever

.
Date: Fri, 25 Oct 2024 16:25:04 +0200
From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
	linux-gpio@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Subject: [GIT PULL] gpio fixes for v6.12-rc5

From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Linus,

Please pull the following MAINTAINERS update that adds a keyword pattern
to the GPIO entry the goal of which is to alert us to anyone trying to
use the deprecated, legacy API (this happens almost every release).

Thanks,
Bartosz

The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git tags/gpio-fixes-for-v6.12-rc5

for you to fetch changes up to 7e336a6c15ec7675adc1b376ca176ab013642098:

  MAINTAINERS: add a keyword entry for the GPIO subsystem (2024-10-22 09:13:10 +0200)

----------------------------------------------------------------
gpio fixes for v6.12-rc5

- update MAINTAINERS with a keyword pattern for legacy GPIO API

----------------------------------------------------------------
Bartosz Golaszewski (1):
      MAINTAINERS: add a keyword entry for the GPIO subsystem

 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

.
Date: Fri, 25 Oct 2024 17:30:08 +0200
From: Miklos Szeredi <miklos@szeredi.hu>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: [GIT PULL] fuse fixes for 6.12-rc5

Hi Linus,

Please pull from:

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git
tags/fuse-fixes-6.12-rc5

- Fix cached size after passthrough writes

- Revert a commit meant as a cleanup but which triggered a WARNING

- Remove a stray debug line left in a commit

The passthrough fix needed a trivial change in the backing-file API,
which resulted in some non-fuse files being touched.

Thanks,
Miklos
---

Amir Goldstein (2):
      fs: pass offset and result to backing_file end_write() callback
      fuse: update inode size after extending passthrough write

Miklos Szeredi (2):
      Revert "fuse: move initialization of fuse_file to
fuse_writepages() instead of in callback"
      fuse: remove stray debug line

---
 fs/backing-file.c            |  8 ++++----
 fs/fuse/file.c               | 18 ++++++++++++------
 fs/fuse/passthrough.c        |  9 ++++-----
 fs/overlayfs/file.c          |  9 +++++++--
 include/linux/backing-file.h |  2 +-
 5 files changed, 28 insertions(+), 18 deletions(-)

.
Date: Fri, 25 Oct 2024 17:50:46 +0200
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux PM <linux-pm@vger.kernel.org>, 
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, 
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>
Subject: [GIT PULL] Power management fixes for v6.12-rc5

Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 pm-6.12-rc5

with top-most commit 1646a3f2b1bda03a763f7aecf83504144fb8bba9

 Merge branch 'pm-powercap'

on top of commit 42f7652d3eb527d03665b09edac47f85fb600924

 Linux 6.12-rc4

to receive power management fixes for 6.12-rc5.

These update cpufreq documentation to match the code after recent
changes (Christian Loehle), fix a units conversion issue in the CPPC
cpufreq driver (liwei), and fix an error check in the dtpm_devfreq
power capping driver (Yuan Can).

Thanks!


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

Christian Loehle (1):
      cpufreq: docs: Reflect latency changes in docs

Yuan Can (1):
      powercap: dtpm_devfreq: Fix error check against dev_pm_qos_add_request()

liwei (1):
      cpufreq: CPPC: fix perf_to_khz/khz_to_perf conversion exception

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

 Documentation/admin-guide/pm/cpufreq.rst | 20 ++++++++++----------
 drivers/acpi/cppc_acpi.c                 | 22 +++++++++++++++++-----
 drivers/powercap/dtpm_devfreq.c          |  2 +-
 3 files changed, 28 insertions(+), 16 deletions(-)

.
Date: Fri, 25 Oct 2024 17:52:09 +0200
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>, 
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] ACPI updates for v6.12-rc5

Hi Linus,

Please pull from the tag

 git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
 acpi-6.12-rc5

with top-most commit 54774abb5549c619909b5c3e2605bc643e83d9a7

 Merge branches 'acpi-resource' and 'acpi-button'

on top of commit 42f7652d3eb527d03665b09edac47f85fb600924

 Linux 6.12-rc4

to receive ACPI updates for 6.12-rc5.

These fix an ACPI PRM (Platform Runtime Mechanism) issue and add two
new DMI quirks, one for an ACPI IRQ override and one for lid switch
detection:

 - Make acpi_parse_prmt() look for EFI_MEMORY_RUNTIME memory regions
   only to comply with the UEFI specification and make PRM use
   efi_guid_t instead of guid_t to avoid a compiler warning triggered
   by that change (Koba Ko, Dan Carpenter).

 - Add an ACPI IRQ override quirk for LG 16T90SP (Christian Heusel).

 - Add a lid switch detection quirk for Samsung Galaxy Book2 (Shubham
   Panwar).

Thanks!


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

Christian Heusel (1):
      ACPI: resource: Add LG 16T90SP to irq1_level_low_skip_override[]

Dan Carpenter (1):
      ACPI: PRM: Clean up guid type in struct prm_handler_info

Koba Ko (1):
      ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context

Shubham Panwar (1):
      ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix
initial lid detection issue

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

 drivers/acpi/button.c   | 11 +++++++++++
 drivers/acpi/prmt.c     | 29 +++++++++++++++++++++++------
 drivers/acpi/resource.c |  7 +++++++
 3 files changed, 41 insertions(+), 6 deletions(-)

.
Date: Fri, 25 Oct 2024 11:40:10 -0500
From: Steve French <smfrench@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, CIFS <linux-cifs@vger.kernel.org>
Subject: [GIT PULL] smb3 client fixes

Please pull the following changes since commit
42f7652d3eb527d03665b09edac47f85fb600924:

  Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

  git://git.samba.org/sfrench/cifs-2.6.git tags/v6.12-rc4-smb3-client-fixes

for you to fetch changes up to 2ce1007f42b8a6a0814386cb056feb28dc6d6091:

  cifs: fix warning when destroy 'cifs_io_request_pool' (2024-10-23
07:42:44 -0500)

----------------------------------------------------------------
Two smb3 client fixes, also for stable
- Fix init module error caseb
- Fix memory allocation error path (for passwords) in mount

----------------------------------------------------------------
Henrique Carvalho (1):
      smb: client: Handle kstrdup failures for passwords

Ye Bin (1):
      cifs: fix warning when destroy 'cifs_io_request_pool'

 fs/smb/client/cifsfs.c     | 2 +-
 fs/smb/client/fs_context.c | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)


-- 
Thanks,

Steve

.
Date: Fri, 25 Oct 2024 18:04:12 +0200
From: Helge Deller <deller@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
	dri-devel@lists.freedesktop.org
Subject: [GIT PULL] fbdev late fixes for v6.12-rc5

Hi Linus,

would you please pull a few late fbdev fixes ?
It's mostly about build warning fixes with cornercase CONFIG settings
and one big patch which removes the now unused da8xx fbdev driver.

Those patches have been in for-next for the last 10 days without issues
(Arnd's patch shows a later date because I added a R-b tag).

Thanks,
Helge

----------------------------------------------------------------
The following changes since commit 8e929cb546ee42c9a61d24fae60605e9e3192354:

  Linux 6.12-rc3 (2024-10-13 14:33:32 -0700)

are available in the Git repository at:

  http://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev.git tags/fbdev-for-6.12-rc5

for you to fetch changes up to 51521d2e2c35959cc70a62ccddf694965e29c950:

  fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS (2024-10-21 11:16:51 +0200)

----------------------------------------------------------------
fbdev fixes for 6.12-rc5:

- Fix some build warnings and failures with CONFIG_FB_IOMEM_FOPS and
  CONFIG_FB_DEVICE
- Remove the da8xx fbdev driver
- Constify struct sbus_mmap_map and fix indentation warning

----------------------------------------------------------------
Arnd Bergmann (1):
      fbdev: wm8505fb: select CONFIG_FB_IOMEM_FOPS

Bartosz Golaszewski (1):
      fbdev: da8xx: remove the driver

Christophe JAILLET (1):
      fbdev: Constify struct sbus_mmap_map

Gonzalo Silvalde Blanco (1):
      fbdev: sstfb: Make CONFIG_FB_DEVICE optional

SurajSonawane2415 (1):
      fbdev: nvidiafb: fix inconsistent indentation warning

 drivers/video/fbdev/Kconfig        |   15 +-
 drivers/video/fbdev/Makefile       |    1 -
 drivers/video/fbdev/bw2.c          |    2 +-
 drivers/video/fbdev/cg14.c         |    2 +-
 drivers/video/fbdev/cg3.c          |    2 +-
 drivers/video/fbdev/cg6.c          |    2 +-
 drivers/video/fbdev/da8xx-fb.c     | 1665 ------------------------------------
 drivers/video/fbdev/ffb.c          |    2 +-
 drivers/video/fbdev/leo.c          |    2 +-
 drivers/video/fbdev/nvidia/nv_hw.c |    8 +-
 drivers/video/fbdev/p9100.c        |    2 +-
 drivers/video/fbdev/sbuslib.c      |    2 +-
 drivers/video/fbdev/sbuslib.h      |    2 +-
 drivers/video/fbdev/sstfb.c        |    9 +-
 drivers/video/fbdev/tcx.c          |    2 +-
 include/video/da8xx-fb.h           |   94 --
 16 files changed, 22 insertions(+), 1790 deletions(-)
 delete mode 100644 drivers/video/fbdev/da8xx-fb.c
 delete mode 100644 include/video/da8xx-fb.h

.
Date: Fri, 25 Oct 2024 12:31:25 -0500
From: Bjorn Helgaas <helgaas@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
	Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
	Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= <kwilczynski@kernel.org>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
	Bartosz Golaszewski <bartosz.golaszewski@linaro.org>,
	Johan Hovold <johan@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>
Subject: [GIT PULL] PCI fixes for v6.12

The following changes since commit 9852d85ec9d492ebef56dc5f229416c925758edc:

  Linux 6.12-rc1 (2024-09-29 15:06:19 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git tags/pci-v6.12-fixes-1

for you to fetch changes up to ad783b9f8e78572fff3b04b6caee7bea3821eea8:

  PCI/pwrctl: Abandon QCom WCN probe on pre-pwrseq device-trees (2024-10-23 13:34:41 -0500)

----------------------------------------------------------------
- Hold the rescan lock while adding devices to avoid race with concurrent
  pwrctl rescan that can lead to a crash (Bartosz Golaszewski)

- Avoid binding pwrctl driver to QCom WCN wifi if the DT lacks the
  necessary PMU regulator descriptions (Bartosz Golaszewski)

----------------------------------------------------------------
Bartosz Golaszewski (2):
      PCI: Hold rescan lock while adding devices during host probe
      PCI/pwrctl: Abandon QCom WCN probe on pre-pwrseq device-trees

 drivers/pci/probe.c                    |  2 ++
 drivers/pci/pwrctl/pci-pwrctl-pwrseq.c | 55 ++++++++++++++++++++++++++++++----
 2 files changed, 52 insertions(+), 5 deletions(-)

.
Date: Sat, 26 Oct 2024 06:36:01 +0900
From: Dominique Martinet <asmadeus@codewreck.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Will Deacon <will@kernel.org>,
	Christian Schoenebeck <linux_oss@crudebyte.com>,
	Eric Van Hensbergen <ericvh@kernel.org>, v9fs@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Thorsten Leemhuis <regressions@leemhuis.info>
Subject: [GIT PULL] more 9p reverts for 6.12-rc5

Hi Linus,

- see tip commit (simplify iget revert) for full explanation.
This problem had been ignored for too long and the reverts will also
head to stable (6.9+)
- rebased yesterday to remove the use-folio revert that was applied
directly, but patches are fairly new anyway. I'm confident this set of
patches gets us back to previous behaviour (another related patch had
already been reverted back in April and we're almost back to square 1,
and the rest didn't touch inode lifecycle)

Thanks!


The following changes since commit 42f7652d3eb527d03665b09edac47f85fb600924:

  Linux 6.12-rc4 (2024-10-20 15:19:38 -0700)

are available in the Git repository at:

  https://github.com/martinetd/linux tags/9p-for-6.12-rc5

for you to fetch changes up to be2ca3825372085d669d322dccd0542a90e5b434:

  Revert "fs/9p: simplify iget to remove unnecessary paths" (2024-10-25 06:26:09 +0900)

----------------------------------------------------------------
Revert patches causing inode collision problems

----------------------------------------------------------------
Dominique Martinet (4):
      Revert " fs/9p: mitigate inode collisions"
      Revert "fs/9p: remove redundant pointer v9ses"
      Revert "fs/9p: fix uaf in in v9fs_stat2inode_dotl"
      Revert "fs/9p: simplify iget to remove unnecessary paths"

 fs/9p/v9fs.h           |  34 +++++++++++++++----
 fs/9p/v9fs_vfs.h       |   2 +-
 fs/9p/vfs_inode.c      | 129 ++++++++++++++++++++++++++++++++++++++++++++++--------------------------
 fs/9p/vfs_inode_dotl.c | 112 ++++++++++++++++++++++++++++++++++++++++++++------------------
 fs/9p/vfs_super.c      |   2 +-
 5 files changed, 192 insertions(+), 87 deletions(-)

--
Dominique Martinet | Asmadeus

.
Date: Sat, 26 Oct 2024 03:45:06 -0400
From: Steven Rostedt <rostedt@goodmis.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Masami Hiramatsu
 <mhiramat@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Mathieu
 Desnoyers <mathieu.desnoyers@efficios.com>, Li Huafei
 <lihuafei1@huawei.com>
Subject: [GIT PULL] ftrace: Function graph fixes for 6.12


Linus,

Fixes for function graph:

- Fix missing mutex unlock in error path of register_ftrace_graph()

  A previous fix added a return on an error path and forgot to unlock the
  mutex. Instead of dealing with error paths, use guard(mutex) as the mutex
  is just released at the exit of the function anyway. Other functions
  in this file should be updated with this, but that's a cleanup and not
  a fix.

- Change cpuhp setup name to be consistent with other cpuhp states

  The same fix that the above patch fixes added a cpuhp_setup_state() call
  with the name of "fgraph_idle_init". I was informed that it should instead
  be something like: "fgraph:online". Update that too.


Please pull the latest ftrace-v6.12-rc4 tree, which can be found at:


  git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git
ftrace-v6.12-rc4

Tag SHA1: 8f6be7ca396ba3c46995234d3b17f61bb99a3a20
Head SHA1: a574e7f80e86c740e241c762923f50077b2c2a30


Li Huafei (1):
      fgraph: Fix missing unlock in register_ftrace_graph()

Steven Rostedt (1):
      fgraph: Change the name of cpuhp state to "fgraph:online"

----
 kernel/trace/fgraph.c | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---------------------------
diff --git a/kernel/trace/fgraph.c b/kernel/trace/fgraph.c
index 41e7a15dcb50..69e226a48daa 100644
--- a/kernel/trace/fgraph.c
+++ b/kernel/trace/fgraph.c
@@ -1252,10 +1252,10 @@ int register_ftrace_graph(struct fgraph_ops *gops)
 	int ret = 0;
 	int i = -1;
 
-	mutex_lock(&ftrace_lock);
+	guard(mutex)(&ftrace_lock);
 
 	if (!fgraph_initialized) {
-		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph_idle_init",
+		ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "fgraph:online",
 					fgraph_cpu_init, NULL);
 		if (ret < 0) {
 			pr_warn("fgraph: Error to init cpu hotplug support\n");
@@ -1273,10 +1273,8 @@ int register_ftrace_graph(struct fgraph_ops *gops)
 	}
 
 	i = fgraph_lru_alloc_index();
-	if (i < 0 || WARN_ON_ONCE(fgraph_array[i] != &fgraph_stub)) {
-		ret = -ENOSPC;
-		goto out;
-	}
+	if (i < 0 || WARN_ON_ONCE(fgraph_array[i] != &fgraph_stub))
+		return -ENOSPC;
 	gops->idx = i;
 
 	ftrace_graph_active++;
@@ -1313,8 +1311,6 @@ int register_ftrace_graph(struct fgraph_ops *gops)
 		gops->saved_func = NULL;
 		fgraph_lru_release_index(i);
 	}
-out:
-	mutex_unlock(&ftrace_lock);
 	return ret;
 }
 

.
Date: Sat, 26 Oct 2024 13:52:22 +0200
From: Hans de Goede <hdegoede@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
 platform-driver-x86@vger.kernel.org,
 =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>
Subject: [GIT PULL] platform-drivers-x86 for 6.12-3

Hi Linus,

Here is the second round of fixes for platform-drivers-x86 for 6.12.

Highlights:
 - Asus thermal profile fix, fixing performance issues on Lunar Lake
 - Intel PMC: 1 revert for a lockdep issue + 1 bugfix
 - Dell WMI: Ignore some WMI events on suspend/resume to silence warnings

Regards,

Hans


The following changes since commit 2fae3129c0c08e72b1fe93e61fd8fd203252094a:

  platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors (2024-10-06 12:50:50 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git tags/platform-drivers-x86-v6.12-3

for you to fetch changes up to b012170fed282151f7ba8988a347670c299f5ab3:

  platform/x86: asus-wmi: Fix thermal profile initialization (2024-10-26 13:03:10 +0200)

----------------------------------------------------------------
platform-drivers-x86 for v6.12-3

Highlights:
 - Asus thermal profile fix, fixing performance issues on Lunar Lake
 - Intel PMC: 1 revert for a lockdep issue + 1 bugfix
 - Dell WMI: Ignore some WMI events on suspend/resume to silence warnings

The following is an automated git shortlog grouped by driver:

asus-wmi:
 -  Fix thermal profile initialization

dell-wmi:
 -  Ignore suspend notifications

intel/pmc:
 -  Revert "Enable the ACPI PM Timer to be turned off when suspended"

platform/x86/intel/pmc:
 -  Fix pmc_core_iounmap to call iounmap for valid addresses

----------------------------------------------------------------
Armin Wolf (2):
      platform/x86: dell-wmi: Ignore suspend notifications
      platform/x86: asus-wmi: Fix thermal profile initialization

Marek Maslanka (1):
      platform/x86:intel/pmc: Revert "Enable the ACPI PM Timer to be turned off when suspended"

Vamsi Krishna Brahmajosyula (1):
      platform/x86/intel/pmc: Fix pmc_core_iounmap to call iounmap for valid addresses

 drivers/platform/x86/asus-wmi.c             | 10 +++++++
 drivers/platform/x86/dell/dell-wmi-base.c   |  9 ++++++
 drivers/platform/x86/intel/pmc/adl.c        |  2 --
 drivers/platform/x86/intel/pmc/cnp.c        |  2 --
 drivers/platform/x86/intel/pmc/core.c       | 46 -----------------------------
 drivers/platform/x86/intel/pmc/core.h       |  8 -----
 drivers/platform/x86/intel/pmc/core_ssram.c |  4 ++-
 drivers/platform/x86/intel/pmc/icl.c        |  2 --
 drivers/platform/x86/intel/pmc/mtl.c        |  2 --
 drivers/platform/x86/intel/pmc/tgl.c        |  2 --
 10 files changed, 22 insertions(+), 65 deletions(-)


.
