[PATCH 4.5 096/124] scsi: Do not attach VPD to devices that dont support it

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 5ddfe0858ea7848c5d4efe3f4319e7543522e0ee upstream. The patch "scsi: rescan VPD attributes" introduced a regression in which devices that don't support VPD were being scan

[PATCH 4.5 097/124] ARM: 8550/1: protect idiv patching against undefined gcc behavior

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit 208fae5c3b9431013ad7bcea07cbcee114e7d163 upstream. It was reported that a kernel with CONFIG_ARM_PATCH_IDIV=y stopped booting when compiled with the upcoming gcc 6. Turns

[PATCH 4.5 095/124] usb: renesas_usbhs: fix to avoid using a disabled ep in usbhsg_queue_done()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 4fccb0767fdbdb781a9c5b5c15ee7b219443c89d upstream. This patch fixes an issue that usbhsg_queue_done() may cause kernel panic when dma callback is running and usb_ep_dis

[PATCH 4.4 010/137] mm: fix invalid node in alloc_migrate_target()

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Xishi Qiu commit 6f25a14a7053b69917e2ebea0d31dd444cd31fd5 upstream. It is incorrect to use next_node to find a target node, it will return MAX_NUMNODES or invalid node. This will lead to crash

[PATCH 4.5 093/124] usb: renesas_usbhs: avoid NULL pointer derefernce in usbhsf_pkt_handler()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 894f2fc44f2f3f48c36c973b1123f6ab298be160 upstream. When unexpected situation happened (e.g. tx/rx irq happened while DMAC is used), the usbhsf_pkt_handler() was possibl

[PATCH 4.5 120/124] ALSA: usb-audio: Add a quirk for Plantronics BT300

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dennis Kadioglu commit b4203ff5464da00b7812e7b480192745b0d66bbf upstream. Plantronics BT300 does not support reading the sample rate which leads to many lines of "cannot get freq at ep 0x1". Th

[PATCH 4.5 094/124] usb: renesas_usbhs: disable TX IRQ before starting TX DMAC transfer

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 6490865c67825277b29638e839850882600b48ec upstream. This patch adds a code to surely disable TX IRQ of the pipe before starting TX DMAC transfer. Otherwise, a lot of unn

[PATCH 4.5 119/124] ALSA: usb-audio: Add a sample rate quirk for Phoenix Audio TMX320

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f03b24a851d32ca85dacab01785b24a7ee717d37 upstream. Phoenix Audio TMX320 gives the similar error when the sample rate is asked: usb 2-1.3: 2:1: cannot get freq at ep 0x85

[PATCH 4.5 116/124] mmc: sdhci-pci: Add support and PCI IDs for more Broxton host controllers

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 01d6b2a40a0fa73c90e05b1033f181a51fec9292 upstream. Add support and PCI IDs for more Broxton host controllers Other BXT IDs were added in v4.4 so cc'ing stable. This patch

[PATCH 4.4 011/137] powerpc/mm: Fixup preempt underflow with huge pages

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Siewior commit 08a5bb2921e490939f78f38fd0d02858bb709942 upstream. hugepd_free() used __get_cpu_var() once. Nothing ensured that the code accessing the variable did not migrate from on

[PATCH 4.5 092/124] gpio: pca953x: Use correct u16 value for register word write

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Yong Li commit 9b8e3ec34318663affced3c14d960e78d760dd9a upstream. The current implementation only uses the first byte in val, the second byte is always 0. Change it to use cpu_to_le16 to write

[PATCH 4.5 118/124] ALSA: hda/realtek - Enable the ALC292 dock fixup on the Thinkpad T460s

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit c636b95ec5980345674ad7960a3c67135a84b687 upstream. The Lenovo Thinkpad T460s requires the alc_fixup_tpt440_dock as well in order to get working sound output on the docking

[PATCH 4.4 009/137] ALSA: hda - Apply fix for white noise on Asus N550JV, too

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bobi Mihalca commit 83a9efb5b8170b7cffef4f62656656e1d8ad2ccd upstream. Apply the new fixup that is used for ASUS N750JV to another similar model, N500JV, too, for reducing the headphone noise.

