[PATCH v2] video: mxsfb: Make sure axi clock is enabled when accessing registers

2015-03-03 Thread Liu Ying
The LCDIF engines embedded in i.MX6sl and i.MX6sx SoCs need the axi clock as the engine's system clock. The clock should be enabled when accessing LCDIF registers, otherwise the kernel would hang up. We should also keep the clock being enabled when the engine is being active to scan out frames fr

[PATCH 3.19 043/175] [media] lmedm04: Increase Interupt due time to 200 msec

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit cfcd7b825892cb498c6bcb13257f2141f7eacb76 upstream. Ocassionally the device fails to report back an interrupt urb status which results in false no lock trigger on the R

[PATCH 3.19 046/175] ALSA: off by one bug in snd_riptide_joystick_probe()

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit e4940626defdf6c92da1052ad3f12741c1a28c90 upstream. The problem here is that we check: if (dev >= SNDRV_CARDS) Then we increment "dev". if (!joystick_port

[PATCH 3.19 047/175] ALSA: hda - Set up GPIO for Toshiba Satellite S50D

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 4227de2a7e5f0ff6a58e919a9c4f2bb06e882f48 upstream. Toshiba Satellite S50D laptop with an IDT codec uses the GPIO4 (0x10) as the master EAPD. Bugzilla: https://bugzilla.nov

Re: [PATCH v4 2/8] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-03 Thread Chanwoo Choi
On 03/02/2015 06:22 AM, Arnd Bergmann wrote: > On Saturday 28 February 2015 09:47:01 Chanwoo Choi wrote: >> "earlycon=exynos4210,0x14C2" is correct bootparam. You can check >> it on Documentation/kernel-parameters.txt as following. >> >> exynos4210, >> Use early console pro

[PATCH 3.19 041/175] ACPI / LPSS: Always disable I2C host controllers

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 3293c7b8ec213a640f5ea2e5efeaa2b7559b1e19 upstream. On Baytrail and Braswell the BIOS might leave the I2C host controllers enabled, probably because it uses them for its

[PATCH 3.19 045/175] [media] si2168: define symbol rate limits

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari commit f1ecc5d119530fce01094307e029ed7f2c9067d8 upstream. w_scan complains about missing symbol rate limits: This dvb driver is *buggy*: the symbol rate limits are undefined -

[PATCH 3.19 052/175] power: bq24190: Fix ignored supplicants

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 478913fdbdfd4a781d91c993eb86838620fe7421 upstream. The driver mismatched 'num_supplicants' with 'num_supplies' of power_supply structure. It provided list of suppli

[PATCH 3.19 018/175] iwlwifi: mvm: validate tid and sta_id in ba_notif

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Eyal Shapira commit 2cee4762c528a9bd2cdff793197bf591a2196c11 upstream. These are coming from the FW and are used to access arrays. Bad values can cause an out of bounds access so discard such

[PATCH] c6x: platforms: cache: Export symbol L1P_cache_block_invalidate and L1D_cache_block_writeback

2015-03-03 Thread Chen Gang
They are needed by other modules, the related error with allmodconfig: MODPOST 3327 modules ERROR: "L1P_cache_block_invalidate" [drivers/misc/lkdtm.ko] undefined! ERROR: "L1D_cache_block_writeback" [drivers/misc/lkdtm.ko] undefined! Signed-off-by: Chen Gang --- arch/c6x/platforms/cache.

[PATCH 3.19 050/175] ALSA: hdspm - Constrain periods to 2 on older cards

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Knoth commit f0153c3d948c1764f6c920a0675d86fc1d75813e upstream. RME RayDAT and AIO use a fixed buffer size of 16384 samples. With period sizes of 32-4096, this translates to 4-512 perio

[PATCH 3.19 019/175] iwlwifi: mvm: fix failure path when power_update fails in add_interface

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit fd66fc1cafd72ddf27dbec3a5e29e99839d1bc84 upstream. When iwl_mvm_power_update_mac() is called, we have already added the mac context, so if this call fails we should remov

[PATCH 3.19 048/175] ALSA: hda - enable mute led quirk for one more hp machine.

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 7976eb49cbd138d8014fa02682d8f969ad1e9ff2 upstream. Otherwise, the mute led can't work at all. Tested-by: Taihsiang Ho BugLink: https://bugs.launchpad.net/bugs/1410704 Signed-

[PATCH 3.19 044/175] [media] lmedm04: Fix usb_submit_urb BOGUS urb xfer, pipe 1 != type 3 in interrupt urb

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Malcolm Priestley commit 15e1ce33182d1d5dbd8efe8d382b9352dc857527 upstream. A quirk of some older firmwares that report endpoint pipe type as PIPE_BULK but the endpoint otheriwse functions as

[PATCH 3.19 053/175] power: gpio-charger: balance enable/disable_irq_wake calls

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit faeed51bb65ce0241052d8dc24ac331ade12e976 upstream. enable_irq_wakeup returns 0 in case it correctly enabled the IRQ to generate the wakeup event (and thus resume

[PATCH 3.19 021/175] HID: i2c-hid: Limit reads to wMaxInputLength bytes for input events

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee commit 6d00f37e49d95e640a3937a4a1ae07dbe92a10cb upstream. d1c7e29e8d27 (HID: i2c-hid: prevent buffer overflow in early IRQ) changed hid_get_input() to read ihid->bufsize bytes, wh

[PATCH 3.19 020/175] iwlwifi: mvm: always use mac color zero

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit 5523d11cc46393a1e61b7ef4a0b2d4e7ed9521e4 upstream. We don't really need to use different mac colors when adding mac contexts, because they're not used anywhere. In fact,

Re: [Gta04-owner] [PATCH 3/4] usb: phy: twl4030: add support for reading restore on ID pin.

2015-03-03 Thread Dr. H. Nikolaus Schaller
Am 04.03.2015 um 07:35 schrieb NeilBrown : > On Mon, 2 Mar 2015 22:04:31 +0100 Pavel Machek wrote: > >> Hi! >> >>> The twl4030 phy can measure, with low precision, the >>> resistance-to-ground of the ID pin. >>> >>> Add a function to read the value, and export the result >>> via sysfs. >>> >

[PATCH 3.19 014/175] xfs: only trace buffer items if they exist

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit e9892d3cc853afdda2cc69e2576d9ddb5fafad71 upstream. The commit 2d3d0c5 ("xfs: lobotomise xfs_trans_read_buf_map()") left a landmine in the tracing code: trace_xfs_trans_buf_

[PATCH 3.19 068/175] mmc: sdhci-pxav3: fix unbalanced clock issues during probe

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 62cf983ad84275f8580c807e5e596216c46773cf upstream. Commit 0dcaa2499b7d ("sdhci-pxav3: Fix runtime PM initialization") tries to fix one hang issue caused by calling sdhci_a

[PATCH 3.19 022/175] PCI: Generate uppercase hex for modalias var in uevent

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda Delgado commit 145b3fe579db66fbe999a2bc3fd5b63dffe9636d upstream. Some implementations of modprobe fail to load the driver for a PCI device automatically because the "interface

[PATCH 3.19 051/175] power_supply: 88pm860x: Fix leaked power supply on probe fail

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 24727b45b484e8937dcde53fa8d1aa70ac30ec0c upstream. Driver forgot to unregister power supply if request_threaded_irq() failed in probe(). In such case the memory asso

[PATCH 3.19 049/175] ALSA: usb: Fix support for Denon DA-300USB DAC (ID 154e:1003)

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Frank C Guenther commit 3cd1ce0420ce89937bef9096d5bdb13fbdf0f8b0 upstream. Fix problem where playback of Denon DA-300USB DAC sometimes does not start and leads to error messages like "clock so

[PATCH 3.19 070/175] mmc: sdhci-pxav3: fix setting of pdata->clk_delay_cycles

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 14460dbaf7a5a0488963fdb8232ad5c8a8cca7b7 upstream. Current code checks "clk_delay_cycles > 0" to know whether the optional "mrvl,clk_delay_cycles" is set or not. But of_pr

[PATCH 3.19 072/175] mmc: sdhci-pxav3: Fix Armada 38x controllers caps according to erratum ERR-7878951

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit a39128bcd6f1e56c6514abf489b40b67d226093b upstream. According to erratum 'ERR-7878951' Armada 38x SDHCI controller has different capabilities than the ones shown in its reg

[PATCH 3.19 069/175] mmc: sdhci-pxav3: fix race between runtime pm and irq

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 3bb10f60933e84abfe2be69f60b3486f9b96348b upstream. This patch is to fix a race condition that may cause an unhandled irq, which results in big sdhci interrupt numbers and

[PATCH 3.19 071/175] mmc: sdhci-pxav3: Fix SDR50 and DDR50 capabilities for the Armada 38x flavor

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Gregory CLEMENT commit d4b803c559843e3774736e5108cf6331cf75f64c upstream. According to erratum 'FE-2946959' both SDR50 and DDR50 modes require specific clock adjustments in SDIO3 Configuration

[PATCH 3.19 073/175] proc/pagemap: walk page tables under pte lock

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 05fbf357d94152171bc50f8a369390f1f16efd89 upstream. Lockless access to pte in pagemap_pte_range() might race with page migration and trigger BUG_ON(!PageLocked()) i

[PATCH 3.19 056/175] megaraid_sas: disable interrupt_mask before enabling hardware interrupts

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit c2ced1719a1b903350955a511e1666e6d05a7f5b upstream. Update driver "mask_interrupts" before enable/disable hardware interrupt in order to avoid missing interr

Re: [PATCH 08/15] twl4030_charger: distinguish between USB current and 'AC' current

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:05:10 +0100 Pavel Machek wrote: > Hi! > > > The twl4030 charger has two current sources, 'USB' and 'AC' (which is > > really DC of course...). > > > > If 'AC' is providing current, we should set the current limit > > differently to when it isn't (and so USB is used). > > S

[PATCH 3.19 055/175] megaraid_sas: fix the problem of non-existing VD exposed to host

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit ab2f0608e16d64a23a2dcc8d83b966a0e0a281f3 upstream. This patch will address the issue of SCSI device created at OS level for non existing VD. ldTgtIdtoLd[] a

[PATCH 3.19 076/175] KVM: MIPS: Disable HTW while in guest

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit c4c6f2cad9e1d4cc076bc183c3689cc9e7019c75 upstream. Ensure any hardware page table walker (HTW) is disabled while in KVM guest mode, as KVM doesn't yet set up hardware page t

[PATCH 3.19 079/175] MIPS: kernel: cps-vec: Replace "addi" with "addiu"

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit acac4108df6029c03195513ead7073bbb0cb9718 upstream. The "addi" instruction will trap on overflows which is not something we need in this code, so we replace that with "ad

[PATCH 3.19 075/175] NFS: struct nfs_commit_info.lock must always point to inode->i_lock

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit f4086a3d789dbe18949862276d83b8f49fce6d2f upstream. Commit 411a99adffb4f (nfs: clear_request_commit while holding i_lock) assumes that the nfs_commit_info always points t

[PATCH 3.19 078/175] MIPS: Alchemy: Fix cpu clock calculation

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Manuel Lauss commit 69e4e63ec816a7e22cc3aa14bc7ef4ac734d370c upstream. The current code uses bits 0-6 of the sys_cpupll register to calculate core clock speed. However this is only valid on A

[PATCH 3.19 080/175] MIPS: asm: asmmacro: Replace "add" instructions with "addu"

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit 98a833c1fa4de0695830f77b2d13fd86693da298 upstream. The "add" instruction is actually a macro in binutils and depending on the size of the immediate it can expand to an "

[PATCH 3.19 074/175] nfs: dont call blocking operations while !TASK_RUNNING

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 6ffa30d3f734d4f6b478081dfc09592021028f90 upstream. Bruce reported seeing this warning pop when mounting using v4.1: [ cut here ] WARNING:

[PATCH 3.19 084/175] MIPS: Export MSA functions used by lose_fpu(1) for KVM

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit ca5d25642e212f73492d332d95dc90ef46a0e8dc upstream. Export the _save_msa asm function used by the lose_fpu(1) macro to GPL modules so that KVM can make use of it when it is b

[PATCH 3.19 081/175] MIPS: asm: pgtable: Add c0 hazards on HTW start/stop sequences

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit 461d1597ffad7a826f8aaa63ab0727c37b632e34 upstream. When we use htw_{start,stop}() outside of htw_reset(), we need to ensure that c0 changes have been propagated properly

[PATCH 3.19 082/175] MIPS: asm: pgtable: Prevent HTW race when updating PTEs

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Markos Chandras commit fde3538a8a711aedf1173ecb2d45aed868f51c97 upstream. Whenever we modify a page table entry, we need to ensure that the HTW will not fetch a stable entry. And for that to h

[PATCH 3.19 087/175] blk-mq: fix double-free in error path

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 564e559f2baf6a868768d0cac286980b3cfd6e30 upstream. If the allocation of bt->bs fails, then bt->map can be freed twice, once in blk_mq_init_bitmap_tags() -> bt_alloc(), an

[PATCH 3.19 086/175] tracing: Fix unmapping loop in tracing_mark_write

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Vikram Mulukutla commit 7215853e985a4bef1a6c14e00e89dfec84f1e457 upstream. Commit 6edb2a8a385f0cdef51dae37ff23e74d76d8a6ce introduced an array map_pages that contains the addresses returned by

Re: [PATCH v2 12/15] x86/asm: Cleanup prefetch primitives

2015-03-03 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > This is based on a patch originally by hpa. > > With the current improvements to the alternatives, we can simply use %P1 > as a mem8 operand constraint and rely on the toolchain to generate the > proper instruction sizes. For example, on 32

[PATCH 3.19 088/175] ARM: 8284/1: sa1100: clear RCSR_SMR on resume

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit e461894dc2ce7778ccde1c3483c9b15a85a7fc5f upstream. StrongARM core uses RCSR SMR bit to tell to bootloader that it was reset by entering the sleep mode. After we

[PATCH 3.19 057/175] megaraid_sas: complete outstanding IOCTLs before killing adapter

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit c8dd61eff2780c481fcf919c1572e16e397c714e upstream. Driver calls megasas_complete_cmd() to call wake_up() for each MFI frame that was issued through the ioct

[PATCH 3.19 085/175] mm/hugetlb: pmd_huge() returns true for non-present hugepage

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit cbef8478bee55775ac312a574aad48af7bb9cf9f upstream. Migrating hugepages and hwpoisoned hugepages are considered as non-present hugepages, and they are referenced via migr

[PATCH 3.19 093/175] tpm_tis: verify interrupt during init

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Scot Doyle commit 448e9c55c12d6bd4fa90a7e31d802e045666d7c8 upstream. Some machines, such as the Acer C720 and Toshiba CB35, have TPMs that do not send IRQs while also having an ACPI TPM entry

[PATCH 3.19 083/175] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 3ce465e04bfd8de9956d515d6e9587faac3375dc upstream. Export the _save_fp asm function used by the lose_fpu(1) macro to GPL modules so that KVM can make use of it when it is bu

[PATCH 3.19 089/175] ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Lokesh Vutla commit 1c7e36bfc3e2fb2df5e2d1989a4b6fb9055a0f9b upstream. With commit '7dedd34: ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() with DEBUG_LL' we moved from parsing cmdline to i

[PATCH 3.19 090/175] ARM: dts: tegra20: fix GR3D, DSI unit and reg base addresses

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Osipenko commit de47699d005996b41cea590c6098078ac12058be upstream. Commit 58ecb23f64ee ("ARM: tegra: add missing unit addresses to DT") added unit address and changed reg base for GR3D

Re: [PATCH 07/15] twl4030_charger: allow fine control of charger current.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:05:01 +0100 Pavel Machek wrote: > Hi! > > > + /* ichg values in uA. If any are 'large', we set CGAIN to > > +* '1' which doubles the range for half the precision. > > +*/ > > + int ichg_eoc, ichg_lo, ichg_hi, cur; > > We should really get uA

[PATCH 3.19 104/175] sg: fix EWOULDBLOCK errors with scsi-mq

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 7772855a996ec6e16944b120ab5ce21050279821 upstream. With scsi-mq enabled, userspace programs can get unexpected EWOULDBLOCK (a.k.a. EAGAIN) errors when submitting commands

[PATCH 3.19 092/175] ARM: dts: BCM63xx: fix L2 cache properties

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit 9df11828d9b5665ddef81e45f83dd5376a8cd620 upstream. The L2 cache properties were completely off with respect to what the hardware is configured for. Fix the cache-size,

[PATCH 3.19 059/175] [media] timberdale: do not select TIMB_DMA

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 244829226f47ffb4d6009a2ccd2771cd149d8114 upstream. The timberdale media driver requires the use of the respective dma engine driver, but that may not be enabled, causing a

[PATCH 3.19 106/175] cfq-iosched: handle failure of cfq group allocation

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 69abaffec7d47a083739b79e3066cb3730eba72e upstream. Cfq_lookup_create_cfqg() allocates struct blkcg_gq using GFP_ATOMIC. In cfq_find_alloc_queue() possible allocati

[PATCH 3.19 105/175] iscsi-target: Drop problematic active_ts_list usage

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 3fd7b60f2c7418239d586e359e0c6d8503e10646 upstream. This patch drops legacy active_ts_list usage within iscsi_target_tq.c code. It was originally used to track the ac

[PATCH 3.19 095/175] char: tpm: Add missing error check for devm_kzalloc

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Kiran Padwal commit bb95cd34ba4c9467114acc78eeddd53ab1c10085 upstream. Currently these driver are missing a check on the return value of devm_kzalloc, which would cause a NULL pointer derefere

Re: linux-3.18.y: Add "kconfig: Fix warning "‘jump’ may be used uninitialized""

2015-03-03 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 4:50 PM, Greg Kroah-Hartman wrote: > On Fri, Feb 06, 2015 at 04:40:28PM +0100, Sedat Dilek wrote: >> Hi, >> >> I see the following... >> >> $ yes "" | make oldconfig && make silentoldconfig > HOSTCC scripts/basic/fixdep >> HOSTCC scripts/kconfig/conf.o >> SHIPPED scr

[PATCH 3.19 107/175] cfq-iosched: fix incorrect filing of rt async cfqq

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Moyer commit c6ce194325cef342313e3d27620411ce90a89c50 upstream. Hi, If you can manage to submit an async write as the first async I/O from the context of a process with realtime scheduli

[PATCH 3.19 108/175] cipso: dont use IPCB() to locate the CIPSO IP option

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit 04f81f0154e4bf002be6f4d85668ce1257efa4d9 upstream. Using the IPCB() macro to get the IPv4 options is convenient, but unfortunately NetLabel often needs to examine the CIPSO o

[PATCH 3.19 109/175] ring-buffer: Do not wake up a splice waiter when page is not full

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 1e0d6714aceb770b04161fbedd7765d0e1fc27bd upstream. When an application connects to the ring buffer via splice, it can only read full pages. Splice does not wo

[PATCH 3.19 054/175] megaraid_sas: endianness related bug fixes and code optimization

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: "sumit.sax...@avagotech.com" commit 200aed582d6170a2687cd69095469b663f69f16f upstream. This patch addresses below issues: 1) Few endianness bug fixes. 2) Break the iteration after (MAX_LOGICA

[PATCH 3.19 111/175] axonram: Fix bug in direct_access

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Wilcox commit 91117a20245b59f70b563523edbf998a62fc6383 upstream. The 'pfn' returned by axonram was completely bogus, and has been since 2008. Signed-off-by: Matthew Wilcox Reviewed-b

Re: [PATCH v2 05/15] x86/alternatives: Use optimized NOPs for padding

2015-03-03 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > Alternatives allow now for an empty old instruction. In this case we go > and pad the space with NOPs at assembly time. However, there are the > optimal, longer NOPs which should be used. Do that at patching time by > adding alt_instr.padlen

[PATCH 3.19 110/175] smack: fix possible use after frees in task_security() callers

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 6d1cff2a885850b78b40c34777b46cf5da5d1050 upstream. We hit use after free on dereferncing pointer to task_smack struct in smk_of_task() called from smack_task_to_inode().

[PATCH 3.19 112/175] tty: Remove warning in tty_lock_slave()

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit eef15e2a54fad4c2ce3f0a81485dc591ce678f4f upstream. Commit 2aff5e2bc62db43e05c814461a08aff0fc2b7fe5 ('tty: Change tty lock order to master->slave') added a warning which is

[PATCH 3.19 114/175] tty/serial: at91: use correct type for dma_sync_*_for_cpu() and dma_sync_*_for_device()

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit 485819b5b9ed82372dacae775998f3c33717f7fe upstream. dma_sync_*_for_cpu() and dma_sync_*_for_device() use 'enum dma_data_direction', not 'enum dma_transfer_direction' Sig

[PATCH 3.19 115/175] tty/serial: at91: enable peripheral clock before accessing I/O registers

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit d4f641876a68d1961e30c202709cc2d484f69f6f upstream. atmel_serial_probe() calls atmel_init_port(). In turn, atmel_init_port() calls clk_disable_unprepare() to disable the

[PATCH 3.19 117/175] mei: mask interrupt set bit on clean reset bit

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit 1ab1e79b9fd4b01331490bbe2e630a0fc0b25449 upstream. We should mask interrupt set bit when writing back hcsr value in reset bit clean-up. This is refinement for mei: cl

[PATCH 3.19 116/175] tty/serial: at91: fix error handling in atmel_serial_probe()

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit 6fbb9bdf0f3fbe23aeff806489791aa876adaffb upstream. -EDEFER error wasn't handle properly by atmel_serial_probe(). As an example, when atmel_serial_probe() is called for t

[PATCH 3.19 119/175] USB: cp210x: add ID for RUGGEDCOM USB Serial Console

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Lennart Sorensen commit a6f0331236fa75afba14bbcf6668d42cebb55c43 upstream. Added the USB serial console device ID for Siemens Ruggedcom devices which have a USB port for their serial console.

[PATCH 3.19 118/175] mei: me: release hw from reset only during the reset flow

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Usyskin commit 663b7ee9517eec6deea9a48c7a1392a9a34f7809 upstream. We might enter the interrupt handler with hw_ready already set, but prior we actually started the reset flow. To sol

Re: [PATCH 4/4] usb: phy: twl4030: test ID resistance to see if charger is present.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:04:44 +0100 Pavel Machek wrote: > On Tue 2015-02-24 14:40:37, NeilBrown wrote: > > If an 'A' plug is inserted, ID should be pulled to ground. > > If a 'B' plug, then ID should be floating. > > > > If an Accessory Charger Adapter is inserted, then ID will > > be neither grou

[PATCH 3.19 121/175] usb: dwc3: gadget: add missing spin_lock()

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit 5c7b3b02de766a8634708953e805399e3544a290 upstream. commit 8e74475b0e0a (usb: dwc3: gadget: use udc-core's reset notifier) added support for the new UDC core's reset notifie

[PATCH 3.19 113/175] tty: Prevent untrappable signals from malicious program

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit 37480a05685ed5b8e1b9bf5e5c53b5810258b149 upstream. Commit 26df6d13406d1a5 ("tty: Add EXTPROC support for LINEMODE") allows a process which has opened a pty master to send _

Re: [PATCH 4/5] x86: Use generic compat audit code

2015-03-03 Thread Brian Gerst
On Wed, Mar 4, 2015 at 12:14 AM, Ingo Molnar wrote: > > * Brian Gerst wrote: > >> Use the generic compat syscall audit code instead of an x86 specific >> implementation. >> >> Signed-off-by: Brian Gerst >> --- >> arch/x86/Kconfig| 5 +-- >> arch/x86/ia32/Makefile | 3

[PATCH 3.19 122/175] usb: core: buffer: smallest buffer should start at ARCH_DMA_MINALIGN

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 5efd2ea8c9f4f12916ffc8ba636792ce052f6911 upstream. the following error pops up during "testusb -a -t 10" | musb-hdrc musb-hdrc.1.auto: dma_pool_free buffer-128

[PATCH 3.19 124/175] USB: add flag for HCDs that cant receive wakeup requests (isp1760-hcd)

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 074f9dd55f9cab1b82690ed7e44bcf38b9616ce0 upstream. Currently the USB stack assumes that all host controller drivers are capable of receiving wakeup requests from downstream d

[PATCH 3.19 097/175] tpm/tpm_i2c_stm_st33: Fix potential bug in tpm_stm_i2c_send

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 1ba3b0b6f218072afe8372d12f1b6bf26a26008e upstream. When sending data in tpm_stm_i2c_send, each loop iteration send buf. Send buf + i instead as the goal of this for lo

[PATCH 3.19 120/175] USB: fix use-after-free bug in usb_hcd_unlink_urb()

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit c99197902da284b4b723451c1471c45b18537cde upstream. The usb_hcd_unlink_urb() routine in hcd.c contains two possible use-after-free errors. The dev_dbg() statement at the end

[PATCH 3.19 125/175] cdc-acm: add sanity checks

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 7e860a6e7aa62b337a61110430cd633db5b0d2dd upstream. Check the special CDC headers for a plausible minimum length. Another big operating systems ignores such garbage. Signe

[PATCH 3.19 128/175] ARM: pxa: add regulator_has_full_constraints to poodle board file

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 9bc78f32c2e430aebf6def965b316aa95e37a20c upstream. Add regulator_has_full_constraints() call to poodle board file to let regulator core know that we do not have

[PATCH 3.19 126/175] vt: provide notifications on selection changes

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Pitre commit 19e3ae6b4f07a87822c1c9e7ed99d31860e701af upstream. The vcs device's poll/fasync support relies on the vt notifier to signal changes to the screen content. Notifier invoca

[PATCH 3.19 123/175] USB: dont cancel queued resets when unbinding drivers

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 524134d422316a59d5464ccbc12036bbe90c5563 upstream. The USB stack provides a mechanism for drivers to request an asynchronous device reset (usb_queue_reset_device()). The mec

[PATCH 3.19 129/175] ARM: pxa: add regulator_has_full_constraints to spitz board file

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit baad2dc49c5d970ea881d92981a1b76c94a7b7a1 upstream. Add regulator_has_full_constraints() call to spitz board file to let regulator core know that we do not have a

[PATCH 3.19 130/175] ARM: brcmstb: update CPU power management sequence

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit a1ad3b94a7661b643fef2efbc6fc217bd148f462 upstream. The automatic CPU power state machine for B15 CPUs does not work reliably as-is. This patch implements a manual sequence

[PATCH] c6x: kernel: setup: Export symbol memory_end

2015-03-03 Thread Chen Gang
It is needed by several modules, the related error with allmodconfig: MODPOST 3327 modules ERROR: "memory_end" [net/wireless/lib80211_crypt_tkip.ko] undefined! ERROR: "memory_end" [net/sunrpc/sunrpc.ko] undefined! ERROR: "memory_end" [net/sunrpc/auth_gss/rpcsec_gss_krb5.ko] undefined!

[PATCH 3.19 127/175] ARM: pxa: add regulator_has_full_constraints to corgi board file

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 271e80176aae4e5b481f4bb92df9768c6075bbca upstream. Add regulator_has_full_constraints() call to corgi board file to let regulator core know that we do not have a

Re: [PATCH] video: mxsfb: Make sure axi clock is enabled when accessing registers

2015-03-03 Thread Peter Chen
On Wed, Mar 04, 2015 at 01:58:55PM +0800, Liu Ying wrote: > The LCDIF engines embedded in i.MX6sl and i.MX6sx SoCs need the axi clock > as the engine's system clock. The clock should be enabled when accessing > LCDIF registers, otherwise the kernel would hang up. We should also keep > the clock b

[PATCH 3.19 098/175] Added Little Endian support to vtpm module

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: honclo commit eb71f8a5e33fa1066fb92f0111ab366a341e1f6c upstream. The tpm_ibmvtpm module is affected by an unaligned access problem. ibmvtpm_crq_get_version failed with rc=-4 during boot when v

[PATCH 3.19 132/175] ARM: vexpress: use ARM_CPU_SUSPEND if needed

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 95fcedb027a27f32bf2434f9271635c380e57fb5 upstream. The vexpress tc2 power management code calls mcpm_loopback, which is only available if ARM_CPU_SUSPEND is enabled, other

Re: [PATCH 3/4] usb: phy: twl4030: add support for reading restore on ID pin.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:04:31 +0100 Pavel Machek wrote: > Hi! > > > The twl4030 phy can measure, with low precision, the > > resistance-to-ground of the ID pin. > > > > Add a function to read the value, and export the result > > via sysfs. > > > > If the read fails, which it does sometimes, try

[PATCH 3.19 134/175] kdb: fix incorrect counts in KDB summary command output

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Jay Lan commit 146755923262037fc4c54abc28c04b1103f3cc51 upstream. The output of KDB 'summary' command should report MemTotal, MemFree and Buffers output in kB. Current codes report in unit of

[PATCH 3.19 135/175] kdb: Avoid printing KERN_ levels to consoles

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Thompson commit f7d4ca8bbfda23b4f1eae9b6757ff64166b093d5 upstream. Currently when kdb traps printk messages then the raw log level prefix (consisting of '\001' followed by a numeral) do

[PATCH 3.19 133/175] ARM: mvebu: build armada375-smp code conditionally

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 165235180ff61f0012ea68a299e46daec43dcaa7 upstream. mvebu_armada375_smp_wa_init is only used on armada 375 but is defined for all mvebu machines. As it calls a function tha

[PATCH 3.19 102/175] NFSv4.1: Fix a kfree() of uninitialised pointers in decode_cb_sequence_args

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit d8ba1f971497c19cf80da1ea5391a46a5f9fbd41 upstream. If the call to decode_rc_list() fails due to a memory allocation error, then we need to truncate the array size to ens

[PATCH 3.19 099/175] nfs41: .init_read and .init_write can be called with valid pg_lseg

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit cb5d04bc39e914124e811ea55f3034d2379a5f6c upstream. With pgio refactoring in v3.15, .init_read and .init_write can be called with valid pgio->pg_lseg. file layout was fixed at t

[PATCH v2] KVM: vmx: Set msr bitmap correctly if vcpu is in guest mode

2015-03-03 Thread Wincy Van
In commit 3af18d9c5fe9 ("KVM: nVMX: Prepare for using hardware MSR bitmap"), we are setting MSR_BITMAP in prepare_vmcs02 if we should use hardware. This is not enough since the field will be modified by following vmx_set_efer. Fix this by setting vmx_msr_bitmap_nested in vmx_set_msr_bitmap if vcpu

[PATCH 3.19 103/175] sg: fix unkillable I/O wait deadlock with scsi-mq

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 7568615c1054907ea8c7701ab86dad51aa099888 upstream. When using the write()/read() interface for submitting commands, the SCSI generic driver does not call blk_put_request(

[PATCH 3.19 131/175] ARM: BCM: put back ARCH_MULTI_V7 dependency for mobile

2015-03-03 Thread Greg Kroah-Hartman
3.19-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit ff34cae5b4fc7a84113d7c7e8611ba87a7c31dba upstream. A recent cleanup rearranged the Kconfig file for mach-bcm and accidentally dropped the dependency on ARCH_MULTI_V7, whic

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