Re: [REVIEW][PATCH 1/2] userns: Better restrictions on when proc and sysfs can be mounted

2013-11-08 Thread Eric W. Biederman
Gao feng writes: > On 11/02/2013 02:06 PM, Gao feng wrote: >> Hi Eric, >> >> On 08/28/2013 05:44 AM, Eric W. Biederman wrote: >>> >>> Rely on the fact that another flavor of the filesystem is already >>> mounted and do not rely on state in the user namespace. >>> >>> Verify that the mounted file

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-08 Thread Matt Sealey
On Fri, Nov 8, 2013 at 5:00 PM, Stephen Boyd wrote: > If we're running on a v7 ARM CPU, detect if the CPU supports the > sdiv/udiv instructions and replace the signed and unsigned > division library functions with an sdiv/udiv instruction. > > Running the perf messaging benchmark in pipe mode > >

[PATCH 3.4 01/26] USB: support new huawei devices in option.c

2013-11-08 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: "Fangxiaozhi (Franko)" commit d544db293a44a2a3b09feab7dbd59668b692de71 upstream. Add new supporting declarations to option.c, to support Huawei new devices with new bInterfaceSubClass value. S

[PATCH 3.10 11/74] mac80211: drop spoofed packets in ad-hoc mode

2013-11-08 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 6329b8d917adc077caa60c2447385554130853a3 upstream. If an Ad-Hoc node receives packets with the Cell ID or its own MAC address as source address, it hits a WARN_ON in sta_i

[PATCH 3.4 25/26] drm: Prevent overwriting from userspace underallocating core ioctl structs

2013-11-08 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit b062672e305ce071f21eb9e18b102c2a430e0999 upstream. Apply the protections from commit 1b2f1489633888d4a06028315dc19d65768a1c05 Author: Dave Airlie Date: Sat Aug 14 20:20:

[PATCH 3.10 10/74] mac80211: correctly close cancelled scans

2013-11-08 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit a754055a1296fcbe6f32de3a5eaca6efb2fd1865 upstream. __ieee80211_scan_completed is called from a worker. This means that the following flow is possible. * driver calls

[PATCH 3.4 10/26] libata: make ata_eh_qc_retry() bump scmd->allowed on bogus failures

2013-11-08 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou commit f13e220161e738c2710b9904dcb3cf8bb0bcce61 upstream. libata EH decrements scmd->retries when the command failed for reasons unrelated to the command itself so that, for exa

[PATCH 3.10 69/74] drm/radeon/atom: workaround vbios bug in transmitter table on rs780

2013-11-08 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit c23632d4e57c0dd20bf50eca08fa0eb8ad3ff680 upstream. Some rs780 asics seem to be affected as well. See: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit

[PATCH 3.10 70/74] seq_file: always update file->f_pos in seq_lseek()

2013-11-08 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Gu Zheng commit 05e16745c0c471bba313961b605b6da3b21a853d upstream. This issue was first pointed out by Jiaxing Wang several months ago, but no further comments: https://lkml.org/lkml/2013/6/29

[PATCH 3.11 27/94] jfs: fix error path in ialloc

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dave Kleikamp commit 8660998608cfa1077e560034db81885af8e1e885 upstream. If insert_inode_locked() fails, we shouldn't be calling unlock_new_inode(). Signed-off-by: Dave Kleikamp Tested-by: Mi

[PATCH 3.11 30/94] can: flexcan: flexcan_chip_start: fix regression, mark one MB for TX and abort pending TX

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit d5a7b406c529e4595ce03dc8f6dcf7fa36f106fa upstream. In patch 0d1862e can: flexcan: fix flexcan_chip_start() on imx6 the loop in flexcan_chip_start() that iterates

[PATCH 3.11 07/94] xhci: Dont enable/disable RWE on bus suspend/resume.

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit f217c980ca980e3a645b7485ea5eae9a747f4945 upstream. The RWE bit of the USB 2.0 PORTPMSC register is supposed to enable remote wakeup for devices in the lower power link state

[PATCH 3.11 83/94] drm/radeon/atom: workaround vbios bug in transmitter table on rs780

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit c23632d4e57c0dd20bf50eca08fa0eb8ad3ff680 upstream. Some rs780 asics seem to be affected as well. See: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit

[PATCH 3.11 74/94] mm: Account for a THP NUMA hinting update as one PTE update

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 0255d491848032f6c601b6410c3b8ebded3a37b1 upstream. A THP PMD update is accounted for as 512 pages updated in vmstat. This is large difference when estimating the cost of aut

[PATCH 3.11 80/94] drm/i915: Retry DP aux_ch communications with a different clock after failure

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit bc86625a4ff7574d4d4dba79723457711eb784e0 upstream. The w/a db makes the recommendation to both use a non-default value for the initial clock and then to retry with an alter

[PATCH 3.11 57/94] Staging: bcm: info leak in ioctl

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8d1e72250c847fa96498ec029891de4dc638a5ba upstream. The DevInfo.u32Reserved[] array isn't initialized so it leaks kernel information to user space. Reported-by: Nico Golde

[PATCH 3.11 66/94] aacraid: missing capable() check in compat ioctl

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit f856567b930dfcdbc3323261bf77240ccdde01f5 upstream. In commit d496f94d22d1 ('[SCSI] aacraid: fix security weakness') we added a check on CAP_SYS_RAWIO to the ioctl. The co

[PATCH 3.11 82/94] drm: Pad drm_mode_get_connector to 64-bit boundary

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit bc5bd37ce48c66e9192ad2e7231e9678880f6f8e upstream. Pavel Roskin reported that DRM_IOCTL_MODE_GETCONNECTOR was overwritting the 4 bytes beyond the end of its structure with

[PATCH 3.11 93/94] NTB: Correct USD/DSD Identification

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jon Mason commit b6750cfe0710a14fd147ba27fddbecae8ba88c77 upstream. Due to ambiguous documentation, the USD/DSD identification is backward when compared to the setting in BIOS. Correct the bi

[PATCH 3.11 94/94] NTB: Correct debugfs to work with more than 1 NTB Device

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jon Mason commit 1517a3f21a1dd321f16bcf44204bddff9d21abd0 upstream. Debugfs was setup in NTB to only have a single debugfs directory. This resulted in the leaking of debugfs directories and f

[PATCH 3.11 84/94] drm/radeon: make missing smc ucode non-fatal (r7xx-SI)

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d83671126dc8e7c0b56c9970ea5ffd08c3b0c645 upstream. Prevent driver load problems if the smc is missing. bug: https://bugzilla.kernel.org/show_bug.cgi?id=63011 Signed-off-b

[PATCH 3.11 60/94] uml: check length in exitcode_proc_write()

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 201f99f170df14ba52ea4c52847779042b7a623b upstream. We don't cap the size of buffer from the user so we could write past the end of the array here. Only root can write to

[PATCH 3.11 78/94] drm/vmwgfx: Dont kill clients on VT switch

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit c4249855ac5b2a383704d31e040d3831d6a25c6f upstream. DRI clients that tried to grab the TTM lock when the master (X server) was switched away during a VT switch were sent

[PATCH 3.11 63/94] uio: provide vm access to UIO_MEM_PHYS maps

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit 7294151d0592e0ff48c61fca9fd7c93d613134da upstream. This makes it possible to let gdb access mappings of the process that is being debugged. uio_mmap_logical was moved

[PATCH 3.11 65/94] lib/scatterlist.c: dont flush_kernel_dcache_page on slab page

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 3d77b50c5874b7e923be946ba793644f82336b75 upstream. Commit b1adaf65ba03 ("[SCSI] block: add sg buffer copy helper functions") introduces two sg buffer copy helpers, and calls fl

[PATCH 3.11 62/94] mm: make generic_access_phys available for modules

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit 5a73633ef01cd8772defa6a3c34a588376a1df4c upstream. In the next commit this function will be used in the uio subsystem Signed-off-by: Uwe Kleine-König Signed-off-by: G

[PATCH 3.11 92/94] NTB: Correct Number of Scratch Pad Registers

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jon Mason commit 87034511519815259e37336f52edf06d114d43b6 upstream. The NTB Xeon hardware has 16 scratch pad registers and 16 back-to-back scratch pad registers. Correct the #define to repres

[PATCH 3.11 61/94] xtensa: dont use alternate signal stack on threads

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Baruch Siach commit cba9a90053e3b7973eff4f1946f33032e98eeed5 upstream. According to create_thread(3): "The new thread does not inherit the creating thread's alternate signal stack". Since comm