[PATCH 4.4 008/137] ALSA: hda - Fix white noise on Asus N750JV headphone

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bobi Mihalca commit 9d4dc5840f93bcb002fa311693349deae7702bc5 upstream. For reducing the noise from the headphone output on ASUS N750JV, call the existing fixup, alc_fixup_auto_mute_via_amp(), a

[PATCH 4.5 113/124] Btrfs: fix file/data loss caused by fsync after rename and new inode

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 56f23fdbb600e6087db7b009775b95ce07cc3195 upstream. If we rename an inode A (be it a file or a directory), create a new inode B with the old name of inode A and under the sa

[PATCH 4.5 115/124] mmc: sdhci: Fix regression setting power on Trats2 board

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 1dceb0415aa0c6bc11dacdab47c9ef83a3604166 upstream. Several commits relating to setting power have been introducing problems by putting driver-specific rules into generic SD

[PATCH 4.4 006/137] ALSA: timer: Use mod_timer() for rearming the system timer

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4a07083ed613644c96c34a7dd2853dc5d7c70902 upstream. ALSA system timer backend stops the timer via del_timer() without sync and leaves del_timer_sync() at the close instead.

[PATCH 4.5 114/124] arm64: replace read_lock to rcu lock in call_step_hook

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Yang Shi commit cf0a25436f05753aca5151891aea4fd130556e2a upstream. BUG: sleeping function called from invalid context at kernel/locking/rtmutex.c:917 in_atomic(): 1, irqs_disabled(): 128, pid:

[PATCH 4.5 091/124] mac80211: fix txq queue related crashes

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior commit 2a58d42c1e018ad514d4e23fd33fb2ded95d3ee6 upstream. The driver can access the queue simultanously while mac80211 tears down the interface. Without spinlock protection this c

[PATCH 4.5 112/124] iommu: Dont overwrite domain pointer when there is no default_domain

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit eebb8034a5be8c2177cbf07ca2ecd2ff8a058958 upstream. IOMMU drivers that do not support default domains, but make use of the the group->domain pointer can get that pointer over

[PATCH 4.4 001/137] hwmon: (max1111) Return -ENODEV from max1111_read_channel if not instantiated

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 3c2e2266a5bd2d1cef258e6e54dca1d99946379f upstream. arm:pxa_defconfig can result in the following crash if the max driver is not instantiated. Unhandled fault: page dom

[PATCH 4.4 002/137] PKCS#7: pkcs7_validate_trust(): initialize the _trusted output argument

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nicolai Stange commit e54358915d0a00399c11c2c23ae1be674cba188a upstream. Despite what the DocBook comment to pkcs7_validate_trust() says, the *_trusted argument is never set to false. pkcs7_va

[PATCH 4.5 111/124] ext4: ignore quota mount options if the quota feature is enabled

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit c325a67c72903e1cc30e990a15ce745bda0dbfde upstream. Previously, ext4 would fail the mount if the file system had the quota feature enabled and quota mount options (used for

[PATCH 4.5 109/124] btrfs: fix crash/invalid memory access on fsync when using overlayfs

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit de17e793b104d690e1d007dfc5cb6b4f649598ca upstream. If the lower or upper directory of an overlayfs mount belong to a btrfs file system and we fsync the file through the ove

[PATCH 4.5 110/124] ext4: add lockdep annotations for i_data_sem

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit daf647d2dd58cec59570d7698a45b98e580f2076 upstream. With the internal Quota feature, mke2fs creates empty quota inodes and quota usage tracking is enabled as soon as the fil

[PATCH 4.5 090/124] mac80211: fix unnecessary frame drops in mesh fwding

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kazior commit cf44012810ccdd8fd947518e965cb04b7b8498be upstream. The ieee80211_queue_stopped() expects hw queue number but it was given raw WMM AC number instead. This could cause frame

Re: [PATCH v6 5/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-17 Thread tiffany lin
Hi Hans, On Fri, 2016-04-15 at 16:02 +0200, Hans Verkuil wrote: > Hi Tiffany, > > Some more comments, most are trivial but I realized that you were basing this > patch on an older kernel and not the latest media_tree master branch. > > That's a bit of a killer because otherwise I am very close t

[PATCH 4.5 107/124] ext4: use dget_parent() in ext4_file_open()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 9dd78d8c9a7bd4bc341f5864db32d4331b8eae4c upstream. In f_op->open() lock on parent is not held, so there's no guarantee that parent dentry won't go away at any time. Even

[PATCH 4.5 105/124] nfs: use file_dentry()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit be62a1a8fd116f5cd9e53726601f970e16e17558 upstream. NFS may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. Fix by replacing direct ac

[PATCH 1/2] drm/rockchip: vop: add rk3399 vop support

2016-04-17 Thread Mark Yao
There are two VOP in rk3399 chip, respectively VOP_BIG and VOP_LIT. most registers layout of this two vop is same, their framework are both VOP_FULL, the Major differences of this two is that: VOP_BIG max output resolution is 4096x2160. VOP_LIT max output resolution is 2560x1600 VOP_BIG support f

[PATCH 4.5 104/124] fs: add file_dentry()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit d101a125954eae1d397adda94ca6319485a50493 upstream. This series fixes bugs in nfs and ext4 due to 4bacc9c9234c ("overlayfs: Make f_path always point to the overlay and f_in

[PATCH 4.5 098/124] iio: fix config watermark initial value

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Irina Tirdea commit 1bef2c1d4e4fd92bdf8219b13ba97ba861618254 upstream. config structure is set to 0 when updating the buffers, so by default config->watermark will be 0. When computing the mini

[PATCH 4.5 102/124] iio: gyro: bmg160: fix endianness when reading axes

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Irina Tirdea commit 95e7ff034175db7d8aefabe7716c4d42bea24fde upstream. For big endian platforms, reading the axes will return invalid values. The device stores each axis value in a 16 bit litt

[PATCH 2/2] dt-bindings: add document for rk3399-vop

2016-04-17 Thread Mark Yao
Cc: Rob Herring Cc: Pawel Moll Cc: Mark Rutland Cc: Ian Campbell Cc: Kumar Gala Signed-off-by: Mark Yao --- .../bindings/display/rockchip/rockchip-vop.txt |2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip-vop.txt b/Doc

[PATCH 4.5 099/124] iio: st_magn: always define ST_MAGN_TRIGGER_SET_STATE

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 9b090a98e95c2530ef0ce474e3b6218621b8ae25 upstream. When CONFIG_IIO_TRIGGER is enabled but CONFIG_IIO_BUFFER is not, we get a build error in the st_magn driver: drivers/iio

[PATCH 4.5 055/124] ipv4: initialize flowi4_flags before calling fib_lookup()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lance Richardson [ Upstream commit 4cfc86f3dae6ca38ed49cdd78f458a03d4d87992 ] Field fl4.flowi4_flags is not initialized in fib_compute_spec_dst() before calling fib_lookup(), which means fib_ta

Re: [PATCH v3] ARM64: ACPI: Update documentation for latest specification version

2016-04-17 Thread Jon Masters
On 3/28/16 5:06 PM, Al Stone wrote: For ACPI on arm64, tables also fall into the following categories: - -- Required: DSDT, FADT, GTDT, MADT, MCFG, RSDP, SPCR, XSDT + -- Required: DSDT, FADT, GTDT, IORT, MADT, MCFG, RSDP, SPCR, XSDT Nit: IORT will only be required on certain SBS

[PATCH 4.4 137/137] Revert "usb: hub: do not clear BOS field during reset device"

2016-04-17 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit e5bdfd50d6f76077bf8441d130c606229e100d40 upstream. This reverts commit d8f00cd685f5c8e0def8593e520a7fef12c22407. Tony writes: This upstream commit is causing an oops

[PATCH 4.5 063/124] tuntap: restore default qdisc

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 016adb7260f481168c03e09f785184d6d5278894 ] After commit f84bb1eac027 ("net: fix IFF_NO_QUEUE for drivers using alloc_netdev"), default qdisc was changed to noqueue

[PATCH 4.5 059/124] ipv6: udp: fix UDP_MIB_IGNOREDMULTI updates

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 2d4212261fdf13e29728ddb5ea9d60c342cc92b5 ] IPv6 counters updates use a different macro than IPv4. Fixes: 36cbb2452cbaf ("udp: Increment UDP_MIB_IGNOREDMULTI for

[PATCH 4.5 061/124] rtnl: fix msg size calculation in if_nlmsg_size()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit c57c7a95da842807b475b823ed2e5435c42cb3b0 ] Size of the attribute IFLA_PHYS_PORT_NAME was missing. Fixes: db24a9044ee1 ("net: add support for phys_port_name")

[PATCH 4.5 086/124] virtio: virtio 1.0 cs04 spec compliance for reset

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Michael S. Tsirkin commit 05dbcb430795b2e1fb1d5c757f8619d3dbed0a1c upstream. The spec says: after writing 0 to device_status, the driver MUST wait for a read of device_status to return 0 before

Re: [PATCH v3 1/6] perf tools: Derive trigger class from auxtrace_snapshot

2016-04-17 Thread Wangnan (F)
On 2016/4/17 19:50, Jiri Olsa wrote: On Fri, Apr 15, 2016 at 06:20:15PM +, Wang Nan wrote: Create a new class named 'trigger' to model the state of a trigger and implement auxtrace_snapshot with it. auxtrace_record__snapshot_started and auxtrace_snapshot_err are absorbed. 'trigger' defin

[PATCH 4.5 085/124] rbd: use GFP_NOIO consistently for request allocations

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: David Disseldorp commit 2224d879c7c0f85c14183ef82eb48bd875ceb599 upstream. As of 5a60e87603c4c533492c515b7f62578189b03c9c, RBD object request allocations are made via rbd_obj_request_create() w

[PATCH 4.5 082/124] [media] coda: fix error path in case of missing pdata on non-DT platform

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Philipp Zabel commit bc717d5e92c8c079280eb4acbe335c6f25041aa2 upstream. If we bail out this early, v4l2_device_register() has not been called yet, so no need to call v4l2_device_unregister().

[PATCH 4.5 084/124] pcmcia: db1xxx_ss: fix last irq_to_gpio user

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Manuel Lauss commit e34b6fcf9b09ec9d93503edd5f81489791ffd602 upstream. remove the usage of removed irq_to_gpio() function. On pre-DB1200 boards, pass the actual carddetect GPIO number instead

[PATCH 4.5 081/124] [media] au0828: Fix dev_state handling

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit e8e3039f5b941f7825d335f8ca11c12a8104db11 upstream. The au0828 dev_state is actually a bit mask. It should not be checking with "==" but, instead, with a logic and.

[PATCH 4.5 080/124] [media] au0828: fix au0828_v4l2_close() dev_state race condition

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit ed940cd27416f9887864b95e1f8f8845aa9d6391 upstream. au0828_v4l2_close() check for dev_state == DEV_DISCONNECTED will fail to detect the device disconnected state correctly, if

[PATCH 4.5 077/124] pinctrl: nomadik: fix pull debug print inversion

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 6ee334559324a55725e22463de633b99ad99fcad upstream. Pull up was reported as pull down and vice versa. Fix this. Fixes: 8f1774a2a971 "pinctrl: nomadik: improve GPIO debug pr

[PATCH 4.5 074/124] pinctrl: pistachio: fix mfio84-89 function description and pinmux.

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Govindraj Raja commit e9adb336d0bf391be23e820975ca5cd12c31d781 upstream. mfio 84 to 89 are described wrongly, fix it to describe the right pin and add them to right pin-mux group. The correct

[PATCH 4.5 076/124] pinctrl: sunxi: Fix A33 external interrupts not working

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 5e7515ba78fff2f5407eaa2f97c1d5c07801ac3d upstream. pinctrl-sun8i-a33.c (and the dts) declare only 2 interrupt banks, where as the closely related a23 has 3 banks. This matc

[PATCH 4.5 075/124] pinctrl: sh-pfc: only use dummy states for non-DT platforms

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang commit 0129801be4b87226bf502f18f5a9eabd356d1058 upstream. If pinctrl_provide_dummies() is used unconditionally, then the dummy state will be used even on DT platforms when the "ini

[PATCH 4.5 069/124] USB: uas: Limit qdepth at the scsi-host level

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 198de51dbc3454d95b015ca0a055b673f85f01bb upstream. Commit 64d513ac31bd ("scsi: use host wide tags by default") causes the SCSI core to queue more commands then we can handl

[PATCH 4.5 072/124] KVM: x86: reduce default value of halt_poll_ns parameter

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit 14ebda3394fd3e5388747e742e510b0802a65d24 upstream. Windows lets applications choose the frequency of the timer tick, and in Windows 10 the maximum rate was changed from 102

[PATCH 4.5 071/124] KVM: x86: Inject pending interrupt even if pending nmi exist

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Yuki Shibuya commit 321c5658c5e9192dea0d58ab67cf1791e45b2b26 upstream. Non maskable interrupts (NMI) are preferred to interrupts in current implementation. If a NMI is pending and NMI is blocke

[PATCH 4.5 056/124] ppp: take reference on channels netns

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 1f461dcdd296eecedac6bae2bfa90bd7eb89 ] Let channels hold a reference on their network namespace. Some channel types, like ppp_async and ppp_synctty, can ha

[PATCH 4.5 067/124] ipv6: Count in extension headers in skb->network_header

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jakub Sitnicki [ Upstream commit 3ba3458fb9c050718b95275a3310b74415e767e2 ] When sending a UDPv6 message longer than MTU, account for the length of fragmentable IPv6 extension headers in skb->n

[PATCH 4.5 070/124] USB: uas: Add a new NO_REPORT_LUNS quirk

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 1363074667a6b7d0507527742ccd7bbed5e3ceaa upstream. Add a new NO_REPORT_LUNS quirk and set it for Seagate drives with an usb-id of: 0bc2:331a, as these will fail to respond

[PATCH 4.5 030/124] net: validate variable length ll headers

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 2793a23aacbd754dbbb5cb75093deb7e4103bace ] Netdevice parameter hard_header_len is variously interpreted both as an upper and lower bound on link layer header

[PATCH 4.5 068/124] mpls: find_outdev: check for err ptr in addition to NULL check

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Roopa Prabhu [ Upstream commit 94a57f1f8a9de90ab4b0f8748361ff8be706c80c ] find_outdev calls inet{,6}_fib_lookup_dev() or dev_get_by_index() to find the output device. In case of an error, inet{

[PATCH 4.5 065/124] ipv6: l2tp: fix a potential issue in l2tp_ip6_recv

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Haishuang Yan [ Upstream commit be447f305494e019dfc37ea4cdf3b0e4200b4eba ] pskb_may_pull() can change skb->data, so we have to load ptr/optr at the right place. Signed-off-by: Haishuang Yan S

[PATCH 4.5 031/124] ax25: add link layer header validation function

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit ea47781c26510e5d97f80f9aceafe9065bd5e3aa ] As variable length protocol, AX25 fails link layer header validation tests based on a minimum length. header_ops.va

[PATCH 4.5 028/124] drm/amdgpu/gmc: use proper register for vram type on Fiji

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit b634de4f446c062a0c95ec4d150b4cf7c85e3526 upstream. The offset changed on Fiji. Reviewed-by: Harish Kasiviswanathan Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-H

[PATCH 4.5 029/124] xen/events: Mask a moving irq

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit ff1e22e7a638a0782f54f81a6c9cb139aca2da35 upstream. Moving an unmasked irq may result in irq handler being invoked on both source and target CPUs. With 2-level this can h

[PATCH 4.5 027/124] drm/amdgpu/gmc: move vram type fetching into sw_init

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d1518a1db31a25682ea09c4b135fa72d9883be42 upstream. early_init gets called before atom asic init so on non-posted cards, the vram type is not initialized. Reviewed-by: Haris

[PATCH 4.5 054/124] ipv4: fix broadcast packets reception

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Abeni [ Upstream commit ad0ea1989cc4d5905941d0a9e62c63ad6d859cef ] Currently, ingress ipv4 broadcast datagrams are dropped since, in udp_v4_early_demux(), ip_check_mc_rcu() is invoked eve

[PATCH 4.5 053/124] bonding: fix bond_get_stats()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit fe30937b65354c7fec244caebbdaae68e28ca797 ] bond_get_stats() can be called from rtnetlink (with RTNL held) or from /proc/net/dev seq handler (with RCU held) The l

[PATCH 4.5 025/124] drm/radeon: add a dpm quirk for all R7 370 parts

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 0e5585dc870af947fab2af96a88c2d8b4270247c upstream. Higher mclk values are not stable due to a bug somewhere. Limit them for now. Signed-off-by: Alex Deucher Signed-off-by:

[PATCH 4.5 052/124] net: bcmgenet: fix dma api length mismatch

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit eee577232203842b4dcadb7ab477a298479633ed ] When un-mapping skb->data in __bcmgenet_tx_reclaim(), we must use the length that was used in original dma_map_single()

[PATCH 4.5 050/124] tcp/dccp: remove obsolete WARN_ON() in icmp handlers

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit e316ea62e3203d524ff0239a40c56d3a39ad1b5c ] Now SYN_RECV request sockets are installed in ehash table, an ICMP handler can find a request socket while another cpu

[PATCH 4.5 045/124] mlx4: add missing braces in verify_qp_parameters

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit baefd7015cdb304ce6c94f9679d0486c71954766 ] The implementation of QP paravirtualization back in linux-3.7 included some code that looks very dubious, and gcc-6 ha

[PATCH 4.5 043/124] ipv4: Dont do expensive useless work during inetdev destroy.

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" [ Upstream commit fbd40ea0180a2d328c5adc61414dc8bab9335ce2 ] When an inetdev is destroyed, every address assigned to the interface is removed. And in this scenerio we do two

[PATCH 4.5 039/124] macvtap: always pass ethernet header in linear

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 8e2ad4113ce4671686740f808ff2795395c39eef ] The stack expects link layer headers in the skb linear section. Macvtap can create skbs with llheader in frags in e

[PATCH 4.5 047/124] ath9k: fix buffer overrun for ar9287

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann [ Upstream commit 83d6f1f15f8cce844b0a131cbc63e444620e48b5 ] Code that was added back in 2.6.38 has an obvious overflow when accessing a static array, and at the time it was added

[PATCH 4.5 024/124] drm/radeon: add another R7 370 quirk

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit a64663d9870364bd2a2df62bf0d3a9fbe5ea62a8 upstream. bug: https://bugzilla.kernel.org/show_bug.cgi?id=115291 Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman

[PATCH 4.5 035/124] sh_eth: fix NULL pointer dereference in sh_eth_ring_format()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov [ Upstream commit c1b7fca65070bfadca94dd53a4e6b71cd4f69715 ] In a low memory situation, if netdev_alloc_skb() fails on a first RX ring loop iteration in sh_eth_ring_format(), '

[PATCH 4.5 033/124] bpf: avoid copying junk bytes in bpf_get_current_comm()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexei Starovoitov [ Upstream commit cdc4e47da8f4c32eeb6b2061a8a834f4362a12b7 ] Lots of places in the kernel use memcpy(buf, comm, TASK_COMM_LEN); but the result is typically passed to print("%

[PATCH 4.5 041/124] rocker: set FDB cleanup timer according to lowest ageing time

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit 88de1cd457e5cb664d6d437e2ea4750d089165f5 ] In rocker, ageing time is a per-port attribute, so the next time the FDB cleanup timer fires should be set according to

[PATCH 4.5 037/124] qlcnic: Remove unnecessary usage of atomic_t

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Rajesh Borundia [ Upstream commit 5bf93251cee1fb66141d1d2eaff86e04a9397bdf ] o atomic_t usage is incorrect as we are not implementing any atomicity. Signed-off-by: Rajesh Borundia Signed-off-

[PATCH 4.5 040/124] mlxsw: spectrum: Check requested ageing time is valid

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ido Schimmel [ Upstream commit 869f63a4d28144c03c8f4a4c0d1e8f31f8c11a10 ] Commit c62987bbd8a1 ("bridge: push bridge setting ageing_time down to switchdev") added a check for minimum and maximum

Re: [PATCH RESEND 1/2] pinctrl: ns2: add pinmux driver support for Broadcom NS2 SoC

2016-04-17 Thread Yendapally Reddy Dhananjaya Reddy
Hi Linus, On Thu, Apr 14, 2016 at 3:12 PM, Linus Walleij wrote: > On Thu, Apr 14, 2016 at 9:53 AM, Yendapally Reddy Dhananjaya Reddy > wrote: >> On Wed, Apr 13, 2016 at 6:49 PM, Linus Walleij >> wrote: >>> On Tue, Mar 29, 2016 at 5:22 PM, Yendapally Reddy Dhananjaya Reddy >>> wrote: > +s

[PATCH 2/9] thermal: rockchip: fixes the code_to_temp for tsadc driver

2016-04-17 Thread Caesar Wang
We should judge the table.id[mid].code insearch algorithm on matter the adc value increment or decrement. Or otherwise, the temperature return the incorrect value in some cases. [1.438589] adc_val=402,temp=-4 [1.438903] adc_val=403,temp=-39375 [1.439217] adc_val=404,temp=-38750 ...

[PATCH 4.5 032/124] packet: validate variable length ll headers

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 9ed988cd591500c040b2a6257bc68543e08ceeef ] Replace link layer header validation check ll_header_truncate with more generic dev_validate_header. Validation ba

[PATCH 4.5 023/124] drm/radeon: add a dpm quirk for sapphire Dual-X R7 370 2G D5

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit f971f2263deaa4a441e377b385c11aee0f3b3f9a upstream. bug: https://bugs.freedesktop.org/show_bug.cgi?id=94692 Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman

[PATCH 4.5 008/124] ALSA: timer: Use mod_timer() for rearming the system timer

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4a07083ed613644c96c34a7dd2853dc5d7c70902 upstream. ALSA system timer backend stops the timer via del_timer() without sync and leaves del_timer_sync() at the close instead.

[PATCH 1/9] thermal: rockchip: disable thermal->clk in err case

2016-04-17 Thread Caesar Wang
From: Shawn Lin Disable thermal->clk when enabling pclk fails in resume routine. Signed-off-by: Shawn Lin Reviewed-by: Heiko Stuebner Reviewed-by: Caesar Wang Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --

[PATCH 4/9] thermal: rockchip: handle the power sequence for tsadc controller

2016-04-17 Thread Caesar Wang
This adds the grf property to handle the tsadc power sequence on rockchip some SoCs. Verified on rk3399 can work with this patch on now. while true; do grep "" /sys/class/thermal/thermal_zone[0-1]/temp sleep .5; done /sys/class/thermal/thermal_zone0/temp:40555 /sys/class/thermal/thermal_zone1/tem

[PATCH 4.5 007/124] parisc: Unbreak handling exceptions from kernel modules

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 2ef4dfd9d9f288943e249b78365a69e3ea3ec072 upstream. Handling exceptions from modules never worked on parisc. It was just masked by the fact that exceptions from modules don't

[PATCH 4.5 000/124] 4.5.2-stable review

2016-04-17 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.5.2 release. There are 124 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 Wed Apr 20 02:25:31 UTC 2016. Anything receive

[PATCH 3/9] thermal: rockchip: update the tsadc table for rk3399

2016-04-17 Thread Caesar Wang
This patch fixes the incorrect conversion table. The Code to Temperature mapping is updated based on sillcon results. Fixes commit b0d70338bca22cb14 ("thermal: rockchip: Support the RK3399 SoCs in thermal driver"). Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: Heiko Stuebne

[PATCH 8/9] thermal: rockchip: add the set_trips function

2016-04-17 Thread Caesar Wang
Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found. A sensor driver callback `set_trips' is then called with the temperatures. Lastly, The sensor will trigger the hardware high temperature interrupts to increase the sampleing r

[PATCH 6/9] thermal: rockchip: add the notes for better reading

2016-04-17 Thread Caesar Wang
To update the notes for keeping in mind that quickly in case someone re-read this driver in the future. Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: Heiko Stuebner --- drivers/thermal/rockchip_thermal.c | 74 +++--- 1 file changed, 53 inse

[PATCH 7/9] thermal: of: Add support for hardware-tracked trip points

2016-04-17 Thread Caesar Wang
From: Mikko Perttunen This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points. Whenever the current temperature is updated, the trip points immediately below and above the current temperature are fo

[PATCH 0/9] thermal: rockchip: Support rk3366/rk3399 SoCS and fixes the driver

2016-04-17 Thread Caesar Wang
Hello Eduardo, Heiko This series pacthes to support the rk3366/rk3399 SoCs thermal, and fixes the driver. 65ae684 thermal: rockchip: disable thermal->clk in err case 31e6d69 thermal: rockchip: fixes the code_to_temp for tsadc driver 6e2d6fb thermal: rockchip: update the tsadc table for rk3399 49f

[PATCH 5/9] thermal: rockchip: Support RK3366 SoCs in the thermal driver

2016-04-17 Thread Caesar Wang
From: Elaine Zhang The RK3366 SoCs have two Temperature Sensors, channel 0 is for CPU channel 1 is for GPU. Signed-off-by: Elaine Zhang Signed-off-by: Caesar Wang --- drivers/thermal/rockchip_thermal.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/

[PATCH 9/9] arm64: dts: rockchip: move the rk3368 thermal data into rk3368.dtsi

2016-04-17 Thread Caesar Wang
In order to be standard to manage for rockchip SoCs, move the thermal data into rk3368 dtsi, we needn't to add a new file for thermal. Fixes commit f990238f859e ("arm64: dts: rockchip: Add main thermal info to rk3368.dtsi") Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: Hei

[PATCH 4.5 006/124] parisc: Fix kernel crash with reversed copy_from_user()

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit ef72f3110d8b19f4c098a0bff7ed7d11945e70c6 upstream. The kernel module testcase (lib/test_user_copy.c) exhibited a kernel crash on parisc if the parameters for copy_from_user

[PATCH 4.5 020/124] arm64: opcodes.h: Add arm big-endian config options before including arm header

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit a6002ec5a8c68e69706b2efd6db6d682d0ab672c upstream. arm and arm64 use different config options to specify big endian. This needs taking into account when including code/header

Re: [PATCH 2/2] arm64: dts: ls2080a: fsl-mc dt node updates

2016-04-17 Thread Shawn Guo
On Mon, Apr 18, 2016 at 10:02 AM, Shawn Guo wrote: > On Wed, Apr 13, 2016 at 08:39:32PM +, Stuart Yoder wrote: >> > > @@ -265,6 +265,93 @@ >> > > compatible = "fsl,qoriq-mc"; >> > > reg = <0x0008 0x0c00 0 0x40>,/* MC portal >> > > base */ >> > >

[PATCH 4.5 017/124] libnvdimm, pfn: fix uuid validation

2016-04-17 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit e5670563f588ed1c0603819350c0f02cec23f5c5 upstream. If we detect a namespace has a stale info block in the init path, we should overwrite with the latest configuration. In f

<    1   2   3   4   5   6   7   >