[PATCH 20/98] tracing: Use current_uid() for critical time tracing

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit f17a5194859a82afe4164e938b92035b86c55794 upstream. The irqsoff tracer records the max time that interrupts are disabled. There are hooks in the assembly

[PATCH 61/98] powerpc/smp: Section mismatch from smp_release_cpus to __initdata spinning_secondaries

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Gang commit 8246aca7058f3f2c2ae503081777965cd8df7b90 upstream. the smp_release_cpus is a normal funciton and called in normal environments, but it calls the __initdata spinning_se

[PATCH 71/98] ath9k_hw: Remove CHANNEL_CW_INT

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit fcb9a3de1e72cb271343aa9484a20c066b6c4eee upstream. This flag is used for indicating channel interference and we currently do nothing with it, so remove it. Signe

[PATCH 68/98] b43: ensue that BCMA is "y" when B43 is "y"

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Hauke Mehrtens commit 693026ef2e751fd94d2e6c71028e68343cc875d5 upstream. When b43 gets build into the kernel and it should use bcma we have to ensure that bcma was also build into the ke

[PATCH 41/98] netfilter: ipt_ULOG: fix non-null terminated string in the nf_log path

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Gang commit 4f36ea6eed2081340c7a7aa98c73187ecfccebff upstream. If nf_log uses ipt_ULOG as logging output, we can deliver non-null terminated strings to user-space since the maximum

[PATCH 48/98] netfilter: xt_TCPOPTSTRIP: don't use tcp_hdr()

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit ed82c437320c48a4032492f4a55a7e2c934158b6 upstream. In (bc6bcb5 netfilter: xt_TCPOPTSTRIP: fix possible mangling beyond packet boundary), the use of tcp_hdr was i

[PATCH 30/98] ARM: 7765/1: perf: Record the user-mode PC in the call chain.

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Jed Davis commit c5f927a6f62196226915f12194c9d0df4e2210d7 upstream. With this change, we no longer lose the innermost entry in the user-mode part of the call chain. See also the x86 por

[PATCH 49/98] netfilter: xt_TCPMSS: Fix missing fragmentation handling

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Phil Oester commit b396966c4688522863572927cb30aa874b3ec504 upstream. Similar to commit bc6bcb59 ("netfilter: xt_TCPOPTSTRIP: fix possible mangling beyond packet boundary"), add safe fra

[PATCH 27/98] ALSA: hda - Cache the MUX selection for generic HDMI

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit bddee96b5d0db869f47b195fe48c614ca824203c upstream. When a selection to a converter MUX is changed in hdmi_pcm_open(), it should be cached so that the given connection

[PATCH 43/98] netfilter: xt_LOG: fix mark logging for IPv6 packets

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Michal=20Kube=C4=8Dek?= commit d660164d79b67f879db35a7d61e47d3b99bc714e upstream. In dump_ipv6_packet(), the "recurse" parameter is zero only if dumping contents of a packet em

[PATCH 39/98] nbd: correct disconnect behavior

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Clements commit c378f70adbc1bbecd9e6db145019f14b2f688c7c upstream. Currently, when a disconnect is requested by the user (via NBD_DISCONNECT ioctl) the return from NBD_DO_IT is unde

Re: [RFC] [PATCH 1/2 v2] x86: introduce int3-based instruction patching

2013-07-11 Thread Jason Baron
On 07/11/2013 10:35 AM, Steven Rostedt wrote: > On Wed, 2013-07-10 at 14:36 -0700, H. Peter Anvin wrote: >> On 07/10/2013 02:31 PM, Jiri Kosina wrote: >>> If any CPU instruction execution would collide with the patching, >>> it'd be trapped by the int3 breakpoint and redirected to the provided >>>

[PATCH 46/98] netfilter: nfnetlink_acct: fix incomplete dumping of objects

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 991a6b735ff47710769545b11e481bb140b2e6f7 upstream. Fix broken incomplete object dumping if the list of objects does not fit into one single netlink message. Rep

[PATCH 38/98] drivers/rtc/rtc-rv3029c2.c: fix disabling AIE irq

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 29ecd78c0fd6ee05f2c6b07b23823a6ae43c13ff upstream. In the disable AIE irq code path, current code passes "1" to enable parameter of rv3029c2_rtc_i2c_alarm_set_irq(). Thu

