Re: [PATCH v3] audit: Turn off TIF_SYSCALL_AUDIT when there are no rules

2014-02-10 Thread Andy Lutomirski
On Mon, Feb 10, 2014 at 11:12 AM, Steve Grubb wrote: > On Monday, February 10, 2014 11:01:36 AM Andy Lutomirski wrote: >> >> And I still think this needs more changes. Once again, I do not think >> >> that, say, __audit_log_bprm_fcaps() should populate context->aux if >> >> !TIF_SYSCALL_AUDIT,

Re: [process_vm_access] BUG: unable to handle kernel paging request at fffffff27b92dd20

2014-02-10 Thread Al Viro
On Mon, Feb 10, 2014 at 07:22:31PM +0800, Fengguang Wu wrote: > Hi Al, > > We noticed the below oops since commit > 68a25f08c9bec07ad95e55a01b127168e43aed84 > ("process_vm_access: take get_user_pages/put_pages one level up") > while running ltp tests inside kvm. Actually, that's a combination

[PATCH 3.8 108/124] hpfs: remember free space

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 2cbe5c76fc5e38e9af4b709593146e4b8272b69e upstream. Previously, hpfs scanned all bitmaps each time the user asked for free space using statfs. This patch changes

[PATCH 3.8 060/124] audit: reset audit backlog wait time after error recovery

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Guy Briggs commit e789e561a50de0aaa8c695662d97aaa5eac9d55f upstream. When the audit queue overflows and times out (audit_backlog_wait_time), the audit queue overflow timeout is

[PATCH 3.8 058/124] nfs4.1: properly handle ENOTSUP in SECINFO_NO_NAME

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit 78b19bae0813bd6f921ca58490196abd101297bd upstream. Don't check for -NFS4ERR_NOTSUPP, it's already been mapped to -ENOTSUPP by nfs4_stat_to_errno. This

[PATCH 3.8 084/124] fuse: fix pipe_buf_operations

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 28a625cbc2a14f17b83e47ef907b2658576a32aa upstream. Having this struct in module memory could Oops when if the module is unloaded while the buffer still persists

[PATCH 3.8 036/124] drm/radeon: warn users when hw_i2c is enabled (v2)

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d195178297de9a91246519dbfa98952b70f9a9b6 upstream. The hw i2c engines are disabled by default as the current implementation is still experimental. Print a warning

[PATCH 3.8 076/124] nfs4: fix discover_server_trunking use after free

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit abad2fa5ba67725a3f9c376c8cfe76fbe94a3041 upstream. If clp is new (cl_count = 1) and it matches another client in nfs4_discover_server_trunking, the

[PATCH 3.8 121/124] xen-netfront: fix resource leak in netfront

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Annie Li [ Upstream commit cefe0078eea52af17411eb1248946a94afb84ca5 ] This patch removes grant transfer releasing code from netfront, and uses gnttab_end_foreign_access to end grant

[PATCH 3.8 073/124] turbostat: Don't put unprocessed uapi headers in the include path

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Josh Triplett commit b731f3119de57144e16c19fd593b8daeb637843e upstream. turbostat's Makefile puts arch/x86/include/uapi/ in the include path, so that it can include from it. It isn't

[PATCH 3.8 122/124] sit: fix double free of fb_tunnel_dev on exit

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ No relevant upstream commit. ] This problem was fixed upstream by commit 9434266f2c64 ("sit: fix use after free of fb_tunnel_dev"). The upstream patch depends on

[PATCH 3.8 107/124] alpha: fix broken network checksum

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 0ef38d70d4118b2ce1a538d14357be5ff9dc2bbd upstream. The patch 3ddc5b46a8e90f3c9251338b60191d0a804b0d92 breaks networking on alpha (there is a follow-up fix

[PATCH 3.8 079/124] mfd: max77686: Fix regmap resource leak on driver remove

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 74142ffc0b52cfe6f9d2f6f34a5f3eedbfe3ce51 upstream. The regmap used by max77686 MFD driver was not freed with regmap_exit() on driver exit. This lead to leak

[PATCH 3.8 114/124] net: avoid reference counter overflows on fib_rules in multicast forwarding

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit 95f4a45de1a0f172b35451fc52283290adb21f6e ] Bob Falken reported that after 4G packets, multicast forwarding stopped working. This was because of a

