lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130110170941.GA2556@8bytes.org>
Date:	Thu, 10 Jan 2013 18:09:43 +0100
From:	Joerg Roedel <joro@...tes.org>
To:	Alexey Kardashevskiy <aik@...abs.ru>
Cc:	Joerg Roedel <joerg.roedel@....com>,
	Benjamin Herrenschmidt <benh@...nel.crashing.org>,
	linux-kernel@...r.kernel.org, iommu@...ts.linux-foundation.org
Subject: Re: [PATCH] iommu: moving initialization earlier

On Mon, Jan 07, 2013 at 06:51:52PM +1100, Alexey Kardashevskiy wrote:
> The iommu_init() initializes IOMMU internal structures and data
> required for the IOMMU API as iommu_group_alloc().
> It is registered as a subsys_initcall now.
> 
> One of the IOMMU users is going to be a PCI subsystem on POWER.
> It discovers new IOMMU tables during the PCI scan so the logical
> place to call iommu_group_alloc() is the moment when a new group
> is discovered. However PCI scan is done from subsys_initcall hook
> as IOMMU does so PCI hook can be (and is) called before the IOMMU one.
> 
> The patch moves IOMMU subsystem initialization one step earlier
> to make sure that IOMMU is initialized before PCI scan begins.
> 
> Signed-off-by: Alexey Kardashevskiy <aik@...abs.ru>

Applied, thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