[3.5.y.z extended stable] Linux 3.5.7.29 stable review

2014-01-13 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.5.7.29 stable kernel. This version contains 96 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=linux-3.5.y-review;a=

[PATCH 3.5 15/96] KVM: IOMMU: hva align mapping page size

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Greg Edwards commit 27ef63c7e97d1e585051c03f8d44cc887f34 upstream. When determining the page size we could use to map with the IOMMU, the page size should also be aligned with the hv

[PATCH 3.5 22/96] ceph: wake up 'safe' waiters when unregistering request

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: "Yan, Zheng" commit fc55d2c9448b34218ca58733a6f51fbede09575b upstream. We also need to wake up 'safe' waiters if error occurs or request aborted. Otherwise sync(2)/fsync(2) may hang fore

[PATCH 3.5 26/96] ext4: check for overlapping extents in ext4_valid_extent_entries()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Eryu Guan commit 5946d089379a35dda0e531710b48fca05446a196 upstream. A corrupted ext4 may have out of order leaf extents, i.e. extent: lblk 0--1023, len 1024, pblk 9217, flags: LEAF UNIN

[PATCH 3.5 30/96] scripts/link-vmlinux.sh: only filter kernel symbols for arm

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 7122c3e9154b5d9a7422f68f02d8acf050fad2b0 upstream. Actually CONFIG_PAGE_OFFSET isn't same with PAGE_OFFSET, so it isn't easy to figue out PAGE_OFFSET defined in header fi

[PATCH 3.5 94/96] x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 26bef1318adc1b3a530ecc807ef99346db2aa8b0 upstream. Before we do an EMMS in the AMD FXSAVE information leak workaround we need to clear any pending exceptions, other

[PATCH 3.5 87/96] drivers/net/hamradio: Integer overflow in hdlcdrv_ioctl()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Wenliang Fan commit e9db5c21d3646a6454fcd04938dd215ac3ab620a upstream. The local variable 'bi' comes from userspace. If userspace passed a large number to 'bi.data.calibrate', there woul

[PATCH 3.5 88/96] hamradio/yam: fix info leak in ioctl

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Salva=20Peir=C3=B3?= commit 8e3fbf870481eb53b2d3a322d1fc395ad8b367ed upstream. The yam_ioctl() code fails to initialise the cmd field of the struct yamdrv_ioctl_cfg. Add an exp

[PATCH 3.5 83/96] tg3: Initialize REG_BASE_ADDR at PCI config offset 120 to 0

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Nat Gurumoorthy commit 388d3335575f4c056dcf7138a30f1454e2145cd8 upstream. The new tg3 driver leaves REG_BASE_ADDR (PCI config offset 120) uninitialized. From power on reset this register

[PATCH 3.5 95/96] mac80211: move "bufferable MMPDU" check to fix AP mode scan

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 277d916fc2e959c3f106904116bb4f7b1148d47a upstream. The check needs to apply to both multicast and unicast packets, otherwise probe requests on AP mode scans are sent

[PATCH 3.5 81/96] net: drop_monitor: fix the value of maxattr

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Changli Gao commit d323e92cc3f4edd943610557c9ea1bb4bb5056e8 upstream. maxattr in genl_family should be used to save the max attribute type, but not the max command type. Drop monitor doe

[PATCH 3.5 55/96] selinux: fix broken peer recv check

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Chad Hanson commit 46d01d63221c3508421dd72ff9c879f61053cffc upstream. Fix a broken networking check. Return an error if peer recv fails. If secmark is active and the packet recv succeed

[PATCH 3.5 62/96] GFS2: don't hold s_umount over blkdev_put

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Whitehouse commit dfe5b9ad83a63180f358b27d1018649a27b394a9 upstream. This is a GFS2 version of Tejun's patch: 4f331f01b9c43bf001d3ffee578a97a1e0633eac vfs: don't hold s_umount ove

[PATCH 3.5 67/96] Revert "mm: ensure get_unmapped_area() returns higher address than mmap_min_addr"

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Luis Henriques This reverts commit 745545489d25d1b9ecf2d78a8f9a31a362806d2d, which is commit 2afc745f3e3079ab16c826be4860da2529054dd2 upstream. According to Akira, the backport for the 3

[PATCH 3.5 68/96] mm: ensure get_unmapped_area() returns higher address than mmap_min_addr

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Akira Takeuchi commit 2afc745f3e3079ab16c826be4860da2529054dd2 upstream. This patch fixes the problem that get_unmapped_area() can return illegal address and result in failing mmap(2) et

