)]}'
{
  "commit": "caff281e2073e4e71fd0bced2385b7771b512264",
  "tree": "581a2f2d3f84d9874db19038dfdae29cdd095a5d",
  "parents": [
    "fecbe957ef4d869a3b185c5f4a8bc535d8b8f05b"
  ],
  "author": {
    "name": "Kate Hsuan",
    "email": "hpa@redhat.com",
    "time": "Fri Sep 03 17:44:11 2021 +0800"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@linuxfoundation.org",
    "time": "Sat Oct 09 14:39:50 2021 +0200"
  },
  "message": "libata: Add ATA_HORKAGE_NO_NCQ_ON_ATI for Samsung 860 and 870 SSD.\n\ncommit 7a8526a5cd51cf5f070310c6c37dd7293334ac49 upstream.\n\nMany users are reporting that the Samsung 860 and 870 SSD are having\nvarious issues when combined with AMD/ATI (vendor ID 0x1002)  SATA\ncontrollers and only completely disabling NCQ helps to avoid these\nissues.\n\nAlways disabling NCQ for Samsung 860/870 SSDs regardless of the host\nSATA adapter vendor will cause I/O performance degradation with well\nbehaved adapters. To limit the performance impact to ATI adapters,\nintroduce the ATA_HORKAGE_NO_NCQ_ON_ATI flag to force disable NCQ\nonly for these adapters.\n\nAlso, two libata.force parameters (noncqati and ncqati) are introduced\nto disable and enable the NCQ for the system which equipped with ATI\nSATA adapter and Samsung 860 and 870 SSDs. The user can determine NCQ\nfunction to be enabled or disabled according to the demand.\n\nAfter verifying the chipset from the user reports, the issue appears\non AMD/ATI SB7x0/SB8x0/SB9x0 SATA Controllers and does not appear on\nrecent AMD SATA adapters. The vendor ID of ATI should be 0x1002.\nTherefore, ATA_HORKAGE_NO_NCQ_ON_AMD was modified to\nATA_HORKAGE_NO_NCQ_ON_ATI.\n\nBugLink: https://bugzilla.kernel.org/show_bug.cgi?id\u003d201693\nSigned-off-by: Kate Hsuan \u003chpa@redhat.com\u003e\nReviewed-by: Hans de Goede \u003chdegoede@redhat.com\u003e\nLink: https://lore.kernel.org/r/20210903094411.58749-1-hpa@redhat.com\nReviewed-by: Martin K. Petersen \u003cmartin.petersen@oracle.com\u003e\nSigned-off-by: Jens Axboe \u003caxboe@kernel.dk\u003e\nCc: Krzysztof Olędzki \u003cole@ans.pl\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@linuxfoundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5c354c7aff946449cf70e49f7266684e81962dd8",
      "old_mode": 33188,
      "old_path": "drivers/ata/libata-core.c",
      "new_id": "7c6c05fd5dfc32d60f67fcdcf02942defa53eae9",
      "new_mode": 33188,
      "new_path": "drivers/ata/libata-core.c"
    },
    {
      "type": "modify",
      "old_id": "3c3d8d6b161837a2b2eb6f495aa64ce4b25c743e",
      "old_mode": 33188,
      "old_path": "include/linux/libata.h",
      "new_id": "3d5adbaf8214fa6c3ac17ea0d71b65cdc88498aa",
      "new_mode": 33188,
      "new_path": "include/linux/libata.h"
    }
  ]
}
