[PATCH 3.13.y-ckt 084/143] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 0f792cf949a0be506c2aa8bfac0605746b146dda upstream. When running the test which causes the race as shown in the previous patch, we can hit the BUG "get_page()

[PATCH 3.13.y-ckt 102/143] jffs2: fix handling of corrupted summary length

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Chen Jie commit 164c24063a3eadee11b46575c5482b2f1417be49 upstream. sm->offset maybe wrong but magic maybe right, the offset do not have CRC. Badness at c00c7580 [verbose debug info

Re: [PATCH v3] net: sysctl for RA default route MTU

2015-03-31 Thread David Miller
From: Roman Gushchin Date: Mon, 30 Mar 2015 15:30:57 +0300 > This patch introduces new ipv6 sysctl: ra_default_route_mtu. > If it's set (> 0), it defines per-route MTU for any new default route > received by RA. > > This sysctl will help in the following configuration: we want to use > jumbo-fra

[PATCH 3.13.y-ckt 080/143] cpufreq: speedstep-smi: enable interrupts when waiting

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit d4d4eda23794c701442e55129dd4f8f2fefd5e4d upstream. On Dell Latitude C600 laptop with Pentium 3 850MHz processor, the speedstep-smi driver sometimes loads and

[PATCH 3.13.y-ckt 103/143] dm mirror: do not degrade the mirror on discard error

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit f2ed51ac64611d717d1917820a01930174c2f236 upstream. It may be possible that a device claims discard support but it rejects discards with -EOPNOTSUPP. It happe

[PATCH 3.13.y-ckt 111/143] IB/qib: Do not write EEPROM

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Mitko Haralanov commit 18c0b82a3e4501511b08d0e8676fb08ac08734a3 upstream. This changeset removes all the code that allows the driver to write to the EEPROM and update the recorded e

[PATCH 3.13.y-ckt 082/143] mm: cleanup follow_page_mask()

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: "Kirill A. Shutemov" commit 69e68b4f03135da4a09d1215a3942d7dabd1075b upstream. Cleanups: - move pte-related code to separate function. It's about half of the function; - get ri

[PATCH 3.13.y-ckt 106/143] target: Check for LBA + sectors wrap-around in sbc_parse_cdb

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit aa179935edea9a64dec4b757090c8106a3907ffa upstream. This patch adds a check to sbc_parse_cdb() in order to detect when an LBA + sector vs. end-of-device cal

[PATCH 3.13.y-ckt 104/143] dm io: reject unsupported DISCARD requests with EOPNOTSUPP

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" commit 37527b869207ad4c208b1e13967d69b8bba1fbf9 upstream. I created a dm-raid1 device backed by a device that supports DISCARD and another device that does NOT sup

[PATCH 3.13.y-ckt 096/143] mm: hwpoison: drop lru_add_drain_all() in __soft_offline_page()

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 9ab3b598d2dfbdb0153ffa7e4b1456bbff59a25d upstream. A race condition starts to be visible in recent mmotm, where a PG_hwpoison flag is set on a migration sourc

[PATCH 3.13.y-ckt 105/143] target: Add missing WRITE_SAME end-of-device sanity check

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 8e575c50a171f2579e367a7f778f86477dfdaf49 upstream. This patch adds a check to sbc_setup_write_same() to verify the incoming WRITE_SAME LBA + number of bloc

[PATCH 3.13.y-ckt 114/143] dm snapshot: fix a possible invalid memory access on unload

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 22aa66a3ee5b61e0f4a0bfeabcaa567861109ec3 upstream. When the snapshot target is unloaded, snapshot_dtr() waits until pending_exceptions_count drops to zero. T

[PATCH 3.13.y-ckt 108/143] Added Little Endian support to vtpm module

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: honclo commit eb71f8a5e33fa1066fb92f0111ab366a341e1f6c upstream. The tpm_ibmvtpm module is affected by an unaligned access problem. ibmvtpm_crq_get_version failed with rc=-4 during

[PATCH 3.13.y-ckt 110/143] sg: fix read() error reporting

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Tony Battersby commit 3b524a683af8991b4eab4182b947c65f0ce1421b upstream. Fix SCSI generic read() incorrectly returning success after detecting an error. Signed-off-by: Tony Batters

[PATCH 3.13.y-ckt 112/143] md/raid5: Fix livelock when array is both resyncing and degraded.

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 26ac107378c4742978216be1005b7291b799c7b2 upstream. Commit a7854487cd7128a30a7f4f5259de9f67d5efb95f: md: When RAID5 is dirty, force reconstruct-write instead of re

[PATCH 3.13.y-ckt 107/143] Btrfs: fix fsync data loss after adding hard link to inode

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 1a4bcf470c886b955adf36486f4c86f2441d85cb upstream. We have a scenario where after the fsync log replay we can lose file data that had been previously fsync'ed i

[PATCH 3.13.y-ckt 109/143] fixed invalid assignment of 64bit mask to host dma_boundary for scatter gather segment boundary limit.

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Minh Duc Tran commit f76a610a8b4b6280eaedf48f3af9d5d74e418b66 upstream. In reference to bug https://bugzilla.redhat.com/show_bug.cgi?id=1097141 Assert is seen with AMD cpu whenever

[PATCH 3.13.y-ckt 116/143] libceph: assert both regular and lingering lists in __remove_osd()

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 7c6e6fc53e7335570ed82f77656cedce1502744e upstream. It is important that both regular and lingering requests lists are empty when the OSD is removed. Signed-off-

[PATCH 3.13.y-ckt 113/143] dm: fix a race condition in dm_get_md

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 2bec1f4a8832e74ebbe859f176d8a9cb20dd97f4 upstream. The function dm_get_md finds a device mapper device with a given dev_t, increases the reference count and r

[PATCH 3.13.y-ckt 089/143] mm: when stealing freepages, also take pages created by splitting buddy page

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit 99592d598eca62bdbbf62b59941c189176dfc614 upstream. When studying page stealing, I noticed some weird looking decisions in try_to_steal_freepages(). The first

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-03-31 Thread Javier Martinez Canillas
Hello Abhilash, On 03/31/2015 04:38 PM, Abhilash Kesavan wrote: > javier.marti...@collabora.co.uk> wrote: >> On 03/30/2015 06:07 PM, Tomasz Figa wrote: >> > >> > If look-up speed is important here, maybe all the relevant clocks >> > could be looked up once at initialization time and just prepared

[PATCH 3.13.y-ckt 117/143] libceph: change from BUG to WARN for __remove_osd() asserts

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit cc9f1f518cec079289d11d732efa490306b1ddad upstream. No reason to use BUG_ON for osd request list assertions. Signed-off-by: Ilya Dryomov Reviewed-by: Alex Elder

[PATCH 3.13.y-ckt 115/143] cpufreq: s3c: remove incorrect __init annotations

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 61882b63171736571e1139ab5aa929e3bb336016 upstream. The two functions s3c2416_cpufreq_driver_init and s3c_cpufreq_register are marked init but are called from a

[PATCH 3.13.y-ckt 118/143] libceph: fix double __remove_osd() problem

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 7eb71e0351fbb1b242ae70abb7bb17107fe2f792 upstream. It turns out it's possible to get __remove_osd() called twice on the same OSD. That doesn't sit well with rb_

[PATCH 3.13.y-ckt 126/143] clk-gate: fix bit # check in clk_register_gate()

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit 2e9dcdae4068460c45a308dd891be5248260251c upstream. In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # should be no higher than 15,

[PATCH 3.13.y-ckt 095/143] mm/memory.c: actually remap enough memory

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit 9cb12d7b4ccaa976f97ce0c5fd0f1b6a83bc2a75 upstream. For whatever reason, generic_access_phys() only remaps one page, but actually allows to access arbitrary

[PATCH 3.13.y-ckt 121/143] blk-throttle: check stats_cpu before reading it from sysfs

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Thadeu Lima de Souza Cascardo commit 045c47ca306acf30c740c285a77a4b4bda6be7c5 upstream. When reading blkio.throttle.io_serviced in a recently created blkio cgroup, it's possible to

[PATCH 3.13.y-ckt 125/143] ipv6: fix ipv6_cow_metrics for non DST_HOST case

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Martin KaFai Lau commit 3b4711757d7903ab6fa88a9e7ab8901b8227da60 upstream. ipv6_cow_metrics() currently assumes only DST_HOST routes require dynamic metrics allocation from inetpeer

Re: [PATCH] powerpc/83xx: add support for mpc8306

2015-03-31 Thread Filip Brozović
On 3/31/2015 7:54 PM, Scott Wood wrote: This breaks multiplatform support. You need to determine this at runtime. Understood, but I'm unsure of how to do this exactly. Would it be appropriate to define another array, snum_init_14, with the SNUM values for the MPC8306 QE, change the minimum n

[PATCH 3.13.y-ckt 138/143] md/raid1: fix read balance when a drive is write-mostly.

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hodek?= commit d1901ef099c38afd11add4cfb3312c02ef21ec4a upstream. When a drive is marked write-mostly it should only be the target of reads if there is n

[PATCH 3.13.y-ckt 137/143] metag: Fix KSTK_EIP() and KSTK_ESP() macros

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit c2996cb29bfb73927a79dc96e598a718e843f01a upstream. The KSTK_EIP() and KSTK_ESP() macros should return the user program counter (PC) and stack pointer (A0StP) of t

[PATCH 3.13.y-ckt 140/143] drm/radeon: fix 1 RB harvest config setup for TN/RL

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit dbfb00c3e7e18439f2ebf67fe99bf7a50b5bae1e upstream. The logic was reversed from what the hw actually exposed. Fixes graphics corruption in certain harvest configu

[PATCH 3.13.y-ckt 133/143] xfs: Fix quota type in quota structures when reusing quota file

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit dfcc70a8c868fe03276fa59864149708fb41930b upstream. For filesystems without separate project quota inode field in the superblock we just reuse project quota file for

[PATCH 3.13.y-ckt 134/143] gpiolib: of: allow of_gpiochip_find_and_xlate to find more than one chip per node

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Hans Holmberg commit 9cf75e9e4ddd587ac12e88e8751c358b7b27e95f upstream. The change: 7b8792bbdffdff3abda704f89c6a45ea97afdc62 gpiolib: of: Correct error handling in of_get_named_gpi

[PATCH 3.13.y-ckt 136/143] ALSA: pcm: Don't leave PREPARED state after draining

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 70372a7566b5e552dbe48abdac08c275081d8558 upstream. When a PCM draining is performed to an empty stream that has been already in PREPARED state, the current code

[PATCH 3.13.y-ckt 135/143] gpio: tps65912: fix wrong container_of arguments

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Saenz Julienne commit 2f97c20e5f7c3582c7310f65a04465bfb0fd0e85 upstream. The gpio_chip operations receive a pointer the gpio_chip struct which is contained in the driver's p

[PATCH 3.13.y-ckt 130/143] ALSA: hda - Add one more node in the EAPD supporting candidate list

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit af95b41426e0b58279f8ff0ebe420df49a4e96b8 upstream. We have a HP machine which use the codec node 0x17 connecting the internal speaker, and from the node capability,

[PATCH 3.13.y-ckt 132/143] drm/i915/bdw: PCI IDs ending in 0xb are ULT.

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Rodrigo Vivi commit 0dc6f20b9803f09726bbb682649d35cda8ef5b5d upstream. When reviewing patch that fixes VGA on BDW Halo Jani noticed that we also had other ULT IDs that weren't liste

[PATCH V3 linux-next] checkpatch: don't ask for asm/file.h to linux/file.h unconditionally

2015-03-31 Thread Fabian Frederick
Currently checkpatch warns when asm/file.h is included and linux/file.h exists. That conversion can be made when linux/file.h includes asm/file.h which is not always the case.(See signal.h) Signed-off-by: Fabian Frederick --- V3: Only grep when $root/$checkfile exists (suggested by Joe Pe

[PATCH 3.13.y-ckt 129/143] pinctrl: pinctrl-imx: don't use invalid value of conf_reg

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= commit 4ff0f034e95d65f8f063a362dfcf86e986377a82 upstream. The right check for conf_reg to be invalid it testing against -1 not 0 as is done in th

[PATCH 3.13.y-ckt 127/143] ALSA: off by one bug in snd_riptide_joystick_probe()

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit e4940626defdf6c92da1052ad3f12741c1a28c90 upstream. The problem here is that we check: if (dev >= SNDRV_CARDS) Then we increment "dev". if (!jo

[PATCH 3.13.y-ckt 128/143] ath5k: fix spontaneus AR5312 freezes

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Sergey Ryazanov commit 8bfae4f9938b6c1f033a5159febe97e441d6d526 upstream. Sometimes while CPU have some load and ath5k doing the wireless interface reset the whole WiSoC completely

[PATCH 3.13.y-ckt 139/143] drm/radeon: use drm_mode_vrefresh() rather than mode->vrefresh

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 3d2d98ee1af0cf6eebfbd6bff4c17d3601ac1284 upstream. Just in case it hasn't been calculated for the mode. Signed-off-by: Alex Deucher Signed-off-by: Kamal Mostaf

[PATCH 3.13.y-ckt 131/143] ALSA: hda - Add pin configs for ASUS mobo with IDT 92HD73XX codec

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 6426460e5d87810e042962281fe3c1e8fc256162 upstream. BIOS doesn't seem to set up pins for 5.1 and the SPDIF out, so we need to give explicitly here. Reported-and-

[PATCH 3.13.y-ckt 143/143] HID: i2c-hid: Limit reads to wMaxInputLength bytes for input events

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee commit 6d00f37e49d95e640a3937a4a1ae07dbe92a10cb upstream. d1c7e29e8d27 (HID: i2c-hid: prevent buffer overflow in early IRQ) changed hid_get_input() to read ihid->bufsiz

[PATCH v2 3/6] virtio_ccw: support non-legacy balloon devices

2015-03-31 Thread Michael S. Tsirkin
virtio_device_is_legacy_only is always false now, drop the test from virtio ccw. Signed-off-by: Michael S. Tsirkin --- drivers/s390/kvm/virtio_ccw.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c index

[PATCH v2 2/6] virtio: balloon might not be a legacy device

2015-03-31 Thread Michael S. Tsirkin
We added transitional device support to balloon driver, so we don't need to black-list it in core anymore. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 5ce

[PATCH v2 5/6] virtio_pci: support non-legacy balloon devices

2015-03-31 Thread Michael S. Tsirkin
virtio_device_is_legacy_only is always false now, drop the test from virtio pci. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_pci_modern.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 2aa38e5..

[PATCH v2 1/6] virtio_balloon: transitional interface

2015-03-31 Thread Michael S. Tsirkin
Virtio 1.0 doesn't include a modern balloon device. But it's not a big change to support a transitional balloon device: this has the advantage of supporting existing drivers, transparently. Signed-off-by: Michael S. Tsirkin --- include/uapi/linux/virtio_balloon.h | 11 +-- drivers/virtio

[PATCH v2 4/6] virtio_mmio: support non-legacy balloon devices

2015-03-31 Thread Michael S. Tsirkin
virtio_device_is_legacy_only is always false now, drop the test from virtio mmio. Signed-off-by: Michael S. Tsirkin Acked-by: Pawel Moll --- drivers/virtio/virtio_mmio.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index

[PATCH v2 0/6] virtio_balloon: virtio 1 support

2015-03-31 Thread Michael S. Tsirkin
Virtio 1.0 doesn't include a modern balloon device. At some point we'll likely define an incompatible interface with a different ID. But for now, it's not a big effort to support a transitional balloon device: this has the advantage of supporting existing drivers, transparently, as well as transp

[PATCH v2 6/6] virtio: drop virtio_device_is_legacy_only

2015-03-31 Thread Michael S. Tsirkin
virtio_device_is_legacy_only is now unused, drop it from core. Signed-off-by: Michael S. Tsirkin --- include/linux/virtio.h | 2 -- drivers/virtio/virtio.c | 6 -- 2 files changed, 8 deletions(-) diff --git a/include/linux/virtio.h b/include/linux/virtio.h index 28f0e65..8f4d4bf 100644 ---

[PATCH 3.13.y-ckt 142/143] nilfs2: fix potential memory overrun on inode

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit 957ed60b53b519064a54988c4e31e0087e47d091 upstream. Each inode of nilfs2 stores a root node of a b-tree, and it turned out to have a memory overrun issue: Eac

[PATCH 3.13.y-ckt 141/143] arm64: compat Fix siginfo_t -> compat_siginfo_t conversion on big endian

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Catalin Marinas commit 9d42d48a342aee208c1154696196497fdc556bbf upstream. The native (64-bit) sigval_t union contains sival_int (32-bit) and sival_ptr (64-bit). When a compat applic

Re: [PATCH 4/6] virtio_mmio: support non-legacy balloon devices

2015-03-31 Thread Michael S. Tsirkin
On Tue, Mar 31, 2015 at 01:31:35PM +0100, Pawel Moll wrote: > On Mon, 2015-03-30 at 18:37 +0100, Michael S. Tsirkin wrote: > > virtio_device_is_legacy_only is always false now, > > drop the test from virtio mmio. > > > > Signed-off-by: Michael S. Tsirkin > > Slightly ironic ack ;-) after all the

[PATCH 3.13.y-ckt 124/143] pktgen: fix UDP checksum computation

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit 7744b5f3693cc06695cb9d6667671c790282730f upstream. This patch fixes two issues in UDP checksum computation in pktgen. First, the pseudo-header uses the sourc

[PATCH 3.13.y-ckt 119/143] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan [ Upstream commit 3ce465e04bfd8de9956d515d6e9587faac3375dc ] Export the _save_fp asm function used by the lose_fpu(1) macro to GPL modules so that KVM can make use of it

Re: [PATCH v4 12/15] Add optional parameters to QMP command query-cpu-definitions

2015-03-31 Thread Eric Blake
On 03/31/2015 01:46 PM, Eduardo Habkost wrote: > On Mon, Mar 30, 2015 at 04:28:25PM +0200, Michael Mueller wrote: > [...] >> ## >> # @query-cpu-definitions: >> # >> # Return a list of supported virtual CPU definitions >> # >> +# @machine: #optional machine type (since 2.4) >> +# >> +# @accel:

[PATCH 3.13.y-ckt 123/143] autofs4 copy_dev_ioctl(): keep the value of ->size we'd used for allocation

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0a280962dc6e117e0e4baa668453f753579265d9 upstream. X-Coverup: just ask spender Signed-off-by: Al Viro Signed-off-by: Kamal Mostafa --- fs/autofs4/dev-ioctl.c | 8 +

[PATCH 3.13.y-ckt 120/143] kdb: fix incorrect counts in KDB summary command output

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Jay Lan commit 146755923262037fc4c54abc28c04b1103f3cc51 upstream. The output of KDB 'summary' command should report MemTotal, MemFree and Buffers output in kB. Current codes report

[PATCH 3.13.y-ckt 097/143] ALSA: hda - enable mute led quirk for one more hp machine.

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 7976eb49cbd138d8014fa02682d8f969ad1e9ff2 upstream. Otherwise, the mute led can't work at all. Tested-by: Taihsiang Ho BugLink: https://bugs.launchpad.net/bugs/1410

[PATCH 3.13.y-ckt 122/143] procfs: fix race between symlink removals and traversals

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 7e0e953bb0cf649f93277ac8fb67ecbb7f7b04a9 upstream. use_pde()/unuse_pde() in ->follow_link()/->put_link() resp. Signed-off-by: Al Viro Signed-off-by: Kamal Mostafa

[PATCH 3.13.y-ckt 048/143] clk: zynq: Force CPU_2X clock to be ungated

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Soren Brinkmann commit 3dccfecdb867fe35b305a4e493ef5652b7d9d4cb upstream. The CPU_2X clock does not have a classical in-kernel user, but is, amongst other things, required for OCM a

[PATCH 3.13.y-ckt 046/143] PCI: Fix infinite loop with ROM image of size 0

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Michel=20D=C3=A4nzer?= commit 16b036af31e1456cb69243a5a0c9ef801ecd1f17 upstream. If the image size would ever read as 0, pci_get_rom_size() could keep processing the same

[3.13.y-ckt stable] Linux 3.13.11-ckt18 stable review

2015-03-31 Thread Kamal Mostafa
This is the start of the review cycle for the Linux 3.13.11-ckt18 stable kernel. This version contains 143 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.13.y-re

Re: [PATCH v4 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs

2015-03-31 Thread Ben Gamari
Andreas Färber writes: > Hello, > > This series adds a dedicated ODROID-XU device tree and enhances it with > LED configuration, to match the downstream 3.14 based behavior. > Any word on merging this? Cheers, - Ben pgp362BgH0_z0.pgp Description: PGP signature

[PATCH 3.13.y-ckt 001/143] quota: Store maximum space limit in bytes

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit b10a08194c2b615955dfab2300331a90ae9344c7 upstream. Currently maximum space limit quota format supports is in blocks however since we store space limits in bytes, thi

[PATCH 3.13.y-ckt 014/143] ARM: pxa: add regulator_has_full_constraints to corgi board file

2015-03-31 Thread Kamal Mostafa
3.13.11-ckt18 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 271e80176aae4e5b481f4bb92df9768c6075bbca upstream. Add regulator_has_full_constraints() call to corgi board file to let regulator core know that we do

Re: [PATCH 2/2] kselftests: timers: Reduce default runtime on inconsistency-check and set-timer-lat

2015-03-31 Thread Shuah Khan
On 03/31/2015 10:01 AM, Shuah Khan wrote: > On 03/26/2015 10:20 AM, John Stultz wrote: >> On Thu, Mar 26, 2015 at 4:32 AM, Prarit Bhargava wrote: >>> On 03/25/2015 07:44 PM, John Stultz wrote: For the default run_timers target, the timers tests takes the majority of kselftests runtime. >

Re: [PATCH v4 12/15] Add optional parameters to QMP command query-cpu-definitions

2015-03-31 Thread Eduardo Habkost
On Mon, Mar 30, 2015 at 04:28:25PM +0200, Michael Mueller wrote: [...] > ## > # @query-cpu-definitions: > # > # Return a list of supported virtual CPU definitions > # > +# @machine: #optional machine type (since 2.4) > +# > +# @accel: #optional accelerator id (since 2.4) > +# > # Returns: a l

Re: [Linux-nvdimm] [PATCH 4/6] SQUSHME: pmem: Micro cleaning

2015-03-31 Thread Matthew Wilcox
On Tue, Mar 31, 2015 at 06:43:40PM +0300, Boaz Harrosh wrote: > But not here. This is not an optimization this is the *error path*. > What I'm saying is: > "No compiler nor CPU, even if 99% of the time this branch is taken > I still consider it cold. Because it is the error case and

Re: [PATCH] workqueue: avoid nohz_full cores

2015-03-31 Thread Tejun Heo
Hello, Chris. On Tue, Mar 31, 2015 at 03:25:59PM -0400, cmetc...@ezchip.com wrote: > From: Chris Metcalf > > When queuing work, we should avoid queuing it on the local cpu if > we are using WORK_CPU_UNBOUND and the local cpu is nohz_full, since > the workqueue will mean a later interrupt of the

Re: [PATCH 1/4] watchdog: imgpdc: Fix NULL pointer dereference on probe

2015-03-31 Thread Andrew Bresticker
On Tue, Mar 31, 2015 at 11:49 AM, Andrew Bresticker wrote: > From: Naidu Tellapati > > pdc_wdt_probe() called pdc_wdt_stop() before watchdog_set_drvdata(), > resulting in the following NULL pointer dereference: > > CPU 0 Unable to handle kernel paging request at virtual address 008c, > epc

Re: linux-next: build warning after merge of the char-misc tree

2015-03-31 Thread Fabian Frederick
> On 27 March 2015 at 08:48 Stephen Rothwell wrote: > > > Hi all, > > After merging the char-misc tree, today's linux-next build (powerpc > allyesconfig) produced this warning: > > In file included from include/linux/module.h:17:0, >                  from drivers/uio/uio_pdrv_genirq.c:21: > incl

Re: [PATCH 2/4] watchdog: imgpdc: Intialize timeout to default value

2015-03-31 Thread Andrew Bresticker
On Tue, Mar 31, 2015 at 12:02 PM, Guenter Roeck wrote: > On 03/31/2015 11:49 AM, Andrew Bresticker wrote: >> >> From: Naidu Tellapati >> >> Currently the watchdog timeout is initialized to 0. Initialize it to >> its default value instead. >> >> Signed-off-by: Naidu Tellapati >> Signed-off-by: A

[PATCH] workqueue: avoid nohz_full cores

2015-03-31 Thread cmetcalf
From: Chris Metcalf When queuing work, we should avoid queuing it on the local cpu if we are using WORK_CPU_UNBOUND and the local cpu is nohz_full, since the workqueue will mean a later interrupt of the nohz_full process that presumably would prefer continuing to have 100% of the core without int

Re: [PATCH V2] Staging: rtl8192 Clean up function definition

2015-03-31 Thread Eddie Kovsky
On Tue, Mar 31, 2015 at 10:14:54AM +0300, Dan Carpenter wrote: > On Mon, Mar 30, 2015 at 05:05:36PM -0600, Eddie Kovsky wrote: > > Change function definition to static, move the function further up in > > the file, and delete the function prototype. > > > > This fixes the following warning generat

Re: [PATCH v2 2/2] spi: fsl-dspi: Add ~50ns delay between cs and sck

2015-03-31 Thread Aaron Brice
On 03/30/2015 03:13 PM, Stefan Agner wrote: Hi Aaron, Thanks for the fixes! Some comments below: Thanks for the review! On 2015-03-30 19:49, Aaron Brice wrote: Add delay between chip select and clock signals, before clock starts and after clock stops. This 50ns are specifc to the SPI sla

Re: [PATCH] lfsr: a simple binary Galois linear feedback shift register

2015-03-31 Thread Shuah Khan
On 03/31/2015 11:28 AM, Waiman Long wrote: > This patch is based on the code sent out by Peter Zijstra as part > of his queue spinlock patch to provide a hashing function with open > addressing. The lfsr() function can be used to return a sequence of > numbers that cycle through all the bit patter

Re: [PATCH] c6x: platforms: cache: Export symbol L1P_cache_block_invalidate and L1D_cache_block_writeback

2015-03-31 Thread Chen Gang
On 3/27/15 05:31, Chen Gang wrote: > On 3/26/15 22:58, Mark Salter wrote: >> On Wed, 2015-03-04 at 15:05 +0800, Chen Gang wrote: >>> They are needed by other modules, the related error with allmodconfig: >>> >>> MODPOST 3327 modules >>> ERROR: "L1P_cache_block_invalidate" [drivers/misc/lkdtm.

Re: [PATCH] c6x: platforms: cache: Export symbol L1P_cache_block_invalidate and L1D_cache_block_writeback

2015-03-31 Thread Chen Gang
On 3/27/15 05:31, Chen Gang wrote: > On 3/26/15 22:58, Mark Salter wrote: >> On Wed, 2015-03-04 at 15:05 +0800, Chen Gang wrote: >>> They are needed by other modules, the related error with allmodconfig: >>> >>> MODPOST 3327 modules >>> ERROR: "L1P_cache_block_invalidate" [drivers/misc/lkdtm.

Re: [PATCH V2] checkpatch: don't ask for asm/file.h to linux/file.h unconditionally

2015-03-31 Thread Joe Perches
On Tue, 2015-03-31 at 21:06 +0200, Fabian Frederick wrote: > Currently checkpatch warns when asm/file.h is included and linux/file.h > exists. That conversion can be made when linux/file.h includes asm/file.h > which is not always the case.(See signal.h) [] > diff --git a/scripts/checkpatch.pl b/sc

Re: [PATCH 7/9 net-next] sunrpc: replace if/BUG by BUG_ON

2015-03-31 Thread Julia Lawall
On Tue, 31 Mar 2015, Fabian Frederick wrote: > > > > On 30 March 2015 at 23:25 "J. Bruce Fields" wrote: > > > > > > Huh, I thought this wasn't recommended: > > > >       http://lkml.kernel.org/r/20040828125816.206ef7fa.a...@osdl.org > > > >       "I'd prefer that we not move code which has si

Re: [RFC 1/1 linux-next] checkpatch: don't ask for asm/file.h to linux/file.h unconditionally

2015-03-31 Thread Fabian Frederick
> On 30 March 2015 at 22:49 Joe Perches wrote: > > > On Mon, 2015-03-30 at 22:36 +0200, Fabian Frederick wrote: > > Currently checkpatch warns when asm/file.h is included and linux/file.h > > exists. That conversion can be made when linux/file.h includes asm/file.h > > which is not always the ca

[PATCH V2] checkpatch: don't ask for asm/file.h to linux/file.h unconditionally

2015-03-31 Thread Fabian Frederick
Currently checkpatch warns when asm/file.h is included and linux/file.h exists. That conversion can be made when linux/file.h includes asm/file.h which is not always the case.(See signal.h) Signed-off-by: Fabian Frederick --- V2: Apply suggestions by Joe Perches: -Remove superfluo

Re: [PATCH] checkpatch/SubmittingPatches: Suggest line wrapping commit messages at 72 columns

2015-03-31 Thread David Miller
From: Joe Perches Date: Tue, 31 Mar 2015 11:40:25 -0700 > Commit messages are sometimes overly long. > Suggest line wrapping at 72 columns. > > Add a checkpatch test for long commit messages as well. > > Signed-off-by: Joe Perches Acked-by: David S. Miller -- To unsubscribe from this list: s

Re: [PATCH 32/35 linux-next] clk: constify of_device_id array

2015-03-31 Thread Fabian Frederick
> On 27 March 2015 at 08:19 Stephen Boyd wrote: > > > On 03/22, Fabian Frederick wrote: > > > > > > > On 18 March 2015 at 15:15 Michael Turquette wrote: > > > > > > > > > Quoting Fabian Frederick (2015-03-16 12:59:06) > > > > of_device_id is always used as const. > > > > (See driver.of_match_ta

Re: [PATCH 2/4] watchdog: imgpdc: Intialize timeout to default value

2015-03-31 Thread Guenter Roeck
On 03/31/2015 11:49 AM, Andrew Bresticker wrote: From: Naidu Tellapati Currently the watchdog timeout is initialized to 0. Initialize it to its default value instead. Signed-off-by: Naidu Tellapati Signed-off-by: Andrew Bresticker Cc: Ezequiel Garcia --- drivers/watchdog/imgpdc_wdt.c | 2

Re: [PATCH 7/9 net-next] sunrpc: replace if/BUG by BUG_ON

2015-03-31 Thread Fabian Frederick
> On 30 March 2015 at 23:25 "J. Bruce Fields" wrote: > > > Huh, I thought this wasn't recommended: > >       http://lkml.kernel.org/r/20040828125816.206ef7fa.a...@osdl.org > >       "I'd prefer that we not move code which has side-effects into >       BUG_ONs" Thanks for the link, I wasn't awar

Re: [PATCH] x86: add ASRock Q1900DC-ITX mainboard reboot quirk

2015-03-31 Thread Stefan Lippers-Hollmann
Hi On 2015-03-31, Ingo Molnar wrote: > * Stefan Lippers-Hollmann wrote: [...] > > Searching the web seems to suggest that other Bay Trail-D mainboards > > might be affected as well. > > Is the pattern: > > > + .ident = "ASRock Q1900DC-ITX", > > + .matches = { > > +

Re: [PATCH V2 3/3] pinctrl: Add Pistachio SoC pin control driver

2015-03-31 Thread Paul Bolle
Hi Andrew, On Tue, 2015-03-31 at 11:37 -0700, Andrew Bresticker wrote: > I have no immediate plans to make this a module, but since the changes > to make it buildable as a module have no overhead (at least I think > they don't!) I'd prefer to leave them in for consistency and to > eliminate any ne

Re: sched: Improve load balancing in the presence of idle CPUs

2015-03-31 Thread Jason Low
On Tue, 2015-03-31 at 14:07 +0530, Preeti U Murthy wrote: > Hi Jason, > > On 03/31/2015 12:25 AM, Jason Low wrote: > > Hi Preeti, > > > > I noticed that another commit 4a725627f21d converted the check in > > nohz_kick_needed() from idle_cpu() to rq->idle_balance, causing a > > potentially outdate

usb: gadget: f_fs: O_NONBLOCK waits MAX_SCHEDULE_TIMEOUT

2015-03-31 Thread Baxter, Jim
Hi, I have been looking at an issue where a phone that is the Function FS host sometimes locks up and causes the function: static ssize_t ffs_epfile_io(struct file *file, struct ffs_io_data *io_data) in drivers/usb/gadget/function/f_fs.c to timeout after MAX_SCHEDULE_TIMEOUT jiffies. We are openi

[PATCH V2 linux-next] clk: constify of_device_id array

2015-03-31 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) __initdata updated to __initconst for static const struct of_device_id ti_clkdm_match_table[] Signed-off-by: Fabian Frederick --- V2: add __initdata -> __initconst in changelog drivers/clk/clk-palmas.

[PATCH 1/4] watchdog: imgpdc: Fix NULL pointer dereference on probe

2015-03-31 Thread Andrew Bresticker
From: Naidu Tellapati pdc_wdt_probe() called pdc_wdt_stop() before watchdog_set_drvdata(), resulting in the following NULL pointer dereference: CPU 0 Unable to handle kernel paging request at virtual address 008c, epc == 8082a2b8, ra == 8082a914 Oops[#1]: CPU: 0 PID: 1 Comm: swapper/0

[PATCH 4/4] watchdog: imgpdc: Add reboot support

2015-03-31 Thread Andrew Bresticker
Register a restart handler that will restart the system by writing to the watchdog's SOFT_RESET register. Signed-off-by: Andrew Bresticker Cc: Ezequiel Garcia --- drivers/watchdog/imgpdc_wdt.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/watchdog/imgpdc_wdt

[PATCH 3/4] watchdog: imgpdc: Set timeout before starting watchdog

2015-03-31 Thread Andrew Bresticker
From: Naidu Tellapati Set up the watchdog for the specified timeout before attempting to start it. Signed-off-by: Naidu Tellapati Signed-off-by: Andrew Bresticker Cc: Ezequiel Garcia --- drivers/watchdog/imgpdc_wdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/watchdog/imgp

[PATCH 2/4] watchdog: imgpdc: Intialize timeout to default value

2015-03-31 Thread Andrew Bresticker
From: Naidu Tellapati Currently the watchdog timeout is initialized to 0. Initialize it to its default value instead. Signed-off-by: Naidu Tellapati Signed-off-by: Andrew Bresticker Cc: Ezequiel Garcia --- drivers/watchdog/imgpdc_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [RFC PATCH 2/2] Kbuild: avoid partial linking of drivers/built-in.o

2015-03-31 Thread Nicolas Pitre
On Tue, 31 Mar 2015, Russell King - ARM Linux wrote: > On Tue, Mar 31, 2015 at 05:27:22PM +0100, Dave Martin wrote: > > On Tue, Mar 31, 2015 at 11:22:29AM -0400, Nicolas Pitre wrote: > > > I'm using -ffunction-sections as well for the kernel size reduction work > > > I'm currently doing. The lin

Re: [PATCH 2/2] phy: driver for Conexant Digicolor internal USB PHY

2015-03-31 Thread Baruch Siach
Hi Kishon, On Tue, Mar 31, 2015 at 09:16:40PM +0530, Kishon Vijay Abraham I wrote: > On Tuesday 31 March 2015 09:11 PM, Baruch Siach wrote: > >On Tue, Mar 31, 2015 at 08:56:54PM +0530, Kishon Vijay Abraham I wrote: > >>On Tuesday 31 March 2015 05:04 PM, Baruch Siach wrote: > >>>On Sat, Mar 28, 201

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