[PATCH 3.11 58/94] Staging: sb105x: info leak in mp_get_count()

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit a8b33654b1e3b0c74d4a1fed041c9aae50b3c427 upstream. The icount.reserved[] array isn't initialized so it leaks stack information to userspace. Reported-by: Nico Golde Repo

[PATCH 3.11 91/94] NTB: Add Error Handling in ntb_device_setup

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jon Mason commit 3b12a0d15bd1559e72ad21d9d807fd2a6706f0ab upstream. If an error is encountered in ntb_device_setup, it is possible that the spci_cmd isn't populated. Writes to the offset can

[PATCH 3.11 90/94] seq_file: always update file->f_pos in seq_lseek()

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Gu Zheng commit 05e16745c0c471bba313961b605b6da3b21a853d upstream. This issue was first pointed out by Jiaxing Wang several months ago, but no further comments: https://lkml.org/lkml/2013/6/29

[PATCH 3.11 89/94] mutex: Avoid gcc version dependent __builtin_constant_p() usage

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit b0267507dfd0187fb7840a0ec461a510a7f041c5 upstream. Commit 040a0a37 ("mutex: Add support for wound/wait style locks") used "!__builtin_constant_p(p == NULL)" but gcc 3.x can

[PATCH 3.11 88/94] drm/i915: Fix the PPT fdi lane bifurcate state handling on ivb

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 1fbc0d789d12fec313c91912fc11733fdfbab863 upstream. Originally I've thought that this is leftover hw state dirt from the BIOS. But after way too much helpless flailing arou

[PATCH 3.11 87/94] drm/i915: No LVDS hardware on Intel D410PT and D425KT

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Rob Pearce commit 645378d85ee524e429aa4cf52806047b56cdc596 upstream. The Intel D410PT(LW) and D425KT Mini-ITX desktop boards both show up as having LVDS but the hardware is not populated. This

[PATCH 3.11 86/94] drm/i915: Add support for pipe_bpp readout

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Ville Syrjälä commit 4f56d12ebb28fceac4c6e60c8993fbfc122e1399 upstream. On CTG+ read out the pipe bpp setting from hardware and fill it into pipe config. Also check it appropriately. v2: Don'

[PATCH 3.11 68/94] clk: nomadik: set all timers to use 2.4 MHz TIMCLK

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit b9b5ab11ea221a9f2d5af41da639e0898675c34c upstream. This fixes a regression for the Nomadik on the main system timers. The Nomadik seemed a bit slow and its heartbeat wasn

[PATCH 3.11 85/94] drm/i915: Add HSW CRT output readout support

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Ville Syrjälä commit 7195a50b5c7e00cc3312934fd022c3006b533d12 upstream. Call intel_ddi_get_config() to get the pipe_bpp settings from DDI. The sync polarity settings from DDI are irrelevant f

[PATCH 3.11 59/94] staging: wlags49_h2: buffer overflow setting station name

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit b5e2f339865fb443107e5b10603e53bbc92dc054 upstream. We need to check the length parameter before doing the memcpy(). I've actually changed it to strlcpy() as well so that

Re: [PATCH] ARM: unwinder: Handle Stackoverflow in unwind_exec_insn

2013-11-08 Thread Anurag Aggarwal
Thanks for your input Dave, I think there is another way to avoid the stack overflow and reduce the number of checks also, Stack overflow will cause a problem only when we are backtracking the last set of registers. i.e when the difference between current SP and top of stack is less than or equal

[PATCH 3.11 67/94] clk: fixup argument order when setting VCO parameters

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Austin commit 2f9f64bc5aa31836810cd25301aa4772ad73ebab upstream. The order of arguments in the call to vco_set() for the ICST clocks appears to have been switched in error, which resu

[PATCH 3.11 81/94] drm: Prevent overwriting from userspace underallocating core ioctl structs

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit b062672e305ce071f21eb9e18b102c2a430e0999 upstream. Apply the protections from commit 1b2f1489633888d4a06028315dc19d65768a1c05 Author: Dave Airlie Date: Sat Aug 14 20:20

[PATCH 3.11 77/94] drm/vmwgfx: Dont put resources with invalid ids on lru list

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 26682480c202e7360cbcdc3bc9e962bf749c6b8d upstream. The evict code may try to swap them out causing a BUG in the destroy function. Signed-off-by: Thomas Hellstrom Revi

