Re: [PATCH 1/1] powerpc: Force 32 bit MSIs on systems lacking firmware support

2013-05-21 Thread Mike Qiu
于 2013/5/22 5:54, Brian King 写道: Recent commit e61133dda480062d221f09e4fc18f66763f8ecd0 added support for a new firmware feature to force an adapter to use 32 bit MSIs. However, this firmware is not available for all systems. The hack below allows devices needing 32 bit MSIs to work on these syst

Re: [PATCH 1/1] powerpc: Force 32 bit MSIs on systems lacking firmware support

2013-05-21 Thread Benjamin Herrenschmidt
On Wed, 2013-05-22 at 14:36 +1000, Michael Ellerman wrote: > This is basically baking knowledge of phyp's address layout into the > kernel right? Which is OK, but it needs a big fat comment describing > exactly what it's doing and why it's safe. Not pHyp really but the HW, basically this should wo

Re: [PATCH 1/1] powerpc: Force 32 bit MSIs on systems lacking firmware support

2013-05-21 Thread Michael Ellerman
On Tue, May 21, 2013 at 04:54:04PM -0500, Brian King wrote: > > Recent commit e61133dda480062d221f09e4fc18f66763f8ecd0 added support > for a new firmware feature to force an adapter to use 32 bit MSIs. > However, this firmware is not available for all systems. The hack below > allows devices needi

[PATCH 1/1] powerpc: Force 32 bit MSIs on systems lacking firmware support

2013-05-21 Thread Brian King
Recent commit e61133dda480062d221f09e4fc18f66763f8ecd0 added support for a new firmware feature to force an adapter to use 32 bit MSIs. However, this firmware is not available for all systems. The hack below allows devices needing 32 bit MSIs to work on these systems as well. It is careful to only