-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/19/2014 5:25 PM, Robert White wrote: > The controller, the thing that sets the ready bit and sends the > interrupt is distinct from the driver, the thing that polls the > ready bit when the interrupt is sent. At the bus level there are > fixed delays and retries. Try putting two drives on a pin-select > IDE bus and strapping them both as _slave_ (or indeed master) > sometime and watch the shower of fixed delay retries.
No, it does not. In classical IDE, the "controller" is really just a bus bridge. When you read from the status register in the controller, the read bus cycle is propagated down the IDE ribbon, and into the drive, and you are in fact, reading the register directly from the drive. That is where the name Integrated Device Electronics came from: because the controller was really integrated into the drive. The only fixed delays at the bus level are the bus cycle speed. There are no retries. There are only 3 mentions of the word "retry" in the ATA8-APT and they all refer to the host driver. > That's odd... my bios reads from storage to boot the device and it > does so using the ACPI storage methods. No, it doesn't. It does so by accessing the IDE or ACHI registers just as pc bios always has. I suppose I also need to remind you that we are talking about the context of linux here, and linux does not make use of the bios for disk access. > ACPI 4.0 Specification Section 9.8 even disagrees with you at some > length. > > Let's just do the titles shall we: > > 9.8 ATA Controller Devices 9.8.1 Objects for both ATA and SATA > Controllers. 9.8.2 IDE Controller Device 9.8.3 Serial ATA (SATA) > controller Device > > Oh, and _lookie_ _here_ in Linux Kernel Menuconfig at Device > Drivers -> <*> Serial ATA and Parallel ATA drivers (libata) -> <*> > ACPI firmware driver for PATA > > CONFIG_PATA_ACPI: > > This option enables an ACPI method driver which drives motherboard > PATA controller interfaces through the ACPI firmware in the BIOS. > This driver can sometimes handle otherwise unsupported hardware. > > You are a storage _genius_ for knowing that all that stuff doesn't > exist... the rest of us must simply muddle along in our > delusion... Yes, ACPI 4.0 added this mess. I have yet to see a single system that actually implements it. I can't believe they even bothered adding this driver to the kernel. Is there anyone in the world who has ever used it? If no motherboard vendor has bothered implementing the ACPI FAN specs, I very much doubt anyone will ever bother with this. > Do tell us more... I didn't say the driver would cause long delays, > I said that the time it takes to error out other improperly > supported drivers and fall back to this one could induce long > delays and resets. There is no "error out" and "fall back". If the device is in AHCI mode then it identifies itself as such and the ACHI driver is loaded. If it is in IDE mode, then it identifies itself as such, and the IDE driver is loaded. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (MingW32) iQEcBAEBAgAGBQJUbk5qAAoJEI5FoCIzSKrw++IH/2DAayNzDqKlA7DBi79UVlpg jJHDOlmzPqJCLMkffZRX1TLM/OEzu3k/pYMlS0HCdNggbG7eTpHxsoCetiETPcnc LCcolWXa/eMfzkEphSq4GToeEj5FKrVNzymNvPVL6zdiSfySvSg4RZOs123ULYNM nPUaOYPSiDPzfC7ggUS3RSvWb8mNzfRVJtgGXlZd/jDh+NAjy3oTb4fYksZjq8qb n5emKU1jJafvSbBek41wo7Xji1vLThiDZ4kcf4c7oT3x4WuQUMUhzkficqEnwYsm HK12pv0ktDJr6hKMcHPT26YKsdUOPE6XC3GgNaxt8EZ3bioWYRb4RRAdAuAjI2s= =+M2o -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html