android_kernel_google_msm/drivers
Mikulas Patocka 5b63a11b22 sata_sil: disable trim
commit d98f1cd0a3b70ea91f1dfda3ac36c3b2e1a4d5e2 upstream.

When I connect an Intel SSD to SATA SIL controller (PCI ID 1095:3114), any
TRIM command results in I/O errors being reported in the log. There is
other similar error reported with TRIM and the SIL controller:
https://bugs.centos.org/view.php?id=5880

Apparently the controller doesn't support TRIM commands. This patch
disables TRIM support on the SATA SIL controller.

ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata7.00: BMDMA2 stat 0x50001
ata7.00: failed command: DATA SET MANAGEMENT
ata7.00: cmd 06/01:01:00:00:00/00:00:00:00:00/a0 tag 0 dma 512 out
         res 51/04:01:00:00:00/00:00:00:00:00/a0 Emask 0x1 (device error)
ata7.00: status: { DRDY ERR }
ata7.00: error: { ABRT }
ata7.00: device reported invalid CHS sector 0
sd 8:0:0:0: [sdb] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 8:0:0:0: [sdb] tag#0 Sense Key : Illegal Request [current] [descriptor]
sd 8:0:0:0: [sdb] tag#0 Add. Sense: Unaligned write command
sd 8:0:0:0: [sdb] tag#0 CDB: Write same(16) 93 08 00 00 00 00 00 21 95 88 00 20 00 00 00 00
blk_update_request: I/O error, dev sdb, sector 2200968

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-10-26 23:15:34 +08:00
..
accessibility
acpi ACPI: Use correct IRQ when uninstalling ACPI interrupt handler 2016-10-26 23:15:26 +08:00
amba
ata sata_sil: disable trim 2016-10-26 23:15:34 +08:00
atm
auxdisplay auxdisplay: ks0108: fix refcount 2016-04-27 18:55:15 +08:00
base regmap: debugfs: Don't bother actually printing when calculating max length 2016-04-27 18:55:23 +08:00
bcma
block xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing) 2016-04-27 18:55:27 +08:00
bluetooth Bluetooth: ath3k: Add support of AR3012 0cf3:817b device 2016-10-26 23:15:25 +08:00
cdrom
char agp/intel: Fix typo in needs_ilk_vtd_wa() 2015-10-22 09:20:06 +08:00
clk
clocksource
connector
cpufreq cpufreq: speedstep-smi: enable interrupts when waiting 2015-06-19 11:40:15 +08:00
cpuidle
crypto crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer 2016-03-21 09:17:48 +08:00
dca
devfreq
dio
dma dmaengine: mv_xor: bug fix for racing condition in descriptors cleanup 2015-10-22 09:20:04 +08:00
edac EDAC, ppc4xx: Access mci->csrows array elements properly 2016-03-21 09:17:52 +08:00
eisa
firewire firewire: ohci: fix JMicron JMB38x IT context discovery 2016-10-26 23:15:27 +08:00
firmware
gpio gpio: tps65912: fix wrong container_of arguments 2015-06-19 11:40:18 +08:00
gpu drm/nouveau/gem: return only valid domain when there's only one 2016-04-27 18:55:29 +08:00
hid HID: core: Avoid uninitialized buffer access 2016-10-26 23:15:25 +08:00
hsi
hv Drivers: hv: vmbus: Don't wait after requesting offers 2015-09-18 09:20:26 +08:00
hwmon hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div 2014-07-17 15:39:50 -07:00
hwspinlock
i2c i2c: davinci: generate STP always when NACK is received 2015-04-14 17:33:40 +08:00
ide
idle
ieee802154
infiniband IB/cm: Fix rb-tree duplicate free and use-after-free 2016-04-27 18:55:21 +08:00
input Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen 2016-03-21 09:17:47 +08:00
iommu iommu/vt-d: Fix ATSR handling for Root-Complex integrated endpoints 2016-10-26 23:15:25 +08:00
isdn ppp, slip: Validate VJ compression slot parameters completely 2016-03-21 09:17:54 +08:00
leds
lguest lguest: fix out-by-one error in address checking. 2015-09-18 09:20:43 +08:00
macintosh windfarm: decrement client count when unregistering 2016-04-27 18:55:15 +08:00
mca
md Revert "dm mpath: fix stalls when handling invalid ioctls" 2016-10-26 23:15:26 +08:00
media rc-core: fix remove uevent generation 2016-04-27 18:55:13 +08:00
memstick memstick: mspro_block: add missing curly braces 2015-09-18 09:20:31 +08:00
message
mfd mfd: tc6393xb: Fail ohci suspend if full state restore is required 2015-04-14 17:33:43 +08:00
misc
mmc mmc: block: Add missing mmc_blk_put() in power_ro_lock_show() 2016-03-21 09:17:48 +08:00
mtd mtd: mtdpart: fix add_mtd_partitions error path 2016-10-26 23:15:25 +08:00
net wan/x25: Fix use-after-free in x25_asy_open_tty() 2016-10-26 23:15:33 +08:00
nfc
nubus
of of/address: Don't loop forever in of_find_matching_node_by_address(). 2016-04-27 18:55:16 +08:00
oprofile
parisc
parport
pci PCI: Add VPD function 0 quirk for Intel Ethernet devices 2016-04-27 18:55:14 +08:00
pcmcia Disable write buffering on Toshiba ToPIC95 2015-10-22 09:20:04 +08:00
pinctrl
platform dell-laptop: Fix allocating & freeing SMI buffer page 2015-10-22 09:20:06 +08:00
pnp
power wm831x_power: Use IRQF_ONESHOT to request threaded IRQs 2016-10-26 23:15:22 +08:00
pps
ps3
ptp
rapidio rapidio/tsi721: Fix interrupt mask when handling MSI 2014-06-07 16:02:14 -07:00
regulator regulator: core: fix constraints output buffer 2015-10-22 09:20:03 +08:00
remoteproc
rpmsg
rtc drivers/rtc/rtc-pl031.c: restore ST variant functionality 2014-06-07 16:02:14 -07:00
s390 s390/3215: fix tty output containing tabs 2015-04-14 17:34:03 +08:00
sbus bbc-i2c: Fix BBC I2C envctrl on SunBlade 2000 2014-08-14 08:42:37 +08:00
scsi scsi_sysfs: Fix queue_ramp_up_period return code 2016-10-26 23:15:28 +08:00
sfi
sh
sn
spi spi: Fix documentation of spi_alloc_master() 2016-04-27 18:55:22 +08:00
ssb
staging iio: lpc32xx_adc: fix warnings caused by enabling unprepared clock 2016-10-26 23:15:30 +08:00
target target/iscsi: Fix double free of a TUR followed by a solicited NOPOUT 2016-03-21 09:17:49 +08:00
tc
thermal
tty drivers/tty: require read access for controlling terminal 2016-04-27 18:55:26 +08:00
uio
usb USB: cp210x: Remove CP2110 ID from compatibility list 2016-10-26 23:15:34 +08:00
uwb uwb: init beacon cache entry before registering uwb device 2014-12-01 18:02:28 +08:00
vhost vhost: actually track log eventfd file 2016-03-21 09:17:49 +08:00
video PCI: Convert pcibios_resource_to_bus() to take a pci_bus, not a pci_dev 2015-06-19 11:40:34 +08:00
virt
virtio virtio_pci: document why we defer kfree 2015-04-14 17:33:50 +08:00
vlynq
w1
watchdog watchdog: omap: assert the counter being stopped before reprogramming 2015-10-22 09:20:06 +08:00
xen xen/events: don't bind non-percpu VIRQs with percpu chip 2015-09-18 09:20:42 +08:00
zorro
Kconfig
Makefile