[PATCH 3.8 111/124] bnx2x: fix DMA unmapping of TSO split BDs

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Schmidt [ Upstream commit 95e92fd40c967c363ad66b2fd1ce4dcd68132e54 ] bnx2x triggers warnings with CONFIG_DMA_API_DEBUG=y: WARNING: CPU: 0 PID: 2253 at lib/dma-debug.c:887

[PATCH 3.8 115/124] net,via-rhine: Fix tx_timeout handling

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger [ Upstream commit a926592f5e4e900f3fa903298c4619a131e60963 ] rhine_reset_task() misses to disable the tx scheduler upon reset, this can lead to a crash if work is

[PATCH 3.8 123/124] Revert "ip6tnl: fix use after free of fb_tnl_dev"

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ No relevant upstream commit. ] This reverts commit 22c3ec552c29cf4bd4a75566088950fe57d860c4. This patch is not the right fix, it introduces a memory leak when a

[PATCH 3.8 065/124] ata: sata_mv: introduce compatible string "marvell, armada-370-sata"

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Simon Guinot commit b1f5c73bd5a4752efb7d7af019034044b08aafe9 upstream. The sata_mv driver supports the SATA IP found in several Marvell SoCs. As some new SATA registers have been

Re: [RFC 1/6] mailbox: add core framework