[PATCH 3.11 18/94] mac80211: update sta->last_rx on acked tx frames

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 0c5b93290b2f3c7a376567c03ae8d385b0e99851 upstream. When clients are idle for too long, hostapd sends nullfunc frames for probing. When those are acked by the client, the i

[PATCH 3.11 79/94] drm/i915: split aux_clock_divider logic in a separated function for reuse.

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Rodrigo Vivi commit b84a1cf8950ed075c4ab2630514d4caaae504176 upstream. Prep patch for reuse aux_clock_divider with EDP_PSR_AUX_CTL setup. Reviewed-by: Paulo Zanoni Signed-off-by: Rodrigo Viv

[PATCH 3.11 75/94] mm: /proc/pid/pagemap: inspect _PAGE_SOFT_DIRTY only on present pages

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Cyrill Gorcunov commit e9cdd6e771580e6ff872e5c64e8b766972c7d1bc upstream. If a page we are inspecting is in swap we may occasionally report it as having soft dirty bit (even if it is clean).

[PATCH 3.11 76/94] mm/pagewalk.c: fix walk_page_range() access of wrong PTEs

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Chen LinX commit 3017f079efd6af199b0852b5c425364513db460e upstream. When walk_page_range walk a memory map's page tables, it'll skip VM_PFNMAP area, then variable 'next' will to assign to vma-

[PATCH 3.11 56/94] staging: ozwpan: prevent overflow in oz_cdev_write()

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit c2c65cd2e14ada6de44cb527e7f1990bede24e15 upstream. We need to check "count" so we don't overflow the ei->data buffer. Reported-by: Nico Golde Reported-by: Fabian Yamaguc

[PATCH 3.11 73/94] mm: Close races between THP migration and PMD numa clearing

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 3f926ab945b60a5824369d21add7710622a2eac0 upstream. THP migration uses the page lock to guard against parallel allocations but there are cases like this still open Task A

[PATCH 3.11 70/94] mm: Wait for THP migrations to complete during NUMA hinting faults

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 42836f5f8baa33085f547098b74aa98991ee9216 upstream. The locking for migrating THP is unusual. While normal page migration prevents parallel accesses using a migration PTE, THP

[PATCH 3.11 71/94] mm: Prevent parallel splits during THP migration

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 587fe586f44a48f9691001ba6c45b86c8e4ba21f upstream. THP migrations are serialised by the page lock but on its own that does not prevent THP splits. If the page is split during

[PATCH 3.11 72/94] mm: numa: Sanitize task_numa_fault() callsites

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit c61109e34f60f6e85bb43c5a1cd51c0e3db40847 upstream. There are three callers of task_numa_fault(): - do_huge_pmd_numa_page(): Accounts against the current node, not the

[PATCH 3.11 17/94] mac80211: use sta_info_get_bss() for nl80211 tx and client probing

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 03bb7f42765ce596604f03d179f3137d7df05bba upstream. This allows calls for clients in AP_VLANs (e.g. for 4-addr) to succeed Signed-off-by: Felix Fietkau Signed-off-by: Joh

[PATCH 3.11 19/94] mac80211: fix crash if bitrate calculation goes wrong

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit d86aa4f8ca58898ec6a94c0635da20b948171ed7 upstream. If a frame's timestamp is calculated, and the bitrate calculation goes wrong and returns zero, the system will attempt t

[PATCH 3.11 54/94] ASoC: wm_hubs: Add missing break in hp_supply_event()

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 268ff14525edba31da29a12a9dd693cdd6a7872e upstream. Spotted by coverity CID 115170. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartma

[PATCH 3.11 20/94] ath9k: fix tx queue scheduling after channel changes

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit ec30326ea773900da210c495e14cfeb532550ba2 upstream. Otherwise, if queues are full during a scan, tx scheduling does not resume after switching back to the home channel. Si

[PATCH 3.11 11/94] cpufreq / intel_pstate: Fix max_perf_pct on resume

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Dirk Brandewie commit 52e0a509e5d6f902ec26bc2a8bb02b137dc453be upstream. If the system is suspended while max_perf_pct is less than 100 percent or no_turbo set policy->{min,max} will be set in

[PATCH 3.11 69/94] mm: numa: Do not account for a hinting fault if we raced

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 1dd49bfa3465756b3ce72214b58a33e4afb67aa3 upstream. If another task handled a hinting fault in parallel then do not double account for it. Signed-off-by: Mel Gorman Reviewed