[PATCH 3.5 70/96] sched: Fix race on toggling cfs_bandwidth_used

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit 1ee14e6c8cddeeb8a490d7b54cd9016e4bb900b4 upstream. When we transition cfs_bandwidth_used to false, any currently throttled groups will incorrectly return false from cfs

[PATCH 3.5 56/96] selinux: selinux_setprocattr()->ptrace_parent() needs rcu_read_lock()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov commit c0c1439541f5305b57a83d599af32b74182933fe upstream. selinux_setprocattr() does ptrace_parent(p) under task_lock(p), but task_struct->alloc_lock doesn't pin ->parent o

[PATCH 3.5 40/96] drm/edid: add quirk for BPC in Samsung NP700G7A-S01PL notebook

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= commit 49d45a31b71d7d9da74485922bdb63faf3dc9684 upstream. This bug in EDID was exposed by: commit eccea7920cfb009c2fa40e9ecdce8c36f61cab66 Author:

[PATCH 3.5 38/96] ftrace: Initialize the ftrace profiler for each possible cpu

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Miao Xie commit c4602c1c818bd6626178d6d3fcc152d9f2f48ac0 upstream. Ftrace currently initializes only the online CPUs. This implementation has two problems: - If we online a CPU after we

[PATCH 3.5 49/96] dm9601: fix reception of full size ethernet frames on dm9620/dm9621a

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Korsgaard commit 407900cfb54bdb2cfa228010b6697305f66b2948 upstream. dm9620/dm9621a require room for 4 byte padding even in dm9601 (3 byte header) mode. Signed-off-by: Peter Korsga

Re: [PATCH] mm: nobootmem: avoid type warning about alignment value

2014-01-13 Thread Santosh Shilimkar
On Monday 13 January 2014 07:37 AM, Russell King - ARM Linux wrote: > On Sun, Jan 12, 2014 at 10:42:00AM -0500, Santosh Shilimkar wrote: >> On Sunday 12 January 2014 05:59 AM, Russell King - ARM Linux wrote: >>> On Mon, Dec 09, 2013 at 08:02:30PM -0500, Santosh Shilimkar wrote: On Monday 09 De

[PATCH 3.5 39/96] libata: disable a disk via libata.force params

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: "Robin H. Johnson" commit b8bd6dc36186fe99afa7b73e9e2d9a98ad5c4865 upstream. A user on StackExchange had a failing SSD that's soldered directly onto the motherboard of his system. The BI

[PATCH 3.5 36/96] gpio: msm: Fix irq mask/unmask by writing bits instead of numbers

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Stephen Boyd commit 4cc629b7a20945ce35628179180329b6bc9e552b upstream. We should be writing bits here but instead we're writing the numbers that correspond to the bits we want to write.

[PATCH 3.5 41/96] sched/rt: Fix rq's cpupri leak while enqueue/dequeue child RT entities

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai commit 757dfcaa41844595964f1220f1d33182dae49976 upstream. This patch touches the RT group scheduling case. Functions inc_rt_prio_smp() and dec_rt_prio_smp() change (global)

[PATCH 3.5 34/96] drm/radeon: Fix sideport problems on certain RS690 boards

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 8333f0fe133be420ce3fcddfd568c3a559ab274e upstream. Some RS690 boards with 64MB of sideport memory show up as having 128MB sideport + 256MB of UMA. In this case, just

[PATCH 3.5 28/96] ext4: fix del_timer() misuse for ->s_err_report

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 9105bb149bbbc555d2e11ba5166dfe7a24eae09e upstream. That thing should be del_timer_sync(); consider what happens if ext4_put_super() call of del_timer() happens to come jus

[PATCH 3.5 27/96] ext2: Fix oops in ext2_get_block() called from ext2_quota_write()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit df4e7ac0bb70abc97fbfd9ef09671fc084b3f9db upstream. ext2_quota_write() doesn't properly setup bh it passes to ext2_get_block() and thus we hit assertion BUG_ON(maxblocks =

[PATCH 3.5 29/96] usb: cdc-wdm: manage_power should always set needs_remote_wakeup

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 4144bc861ed7934d56f16d2acd808d44af0fcc90 upstream. Reported-by: Oliver Neukum Signed-off-by: Bjørn Mork Acked-by: Oliver Neukum Signed-off-by: Gre

