kernel_optimize_test/drivers/ata
Alan Cox ae8d4ee7ff libata: Disable ATA8-ACS proposed Trusted Computing features by default
Historically word 48 in the identify data was used to mean 32bit I/O
was supported for VLB IDE etc. ATA8 reassigns this word to the Trusted
Computing Group, where it is used for TCG features. This means that
an ATA8 TCG drive is going to trigger 32bit I/O on some systems which
will be funny.

Anyway we need to sort this out ready for ATA8 so:
- Reorder the ata.h header a bit so the ata_version function occurs early
  in it
- Make dword_io check the ATA version
- Add an ATA8 version checking TCG presence test

While we are at it the current drafts have a flaw where it may not be
possible to disable TCG features at boot (and opt out of the trusted
model) as TCG intends because it relies on presence of a different
optional feature (DCS). Handle this in software by refusing the TCG
commands if libata.allow_tpm is not set. (We must make it possible
as some environments such as proprietary VDR devices will doubtless
want to use it to lock up content)

Finally as with CPRM print a warning so that the user knows they may
not be able to full access and use the device.

Signed-off-by: Alan Cox <alan@redhat.com>
2008-01-23 05:24:09 -05:00
..
ahci.c libata: kill spurious NCQ completion detection 2007-12-07 15:27:54 -05:00
ata_generic.c
ata_piix.c ata_piix: Add Toshiba Satellite R20 and Tecra M6 to broken suspend list. 2008-01-23 05:23:15 -05:00
Kconfig
libata-acpi.c libata-acpi: implement _GTF command filtering 2007-12-17 20:33:15 -05:00
libata-core.c libata: Disable ATA8-ACS proposed Trusted Computing features by default 2008-01-23 05:24:09 -05:00
libata-eh.c libata: don't normalize UNKNOWN to NONE after reset 2008-01-10 16:53:22 -05:00
libata-pmp.c libata-pmp: 4726 hates SRST 2008-01-10 16:53:12 -05:00
libata-scsi.c libata: Disable ATA8-ACS proposed Trusted Computing features by default 2008-01-23 05:24:09 -05:00
libata-sff.c libata-sff: PCI IRQ handling fix 2008-01-10 16:52:51 -05:00
libata.h libata: Disable ATA8-ACS proposed Trusted Computing features by default 2008-01-23 05:24:09 -05:00
Makefile
pata_acpi.c
pata_ali.c pata_ali: trim trailing whitespace (fix checkpatch complaints) 2007-11-23 21:08:42 -05:00
pata_amd.c pata_amd/pata_via: de-couple programming of PIO/MWDMA and UDMA timings 2007-12-04 14:11:36 -05:00
pata_artop.c
pata_at32.c Several fixes for the AVR32 PATA driver 2007-12-01 17:35:58 -05:00
pata_atiixp.c
pata_bf54x.c [libata] pata_bf54x: checkpatch fixes 2008-01-15 15:58:59 -05:00
pata_cmd64x.c
pata_cmd640.c
pata_cs5520.c
pata_cs5530.c
pata_cs5535.c
pata_cs5536.c
pata_cypress.c
pata_efar.c
pata_hpt3x2n.c
pata_hpt3x3.c
pata_hpt37x.c pata_hpt37x: Fix HPT374 detection 2007-12-19 14:29:01 -08:00
pata_hpt366.c
pata_icside.c
pata_isapnp.c pata_isapnp: Polled devices 2007-11-23 19:33:27 -05:00
pata_it821x.c
pata_it8213.c
pata_ixp4xx_cf.c pata_ixp4xx_cf: fix compilation introduced by ata_port_desc() conversion 2008-01-10 16:53:10 -05:00
pata_jmicron.c pata_jmicron: fix disabled port handling in jmicron_pre_reset() 2007-11-23 19:23:55 -05:00
pata_legacy.c libata fixes for sparse-found problems 2008-01-15 15:58:36 -05:00
pata_marvell.c
pata_mpc52xx.c
pata_mpiix.c
pata_netcell.c
pata_ns87410.c
pata_ns87415.c
pata_oldpiix.c
pata_opti.c
pata_optidma.c
pata_pcmcia.c
pata_pdc202xx_old.c pata_pdc202xx_old: Fix crashes with ATAPI 2008-01-19 21:29:39 -08:00
pata_pdc2027x.c
pata_platform.c libata: pata_platform: Support polling-mode configuration. 2007-11-08 13:08:41 -05:00
pata_qdi.c libata fixes for sparse-found problems 2008-01-15 15:58:36 -05:00
pata_radisys.c
pata_rz1000.c
pata_sc1200.c
pata_scc.c
pata_serverworks.c pata_serverworks: Fix problem with some drive combinations 2007-11-05 18:08:46 -05:00
pata_sil680.c pata_sil680: kill bogus reset code (take 2) 2007-11-23 19:23:55 -05:00
pata_sis.c pata_sis.c: Add Packard Bell EasyNote K5305 to laptops 2007-11-19 12:28:11 +09:00
pata_sl82c105.c
pata_triflex.c
pata_via.c pata_amd/pata_via: de-couple programming of PIO/MWDMA and UDMA timings 2007-12-04 14:11:36 -05:00
pata_winbond.c libata fixes for sparse-found problems 2008-01-15 15:58:36 -05:00
pdc_adma.c
sata_fsl.c ata/sata_fsl: Remove ata_scsi_suspend/resume callbacks 2007-11-03 08:46:29 -04:00
sata_inic162x.c
sata_mv.c sata_mv: improve warnings about Highpoint RocketRAID 23xx cards 2007-12-17 20:33:12 -05:00
sata_nv.c sata_nv: don't use legacy DMA in ADMA mode (v3) 2007-12-04 14:01:18 -05:00
sata_promise.c sata_promise: fix endianess bug in ASIC PRD bug workaround 2007-11-03 08:46:54 -04:00
sata_promise.h
sata_qstor.c sata_qstor: use hardreset instead of softreset 2008-01-10 16:52:41 -05:00
sata_sil.c libata: clear link->eh_info.serror from ata_std_postreset() 2007-12-17 20:33:11 -05:00
sata_sil24.c sata_sil24: freeze on non-dev errors reported via CERR 2008-01-14 21:11:02 -05:00
sata_sis.c
sata_svw.c
sata_sx4.c
sata_uli.c
sata_via.c
sata_vsc.c
sis.h