[PATCH 45/98] netfilter: nfnetlink_cttimeout: fix incomplete dumping of objects

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 37bc4f8dfa72fb43b84381abca39cfdbbc8ff2df upstream. Fix broken incomplete object dumping if the list of objects does not fit into one single netlink message. Rep

[PATCH 34/98] ocfs2: xattr: fix inlined xattr reflink

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Junxiao Bi commit ef962df057aaafd714f5c22ba3de1be459571fdf upstream. Inlined xattr shared free space of inode block with inlined data or data extent record, so the size of the later two

[PATCH 47/98] netfilter: xt_TCPMSS: Fix violation of RFC879 in absence of MSS option

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Phil Oester commit 409b545ac10d9548929557a75ad86540f59a2c83 upstream. The clamp-mss-to-pmtu option of the xt_TCPMSS target can cause issues connecting to websites if there was no MSS opt

[PATCH 33/98] drivers/dma/pl330.c: fix locking in pl330_free_chan_resources()

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Bartlomiej Zolnierkiewicz commit da331ba8e9c5de72a27e50f71105395bba6eebe0 upstream. tasklet_kill() may sleep so call it before taking pch->lock. Fixes following lockup: BUG: scheduli

[PATCH 55/98] [SCSI] mpt2sas: Fix for issue Missing delay not getting set during system bootup

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: "Reddy, Sreekanth" commit b0df96a0068daee4f9c2189c29b9053eb6e46b17 upstream. Missing delay is not getting set properly. The reason is that it is not defined in the same file from where i

[PATCH 36/98] crypto: sanitize argument for format string

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 1c8fca1d92e14859159a82b8a380d220139b7344 upstream. The template lookup interface does not provide a way to use format strings, so make sure that the interface cannot be

Re: [PATCH] cpufreq: Fix cpufreq regression after suspend/resume