[PATCH 3.5 25/96] ext4: fix use-after-free in ext4_mb_new_blocks

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Junho Ryu commit 4e8d2139802ce4f41936a687f06c560b12115247 upstream. ext4_mb_put_pa should hold pa->pa_lock before accessing pa->pa_count. While ext4_mb_use_preallocated checks pa->pa_del

[PATCH 3.5 33/96] iscsi-target: Fix-up all zero data-length CDBs with R/W_BIT set

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 4454b66cb67f14c33cd70ddcf0ff4985b26324b7 upstream. This patch changes special case handling for ISCSI_OP_SCSI_CMD where an initiator sends a zero length Expecte

[PATCH 3.5 31/96] xhci: Limit the spurious wakeup fix only to HP machines

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6962d914f317b119e0db7189199b21ec77a4b3e0 upstream. We've got regression reports that my previous fix for spurious wakeups after S5 on HP Haswell machines leads to the

[PATCH 3.5 32/96] drm/i915: don't update the dri1 breadcrumb with modesetting

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 6c719faca2aceca72f1bf5b1645c1734ed3e9447 upstream. The update is horribly racy since it doesn't protect at all against concurrent closing of the master fd. And it ca

[PATCH 3.5 35/96] ALSA: hda - Add enable_msi=0 workaround for four HP machines

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit 693e0cb052c607e2d41edf9e9f1fa99ff8c266c1 upstream. While enabling these machines, we found we would sometimes lose an interrupt if we change hardware volume duri

[PATCH 3.5 20/96] TTY: pmac_zilog, check existence of ports in pmz_console_init()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit dc1dc2f8a5dd863bf2e79f338fc3ae29e99c683a upstream. When booting a multi-platform m68k kernel on a non-Mac with "console=ttyS0" on the kernel command line, it cr

[PATCH 3.5 93/96] bridge: use spin_lock_bh() in br_multicast_set_hash_max

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Curt Brune commit fe0d692bbc645786bce1a98439e548ae619269f5 upstream. br_multicast_set_hash_max() is called from process context in net/bridge/br_sysfs_br.c by the sysfs store_hash_max()

[PATCH 3.5 19/96] Staging: zram: Fix memory leak by refcount mismatch

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Rashika Kheria commit 1b672224d128ec2570eb37572ff803cfe452b4f7 upstream. As suggested by Minchan Kim and Jerome Marchand "The code in reset_store get the block device (bdget_disk()) but

[PATCH 3.5 21/96] ceph: cleanup aborted requests when re-sending requests.

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: "Yan, Zheng" commit eb1b8af33c2e42a9a57fc0a7588f4a7b255d2e79 upstream. Aborted requests usually get cleared when the reply is received. If MDS crashes, no reply will be received. So we n

[PATCH 3.5 23/96] powerpc: kvm: fix rare but potential deadlock scene

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: pingfan liu commit 91648ec09c1ef69c4d840ab6dab391bfb452d554 upstream. Since kvmppc_hv_find_lock_hpte() is called from both virtmode and realmode, so it can trigger the deadlock. Suppose

[PATCH 3.5 96/96] SELinux: Fix possible NULL pointer dereference in selinux_inode_permission()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 3dc91d4338d698ce77832985f9cb183d8eeaf6be upstream. While running stress tests on adding and deleting ftrace instances I hit this bug: BUG: unable to handle kerne

[PATCH 3.5 86/96] net: inet_diag: zero out uninitialized idiag_{src,dst} fields

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit b1aac815c0891fe4a55a6b0b715910142227700f upstream. Jakub reported while working with nlmon netlink sniffer that parts of the inet_diag_sockid are not initialized w

[PATCH 3.5 14/96] dm mpath: fix race condition between multipath_dtr and pg_init_done

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Shiva Krishna Merla commit 954a73d5d3073df2231820c718fdd2f18b0fe4c9 upstream. Whenever multipath_dtr() is happening we must prevent queueing any further path activation work. Implement

[PATCH 3.5 89/96] rds: prevent dereference of a NULL device

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit c2349758acf1874e4c2b93fe41d072336f1a31d0 upstream. Binding might result in a NULL device, which is dereferenced causing this BUG: [ 1317.260548] BUG: unable to handle

[PATCH 3.5 84/96] netvsc: don't flush peers notifying work during setting mtu

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit 50dc875f2e6e2e04aed3b3033eb0ac99192d6d02 upstream. There's a possible deadlock if we flush the peers notifying work during setting mtu: [ 22.991149]

