Merge branch 'for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
Pull libata updates from Tejun Heo: - ahci grew runtime power management support so that the controller can be turned off if no devices are attached. - sata_via isn't dead yet. It got hotplug support and more refined workaround for certain WD drives. - Misc cleanups. There's a merge from for-4.5-fixes to avoid confusing conflicts in ahci PCI ID table. * 'for-4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata: ata: ahci_xgene: dereferencing uninitialized pointer in probe AHCI: Remove obsolete Intel Lewisburg SATA RAID device IDs ata: sata_rcar: Use ARCH_RENESAS sata_via: Implement hotplug for VT6421 sata_via: Apply WD workaround only when needed on VT6421 ahci: Add runtime PM support for the host controller ahci: Add functions to manage runtime PM of AHCI ports ahci: Convert driver to use modern PM hooks ahci: Cache host controller version scsi: Drop runtime PM usage count after host is added scsi: Set request queue runtime PM status back to active on resume block: Add blk_set_runtime_active() ata: ahci_mvebu: add support for Armada 3700 variant libata: fix unbalanced spin_lock_irqsave/spin_unlock_irq() in ata_scsi_park_show() libata: support AHCI on OCTEON platform
This commit is contained in:
@@ -275,6 +275,11 @@ static inline void cvmx_write_csr(uint64_t csr_addr, uint64_t val)
|
||||
cvmx_read64(CVMX_MIO_BOOT_BIST_STAT);
|
||||
}
|
||||
|
||||
static inline void cvmx_writeq_csr(void __iomem *csr_addr, uint64_t val)
|
||||
{
|
||||
cvmx_write_csr((__force uint64_t)csr_addr, val);
|
||||
}
|
||||
|
||||
static inline void cvmx_write_io(uint64_t io_addr, uint64_t val)
|
||||
{
|
||||
cvmx_write64(io_addr, val);
|
||||
@@ -287,6 +292,10 @@ static inline uint64_t cvmx_read_csr(uint64_t csr_addr)
|
||||
return val;
|
||||
}
|
||||
|
||||
static inline uint64_t cvmx_readq_csr(void __iomem *csr_addr)
|
||||
{
|
||||
return cvmx_read_csr((__force uint64_t) csr_addr);
|
||||
}
|
||||
|
||||
static inline void cvmx_send_single(uint64_t data)
|
||||
{
|
||||
|
Reference in New Issue
Block a user