/* * Driver for USB Attached SCSI devices - Unusual Devices File * * (c) 2013 Hans de Goede * * Based on the same file for the usb-storage driver, which is: * (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) * (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2, or (at your option) any * later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. */ /* * IMPORTANT NOTE: This file must be included in another file which defines * a UNUSUAL_DEV macro before this file is included. */ /* * If you edit this file, please try to keep it sorted first by VendorID, * then by ProductID. * * If you want to add an entry for this file, be sure to include the * following information: * - a patch that adds the entry for your device, including your * email address right above the entry (plus maybe a brief * explanation of the reason for the entry), * - lsusb -v output for the device * Send your submission to Hans de Goede * and don't forget to CC: the USB development list */ /* * Apricorn USB3 dongle sometimes returns "USBSUSBSUSBS" in response to SCSI * commands in UAS mode. Observed with the 1.28 firmware; are there others? */ UNUSUAL_DEV(0x0984, 0x0301, 0x0128, 0x0128, "Apricorn", "", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_IGNORE_UAS), /* https://bugzilla.kernel.org/show_bug.cgi?id=79511 */ UNUSUAL_DEV(0x0bc2, 0x2312, 0x0000, 0x9999, "Seagate", "Expansion Desk", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* https://bbs.archlinux.org/viewtopic.php?id=183190 */ UNUSUAL_DEV(0x0bc2, 0x3312, 0x0000, 0x9999, "Seagate", "Expansion Desk", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: David Webb */ UNUSUAL_DEV(0x0bc2, 0x331a, 0x0000, 0x9999, "Seagate", "Expansion Desk", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_REPORT_LUNS), /* Reported-by: Hans de Goede */ UNUSUAL_DEV(0x0bc2, 0x3320, 0x0000, 0x9999, "Seagate", "Expansion Desk", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: Bogdan Mihalcea */ UNUSUAL_DEV(0x0bc2, 0xa003, 0x0000, 0x9999, "Seagate", "Backup Plus", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: Marcin ZajÄ…czkowski */ UNUSUAL_DEV(0x0bc2, 0xa013, 0x0000, 0x9999, "Seagate", "Backup Plus", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: Hans de Goede */ UNUSUAL_DEV(0x0bc2, 0xa0a4, 0x0000, 0x9999, "Seagate", "Backup Plus Desk", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* https://bbs.archlinux.org/viewtopic.php?id=183190 */ UNUSUAL_DEV(0x0bc2, 0xab20, 0x0000, 0x9999, "Seagate", "Backup+ BK", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* https://bbs.archlinux.org/viewtopic.php?id=183190 */ UNUSUAL_DEV(0x0bc2, 0xab21, 0x0000, 0x9999, "Seagate", "Backup+ BK", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: G. Richard Bellamy */ UNUSUAL_DEV(0x0bc2, 0xab2a, 0x0000, 0x9999, "Seagate", "BUP Fast HDD", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: Benjamin Tissoires */ UNUSUAL_DEV(0x13fd, 0x3940, 0x0000, 0x9999, "Initio Corporation", "", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: Tom Arild Naess */ UNUSUAL_DEV(0x152d, 0x0539, 0x0000, 0x9999, "JMicron", "JMS539", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_REPORT_OPCODES), /* Reported-by: Claudio Bizzarri */ UNUSUAL_DEV(0x152d, 0x0567, 0x0000, 0x9999, "JMicron", "JMS567", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES), /* Reported-by: Hans de Goede */ UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999, "VIA", "VL711", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_ATA_1X), /* Reported-by: Takeo Nakayama */ UNUSUAL_DEV(0x357d, 0x7788, 0x0000, 0x9999, "JMicron", "JMS566", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_REPORT_OPCODES), /* Reported-by: Hans de Goede */ UNUSUAL_DEV(0x4971, 0x1012, 0x0000, 0x9999, "Hitachi", "External HDD", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_IGNORE_UAS), /* Reported-by: Richard Henderson */ UNUSUAL_DEV(0x4971, 0x8017, 0x0000, 0x9999, "SimpleTech", "External HDD", USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_NO_REPORT_OPCODES), 89f686725ff5bc3b9b25'>patch) treebe6d0e1f37c38ed0a7dd5da2d4b1e93f0fb43101 /sound/soc/tegra/tegra_wm8753.c parent24c2503255d35c269b67162c397a1a1c1e02f6ce (diff)
x86/mce: Make timer handling more robust
Erik reported that on a preproduction hardware a CMCI storm triggers the BUG_ON in add_timer_on(). The reason is that the per CPU MCE timer is started by the CMCI logic before the MCE CPU hotplug callback starts the timer with add_timer_on(). So the timer is already queued which triggers the BUG. Using add_timer_on() is pretty pointless in this code because the timer is strictlty per CPU, initialized as pinned and all operations which arm the timer happen on the CPU to which the timer belongs. Simplify the whole machinery by using mod_timer() instead of add_timer_on() which avoids the problem because mod_timer() can handle already queued timers. Use __start_timer() everywhere so the earliest armed expiry time is preserved. Reported-by: Erik Veijola <erik.veijola@intel.com> Tested-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Borislav Petkov <bp@alien8.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1701310936080.3457@nanos Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'sound/soc/tegra/tegra_wm8753.c')