2013-07-11 Thread Srivatsa S. Bhat
On 07/11/2013 07:53 PM, Alan Stern wrote: > On Thu, 11 Jul 2013, Srivatsa S. Bhat wrote: > >> Oops! You are right. Hmm, this looks quite difficult to get right :( >> There are multiple challenges here: >> >> 1. The sysfs files must not be removed during cpu_down, and not initialized >> >>durin

[PATCH 37/98] mm/memory-hotplug: fix lowmem count overflow when offline pages

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit cea27eb2a202959783f81254c48c250ddd80e129 upstream. The logic for the memory-remove code fails to correctly account the Total High Memory when a memory block which conta

[PATCH 44/98] ipvs: info leak in __ip_vs_get_dest_entries()

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit a8241c63517ec0b900695daa9003cddc41c536a1 upstream. The entry struct has a 2 byte hole after ->port and another 4 byte hole after ->stats.outpkts. You must have CAP_

[PATCH 32/98] xen/time: remove blocked time accounting from xen "clockchip"

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Laszlo Ersek commit 0b0c002c340e78173789f8afaa508070d838cf3d upstream. ... because the "clock_event_device framework" already accounts for idle time through the "event_handler" function

[PATCH 51/98] ipvs: SCTP ports should be writable in ICMP packets

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov commit 06f3d7f973ec04290d86b7dd91b48d38d90433dc upstream. Make sure that SCTP ports are writable when embedded in ICMP from client, so that ip_vs_nat_icmp can translate

[PATCH 40/98] netfilter: xt_TCPOPTSTRIP: fix possible mangling beyond packet boundary

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit bc6bcb59dd7c184d229f9e86d08aa56059938a4c upstream. This target assumes that tcph->doff is well-formed, that may be well not the case. Add extra sanity checkings

[PATCH 42/98] netfilter: add nf_ipv6_ops hook to fix xt_addrtype with IPv6

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal commit 2a7851bffb008ff4882eee673da74718997b4265 upstream. Quoting https://bugzilla.netfilter.org/show_bug.cgi?id=812: [ ip6tables -m addrtype ] When I tried to use in t

[PATCH 35/98] block: do not pass disk names as format strings

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit ffc8b30866879ed9ba62bd0a86fecdbd51cd3d19 upstream. Disk names may contain arbitrary strings, so they must not be interpreted as format strings. It seems that only md al

[PATCH 59/98] [SCSI] sd: Fix parsing of 'temporary ' cache mode prefix

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 2ee3e26c673e75c05ef8b914f54fadee3d7b9c88 upstream. Commit 39c60a0948cc '[SCSI] sd: fix array cache flushing bug causing performance problems' added temp as a pointer

[PATCH 62/98] md/raid10: fix two bugs affecting RAID10 reshape.

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 78eaa0d4cbcdb345992fa3dd22b3bcbb473cc064 upstream. 1/ If a RAID10 is being reshaped to a fewer number of devices and is stopped while this is ongoing, then when the arr

[PATCH 66/98] ext3: fix data=journal fast mount/umount hang

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit e643692138cfa33528f054b071ba2583509bb217 upstream. In data=journal mode, if we unmount the file system before a transaction has a chance to complete, when the journal ino

[PATCH 70/98] ath9k_hw: Assign default xlna config for AR9485

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit 30d5b709da23f4ab9836c7f66d2d2e780a69cf12 upstream. For AR9485 boards with XLNA, the default gpio config is not set correctly, fix this. Signed-off-by: Sujith Man

[PATCH 65/98] tick: Prevent uncontrolled switch to oneshot mode

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1f73a9806bdd07a5106409bbcab3884078bd34fe upstream. When the system switches from periodic to oneshot mode, the broadcast logic causes a possibility that a CPU whic

[PATCH 60/98] aacraid: Fix for arrays are going offline in the system. System hangs

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Mahesh Rajashekhara commit c5bebd829dd95602c15f8da8cc50fa938b5e0254 upstream. One of the customer had reported that the set of raid logical arrays will become unavailable (I/O offline) a

[PATCH 63/98] hpfs: better test for errors

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 3ebacb05044f82c5f0bb456a894eb9dc57d0ed90 upstream. The test if bitmap access is out of bound could errorneously pass if the device size is divisible by 16384 secto

[PATCH 69/98] ath9k: fill channel mode in caldata

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Rajkumar Manoharan commit 77d848372875d2e4cbdbf07030f0e08cab5e7f4d upstream. It is useful to have channel mode in caldata to find out whether operaing channel is in HT40/20 when we are c

Re: CIFS-related deadlock in 3.10-rc7

2013-07-11 Thread Steve French
Wouldn't this be a candidate for stable? On Thu, Jul 11, 2013 at 7:53 AM, Pavel Shilovsky wrote: > 2013/7/7 Alexander E. Patrakov : >> While playing a file from a CIFS-mounted samba share (over wireless, >> if that matters), I got this deadlock: >> >> [ 2164.132440] ==

Re: [RFC] [PATCH 1/2 v2] x86: introduce int3-based instruction patching

2013-07-11 Thread Steven Rostedt
On Wed, 2013-07-10 at 14:36 -0700, H. Peter Anvin wrote: > On 07/10/2013 02:31 PM, Jiri Kosina wrote: > > > > If any CPU instruction execution would collide with the patching, > > it'd be trapped by the int3 breakpoint and redirected to the provided > > "handler" (which would typically mean just s

[PATCH 64/98] timer: Fix jiffies wrap behavior of round_jiffies_common()

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 9e04d3804d3ac97d8c03a41d78d0f0674b5d01e1 upstream. Direct compare of jiffies related values does not work in the wrap around case. Replace it with time_is_after_ji

[PATCH 67/98] PCI: Fix refcount issue in pci_create_root_bus() error recovery path

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit 343df771e671d821478dd3ef525a0610b808dbf8 upstream. After calling device_register(&bridge->dev), the bridge is reference- counted, and it is illegal to call kfree() on it

[PATCH 72/98] ath9k: Fix noisefloor calibration

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit 696df78509d1f81b651dd98ecdc1aecab616db6b upstream. The commits, "ath9k: Fix regression in channelwidth switch at the same channel" "ath9k: Fix invalid noisefloor

[PATCH 52/98] [SCSI] zfcp: fix adapter (re)open recovery while link to SAN is down

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Hansel commit f76ccaac4f82c463a037aa4a1e4ccb85c7011814 upstream. FCP device remains in status ERP_FAILED when device is switched online or adapter recovery is triggered while lin

[PATCH 53/98] [SCSI] zfcp: block queue limits with data router

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 5fea4291deacd80188b996d2f555fc6a1940e5d4 upstream. Commit 86a9668a8d29ea711613e1cb37efa68e7c4db564 "[SCSI] zfcp: support for hardware data router" reduced the initia

[PATCH 54/98] [SCSI] zfcp: status read buffers on first adapter open with link down

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 9edf7d75ee5f21663a0183d21f702682d0ef132f upstream. Commit 64deb6efdc5504ce97b5c1c6f281fffbc150bd93 "[SCSI] zfcp: Use status_read_buf_num provided by FCP channel" sta

[PATCH 78/98] drm/mgag200: Reject modes that are too big for VRAM

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Christopher Harvey commit 0ba53171583f86bbcbba951fe172982f7fc3761c upstream. A monitor or a user could request a resolution greater than the available VRAM for the backing framebuffer. T

[PATCH 73/98] ath9k: Do not assign noise for NULL caldata

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sujith Manoharan commit d3bcb7b24bbf09fde8405770e676fe0c11c79662 upstream. ah->noise is maintained globally and not per-channel. This is updated in the reset() routine after the NF histo

[PATCH 84/98] ext4: fix overflow when counting used blocks on 32-bit architectures

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 8af8eecc1331dbf5e8c662022272cf667e213da5 upstream. The arithmetics adding delalloc blocks to the number of used blocks in ext4_getattr() can easily overflow on 32-bit arc

[PATCH 88/98] efivars: Disable external interrupt while holding efivars->lock

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Seiji Aguchi commit 81fa4e581d9283f7992a0d8c534bb141eb840a14 upstream. [Problem] There is a scenario which efi_pstore fails to log messages in a panic case. - CPUA holds an efi_var->lo

[PATCH 74/98] iwlwifi: pcie: wake the queue if stopped when being unmapped

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 8a487b1a7432b20ff3f82387a8ce7555a964b44e upstream. When the queue is unmapped while it was so loaded that mac80211's was stopped, we need to wake the queue after

[PATCH 79/98] drm/mgag200: Added resolution and bandwidth limits for various G200e products.

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Julia Lemire commit abbee6238775c6633a3779962e9e5b5cb9823749 upstream. At the larger resolutions, the g200e series sometimes struggles with maintaining a proper output. Problems like fl

[PATCH 77/98] vgacon.c: add cond reschedule points in vgacon_do_font_op

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Tosatti commit 7e6d72c15ff4cc0c27573901bb05f9eddbd71ed4 upstream. Booting a 64-vcpu KVM guest, with CONFIG_PREEMPT_VOLUNTARY, can result in a soft lockup: BUG: soft lockup - CPU

Re: [PATCH -v2 3/3] PCI,pciehp: use PCIe DSN to identify device change during suspend

2013-07-11 Thread Paul Bolle
On Thu, 2013-07-11 at 17:43 +0800, Yijing Wang wrote: [...] > diff --git a/drivers/pci/hotplug/pciehp_core.c > b/drivers/pci/hotplug/pciehp_core.c > index 1542735..f2eb214 100644 > --- a/drivers/pci/hotplug/pciehp_core.c > +++ b/drivers/pci/hotplug/pciehp_core.c [...] > @@ -315,6 +342,24 @@ static

[PATCH 86/98] drivers/cdrom/cdrom.c: use kzalloc() for failing hardware

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Salwan commit 542db01579fbb7ea7d1f7bb9ddcef1559df660b2 upstream. In drivers/cdrom/cdrom.c mmc_ioctl_cdrom_read_data() allocates a memory area with kmalloc in line 2885. 2885

[PATCH 81/98] libceph: Fix NULL pointer dereference in auth client code

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 2cb33cac622afde897aa02d3dcd9fbba8bae839e upstream. A malicious monitor can craft an auth reply message that could cause a NULL function pointer dereference in the clie

[PATCH 75/98] rtlwifi: rtl8192cu: Add new USB ID for TP-Link TL-WN8200ND

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit c4d827c5ccc3a49227dbf9d4b248a2e86f388023 upstream. This is a new device for this driver. Reported-by: Tobias Kluge Signed-off-by: Larry Finger Cc: Tobias Kluge Si

[PATCH 82/98] rtlwifi: rtl8192cu: Fix duplicate if test

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 10d0b9030a3f86e1e26c710c7580524d7787d688 upstream. A typo causes routine rtl92cu_phy_rf6052_set_cck_txpower() to test the same condition twice. The problem was found

[PATCH 80/98] SUNRPC: PipeFS MOUNT notification optimization for dying clients

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky commit 4f6bb246f69443549fbbd0f2abaf863243cb35e9 upstream. Not need to create pipes for dying client. So just skip them. Note: we can safely dereference the client s

[PATCH 57/98] [SCSI] mpt2sas: Fix for device scan following host reset could get stuck in a infinite loop

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sreekanth Reddy commit 6241f22ca12a26ee149cbe31b27bac97dbdc8bc4 upstream. Modified device scan routine so each configuration page read breaks from the while loop when the ioc_status is n

[PATCH 56/98] [SCSI] mpt2sas: Fix for max_sectors warning message is stating the incorrect range

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: "sreekanth.re...@lsi.com" commit eece5de59c090cf6cc04622a0abedb1553383cdc upstream. When specifying the command line option "max_sectors" less than 64, then warning message should provid

[PATCH 91/98] efi: Export efi_query_variable_store() for efivars.ko

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sergey Vlasov commit 3668011d4ad556224f7c012c1e870a6eaa0e59da upstream. Fixes build with CONFIG_EFI_VARS=m which was broken after the commit "x86, efivars: firmware bug workarounds shoul

[PATCH 89/98] efi: be more paranoid about available space when creating variables

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Garrett commit 68d929862e29a8b52a7f2f2f86a0600423b093cd upstream. UEFI variables are typically stored in flash. For various reasons, avaiable space is typically not reclaimed imm

Re: [RFC][PATCH RT 6/6] vtime: Convert vtime_seqlock into raw_spinlock_t and seqcount combo

2013-07-11 Thread Steven Rostedt
On Wed, 2013-07-10 at 13:12 -0400, Paul Gortmaker wrote: > [[RFC][PATCH RT 6/6] vtime: Convert vtime_seqlock into raw_spinlock_t and > seqcount combo] On 26/06/2013 (Wed 15:28) Steven Rostedt wrote: > > > The vtime seqlock needs to be taken in true interrupt context on -rt. > > The normal seqlock

[PATCH 90/98] x86, efivars: firmware bug workarounds should be in platform code

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit a6e4d5a03e9e3587e88aba687d8f225f4f04c792 upstream. Let's not burden ia64 with checks in the common efivars code that we're not writing too much data to the variable s

[PATCH 94/98] Modify UEFI anti-bricking code

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Matthew Garrett commit f8b8404337de4e2466e2e1139ea68b1f8295974f upstream. This patch reworks the UEFI anti-bricking code, including an effective reversion of cc5a080c and 31ff2f20. It tu

[PATCH 92/98] x86,efi: Check max_size only if it is non-zero.

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 7791c8423f1f7f4dad94e753bae67461d5b80be8 upstream. Some EFI implementations return always a MaximumVariableSize of 0, check against max_size only if it is non-z

[PATCH 96/98] printk: Fix rq->lock vs logbuf_lock unlock lock inversion

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: "Bu, Yitian" commit dbda92d16f8655044e082930e4e9d244b87fde77 upstream. commit 07354eb1a74d1 ("locking printk: Annotate logbuf_lock as raw") reintroduced a lock inversion problem which wa

[PATCH 87/98] efi_pstore: Check remaining space with QueryVariableInfo() before writing data

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Seiji Aguchi commit d80a361d779a9f19498943d1ca84243209cd5647 upstream. [Issue] As discussed in a thread below, Running out of space in EFI isn't a well-tested scenario. And we wouldn't

[PATCH 93/98] x86,efi: Implement efi_no_storage_paranoia parameter

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 8c58bf3eec3b8fc8162fe557e9361891c20758f2 upstream. Using this parameter one can disable the storage_size/2 check if he is really sure that the UEFI does sane gc

[PATCH 85/98] vgacon: fix missing include.

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 0ab3691fa8ac15ed94f9e2fa7c2958ab41d2e3f5 upstream. This fixes the build error. Signed-off-by: Dave Airlie Signed-off-by: Luis Henriques --- drivers/video/console/v

[PATCH 83/98] ext4: fix data offset overflow in ext4_xattr_fiemap() on 32-bit archs

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit a60697f411eb365fb09e639e6f183fe33d1eb796 upstream. On 32-bit architectures with 32-bit sector_t computation of data offset in ext4_xattr_fiemap() can overflow resulting i

Re: [PATCH -v2 2/3] PCI,pciehp: avoid add a device already exist before suspend during resume

2013-07-11 Thread Paul Bolle
On Thu, 2013-07-11 at 17:43 +0800, Yijing Wang wrote: > Currently, pciehp_resume() try to hot add device if the slot adapter > status return true. But if there are already some devices exist, > namely list_empty(bus->devices) return false. We should not add the device > again, because the device ad

[PATCH 95/98] x86/efi: Fix dummy variable buffer allocation

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit b8cb62f82103083a6e8fa5470bfe634a2c06514d upstream. 1. Check for allocation failure 2. Clear the buffer contents, as they may actually be written to flash 3. Don't le

[PATCH 97/98] charger-manager: Ensure event is not used as format string

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 3594f4c0d7bc51e3a7e6d73c44e368ae079e42f3 upstream. The exposed interface for cm_notify_event() could result in the event msg string being parsed as a format string. Make

[PATCH 98/98] iommu/amd: Only unmap large pages from the first pte

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 60d0ca3cfd199b6612f4999a3470dad38bb1 upstream. If we use a large mapping, the expectation is that only unmaps from the first pte in the superpage are supported

Re: [PATCH] cpufreq: Fix cpufreq regression after suspend/resume

2013-07-11 Thread Srivatsa S. Bhat
On 07/11/2013 07:33 PM, Lan Tianyu wrote: > 2013/7/11 Srivatsa S. Bhat : >> I tried to address all these in this patch, but you found yet another serious >> loop-hole. I guess I'm out of ideas now... if anybody has any thoughts on how >> to get this right, then I'm all ears. Else, we'll just reve

[PATCH 50/98] netfilter: xt_TCPMSS: Fix IPv6 default MSS too

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Phil Oester commit 70d19f805f8c047fc0a28dec9306b3773971c8d9 upstream. As a followup to commit 409b545a ("netfilter: xt_TCPMSS: Fix violation of RFC879 in absence of MSS option"), John He

[PATCH 58/98] [SCSI] mpt2sas: fix firmware failure with wrong task attribute

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Sreekanth Reddy commit 48ba2efc382f94fae16ca8ca011e5961a81ad1ea upstream. When SCSI command is received with task attribute not set, set it to SIMPLE. Previously it is set to untagged. T

[PATCH 76/98] rt2x00: read 5GHz TX power values from the correct offset

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Gabor Juhos commit 0a6f3a8ebaf13407523c2c7d575b4ca2debd23ba upstream. The current code uses the same index value both for the channel information array and for the TX power table. The in

[PATCH 26/98] ACPICA: Do not use extended sleep registers unless HW-reduced bit is set

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 7cec7048fe22e3e92389da2cd67098f6c4284e7f upstream. Previous implementation incorrectly used the ACPI 5.0 extended sleep registers if they were simply populated. This caus

[PATCH 11/98] usb: host: xhci-plat: release mem region while removing module

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: George Cherian commit 5388a3a5faba8dfa69e5f06c3a415d373c1a4316 upstream. Do a release_mem_region of the hcd resource. Without this the subsequent insertion of module fails in request_mem

[PATCH 25/98] ASoC: wm8962: Remove remaining direct register cache accesses

2013-07-11 Thread Luis Henriques
3.5.7.17 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolin Chen commit 2e7ee15ced914e109a1a5b6dfcd463d846a13bd5 upstream. Also fix return values for headphone switch updates. Signed-off-by: Nicolin Chen Signed-off-by: Mark Brown Signe

Re: Error 2: No rule to make target kernel/timeconst.pl

2013-07-11 Thread Konrad Vrba
On 7/11/13, Borislav Petkov wrote: > On Thu, Jul 11, 2013 at 03:47:36PM +0200, Konrad Vrba wrote: >> You are right. >> I have now tried compiling on another machine, and that works fine. >> But I am using the same config and same kernel tar.xz >> that does not make sense > > Can you restart from s

Re: [PATCH] cpufreq: Fix cpufreq regression after suspend/resume

2013-07-11 Thread Alan Stern
On Thu, 11 Jul 2013, Srivatsa S. Bhat wrote: > Oops! You are right. Hmm, this looks quite difficult to get right :( > There are multiple challenges here: > > 1. The sysfs files must not be removed during cpu_down, and not initialized > >during cpu_up. That would help us preserve the file per

Re: [PATCH -v2 1/3] PCI: introduce PCIe Device Serial Number Capability support

2013-07-11 Thread Paul Bolle
On Thu, 2013-07-11 at 17:43 +0800, Yijing Wang wrote: > Introduce PCIe Ext Capability Device Serial Number support, > so we can use the unique device serial number to identify > the physical device. During system suspend, if the PCIe > device was removed and inserted a new same device, after > syst

Re: [PATCH -v2 0/3] Use PCIe DSN to improve pciehp_resume

2013-07-11 Thread Paul Bolle
On Thu, 2013-07-11 at 17:43 +0800, Yijing Wang wrote: > v1->v2: Modify pci_get_dsn to pci_device_serial_number, > power off slot before remove the old device during resume to avoid > old .remove() method to touch new hardware. > Fix other typo and fail check pr

Re: [PATCH 1/2] Bluetooth: hidp: implement hidinput_input_event callback

2013-07-11 Thread Benjamin Tissoires
Hi David, On Thu, Jul 11, 2013 at 4:02 PM, David Herrmann wrote: > Hi > >> +static int hidp_hidinput_event(struct input_dev *dev, unsigned int type, >> + unsigned int code, int value) >> +{ >> + struct hid_device *hid = input_get_drvdata(dev); > > I dislike that

Re: [PATCH 08/16] sched: Reschedule task on preferred NUMA node once selected

2013-07-11 Thread Mel Gorman
On Thu, Jul 11, 2013 at 03:11:58PM +0200, Peter Zijlstra wrote: > On Thu, Jul 11, 2013 at 02:03:22PM +0100, Mel Gorman wrote: > > On Thu, Jul 11, 2013 at 02:30:38PM +0200, Peter Zijlstra wrote: > > > On Thu, Jul 11, 2013 at 10:46:52AM +0100, Mel Gorman wrote: > > > > @@ -829,10 +854,29 @@ static vo

Re: [PATCH -v2 3/3] PCI,pciehp: use PCIe DSN to identify device change during suspend

2013-07-11 Thread Don Dutile
Sorry, did a 'reply' instead of 'reply all' on first reply to this patch... excuse any repeat... - Don On 07/11/2013 05:43 AM, Yijing Wang wrote: If device was removed from slot and reinsert a new device during suspend, pciehp can not identify the physical device change now. So the old driver .r

Re: [PATCH] cpufreq: Fix cpufreq regression after suspend/resume

2013-07-11 Thread Lan Tianyu
2013/7/11 Srivatsa S. Bhat : > On 07/11/2013 11:10 AM, Lan Tianyu wrote: >> 2013/7/11 Srivatsa S. Bhat : > Oops! You are right. Hmm, this looks quite difficult to get right :( > There are multiple challenges here: If I understand correctly, the most concern is how to deal with per cpus' cpufreq_po

[PATCH 5/6] usb: gadget: USB_MV_U3D should depend on HAS_DMA

2013-07-11 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `mv_u3d_done': drivers/usb/gadget/mv_u3d_core.c:206: undefined reference to `dma_pool_free' drivers/usb/gadget/mv_u3d_core.c:209: undefined reference to `dma_unmap_single' drivers/built-in.o: In function `mv_u3d_build_trb_one': drivers/usb/gadget/mv_u3d

Re: [PATCH 1/2] Bluetooth: hidp: implement hidinput_input_event callback

2013-07-11 Thread David Herrmann
Hi On Thu, Jul 11, 2013 at 3:41 PM, Benjamin Tissoires wrote: > We can re-enable hidinput_input_event to allow the leds of bluetooth > keyboards to be set. > Now the callbacks uses hid core to retrieve the right HID report to > send, so this version is safer. > > Signed-off-by: Benjamin Tissoires

[GIT PULL] sound fixes for 3.11-rc1

2013-07-11 Thread Takashi Iwai
Linus, please pull sound fixes for v3.11-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.11 The topmost commit is 42d4ab832d843b5a512b373c86e70caa43a041c8 sound fixes for 3.11 A few small f

Re: [lm-sensors] 3.10: NCT6776F sensor question with Supermicro X9SRL-F motherboard

2013-07-11 Thread Justin Piszcz
Thanks for these details! On Thu, Jul 11, 2013 at 4:47 AM, Jean Delvare wrote: > Hi Guenter, Justin, > > On Wed, 3 Jul 2013 07:42:01 -0700, Guenter Roeck wrote: >> On Wed, Jul 03, 2013 at 08:35:59AM -0400, Justin Piszcz wrote: >> > I also found: >> > http://www.lm-sensors.org/wiki/Configurations/

[PATCH 3/6] usb: gadget: USB_MV_UDC should depend on HAS_DMA

2013-07-11 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `done': drivers/usb/gadget/mv_udc_core.c:239: undefined reference to `dma_pool_free' drivers/built-in.o: In function `build_dtd': drivers/usb/gadget/mv_udc_core.c:371: undefined reference to `dma_pool_alloc' drivers/built-in.o: In function `udc_prime_st

[PATCH 2/6] usb: chipidea: USB_CHIPIDEA_UDC should depend on HAS_DMA

2013-07-11 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `dma_set_coherent_mask': include/linux/dma-mapping.h:93: undefined reference to `dma_supported' drivers/built-in.o: In function `destroy_eps': drivers/usb/chipidea/udc.c:1598: undefined reference to `dma_pool_free' drivers/built-in.o: In function `free_

Re: [dm-devel] [git pull] device-mapper changes for 3.11

2013-07-11 Thread Alasdair G Kergon
On Thu, Jul 11, 2013 at 04:20:40PM +1000, Stephen Rothwell wrote: > Alistair, is there some reason that you cannot maintain some relatively > stable git tree for me to fetch (instead of the quilt series). Well Mike Snitzer is becoming a joint maintainer and this also requires changes to the work

[PATCH 4/6] usb: gadget: USB_FOTG210_UDC should depend on HAS_DMA

2013-07-11 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `fotg210_start_dma': drivers/usb/gadget/fotg210-udc.c:354: undefined reference to `dma_map_single' drivers/usb/gadget/fotg210-udc.c:357: undefined reference to `dma_mapping_error' drivers/usb/gadget/fotg210-udc.c:362: undefined reference to `dma_sync_s

[PATCH v2] rtc: Add MOXA ART RTC driver

2013-07-11 Thread Jonas Jensen
Add RTC driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen --- Notes: Thanks for the review Mark, what you said should be fixed in v2. Applies to next-20130711 Changes since v1: 1. remove defines GPIO_EM1240_HIGH and GPIO_EM1240_LOW 2. rename struct

Re: [GIT] kbuild changes for v3.11-rc1

2013-07-11 Thread Michal Marek
On Wed, Jul 10, 2013 at 07:11:53PM -0700, Linus Torvalds wrote: > You need to start being more careful. And I would seriously suggest > you start doing some explicit testing for this. You can do things like > "find . -user root", and if that shows a single file in the kernel > tree after a "make [m

[PATCH 1/6] usb: dwc3: USB_DWC3 should depend on HAS_DMA

2013-07-11 Thread Geert Uytterhoeven
If NO_DMA=y: drivers/built-in.o: In function `dwc3_free_one_event_buffer': drivers/usb/dwc3/core.c:132: undefined reference to `dma_free_coherent' drivers/built-in.o: In function `dwc3_alloc_one_event_buffer': drivers/usb/dwc3/core.c:154: undefined reference to `dma_alloc_coherent' drivers/built-i

<    1   2   3   4   5   6   7   8   >