[PATCH 3.5 92/96] net: llc: fix use after free in llc_ui_recvmsg

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 4d231b76eef6c4a6bd9c96769e191517765942cb upstream. While commit 30a584d944fb fixes datagram interface in LLC, a use after free bug has been introduced for SOCK_STR

[PATCH 3.5 91/96] vlan: Fix header ops passthru when doing TX VLAN offload.

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: "David S. Miller" commit 2205369a314e12fcec4781cc73ac9c08fc2b47de upstream. When the vlan code detects that the real device can do TX VLAN offloads in hardware, it tries to arrange for t

[PATCH 3.5 82/96] net: unix: allow set_peek_off to fail

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 12663bfc97c8b3fdb292428105dd92d563164050 upstream. unix_dgram_recvmsg() will hold the readlock of the socket until recv is complete. In the same time, we may try to s

[PATCH 3.5 85/96] net: unix: allow bind to fail on mutex lock

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 37ab4fa7844a044dc21fde45e2a0fc2f3c3b6490 upstream. This is similar to the set_peek_off patch where calling bind while the socket is stuck in unix_dgram_recvmsg() will

[PATCH 3.5 18/96] ARM: pxa: prevent PXA270 occasional reboot freezes

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Sergei Ianovich commit ff88b4724fde18056a4c539f7327389aec0f4c2d upstream. Erratum 71 of PXA270M Processor Family Specification Update (April 19, 2010) explains that watchdog reset time i

[PATCH 3.5 79/96] macvtap: signal truncated packets

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang commit ce232ce01d61b184202bb185103d119820e1260c upstream. macvtap_put_user() never return a value grater than iov length, this in fact bypasses the truncated checking in macvt

[PATCH 3.5 80/96] ipv6: don't count addrconf generated routes against gc limit

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa commit a3300ef4bbb1f1e33ff0400e1e6cf7733d988f4f upstream. Brett Ciphery reported that new ipv6 addresses failed to get installed because the addrconf generated dsts

[PATCH 3.5 16/96] IB/qib: Convert qib_user_sdma_pin_pages() to use get_user_pages_fast()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 603e7729920e42b3c2f4dbfab9eef4878cb6e8fa upstream. qib_user_sdma_queue_pkts() gets called with mmap_sem held for writing. Except for get_user_pages() deep down in qib_use

Re: [PATCH] x86: efi: create memory map iteration helper

2014-01-13 Thread Matt Fleming
On Wed, 08 Jan, at 02:50:53PM, Mark Salter wrote: > There are about a dozen places in the x86 EFI code which loop through > the EFI memory map descriptors. All of these places use essentially > the same for-loop code. This patch adds a for_each_efi_memory_desc() > helper to clean up all of the dupl

[PATCH 3.5 17/96] Staging: zram: Fix access of NULL pointer

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Rashika Kheria commit 46a51c80216cb891f271ad021f59009f34677499 upstream. This patch fixes the bug in reset_store caused by accessing NULL pointer. The bdev gets its value from bdget_dis

[PATCH 3.5 77/96] macvtap: update file current position

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Zhi Yong Wu commit e6ebc7f16ca1434a334647aa56399c546be4e64b upstream. Signed-off-by: Zhi Yong Wu Signed-off-by: David S. Miller Signed-off-by: Luis Henriques --- drivers/net/macvtap.

[PATCH 3.5 78/96] tun: update file current position

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Zhi Yong Wu commit d0b7da8afa079ffe018ab3e92879b7138977fc8f upstream. Signed-off-by: Zhi Yong Wu Signed-off-by: David S. Miller Signed-off-by: Luis Henriques --- drivers/net/tun.c |

[PATCH 3.5 75/96] rds: prevent BUG_ON triggered on congestion update to loopback

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Venkat Venkatsubra commit 18fc25c94eadc52a42c025125af24657a93638c0 upstream. After congestion update on a local connection, when rds_ib_xmit returns less bytes than that are there in the

[PATCH 3.5 66/96] ceph: Avoid data inconsistency due to d-cache aliasing in readpage()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Li Wang commit 56f91aad69444d650237295f68c195b74d888d95 upstream. If the length of data to be read in readpage() is exactly PAGE_CACHE_SIZE, the original code does not flush d-cache for

