Skip to contentSkip to conversation

Missing patch for MPC5200B register definitions?

DISCUSSION Matt Sealey 2 participants 5 messages Mar 26, 2008 – Mar 28, 2008

lore
Share & tools
lore
#0 lore raw

I've just been looking into the MPC5200B AC97 driver breakage with the latest Git kernel, and found the following patch;

http://ozlabs.org/pipermail/linuxppc-dev/2007-May/035952.html

Is not in the latest tree. As such anything which uses the new MPC5200B registers (especially important on AC97 and probably not used otherwise) has not or was not applied.

Since the latest kernel source from git actually includes the MPC5121E differences, I assume this is a regression?

How do we go about fixing this?

Signature · 2 lines
Matt Sealey <[email protected]>
Genesi, Manager, Developer Relations
#1 lore raw

Oh yes, I forgot.. also, the new MPC5121E stuff includes a lot of unions and defines to make using both PSC formats easier.

Since the MPC5200 and MPC5200B PSC structures are different (CCR size), can the original suggestion (in that thread) to support both with a union and some defines to make supporting both CCR sizes, be implemented, or do we still think that MPC5200 (not B) is not worth supporting?

Signature · 2 lines
Matt Sealey <[email protected]>
Genesi, Manager, Developer Relations
Quoted 14 lines · Matt Sealey

I've just been looking into the MPC5200B AC97 driver breakage with the latest Git kernel, and found the following patch;

http://ozlabs.org/pipermail/linuxppc-dev/2007-May/035952.html

Is not in the latest tree. As such anything which uses the new MPC5200B registers (especially important on AC97 and probably not used otherwise) has not or was not applied.

Since the latest kernel source from git actually includes the MPC5121E differences, I assume this is a regression?

How do we go about fixing this?

#2 lore raw
Quoted 7 lines · Matt Sealey

Oh yes, I forgot.. also, the new MPC5121E stuff includes a lot of unions and
defines to make using both PSC formats easier.

Since the MPC5200 and MPC5200B PSC structures are different (CCR size), can the original suggestion (in that thread) to support both with a union and some defines to make supporting both CCR sizes, be implemented, or do we still think that MPC5200 (not B) is not worth supporting?

Until someone writes a driver actually using it; let's pretend it doesn't exist. :-) It's not too difficult to add it back in at a later date if someone does decide to support it.

Cheers,
g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#3 lore raw
In reply to Matt Sealey
Quoted 5 lines · Matt Sealey

I've just been looking into the MPC5200B AC97 driver breakage with the
latest Git kernel, and found the following patch;

http://ozlabs.org/pipermail/linuxppc-dev/2007-May/035952.html

Quoted 8 lines

Is not in the latest tree. As such anything which uses the new MPC5200B registers (especially important on AC97 and probably not used otherwise) has not or was not applied.

Since the latest kernel source from git actually includes the MPC5121E differences, I assume this is a regression?

How do we go about fixing this?

Write a patch to apply that change in arch/powerpc and post it to the list. If it looks good, I'll pick it up.

BTW, did you figure out if the AC97 driver is being picked up by the ALSA maintainers?

Cheers,
g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
#4 lore raw
Quoted 10 lines · Grant Likely
Quoted 9 lines · Matt Sealey

I've just been looking into the MPC5200B AC97 driver breakage with the
latest Git kernel, and found the following patch;

http://ozlabs.org/pipermail/linuxppc-dev/2007-May/035952.html

Is not in the latest tree. As such anything which uses the new MPC5200B registers (especially important on AC97 and probably not used otherwise) has not or was not applied.

Quoted 7 lines
Quoted 4 lines

Since the latest kernel source from git actually includes the MPC5121E differences, I assume this is a regression?

How do we go about fixing this?

Write a patch to apply that change in arch/powerpc and post it to the list. If it looks good, I'll pick it up.

I'll make one now. The AC97 driver needs it anyway, later, plus some definitions are missing for PSC control.. also only used by the AC97 driver for now, but still probably quite important (or just hardcoded elsewhere).

Quoted 2 lines

BTW, did you figure out if the AC97 driver is being picked up by the ALSA maintainers?

We just worked around a crash bug (somehow..) but now we get no audio. I'm not going to submit it to them until we can actually get sound out of the damn thing..

Signature · 2 lines
Matt Sealey <[email protected]>
Genesi, Manager, Developer Relations