[ 31/64] ata_piix: Fix DVD not dectected at some Haswell platforms

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Youquan Song commit b55f84e2d527182e7c611d466cd0bb6ddce201de upstream. There is a quirk patch 5e5a4f5d5a08c9c504fe956391ac3dae2c66556d "ata_piix: make DVD Drive recognisable on systems with Int

[ 43/64] crypto: gcm - fix assumption that assoc has one segment

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit d3dde52209ab571e4e2ec26c66f85ad1355f7475 upstream. rfc4543(gcm(*)) code for GMAC assumes that assoc scatterlist always contains only one segment and only makes use of thi

[ 34/64] mwifiex: limit channel number not to overflow memory

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Stone Piao commit 901ceba4e81e9dd6b4a3c4c37ee22000a6c5c65f upstream. Limit the channel number in scan request, or the driver scan config structure memory will be overflowed. Signed-off-by: Sto

[ 44/64] drm/mgag200: Index 24 in extended CRTC registers is 24 in hex, not decimal.

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Christopher Harvey commit 1812a3db0874be1d1524086da9e84397b800f546 upstream. This change properly enables the "requester" in G200ER cards that is responsible for getting pixels out of memory an

[ 45/64] block: avoid using uninitialized value in from queue_var_store

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c678ef5286ddb5cf70384ad5af286b0afc9b73e1 upstream. As found by gcc-4.8, the QUEUE_SYSFS_BIT_FNS macro creates functions that use a value generated by queue_var_store indepe

[ 46/64] SUNRPC: Remove extra xprt_put()

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit a58e0be6f6b3eb2079b0b8fedc9df6fa86869f1e upstream. While testing error cases where rpc_new_client() fails, I saw some oopses. If rpc_new_client() fails, it already invokes x

[ 48/64] NFSv4/4.1: Fix bugs in nfs4[01]_walk_client_list

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 7b1f1fd1842e6ede25183c267ae733a7f67f00bc upstream. It is unsafe to use list_for_each_entry_safe() here, because when we drop the nn->nfs_client_lock, we pin the _current_

[ 47/64] NFSv4: Fix a memory leak in nfs4_discover_server_trunking

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit b193d59a4863ea670872d76dc99231ddeb598625 upstream. When we assign a new rpc_client to clp->cl_rpcclient, we need to destroy the old one. Signed-off-by: Trond Myklebust

[ 42/64] crypto: ux500 - add missing comma

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit d47cbd5bcee7c7a08fc0283dda465375fa1b1fda upstream. Commit 4f31f5b19eb0418a847b989abc9ac22af1991fe2 "PM / crypto / ux500: Use struct dev_pm_ops for power management" add a n

[ 53/64] msi-wmi: Fix memory leak

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Maxim Mikityanskiy commit 51c94491c82c3d9029f6e87a1a153db321d88e35 upstream. Fix memory leak - don't forget to kfree ACPI object when returning from msi_wmi_notify() after suppressing key event

[ 41/64] spinlocks and preemption points need to be at least compiler barriers

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 386afc91144b36b42117b0092893f15bc8798a80 upstream. In UP and non-preempt respectively, the spinlocks and preemption disable/enable points are stubbed out entirely, because

[ 54/64] cpufreq: exynos: Get booting freq value in exynos_cpufreq_init

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jonghwan Choi commit 6e45eb12fd1c741d556bf264ee98853b5f3104e5 upstream. Boot_freq is for saving booting freq. But exynos_cpufreq_cpu_init is called in hotplug. If boot_freq is existed in exynos

[ 55/64] ARM: EXYNOS: Fix crash on soft reset on EXYNOS5440

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Abraham commit 60db7e5f9c9a25a7a9b01007e6e3f5a93bc16a3a upstream. The soft-reset control register is located in the XMU controller space. Map this controller space before writing to the

[ 56/64] drm/i915: add quirk to invert brightness on eMachines G725

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 160320879830e469e26062c18f75236822ba upstream. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59628 Reported-by: Roland Gruber Signed-off-by: Jani Nikula Signed

