[PATCH 0/2] Hyper-V disk support V5

From: Andy Whitcroft
Date: Fri May 04 2012 - 17:15:22 EST


Add support for ignoring disks devices on specific host controllers to
libata. Use this support to trigger us to ignore Hyper-V disk devices
on the emulated SATA device based on the system DMI information.

Fixes based on feedback Sergei Shtylyov, thanks. Jeff I think this is
about done, any objections to merging?

Comments?

-apw

V5
- switched to IS_ENABLED
- fixed device type in device ignored messages

V4
- only enable the quirk when the paravirtualised drivers are compiled
- fix up the command line flag to disable this support

V3
- switch detection method to DMI information

V2
- create a generic libata quirk
- switch detection to piix_init_one

Andy Whitcroft (2):
libata: add a host flag to ignore detected ATA devices
ata_piix: defer disks to the Hyper-V drivers by default

drivers/ata/ata_piix.c | 20 ++++++++++++++++++++
drivers/ata/libata-core.c | 7 +++++++
include/linux/libata.h | 1 +
3 files changed, 28 insertions(+)

--
1.7.9.5

Andy Whitcroft (2):
libata: add a host flag to ignore detected ATA devices
ata_piix: defer disks to the Hyper-V drivers by default

drivers/ata/ata_piix.c | 36 ++++++++++++++++++++++++++++++++++++
drivers/ata/libata-core.c | 6 ++++++
include/linux/libata.h | 1 +
3 files changed, 43 insertions(+)

--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/