[Pxc] Unexpected IRQ

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


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