iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [git pull] IOMMU Fixes for Linux iommu-fixes-v4.13-rc6
@ 2017-08-27 12:45 Joerg Roedel
  0 siblings, 0 replies; only message in thread
From: Joerg Roedel @ 2017-08-27 12:45 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, iommu

[-- Attachment #1: Type: text/plain, Size: 1597 bytes --]

Hi Linus,

The following changes since commit a7990c647b35415e3dd07a077480a908678947ba:

  iommu/arm-smmu: fix null-pointer dereference in arm_smmu_add_device (2017-08-11 16:56:51 +0200)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v4.13-rc6

for you to fetch changes up to 2926a2aa5c14fb2add75e6584845b1c03022235f:

  iommu: Fix wrong freeing of iommu_device->dev (2017-08-15 13:58:48 +0200)

----------------------------------------------------------------
IOMMU Fixes for Linux v4.13-rc6

Another fix, this time in common IOMMU sysfs code

	- In the conversion from the old iommu sysfs-code to the
	  iommu_device_register interface, I missed to update the
	  release path for the struct device associated with an IOMMU.
	  It freed the 'struct device', which was a pointer before, but
	  is now embedded in another struct. Freeing from the middle of
	  allocated memory had all kinds of nasty side effects when an
	  IOMMU was unplugged. Unfortunatly nobody unplugged and IOMMU
	  until now, so this was not discovered earlier.  The fix is to
	  make the 'struct device' a pointer again.

----------------------------------------------------------------
Joerg Roedel (1):
      iommu: Fix wrong freeing of iommu_device->dev

 drivers/iommu/amd_iommu_types.h |  4 +++-
 drivers/iommu/intel-iommu.c     |  4 +++-
 drivers/iommu/iommu-sysfs.c     | 32 ++++++++++++++++++++------------
 include/linux/iommu.h           | 12 +++++++++++-
 4 files changed, 37 insertions(+), 15 deletions(-)

Please pull.

Thanks,

	Joerg

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-08-27 12:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-27 12:45 [git pull] IOMMU Fixes for Linux iommu-fixes-v4.13-rc6 Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).