IP28: fix MC GIOPAR setting
PATCH 1/1 IP28: fix MC GIOPAR setting
We must not omit the MASTERGFX setting, unless we want Impact DMA to hang ;-)
arch/mips/sgi-ip22/ip22-mc.c +3 -1
@@ -180,7 +180,9 @@/* First the basic invariants across all GIO64 implementations. */ tmp =SGIMC_GIOPAR_HPC64 ;/* All 1st HPC's interface at 64bits */ tmp |=SGIMC_GIOPAR_ONEBUS ;/* Only one physical GIO bus exists */ - +#ifdef CONFIG_SGI_IP28 + tmp |=SGIMC_GIOPAR_MASTERGFX ;/* GFX can act as a bus master */ +#endif if (ip22_is_fullhouse ()) {/* Fullhouse specific settings. */ if (SGIOC_SYSID_BOARDREV (sgioc->sysid) <2 ) {
Thomas Bogendoerfer
maintainerQuoted 1 line · peter fuerst
We must not omit the MASTERGFX setting, unless we want Impact DMA to hang ;-)
is there a reason to restrict this to IP28 only ?
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ]
Quoted 10 lines · Thomas Bogendoerfer
Date: Fri, 21 Mar 2008 20:47:37 +0100
From: Thomas Bogendoerfer <[email protected]>
To: peter fuerst <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [PATCH] IP28: fix MC GIOPAR settingQuoted 1 line · peter fuerst
We must not omit the MASTERGFX setting, unless we want Impact DMA to hang ;-)
is there a reason to restrict this to IP28 only ?
Would indeed be most surprising, if this isn't appropriate for any Indigo2- Impact, but don't know for sure. And can't check, whether it at least doesn't hurt Non-Impact Indigo2. Of course, being able to avoid '#ifdef' at all would be the prettiest alternative.
Quoted 8 lines
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea. [ RFC1925, 2.3 ]
Thomas Bogendoerfer
maintainerQuoted 6 lines · peter fuerst
Quoted 1 line
is there a reason to restrict this to IP28 only ?
Would indeed be most surprising, if this isn't appropriate for any Indigo2- Impact, but don't know for sure. And can't check, whether it at least doesn't hurt Non-Impact Indigo2. Of course, being able to avoid '#ifdef' at all would be the prettiest alternative.
I'll check my IP22 machines, if they are ok with that change. Another solution could be to have gio_set_master() similair to pci_set_master(). That way we only enable master, if it is requested by a driver.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a good idea. [ RFC1925, 2.3 ]
Quoted 8 lines · Thomas Bogendoerfer
Quoted 4 lines
Would indeed be most surprising, if this isn't appropriate for any Indigo2- Impact, but don't know for sure. And can't check, whether it at least doesn't hurt Non-Impact Indigo2. Of course, being able to avoid '#ifdef' at all would be the prettiest alternative.
I'll check my IP22 machines, if they are ok with that change. Another solution could be to have
gio_set_master()similair topci_set_master(). That way we only enable master, if it is requested by a driver.
That sounds like a clean solution. Anyway where are we standing with this? I assume it's release critical for IP28?
Ralf
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Thanks to O'Reilly in Germany, I've got an I^2, non-impact... I'll set up an test enviroment for mips-linux there,
when I've got the time.
//Markus
Quoted 13 lines · Ralf Baechle
Quoted 9 lines · Thomas Bogendoerfer
Quoted 5 lines
Would indeed be most surprising, if this isn't appropriate for any Indigo2- Impact, but don't know for sure. And can't check, whether it at least doesn't hurt Non-Impact Indigo2. Of course, being able to avoid '#ifdef' at all would be the prettiest alternative.
I'll check my IP22 machines, if they are ok with that change. Another solution could be to have
gio_set_master()similair topci_set_master(). That way we only enable master, if it is requested by a driver.
Quoted 5 lines
That sounds like a clean solution. Anyway where are we standing with this? I assume it's release critical for IP28?
Ralf
- --
_______________________________________
Mr Markus Gothe
Software Engineer
Phone: +46 (0)13 21 81 20 (ext. 1046)
Fax: +46 (0)13 21 21 15
Mobile: +46 (0)70 348 44 35
Diskettgatan 11, SE-583 35 Linköping, Sweden www.27m.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH8me16I0XmJx2NrwRCG5JAJ9vCHZhAVXD9GGwtVC8RBgaTun+rQCePUnE uDmjdB3ii0qRasWST4pqaJc=
=LCvE
-----END PGP SIGNATURE-----