[PATCH 3.5 74/96] net: do not pretend FRAGLIST support

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 28e24c62ab3062e965ef1b3bcc244d50aee7fa85 upstream. Few network drivers really supports frag_list : virtual drivers. Some drivers wrongly advertise NETIF_F_FRAGLIST f

[PATCH 3.5 71/96] sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit db06e78cc13d70f10877e0557becc88ab3ad2be8 upstream. hrtimer_expires_remaining does not take internal hrtimer locks and thus must be guarded against concurrent __hrtimer_

[PATCH 3.5 73/96] sched: Guarantee new group-entities always have weight

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Turner commit 0ac9b1c21874d2490331233b3242085f8151e166 upstream. Currently, group entity load-weights are initialized to zero. This admits some races with respect to the first time

[PATCH 3.5 69/96] ftrace: Check module functions being traced on reload

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 8c4f3c3fa9681dc549cd35419b259496082fef8b upstream. There's been a nasty bug that would show up and not give much info. The bug displayed the following w

[PATCH 3.5 12/96] intel_idle: enable IVB Xeon support

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Len Brown commit 23795e580cad5d6b73d47d51b9074ce3e58bf334 upstream. IVB Xeon currently shares the same parameters IVB client. Signed-off-by: Len Brown Cc: Vinson Lee Signed-off-by: Lu

[PATCH 3.5 13/96] mm/hugetlb: check for pte NULL pointer in __page_check_address()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Jianguo Wu commit 98398c32f6687ee1e1f3ae084effb4b75adb0747 upstream. In __page_check_address(), if address's pud is not present, huge_pte_offset() will return NULL, we should check the r

[PATCH 3.5 76/96] macvtap: Do not double-count received packets

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Vlad Yasevich commit 006da7b07bc4d3a7ffabad17cf639eec6849c9dc upstream. Currently macvlan will count received packets after calling each vlans receive handler. Macvtap attempts to coun

[PATCH 3.5 65/96] sh: always link in helper functions extracted from libgcc

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 84ed8a99058e61567f495cc43118344261641c5f upstream. E.g. landisk_defconfig, which has CONFIG_NTFS_FS=m: ERROR: "__ashrdi3" [fs/ntfs/ntfs.ko] undefined! For "

[PATCH 3.5 64/96] jbd2: don't BUG but return ENOSPC if a handle runs out of space

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit f6c07cad081ba222d63623d913aafba5586c1d2c upstream. If a handle runs out of space, we currently stop the kernel with a BUG in jbd2_journal_dirty_metadata(). This mak

[PATCH 3.5 11/96] intel_idle: initial IVB support

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Len Brown commit 6edab08c24f9141d69cfa4683a0a027d86ab303e upstream. >From an OS point of view, IVB looks like SNB, but quicker. Signed-off-by: Len Brown Cc: Vinson Lee Signed-off-by:

[PATCH 3.5 08/96] HID: Bump maximum global item tag report size to 128 bytes

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Marek Vasut commit 23408f95fa92483527de3206ebeb55c37e0f679c upstream. The Freescale i.MX28 BootROM USB recovery mode implements the USB HID protocol, yet the global item tag report size

[PATCH 3.5 63/96] GFS2: Fix incorrect invalidation for DIO/buffered I/O

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Whitehouse commit dfd11184d894cd0a92397b25cac18831a1a6a5bc upstream. In patch 209806aba9d540dde3db0a5ce72307f85f33468f we allowed local deferred locks to be granted against a cach

[PATCH 3.5 01/96] ARM: OMAP3: hwmod data: Don't prevent RESET of USB Host module

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit 7f4d3641e2548d1ac5dee837ff434df668a2810c upstream. Unlike what the comment states, errata i660 does not state that we can't RESET the USB host module. Instead it sta

[PATCH 3.5 90/96] net: rose: restore old recvmsg behavior

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit f81152e35001e91997ec74a7b4e040e6ab0acccf upstream. recvmsg handler in net/rose/af_rose.c performs size-check ->msg_namelen. After commit f3d3342602f8bcbf37d7c466

[PATCH 3.5 24/96] libata: add ATA_HORKAGE_BROKEN_FPDMA_AA quirk for Seagate Momentus SpinPoint M8

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Michele Baldessari commit 87809942d3fa60bafb7a58d0bdb1c79e90a6821d upstream. We've received multiple reports in Fedora via (BZ 907193) that the Seagate Momentus SpinPoint M8 errors out w

