* [patch]correct the pci window in iop80331.
@ 2009-03-12 16:40 Hu Gang
0 siblings, 0 replies; 3+ messages in thread
From: Hu Gang @ 2009-03-12 16:40 UTC (permalink / raw)
To: LKML
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Dan Williams:
I found the IOP80331 pci outband windows it not correct, the outboand
window size is 128Mbyte, split with two 64MByte window, the first outband
translate address is 0x80000000, so the second translate address must
0x84000000, but in linux kernel it is 0x88000000.
I try to enable the direct windows outband window in iop80331 but not
work, can you give me some point.
thanks.
- - ------------ patch for fix pci outband window -----------------------
- - --- a/arch/arm/mach-iop3xx/iop331-pci.c
+++ b/arch/arm/mach-iop3xx/iop331-pci.c
@@ -283,7 +283,7 @@ void __init iop3xx_atu_setup(void)
*IOP331_OUMWTVR0 = 0;
/* Outbound window 1 */
- - - *IOP331_OMWTVR1 = IOP331_PCI_LOWER_MEM_PA + IOP3XX_PCI_MEM_WINDOW_SIZE;
+ *IOP331_OMWTVR1 = IOP331_PCI_LOWER_MEM_PA + IOP3XX_PCI_MEM_WINDOW_SIZE/2;
*IOP331_OUMWTVR1 = 0;
/* BAR 3 ( Disabled ) */
- - --
steve
- - -----------------------------------------------------------------
phone : 010-68920288-818
fax : 010-68920289
mobile : 13910034252
e-mail : steve.hu@soulinfo.com
web : http://www.soul.com.cn/
- - -----------------------------------------------------------------
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm5DOYACgkQlNo3R5/SzI0nagCfU7imFR6snaCMeACKRNWdA74I
6EUAoItAAksVqyAtuwIq6ynOKsCmSlOg
=LHwl
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm5ONcACgkQlNo3R5/SzI0e6QCglfs3ADpdizWF+PqewSAziP3E
1UIAoMMjWzSJ3vE7sg2goLcds37Xd8sE
=LxXn
-----END PGP SIGNATURE-----
--
^ permalink raw reply [flat|nested] 3+ messages in thread* [patch]correct the pci window in iop80331.
@ 2009-03-12 16:35 Hu Gang
0 siblings, 0 replies; 3+ messages in thread
From: Hu Gang @ 2009-03-12 16:35 UTC (permalink / raw)
To: LKML
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Dan Williams:
I found the IOP80331 pci outband windows it not correct, the outboand
window size is 128Mbyte, split with two 64MByte window, the first outband
translate address is 0x80000000, so the second translate address must
0x84000000, but in linux kernel it is 0x88000000.
I try to enable the direct windows outband window in iop80331 but not
work, can you give me some point.
thanks.
- - ------------ patch for fix pci outband window -----------------------
- - --- a/arch/arm/mach-iop3xx/iop331-pci.c
+++ b/arch/arm/mach-iop3xx/iop331-pci.c
@@ -283,7 +283,7 @@ void __init iop3xx_atu_setup(void)
*IOP331_OUMWTVR0 = 0;
/* Outbound window 1 */
- - - *IOP331_OMWTVR1 = IOP331_PCI_LOWER_MEM_PA + IOP3XX_PCI_MEM_WINDOW_SIZE;
+ *IOP331_OMWTVR1 = IOP331_PCI_LOWER_MEM_PA + IOP3XX_PCI_MEM_WINDOW_SIZE/2;
*IOP331_OUMWTVR1 = 0;
/* BAR 3 ( Disabled ) */
- - --
steve
- - -----------------------------------------------------------------
phone : 010-68920288-818
fax : 010-68920289
mobile : 13910034252
e-mail : steve.hu@soulinfo.com
web : http://www.soul.com.cn/
- - -----------------------------------------------------------------
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm5DOYACgkQlNo3R5/SzI0nagCfU7imFR6snaCMeACKRNWdA74I
6EUAoItAAksVqyAtuwIq6ynOKsCmSlOg
=LHwl
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm5ONcACgkQlNo3R5/SzI0e6QCglfs3ADpdizWF+PqewSAziP3E
1UIAoMMjWzSJ3vE7sg2goLcds37Xd8sE
=LxXn
-----END PGP SIGNATURE-----
--
steve
-----------------------------------------------------------------
phone : 010-68920288-818
fax : 010-68920289
mobile : 13910034252
e-mail : steve.hu@soulinfo.com
web : http://www.soul.com.cn/
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread* [patch]correct the pci window in iop80331.
@ 2009-03-12 16:31 Hu Gang
0 siblings, 0 replies; 3+ messages in thread
From: Hu Gang @ 2009-03-12 16:31 UTC (permalink / raw)
To: LKML
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 1865 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Dan Williams:
I found the IOP80331 pci outband windows it not correct, the outboand
window size is 128Mbyte, split with two 64MByte window, the first outband
translate address is 0x80000000, so the second translate address must
0x84000000, but in linux kernel it is 0x88000000.
I try to enable the direct windows outband window in iop80331 but not
work, can you give me some point.
thanks.
- - ------------ patch for fix pci outband window -----------------------
- - --- a/arch/arm/mach-iop3xx/iop331-pci.c
+++ b/arch/arm/mach-iop3xx/iop331-pci.c
@@ -283,7 +283,7 @@ void __init iop3xx_atu_setup(void)
*IOP331_OUMWTVR0 = 0;
/* Outbound window 1 */
- - - *IOP331_OMWTVR1 = IOP331_PCI_LOWER_MEM_PA + IOP3XX_PCI_MEM_WINDOW_SIZE;
+ *IOP331_OMWTVR1 = IOP331_PCI_LOWER_MEM_PA + IOP3XX_PCI_MEM_WINDOW_SIZE/2;
*IOP331_OUMWTVR1 = 0;
/* BAR 3 ( Disabled ) */
- - --
steve
- - -----------------------------------------------------------------
phone : 010-68920288-818
fax : 010-68920289
mobile : 13910034252
e-mail : steve.hu@soulinfo.com
web : http://www.soul.com.cn/
- - -----------------------------------------------------------------
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm5DOYACgkQlNo3R5/SzI0nagCfU7imFR6snaCMeACKRNWdA74I
6EUAoItAAksVqyAtuwIq6ynOKsCmSlOg
=LHwl
- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkm5ONcACgkQlNo3R5/SzI0e6QCglfs3ADpdizWF+PqewSAziP3E
1UIAoMMjWzSJ3vE7sg2goLcds37Xd8sE
=LxXn
-----END PGP SIGNATURE-----
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-03-12 16:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-12 16:40 [patch]correct the pci window in iop80331 Hu Gang
-- strict thread matches above, loose matches on Subject: below --
2009-03-12 16:35 Hu Gang
2009-03-12 16:31 Hu Gang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox