[PATCH for v4.9 LTS 54/86] net: phy: marvell: fix Marvell 88E1512 used in SGMII mode

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Russell King [ Upstream commit a13c06525ab9ff442924e67df9393a5efa914c56 ] When an Marvell 88E1512 PHY is connected to a nic in SGMII mode, the fiber page is used for the SGMII host-side connection. The PHY driver notices that SUPPORTED_FIBRE is set, so it

[PATCH for v4.9 LTS 61/86] spi: davinci: use dma_mapping_error()

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Kevin Hilman [ Upstream commit c5a2a394835f473ae23931eda5066d3771d7b2f8 ] The correct error checking for dma_map_single() is to use dma_mapping_error(). Signed-off-by: Kevin Hilman Signed-off-by: Mark Brown Signed-off-by:

[PATCH for v4.9 LTS 84/86] tipc: allocate user memory with GFP_KERNEL flag

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Parthasarathy Bhuvaragan [ Upstream commit 57d5f64d83ab5b5a5118b1597386dd76eaf4340d ] Until now, we allocate memory always with GFP_ATOMIC flag. When the system is under memory pressure and a user tries to send, the send fails due to low memory.

[PATCH for v4.9 LTS 81/86] be2net: fix MAC addr setting on privileged BE3 VFs

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Ivan Vecera [ Upstream commit 34393529163af7163ef8459808e3cf2af7db7f16 ] During interface opening MAC address stored in netdev->dev_addr is programmed in the HW with exception of BE3 VFs where the initial MAC is programmed by parent PF. This is OK when MAC address is not

[PATCH for v4.9 LTS 59/86] usb: gadget: composite: Fix function used to free memory

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit 990758c53eafe5a220a780ed12e7b4d51b3df032 ] 'cdev->os_desc_req' has been allocated with 'usb_ep_alloc_request()' so 'usb_ep_free_request()' should be used to free it. Signed-off-by: Christophe JAILLET

[PATCH for v4.9 LTS 80/86] be2net: don't delete MAC on close on unprivileged BE3 VFs

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Ivan Vecera [ Upstream commit 6d928ae590c8d58cfd5cca997d54394de139cbb7 ] BE3 VFs without FILTMGMT privilege are not allowed to modify its MAC, VLAN table and UC/MC lists. So don't try to delete MAC on such VFs. Cc: Sathya Perla Cc: Ajit Khaparde

[PATCH for v4.9 LTS 72/86] perf/core: Fix sys_perf_event_open() vs. hotplug

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Peter Zijlstra [ Upstream commit 63cae12bce9861cec309798d34701cf3da20bc71 ] There is problem with installing an event in a task that is 'stuck' on an offline CPU. Blocked tasks are not dis-assosciated from offlined CPUs, after all, a blocked task doesn't run and

[PATCH for v4.9 LTS 77/86] s390/ctl_reg: make __ctl_load a full memory barrier

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Heiko Carstens [ Upstream commit e991c24d68b8c0ba297eeb7af80b1e398e98c33f ] We have quite a lot of code that depends on the order of the __ctl_load inline assemby and subsequent memory accesses, like e.g. disabling lowcore protection and the writing to lowcore.

[PATCH for v4.9 LTS 83/86] net: phy: dp83867: allow RGMII_TXID/RGMII_RXID interface types

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: "Karicheri, Muralidharan" [ Upstream commit 34c55cf2fc75f8bf6ba87df321038c064cf2d426 ] Currently dp83867 driver returns error if phy interface type PHY_INTERFACE_MODE_RGMII_RXID is used to set the rx only internal delay. Similarly issue happens for

[PATCH for v4.9 LTS 85/86] perf probe: Fix to probe on gcc generated functions in modules

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Masami Hiramatsu [ Upstream commit 613f050d68a8ed3c0b18b9568698908ef7bbc1f7 ] Fix to probe on gcc generated functions on modules. Since probing on a module is based on its symbol name, it should be adjusted on actual symbols. E.g. without this fix, perf probe shows

[PATCH for v4.9 LTS 76/86] swiotlb: ensure that page-sized mappings are page-aligned

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Nikita Yushchenko [ Upstream commit 602d9858f07c72eab64f5f00e2fae55f9902cfbe ] Some drivers do depend on page mappings to be page aligned. Swiotlb already enforces such alignment for mappings greater than page, extend that to page-sized mappings as well.

[PATCH for v4.9 LTS 75/86] coredump: Ensure proper size of sparse core files

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Dave Kleikamp [ Upstream commit 4d22c75d4c7b5c5f4bd31054f09103ee490878fd ] If the last section of a core file ends with an unmapped or zero page, the size of the file does not correspond with the last dump_skip() call. gdb complains that the file is truncated and

[PATCH for v4.9 LTS 79/86] be2net: fix status check in be_cmd_pmac_add()

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Ivan Vecera [ Upstream commit fe68d8bfe59c561664aa87d827aa4b320eb08895 ] Return value from be_mcc_notify_wait() contains a base completion status together with an additional status. The base_status() macro need to be used to access base status. Fixes: e3a7ae2 be2net:

[PATCH for v4.9 LTS 67/86] pmem: return EIO on read_pmem() failure

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Stefan Hajnoczi [ Upstream commit d47d1d27fd6206c18806440f6ebddf51a806be4f ] The read_pmem() function uses memcpy_mcsafe() on x86 where an EFAULT error code indicates a failed read. Block I/O should use EIO to indicate failure. Other pmem code paths (like bad

[PATCH for v4.9 LTS 69/86] KVM: arm64: Access CNTHCTL_EL2 bit fields correctly on VHE systems

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Jintack Lim [ Upstream commit 488f94d7212b00a2ec72fb886b155f1b04c5aa98 ] Current KVM world switch code is unintentionally setting wrong bits to CNTHCTL_EL2 when E2H == 1, which may allow guest OS to access physical timer. Bit positions of CNTHCTL_EL2 are changing

[PATCH for v4.9 LTS 47/86] vxlan: do not age static remote mac entries

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Balakrishnan Raman [ Upstream commit efb5f68f32995c146944a9d4257c3cf8eae2c4a1 ] Mac aging is applicable only for dynamically learnt remote mac entries. Check for user configured static remote mac entries and skip aging. Signed-off-by: Balakrishnan Raman

[PATCH for v4.9 LTS 63/86] net: thunderx: acpi: fix LMAC initialization

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Vadim Lomovtsev [ Upstream commit 7aa4865506a26c607e00bd9794a85785b55ebca7 ] While probing BGX we requesting appropriate QLM for it's configuration and get LMAC count by that request. Then, while reading configured MAC values from SSDT table we need to

[PATCH for v4.9 LTS 46/86] ip6_tunnel: must reload ipv6h in ip6ip6_tnl_xmit()

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Eric Dumazet [ Upstream commit 21b995a9cb093fff33ec91d7cb3822b882a90a1e ] Since ip6_tnl_parse_tlv_enc_lim() can call pskb_may_pull(), we must reload any pointer that was related to skb->head (or skb->data), or risk use after free. Fixes: c12b395a4664 ("gre: Support

[PATCH for v4.9 LTS 48/86] ibmveth: Add a proper check for the availability of the checksum features

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Thomas Huth [ Upstream commit 23d28a859fb847fd7fcfbd31acb3b160abb5d6ae ] When using the ibmveth driver in a KVM/QEMU based VM, it currently always prints out a scary error message like this when it is started: ibmveth 7103 (unregistered net_device): unable to

[PATCH for v4.9 LTS 44/86] mlxsw: spectrum_router: Correctly reallocate adjacency entries

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Ido Schimmel [ Upstream commit a59b7e0246774e28193126fe7fdbbd0ae9c67dcc ] mlxsw_sp_nexthop_group_mac_update() is called in one of two cases: 1) When the MAC of a nexthop needs to be updated 2) When the size of a nexthop group has changed In the second case the

[PATCH for v4.9 LTS 64/86] drm/radeon/si: load special ucode for certain MC configs

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Alex Deucher [ Upstream commit ef736d394e85b1bf1fd65ba5e5257b85f6c82325 ] Special MC ucode is required for these memory configurations. Acked-by: Edward O'Callaghan Signed-off-by: Alex Deucher

[PATCH for v4.9 LTS 21/86] drm/amdgpu: add support for new hainan variants

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Alex Deucher [ Upstream commit 17324b6add82d6c0bf119f1d1944baef392a4e39 ] New hainan parts require updated smc firmware. Cc: Sonny Jiang Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin

[PATCH for v4.9 LTS 33/86] virtio_console: fix a crash in config_work_handler

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: "G. Campana" [ Upstream commit 8379cadf71c3ee8173a1c6fc1ea7762a9638c047 ] Using control_work instead of config_work as the 3rd argument to container_of results in an invalid portdev pointer. Indeed, the work structure is initialized as below:

[PATCH for v4.9 LTS 37/86] scsi: virtio_scsi: Reject commands when virtqueue is broken

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Eric Farman [ Upstream commit 773c7220e22d193e5667c352fcbf8d47eefc817f ] In the case of a graceful set of detaches, where the virtio-scsi-ccw disk is removed from the guest prior to the controller, the guest behaves quite normally. Specifically, the detach gets

[PATCH for v4.9 LTS 43/86] vfio/spapr: fail tce_iommu_attach_group() when iommu_data is null

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Greg Kurz [ Upstream commit bd00fdf198e2da475a2f4265a83686ab42d998a8 ] The recently added mediated VFIO driver doesn't know about powerpc iommu. It thus doesn't register a struct iommu_table_group in the iommu group upon device creation. The iommu_data pointer hence

[PATCH for v4.9 LTS 35/86] net: sctp: fix array overrun read on sctp_timer_tbl

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Colin Ian King [ Upstream commit 0e73fc9a56f22f2eec4d2b2910c649f7af67b74d ] The comparison on the timeout can lead to an array overrun read on sctp_timer_tbl because of an off-by-one error. Fix this by using < instead of <= and also compare to the array size

[PATCH for v4.9 LTS 42/86] drm/amdgpu: check ring being ready before using

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Ding Pixel [ Upstream commit c5f21c9f878b8dcd54d0b9739c025ca73cb4c091 ] Return success when the ring is properly initialized, otherwise return failure. Tonga SRIOV VF doesn't have UVD and VCE engines, the initialization of these IPs is bypassed. The system crashes if

[PATCH for v4.9 LTS 36/86] xen-netfront: Fix Rx stall during network stress and OOM

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Vineeth Remanan Pillai [ Upstream commit 90c311b0eeead647b708a723dbdde1eda3dcad05 ] During an OOM scenario, request slots could not be created as skb allocation fails. So the netback cannot pass in packets and netfront wrongly assumes that there is no more work to be

[PATCH for v4.9 LTS 41/86] net: dsa: Check return value of phy_connect_direct()

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Florian Fainelli [ Upstream commit 4078b76cac68e50ccf1f76a74e7d3d5788aec3fe ] We need to check the return value of phy_connect_direct() in dsa_slave_phy_connect() otherwise we may be continuing the initialization of a slave network device with a PHY that already

[PATCH for v4.9 LTS 34/86] swiotlb-xen: update dev_addr after swapping pages

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Stefano Stabellini [ Upstream commit f1225ee4c8fcf09afaa199b8b1f0450f38b8cd11 ] In xen_swiotlb_map_page and xen_swiotlb_map_sg_attrs, if the original page is not suitable, we swap it for another page from the swiotlb pool. In these cases, we don't update the

[PATCH for v4.9 LTS 38/86] iwlwifi: fix kernel crash when unregistering thermal zone

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Jens Axboe [ Upstream commit 92549cdc288f47f3a98cf80ac5890c91f5876a06 ] A recent firmware change seems to have enabled thermal zones on the iwlwifi driver. Unfortunately, my device fails when registering the thermal zone. This doesn't stop the driver from attempting to

[PATCH for v4.9 LTS 32/86] Btrfs: fix truncate down when no_holes feature is enabled

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Liu Bo [ Upstream commit 91298eec05cd8d4e828cf7ee5d4a6334f70cf69a ] For such a file mapping, [0-4k][hole][8k-12k] In NO_HOLES mode, we don't have the [hole] extent any more. Commit c1aa45759e90 ("Btrfs: fix shrinking truncate when the no_holes feature is enabled")

[PATCH for v4.9 LTS 12/86] perf/x86/intel: Handle exclusive threadid correctly on CPU hotplug

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: Zhou Chengming [ Upstream commit 4e71de7986386d5fd3765458f27d612931f27f5e ] The CPU hotplug function intel_pmu_cpu_starting() sets cpu_hw_events.excl_thread_id unconditionally to 1 when the shared exclusive counters data structure is already availabe for the

[PATCH for v4.9 LTS 08/86] dt: bindings: net: use boolean dt properties for eee broken modes

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit 308d3165d8b2b98d3dc3d97d6662062735daea67 ] The patches regarding eee-broken-modes was merged before all people involved could find an agreement on the best way to move forward. While we agreed on having a DT property to mark particular

[PATCH for v4.9 LTS 04/86] net: phy: add an option to disable EEE advertisement

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit d853d145ea3e63387a2ac759aa41d5e43876e561 ] This patch adds an option to disable EEE advertisement in the generic PHY by providing a mask of prohibited modes corresponding to the value found in the MDIO_AN_EEE_ADV register. On some

[PATCH for v4.9 LTS 05/86] dt-bindings: net: add EEE capability constants

2017-06-17 Thread Levin, Alexander (Sasha Levin)
From: jbrunet [ Upstream commit 1fc31357ad194fb98691f3d122bcd47e59239e83 ] Signed-off-by: Jerome Brunet Tested-by: Yegor Yefremov Tested-by: Andreas Färber Signed-off-by: David S. Miller

[PATCH] rt_mutex: correctly initialize lockdep in rt_mutex_init_proxy_locked

2017-06-09 Thread Levin, Alexander (Sasha Levin)
lockdep can't deal with NULL name or key, and doesn't do anything with the lock when that happens. Make rt_mutex_init_proxy_locked pass a name and a key for the lock. Fixes: f5694788ad8d ("rt_mutex: Add lockdep annotations") Cc: Linus Torvalds Cc: Peter Zijlstra

Re: [PATCH] nohz: Fix spurious warning when hrtimer and clockevent get out of sync

2017-06-09 Thread Levin, Alexander (Sasha Levin)
On Fri, Jun 09, 2017 at 02:48:57AM +0200, Frederic Weisbecker wrote: > On Thu, Jun 08, 2017 at 10:13:38PM +0000, Levin, Alexander (Sasha Levin) > wrote: > > On Thu, Jun 08, 2017 at 09:07:05PM +0200, Frederic Weisbecker wrote: > > > Awesome, these traces have been very help

Re: [PATCH v2 00/10] PCID and improved laziness

2017-06-18 Thread Levin, Alexander (Sasha Levin)
On Tue, Jun 13, 2017 at 09:56:18PM -0700, Andy Lutomirski wrote: >There are three performance benefits here: > >1. TLB flushing is slow. (I.e. the flush itself takes a while.) > This avoids many of them when switching tasks by using PCID. In > a stupid little benchmark I did, it saves about

Re: [PATCH] rt_mutex: correctly initialize lockdep in rt_mutex_init_proxy_locked

2017-06-11 Thread Levin, Alexander (Sasha Levin)
On Sat, Jun 10, 2017 at 04:02:12PM +0200, Peter Zijlstra wrote: > On Sat, Jun 10, 2017 at 02:48:04AM +0000, Levin, Alexander (Sasha Levin) > wrote: > > lockdep can't deal with NULL name or key, and doesn't do anything > > with the lock when that happens. > > Not

[PATCH] rt_mutex: don't initialize lockdep when not required

2017-06-18 Thread Levin, Alexander (Sasha Levin)
pi_mutex isn't supposed to be tracked by lockdep, but just passing NULLs for name and key will cause lockdep to spew a warning and die, which is not what we want it to do. Skip lockdep initialization if the caller passed NULLs for name and key, suggesting such initialization isn't desired.

[PATCH for 4.9 44/59] pinctrl: mvebu: Use seq_puts() in mvebu_pinconf_group_dbg_show()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Markus Elfring [ Upstream commit 420dc61642920849d824a0de2aa853db59f5244f ] Strings which did not contain data format specifications should be put into a sequence. Thus use the corresponding function "seq_puts". This issue was detected by using the

[PATCH for 4.9 29/59] IB/rxe: Add a runtime check in alloc_index()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bart Van Assche [ Upstream commit 642c7cbcaf2ffc1e27f67eda3dc47347ac5aff37 ] Since index values equal to or above 'range' can trigger memory corruption, complain if index >= range. Signed-off-by: Bart Van Assche Reviewed-by: Andrew

[PATCH for 4.9 50/59] iommu/arm-smmu: Set privileged attribute to 'default' instead of 'unprivileged'

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Sricharan R [ Upstream commit e19898077cfb642fe151ba22981e795c74d9e114 ] Currently the driver sets all the device transactions privileges to UNPRIVILEGED, but there are cases where the iommu masters wants to isolate privileged supervisor and unprivileged user. So

[PATCH for 4.9 52/59] rtl8xxxu: Add additional USB IDs for rtl8192eu devices

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Axel Köllhofer [ Upstream commit 5407fd7de69f3352aed659244d4bef18e3cabf5c ] These IDs originate from the vendor driver Signed-off-by: Axel Köllhofer Signed-off-by: Jes Sorensen Signed-off-by: Kalle Valo

[PATCH for 4.9 32/59] drm/i915/psr: disable psr2 for resolution greater than 32X20

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Nagaraju, Vathsala" [ Upstream commit acf45d11050abd751dcec986ab121cb2367dcbba ] PSR2 is restricted to work with panel resolutions upto 3200x2000, move the check to intel_psr_match_conditions and fully block psr. Cc: Rodrigo Vivi Cc:

[PATCH for 4.9 30/59] IB/rxe: Fix a MR reference leak in check_rkey()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bart Van Assche [ Upstream commit b3a459961014b14c267544c327db033669493295 ] Avoid that calling check_rkey() for mem->state == RXE_MEM_STATE_FREE triggers an MR reference leak. Signed-off-by: Bart Van Assche Reviewed-by: Andrew

[PATCH for 4.9 54/59] drm: mali-dp: Fix destination size handling when rotating

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Brian Starkey [ Upstream commit edabb3c4cd2d035bc93a3d67b25a304ea6217301 ] The destination rectangle provided by userspace in the CRTC_X/Y/W/H properties is already expressed as the dimensions after rotation. This means we shouldn't swap the width and height

[PATCH for 4.9 58/59] mips: ath79: clock:- Unmap region obtained by of_iomap

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Arvind Yadav [ Upstream commit b3d91db3f71d5f70ea60d900425a3f96aeb3d065 ] Free memory mapping, if ath79_clocks_init_dt_ng is not successful. Signed-off-by: Arvind Yadav Fixes: 3bdf1071ba7d ("MIPS: ath79: update devicetree clock

[PATCH for 4.9 47/59] audit: log 32-bit socketcalls

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Richard Guy Briggs [ Upstream commit 62bc306e2083436675e33b5bdeb6a77907d35971 ] 32-bit socketcalls were not being logged by audit on x86_64 systems. Log them. This is basically a duplicate of the call from net/socket.c:sys_socketcall(), but it addresses the impedance

[PATCH for 4.9 42/59] USB: serial: mos7840: fix control-message error handling

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Johan Hovold [ Upstream commit cd8db057e93ddaacbec025b567490555d2bca280 ] Make sure to detect short transfers when reading a device register. The modem-status handling had sufficient error checks in place, but move handling of short transfers into the register accessor

[PATCH for 4.9 46/59] ASoC: dapm: handle probe deferrals

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Linus Walleij [ Upstream commit 37e1df8c95e2c8a57c77eafc097648f6e40a60ff ] This starts to handle probe deferrals on regulators and clocks on the ASoC DAPM. I came to this patch after audio stopped working on Ux500 ages ago and I finally looked into it to see

[PATCH for 4.9 51/59] usb: chipidea: vbus event may exist before starting gadget

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Peter Chen [ Upstream commit c3b674a04b8ab62a1d35e86714d466af0a0ecc18 ] At some situations, the vbus may already be there before starting gadget. So we need to check vbus event after switching to gadget in order to handle missing vbus event. The typical use cases are

[PATCH for 4.9 13/59] MIPS: ralink: Fix a typo in the pinmux setup.

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: John Crispin [ Upstream commit 58181a117d353427127a2e7afc7cf1ab44759828 ] There is a typo inside the pinmux setup code. The function is really called utif and not util. This was recently discovered when people were trying to make the UTIF interface work. Signed-off-by:

[PATCH for 4.9 22/59] clk/axs10x: Clear init field in driver probe

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Jose Abreu [ Upstream commit 6205406cf6f282d622f31de25036e6d1ab3a2ff5 ] Init field must be cleared in driver probe as this structure is not dinamically allocated. If not, wrong flags can be passed to core. Signed-off-by: Jose Abreu Cc:

[PATCH for 4.9 17/59] ARM: dts: am335x-chilisom: Wakeup from RTC-only state by power on event

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Marcin Niestroj [ Upstream commit ca244a83ecc7f0a9242ee2116e622cb6d7ec2a90 ] On chiliSOM TPS65217 nWAKEUP pin is connected to AM335x internal RTC EXT_WAKEUP input. In RTC-only state TPS65217 is notifying about power on events (such as power buton presses) by

[PATCH for 4.9 19/59] extcon: axp288: Use vbus-valid instead of -present to determine cable presence

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 5757aca10146061befd168dab37fb0db1ccd8f73 ] The vbus-present bit in the power status register also gets set to 1 when a usb-host cable (id-pin shorted to ground) is plugged in and a 5v boost converter is supplying 5v to the otg usb bus.

[PATCH for 4.9 01/59] drm_fourcc: Fix DRM_FORMAT_MOD_LINEAR #define

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Kristian H. Kristensen" [ Upstream commit af913418261d6d3e7a29f06cf35f04610ead667c ] We need to define DRM_FORMAT_MOD_VENDOR_NONE for the fourcc_mod_code() macro to work correctly. Signed-off-by: Kristian H. Kristensen Signed-off-by: Daniel

[PATCH for 4.9 18/59] igb: re-assign hw address pointer on reset after PCI error

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Guilherme G Piccoli [ Upstream commit 69b97cf6dbce7403845a28bbc75d57f5be7b12ac ] Whenever the igb driver detects the result of a read operation returns a value composed only by F's (like 0x), it will detach the net_device, clear the hw_addr pointer and

[PATCH for 4.9 40/59] drm/amdkfd: fix improper return value on error

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Pan Bian [ Upstream commit 8bf793883da213864efc50c274d2b38ec0ca58b2 ] In function kfd_wait_on_events(), when the call to copy_from_user() fails, the value of return variable ret is 0. 0 indicates success, which is inconsistent with the execution status. This patch

[PATCH for 4.9 34/59] tty: goldfish: Fix a parameter of a call to free_irq

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Christophe JAILLET [ Upstream commit 1a5c2d1de7d35f5eb9793266237903348989502b ] 'request_irq()' and 'free_irq()' should be called with the same dev_id. Signed-off-by: Christophe JAILLET Signed-off-by: Greg Kroah-Hartman

[PATCH for 4.9 33/59] serial: 8250: moxa: Store num_ports in brd

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "Matwey V. Kornilov" [ Upstream commit 9c4b60fe5313c125b1bf68ef04b0010512c27f2d ] When struct moxa8250_board is allocated, then num_ports should be initialized in order to use it later in moxa8250_remove. Signed-off-by: Matwey V. Kornilov

[PATCH for 4.9 39/59] arm: dts: mt2701: Add subsystem clock controller device nodes

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: James Liao [ Upstream commit f235c7e7a75325f28a33559a71f25a0eca6112db ] Add MT2701 subsystem clock controllers, inlcude mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. Signed-off-by: James Liao Signed-off-by: Matthias Brugger

[PATCH for 4.9 36/59] IB/ipoib: Fix deadlock over vlan_mutex

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Feras Daoud [ Upstream commit 1c3098cdb05207e740715857df7b0998e372f527 ] This patch fixes Deadlock while executing ipoib_vlan_delete. The function takes the vlan_rwsem semaphore and calls unregister_netdevice. The later function calls ipoib_mcast_stop_thread that

[PATCH for 4.9 38/59] IB/ipoib: Replace list_del of the neigh->list with list_del_init

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Feras Daoud [ Upstream commit c586071d1dc8227a7182179b8e50ee92cc43f6d2 ] In order to resolve a situation where a few process delete the same list element in sequence and cause panic, list_del is replaced with list_del_init. In this case if the first process that

[PATCH for 4.9 49/59] spi: pxa2xx: Add support for Intel Gemini Lake

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: "David E. Box" [ Upstream commit e18a80acd1365e91e3efcd69942d9073936cf851 ] Gemini Lake reuses the same LPSS SPI configuration as Broxton Signed-off-by: David E. Box Signed-off-by: Jarkko Nikula

[PATCH for 4.9 41/59] USB: serial: mos7720: fix control-message error handling

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Johan Hovold [ Upstream commit 0d130367abf582e7cbf60075c2a7ab53817b1d14 ] Make sure to log an error on short transfers when reading a device register. Also clear the provided buffer (which if often an uninitialised automatic variable) on errors as the driver currently

[PATCH for 4.9 53/59] ASoC: dapm: fix some pointer error handling

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Linus Walleij [ Upstream commit 639467c8f26d834c934215e8b59129ce442475fe ] commit 66feeec9322132689d42723df2537d60f96f8e44 "RFC: ASoC: dapm: handle probe deferrals" forgot a to update some two sites where the call was used. The static codechecks quickly found

[PATCH for 4.9 59/59] lkdtm: Fix Oops when unloading the module

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Juerg Haefliger [ Upstream commit 9ba60573638e2006170ebcc5489fb1e068afbc8f ] No jprobe is registered when the module is loaded without specifying a crashpoint that uses a jprobe. At the moment, we unconditionally try to unregister the jprobe on module unload which

[PATCH for 4.9 45/59] partitions/efi: Fix integer overflow in GPT size calculation

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Alden Tondettar [ Upstream commit c5082b70adfe8e1ea1cf4a8eff92c9f260e364d2 ] If a GUID Partition Table claims to have more than 2**25 entries, the calculation of the partition table size in alloc_read_gpt_entries() will overflow a 32-bit integer and not enough

[PATCH for 4.9 10/59] MIPS: Ensure bss section ends on a long-aligned address

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Paul Burton [ Upstream commit 3f00f4d8f083bc61005d0a1ef592b149f5c88bbd ] When clearing the .bss section in kernel_entry we do so using LONG_S instructions, and branch whilst the current write address doesn't equal the end of the .bss section minus the size of a

[PATCH for 4.9 07/59] clk: sunxi-ng: set the parent rate when adjustin CPUX clock on A33

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Icenowy Zheng [ Upstream commit bb021cda2ccf45ee9470bf0f8c55323ad1c761ae ] The CPUX clock on A33, which is for the Cortex-A7 cores, is designed to be changeable by changing the rate of PLL_CPUX. Add CLK_SET_RATE_PARENT flag to this clock. Signed-off-by: Icenowy Zheng

[PATCH for 4.9 24/59] usb: make the MTK XHCI driver compile for older MIPS SoCs

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: John Crispin [ Upstream commit 808cf33d4817c730008de9b2736b357708a3d7f6 ] The MIPS based MT7621 shares the same XHCI core as the newer generation of ARM based SoCs. The driver works out of the box and we only need to make it buildable in Kconfig. Signed-off-by: John

[PATCH for 4.9 25/59] hwmon: (gl520sm) Fix overflows and crash seen when writing into limit attributes

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Guenter Roeck [ Upstream commit 87cdfa9d60f4f40e6d71b04b10b36d9df3c89282 ] Writes into limit attributes can overflow due to multplications and additions with unbound input values. Writing into fan limit attributes can result in a crash with a division by zero if very

[PATCH for 4.9 02/59] drm: bridge: add DT bindings for TI ths8135

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bartosz Golaszewski [ Upstream commit 2e644be30fcc08c736f66b60f4898d274d4873ab ] THS8135 is a configurable video DAC. Add DT bindings for this chip. Signed-off-by: Bartosz Golaszewski Reviewed-by: Laurent Pinchart

[PATCH for 4.9 09/59] ARM: dts: r8a7790: Use R-Car Gen 2 fallback binding for msiof nodes

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Simon Horman [ Upstream commit 654450baf2afba86cf328e1849ccac61ec4630af ] Use recently added R-Car Gen 2 fallback binding for msiof nodes in DT for r8a7790 SoC. This has no run-time effect for the current driver as the initialisation sequence is the same for

[PATCH for 4.9 57/59] MIPS: Lantiq: Fix another request_mem_region() return code check

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 ] Hauke already fixed a couple of them, but one instance remains that checks for a negative integer when it should check for a NULL pointer: arch/mips/lantiq/xway/sysctrl.c: In function

[PATCH for 4.9 35/59] serial: 8250_port: Remove dangerous pr_debug()

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Alexey Brodkin [ Upstream commit 699a11ba7ec869b006623182881f2f1f5b4aea53 ] With CONFIG_DYNAMIC_DEBUG if dyndbg enables debug output in 8250_port.c deadlock happens inevitably on UART IRQ handling. That's the problematic execution path:

[PATCH for 4.9 37/59] IB/ipoib: rtnl_unlock can not come after free_netdev

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Feras Daoud [ Upstream commit 89a3987ab7a923c047c6dec008e60ad6f41fac22 ] The ipoib_vlan_add function calls rtnl_unlock after free_netdev, rtnl_unlock not only releases the lock, but also calls netdev_run_todo. The latter function browses the net_todo_list array and

[PATCH for 4.9 55/59] drm: mali-dp: Fix transposed horizontal/vertical flip

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Brian Starkey [ Upstream commit 7916efe5b57505080b3cebf5bdb228b4eda008ea ] The horizontal and vertical flip flags were the wrong way around, causing reflect-x to result in reflect-y being applied and vice-versa. Fix them. Fixes: ad49f8602fe8 ("drm/arm: Add support

[PATCH for 4.9 31/59] ARM: 8635/1: nommu: allow enabling REMAP_VECTORS_TO_RAM

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Afzal Mohammed [ Upstream commit 8a792e9afbce84a0fdaf213fe42bb97382487094 ] REMAP_VECTORS_TO_RAM depends on DRAM_BASE, but since DRAM_BASE is a hex, REMAP_VECTORS_TO_RAM could never get enabled. Also depending on DRAM_BASE is redundant as whenever

[PATCH for 4.9 14/59] MIPS: ralink: Fix incorrect assignment on ralink_soc

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Colin Ian King [ Upstream commit 08d90c81b714482dceb5323d14f6617bcf55ee61 ] ralink_soc sould be assigned to RT3883_SOC, replace incorrect comparision with assignment. Signed-off-by: Colin Ian King Fixes: 418d29c87061 ("MIPS: ralink:

[PATCH for 4.9 06/59] clk: sunxi-ng: fix PLL_CPUX adjusting on H3

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Ondrej Jirman [ Upstream commit a43c96427e713bea94e9ef50e8be1f493afc0691 ] When adjusting PLL_CPUX on H3, the PLL is temporarily driven too high, and the system becomes unstable (oopses or hangs). Add a notifier to avoid this situation by temporarily switching to a

[PATCH for 4.9 03/59] GFS2: Fix reference to ERR_PTR in gfs2_glock_iter_next

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Dan Carpenter [ Upstream commit 14d37564fa3dc4e5d4c6828afcd26ac14e6796c5 ] This patch fixes a place where function gfs2_glock_iter_next can reference an invalid error pointer. Signed-off-by: Dan Carpenter Signed-off-by: Bob Peterson

[PATCH for 4.9 05/59] ARM: dts: exynos: Add CPU OPPs for Exynos4412 Prime

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Bartlomiej Zolnierkiewicz [ Upstream commit 80b7a2e2498bcffb1a79980dfbeb7a1275577b28 ] Add CPU operating points for Exynos4412 Prime (it supports additional 1704MHz & 1600MHz OPPs and 1500MHz OPP is just a regular non-turbo OPP on this SoC). Also update relevant

[PATCH for 4.9 15/59] power: supply: axp288_fuel_gauge: Fix fuel_gauge_reg_readb return on error

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit 6f074bc878dc9b00c0df0bf3a8cb1d9e294cd881 ] If reading the register fails, return the actual error code, instead of the uninitialized val variable; Signed-off-by: Hans de Goede Signed-off-by: Sebastian Reichel

[PATCH for 4.9 04/59] drm/i915: Fix the overlay frontbuffer tracking

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Ville Syrjälä [ Upstream commit 58d09ebdb4edf5d3ab3a2aee851ab0168bc83ec6 ] Do the overlay frontbuffer tracking properly so that it matches the state of the overlay on/off/continue requests. One slight problem is that intel_frontbuffer_flip_complete() may

[PATCH for 4.9 12/59] MIPS: kexec: Do not reserve invalid crashkernel memory on boot

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Marcin Nowakowski [ Upstream commit a8f108d70c74d83574c157648383eb2e4285a190 ] Do not reserve memory for the crashkernel if the commandline argument points to a wrong location. This can happen if the location is specified wrong or if the same commandline is

[PATCH for 4.9 23/59] clk: wm831x: fix usleep_range with bad range

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Nicholas Mc Guire [ Upstream commit ed784c532a3d0959db488f40a96c5127f63d42dc ] The delay here is not in atomic context and does not seem critical with respect to precision, but usleep_range(min,max) with min==max results in giving the timer subsystem no room to optimize

[PATCH for 4.9 28/59] iio: adc: hx711: Add DT binding for avia,hx711

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Andreas Klinger [ Upstream commit ff1293f67734da68e23fecb6ecdae7112b8c43f9 ] Add DT bindings for avia,hx711 Add vendor avia to vendor list Signed-off-by: Andreas Klinger Acked-by: Rob Herring Signed-off-by: Jonathan Cameron

[PATCH for 4.9 21/59] sh_eth: use correct name for ECMR_MPDE bit

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Niklas Söderlund [ Upstream commit 6dcf45e514974a1ff10755015b5e06746a033e5f ] This bit was wrongly named due to a typo, Sergei checked the SH7734/63 manuals and this bit should be named MPDE. Suggested-by: Sergei Shtylyov

[PATCH for 4.9 27/59] iio: adc: axp288: Drop bogus AXP288_ADC_TS_PIN_CTRL register modifications

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Hans de Goede [ Upstream commit fa2849e9649b5180ffc4cb3c3b005261c403093a ] For some reason the axp288_adc driver was modifying the AXP288_ADC_TS_PIN_CTRL register, changing bits 0-1 depending on whether the GP_ADC channel or another channel was written. These bits

[PATCH for 4.9 48/59] ath10k: prevent sta pointer rcu violation

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Michal Kazior [ Upstream commit 0a744d927406389e00687560d9ce3c5ab0e58db9 ] Station pointers are RCU protected so driver must be extra careful if it tries to store them internally for later use outside of the RCU section it obtained it in. It was possible for

[PATCH for 4.9 56/59] HID: wacom: release the resources before leaving despite devm

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Benjamin Tissoires [ Upstream commit 5b779fc52020ac6f5beea31c5eafc3d25cf70dc1 ] In the general case, the resources are properly released by devm without needing to do anything. However, when unplugging the wireless receiver, the kernel segfaults from time to

[PATCH for 4.9 16/59] scsi: be2iscsi: Add checks to validate CID alloc/free

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Jitendra Bhivare [ Upstream commit 413f365657a8b9669bd0ba3628e9fde9ce63604e ] Set CID slot to 0x to indicate empty. Check if connection already exists in conn_table before binding. Check if endpoint already NULL before putting back CID. Break ep->conn

[PATCH for 4.9 08/59] RDS: RDMA: Fix the composite message user notification

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Santosh Shilimkar [ Upstream commit 941f8d55f6d613a460a5e080d25a38509f45eb75 ] When application sends an RDS RDMA composite message consist of RDMA transfer to be followed up by non RDMA payload, it expect to be notified *only* when the full message gets

[PATCH for 4.9 20/59] reset: ti_syscon: fix a ti_syscon_reset_status issue

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Jiancheng Xue [ Upstream commit 5987b4bf512101137fa60c5c0ccac3db51541221 ] If STATUS_SET was not set, ti_syscon_reset_status would always return 0 no matter whether the status_bit was set or not. Signed-off-by: Jiancheng Xue Fixes:

[PATCH for 4.9 11/59] MIPS: fix mem=X@Y commandline processing

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Marcin Nowakowski [ Upstream commit 73fbc1eba7ffa3bf0ad12486232a8a1edb4e4411 ] When a memory offset is specified through the commandline, add the memory in range PHYS_OFFSET:Y as reserved memory area. Otherwise the bootmem allocator is initialised with low

[PATCH for 4.9 26/59] iio: adc: imx25-gcq: Fix module autoload

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Javier Martinez Canillas [ Upstream commit 8f0d7daf53972da0004f7a5a4d938c85333db300 ] If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding

[PATCH for 4.9 43/59] sfc: get PIO buffer size from the NIC

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Edward Cree [ Upstream commit c634700f7eec3c0da46e299cd0a0ae8b594f9b55 ] The 8000 series SFC NICs have 4K PIO buffers, rather than the 2K of the 7000 series. Rather than having a hard-coded PIO buffer size (ER_DZ_TX_PIOBUF_SIZE), read it from the

<    1   2   3   4   5   6   7   8   9   10   >