2014-02-10 Thread Courtney Cavin
On Mon, Feb 10, 2014 at 08:09:34PM +0100, Josh Cartwright wrote: > On Mon, Feb 10, 2014 at 11:52:05AM -0600, Rob Herring wrote: > > On Mon, Feb 10, 2014 at 8:11 AM, Arnd Bergmann wrote: > > > On Friday 07 February 2014 16:50:14 Courtney Cavin wrote: > [..] > > >> +int mbox_channel_notify(struct

[PATCH 3.8 044/124] drm/radeon: skip colorbuffer checking if COLOR_INFO.FORMAT is set to INVALID

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= commit 56492e0fac2dbaf7735ffd66b206a90624917789 upstream. This fixes a bug which was causing rejections of valid GPU commands from userspace.

[PATCH 3.8 113/124] ieee802154: Fix memory leak in ieee802154_add_iface()

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Christian Engelmayer [ Upstream commit 267d29a69c6af39445f36102a832b25ed483f299 ] Fix a memory leak in the ieee802154_add_iface() error handling path. Detected by Coverity: CID 710490.

[PATCH 3.8 106/124] mm, oom: base root bonus on current usage

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 778c14affaf94a9e4953179d3e13a544ccce7707 upstream. A 3% of system memory bonus is sometimes too excessive in comparison to other processes. With commit

[PATCH 3.8 067/124] arm: mvebu: fix length of SATA registers area in .dtsi

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni commit 911492de45ccefc2bff4b8e0fb412287ca6fe9d9 upstream. The length of the registers area for the Marvell 370/XP SATA controller was incorrect in the .dtsi: 0x2400

[PATCH 3.8 074/124] turbostat: Use GCC's CPUID functions to support PIC

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Josh Triplett commit 2b92865e648ce04a39fda4f903784a5d01ecb0dc upstream. turbostat uses inline assembly to call cpuid. On 32-bit x86, on systems that have certain security features

[PATCH 3.8 032/124] dm thin: initialize dm_thin_new_mapping returned by get_next_mapping

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 16961b042db8cc5cf75d782b4255193ad56e1d4f upstream. As additional members are added to the dm_thin_new_mapping structure care should be taken to make sure they get

[PATCH 3.8 080/124] hp_accel: Add a new PnP ID HPQ6007 for new HP laptops

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b0ad4ff35d479a46a3b995a299db9aeb097acfce upstream. The DriveGuard chips on the new HP laptops are with a new PnP ID "HPQ6007". It should be compatible with older

[PATCH 3.8 046/124] ALSA: Enable CONFIG_ZONE_DMA for smaller PCI DMA masks

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 80ab8eae70e51d578ebbeb228e0f7a562471b8b7 upstream. The PCI devices with DMA masks smaller than 32bit should enable CONFIG_ZONE_DMA. Since the recent change of page

[PATCH 3.8 070/124] x86: Add check for number of available vectors before CPU down

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Prarit Bhargava commit da6139e49c7cb0f4251265cb5243b8d220adb48d upstream. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64791 When a cpu is downed on a system, the irqs on the

[PATCH 3.8 024/124] USB: pl2303: fix data corruption on termios updates

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 623c8263376c0b8a4b0c220232e7313d762cd0cc upstream. Some PL2303 devices are known to lose bytes if you change serial settings even to the same values as before.

[PATCH 3.8 027/124] USB: cypress_m8: fix ring-indicator detection and reporting

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 440ebadeae9298d7de3d4d105342691841ec88d0 upstream. Fix ring-indicator (RI) status-bit definition, which was defined as CTS, effectively preventing RI-changes from

[PATCH 3.8 119/124] fib_frontend: fix possible NULL pointer dereference

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp [ Upstream commit a0065f266a9b5d51575535a25c15ccbeed9a9966 ] The two commits 0115e8e30d (net: remove delay at device dismantle) and 748e2d9396a (net: reinstate rtnl in

[PATCH 3.8 066/124] ata: sata_mv: fix disk hotplug for Armada 370/XP SoCs

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Lior Amsalem commit 9013d64e661fc2a37a1742670202171c27fef4b5 upstream. On Armada 370/XP SoCs, once a disk is removed from a SATA port, then the re-plug events are not detected by the

[PATCH 3.8 081/124] ASoC: wm5110: Extend SYSCLK patch file for rev D

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Charles Keepax commit 34354792432b6e0a3b156819a1a19716c50d3473 upstream. Latest evaluation of the the device has given some patch file additions for improved performance.

[PATCH 3.8 100/124] drm/radeon/DCE4+: clear bios scratch dpms bit (v2)

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 6802d4bad83f50081b2788698570218aaff8d10e upstream. The BlankCrtc table in some DCE8 boards has some logic shortcuts for the vbios when this bit is set. Clear it for

[PATCH 3.8 099/124] powerpc: Make sure "cache" directory is removed when offlining cpu

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 91b973f90c1220d71923e7efe1e61f5329806380 upstream. The code in remove_cache_dir() is supposed to remove the "cache" subdirectory from the sysfs directory for a

[PATCH 3.8 109/124] drm/nouveau/bios: fix offset calculation for BMPv1 bioses

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin commit 5d2f4767c4eacab351b8450b0de4d3261fe1a957 upstream. The only BIOS on record that needs the 14 offset has a bios major version 2 but BMP version 1.01. Another bunch of

Re: [PATCH v4 0/8] Add Allwinner A20 GMAC ethernet support

2014-02-10 Thread Maxime Ripard
Hi Chen-Yu, On Mon, Feb 10, 2014 at 06:35:46PM +0800, Chen-Yu Tsai wrote: > Hi, > > This is the v4 of the remaining Allwinner A20 GMAC glue layer patches. > The stmmac driver changes have been merged through net-next. The > remaining bits are clock and DT patches. The patches should be applied >

[PATCH 3.8 041/124] dm space map common: make sure new space is used during extend

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit 12c91a5c2d2a8e8cc40a9552313e1e7b0a2d9ee3 upstream. When extending a low level space map we should update nr_blocks at the start so the new space is used for the

[PATCH 3.8 033/124] dm thin: fix discard support to a previously shared block

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Joe Thornber commit 19fa1a6756ed9e92daa9537c03b47d6b55cc2316 upstream. If a snapshot is created and later deleted the origin dm_thin_device's snapshotted_time will have been updated to

[PATCH 3.8 028/124] ALSA: rme9652: fix a missing comma in channel_map_9636_ds[]

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 770bd4bf2e664939a9dacd3d26ec9ff7a3933210 upstream. The lack of comma leads to the wrong channel for an SPDIF channel. Unfortunately this wasn't caught by compiler

[PATCH 3.8 034/124] dm thin: fix set_pool_mode exposed pool operation races

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 8b64e881eb40ac8b9bfcbce068a97eef819044ee upstream. The pool mode must not be switched until after the corresponding pool process_* methods have been established.

[PATCH 3.8 035/124] SELinux: Fix memory leak upon loading policy

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Tetsuo Handa commit 8ed814602876bec9bad2649ca17f34b499357a1c upstream. Hello. I got below leak with linux-3.10.0-54.0.1.el7.x86_64 . [ 681.903890] kmemleak: 5538 new suspected

Re: [PATCH v4 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-10 Thread Maxime Ripard
On Mon, Feb 10, 2014 at 06:35:47PM +0800, Chen-Yu Tsai wrote: > The Allwinner A20/A31 clock module controls the transmit clock source > and interface type of the GMAC ethernet controller. Model this as > a single clock for GMAC drivers to use. > > Signed-off-by: Chen-Yu Tsai Acked-by: Maxime

[PATCH 3.8 071/124] libata: disable LPM for some WD SATA-I devices

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit ecd75ad514d73efc1bbcc5f10a13566c3ace5f53 upstream. For some reason, some early WD drives spin up and down drives erratically when the link is put into slumber mode

[PATCH 3.8 077/124] drm/radeon: fix surface sync in fence on cayman (v2)

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 10e9ffae463396c5a25fdfe8a48d7c98a87f6b85 upstream. We need to set the engine bit to select the ME and also set the full cache bit. Should help stability on TN and

Re: virtio_blk softlockup in block/for-linus

2014-02-10 Thread Jens Axboe
On Mon, Feb 10 2014, Christoph Hellwig wrote: > When running xfstests on Jens' current for-linus tree I see the > softlockup below (which locks the VM hard). I bisected it down to > "blk-mq: Don't reserve a tag for flush request". My recently posted > flush rework also fixes the issue, btw.

Re: [GIT PULL] (xen) stable/for-jens-3.14

2014-02-10 Thread Jens Axboe
On Mon, Feb 10 2014, Konrad Rzeszutek Wilk wrote: > Hey Jens, > > Please git pull the following branch: > > git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git > stable/for-jens-3.14 > > which is based off v3.13-rc6. If you would like me to rebase it on > a different branch/tag I would

overlayfs mounts in user namespaces

2014-02-10 Thread Serge E. Hallyn
Hi Eric, most filesystems cannot be mounted in a non-init user namespace because we don't trust the superblock parsers to DTRT when handed garbage. I was wondering if you had any ideas on ways that allowing root in a non-init userns to mount an overlayfs fs would be dangerous? There's no

[PATCH 3.8 030/124] sunrpc: Fix infinite loop in RPC state machine

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit 6ff33b7dd0228b7d7ed44791bbbc98b03fd15d9d upstream. When a task enters call_refreshresult with status 0 from call_refresh and !rpcauth_uptodatecred(task) it

Re: [PATCH] mfd: omap-usb-tll: allocate correct size for ch_clk

2014-02-10 Thread Lee Jones
> From: Colin Ian King > > ch_clk was erroneously being allocated the incorrect size which > can be problematic for larger sizes of tll->nch > > Signed-off-by: Colin Ian King > --- > drivers/mfd/omap-usb-tll.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH] ARM: dts: OMAP2+: Fix boot with multi_v7_defconfig

2014-02-10 Thread Nishanth Menon
$subject probably needs clarity. On 02/10/2014 12:10 PM, Roger Quadros wrote: > The OMAP EHCI controller is not compatible with the EHCI > platform HCD driver so don't claim that we are. might want to refer to the change in drivers/usb/host/ehci-platform.c that created this regression as well.

Re: [PATCH 0/3] blk-mq: rework I/O completions

2014-02-10 Thread Jens Axboe
On Mon, Feb 10 2014, Christoph Hellwig wrote: > This series reworks how the blk-mq core handles I/O completion. The > prime motivation was that the current code does not work when using > a timeout handler that needs to complete requests after doing error > handling. A fallout from fixing that

[PATCH 3.8 037/124] USB: fix race between hub_disconnect and recursively_mark_NOTATTACHED

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 543d7784b07ffd16cc82a9cb4e1e0323fd0040f1 upstream. There is a race in the hub driver between hub_disconnect() and recursively_mark_NOTATTACHED(). This race can be

[PATCH 3.8 026/124] USB: Nokia 502 is an unusual device

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikhail Zolotaryov commit 0e16114f2db4838251fb64f3b550996ad3585890 upstream. The USB storage operation of Nokia Asha 502 Dual SIM smartphone running Asha Platform 1.1.1 is unreliable

[PATCH 3.8 118/124] s390/bpf,jit: fix 32 bit divisions, use unsigned divide instructions

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens [ Upstream commit 3af57f78c38131b7a66e2b01e06fdacae01992a3 ] The s390 bpf jit compiler emits the signed divide instructions "dr" and "d" for unsigned divisions. This can

[PATCH 3.8 029/124] SUNRPC: don't map EKEYEXPIRED to EACCES in call_refreshresult

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Adamson commit f1ff0c27fd9987c59d707cd1a6b6c1fc3ae0a250 upstream. The NFS layer needs to know when a key has expired. This change also returns -EKEYEXPIRED to the application, and

[PATCH 3.8 022/124] mtd: mxc_nand: remove duplicated ecc_stats counting

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Grzeschik commit 0566477762f9e174e97af347ee9c865f908a5647 upstream. The ecc_stats.corrected count variable will already be incremented in the above framework-layer just after

[PATCH 3.8 020/124] rtc-cmos: Add an alarm disable quirk

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit d5a1c7e3fc38d9c7d629e1e47f32f863acbdec3d upstream. 41c7f7424259f ("rtc: Disable the alarm in the hardware (v2)") added the functionality to disable the RTC wake

[PATCH 3.8 043/124] radeon/pm: Guard access to rdev->pm.power_state array

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Michel=20D=C3=A4nzer?= commit 370169516e736edad3b3c5aa49858058f8b55195 upstream. It's never allocated on systems without an ATOMBIOS or COMBIOS ROM. Should fix an oops I

[PATCH 3.8 038/124] ext4: avoid clearing beyond i_blocks when truncating an inline data file

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 09c455aaa8f47a94d5bafaa23d58365768210507 upstream. A missing cast means that when we are truncating a file which is less than 60 bytes, we don't clear the correct

[PATCH 3.8 072/124] mmc: sdhci: fix lockdep error in tuning routine

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Aisheng Dong commit 2b35bd83467df6f8284b9148d6f768148c3a5e5f upstream. The sdhci_execute_tuning routine gets lock separately by disable_irq(host->irq); spin_lock(>lock); It will cause

[PATCH 3.8 021/124] slub: Fix calculation of cpu slabs

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Li Zefan commit 8afb1474db4701d1ab80cd8251137a3260e6913e upstream. /sys/kernel/slab/:t-048 # cat cpu_slabs 231 N0=16 N1=215 /sys/kernel/slab/:t-048 # cat slabs 145

[PATCH 3.8 068/124] ARM: mvebu: update the SATA compatible string for Armada 370/XP

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Simon Guinot commit a96cc303e42ad7830dde929aad0046e448a05505 upstream. This patch updates the Armada 370/XP SATA node with the new compatible string "marvell,armada-370-sata".

[PATCH 3.8 031/124] tpm/tpm_ppi: Do not compare strcmp(a,b) == -1

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Huewe commit 747d35bd9bb4ae6bd74b19baa5bbe32f3e0cee11 upstream. Depending on the implementation strcmp might return the difference between two strings not only -1,0,1

[PATCH 3.8 025/124] USB: serial: add support for iBall 3.5G connect usb modem

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Rahul Bedarkar commit 7d5c1b9c7cb5ec8e52b1adc65c484a923a8ea6c3 upstream. Add support for iBall 3.5G connect usb modem. $lsusb Bus 002 Device 006: ID 1c9e:9605 OMEGA TECHNOLOGY

[PATCH 3.8 075/124] drm/radeon: disable ss on DP for DCE3.x

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d8e24525094200601236fa64a54cf73e3d682f2e upstream. Seems to cause problems with certain DP monitors. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=40699

[PATCH 3.8 117/124] bpf: do not use reciprocal divide

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit aee636c4809fa54848ff07a899b326eb1f9987a2 ] At first Jakub Zawadzki noticed that some divisions by reciprocal_divide were not correct. (off by one in some

[PATCH 3.8 105/124] mm/mempolicy.c: fix mempolicy printing in numa_maps

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 8790c71a18e5d2d93532ae250bcf5eddbba729cd upstream. As a result of commit 5606e3877ad8 ("mm: numa: Migrate on reference policy"), /proc//numa_maps prints the

[PATCH 3.8 120/124] net: Fix memory leak if TPROXY used with TCP early demux

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Holger Eitzenberger [ Upstream commit a452ce345d63ddf92cd101e4196569f8718ad319 ] I see a memory leak when using a transparent HTTP proxy using TPROXY together with TCP early demux and

[PATCH 3.8 082/124] intel-iommu: fix off-by-one in pagetable freeing

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Williamson commit 08336fd218e087cc4fcc458e6b6dcafe8702b098 upstream. dma_pte_free_level() has an off-by-one error when checking whether a pte is completely covered by a range.

[PATCH 3.8 116/124] tcp: metrics: Avoid duplicate entries with the same destination-IP

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Paasch [ Upstream commit 77f99ad16a07aa062c2d30fae57b1fee456f6ef6 ] Because the tcp-metrics is an RCU-list, it may be that two soft-interrupts are inside __tcp_get_metrics()

[PATCH 3.8 078/124] drm/radeon: set the full cache bit for fences on r7xx+

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit d45b964a22cad962d3ede1eba8d24f5cee7b2a92 upstream. Needed to properly flush the read caches for fences. Signed-off-by: Alex Deucher Signed-off-by: Kamal Mostafa

[PATCH 3.8 089/124] b43: fix the wrong assignment of status.freq in b43_rx()

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: ZHAO Gang commit 64e5acb09ca6b50c97299cff9ef51299470b29f2 upstream. Use the right function to update frequency value. If rx skb is probe response or beacon, the wrong frequency value

[PATCH 3.8 083/124] arch/sh/kernel/kgdb.c: add missing #include

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Wanlong Gao commit 53a52f17d96c8d47c79a7dafa81426317e89c7c1 upstream. arch/sh/kernel/kgdb.c: In function 'sleeping_thread_to_gdb_regs': arch/sh/kernel/kgdb.c:225:32: error:

[PATCH 3.8 064/124] KVM: x86: limit PIT timer frequency

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Tosatti commit 9ed96e87c5748de4c2807ef17e81287c7304186c upstream. Limit PIT timer frequency similarly to the limit applied by LAPIC timer. Reviewed-by: Jan Kiszka

[PATCH 3.8 063/124] dm sysfs: fix a module unload race

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 2995fa78e423d7193f3b57835f6c1c75006a0315 upstream. This reverts commit be35f48610 ("dm: wait until embedded kobject is released before destroying a device") and

[PATCH 3.8 069/124] md/raid5: fix long-standing problem with bitmap handling on write failure.

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 9f97e4b128d2ea90a5f5063ea0ee3b0911f4c669 upstream. Before a write starts we set a bit in the write-intent bitmap. When the write completes we clear that bit if the

[PATCH 3.8 091/124] vfs: Is mounted should be testing mnt_ns for NULL or error.

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 260a459d2e39761fbd39803497205ce1690bc7b1 upstream. A bug was introduced with the is_mounted helper function in commit

[PATCH 3.8 096/124] drm/cirrus: do not attempt to acquire a reservation while in an interrupt handler

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 19d4b72c0c22c14900313f89765c5f7ef0a2718a upstream. Mutexes should not be acquired in interrupt context. While the trylock fastpath is arguably safe on all

[PATCH 3.8 092/124] Btrfs: handle EAGAIN case properly in btrfs_drop_snapshot()

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Wang Shilong commit 90515e7f5d7d24cbb2a4038a3f1b5cfa2921aa17 upstream. We may return early in btrfs_drop_snapshot(), we shouldn't call btrfs_std_err() for this case, fix it.

[PATCH 3.8 052/124] ftrace: Fix synchronization location disabling and freeing ftrace_ops

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit a4c35ed241129dd142be4cadb1e5a474a56d5464 upstream. The synchronization needed after ftrace_ops are unregistered must happen after the callback is

[PATCH 3.8 088/124] drm/i915: VLV2 - Fix hotplug detect bits

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Todd Previte commit 232a6ee9af8adb185640f67fcaaa9014a9aa0573 upstream. Add new definitions for hotplug live status bits for VLV2 since they're in reverse order from the gen4x ones.

[PATCH 3.8 054/124] mwifiex: add missing endian conversion for fw_tsf

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar commit 9795229752c31da0c5f8a7dc4c827665327b52f9 upstream. It is u64 data received from firmware. Little endian to cpu conversion is required here. Signed-off-by:

[PATCH 3.8 056/124] b43: Fix unload oops if firmware is not available

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 0673effd41dba323d6a280ef37b5ef29f3f5a653 upstream. The asyncronous firmware load uses a completion struct to hold firmware processing until the user-space routines

[PATCH 3.8 048/124] mmc: atmel-mci: fix timeout errors in SDIO mode when using DMA

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit 66b512eda74d59b17eac04c4da1b38d82059e6c9 upstream. With some SDIO devices, timeout errors can happen when reading data. To solve this issue, the DMA transfer

[PATCH 3.8 008/124] rtlwifi: rtl8192cu: Fix some code in RF handling

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit e9b0784bb9de3152e787ee779868c626b137fb3b upstream. Signed-off-by: Larry Finger Signed-off-by: John W. Linville Signed-off-by: Kamal Mostafa ---

[PATCH 3.8 042/124] ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit e20970ada3f699c113fe64b04492af083d11a7d8 upstream. The driver defines ADAU1701_SEROCTL_WORD_LEN_16 as 0x10 while it should be b10, so 0x2. This patch fixes

[PATCH 3.8 039/124] USB: ftdi_sio: added CS5 quirk for broken smartcard readers

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Colin Leitner commit c1f15196ac3b541d084dc80a8fbd8a74c6a0bd44 upstream. Genuine FTDI chips support only CS7/8. A previous fix in commit 8704211f65a2 ("USB: ftdi_sio: fixed handling of

[PATCH 3.8 051/124] ftrace: Use schedule_on_each_cpu() as a heavy synchronize_sched()

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt commit 7614c3dc74733dff4b0e774f7a894b9ea6ec508c upstream. The function tracer uses preempt_disable/enable_notrace() for synchronization between reading registered

[PATCH 3.8 004/124] rtlwifi: rtl8192cu: Fix W=1 build warning

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 0b948341f398646b0d59d746800fbbf3656886e7 upstream. When this driver is built with "make W=1", the following warning is output:

[PATCH 3.8 047/124] [media] media: s5p_mfc: remove s5p_mfc_get_node_type() function

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit b80cb8dc4162bc954cc71efec192ed89f2061573 upstream. s5p_mfc_get_node_type() relies on get_index() helper function, which in turn relies on video_device index

[PATCH 3.8 050/124] ftrace: Fix function graph with loading of modules

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit 8a56d7761d2d041ae5e8215d20b4167d8aa93f51 upstream. Commit 8c4f3c3fa9681 "ftrace: Check module functions being traced on reload" fixed module loading

[PATCH 3.8 003/124] KVM: s390: fix diagnose code extraction

2014-02-10 Thread Kamal Mostafa
3.8.13.18 -stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit 743db27c526e0f31cc507959d662e97e2048a86f upstream. The diagnose code to be used is the contents of the base register (if not zero), plus the displacement. The

[3.8.y.z extended stable] Linux 3.8.13.18 stable review

2014-02-10 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.8.13.18 stable kernel. This version contains 124 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch:

Re: [PATCH 1/2] mm/vmalloc: export is_vmalloc_or_module_addr

2014-02-10 Thread Andy Lutomirski
On 02/08/2014 02:24 PM, Linus Torvalds wrote: > On Sat, Feb 8, 2014 at 12:44 PM, Richard Yao wrote: >> >> However, is_vmalloc_addr() only applies to the vmalloc region. While all >> architectures load kernel modules into virtual memory (to my knowledge), >> some architectures do not load them

Re: lockdep: strange %s#5 lock name

2014-02-10 Thread Peter Zijlstra
On Mon, Feb 10, 2014 at 09:19:43PM +0200, Tommi Rantala wrote: > Hello, > > Noticed a suspicious "%s#5" lock name in a lockdep splat while fuzzing > with trinity. > > [249844.531638] #0: (%s#5){.+.+.+}, at: [] > process_one_work+0x240/0x690 Lol.. its correct afaict: struct workqueue_struct

Re: [PATCH 26/51] x86, oprofile, nmi: Fix CPU hotplug callback registration

2014-02-10 Thread Gautham R Shenoy
On Tue, Feb 11, 2014 at 12:37:37AM +0530, Gautham R Shenoy wrote: > Hi, > > On Thu, Feb 06, 2014 at 03:39:22AM +0530, Srivatsa S. Bhat wrote: > > Fix the oprofile code in x86 by using this latter form of callback > > registration. But retain the calls to get/put_online_cpus(), since they > > also

Re: [PATCHv4 0/7] omap hwspinlock dt support

2014-02-10 Thread Suman Anna
Mark, On 01/13/2014 06:19 PM, Suman Anna wrote: Hi, This is an updated series mainly addressing Mark Rutland's comments about hwlock specifier being always one-cell. The series adds the support for #hwlock-cells property and adds a simple default OF translate function. The DTS patches from

[PATCH 01/21] perf c2c: Shared data analyser

2014-02-10 Thread Don Zickus
From: Arnaldo Carvalho de Melo This is the start of a new perf tool that will collect information about memory accesses and analyse it to find things like hot cachelines, etc. This is basically trying to get a prototype written by Richard Fowles written using the tools/perf coding style and

[PATCH 02/21] perf c2c: Dump raw records, decode data_src bits

2014-02-10 Thread Don Zickus
From: Arnaldo Carvalho de Melo >From the c2c prototype: [root@sandy ~]# perf c2c -r report | head -7 T StatusPid Tid CPU Inst Adrs Virt Data Adrs Phys Data Adrs Cycles Source Decoded SourceObJect:Symbol

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