[PATCH 3.11 55/94] ASoC: dapm: Fix source list debugfs outputs

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit ff18620c2157671a8ee21ebb8e6a3520ea209b1f upstream. ... due to a copy & paste error. Spotted by coverity CID 710923. Signed-off-by: Takashi Iwai Signed-off-by: Mark Brown

[PATCH 3.11 16/94] mac80211: drop spoofed packets in ad-hoc mode

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 6329b8d917adc077caa60c2447385554130853a3 upstream. If an Ad-Hoc node receives packets with the Cell ID or its own MAC address as source address, it hits a WARN_ON in sta_i

[PATCH 3.11 53/94] ALSA: fix oops in snd_pcm_info() caused by ASoC DPCM

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit a4461f41b94cb52e0141af717dcf4ef6558c8e2e upstream. Unable to handle kernel NULL pointer dereference at virtual address 0008 pgd = d530 [0008] *pgd=0d265831, *pt

[PATCH 3.11 14/94] cgroup: fix to break the while loop in cgroup_attach_task() correctly

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Anjana V Kumar commit ea84753c98a7ac6b74e530b64c444a912b3835ca upstream. Both Anjana and Eunki reported a stall in the while_each_thread loop in cgroup_attach_task(). It's because, when we at

[PATCH 3.11 52/94] ALSA: hda - Add a fixup for ASUS N76VZ

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6fc16e58adf50c0f1e4478538983fb5ff6f453d4 upstream. ASUS N76VZ needs the same fixup as N56VZ for supporting the boost speaker. Bugzilla: https://bugzilla.novell.com/show_bu

[PATCH 3.11 43/94] target: Fix assignment of LUN in tracepoints

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier commit 2053a1db41193c2b5e1f47a91aaba0fd63ba7102 upstream. The unpacked_lun field in the SCSI target tracepoints should be initialized with cmd->orig_fe_lun rather than cmd->se_lu

[PATCH 3.11 51/94] ALSA: hda - Fix unbalanced runtime PM refcount after S3/S4

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit e6bbe73ab044a3d39ddb74e4d9a401cf1d6f upstream. When a machine goes to S3/S4 after power-save is enabled, the runtime PM refcount might be incorrectly decreased because

[PATCH 3.11 15/94] mac80211: correctly close cancelled scans

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit a754055a1296fcbe6f32de3a5eaca6efb2fd1865 upstream. __ieee80211_scan_completed is called from a worker. This means that the following flow is possible. * driver calls

[PATCH 3.11 44/94] target/pscsi: fix return value check

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 58932e96e438cd78f75e765d7b87ef39d3533d15 upstream. In case of error, the function scsi_host_lookup() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return valu

[PATCH 3.11 48/94] scripts/kallsyms: filter symbols not in kernel address space

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit f6537f2f0eba4eba3354e48dbe3047db6d8b6254 upstream. This patch uses CONFIG_PAGE_OFFSET to filter symbols which are not in kernel address space because these symbols are generall

[PATCH 3.11 47/94] parisc: Do not crash 64bit SMP kernels on machines with >= 4GB RAM

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 54e181e073fc1415e41917d725ebdbd7de956455 upstream. Since the beginning of the parisc-linux port, sometimes 64bit SMP kernels were not able to bring up other CPUs than the m

[PATCH 3.11 49/94] ARC: Incorrect mm reference used in vmalloc fault handler

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 9c41f4eeb9d51f3ece20428d35a3ea32cf3b5622 upstream. A vmalloc fault needs to sync up PGD/PTE entry from init_mm to current task's "active_mm". ARC vmalloc fault handler how

[PATCH 3.11 45/94] vhost/scsi: Fix incorrect usage of get_user_pages_fast write parameter

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 60a01f558af9c48b0bb31f303c479e32721add3f upstream. This patch addresses a long-standing bug where the get_user_pages_fast() write parameter used for setting the under

[PATCH 3.11 50/94] ALSA: hda - Add missing initial vmaster hook at build_controls callback

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b63eae0a6c84839275a4638a7baa391be965cd0e upstream. The generic parser has a support of vmaster hook, but this is initialized only in the init callback with the check of the

[PATCH 3.11 41/94] md: avoid deadlock when md_set_badblocks.

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Bian Yu commit 905b0297a9533d7a6ee00a01a990456636877dd6 upstream. When operate harddisk and hit errors, md_set_badblocks is called after scsi_restart_operations which already disabled the irq.

[PATCH 3.11 42/94] md: Fix skipping recovery for read-only arrays.

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Lukasz Dorau commit 61e4947c99c4494336254ec540c50186d186150b upstream. Since: commit 7ceb17e87bde79d285a8b988cfed9eaeebe60b86 md: Allow devices to be re-added to a read-only ar

[PATCH 3.11 46/94] clockevents: Sanitize ticks to nsec conversion

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 97b9410643475d6557d2517c2aff9fd2221141a9 upstream. Marc Kleine-Budde pointed out, that commit 77cc982 "clocksource: use clockevents_config_and_register() where possible"

[PATCH 3.11 40/94] Revert "select: use freezable blocking call"

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 59612d187912750f416fbffe0c00bc0811c54ab5 upstream. This reverts commit 9745cdb36da8 (select: use freezable blocking call) that triggers problems during resume from s

[PATCH 3.11 13/94] HID: wiimote: add LEGO-wiimote VID

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit 86b84167d4e67372376a57ea9955c5d53dae232f upstream. The LEGO-wiimote uses a different VID than the Nintendo ID. The device is technically the same so add the ID. Signed-o

[PATCH 3.11 39/94] Revert "epoll: use freezable blocking call"

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit c511851de162e8ec03d62e7d7feecbdf590d881d upstream. This reverts commit 1c441e921201 (epoll: use freezable blocking call) which is reported to cause user space memory

[PATCH 3.11 29/94] can: flexcan: fix mx28 detection by rearanging OF match table

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit e358784297992b012e8071764d996191dd2b1a54 upstream. The current implemetation of of_match_device() relies that the of_device_id table in the driver is sorted from most

[PATCH 3.11 09/94] x86: Update UV3 hub revision ID

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Russ Anderson commit dd3c9c4b603c664fedc12facf180db0f1794aafe upstream. The UV3 hub revision ID is different than expected. The first revision was supposed to start at 1 but instead will star

[PATCH 3.11 32/94] SCSI: sd: call blk_pm_runtime_init before add_disk

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Lu commit 10c580e4239df5c3344ca00322eca86ab2de880b upstream. Sujit has found a race condition that would make q->nr_pending unbalanced, it occurs as Sujit explained: " sd_probe_async()

[PATCH 3.11 33/94] ecryptfs: Fix memory leakage in keystore.c

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: "Geyslan G. Bem" commit 3edc8376c06133e3386265a824869cad03a4efd4 upstream. In 'decrypt_pki_encrypted_session_key' function: Initializes 'payload' pointer and releases it on exit. Signed-off-

[PATCH 3.11 28/94] can: at91-can: fix device to driver data mapping for platform devices

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Marc Kleine-Budde commit 5abbeea553c8260ed4e2ac4aae962aff800b6c6d upstream. In commit: 3078cde7 can: at91_can: add dt support device tree support was added to the at91_can driver. In thi

[PATCH 3.11 34/94] eCryptfs: fix 32 bit corruption issue

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit 43b7c6c6a4e3916edd186ceb61be0c67d1e0969e upstream. Shifting page->index on 32 bit systems was overflowing, causing data corruption of > 4GB files. Fix this by casting it

[PATCH 3.11 36/94] raid5: avoid finding "discard" stripe

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit d47648fcf0611812286f68131b40251c6fa54f5e upstream. SCSI discard will damage discard stripe bio setting, eg, some fields are changed. If the stripe is reused very soon, we hav

[PATCH 3.11 35/94] raid5: set bio bi_vcnt 0 for discard request

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 37c61ff31e9b5e3fcf3cc6579f5c68f6ad40c4b1 upstream. SCSI layer will add new payload for discard request. If two bios are merged to one, the second bio has bi_vcnt 1 which is s

[PATCH 3.11 31/94] SCSI: BusLogic: Fix an oops when intializing multimaster adapter

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Khalid Aziz commit 6541932ea2f7de0b0c5203decf666b143ad5fa33 upstream. This fixes an oops caused by buslogic driver when initializing a BusLogic MultiMaster adapter. Initialization code used sc

[PATCH 3.11 38/94] Revert "rt2x00pci: Use PCI MSIs whenever possible"

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Stanislaw Gruszka commit dfb6b7c109a7f98d324a759599d1b4616f02c79f upstream. This reverts commit 9483f40d8d01918b399b4e24d0cdb0afffeb. Some devices stop to connect with above commit, see:

