summaryrefslogtreecommitdiffstats
path: root/drivers/block
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds2014-03-071-1/+1
|\
| * mtip32xx: Reduce the number of unaligned writes to 2Asai Thambi S P2014-02-181-1/+1
* | zram: avoid null access when fail to alloc metaMinchan Kim2014-03-041-0/+2
* | mm: close PageTail raceDavid Rientjes2014-03-041-2/+2
|/
* Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds2014-02-146-95/+105
|\
| * xen-blkback: init persistent_purge_work work_structRoger Pau Monne2014-02-123-2/+3
| * Merge branch 'stable/for-jens-3.14' of git://git.kernel.org/pub/scm/linux/ker...Jens Axboe2014-02-104-26/+65
| |\
| | * xen-blkfront: handle backend CLOSED without CLOSINGDavid Vrabel2014-02-071-1/+4
| | * xen-blkif: drop struct blkif_request_segment_alignedRoger Pau Monne2014-02-073-5/+5
| | * xen-blkback: fix shutdown raceRoger Pau Monne2014-02-073-10/+24
| | * xen-blkback: fix memory leaksRoger Pau Monne2014-02-073-9/+31
| | * xen-blkback: fix memory leak when persistent grants are usedMatt Rushton2014-02-071-3/+3
| * | null_blk: use blk_complete_request and blk_mq_complete_requestChristoph Hellwig2014-02-101-65/+32Star
| * | virtio_blk: use blk_mq_complete_requestChristoph Hellwig2014-02-101-3/+4
| * | block/null_blk: Fix completion processing from LIFO to FIFOShlomo Pongratz2014-02-071-0/+2
* | | Merge tag 'stable/for-linus-3.14-rc1-tag' of git://git.kernel.org/pub/scm/lin...Linus Torvalds2014-02-061-6/+9
|\ \ \
| * | | Revert "xen/grant-table: Avoid m2p_override during mapping"Konrad Rzeszutek Wilk2014-02-031-6/+9
* | | | Merge git://git.infradead.org/users/willy/linux-nvmeLinus Torvalds2014-02-062-105/+652
|\ \ \ \
| * | | | NVMe: Namespace use after free on surprise removalKeith Busch2014-02-021-13/+42
| * | | | NVMe: Correct uses of INIT_WORKMatthew Wilcox2014-01-291-4/+5
| * | | | NVMe: Include device and queue numbers in interrupt nameMatthew Wilcox2014-01-281-5/+9
| * | | | NVMe: Add a pci_driver shutdown methodKeith Busch2014-01-281-0/+7
| * | | | NVMe: Disable admin queue on init failureKeith Busch2014-01-281-5/+6
| * | | | NVMe: Dynamically allocate partition numbersMatthew Wilcox2014-01-281-33/+3Star
| * | | | NVMe: Async IO queue deletionKeith Busch2014-01-281-12/+217
| * | | | NVMe: Surprise removal handlingKeith Busch2014-01-281-3/+10
| * | | | NVMe: Abort timed out commandsKeith Busch2014-01-281-1/+67
| * | | | NVMe: Schedule reset for failed controllersKeith Busch2014-01-281-2/+19
| * | | | NVMe: Device resume error handlingKeith Busch2013-12-161-15/+93
| * | | | NVMe: Cache dev->pci_dev in a local pointerMatthew Wilcox2013-12-161-4/+4
| * | | | NVMe: Fix lockdep warningsMatthew Wilcox2013-12-161-6/+6
| * | | | NVMe: compat SG_IO ioctlKeith Busch2013-12-162-1/+164
| * | | | NVMe: remove deprecated IRQF_DISABLEDMichael Opdenacker2013-11-181-3/+2Star
| * | | | NVMe: Avoid shift operation when writing cq head doorbellHaiyan Hu2013-11-181-5/+5
* | | | | Merge tag 'stable/for-linus-3.14-rc0-late-tag' of git://git.kernel.org/pub/sc...Linus Torvalds2014-01-311-9/+6Star
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | xen/grant-table: Avoid m2p_override during mappingZoltan Kiss2014-01-311-9/+6Star
* | | | | zram: remove zram->lock in read path and change it with mutexMinchan Kim2014-01-312-12/+9Star
* | | | | zram: remove workqueue for freeing removed pending slotMinchan Kim2014-01-312-58/+6Star
* | | | | zram: introduce zram->tb_lockMinchan Kim2014-01-312-6/+23
* | | | | zram: use atomic operation for statMinchan Kim2014-01-312-20/+16Star
* | | | | zram: remove unnecessary freeMinchan Kim2014-01-311-8/+0Star
* | | | | zram: delay pending free request in read pathMinchan Kim2014-01-311-1/+0Star
* | | | | zram: fix race between reset and flushing pending workMinchan Kim2014-01-311-2/+2
* | | | | zram: add copyrightMinchan Kim2014-01-312-0/+2
* | | | | zram: remove old private project commentMinchan Kim2014-01-313-3/+0Star
* | | | | zram: promote zram from stagingMinchan Kim2014-01-316-0/+1149
| |_|/ / |/| | |
* | | | Merge branch 'for-3.14/drivers' of git://git.kernel.dk/linux-blockLinus Torvalds2014-01-3010-130/+205
|\ \ \ \
| * | | | mg_disk: Spelling s/finised/finished/Geert Uytterhoeven2014-01-221-1/+1
| * | | | null_blk: Null pointer deference problem in alloc_page_buffersRaghavendra K T2014-01-221-0/+5
| * | | | mtip32xx: Correctly handle security locked conditionSam Bradshaw2014-01-222-3/+15
led at greater pen distances. In addition to keeping the `stylus_in_proximity` flag set, the driver would leave the current BTN_TOOL_* marked as being in proximity as well. The new HID codepath also sets `stylus_in_proximity` based on the "sense" flag, but does not leave the current BTN_TOOL_* marked as being in prox. This information is potentially useful to for a future userspace-based palm rejection, so this patch modifies the driver to continue sending it. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * HID: wacom: generic: Use generic codepath terminology in wacom_wac_pen_reportJason Gerecke2017-09-131-9/+9 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The terminology used to describe the various degrees of pen proximity within the wacom_wac_pen_report function does not match that used elsewhere in the generic codepath. Specifically, the names of the variables "prox" and "range" were inspired by the non-generic codepaths. To make the generic codepath internally consistent, replace these terms with "range" and "sense" respectively. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | Merge branch 'for-4.15/use-timer-setup' into for-linusJiri Kosina2017-11-152-8/+10 | |\ \ | | | | | | | | | | | | | | | | | | | | - usbhid: conversion to timer_setup() and from_timer() from Kees Cook Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | HID: usbhid: Convert timers to use timer_setup()Kees Cook2017-10-112-8/+10 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation for unconditionally passing the struct timer_list pointer to all timer callbacks, switch to using the new timer_setup() and from_timer() (introduced by 686fef928bba ("timer: Prepare to change timer callback argument type")) to pass the timer pointer explicitly. Adds pointer back to hid_device for multitouch. [jkosina@suse.cz: extend changelog a little bit as asked for by Benjamin] Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: linux-input@vger.kernel.org Cc: linux-usb@vger.kernel.org Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | Merge branch 'for-4.15/upstream' into for-linusJiri Kosina2017-11-157-8/+29 | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - cp2112: GPIO error handling and Kconfig fixes from Sébastien Szymanski - i2c-hid: fixup / quirk for Apollo-Lake based laptops, from Hans de Goede - Input/Core: add eraser tool support, from Ping Cheng - small assorted code fixes Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: cp2112: fix broken gpio_direction_input callbackSébastien Szymanski2017-11-101-2/+6 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When everything goes smoothly, ret is set to 0 which makes the function to return EIO error. Fixes: 8e9faa15469e ("HID: cp2112: fix gpio-callback error handling") Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: cp2112: fix interface specification URLSébastien Szymanski2017-11-101-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: i2c-hid: Add no-irq-after-reset quirk for 0911:5288 deviceHans de Goede2017-11-092-1/+9 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several cheap Apollo Lake based laptops / 2-in-1s use an i2c-hid mt touchpad which is advertised by the DSDT with an ACPI HID of "SYNA3602", this touchpad can be found on e.g. the Cube Thinker and the EZBook 3 Pro. On my "T-bao Tbook air" the i2c-hid driver fails to bind to this touchpad: "i2c_hid i2c-SYNA3602:00: failed to reset device.". After some debuging this it seems that this touchpad simply never sends an interrupt after a reset as expected by the i2c hid driver. This commit adds a quirk for this device, making i2c_hid_command sleep 100ms after a reset instead of waiting for an irq, fixing i2c-hid failing to bind to this touchpad. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: cp2112: add HIDRAW dependencySébastien Szymanski2017-11-091-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, with HIDRAW=n, the probe function crashes because of null dereference of hdev->hidraw. Cc: stable@vger.kernel.org Fixes: 42cb6b35b9e6 ("HID: cp2112: use proper hidraw name with minor number") Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: hid-input: Add eraser usage to hidinput_configure_usagePing Cheng2017-10-051-0/+9 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some tablets report eraser usage to indicate the eraser tool tip is touching the surface. But, hidinput_configure_usage didn't support the usage, which led it falls into default as ABS_MISC. Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: retrode: tell what a Retrode is and drop a blank lineRandy Dunlap2017-10-021-2/+1Star | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add descriptive info to prompt string so that someone can know what a Retrode is. Drop an unneeded blank line. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Bastien Nocera <hadess@hadess.net> Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: add comment for power callback in struct hid_ll_driverJaejoong Kim2017-10-021-0/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a missing comment in struct hid_ll_driver. So, add it. Signed-off-by: Jaejoong Kim <climbbb.kim@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | HID: make device_attribute constBhumika Goyal2017-09-061-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make this const as it is only passed as an argument to the function device_create_file and device_remove_file and the corresponding arguments are of type const. Done using Coccinelle Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | | Merge branch 'for-4.15/sony' into for-linusJiri Kosina2017-11-151-4/+10 | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - SHANWAN PS3 rumble fix from Bastien Nocera Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | | HID: sony: Fix SHANWAN pad rumbling on USBBastien Nocera2017-11-091-4/+10 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SHANWAN PS3 clone joypad will start its rumble motors as soon as it is plugged in via USB. As the additional USB interrupt does nothing on the original PS3 Sixaxis joypads, and makes a number of other clone joypads actually start sending data, disable that call for the SHANWAN so the rumble motors aren't started on plug. Signed-off-by: Bastien Nocera <hadess@hadess.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | | | Merge branch 'for-4.15/multitouch' into for-linusJiri Kosina2017-11-152-0/+43 | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - make sure that we forward MSC_TIMESTAMP in accordance to the specification, from Nicolas Boichat Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | | | HID: hid-multitouch: forward MSC_TIMESTAMPNicolas Boichat2017-10-052-0/+43 | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Computes and forwards the device timestamp according to the specification. Many devices use a 16-bit timestamp field, with a resolution of 100us, therefore rolling around very frequently (every 6.5 seconds). To make sure there is no ambiguity, the timestamp reported to the input stack reset to 0 whenever the time between 2 received events is greater than MAX_TIMESTAMP_INTERVAL (1 second). Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | | | Merge branch 'for-4.15/logitech' into for-linusJiri Kosina2017-11-152-4/+4 | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | - small code fixes for Logitech driver from Colin Ian King | | * | | | | HID: hid-logitech: remove redundant assignment to pointer valueColin Ian King2017-10-191-3/+1Star | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pointer value is being assigned a value and this is never read, and later on it is being assigned a new value. This the first assignment is redundant and can be removed and hence also the variables report and report_list. Cleans up the clang warning: Value stored to 'value' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | | | HID: hid-lg: make array cbuf static const to shink object code sizeColin Ian King2017-09-061-1/+3 | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't populate array cbuf on the stack, instead make it static. Makes the object code smaller by over 110 bytes: Before: text data bss dec hex filename 15096 3504 128 18728 4928 drivers/hid/hid-lg.o After: text data bss dec hex filename 14884 3600 128 18612 48b4 drivers/hid/hid-lg.o Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | | | Merge branch 'for-4.15/hyperv' into for-linusJiri Kosina2017-11-151-1/+1 | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | - trivial printk() line termination fix for HyperV | | * | | | | HID: hyperv: pr_err() strings should end with newlinesArvind Yadav2017-10-051-1/+1 | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pr_err() messages should terminated with a new-line to avoid other messages being concatenated onto the end. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | | | Merge branch 'for-4.15/asus' into for-linusJiri Kosina2017-11-153-2/+32 | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Asus laptop fixes (fn keys, backlight), from Mustafa Kuscu and Maxime Bellengé | | * | | | | HID: add backlight level quirk for Asus ROG laptopsMustafa Kuscu2017-11-091-1/+1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On laptops such as Asus GL553VD, setting keyboard backlight levels does not work. This change enables F3/F4 keys to set backlight levels (from 0 to 3, total 4 levels) on such laptops. It is intended only to the following device: 0x0b05 1854: P: Vendor=0b05 ProdID=1854 Rev=03.02 S: Manufacturer=ITE Tech. Inc. S: Product=ITE Device(8910) [jkosina@suse.cz: massage changelog a little bit] Signed-off-by: Mustafa C Kuscu <mustafakuscu@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | | * | | | | HID: asus: Add support for Fn keys on Asus ROG G752Maxime Bellengé2017-09-163-1/+31 | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for Fn keys on Asus ROG G752 laptop. The report descriptor is broken so I fixed it. Tested on an Asus G752VT. Resent fix white space fixes Signed-off-by: Maxime Bellengé <maxime.bellenge@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> | * | | | | Merge branch 'for-4.15/alps' into for-linusJiri Kosina2017-11-15