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]
Date:   Wed, 4 Jan 2017 17:46:19 +0000
From:   Marc Zyngier <marc.zyngier@....com>
To:     valmiki <valmikibow@...il.com>, linux-kernel@...r.kernel.org,
        linux-pci@...r.kernel.org
Cc:     helgaas@...nel.org, arnd@...db.de, mark.rutland@....com
Subject: Re: Need clarity on MSI handling in RC driver

On 04/01/17 17:39, valmiki wrote:
> Hi All,
> 
> I have a doubt, the MSI domains are handled differently in different RC 
> drivers.
> 
> Some drivers use irq_domain_add_linear alone, and some use 
> pci_msi_create_irq_domain also to handle MSI.
> 
> In most of the 32-bit architectures only irq_domain_add_linear is used 
> and in 64 bit drivers both pci_msi_create_irq_domain and 
> irq_domain_add_linear are used.
> 
> So is this because of architecture difference between ARM and ARM64 ?

Neither. This is purely a software construct. Newer drivers use the
generic MSI infrastructure (which also allows things like non-PCI MSI),
while older drivers use some ad-hoc infrastructure which is more or less
specific to PCI.

The former is the way to go, and the latter is being phased out.

I'll let Mark draw some shiny ASCII art.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