[PATCH 3.11 37/94] libata: make ata_eh_qc_retry() bump scmd->allowed on bogus failures

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Gwendal Grignou commit f13e220161e738c2710b9904dcb3cf8bb0bcce61 upstream. libata EH decrements scmd->retries when the command failed for reasons unrelated to the command itself so that, for ex

[PATCH 3.10 43/74] staging: ozwpan: prevent overflow in oz_cdev_write()

2013-11-08 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit c2c65cd2e14ada6de44cb527e7f1990bede24e15 upstream. We need to check "count" so we don't overflow the ei->data buffer. Reported-by: Nico Golde Reported-by: Fabian Yamaguc

[PATCH 3.11 25/94] iwlwifi: mvm: call ieee80211_scan_completed when needed

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 5a3e9f7f8c8768b5f7df81100c684e4cd00a6eb5 upstream. When RFKill cuts short a scan, mac80211 cancels the scan. This is done by sending a host command to the firmware, bu

[PATCH 3.11 23/94] mwifiex: fix SDIO interrupt lost issue

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar commit 453b0c3f6910672f79da354077af728d92f95c5b upstream. 601216e "mwifiex: process RX packets in SDIO IRQ thread directly" introduced a command timeout issue which can be rep

[PATCH 3.11 02/94] usb-storage: add quirk for mandatory READ_CAPACITY_16

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 32c37fc30c52508711ea6a108cfd5855b8a07176 upstream. Some USB drive enclosures do not correctly report an overflow condition if they hold a drive with a capacity over 2TB an

[PATCH 3.11 26/94] iwlwifi: pcie: add SKUs for 6000, 6005 and 6235 series

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 08a5dd3842f2ac61c6d69661d2d96022df8ae359 upstream. Add some new PCI IDs to the table for 6000, 6005 and 6235 series. Signed-off-by: Emmanuel Grumbach Signed-off-by:

[PATCH 3.11 06/94] USB: serial: ftdi_sio: add id for Z3X Box device

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Алексей Крамаренко commit e1466ad5b1aeda303f9282463d55798d2eda218c upstream. Custom VID/PID for Z3X Box device, popular tool for cellphone flashing. Signed-off-by: Alexey E. Kramarenko Signe

[PATCH 3.11 01/94] usb: musb: start musb on the udc side, too

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 001dd84a92a25f8f2bad7d26df8bdb0362302c07 upstream. I have am335x-evm with one port running in OTG mode. Since commit fe4cb09 ("usb: musb: gadget: remove hcd in

[PATCH 3.10 50/74] uio: provide vm access to UIO_MEM_PHYS maps

2013-11-08 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Uwe Kleine-König commit 7294151d0592e0ff48c61fca9fd7c93d613134da upstream. This makes it possible to let gdb access mappings of the process that is being debugged. uio_mmap_logical was moved

[PATCH 3.11 05/94] USB: quirks: add touchscreen that is dazzeled by remote wakeup

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 614ced91fc6fbb5a1cdd12f0f1b6c9197d9f1350 upstream. The device descriptors are messed up after remote wakeup Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartma

[PATCH 3.11 21/94] cfg80211: use the correct macro to check for active monitor support

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit 180032973ee97daddf5c9d733e5b425b108f8679 upstream. Use MONITOR_FLAG_ACTIVE, which is a flag mask, instead of NL80211_MNTR_FLAG_ACTIVE, which is a flag index, when checkin

[PATCH 3.11 12/94] bcache: Fixed incorrect order of arguments to bio_alloc_bioset()

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Kent Overstreet commit d4eddd42f592a0cf06818fae694a3d271f842e4d upstream. Signed-off-by: Kent Overstreet Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- drivers/md/bca

[PATCH 3.11 08/94] cifs: Fix inability to write files >2GB to SMB2/3 shares

2013-11-08 Thread Greg Kroah-Hartman
3.11-stable review patch. If anyone has any objections, please let me know. -- From: Jan Klos commit 2f6c9479633780ba4a3484bba7eba5a721a5cf20 upstream. When connecting to SMB2/3 shares, maximum file size is set to non-LFS maximum in superblock. This is due to cap_large_files

<    1   2   3   4   5   6   7   >