IOMMU Fix for Linux v6.10-rc3

AMD-Vi: Fix regression causing panics
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEr9jSbILcajRFYWYyK/BELZcBGuMFAmZsWK4ACgkQK/BELZcB
 GuP1HhAAphegHgTetqL3xFagKPeG2Uval00Btpr0Jw7T6HyujwAzH7TXf2LmI2F1
 Jpd6420Yxde+4E0iC4W7F2E5qCr18Fr7BDYd+yUlZVRlB1pk9kqUqQBngqJQo0AN
 3Id7XeUEDJcvaWajpJBY26cGmkXcERAUcgxFTADGkg2T3usDVfCtwQRANpoIaKug
 bbenGGQgg8tRYCpayYAiImo37Kk18s1FP9bbp8GUtlYGbgL2jaQmS2+qDG694P/h
 i72DQIwfBs5yMN3oixBLwBi9nK1vZjz+vnKxDiaCRJNf5ikm6zOrd5kvVBcepgs7
 SOJaBaYsm0X3fUHSey608LTV6dK4eytBjLn2EYf32tb2w44+WPsSJJfkLL5z3wpq
 mrlMmtSJWIeLIxNTgPbo/siSMtLrMmawwdJ3buSewp+hV6arTx02eOrJg+dInelc
 oLeANscakPhIAezFXQJMTyNk/YX89jXOganrqe7HXH9P66LCV0vI3nrv1BxIqx9x
 KOAOknvzVRtRCmMBSkRlgKVdWLvEOpr1di9rgk9BLl5kcEKWxMS2PbkHdIQH3d2M
 wjTHW9qut7AMNZAyOMzJJ1T2nVwMxfxze2kETbKGad+0ZDPdh4r2E4w90kM/Y6u+
 TkYsyzxCEpkgj5aA6d16EJhKXbmTBSRQQtB1PAORk/p/TtwjrVE=
 =fmkj
 -----END PGP SIGNATURE-----

Merge tag 'iommu-fix-v6.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu

Pull iommu fix from Joerg Roedel:
 "A single patch that fixes a regression which several people reported:

   - AMD-Vi: Fix regression causing panics"

* tag 'iommu-fix-v6.10-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
  iommu/amd: Fix panic accessing amd_iommu_enable_faulting
This commit is contained in:
Linus Torvalds 2024-06-14 10:06:29 -07:00
commit 11100273f2
1 changed files with 1 additions and 1 deletions

View File

@ -3362,7 +3362,7 @@ int amd_iommu_reenable(int mode)
return 0;
}
int __init amd_iommu_enable_faulting(unsigned int cpu)
int amd_iommu_enable_faulting(unsigned int cpu)
{
/* We enable MSI later when PCI is initialized */
return 0;