[PATCH 3.5 61/96] Input: allocate absinfo data when setting ABS capability

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 28a2a2e1aedbe2d8b2301e6e0e4e63f6e4177aca upstream. We need to make sure we allocate absinfo data when we are setting one of EV_ABS/ABS_XXX capabilities, otherwise

[PATCH 3.5 02/96] ARM: OMAP2+: hwmod: Fix SOFTRESET logic

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit 313a76ee11cda6700548afe68499ef174a240688 upstream. In _ocp_softreset(), after _set_softreset() + write_sysconfig(), the hwmod's sysc_cache will always contain SOFTRE

[PATCH 3.5 10/96] selinux: process labeled IPsec TCP SYN-ACK packets properly in selinux_ip_postroute()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit c0828e50485932b7e019df377a6b0a8d1ebd3080 upstream. Due to difficulty in arriving at the proper security label for TCP SYN-ACK packets in selinux_ip_postroute(), we need

Re: [PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable

2014-01-13 Thread Arjan van de Ven
On 1/13/2014 4:23 AM, Dave Young wrote: How about do not limit to only if (pgd) case, instead do something like below: set dump_to_dmesg as a module parameter X86_PTDUMP is not a module. Hmm, I just see the module macros in the code, since it's a bool Kconfig I think the dump_pagetables.c n

[PATCH 3.5 54/96] drm/radeon: 0x9649 is SUMO2 not SUMO

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d00adcc8ae9e22eca9d8af5f66c59ad9a74c90ec upstream. Fixes rendering corruption due to incorrect gfx configuration. bug: https://bugs.freedesktop.org/show_bug.cgi?id=6

[PATCH 3.5 57/96] powerpc: Fix bad stack check in exception entry

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling commit 90ff5d688e61f49f23545ffab6228bd7e87e6dc7 upstream. In EXCEPTION_PROLOG_COMMON() we check to see if the stack pointer (r1) is valid when coming from the kernel. If

[PATCH 3.5 50/96] dm9601: work around tx fifo sync issue on dm962x

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Korsgaard commit 4263c86dca5198da6bd3ad826d0b2304fbe25776 upstream. Certain dm962x revisions contain an bug, where if a USB bulk transfer retry (E.G. if bulk crc mismatch) happens

[PATCH 3.5 09/96] selinux: look for IPsec labels on both inbound and outbound packets

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Moore commit 817eff718dca4e54d5721211ddde0914428fbb7c upstream. Previously selinux_skb_peerlbl_sid() would only check for labeled IPsec security labels on inbound packets, this patc

[PATCH 3.5 07/96] staging: comedi: pcmuio: fix possible NULL deref on detach

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 2fd2bdfccae61efe18f6b92b6a45fbf936d75b48 upstream. pcmuio_detach() is called by the comedi core even if pcmuio_attach() returned an error, so `dev->private` might be `N

[PATCH 3.5 72/96] sched: Fix hrtimer_cancel()/rq->lock deadlock

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Segall commit 927b54fccbf04207ec92f669dce6806848cbec7d upstream. __start_cfs_bandwidth calls hrtimer_cancel while holding rq->lock, waiting for the hrtimer to finish. However, if sch

[PATCH 3.5 60/96] powerpc: Align p_end

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 286e4f90a72c0b0621dde0294af6ed4b0baddabb upstream. p_end is an 8 byte value embedded in the text section. This means it is only 4 byte aligned when it should be 8

[PATCH 3.5 53/96] ext4: add explicit casts when masking cluster sizes

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit f5a44db5d2d677dfbf12deee461f85e9ec633961 upstream. The missing casts can cause the high 64-bits of the physical blocks to be lost. Set up new macros which allows us

[PATCH 3.5 48/96] net_dma: mark broken

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 77873803363c9e831fc1d1e6895c084279090c22 upstream. net_dma can cause data to be copied to a stale mapping if a copy-on-write fault occurs during dma. The application

[PATCH 3.5 51/96] libata, freezer: avoid block device removal while system is frozen

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 85fbd722ad0f5d64d1ad15888cd1eb2188bfb557 upstream. Freezable kthreads and workqueues are fundamentally problematic in that they effectively introduce a big kernel lock w

[PATCH 3.5 58/96] ARM: fix "bad mode in ... handler" message for undefined instructions

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 29c350bf28da333e41e30497b649fe335712a2ab upstream. The array was missing the final entry for the undefined instruction exception handler; this commit adds it. Signed

[PATCH 3.5 52/96] drm/radeon: fix asic gfx values for scrapper asics

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit e2f6c88fb903e123edfd1106b0b8310d5117f774 upstream. Fixes gfx corruption on certain TN/RL parts. bug: https://bugs.freedesktop.org/show_bug.cgi?id=60389 Signed-off-b

[PATCH 3.5 47/96] ASoC: wm8904: fix DSP mode B configuration

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Bo Shen commit f0199bc5e3a3ec13f9bc938556517ec430b36437 upstream. When wm8904 work in DSP mode B, we still need to configure it to work in DSP mode. Or else, it will work in Right Justif

[PATCH 3.5 42/96] ALSA: Add SNDRV_PCM_STATE_PAUSED case in wait_for_avail function

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: JongHo Kim commit ed697e1aaf7237b1a62af39f64463b05c262808d upstream. When the process is sleeping at the SNDRV_PCM_STATE_PAUSED state from the wait_for_avail function, the sleep process

[PATCH 3.5 46/96] iio:adc:ad7887 Fix channel reported endianness from cpu to big endian

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Cameron commit e39d99059ad7f75d7ae2d3c59055d3c476cdb0d9 upstream. Note this also sets the endianness to big endian whereas it would previously have defaulted to the cpu endian.

Re: [PATCH] xen-blkfront: remove type check from blkfront_setup_discard

2014-01-13 Thread Boris Ostrovsky
On 01/13/2014 04:30 AM, Olaf Hering wrote: On Fri, Jan 10, Boris Ostrovsky wrote: I don't know discard code works but it seems to me that if you pass, for example, zero as discard_granularity (which may happen if xenbus_gather() fails) then blkdev_issue_discard() in the backend will set granul

[PATCH 3.5 37/96] radiotap: fix bitmap-end-finding buffer overrun

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit bd02cd2549cfcdfc57cb5ce57ffc3feb94f70575 upstream. Evan Huus found (by fuzzing in wireshark) that the radiotap iterator code can access beyond the length of the buff

[PATCH 3.5 45/96] cpupower: Fix segfault due to incorrect getopt_long arugments

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Josh Boyer commit f447ef4a56dee4b68a91460bcdfe06b5011085f2 upstream. If a user calls 'cpupower set --perf-bias 15', the process will end with a SIGSEGV in libc because cpupower-set passe

[PATCH 3.5 04/96] sc1200_wdt: Fix oops

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Alan commit dace8bbfccfd9e4fcccfffcfbd82881fda3e756f upstream. If loaded with isapnp = 0 the driver explodes. This is catching people out now and then. What should happen in the working

[PATCH 3.5 44/96] ath9k: Fix interrupt handling for the AR9002 family

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit 73f0b56a1ff64e7fb6c3a62088804bab93bcedc2 upstream. This patch adds a driver workaround for a HW issue. A race condition in the HW results in missing interrupts,

[PATCH 3.5 43/96] rtlwifi: pci: Fix oops on driver unload

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 9278db6279e28d4d433bc8a848e10b4ece8793ed upstream. On Fedora systems, unloading rtl8192ce causes an oops. This patch fixes the problem reported at https://bugzilla.re

[PATCH 3.5 06/96] staging: comedi: ssv_dnp: use comedi_dio_update_state()

2014-01-13 Thread Luis Henriques
3.5.7.29 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit f6b316bcd8c421acd6fa5a6e18b4c846ecb9d965 upstream. Use comedi_dio_update_state() to handle the boilerplate code to update the subdevice s->state. Also, fix a bug where

[RFC 00/10] xhci: re-work command queue management

2014-01-13 Thread Mathias Nyman
This is an attempt to re-work and solve the issues in xhci command queue management that Sarah has descibed earlier: Right now, the command management in the xHCI driver is rather ad-hock. Different parts of the driver all submit commands, including interrupt handling routines, functions calle

Re: [PATCH 1/4] x86, ptdump: Add the functionality to dump an arbitrary pagetable

2014-01-13 Thread Borislav Petkov
On Mon, Jan 13, 2014 at 06:48:10AM -0800, Arjan van de Ven wrote: > >MODULE_LICENSE("GPL"); > >MODULE_AUTHOR("Arjan van de Ven "); > >MODULE_DESCRIPTION("Kernel debugging helper that dumps pagetables"); > > personally I consider it good form to always have this kind of > information in .c files, re

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