[ 50/64] x86: Fix rebuild with EFI_STUB enabled

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 918708245e92941df16a634dc201b407d12bcd91 upstream. eboot.o and efi_stub_$(BITS).o didn't get added to "targets", and hence their .cmd files don't get included by the build ma

[ 57/64] drm/i915: add quirk to invert brightness on eMachines e725

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 01e3a8feb40e54b962a20fa7eb595c5efef5e109 upstream. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=31522#c35 [Note: There are more than one broken setups in the bug. Th

[ 49/64] drm/i915: Fix build failure

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Lauri Kasanen commit 27b7c63a7c509d797c151e95a641e1d94d94bbd9 upstream. ERROR: "__build_bug_on_failed" [drivers/gpu/drm/i915/i915.ko] undefined! Originally reported at http://www.gossamer-thr

[ 40/64] remoteproc: fix FW_CONFIG typo

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Robert Tivy commit c7426bce5933d16b492a34e42ae77e26fceddff6 upstream. Fix obvious typo introduced in commit e121aefa7d9f10eee5cf26ed47129237a05d940b ("remoteproc: fix missing CONFIG_FW_LOADER c

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-10 Thread Stephen Warren
On 04/05/2013 01:37 AM, Thierry Reding wrote: > On Thu, Apr 04, 2013 at 03:28:54PM -0600, Stephen Warren wrote: > [...] >>> diff --git >>> a/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt >>> b/Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt >> >>> >>> +Required prope

[ 59/64] r8169: fix auto speed down issue

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: hayeswang commit e2409d83434d77874b461b78af6a19cd6e6a1280 upstream. It would cause no link after suspending or shutdowning when the nic changes the speed to 10M and connects to a link partner w

[ 60/64] vfio-pci: Fix possible integer overflow

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 904c680c7bf016a8619a045850937427f8d7368c upstream. The VFIO_DEVICE_SET_IRQS ioctl takes a start and count parameter, both of which are unsigned. We attempt to bounds che

[ 01/29] ASoC: dma-sh7760: Fix compile error

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 417a1178f1bf3cdc606376b3ded3a22489fbb3eb upstream. The dma-sh7760 currently fails with the following compile error: sound/soc/sh/dma-sh7760.c:346:2: error: unk

[ 61/64] NFSv4: Doh! Typo in the fix to nfs41_walk_client_list

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit eb04e0ac198cec3bab407ad220438dfa65c19c67 upstream. Make sure that we set the status to 0 on success. Missed in testing because it never appears when doing multiple mounts

[ 51/64] Revert "PCI/ACPI: Request _OSC control before scanning PCI root bus"

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit b8178f130e25c1bdac1c33e0996f1ff6e20ec08e upstream. This reverts commit 8c33f51df406e1a1f7fa4e9b244845b7ebd61fa6. Conflicts: drivers/acpi/pci_root.c This commit br

[ 02/29] regmap: cache Fix regcache-rbtree sync

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 8abac3ba51b5525354e9b2ec0eed1c9e95c905d9 upstream. The last register block, which falls into the specified range, is not handled correctly. The formula which calculate

[ 04/29] spi/mpc512x-psc: optionally keep PSC SS asserted across xfer segmensts

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Anatolij Gustschin commit 1ad849aee5f53353ed88d9cd3d68a51b03a7d44f upstream. Some SPI slave devices require asserted chip select signal across multiple transfer segments of an SPI message. Curr

[ 00/29] 3.4.40-stable review

2013-04-10 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.40 release. There are 29 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Apr 12 22:47:13 UTC 2013. Anything receive

[ 05/29] UBIFS: make space fixup work in the remount case

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 67e753ca41782913d805ff4a8a2b0f60b26b7915 upstream. The UBIFS space fixup is a useful feature which allows to fixup the "broken" flash space at the time of the first moun

Re: [PATCH] Do not force shutdown/reboot to boot cpu.

2013-04-10 Thread Russ Anderson
On Wed, Apr 10, 2013 at 06:59:34PM +0200, Ingo Molnar wrote: > * Russ Anderson wrote: > > > Yes, I have a test patch that replaces for_each_online_cpu(cpu) with a cpu > > bitmask in disable_nonboot_cpus(). The lower level routines already take a > > bitmask. It allows __stop_machine() to be c

[ 07/29] ALSA: hda - bug fix on return value when getting HDMI ELD info

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Mengdong Lin commit 2ef5692efad330b67a234e2c49edad38538751e7 upstream. In function snd_hdmi_get_eld(), the variable 'ret' should be initialized to 0. Otherwise it will be returned uninitialized

[ 03/29] spi/s3c64xx: modified error interrupt handling and init

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Girish K S commit 375981f2e14868be16cafbffd34a4f16a6ee01c6 upstream. The status of the interrupt is available in the status register, so reading the clear pending register and writing back the

[ 09/29] ALSA: hda - fix typo in proc output

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit aeb3a97222832e5457c4b72d72235098ce4bfe8d upstream. Rename "Digitial In" to "Digital In". This function is only used for proc output, so should not cause any problems to

[ 06/29] reiserfs: Fix warning and inode leak when deleting inode with xattrs

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 35e5cbc0af240778e61113286c019837e06aeec6 upstream. After commit 21d8a15a (lookup_one_len: don't accept . and ..) reiserfs started failing to delete xattrs from inode. This was d

[ 10/29] EISA/PCI: Init EISA early, before PNP

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit c5fb301ae83bec6892e54984e6ec765c47df8e10 upstream. Matthew reported kernels fail the pci_eisa probe and are later successful with the virtual_eisa_root_init force probe withou

[ 12/29] libata: Use integer return value for atapi_command_packet_set

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Shan Hai commit d8668fcb0b257d9fdcfbe5c172a99b8d85e1cd82 upstream. The function returns type of ATAPI drives so it should return integer value. The commit 4dce8ba94c7 (libata: Use 'bool' return

[ 08/29] ALSA: hda - Enabling Realtek ALC 671 codec

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Rainer Koenig commit 1d87caa69c04008e09f5ff47b5e6acb6116febc7 upstream. * Added the device ID to the modalias list and assinged ALC662 patches for it * Added 4 port support for the device ID 06

[ 13/29] libata: Set max sector to 65535 for Slimtype DVD A DS8A8SH drive

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Shan Hai commit a32450e127fc6e5ca6d958ceb3cfea4d30a00846 upstream. The Slimtype DVD A DS8A8SH drive locks up when max sector is smaller than 65535, and the blow backtrace is observed on lockin

[ 11/29] EISA/PCI: Fix bus res reference

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit 2cfda637e29ce9e3df31b59f64516b2e571cc985 upstream. Matthew found that 3.8.3 is having problems with an old (ancient) PCI-to-EISA bridge, the Intel 82375. It worked with the 3.

Re: [ 41/64] spinlocks and preemption points need to be at least compiler barriers

2013-04-10 Thread Greg Kroah-Hartman
On Wed, Apr 10, 2013 at 03:54:44PM -0700, Linus Torvalds wrote: > On Wed, Apr 10, 2013 at 3:46 PM, Greg Kroah-Hartman > wrote: > > > > Note for stable: use discretion when/if applying this. As mentioned, > > this bug may never have actually bitten anybody, and gcc may never have > > done the requ

[ 15/29] ata_piix: Fix DVD not dectected at some Haswell platforms

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Youquan Song commit b55f84e2d527182e7c611d466cd0bb6ddce201de upstream. There is a quirk patch 5e5a4f5d5a08c9c504fe956391ac3dae2c66556d "ata_piix: make DVD Drive recognisable on systems with Int

[ 14/29] alpha: Add irongate_io to PCI bus resources

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jay Estabrook commit aa8b4be3ac049c8b1df2a87e4d1d902ccfc1f7a9 upstream. Fixes a NULL pointer dereference at boot on UP1500. Reviewed-and-Tested-by: Matt Turner Signed-off-by: Jay Estabrook S

[ 20/29] spinlocks and preemption points need to be at least compiler barriers

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 386afc91144b36b42117b0092893f15bc8798a80 upstream. In UP and non-preempt respectively, the spinlocks and preemption disable/enable points are stubbed out entirely, because

Re: [char-misc-next 1/3] mei: nfc: Initial nfc implementation

2013-04-10 Thread Greg KH
On Thu, Apr 11, 2013 at 12:52:05AM +0200, Samuel Ortiz wrote: > > If someone seriously wants to use /dev/mei in that way, they can easily > > provide the header file themselves, or patch the kernel in any way > > necessary. > I'm fine with moving nfc.h back to drivers/misc/mei/ Great, then please

[ 21/29] crypto: gcm - fix assumption that assoc has one segment

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit d3dde52209ab571e4e2ec26c66f85ad1355f7475 upstream. rfc4543(gcm(*)) code for GMAC assumes that assoc scatterlist always contains only one segment and only makes use of thi

[ 18/29] x86: remove the x32 syscall bitmask from syscall_get_nr()

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit 8b4b9f27e57584f3d90e0bb84cf800ad81cfe3a1 upstream. Commit fca460f95e928bae373daa8295877b6905bc62b8 simplified the x32 implementation by creating a syscall bitmask, equal to 0x

[ 23/29] x86: Fix rebuild with EFI_STUB enabled

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 918708245e92941df16a634dc201b407d12bcd91 upstream. eboot.o and efi_stub_$(BITS).o didn't get added to "targets", and hence their .cmd files don't get included by the build ma

[ 22/29] block: avoid using uninitialized value in from queue_var_store

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c678ef5286ddb5cf70384ad5af286b0afc9b73e1 upstream. As found by gcc-4.8, the QUEUE_SYSFS_BIT_FNS macro creates functions that use a value generated by queue_var_store indepe

[ 24/29] thermal: return an error on failure to register thermal class

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit da28d966f6aa942ae836d09729f76a1647932309 upstream. The return code from the registration of the thermal class is used to unallocate resources, but this failure isn't p

[ 16/29] ftrace: Consistently restore trace function on sysctl enabling

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kiszka commit 5000c418840b309251c5887f0b56503aae30f84c upstream. If we reenable ftrace via syctl, we currently set ftrace_trace_function based on the previous simplistic algorithm. This is

[ 25/29] panic: fix a possible deadlock in panic()

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Vikram Mulukutla commit 190320c3b6640d4104650f55ff69611e050ea06b upstream. panic_lock is meant to ensure that panic processing takes place only on one cpu; if any of the other cpus encounter a

Re: [PATCH] checkpatch: Warn on comparisons to true and false

2013-04-10 Thread Andrew Morton
On Tue, 09 Apr 2013 20:17:14 -0700 Joe Perches wrote: > Comparisons of A to true and false are better written > as A and !A. > > Bleat a message on use. hm. I'm counting around 1,100 instances of "== true" and "== false". That's a lot of people to shout at. Is it really worthwhile? "foo==tr

[ 26/29] mm: prevent mmap_cache race in find_vma()

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Stancek commit b6a9b7f6b1f21735a7456d534dc0e68e61359d2c upstream. find_vma() can be called by multiple threads with read lock held on mm->mmap_sem and any of them can update mm->mmap_cache.

[ 17/29] powerpc: pSeries_lpar_hpte_remove fails from Adjunct partition being performed before the ANDCOND test

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Wolf commit 9fb2640159f9d4f5a2a9d60e490482d4cbecafdb upstream. Some versions of pHyp will perform the adjunct partition test before the ANDCOND test. The result of this is that H_RESOU

[ 19/29] hwspinlock: fix __hwspin_lock_request error path

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Li Fei commit c10b90d85a5126d25c89cbaa50dc9fdd1c4d001a upstream. Even in failed case of pm_runtime_get_sync, the usage_count is incremented. In order to keep the usage_count with correct value

[ 27/29] Revert "mwifiex: cancel cmd timer and free curr_cmd in shutdown process

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- revert commit b9f1f48ce20a1b923429c216669d03b5a900a8cf which is commit 084c7189acb3f969c855536166042e27f5dd703f upstream. It shouldn't have been applied to the 3.4-stable tree. Reported-by: Ben Hutchi

[ 05/19] ALSA: hda - fix typo in proc output

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit aeb3a97222832e5457c4b72d72235098ce4bfe8d upstream. Rename "Digitial In" to "Digital In". This function is only used for proc output, so should not cause any problems to

[ 02/19] UBIFS: make space fixup work in the remount case

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 67e753ca41782913d805ff4a8a2b0f60b26b7915 upstream. The UBIFS space fixup is a useful feature which allows to fixup the "broken" flash space at the time of the first moun

[ 06/19] ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Todd Poynor Replace C division operators with div64_u64 for divides introduced in: commit 503f4bdcc078e7abee273a85ce322de81b18a224 ext4: use atomic64_t for the per-flexbg free_clusters count Sp

[ 07/19] libata: Use integer return value for atapi_command_packet_set

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Shan Hai commit d8668fcb0b257d9fdcfbe5c172a99b8d85e1cd82 upstream. The function returns type of ATAPI drives so it should return integer value. The commit 4dce8ba94c7 (libata: Use 'bool' return

[ 01/19] ASoC: dma-sh7760: Fix compile error

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 417a1178f1bf3cdc606376b3ded3a22489fbb3eb upstream. The dma-sh7760 currently fails with the following compile error: sound/soc/sh/dma-sh7760.c:346:2: error: unk

[ 03/19] reiserfs: Fix warning and inode leak when deleting inode with xattrs

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 35e5cbc0af240778e61113286c019837e06aeec6 upstream. After commit 21d8a15a (lookup_one_len: don't accept . and ..) reiserfs started failing to delete xattrs from inode. This was d

Re: [ 41/64] spinlocks and preemption points need to be at least compiler barriers

2013-04-10 Thread Linus Torvalds
On Wed, Apr 10, 2013 at 3:46 PM, Greg Kroah-Hartman wrote: > > Note for stable: use discretion when/if applying this. As mentioned, > this bug may never have actually bitten anybody, and gcc may never have > done the required code motion for it to possibly ever trigger in > practice. No objectio

[ 14/19] block: avoid using uninitialized value in from queue_var_store

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit c678ef5286ddb5cf70384ad5af286b0afc9b73e1 upstream. As found by gcc-4.8, the QUEUE_SYSFS_BIT_FNS macro creates functions that use a value generated by queue_var_store indepe

[ 04/19] ALSA: hda - bug fix on return value when getting HDMI ELD info

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Mengdong Lin commit 2ef5692efad330b67a234e2c49edad38538751e7 upstream. In function snd_hdmi_get_eld(), the variable 'ret' should be initialized to 0. Otherwise it will be returned uninitialized

[ 00/19] 3.0.73-stable review

2013-04-10 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.0.73 release. There are 19 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Apr 12 22:50:02 UTC 2013. Anything receive

[ 08/19] libata: Set max sector to 65535 for Slimtype DVD A DS8A8SH drive

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Shan Hai commit a32450e127fc6e5ca6d958ceb3cfea4d30a00846 upstream. The Slimtype DVD A DS8A8SH drive locks up when max sector is smaller than 65535, and the blow backtrace is observed on lockin

[ 09/19] alpha: Add irongate_io to PCI bus resources

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jay Estabrook commit aa8b4be3ac049c8b1df2a87e4d1d902ccfc1f7a9 upstream. Fixes a NULL pointer dereference at boot on UP1500. Reviewed-and-Tested-by: Matt Turner Signed-off-by: Jay Estabrook S

[ 13/19] crypto: gcm - fix assumption that assoc has one segment

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit d3dde52209ab571e4e2ec26c66f85ad1355f7475 upstream. rfc4543(gcm(*)) code for GMAC assumes that assoc scatterlist always contains only one segment and only makes use of thi

[ 12/19] spinlocks and preemption points need to be at least compiler barriers

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 386afc91144b36b42117b0092893f15bc8798a80 upstream. In UP and non-preempt respectively, the spinlocks and preemption disable/enable points are stubbed out entirely, because

[ 11/19] powerpc: pSeries_lpar_hpte_remove fails from Adjunct partition being performed before the ANDCOND test

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Michael Wolf commit 9fb2640159f9d4f5a2a9d60e490482d4cbecafdb upstream. Some versions of pHyp will perform the adjunct partition test before the ANDCOND test. The result of this is that H_RESOU

[ 16/19] mm: prevent mmap_cache race in find_vma()

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jan Stancek commit b6a9b7f6b1f21735a7456d534dc0e68e61359d2c upstream. find_vma() can be called by multiple threads with read lock held on mm->mmap_sem and any of them can update mm->mmap_cache.

Re: [char-misc-next 1/3] mei: nfc: Initial nfc implementation

2013-04-10 Thread Samuel Ortiz
Hi Arnd, On Thu, Apr 11, 2013 at 12:29:38AM +0200, Arnd Bergmann wrote: > On Wednesday 10 April 2013, Samuel Ortiz wrote: > > > > That works fine with the typical case where your pn544 is directly > > > > accessible > > > > through i2c. But if it's sitting behind the ME, you will need to send > >

[ 15/19] thermal: return an error on failure to register thermal class

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit da28d966f6aa942ae836d09729f76a1647932309 upstream. The return code from the registration of the thermal class is used to unallocate resources, but this failure isn't p

[ 17/19] x86-32, mm: Rip out x86_32 NUMA remapping code

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Dave Hansen commit f03574f2d5b2d6229dcdf2d322848065f72953c7 upstream. This code was an optimization for 32-bit NUMA systems. It has probably been the cause of a number of subtle bugs over the

[ 10/19] ftrace: Consistently restore trace function on sysctl enabling

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kiszka commit 5000c418840b309251c5887f0b56503aae30f84c upstream. If we reenable ftrace via syctl, we currently set ftrace_trace_function based on the previous simplistic algorithm. This is

[ 19/19] rt2x00: rt2x00pci_regbusy_read() - only print register access failure once

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- From: Tim Gardner commit 83589b30f1e1dc9898986293c9336b8ce1705dec upstream. BugLink: http://bugs.launchpad.net/bugs/1128840 It appears that when this register read fails it never recovers, so I thin

[ 18/19] Revert "mwifiex: cancel cmd timer and free curr_cmd in shutdown process

2013-04-10 Thread Greg Kroah-Hartman
3.0-stable review patch. If anyone has any objections, please let me know. -- revert commit b9f1f48ce20a1b923429c216669d03b5a900a8cf which is commit 084c7189acb3f969c855536166042e27f5dd703f upstream. It shouldn't have been applied to the 3.0-stable tree. Reported-by: Ben Hutchi

[ 28/29] can: gw: use kmem_cache_free() instead of kfree()

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 3480a2125923e4b7a56d79efc76743089bf273fc upstream. Memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Signed-off-by: Wei Yongjun A

[ 29/29] rt2x00: rt2x00pci_regbusy_read() - only print register access failure once

2013-04-10 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tim Gardner commit 83589b30f1e1dc9898986293c9336b8ce1705dec upstream. BugLink: http://bugs.launchpad.net/bugs/1128840 It appears that when this register read fails it never recovers, so I thin

Re: NULL pointer due to malformed bcache bio

2013-04-10 Thread Kent Overstreet
On Wed, Apr 10, 2013 at 04:54:40PM -0400, Mike Snitzer wrote: > Hey, > > So DM core clearly needs to be more defensive about the possibility for > a NULL return from bio_alloc_bioset() given I'm hitting a NULL pointer > in DM's alloc_tio() because nr_iovecs=512. bio_alloc_bioset()'s call to > bve

[GIT PATCH] char/misc fixes for 3.9-rc6

2013-04-10 Thread Greg KH
The following changes since commit 07961ac7c0ee8b546658717034fe692fd12eefa9: Linux 3.9-rc5 (2013-03-31 15:12:43 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.9-rc6 for you to fetch changes up to 6d4f0139d

[GIT PATCH] TTY/Serial fixes for 3.9-rc6

2013-04-10 Thread Greg KH
The following changes since commit 07961ac7c0ee8b546658717034fe692fd12eefa9: Linux 3.9-rc5 (2013-03-31 15:12:43 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.9-rc6 for you to fetch changes up to 1b581f173992cded311f81

[ 62/64] can: gw: use kmem_cache_free() instead of kfree()

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 3480a2125923e4b7a56d79efc76743089bf273fc upstream. Memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Signed-off-by: Wei Yongjun A

[ 63/64] mwifiex: complete last internal scan

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Bing Zhao commit 21de979ecfc7b7f9442f8aea9a54b3ab670d0151 upstream. We are waiting on first scan command of internal scan request before association, so we should complete on last internal scan

[ 64/64] rt2x00: rt2x00pci_regbusy_read() - only print register access failure once

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Tim Gardner commit 83589b30f1e1dc9898986293c9336b8ce1705dec upstream. BugLink: http://bugs.launchpad.net/bugs/1128840 It appears that when this register read fails it never recovers, so I thin

[ 58/64] drm/i915: add quirk to invert brightness on Packard Bell NCL20

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Jani Nikula commit 5559ecadad5a73b27f863e92f4b4f369501dce6f upstream. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44156 Reported-by: Alan Zimmerman Signed-off-by: Jani Nikula Signe

[ 52/64] thermal: return an error on failure to register thermal class

2013-04-10 Thread Greg Kroah-Hartman
3.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit da28d966f6aa942ae836d09729f76a1647932309 upstream. The return code from the registration of the thermal class is used to unallocate resources, but this failure isn't p

Re: [PATCH v3 07/12] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-04-10 Thread Stephen Warren
On 04/05/2013 12:03 AM, Thierry Reding wrote: > On Thu, Apr 04, 2013 at 03:30:01PM -0600, Stephen Warren wrote: >> On 04/04/2013 03:28 PM, Stephen Warren wrote: >>> On 04/03/2013 08:45 AM, Thierry Reding wrote: Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host direct

Re: + fix-hugetlb-memory-check-in-vma_dump_size.patch added to -mm tree

2013-04-10 Thread KOSAKI Motohiro
> Signed-off-by: Naoya Horiguchi > Reviewed-by: Rik van Riel > Acked-by: Michal Hocko > Reviewed-by: HATAYAMA Daisuke > Acked-by: KOSAKI Motohiro > Acked-by: David Rientjes > Cc: [2.6.34+] Not correct. It's 3.7 materials. See Michal or my comments. cut-n-paste here. >Just for the record

[PATCH] ACPI / PM: Expose lists of device wakeup power resources to user space

2013-04-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Commit 18a3870 (ACPI / PM: Expose lists of device power resources to user space) exposed the lists of ACPI power resources associated with power states of ACPI devices, but it didn't expose the lists of ACPI wakeup power resources, which also is necessary to get the full p

Re: [char-misc-next 1/3] mei: nfc: Initial nfc implementation

2013-04-10 Thread Arnd Bergmann
On Wednesday 10 April 2013, Samuel Ortiz wrote: > > > That works fine with the typical case where your pn544 is directly > > > accessible > > > through i2c. But if it's sitting behind the ME, you will need to send > > > commands exported through this file to fetch the vendor and radio IDs, but > >

Re: [PATCH v2 6/7] staging: android: binder: fix alignment issues

2013-04-10 Thread Arve Hjønnevåg
On Wed, Apr 10, 2013 at 9:39 AM, Serban Constantinescu wrote: > On 10/04/13 00:58, Arve Hjønnevåg wrote: >> >> On Tue, Apr 9, 2013 at 3:00 AM, Serban Constantinescu >> wrote: >>> >>> The Android userspace aligns the data written to the binder buffers to >>> 4bytes. Thus for 32bit platforms or 64b

Re: [PATCH] Do not force shutdown/reboot to boot cpu.

2013-04-10 Thread Russ Anderson
On Wed, Apr 10, 2013 at 10:29:12AM -0500, Russ Anderson wrote: > On Wed, Apr 10, 2013 at 08:10:05AM -0700, Linus Torvalds wrote: > > > > Yeah, we've had issues with ACPI in the past, so I do think we should > > always reboot using the BP. Even if it almost certainly works on 99+% > > of all machin

Re: [PATCH 1/2] ARM: config: tegra: enable T114 SPI

2013-04-10 Thread Stephen Warren
On 04/10/2013 05:48 AM, Laxman Dewangan wrote: > Nvidia Tegra114 has the new spi controller whose driver > is not compatible with older SoCs. The new driver is added > for Tegra114 spi controller. These 2, and the other 2 KBC patches you posted, all look reasonable. They'll have to wait until 3.11

Re: [PATCH] gpio / ACPI: Handle ACPI events in accordance with the spec

2013-04-10 Thread Rafael J. Wysocki
On Wednesday, April 10, 2013 11:06:48 PM Linus Walleij wrote: > On Tue, Apr 9, 2013 at 3:57 PM, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > > > Commit 0d1c28a (gpiolib-acpi: Add ACPI5 event model support to gpio.) > > that added support for ACPI events signalled through GPIO inter

Re: [PATCH 0/10] Reduce system disruption due to kswapd V2

2013-04-10 Thread dormando
> On Tue, Apr 09, 2013 at 05:27:18PM +, Christoph Lameter wrote: > > One additional measure that may be useful is to make kswapd prefer one > > specific processor on a socket. Two benefits arise from that: > > > > 1. Better use of cpu caches and therefore higher speed, less > > serialization. >

[PATCH][GIT PULL] tracing: Fix double free when function profile init failed

2013-04-10 Thread Steven Rostedt
Linus, Namhyung Kim fixed a long standing bug that can cause a kernel panic. If the function profiler fails to allocate memory for everything, it will do a double free on the same pointer which can cause a panic. Please pull the latest trace-fixes-3.9-rc-v2 tree, which can be found at: git://

Re: [PATCH v3 2/3] resource: Add release_mem_region_adjustable()

2013-04-10 Thread Andrew Morton
On Wed, 10 Apr 2013 15:08:29 -0700 (PDT) David Rientjes wrote: > On Wed, 10 Apr 2013, Toshi Kani wrote: > > > > I'll switch it to GFP_ATOMIC. Which is horridly lame but the > > > allocation is small and alternatives are unobvious. > > > > Great! Again, thanks for the update! > > release_mem

Re: [stable 3.0 revert request] x86-32, mm: Remove reference to resume_map_numa_kva()

2013-04-10 Thread Greg KH
On Fri, Apr 05, 2013 at 01:42:46PM +0200, Jiri Slaby wrote: > Hi, > > in 3.0.67 there is this commit: > commit dbb694e810c87e7e1760527a783437f26ac5a547 > Author: H. Peter Anvin > Date: Thu Jan 31 13:53:10 2013 -0800 > > x86-32, mm: Remove reference to resume_map_numa_kva() > > commit

[ANNOUNCE] util-linux v2.23-rc2

2013-04-10 Thread Karel Zak
The util-linux release v2.23-rc2 is available at ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.23 Feedback and bug reports, as always, are welcomed. Karel Util-linux 2.23 Release Notes = The crypt

<    1   2   3   4   5   6   7   8   9   >