Kumar Gala | 30 Mar 2005 06:19
Favicon

[PATCH] ppc32: CPM2 PIC cleanup irq_to_siubit array (updated)

Andrew,

(Updated this patch to include a comment at Dan Malek's request.)

Cleaned up irq_to_siubit array so we no longer need to do 1 << (31-bit), 
just 1 << bit.

Signed-off-by: Kumar Gala <kumar.gala <at> freescale.com>

---

diff -Nru a/arch/ppc/syslib/cpm2_pic.c b/arch/ppc/syslib/cpm2_pic.c
--- a/arch/ppc/syslib/cpm2_pic.c	2005-03-29 22:15:24 -06:00
+++ b/arch/ppc/syslib/cpm2_pic.c	2005-03-29 22:15:24 -06:00
 <at>  <at>  -32,15 +32,17  <at>  <at> 
 	0, 0, 0, 0, 0, 0, 0, 0
 };

+/* bit numbers do not match the docs, these are precomputed so the bit for
+ * a given irq is (1 << irq_to_siubit[irq]) */
 static	u_char	irq_to_siubit[] = {
-	31, 16, 17, 18, 19, 20, 21, 22,
-	23, 24, 25, 26, 27, 28, 29, 30,
-	29, 30, 16, 17, 18, 19, 20, 21,
-	22, 23, 24, 25, 26, 27, 28, 31,
-	 0,  1,  2,  3,  4,  5,  6,  7,
-	 8,  9, 10, 11, 12, 13, 14, 15,
-	15, 14, 13, 12, 11, 10,  9,  8,
-	 7,  6,  5,  4,  3,  2,  1,  0
+	 0, 15, 14, 13, 12, 11, 10,  9, 
(Continue reading)

Kumar Gala | 30 Mar 2005 06:20
Favicon

Re: [PATCH] ppc32: CPM2 PIC cleanup irq_to_siubit array

Done, updated patch w/comment sent to Andrew.

- kumar

On Mar 29, 2005, at 7:10 PM, Dan Malek wrote:

>
>
> On Mar 29, 2005, at 5:30 PM, Kumar Gala wrote:
>
> > Cleaned up irq_to_siubit array so we no longer need to do 1 <<
> > (31-bit),
>  > just 1 << bit.
>
> Will you please put a comment in here that indicates this array now
>  has this computation done?  When I wrote it, these bit numbers
>  matched the registers and the documentation, so I didn't take
> the time to explain. :-)
>
> Thanks.
>
>
>
>         -- Dan

Kumar Gala | 30 Mar 2005 09:28
Favicon

[PATCH] ppc32: Fix MPC8555 & MPC8555E device lists (updated)

Andrew,

(As I decide how long to keep the paper bag on this time, here is an 
updated patch.  This one actually reduces the number of devices as well as 
removes the device from the lists which makes things work better :)

Removed the FCC3 device from the lists of devices on MPC8555 & MPC8555E
since it does not exist on these processors.

Signed-off-by: Jason McMullan <jason.mcmullan <at> timesys.com>
Signed-off-by: Kumar Gala <kumar.gala <at> freescale.com>

---

diff -Nru a/arch/ppc/syslib/mpc85xx_sys.c b/arch/ppc/syslib/mpc85xx_sys.c
--- a/arch/ppc/syslib/mpc85xx_sys.c	2005-03-30 01:23:14 -06:00
+++ b/arch/ppc/syslib/mpc85xx_sys.c	2005-03-30 01:23:14 -06:00
 <at>  <at>  -80,7 +80,7  <at>  <at> 
 		.ppc_sys_name	= "8555",
 		.mask 		= 0xFFFF0000,
 		.value 		= 0x80710000,
-		.num_devices	= 20,
+		.num_devices	= 19,
 		.device_list	= (enum ppc_sys_devices[])
 		{
 			MPC85xx_TSEC1, MPC85xx_TSEC2, MPC85xx_IIC1,
 <at>  <at>  -88,7 +88,7  <at>  <at> 
 			MPC85xx_PERFMON, MPC85xx_DUART,
 			MPC85xx_CPM_SPI, MPC85xx_CPM_I2C, MPC85xx_CPM_SCC1,
 			MPC85xx_CPM_SCC2, MPC85xx_CPM_SCC3,
(Continue reading)

Clemens Koller | 30 Mar 2005 14:57
Picon

Re: gcc-3.3.3 ppc e500 - Abort of uic from Qt (solved)

Just FYI x-posted to linuxppc-embedded

Hello, James!

Thank you for your hints...
In the meanwhile as I experienced some other strange issues with my 
gcc-3.3.3 toolchain, I concentrated to upgrade to the latest
mainstream  gcc-3.4.3. It also failed during bootstrapping in
the beginning, but after a 'two-iteration' bootstrap I was able
to move up to 3.4.3:

Here is my buildlog:
	./gcc-3.4.3/configure
		--enable-languages=c
		--enable-shared
		--enable-threads=posix
		--enable-__cxa_atexit
		--enable-nls=yes
		--enable-clocale=gnu
	make bootstrap
failed with an occasional segfault but let's give it a second chance
	make bootstrap
which finished successful!
	make install
Ok, now I have a working gcc-3.4.3 at least - well, for c only!
but let me now try a
	make distclean
	../gcc-3.4.3/configure
		--enable-languages=c,c++,objc
		--enable-shared
(Continue reading)

Stephen Rothwell | 31 Mar 2005 13:46
Picon
Picon

service outage

Hi all,

There will be a (hopefully short) service disruption tomorrow (Friday
April 1) at 1pm Canberra time (3 am UTC) to these mailing lists and the
ozlabs.org web site while our hosting ISP changes upstream service
provider.

--

-- 
Cheers,
Stephen Rothwell                    sfr <at> canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
_______________________________________________
Linuxppc64-dev mailing list
Linuxppc64-dev <at> ozlabs.org
https://ozlabs.org/cgi-bin/mailman/listinfo/linuxppc64-dev

Gmane