[PATCH 4.13 36/47] MCB: add support for SC31 to mcb-lpc

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Michael Moese commit acf5e051ac44d5dc60b21bc4734ef1b844d1 upstream. This patch adds the resources and DMI ID's for the MEN SC31, which uses a different address region to map the LPC bus th

[PATCH 4.13 00/47] 4.13.1-stable review

2017-09-08 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.13.1 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Sep 10 13:18:08 UTC 2017. Anything receive

[PATCH 4.13 41/47] ahci: dont use MSI for devices with the silly Intel NVMe remapping scheme

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit f723fa4e69920f6a5dd5fa0d10ce90e2f14d189c upstream. Intel AHCI controllers that also hide NVMe devices in their bar can't use MSI interrupts, so disable them. Reported

[PATCH 4.13 42/47] cs5536: add support for IDE controller variant

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Korolyov commit 591b6bb605785c12a21e8b07a08a277065b655a5 upstream. Several legacy devices such as Geode-based Cisco ASA appliances and DB800 development board do possess CS5536 IDE cont

[PATCH 4.12 06/43] ANDROID: binder: add padding to binder_fd_array_object.

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Martijn Coenen commit 5cdcf4c6a638591ec0e98c57404a19e7f9997567 upstream. binder_fd_array_object starts with a 4-byte header, followed by a few fields that are 8 bytes when ANDROID_BINDER_IPC_3

[PATCH 4.13 24/47] fpga: altera-hps2fpga: fix multiple init of l3_remap_lock

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 4ae2bd4b3ada3dfd80ca8110b4f567752966ca1e upstream. The global spinlock `l3_remap_lock` is reinitialized every time the "probe" function `alt_fpga_bridge_probe()` is called.

[PATCH 4.12 01/43] usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit de3af5bf259d7a0bfaac70441c8568ab5998d80c upstream. Corsair Strafe RGB keyboard has trouble to initialize: [ 1.679455] usb 3-6: new full-speed USB device number 4 using xh

[PATCH 4.12 00/43] 4.12.12-stable review

2017-09-08 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.12.12 release. There are 43 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Sep 10 13:18:14 UTC 2017. Anything receiv

[PATCH 4.12 11/43] iio: adc: ti-ads1015: fix scale information for ADS1115

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 8d0e8e795623bd6229cf48bba1c456c370ed upstream. The ti-ads1015 driver supports ADS1015 and ADS1115 devices. The same scale information is used for both devices in this

[PATCH 4.12 26/43] rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit fc81bab5eeb103711925d7510157cf5cd2b153f4 upstream. _rtl_pci_find_adapter fail path will jump to label fail3 for unsupported adapter types. However, on course for fail

[PATCH 4.12 30/43] mwifiex: correct channel stat buffer overflows

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 4b5dde2d6234ff5bc68e97e6901d1f2a0a7f3749 upstream. mwifiex records information about various channels as it receives scan information. It does this by appending to a buffer

[PATCH 4.12 08/43] USB: core: Avoid race of async_completed() w/ usbdev_release()

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Anderson commit ed62ca2f4f51c17841ea39d98c0c409cb53a3e10 upstream. While running reboot tests w/ a specific set of USB devices (and slub_debug enabled), I found that once every few hou

[PATCH 4.12 35/43] drm/nouveau: Fix error handling in nv50_disp_atomic_commit

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 813a7e1604eaad1c2792d37d402e1b48b8d0eb3f upstream. Make it more clear that post commit return ret is really return 0, and add a missing drm_atomic_helper_cleanup_plan

[PATCH 4.12 36/43] workqueue: Fix flag collision

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit fbf1c41fc0f4d3574ac2377245efd666c1fa3075 upstream. Commit 0a94efb5acbb ("workqueue: implicit ordered attribute should be overridable") introduced a __WQ_ORDERED_EXPLICIT f

