Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'ata-5.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata

Pull ATA fixes from Damien Le Moal:

- Sergey volunteered to be a reviewer for the Renesas R-Car SATA driver
and PATA drivers. Update the MAINTAINERS file accordingly.

- Regression fix: add a horkage flag to prevent accessing the log
directory log page with SATADOM-ML 3ME SATA devices as they react
badly to reading that log page (from Anton).

* tag 'ata-5.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata:
ata: libata-core: Introduce ATA_HORKAGE_NO_LOG_DIR horkage
MAINTAINERS: add myself as Renesas R-Car SATA driver reviewer
MAINTAINERS: add myself as PATA drivers reviewer

+25
+14
MAINTAINERS
··· 10879 10879 F: drivers/ata/pata_arasan_cf.c 10880 10880 F: include/linux/pata_arasan_cf_data.h 10881 10881 10882 + LIBATA PATA DRIVERS 10883 + R: Sergey Shtylyov <s.shtylyov@omp.ru> 10884 + L: linux-ide@vger.kernel.org 10885 + F: drivers/ata/ata_*.c 10886 + F: drivers/ata/pata_*.c 10887 + 10882 10888 LIBATA PATA FARADAY FTIDE010 AND GEMINI SATA BRIDGE DRIVERS 10883 10889 M: Linus Walleij <linus.walleij@linaro.org> 10884 10890 L: linux-ide@vger.kernel.org ··· 16473 16467 F: Documentation/devicetree/bindings/i2c/renesas,rmobile-iic.yaml 16474 16468 F: drivers/i2c/busses/i2c-rcar.c 16475 16469 F: drivers/i2c/busses/i2c-sh_mobile.c 16470 + 16471 + RENESAS R-CAR SATA DRIVER 16472 + R: Sergey Shtylyov <s.shtylyov@omp.ru> 16473 + S: Supported 16474 + L: linux-ide@vger.kernel.org 16475 + L: linux-renesas-soc@vger.kernel.org 16476 + F: Documentation/devicetree/bindings/ata/renesas,rcar-sata.yaml 16477 + F: drivers/ata/sata_rcar.c 16476 16478 16477 16479 RENESAS R-CAR THERMAL DRIVERS 16478 16480 M: Niklas Söderlund <niklas.soderlund@ragnatech.se>
+10
drivers/ata/libata-core.c
··· 2007 2007 { 2008 2008 struct ata_port *ap = dev->link->ap; 2009 2009 2010 + if (dev->horkage & ATA_HORKAGE_NO_LOG_DIR) 2011 + return false; 2012 + 2010 2013 if (ata_read_log_page(dev, ATA_LOG_DIRECTORY, 0, ap->sector_buf, 1)) 2011 2014 return false; 2012 2015 return get_unaligned_le16(&ap->sector_buf[log * 2]) ? true : false; ··· 4075 4072 { "WDC WD2500JD-*", NULL, ATA_HORKAGE_WD_BROKEN_LPM }, 4076 4073 { "WDC WD3000JD-*", NULL, ATA_HORKAGE_WD_BROKEN_LPM }, 4077 4074 { "WDC WD3200JD-*", NULL, ATA_HORKAGE_WD_BROKEN_LPM }, 4075 + 4076 + /* 4077 + * This sata dom device goes on a walkabout when the ATA_LOG_DIRECTORY 4078 + * log page is accessed. Ensure we never ask for this log page with 4079 + * these devices. 4080 + */ 4081 + { "SATADOM-ML 3ME", NULL, ATA_HORKAGE_NO_LOG_DIR }, 4078 4082 4079 4083 /* End Marker */ 4080 4084 { }
+1
include/linux/libata.h
··· 380 380 ATA_HORKAGE_MAX_TRIM_128M = (1 << 26), /* Limit max trim size to 128M */ 381 381 ATA_HORKAGE_NO_NCQ_ON_ATI = (1 << 27), /* Disable NCQ on ATI chipset */ 382 382 ATA_HORKAGE_NO_ID_DEV_LOG = (1 << 28), /* Identify device log missing */ 383 + ATA_HORKAGE_NO_LOG_DIR = (1 << 29), /* Do not read log directory */ 383 384 384 385 /* DMA mask for user DMA control: User visible values; DO NOT 385 386 renumber */