Skip to contentSkip to conversation

Can't build drivers/infiniband/hw/ipath/ipath_keys.c on arch/powerpc

DISCUSSION Michael Ellerman 4 participants 6 messages Nov 6, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

Just a heads-up, drivers/infiniband/hw/ipath/ipath_keys.c doesn't build on powerpc because we have don't have bus_to_virt().

(Actually you can't select CONFIG_INFINIBAND_IPATH on mainline because powerpc doesn't enable PCI_MSI, but we will real soon now, and when we do this will start breaking people's all modconfig builds).

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
#1 lore raw
Quoted 8 lines · Michael Ellerman

Hi,

Just a heads-up, drivers/infiniband/hw/ipath/ipath_keys.c doesn't build on powerpc because we have don't have bus_to_virt().

(Actually you can't select CONFIG_INFINIBAND_IPATH on mainline because powerpc doesn't enable PCI_MSI, but we will real soon now, and when we do this will start breaking people's all modconfig builds).

I'm surprised that something as recent as infiniband requires a long-deprecated function bus_to_virt().

What is it trying to do there that needs that call ?

Ben.

#2 lore raw
Quoted 4 lines

I'm surprised that something as recent as infiniband requires a long-deprecated function bus_to_virt().

What is it trying to do there that needs that call ?

Don't ask -- just enjoy the fact that you don't know about this...

#3 lore raw
Quoted 6 lines · Roland Dreier
Quoted 4 lines

I'm surprised that something as recent as infiniband requires a long-deprecated function bus_to_virt().

What is it trying to do there that needs that call ?

Don't ask -- just enjoy the fact that you don't know about this...

Deal :)

Ben.

#4 lore raw
In reply to Michael Ellerman
Quoted 8 lines · Michael Ellerman

Hi,

Just a heads-up, drivers/infiniband/hw/ipath/ipath_keys.c doesn't build on powerpc because we have don't have bus_to_virt().

(Actually you can't select CONFIG_INFINIBAND_IPATH on mainline because powerpc doesn't enable PCI_MSI, but we will real soon now, and when we do this will start breaking people's all modconfig builds).

Thanks for the heads-up. We're working to remove this requirement as we speak.

Regards,
Robert.

#5 lore raw
Quoted 6 lines · Robert Walsh
Quoted 5 lines · Michael Ellerman

Hi,

Just a heads-up, drivers/infiniband/hw/ipath/ipath_keys.c doesn't build on powerpc because we have don't have bus_to_virt().

Quoted 6 lines
Quoted 3 lines

(Actually you can't select CONFIG_INFINIBAND_IPATH on mainline because powerpc doesn't enable PCI_MSI, but we will real soon now, and when we do this will start breaking people's all modconfig builds).

Thanks for the heads-up. We're working to remove this requirement as we speak.

Sweet.

cheers

Signature · 8 lines
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person