[PATCH 4.12 41/43] of/device: Prevent buffer overflow in of_device_modalias()

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Andersson commit 08ab58d9de3eb8498ae0585001d0975e46217a39 upstream. As of_device_get_modalias() returns the number of bytes that would have been written to the target string, regardless

[PATCH 4.12 43/43] rtlwifi: Fix fallback firmware loading

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sven Joachim commit 1d9b168d8ea9a0f51947d0e2f84856e77d2fe7ff upstream. Commit f70e4df2b384 ("rtlwifi: Add code to read new versions of firmware") added code to load an old firmware file if the

[PATCH 4.12 39/43] scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Todd Poynor commit 6a8dadcca81fceff9976e8828cceb072873b7bd5 upstream. Take f_mutex around mmap() processing to protect against races with the SG_SET_RESERVED_SIZE ioctl. Ensure the reserve bu

[PATCH 4.12 38/43] cs5536: add support for IDE controller variant

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Korolyov commit 591b6bb605785c12a21e8b07a08a277065b655a5 upstream. Several legacy devices such as Geode-based Cisco ASA appliances and DB800 development board do possess CS5536 IDE cont

[PATCH 4.12 22/43] intel_th: pci: Add Cannon Lake PCH-H support

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 84331e1390b6378a5129a3678c87a42c6f697d29 upstream. This adds Intel(R) Trace Hub PCI ID for Cannon Lake PCH-H. Signed-off-by: Alexander Shishkin Signed-off-by: Greg

[PATCH 4.12 23/43] intel_th: pci: Add Cannon Lake PCH-LP support

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit efb3669e14fe17d0ec4ecf57d0365039fe726f59 upstream. This adds Intel(R) Trace Hub PCI ID for Cannon Lake PCH-LP. Signed-off-by: Alexander Shishkin Signed-off-by: Greg

[PATCH 4.9 12/32] iio: adc: ti-ads1015: dont return invalid value from buffer setup callbacks

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit a6fe5e52d5ecfc98530034d6c9db73777cf41ede upstream. pm_runtime_get_sync() and pm_runtime_put_autosuspend() return 0 on success, 1 if the device's runtime PM status was alread

[PATCH 4.12 25/43] Input: trackpoint - assume 3 buttons when buttons detection fails

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Oscar Campos commit 293b915fd9bebf33cdc906516fb28d54649a25ac upstream. Trackpoint buttons detection fails on ThinkPad 570 and 470 series, this makes the middle button of the trackpoint to not

[PATCH 4.9 18/32] Input: trackpoint - assume 3 buttons when buttons detection fails

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Oscar Campos commit 293b915fd9bebf33cdc906516fb28d54649a25ac upstream. Trackpoint buttons detection fails on ThinkPad 570 and 470 series, this makes the middle button of the trackpoint to not b

[PATCH 4.9 02/32] USB: serial: option: add support for D-Link DWM-157 C1

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maciej S. Szmigiero commit 169e86546f5712179709de23cd64bbb15f199fab upstream. This commit adds support (an ID, really) for D-Link DWM-157 hardware version C1 USB modem to option driver. Accord

[PATCH 4.9 16/32] intel_th: pci: Add Cannon Lake PCH-LP support

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit efb3669e14fe17d0ec4ecf57d0365039fe726f59 upstream. This adds Intel(R) Trace Hub PCI ID for Cannon Lake PCH-LP. Signed-off-by: Alexander Shishkin Signed-off-by: Greg

[PATCH 4.9 25/32] s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit fa41ba0d08de7c975c3e94d0067553f9b934221f upstream. Right now there is a potential hang situation for postcopy migrations, if the guest is enabling storage keys on t

[PATCH 4.9 03/32] usb: Add device quirk for Logitech HD Pro Webcam C920-C

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Fleytman commit a1279ef74eeeb5f627f091c71d80dd7ac766c99d upstream. Commit e0429362ab15 ("usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e") introduced quirk to workaround

