Re: [PATCH] pata_cs5536: ATA driver for Geode companion chip

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Just noticed something.. I'm not sure if this is due to a libata-dev
change or me switching to pata_cs5536, but my 128MB DOM on the PATA
port is hitting the ata_dma_blacklisted() case and it was not
previously. This did not happen under 2.6.22.6 using pata_amd. The
system is noticeably slower when forced to use PIO4 (as you would
expect).

Is this expected in the newer code, or is it a bug?

Previous 2.6.22.6 kernel using pata_amd:

pata_amd 0000:00:0f.2: version 0.3.8
scsi4 : pata_amd
scsi5 : pata_amd
ata5: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ff00 irq 14
ata6: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ff08 irq 15
ata5.00: ATA-0: , 060729DA, max MWDMA2
ata5.00: 256000 sectors, multi 1: LBA
ata5.00: configured for MWDMA2
ata6: port disabled. ignoring.

Up-to-date libata-dev using pata_cs5536:

scsi4 : pata_cs5536
scsi5 : pata_cs5536
ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
ata6: DUMMY
ata5: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
ata5.00: ATA-0: , 060729DA, max MWDMA2
ata5.00: 256000 sectors, multi 1: LBA
ata5.00: device is on DMA blacklist, disabling DMA
ata5.00: configured for PIO4
ata5.00: device is on DMA blacklist, disabling DMA
ata5.00: configured for PIO4
ata5: EH complete

Thanks,
-Andrew

On 10/14/07, Andrew Paprocki <andrew@xxxxxxxxxxx> wrote:
> On 10/11/07, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Thu, 11 Oct 2007 03:38:19 -0400
> > "Martin K. Petersen" <martin.petersen@xxxxxxxxxx> wrote:
> >
> > >
> > > This is a driver for the ATA controller on the Geode CS5536 companion
> > > chip.  The PCI device ID for this device was previously claimed by
> > > pata_amd.c but the PIO timings were not correct.  This driver also
> > > works around a bug in some BIOSes that handle unaligned access to the
> > > PCI config registers poorly.  Finally, the driver allows fallback to
> > > using MSR registers for configuration on BIOSes that are truly
> > > broken.
> > >
> > > Signed-off-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
> >
> > Acked-by: Alan Cox <alan@xxxxxxxxxx>
>
> I've been using the driver (boot drive on the port) since Martin's
> post and haven't experienced any problems.
>
> Tested-by: Andrew Paprocki <andrew@xxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux