On 09/16/2011 04:08 PM, David Gibson wrote:
> > Well, now I'm confused. I had a look at a pHyp machine, and Linux
> > seemed to see it as multiple targets on a single channel, but I'm sure
> > the PAPR spec says you shouldn't have that. So I'm going to have to
> > look closer now.
>
> If this is the case, there might be a bug in SLOF's probing of SCSI
> devices.
Um.. I'm confused. This is a pHyp (aka PowerVM) machine, so there is
no SLOF. What I'm seeing there seems to contradict the PAPR spec
which is supposed to describe it. So I don't see how it has a bearing
on SLOF addressing.
I meant "if we want to make QEMU present devices like pHyp, we cannot do
that without fixing SLOF".
> (2) move the devices so that both SLOF and Linux see them as x:0:0
> (one target per channel). This would be inconsistent with pHyp, but
> it doesn't break either SLOF or Linux.
>
(2) sounds like what PAPR describes to me, so that sounds fine to me.
No, PAPR describes one target per *host*, not channel.
Paolo