Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720813

[git pull] IOMMU Fixes for Linux iommu-fixes-v4.13-rc6

From Joerg Roedel <joro@8bytes.org>
Newsgroups linux.kernel
Subject [git pull] IOMMU Fixes for Linux iommu-fixes-v4.13-rc6
Date 2017-08-27 14:50 +0200
Message-ID <uj5aO-7Jf-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[git pull] IOMMU Fixes for Linux iommu-fixes-v4.13-rc6 Joerg Roedel <joro@8bytes.org> - 2017-08-27 14:50 +0200

csiph-web