[PATCH 4.9 07/32] staging/rts5208: fix incorrect shift to extract upper nybble

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 34ff1bf4920471cff66775dc39537b15c5f0feff upstream. The mask of sns_key_info1 suggests the upper nybble is being extracted however the following shift of 8 bits is too larg

[PATCH 4.9 08/32] iio: adc: ti-ads1015: fix incorrect data rate setting update

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 0d106b74c558e3000aa0e058b4725cacb70ce77a upstream. The ti-ads1015 driver has eight iio voltage channels and each iio channel can hold own sampling frequency information. Th

[PATCH 4.9 00/32] 4.9.49-stable review

2017-09-08 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.49 release. There are 32 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Sep 10 13:18:28 UTC 2017. Anything receive

[PATCH 4.9 09/32] iio: adc: ti-ads1015: fix scale information for ADS1115

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 8d0e8e795623bd6229cf48bba1c456c370ed upstream. The ti-ads1015 driver supports ADS1015 and ADS1115 devices. The same scale information is used for both devices in this d

Re: [PATCH v2] ARM: dts: sun8i: h3: Fix Pincrtl bindings on Bananapi M2 Plus

2017-09-08 Thread Maxime Ripard
On Tue, Sep 05, 2017 at 10:34:16PM +0200, Philipp Rossak wrote: > From: Philipp Rossak > > There is no need for pincontrol nodes when the pin is set to a GPIO > > Signed-off-by: Philipp Rossak Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http

[PATCH 4.9 05/32] USB: musb: fix external abort on suspend

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 082df8be455ade361748f0385aa6c9c8d07be167 upstream. Make sure that the controller is runtime resumed when system suspending to avoid an external abort when accessing the inte

Re: [PATCH v5 10/10] net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs

2017-09-08 Thread Corentin Labbe
On Fri, Sep 08, 2017 at 03:05:20PM +0200, Andrew Lunn wrote: > > +#define DWMAC_sUN8I_MDIO_MUX_INTERNAL_ID 0 > > +#define DWMAC_sUN8I_MDIO_MUX_EXTERNAL_ID 1 > > > > /* H3/A64 specific bits */ > > #define SYSCON_RMII_EN BIT(13) /* 1: enable RMII (overrides > > EPIT) */ > > @@ -6

[PATCH 4.9 06/32] USB: core: Avoid race of async_completed() w/ usbdev_release()

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Douglas Anderson commit ed62ca2f4f51c17841ea39d98c0c409cb53a3e10 upstream. While running reboot tests w/ a specific set of USB devices (and slub_debug enabled), I found that once every few hour

