From mbianchi@Foveal.com  Mon Oct  2 03:06:24 2000
Date: Sun, 1 Oct 2000 22:06:24 -0400
From: M Bianchi mbianchi@Foveal.com
Subject: [Pxc] Unexpected IRQ

Folks,

I also saw the Unexpected IRQ/lockup detected with pxc-0.28 on a
Pentium III single processor machine, running on an Intel L440GX
dual-processor motherboard, with Linux 2.2.12-20 (Red Hat 6.1) compiled
_without_ SMP.

Allessandro:
I don't understand your mail of 16 September, suggesting:
		:
	A possible solution is changing

            | BT848_GPIO_DMA_CTL_PKTP_4   /* and do DMA as soon as possible */
            | BT848_GPIO_DMA_CTL_PLTP1_4
            | BT848_GPIO_DMA_CTL_PLTP23_4;

	into three _8 _16 or _32 (main.c, line 934 more or less -- and 530
	if you want, but it's much less important).
		:

I found the code, but don't see what you suggest.

The current code is ...
    /* FIXME: no support for GPIO yet */
    tmp |= BT848_GPIO_DMA_CTL_FIFO_ENABLE
         | BT848_GPIO_DMA_CTL_RISC_ENABLE  /* enable risc and fifo */
         | BT848_GPIO_DMA_CTL_PKTP_4   /* and do DMA as soon as possible */
         | BT848_GPIO_DMA_CTL_PLTP1_4
         | BT848_GPIO_DMA_CTL_PLTP23_4;
    PX_WRITE32(dev, tmp, BT848_GPIO_DMA_CTL);

Are you suggesting trying ...
    tmp |= BT848_GPIO_DMA_CTL_FIFO_ENABLE
         | BT848_GPIO_DMA_CTL_RISC_ENABLE  /* enable risc and fifo */
	 | BT848_GPIO_DMA_CTL_PKTP_8
	 | BT848_GPIO_DMA_CTL_PLTP1_8
	 | BT848_GPIO_DMA_CTL_PLTP23_8;

... or ...
    tmp |= BT848_GPIO_DMA_CTL_FIFO_ENABLE
         | BT848_GPIO_DMA_CTL_RISC_ENABLE  /* enable risc and fifo */
	 | BT848_GPIO_DMA_CTL_PKTP_16
	 | BT848_GPIO_DMA_CTL_PLTP1_16
	 | BT848_GPIO_DMA_CTL_PLTP23_16;

... or ...
    tmp |= BT848_GPIO_DMA_CTL_FIFO_ENABLE
         | BT848_GPIO_DMA_CTL_RISC_ENABLE  /* enable risc and fifo */
	 | BT848_GPIO_DMA_CTL_PKTP_32
	 | BT848_GPIO_DMA_CTL_PLTP1_32
	 | BT848_GPIO_DMA_CTL_PLTP23_32;

... and pick the one that works?

 Mike Bianchi
 Foveal Systems
 190 Loantaka Way
 Madison NJ  07940-1910

 +1 973 822-2085	Voice and Fax

 MBianchi@Foveal.com

 Create videos of auditorium presentations without a crew?
 Yes!
 http://www.AutoAuditorium.com




From marius@e.co.za  Mon Oct  2 07:42:38 2000
Date: Mon, 02 Oct 2000 08:42:38 +0200
From: Marius van Wyk marius@e.co.za
Subject: [Pxc] Unexpected IRQ

On Sun, 1 Oct 2000 22:06:24 -0400, M Bianchi <mbianchi@Foveal.com> wrote:

> Folks,
>=20
> I also saw the Unexpected IRQ/lockup detected with pxc-0.28 on a
> Pentium III single processor machine, running on an Intel L440GX
> dual-processor motherboard, with Linux 2.2.12-20 (Red Hat 6.1) compiled
> _without_ SMP.
>=20
> Allessandro:
> I don't understand your mail of 16 September, suggesting:
> 		:

-snip-

> ... and pick the one that works?

There were two places in the code that you will find the code segment. =
The one
place is for initial settings, and the other is when there is a problem =
for
recovery. (I think)

I think, yes, one is to try the values 4, ... 32 until one works. At =
least that
is what I understood to Allesandro's last suggestion.

This is what Allesandro mailed in the past:

-------------

A possible solution is changing=20

            | BT848_GPIO_DMA_CTL_PKTP_4   /* and do DMA as soon as =
possible */
            | BT848_GPIO_DMA_CTL_PLTP1_4
            | BT848_GPIO_DMA_CTL_PLTP23_4;

into three _8 _16 or _32 (main.c, line 934 more or less -- and 530
if you want, but it's much less important).

-------------

On my system I still get messages at times, (which I comment out) but my =
screen
interference is now gone.

I'm sure Allesandro will answer this more fully when he gets back from =
his
(fatherly?) duties... -grin-

Marius.