Re: [PATCH 1/4] perf ui progress: Make sure we always define step value

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 08, 2017 at 03:16:37PM +0200, Milian Wolff escreveu: > On Freitag, 8. September 2017 14:05:07 CEST Jiri Olsa wrote: > > +++ b/tools/perf/ui/progress.c > > @@ -25,7 +25,7 @@ void ui_progress__update(struct ui_progress *p, u64 adv) > > void ui_progress__init(struct ui_progress *p, u64 to

[PATCH 4.9 31/32] drm/bridge: adv7511: Use work_struct to defer hotplug handing to out of irq context

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 518cb7057a59b9441336d2e88a396d52b6ab0cce upstream. I was recently seeing issues with EDID probing, where the logic to wait for the EDID read bit to be set by the IRQ wasn't h

[PATCH 4.9 04/32] usb:xhci:Fix regression when ATI chipsets detected

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sandeep Singh commit e6b422b88b46353cf596e0db6dc0e39d50d90d6e upstream. The following commit cause a regression on ATI chipsets. 'commit e788787ef4f9 ("usb:xhci:Add quirk for Certain failing HP

Re: [PATCH] perf sched timehist: Add pid and tid options

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 07, 2017 at 09:07:24AM -0600, David Ahern escreveu: > Hi Arnaldo: > > are you ok with this change? Yes, it is already merged in my perf/core branch. - Arnaldo > On 9/1/17 11:49 AM, David Ahern wrote: > > Add options to only show event for specific pid(s) and tid(s). > > > > Signed

[PATCH 4.9 32/32] drm/bridge: adv7511: Switch to using drm_kms_helper_hotplug_event()

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz commit 6d5104c5a6b56385426e15047050584794bb6254 upstream. In chasing down a previous issue with EDID probing from calling drm_helper_hpd_irq_event() from irq context, Laurent notice

[PATCH 4.9 30/32] scsi: sg: recheck MMAP_IO request length with lock held

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Todd Poynor commit 8d26f491116feaa0b16de370b6a7ba40a40fa0b4 upstream. Commit 1bc0eb044615 ("scsi: sg: protect accesses to 'reserved' page array") adds needed concurrency protection for the "res

[PATCH 4.9 28/32] cs5536: add support for IDE controller variant

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Korolyov commit 591b6bb605785c12a21e8b07a08a277065b655a5 upstream. Several legacy devices such as Geode-based Cisco ASA appliances and DB800 development board do possess CS5536 IDE contr

[PATCH 4.9 26/32] drm/nouveau/pci/msi: disable MSI on big-endian platforms by default

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit bc60c90f472b6e762ea96ef384072145adc8d4af upstream. It appears that MSI does not work on either G5 PPC nor on a E5500-based platform, where other hardware is reported to work

[PATCH 4.9 29/32] scsi: sg: protect against races between mmap() and SG_SET_RESERVED_SIZE

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Todd Poynor commit 6a8dadcca81fceff9976e8828cceb072873b7bd5 upstream. Take f_mutex around mmap() processing to protect against races with the SG_SET_RESERVED_SIZE ioctl. Ensure the reserve buf

[PATCH 4.9 27/32] workqueue: Fix flag collision

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit fbf1c41fc0f4d3574ac2377245efd666c1fa3075 upstream. Commit 0a94efb5acbb ("workqueue: implicit ordered attribute should be overridable") introduced a __WQ_ORDERED_EXPLICIT fl

[PATCH 4.9 24/32] MCB: add support for SC31 to mcb-lpc

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Michael Moese commit acf5e051ac44d5dc60b21bc4734ef1b844d1 upstream. This patch adds the resources and DMI ID's for the MEN SC31, which uses a different address region to map the LPC bus tha

[PATCH 4.9 23/32] mwifiex: correct channel stat buffer overflows

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 4b5dde2d6234ff5bc68e97e6901d1f2a0a7f3749 upstream. mwifiex records information about various channels as it receives scan information. It does this by appending to a buffer

Re: [PATCH 1/3] tools lib api: Fix make DEBUG=1 build

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 08, 2017 at 10:46:19AM +0200, Jiri Olsa escreveu: > Do not use -D_FORTIFY_SOURCE=2 for DEBUG build as it seems to > mess up with debuginfo, which results in bad gdb experience. > > We already do that for perf. Thanks, applied 1-3. - Arnaldo

[PATCH 4.9 21/32] iwlwifi: pci: add new PCI ID for 7265D

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Luca Coelho commit 3f7a5e13e85026b6e460bbd6e87f87379421d272 upstream. We have a new PCI subsystem ID for 7265D. Add it to the list. Signed-off-by: Luca Coelho Signed-off-by: Greg Kroah-Hartm

[PATCH 4.9 20/32] Bluetooth: Add support of 13d3:3494 RTL8723BE device

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit a81d72d2002d6a932bd83022cbf8c442b1b97512 upstream. T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1

[PATCH 4.9 19/32] rtlwifi: rtl_pci_probe: Fix fail path of _rtl_pci_find_adapter

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit fc81bab5eeb103711925d7510157cf5cd2b153f4 upstream. _rtl_pci_find_adapter fail path will jump to label fail3 for unsupported adapter types. However, on course for fail3

[PATCH 4.9 17/32] ath10k: fix memory leak in rx ring buffer allocation

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Rakesh Pillai commit f35a7f91f66af528b3ee1921de16bea31d347ab0 upstream. The rx ring buffers are added to a hash table if firmware support full rx reorder. If the full rx reorder support flag is

[PATCH 4.9 14/32] driver core: bus: Fix a potential double free

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 0f9b011d3321ca1079c7a46c18cb1956fbdb7bcb upstream. The .release function of driver_ktype is 'driver_release()'. This function frees the container_of this kobject. So,

[PATCH 4.9 13/32] iio: adc: ti-ads1015: add adequate wait time to get correct conversion

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 4744d4e2afebf9644a439da9ca73d822fdd67bd9 upstream. This driver assumes that the device is operating in the continuous conversion mode which performs the conversion continuou

[PATCH 4.9 15/32] intel_th: pci: Add Cannon Lake PCH-H support

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 84331e1390b6378a5129a3678c87a42c6f697d29 upstream. This adds Intel(R) Trace Hub PCI ID for Cannon Lake PCH-H. Signed-off-by: Alexander Shishkin Signed-off-by: Greg K

Re: [PATCH RFC] Update documentation for KSZ DSA drivers so that new drivers can be added

2017-09-08 Thread Maxim Uvarov
2017-09-08 0:54 GMT+03:00 Andrew Lunn : >> -- compatible: For external switch chips, compatible string must be exactly >> one >> - of: "microchip,ksz9477" >> +- compatible: Should be "microchip,ksz9477" for KSZ9477 chip, >> + "microchip,ksz8795" for KSZ8795 chip, >> + "microch

[PATCH 4.12 16/43] driver core: bus: Fix a potential double free

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 0f9b011d3321ca1079c7a46c18cb1956fbdb7bcb upstream. The .release function of driver_ktype is 'driver_release()'. This function frees the container_of this kobject. So

[PATCH 4.9 11/32] iio: adc: ti-ads1015: avoid getting stale result after runtime resume

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 73e3e3fc50de50cfd68e945d85679c983ed31bd9 upstream. This driver assumes that the device is operating in the continuous conversion mode which performs the conversion continuou

[PATCH 4.9 10/32] iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit e8245c68350104b6022b6783719e843d69ea7c43 upstream. The ADS1015 device have two operating modes, continuous conversion mode and single-shot mode. This driver assumes that th

[PATCH 4.9 01/32] usb: quirks: add delay init quirk for Corsair Strafe RGB keyboard

2017-09-08 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit de3af5bf259d7a0bfaac70441c8568ab5998d80c upstream. Corsair Strafe RGB keyboard has trouble to initialize: [ 1.679455] usb 3-6: new full-speed USB device number 4 using xhc

[PATCH 4.12 24/43] ath10k: fix memory leak in rx ring buffer allocation

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Rakesh Pillai commit f35a7f91f66af528b3ee1921de16bea31d347ab0 upstream. The rx ring buffers are added to a hash table if firmware support full rx reorder. If the full rx reorder support flag i

Re: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers.

2017-09-08 Thread Vivien Didelot
Hi Tristram, tristram...@microchip.com writes: > From: Tristram Ha > > This series of patches is to modify the original KSZ9477 DSA driver so that > other KSZ switch drivers can be added and use the common code. Please see Documentation/process/submitting-patches.rst. Use a correct formatting

[PATCH 4.12 21/43] fpga: altera-hps2fpga: fix multiple init of l3_remap_lock

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 4ae2bd4b3ada3dfd80ca8110b4f567752966ca1e upstream. The global spinlock `l3_remap_lock` is reinitialized every time the "probe" function `alt_fpga_bridge_probe()` is called.

Re: [PATCH v8 10/28] x86/insn-eval: Add a utility function to get register offsets

2017-09-08 Thread Borislav Petkov
On Fri, Aug 18, 2017 at 05:27:51PM -0700, Ricardo Neri wrote: > The function get_reg_offset() returns the offset to the register the > argument specifies as indicated in an enumeration of type offset. Callers > of this function would need the definition of such enumeration. This is > not needed. In

Re: [PATCH] arm64: KVM: VHE: reset PSTATE.UAO when switch to host

2017-09-08 Thread gengdongjiu
Hi Marc, > > On 08/09/17 10:05, gengdongjiu wrote: > > Marc, > >Thanks for reply. > > > > On 2017/9/8 16:21, Marc Zyngier wrote: > >>> Marc, > >>> > >>> sorry I have another question for the PAN. [...] > There cannot be any userspace mapping at EL2 when non-VHE, so there cannot be > any vali

[PATCH 4.12 40/43] scsi: sg: recheck MMAP_IO request length with lock held

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Todd Poynor commit 8d26f491116feaa0b16de370b6a7ba40a40fa0b4 upstream. Commit 1bc0eb044615 ("scsi: sg: protect accesses to 'reserved' page array") adds needed concurrency protection for the "re

[PATCH 4.12 42/43] rtlwifi: Fix memory leak when firmware request fails

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Souptick Joarder commit f2764f61fa10593204b0c5e4e9a68dba02112e50 upstream. This patch will fix memory leak when firmware request fails Signed-off-by: Souptick Joarder Acked-by: Larry Finger

[PATCH 1/2] mxser: fix timeout calculation for low rates

2017-09-08 Thread Jiri Slaby
Paul reported, that low rates like B300 make the driver to hang in mxser_wait_until_sent. His debugging tackled the issue down to the info->timeout computation in mxser_set_baud. Obviously, ints are used there and they easily overflow with these low rates: B300 makes info->timeout to be -373. So s

Re: [PATCH] drivers: cpuidle: Fix checkpatch error and warnings

2017-09-08 Thread gaurav jindal
This patch fixes the below checkpatch errors and warnings in drivers/cpuidle/cpuidle.c WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable #343: FILE: drivers/cpuidle/cpuidle.c:343: +EXPORT_SYMBOL_GPL(cpuidle_pause_and_lock); WARNING: EXPORT_SYMBOL(foo); should immediate

[PATCH 2/2] mxser: remove unused parameters

2017-09-08 Thread Jiri Slaby
Remove * pdev from mxser_initbrd * old_termios from mxser_change_speed as they are unused and update the callers. Signed-off-by: Jiri Slaby --- drivers/tty/mxser.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index

[PATCH 4.12 37/43] ahci: dont use MSI for devices with the silly Intel NVMe remapping scheme

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit f723fa4e69920f6a5dd5fa0d10ce90e2f14d189c upstream. Intel AHCI controllers that also hide NVMe devices in their bar can't use MSI interrupts, so disable them. Reported

[PATCH 4.12 18/43] binder: free memory on error

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christian Brauner commit 22eb9476b5d80a393ac0ba235c42bccc90b82c76 upstream. On binder_init() the devices string is duplicated and smashed into individual device names which are passed along. H

[PATCH 4.12 34/43] drm/nouveau/pci/msi: disable MSI on big-endian platforms by default

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit bc60c90f472b6e762ea96ef384072145adc8d4af upstream. It appears that MSI does not work on either G5 PPC nor on a E5500-based platform, where other hardware is reported to work

[PATCH 4.12 33/43] s390/mm: fix BUG_ON in crst_table_upgrade

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 8ab867cb0806a8e195de161fd8883a0578d1d050 upstream. A 31-bit compat process can force a BUG_ON in crst_table_upgrade with specific, invalid mmap calls, e.g. mmap((

[PATCH 4.12 31/43] MCB: add support for SC31 to mcb-lpc

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Michael Moese commit acf5e051ac44d5dc60b21bc4734ef1b844d1 upstream. This patch adds the resources and DMI ID's for the MEN SC31, which uses a different address region to map the LPC bus th

[PATCH 4.12 32/43] s390/mm: avoid empty zero pages for KVM guests to avoid postcopy hangs

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit fa41ba0d08de7c975c3e94d0067553f9b934221f upstream. Right now there is a potential hang situation for postcopy migrations, if the guest is enabling storage keys on

[PATCH 4.12 28/43] iwlwifi: pci: add new PCI ID for 7265D

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Luca Coelho commit 3f7a5e13e85026b6e460bbd6e87f87379421d272 upstream. We have a new PCI subsystem ID for 7265D. Add it to the list. Signed-off-by: Luca Coelho Signed-off-by: Greg Kroah-Hart

[PATCH 4.12 17/43] HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gerecke commit 8d411cbf46e515ca2b7ceb3d2b3f43e22813edac upstream. The WACOM_HID_WD_TOUCHRINGSTATUS usage is a single bit which tells us whether the touchring is currently in use or not.

[PATCH 4.12 27/43] Bluetooth: Add support of 13d3:3494 RTL8723BE device

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit a81d72d2002d6a932bd83022cbf8c442b1b97512 upstream. T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 4 Spd=12 MxCh= 0 D: Ver= 2.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1

[PATCH 4.12 09/43] staging/rts5208: fix incorrect shift to extract upper nybble

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 34ff1bf4920471cff66775dc39537b15c5f0feff upstream. The mask of sns_key_info1 suggests the upper nybble is being extracted however the following shift of 8 bits is too lar

[PATCH 4.12 07/43] ANDROID: binder: add hwbinder,vndbinder to BINDER_DEVICES.

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Martijn Coenen commit 9e18d0c82f0c07f2a41898d4adbb698a953403ee upstream. These will be required going forward. Signed-off-by: Martijn Coenen Signed-off-by: Greg Kroah-Hartman --- drivers/

[PATCH 4.12 05/43] USB: musb: fix external abort on suspend

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 082df8be455ade361748f0385aa6c9c8d07be167 upstream. Make sure that the controller is runtime resumed when system suspending to avoid an external abort when accessing the int

[PATCH 4.12 03/43] usb: Add device quirk for Logitech HD Pro Webcam C920-C

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Fleytman commit a1279ef74eeeb5f627f091c71d80dd7ac766c99d upstream. Commit e0429362ab15 ("usb: Add device quirk for Logitech HD Pro Webcams C920 and C930e") introduced quirk to workaroun

[PATCH 4.12 04/43] usb:xhci:Fix regression when ATI chipsets detected

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sandeep Singh commit e6b422b88b46353cf596e0db6dc0e39d50d90d6e upstream. The following commit cause a regression on ATI chipsets. 'commit e788787ef4f9 ("usb:xhci:Add quirk for Certain failing H

[PATCH 4.12 15/43] iio: adc: ti-ads1015: add adequate wait time to get correct conversion

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 4744d4e2afebf9644a439da9ca73d822fdd67bd9 upstream. This driver assumes that the device is operating in the continuous conversion mode which performs the conversion continuo

[PATCH 4.12 02/43] USB: serial: option: add support for D-Link DWM-157 C1

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Maciej S. Szmigiero commit 169e86546f5712179709de23cd64bbb15f199fab upstream. This commit adds support (an ID, really) for D-Link DWM-157 hardware version C1 USB modem to option driver. Accor

Re: [PATCH 3/4] [media] sp2: Adjust a jump target in sp2_probe()

2017-09-08 Thread Hans Verkuil
Hi Markus, On 09/01/17 21:44, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 1 Sep 2017 21:08:38 +0200 > > * Adjust a jump target so that a null pointer will not be passed to a call > of the function "kfree". > > * Move this function call into an if branch. > > Signed-off-by: M

[PATCH 4.12 13/43] iio: adc: ti-ads1015: avoid getting stale result after runtime resume

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 73e3e3fc50de50cfd68e945d85679c983ed31bd9 upstream. This driver assumes that the device is operating in the continuous conversion mode which performs the conversion continuo

[PATCH 4.12 14/43] iio: adc: ti-ads1015: dont return invalid value from buffer setup callbacks

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit a6fe5e52d5ecfc98530034d6c9db73777cf41ede upstream. pm_runtime_get_sync() and pm_runtime_put_autosuspend() return 0 on success, 1 if the device's runtime PM status was alrea

Re: [PATCH v1 1/4] perf annotate: create a new hists to manage multiple events samples

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 16, 2017 at 06:18:33PM +0800, Jin Yao escreveu: > An issue is found during using perf annotate. > > perf record -e cycles,branches ... > perf annotate main --stdio > > The result only shows cycles. It should show both cycles and > branches on the left side. It works with "--group", bu

[PATCH 4.12 12/43] iio: adc: ti-ads1015: enable conversion when CONFIG_PM is not set

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit e8245c68350104b6022b6783719e843d69ea7c43 upstream. The ADS1015 device have two operating modes, continuous conversion mode and single-shot mode. This driver assumes that t

[PATCH 4.13 45/47] of/device: Prevent buffer overflow in of_device_modalias()

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Andersson commit 08ab58d9de3eb8498ae0585001d0975e46217a39 upstream. As of_device_get_modalias() returns the number of bytes that would have been written to the target string, regardless

[PATCH 4.13 28/47] drm/vgem: Pin our pages for dmabuf exports

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 71bb23c707c141b176bc084179ca5ee58d5fd26a upstream. When the caller maps their dmabuf and we return an sg_table, the caller doesn't expect the pages beneath that sg_table to

[PATCH 4.12 10/43] iio: adc: ti-ads1015: fix incorrect data rate setting update

2017-09-08 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit 0d106b74c558e3000aa0e058b4725cacb70ce77a upstream. The ti-ads1015 driver has eight iio voltage channels and each iio channel can hold own sampling frequency information. T

[PATCH 4.13 47/47] rtlwifi: Fix fallback firmware loading

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Sven Joachim commit 1d9b168d8ea9a0f51947d0e2f84856e77d2fe7ff upstream. Commit f70e4df2b384 ("rtlwifi: Add code to read new versions of firmware") added code to load an old firmware file if the

[PATCH 4.13 46/47] rtlwifi: Fix memory leak when firmware request fails

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Souptick Joarder commit f2764f61fa10593204b0c5e4e9a68dba02112e50 upstream. This patch will fix memory leak when firmware request fails Signed-off-by: Souptick Joarder Acked-by: Larry Finger

Re: [PATCH] drm/vc4: clean up error handling on devm_kzalloc failure

2017-09-08 Thread Emil Velikov
Hi Colin, On 8 September 2017 at 14:17, Colin King wrote: > From: Colin Ian King > > The current error handling on devm_kzalloc failures performs a non-null > check on connector. Thss check is redundant because connector is null > at that failure point. With this check removed, we may as well m

Re: [RFC 1/4] perf ui progress: Add size info into progress bar

2017-09-08 Thread Arnaldo Carvalho de Melo
Em Fri, Sep 08, 2017 at 02:05:06PM +0200, Jiri Olsa escreveu: > hi, > sending some progress bar fixes. Thanks, tested and applied. - Arnaldo

[PATCH 4.13 27/47] ath10k: fix memory leak in rx ring buffer allocation

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Rakesh Pillai commit f35a7f91f66af528b3ee1921de16bea31d347ab0 upstream. The rx ring buffers are added to a hash table if firmware support full rx reorder. If the full rx reorder support flag i

[PATCH 4.13 25/47] intel_th: pci: Add Cannon Lake PCH-H support

2017-09-08 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 84331e1390b6378a5129a3678c87a42c6f697d29 upstream. This adds Intel(R) Trace Hub PCI ID for Cannon Lake PCH-H. Signed-off-by: Alexander Shishkin Signed-off-by: Greg

<    1   2   3   4   5   6   7   8   >