Re: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-16 Thread Kamezawa Hiroyuki
On 2015/12/17 11:47, Xishi Qiu wrote: > On 2015/12/17 9:38, Izumi, Taku wrote: > >> Dear Xishi, >> >> Sorry for late. >> >>> -Original Message- >>> From: Xishi Qiu [mailto:qiuxi...@huawei.com] >>> Sent: Friday, December 11, 2015 6:44 PM >>> To: Izumi, Taku/泉 拓 >>> Cc: Luck, Tony;

Re: PELT initial task load and wake_up_new_task()

2015-12-16 Thread Steve Muckle
On 12/15/2015 03:55 PM, Yuyang Du wrote: > Hope the following patch should work. Thanks Yuyang. AFAICS it should work, though I believe the test on last_update_time could instead go at the top of migrate_task_rq_fair()? It'd save the fn call to remove_entity_load_avg() and two unnecessary

Re: [PATCH 1/7] mm: memcontrol: charge swap to cgroup2

2015-12-16 Thread Kamezawa Hiroyuki
On 2015/12/16 20:09, Johannes Weiner wrote: On Wed, Dec 16, 2015 at 12:18:30PM +0900, Kamezawa Hiroyuki wrote: Hmm, my requests are - set the same capabilities as mlock() to set swap.limit=0 Setting swap.max is already privileged operation. Sure. - swap-full notification via

Re: [PATCH 08/11] KVM: MMU: use page track for non-leaf shadow pages

2015-12-16 Thread Kai Huang
On 12/16/2015 04:39 PM, Xiao Guangrong wrote: On 12/16/2015 03:51 PM, Kai Huang wrote: On 12/15/2015 05:10 PM, Xiao Guangrong wrote: On 12/15/2015 03:52 PM, Kai Huang wrote: static bool __mmu_gfn_lpage_is_disallowed(gfn_t gfn, int level, @@ -2140,12 +2150,18 @@ static struct

linux-next: manual merge of the clockevents tree with the h8300 tree

2015-12-16 Thread Stephen Rothwell
Hi Daniel, Today's linux-next merge of the clockevents tree got a conflict in: arch/h8300/Kconfig between commit: a801eb26d124 ("h8300: Add LZO compression") from the h8300 tree and commit: 97a23beb8db9 ("clocksource/drivers/h8300_timer8: Separate the Kconfig option from the arch")

RE: [PATCH v2 5/7] f2fs: stat dirty regular/symlink inodes

2015-12-16 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Thursday, December 17, 2015 1:37 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2 5/7] f2fs: stat dirty regular/symlink inodes > >

Re: [PATCH 1/2] ASoC: atmel-pdmic: add the Pulse Density Modulation Interface Controller

2015-12-16 Thread Wu, Songjun
On 12/16/2015 20:27, Mark Brown wrote: On Mon, Dec 14, 2015 at 04:15:39PM +0800, Songjun Wu wrote: Add driver for the Pulse Density Modulation Interface Controller. It comes with digitallly controlled gain, a High-Pass and a SINCC filter. This looks basically OK but there's a *lot* of

Re: [PATCH v3] extcon: add Maxim MAX3355 driver

2015-12-16 Thread Chanwoo Choi
Hi, On 2015년 12월 17일 11:16, Chanwoo Choi wrote: > Hi Sergei, > > On 2015년 12월 17일 03:07, Sergei Shtylyov wrote: >> Maxim Integrated MAX3355E chip integrates a charge pump and comparators to >> enable a system with an integrated USB OTG dual-role transceiver to >> function as an USB OTG dual-role

[PATCH v2] i2c: designware: Do not require clock when SSCN and FFCN are provided

2015-12-16 Thread Suravee Suthikulpanit
The current driver uses input clock source frequency to calculate values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not currently have a good way to provide the frequency information. Instead, we can leverage the SSCN and FFCN ACPI methods, which can be used to directly

PROBLEM: 4.4 won't boot on Dell XPS Laptop Inbox x

2015-12-16 Thread Ames Cornish
Hi, I have been running 4.3 on my laptop OK, but 4.4 will not boot at all. I've tried rc3, rc4, rc5, and some of the drm builds. The boot process halts with "ALERT! /dev/disk/by-uuid/ does not exist", although the UUID does exist, and other kernels boot fine. I've attached a screenshot to a

Re: [PATCH v3] extcon: add Maxim MAX3355 driver

2015-12-16 Thread Chanwoo Choi
Hi Sergei, On 2015년 12월 17일 03:07, Sergei Shtylyov wrote: > Maxim Integrated MAX3355E chip integrates a charge pump and comparators to > enable a system with an integrated USB OTG dual-role transceiver to > function as an USB OTG dual-role device. In addition to sensing/controlling > Vbus, the

Re: [PATCH v8 5/7] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2015-12-16 Thread Huang Shijie
On Wed, Dec 02, 2015 at 04:47:44PM -0600, Han Xu wrote: > support GPMI NAND on i.MX7D > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- > drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 27

Re: [PATCH v8 6/7] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-12-16 Thread Huang Shijie
On Wed, Dec 02, 2015 at 04:47:45PM -0600, Han Xu wrote: > i.MX6QP and i.MX7D BCH module integrated a new feature to detect the > bitflip number for erased NAND page. So for these two platform, set the > erase threshold to ecc_strength and if bitflip detected, GPMI driver will > correct the data to

Re: [PATCH v8 4/7] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-12-16 Thread Huang Shijie
On Wed, Dec 02, 2015 at 04:47:43PM -0600, Han Xu wrote: > By default NAND driver will choose the highest ecc strength that oob > could contain, in this case, for some 8K+744 NAND flash, the ecc > strength will be up to 52bit, which beyonds the i.MX6QDL BCH capability > (40bit). > > This patch

Re: [PATCH v8 7/7] mtd: nand: gpmi: support NAND on i.MX6UL

2015-12-16 Thread Huang Shijie
On Wed, Dec 02, 2015 at 04:47:46PM -0600, Han Xu wrote: > support GPMI NAND on i.MX6UL > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + > drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 4 +++- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git

Re: [GIT PULL 0/9] ARM: EXYNOS: Pull request for v4.5

2015-12-16 Thread Krzysztof Kozlowski
On 17.12.2015 10:43, Krzysztof Kozlowski wrote: > On 02.12.2015 10:39, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> A lot of stuff for v4.5 with 3 dependencies split into >> separate tags. The need for dependency is explained both >> in merge-commit and in description of a tag which is using >>

linux-next: manual merge of the regulator tree with the qcom tree

2015-12-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in: Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt between commit: f6251e80956d ("soc: qcom: documentation: Update SMD/RPM Docs") 9ee8373a1552 ("soc: qcom: smd-rpm: Add existing platform support") from

Re: [PATCH] PM / OPP: Fix parsing of opp-microvolt and opp-microamp properties

2015-12-16 Thread Viresh Kumar
On 16-12-15, 16:41, Bartlomiej Zolnierkiewicz wrote: > Commit 01fb4d3c39d3 ("PM / OPP: Parse 'opp--' > bindings") broke support for parsing standard opp-microvolt and > opp-microamp properties. Fix it by setting 'name' string to > proper value for !dev_opp->prop_name cases. > > Cc: Viresh Kumar

RE: [PATCH v9 1/1] efi: a misc char interface for user to update efi firmware

2015-12-16 Thread Kweh, Hock Leong
> -Original Message- > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, December 16, 2015 7:26 PM > To: Kweh, Hock Leong > Cc: Matt Fleming; Greg Kroah-Hartman; Ong, Boon Leong; LKML; linux- > e...@vger.kernel.org; Sam Protsenko; Peter Jones; Andy Lutomirski; Roy > Franz;

Re: [PATCH v6 0/3] thermal: mediatek: Add cpu dynamic power cooling model.

2015-12-16 Thread Viresh Kumar
On 16-12-15, 21:29, Dawei Chien wrote: > Use Intelligent Power Allocation (IPA) technical to add dynamic power model > for binding CPU thermal zone. The power allocator governor allocates power > budget to control CPU temperature. > > Power Allocator governor is able to keep SOC temperature

[RESEND PATCH v4 2/3] tools: Move Makefile.arch from perf/config to tools/scripts

2015-12-16 Thread Wang Nan
After this patch other directories can use this architecture detector without directly including it from perf's directory. Libbpf would utilize it to get proper $(ARCH) so it can receive correct uapi include directory. Signed-off-by: Wang Nan Acked-by: Jiri Olsa Tested-by: Naveen N. Rao Cc:

[RESEND PATCH v4 3/3] perf: bpf: Fix build breakage due to libbpf

2015-12-16 Thread Wang Nan
From: "Naveen N. Rao" perf build is currently (v4.4-rc5) broken on powerpc: bpf.c:28:4: error: #error __NR_bpf not defined. libbpf does not support your arch. # error __NR_bpf not defined. libbpf does not support your arch. ^ Fix this by including tools/scripts/Makefile.arch for the

[RESEND PATCH v4 0/3] perf build: PowerPC: Fix build breakage due to libbpf

2015-12-16 Thread Wang Nan
Fix PowerPC build breakage found by Naveen. Perf building should not be blocked if BPF syscall is broken in some platform. In v3 a problem in 3/3 is found and fixed, but I only sent v4 of 3/3. Send all 3 patches together again. Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Naveen N. Rao Cc:

[RESEND PATCH v4 1/3] perf tools: Fix PowerPC native building

2015-12-16 Thread Wang Nan
Checks BPF syscall number, turn off libbpf building on platform doesn't correctly support sys_bpf instead of blocking compiling. Reported-by: Naveen N. Rao Acked-by: Jiri Olsa Tested-by: Naveen N. Rao Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Sukadev Bhattiprolu ---

Re: [GIT PULL 0/9] ARM: EXYNOS: Pull request for v4.5

2015-12-16 Thread Krzysztof Kozlowski
On 02.12.2015 10:39, Krzysztof Kozlowski wrote: > Hi Kukjin, > > A lot of stuff for v4.5 with 3 dependencies split into > separate tags. The need for dependency is explained both > in merge-commit and in description of a tag which is using > the dependency. Hi everyone, It's been like two

RE: [PATCH v3 2/2] mm: Introduce kernelcore=mirror option

2015-12-16 Thread Izumi, Taku
Dear Xishi, Sorry for late. > -Original Message- > From: Xishi Qiu [mailto:qiuxi...@huawei.com] > Sent: Friday, December 11, 2015 6:44 PM > To: Izumi, Taku/泉 拓 > Cc: Luck, Tony; linux-kernel@vger.kernel.org; linux...@kvack.org; > a...@linux-foundation.org; Kamezawa, Hiroyuki/亀澤 寛 > 之;

Re: [PATCH v4] perf: bpf: Fix build breakage due to libbpf

2015-12-16 Thread Wangnan (F)
On 2015/12/17 3:42, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 15, 2015 at 05:10:46PM +0530, Naveen N. Rao escreveu: On 2015/12/15 08:51AM, Wang Nan wrote: From: "Naveen N. Rao" perf build is currently (v4.4-rc5) broken on powerpc: bpf.c:28:4: error: #error __NR_bpf not defined. libbpf

Re: [PATCH v4 7/9] perf: Finalize subcmd independence

2015-12-16 Thread Arnaldo Carvalho de Melo
Em Wed, Dec 16, 2015 at 07:09:53PM -0600, Josh Poimboeuf escreveu: > On Wed, Dec 16, 2015 at 09:57:41PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Dec 15, 2015 at 09:39:38AM -0600, Josh Poimboeuf escreveu: > > > For the files that will be moved to the subcmd library, remove all their > > >

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2015-12-16 Thread Steve Muckle
Hi Leo, On 12/15/2015 07:48 PM, Leo Yan wrote: > I also think "set_current_state(TASK_INTERRUPTIBLE)" will introduce > logic error when software flow run into "else" block. The reason is > after you set state with TASK_INTERRUPTIBLE, if there have some > scheduling happen within

[git pull] drm fixes

2015-12-16 Thread Dave Airlie
Hi Linus, Some i915 fixes, One omap fix, One core regression fix, Not even enough fixes for a twelve days of xmas song, which seemms good. Dave. The following changes since commit 9f9499ae8e6415cefc4fe0a96ad0e27864353c89: Linux 4.4-rc5 (2015-12-13 17:42:58 -0800) are available in the git

Re: [PATCH] locking/osq: fix ordering of node initialisation in osq_lock

2015-12-16 Thread David Daney
What is the status of this patch? It there a good likelihood that it will make it into v4.4? If not, we should request that c55a6ffa6285 ("locking/osq: Relax atomic semantics") be reverted for v4.4 David Daney On 12/11/2015 09:46 AM, Will Deacon wrote: The Cavium guys reported a soft

Re: [PATCH v3 0/5] Add reboot notifier driver for rockchip platform

2015-12-16 Thread John Stultz
On Mon, Dec 14, 2015 at 2:30 AM, Andy Yan wrote: > On 2015年12月12日 05:29, Heiko Stübner wrote: >> Am Mittwoch, 18. November 2015, 17:47:24 schrieb Andy Yan: >>> >>> rockchip platform have a protocol to pass the kernel reboot >>> mode to bootloader by some special registers when system reboot. >>>

Re: [PATCH] PM / sleep: define inline functions

2015-12-16 Thread Rafael J. Wysocki
On Wednesday, December 16, 2015 04:41:37 PM Eric Anholt wrote: > > --=-=-= > Content-Type: text/plain > > Sudip Mukherjee writes: > > > If CONFIG_PM_SLEEP is not defined then the functions are defined as > > NULL. And as a result we are getting build failure with > > alpha allmodconfig with

[PATCH 3.13.y-ckt 07/78] iio:ad7793: Fix ad7785 product ID

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 785171fd6cd7dcd7ada5a733b6a2d44ec566c3a0 upstream. While the datasheet for the AD7785 lists 0xXB as the product ID the actual product ID is 0xX3. Fix the

[PATCH 3.13.y-ckt 01/78] tty: fix stall caused by missing memory barrier in drivers/tty/n_tty.c

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Kosuke Tatsukawa commit e81107d4c6bd098878af9796b24edc8d4a9524fd upstream. My colleague ran into a program stall on a x86_64 server, where n_tty_read() was waiting for data even if

[PATCH 3.13.y-ckt 09/78] ALSA: usb-audio: add packet size quirk for the Medeli DD305

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit 98d362becb6621bebdda7ed0eac7ad7ec6c37898 upstream. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai Signed-off-by: Kamal Mostafa ---

[PATCH 3.13.y-ckt 06/78] iio: ad5064: Fix ad5629/ad5669 shift

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 5dcbe97bedd6ba4b0f574a96cc2e293d26f3d857 upstream. The ad5629/ad5669 are the I2C variant of the ad5628/ad5668, which has a SPI interface. They are mostly

[PATCH 3.13.y-ckt 11/78] ALSA: usb-audio: work around CH345 input SysEx corruption

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit a91e627e3f0ed820b11d86cdc04df38f65f33a70 upstream. One of the many faults of the QinHeng CH345 USB MIDI interface chip is that it does not handle received

[PATCH 3.13.y-ckt 10/78] ALSA: usb-audio: prevent CH345 multiport output SysEx corruption

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit 1ca8b201309d842642f221db7f02f71c0af5be2d upstream. The CH345 USB MIDI chip has two output ports. However, they are multiplexed through one pin, and the

Re: [PATCH v4 7/9] perf: Finalize subcmd independence

2015-12-16 Thread Josh Poimboeuf
On Wed, Dec 16, 2015 at 09:57:41PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 15, 2015 at 09:39:38AM -0600, Josh Poimboeuf escreveu: > > For the files that will be moved to the subcmd library, remove all their > > perf-specific includes and duplicate any needed functionality. > > Breaks

[PATCH 3.13.y-ckt 05/78] iio:ad5064: Make sure ad5064_i2c_write() returns 0 on success

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich commit 03fe472ef33b7f31fbd11d300dbb3fdab9c00fd4 upstream. i2c_master_send() returns the number of bytes transferred on success while the ad5064 driver expects

[PATCH 3.13.y-ckt 12/78] USB: serial: option: add support for Novatel MiFi USB620L

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Aleksander Morgado commit e07af133c3e2716db25e3e1e1d9f10c2088e9c1a upstream. Also known as Verizon U620L. The device is modeswitched from 1410:9020 to 1410:9022 by selecting the

[PATCH 3.13.y-ckt 14/78] ASoC: wm8962: correct addresses for HPF_C_0/1

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Sachin Pandhare commit e9f96bc53c1b959859599cb30ce6fd4fbb4448c2 upstream. >From datasheet: R17408 (4400h) HPF_C_1 R17409 (4401h) HPF_C_0 17048 -> 17408 (0x4400) 17049 -> 17409

[PATCH 3.13.y-ckt 15/78] mac80211: mesh: fix call_rcu() usage

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit c2e703a55245bfff3db53b1f7cbe59f1ee8a4339 upstream. When using call_rcu(), the called function may be delayed quite significantly, and without a matching

Re: [PATCH] MAINTAINERS: Add co-maintainer for Renesas Pin Controllers

2015-12-16 Thread Simon Horman
On Wed, Dec 16, 2015 at 07:07:08PM +0200, Laurent Pinchart wrote: > Hi Geert, > > On Wednesday 16 December 2015 11:31:12 Geert Uytterhoeven wrote: > > Add myself as a co-maintainer for Renesas Pin Controllers. > > > > Signed-off-by: Geert Uytterhoeven > > Thank you for helping me with sh-pfc.

[PATCH 3.13.y-ckt 19/78] MIPS: KVM: Fix ASID restoration logic

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 002374f371bd02df864cce1fe85d90dc5b292837 upstream. ASID restoration on guest resume should determine the guest execution mode based on the guest Status register

[PATCH 3.13.y-ckt 18/78] usb: chipidea: debug: disable usb irq while role switch

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Li Jun commit 251b3c8b57481bcecd3f753108e36e7389ce12ac upstream. Since the ci->role will be set after the host role start is complete, there will be nobody cared irq during start

[PATCH 3.13.y-ckt 16/78] usb: dwc3: gadget: let us set lower max_speed

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Ben McCauley commit b9e51b2b1fda19143f48d182ed7a2943f21e1ae4 upstream. In some SoCs, dwc3 is implemented as a USB2.0 only core, meaning that it can't ever achieve SuperSpeed.

[PATCH 3.13.y-ckt 13/78] USB: ti_usb_3410_5052: Add Honeywell HGI80 ID

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: David Woodhouse commit 1bcb49e663f88bccee35b8688e6a3da2bea31fd4 upstream. The Honeywell HGI80 is a wireless interface to the evohome connected thermostat. It uses a TI 3410

[PATCH 3.13.y-ckt 21/78] MIPS: KVM: Uninit VCPU in vcpu_create error path

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 585bb8f9a5e592f2ce7abbe5ed3112d5438d2754 upstream. If either of the memory allocations in kvm_arch_vcpu_create() fail, the vcpu which has been allocated and

[PATCH 3.13.y-ckt 20/78] MIPS: KVM: Fix CACHE immediate offset sign extension

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit c5c2a3b998f1ff5a586f9d37e154070b8d550d17 upstream. The immediate field of the CACHE instruction is signed, so ensure that it gets sign extended by casting it to

[PATCH 3.13.y-ckt 23/78] xhci: Fix a race in usb2 LPM resume, blocking U3 for usb2 devices

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit dad67d5f3d0efe01d38c6cebcb6698280e51927b upstream. Clear device initiated resume variables once device is fully up and running in U0 state. Resume needs to be

[PATCH 3.13.y-ckt 25/78] ALSA: hda - Add fixup for Acer Aspire One Cloudbook 14

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b9c2fa52135d49a931c56ed2bfc17d61f771b412 upstream. For making the speakers on Acer Aspire One Cloudbook 14 to work, we need the as same quirk as for another

Re: [PATCH] inet: sanitize socket() protocol value

2015-12-16 Thread Vegard Nossum
On 12/17/2015 02:01 AM, Eric Dumazet wrote: On Wed, Dec 16, 2015 at 4:57 PM, Vegard Nossum wrote: If you create a raw socket with a protocol of e.g. 0x1, then inet_sk(sk)->inet_num will get set to 0 since it only has room for 16 bits. This causes problems further down the line as lots of

[PATCH 3.13.y-ckt 26/78] arm64: restore bogomips information in /proc/cpuinfo

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Yang Shi commit 92e788b749862ebe9920360513a718e5dd4da7a9 upstream. As previously reported, some userspace applications depend on bogomips showed by /proc/cpuinfo. Although there is

[PATCH 3.13.y-ckt 22/78] xhci: Workaround to get Intel xHCI reset working more reliably

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Rajmohan Mani commit a5964396190d0c40dd549c23848c282fffa5d1f2 upstream. Existing Intel xHCI controllers require a delay of 1 mS, after setting the CMD_RESET bit in command

[PATCH 3.13.y-ckt 30/78] ALSA: hda - Apply HP headphone fixups more generically

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 196543d54574f50e3fd04df4e3048181e006a9da upstream. It turned out that many HP laptops suffer from the same problem as fixed in commit [c932b98c1e47: ALSA: hda -

Re: [RFC PATCH 3/7] doc: dt: mtd: partition: add on-flash format binding

2015-12-16 Thread David Gibson
On Tue, Dec 15, 2015 at 11:03:48AM +0100, Geert Uytterhoeven wrote: > Hi David, > > On Tue, Dec 15, 2015 at 7:00 AM, David Gibson > wrote: > >> If the only property needed is the partition table offset, it can be > >> encoded > >> in the unit-address, and the "reg" property: > >> > >>

[PATCH 3.13.y-ckt 31/78] fat: fix fake_offset handling on error path

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: OGAWA Hirofumi commit 928a477102c4fc6739883415b66987207e3502f4 upstream. For the root directory, . and .. are faked (using dir_emit_dots()) and ctx->pos is reset from 2 to 0. A

[PATCH 3.13.y-ckt 28/78] usblp: do not set TASK_INTERRUPTIBLE before lock

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Jiri Slaby commit 19cd80a214821f4b558560ebd76bfb2c38b4f3d8 upstream. It is not permitted to set task state before lock. usblp_wwait sets the state to TASK_INTERRUPTIBLE and calls

[PATCH 3.13.y-ckt 29/78] mac: validate mac_partition is within sector

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 02e2a5bfebe99edcf9d694575a75032d53fe1b73 upstream. If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single 512 byte sector would be read (secsize

[PATCH 3.13.y-ckt 33/78] parisc: Drop unused MADV_xxxK_PAGES flags from asm/mman.h

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit dcbf0d299c00ed4f82ea8d6e359ad88a5182f9b8 upstream. Drop the MADV_xxK_PAGES flags, which were never used and were from a proposed API which was never integrated

[PATCH 3.13.y-ckt 27/78] USB: option: add XS Stick W100-2 from 4G Systems

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 638148e20c7f8f6e95017fdc13bce8549a6925e0 upstream. Thomas reports " 4gsystems sells two total different LTE-surfsticks under the same name. ..

[PATCH 3.13.y-ckt 32/78] kernel/signal.c: unexport sigsuspend()

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 9d8a765211335cfdad464b90fb19f546af5706ae upstream. sigsuspend() is nowhere used except in signal.c itself, so we can mark it static do not pollute the

[PATCH 3.13.y-ckt 24/78] x86/cpu: Fix SMAP check in PVOPS environments

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Andrew Cooper commit 581b7f158fe0383b492acd1ce3fb4e99d4e57808 upstream. There appears to be no formal statement of what pv_irq_ops.save_fl() is supposed to return precisely.

Re: module: preserve Elf information for livepatch modules

2015-12-16 Thread Jessica Yu
+++ Miroslav Benes [16/12/15 11:58 +0100]: On Mon, 30 Nov 2015, Jessica Yu wrote: @@ -3530,6 +3614,16 @@ static int load_module(struct load_info *info, const char __user *uargs, if (err < 0) goto bug_cleanup; + /* +* Save sechdrs, indices, and other data

[PATCH 3.13.y-ckt 41/78] ALSA: hda - Fix headphone noise after Dell XPS 13 resume back from S3

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 8c69729b4439bbda88c3073df7243f755cc418ed upstream. We have a machine Dell XPS 13 with the codec alc256, after resume back from S3, the headphone has noise when play

[PATCH 3.13.y-ckt 40/78] nfs4: start callback_ident at idr 1

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit c68a027c05709330fe5b2f50c50d5fa02124b5d8 upstream. If clp->cl_cb_ident is zero, then nfs_cb_idr_remove_locked() skips removing it when the nfs_client is

[PATCH 3.13.y-ckt 39/78] vfs: Avoid softlockups with sendfile(2)

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit c2489e07c0a71a56fb2c84bc0ee66cddfca7d068 upstream. The following test program from Dmitry can cause softlockups or RCU stalls as it copies 1GB from tmpfs into

Re: [PATCH] inet: sanitize socket() protocol value

2015-12-16 Thread Eric Dumazet
On Wed, Dec 16, 2015 at 4:57 PM, Vegard Nossum wrote: > If you create a raw socket with a protocol of e.g. 0x1, then > inet_sk(sk)->inet_num will get set to 0 since it only has room for 16 > bits. This causes problems further down the line as lots of code makes > assumptions about ->inet_num,

[PATCH 3.13.y-ckt 42/78] ring-buffer: Update read stamp with first real commit on page

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit b81f472a208d3e2b4392faa6d17037a89442f4ce upstream. Do not update the read stamp after swapping out the reader page from the write buffer. If the

[PATCH 3.13.y-ckt 43/78] arm64: KVM: Fix AArch32 to AArch64 register mapping

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit c0f0963464c24e034b858441205455bf2a5d93ad upstream. When running a 32bit guest under a 64bit hypervisor, the ARMv8 architecture defines a mapping of the 32bit

[PATCH 3.13.y-ckt 36/78] ARC: dw2 unwind: Remove falllback linear search thru FDE entries

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 2e22502c080f27afeab5e6f11e618fb7bc7aea53 upstream. Fixes STAR 9000953410: "perf callgraph profiling causing RCU stalls" | perf record -g -c 15000 -e cycles

[PATCH 3.13.y-ckt 48/78] nfs: if we have no valid attrs, then don't declare the attribute cache valid

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 upstream. If we pass in an empty nfs_fattr struct to nfs_update_inode, it will (correctly) not update any of the

[PATCH 3.13.y-ckt 44/78] drm/radeon: make rv770_set_sw_state failures non-fatal

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6 upstream. On some cards it takes a relatively long time for the change to take place. Make a timeout non-fatal. bug:

Re: [PATCH 1/2] clk: samsung: exynos5422: add missing parent GSCL block clocks

2015-12-16 Thread Krzysztof Kozlowski
On 17.12.2015 02:23, Sylwester Nawrocki wrote: > Krzysztof, > > On 09/12/15 14:36, Krzysztof Kozlowski wrote: >> W dniu 09.12.2015 o 19:14, Sylwester Nawrocki pisze: Adding Stephen and linux-clk at Cc. On 09/12/15 05:49, Krzysztof Kozlowski wrote: >> On 08.12.2015 22:46, Marek

Re: [PATCH v4 7/9] perf: Finalize subcmd independence

2015-12-16 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 15, 2015 at 09:39:38AM -0600, Josh Poimboeuf escreveu: > For the files that will be moved to the subcmd library, remove all their > perf-specific includes and duplicate any needed functionality. Breaks rhel6.7 building: > #include "run-command.h" > #include "sigchain.h" > #include

[PATCH 3.13.y-ckt 46/78] btrfs: fix signed overflows in btrfs_sync_file

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 9dcbeed4d7e11e1dcf5e55475de3754f0855d1c2 upstream. The calculation of range length in btrfs_sync_file leads to signed overflow. This was caught by PaX gcc

[PATCH 3.13.y-ckt 45/78] RDS: fix race condition when sending a message on unbound socket

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Quentin Casasnovas commit 8c7188b23474cca017b3ef354c4a58456f68303a upstream. Sasha's found a NULL pointer dereference in the RDS connection code when sending a message to an

[PATCH 3.13.y-ckt 35/78] powerpc/tm: Block signal return setting invalid MSR state

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling commit d2b9d2a5ad5ef04ff978c9923d19730cb05efd55 upstream. Currently we allow both the MSR T and S bits to be set by userspace on a signal return. Unfortunately

[PATCH 3.13.y-ckt 49/78] xen/gntdev: Grant maps should not be subject to NUMA balancing

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit 9c17d96500f78d7ecdb71ca6942830158bc75a2b upstream. Doing so will cause the grant to be unmapped and then, during fault handling, the fault to be mistakenly

[PATCH 1/2] perf list: Add support for PERF_COUNT_SW_BPF_OUT

2015-12-16 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When PERF_COUNT_SW_BPF_OUTPUT was added to the kernel we should've added it to tools/perf, where it is used just to list events. This ended up causing a segfault in commands like "perf list stall". Fix it by adding that new software counter. A patch to robustify

[PATCH] inet: sanitize socket() protocol value

2015-12-16 Thread Vegard Nossum
If you create a raw socket with a protocol of e.g. 0x1, then inet_sk(sk)->inet_num will get set to 0 since it only has room for 16 bits. This causes problems further down the line as lots of code makes assumptions about ->inet_num, for example connect()...inet_autobind() will attempt to call

[PATCH 2/2] perf list: Robustify event printing routine

2015-12-16 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo When a43eec304259 ("bpf: introduce bpf_perf_event_output() helper") added PERF_COUNT_SW_BPF_OUTPUT we ended up with a new entry in the event_symbols_sw array that wasn't initialized, thus set to NULL, fix print_symbol_events() to check for that case so that we

[GIT PULL 0/2] perf/urgent fix

2015-12-16 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, this one is already in perf/core, but is needed for perf/urgent too, as reported by Will Cohen. - Arnaldo The following changes since commit 03fba21adb190fc0aec9c2556639c1c1b195aee7: Merge tag 'perf-urgent-for-mingo' of

Re: [PATCH] i2c: designware: Do not require clock when SSCN and FFCN are provided

2015-12-16 Thread Loc Ho
Hi, > The current driver uses input clock source frequency to calculate > values for [SS|FS]_[HC|LC] registers. However, when booting ACPI, we do not > currently have a good way to provide the frequency information. > Instead, we can leverage the SSCN and FFCN ACPI methods, which can be used > to

[PATCH 3.13.y-ckt 51/78] target: Fix race for SCF_COMPARE_AND_WRITE_POST checking

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 057085e522f8bf94c2e691a5b76880f68060f8ba upstream. This patch addresses a race + use after free where the first stage of COMPARE_AND_WRITE in

[PATCH 3.13.y-ckt 50/78] iscsi-target: Fix rx_login_comp hang after login failure

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit ca82c2bded29b38d36140bfa1e76a7bbfcade390 upstream. This patch addresses a case where iscsi_target_do_tx_login_io() fails sending the last login response

[PATCH 3.13.y-ckt 52/78] target: fix COMPARE_AND_WRITE non zero SGL offset data corruption

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Engelhardt commit d94e5a61357a04938ce14d6033b4d33a3c5fd780 upstream. target_core_sbc's compare_and_write functionality suffers from taking data at the wrong memory location

[PATCH 3.13.y-ckt 55/78] wan/x25: Fix use-after-free in x25_asy_open_tty()

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit ee9159ddce14bc1dec9435ae4e3bd3153e783706 upstream. The N_X25 line discipline may access the previous line discipline's closed and already-freed private data on

[PATCH 3.13.y-ckt 53/78] block: Always check queue limits for cloned requests

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit bf4e6b4e757488dee1b6a581f49c7ac34cd217f8 upstream. When a cloned request is retried on other queues it always needs to be checked against the queue limits of

Re: [PATCH v3] extcon: add Maxim MAX3355 driver

2015-12-16 Thread Krzysztof Kozlowski
2015-12-17 3:07 GMT+09:00 Sergei Shtylyov : > Maxim Integrated MAX3355E chip integrates a charge pump and comparators to > enable a system with an integrated USB OTG dual-role transceiver to > function as an USB OTG dual-role device. In addition to sensing/controlling > Vbus, the chip also passes

[PATCH 3.13.y-ckt 57/78] x86/signal: Fix restart_syscall number for x32 tasks

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: "Dmitry V. Levin" commit 22eab1108781eff09961ae7001704f7bd8fb1dce upstream. When restarting a syscall with regs->ax == -ERESTART_RESTARTBLOCK, regs->ax is assigned to a

[PATCH 3.13.y-ckt 58/78] mmc: remove bondage between REQ_META and reliable write

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Luca Porzio commit d3df0465db00cf4ed9f90d0bfc3b827d32b9c796 upstream. Anytime a write operation is performed with Reliable Write flag enabled, the eMMC device is enforced to bypass

[PATCH 3.13.y-ckt 03/78] stackprotector: Introduce CONFIG_CC_STACKPROTECTOR_STRONG

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 8779657d29c0ebcc0c94ede4df2f497baf1b563f upstream. This changes the stack protector config option into a choice of "None", "Regular", and "Strong":

[PATCH 3.13.y-ckt 60/78] usb: musb: core: fix order of arguments to ulpi write callback

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= commit 705e63d2b29c8bbf091119084544d353bda70393 upstream. There is a bit of a mess in the order of arguments to the ulpi write callback. There

[PATCH 3.13.y-ckt 59/78] sctp: translate host order to network order when setting a hmacid

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: lucien commit ed5a377d87dc4c87fb3e1f7f698cba38cd893103 upstream. now sctp auth cannot work well when setting a hmacid manually, which is caused by that we didn't use the network

[PATCH 3.13.y-ckt 34/78] can: sja1000: clear interrupts on start

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Mirza Krak commit 7cecd9ab80f43972c056dc068338f7bcc407b71c upstream. According to SJA1000 data sheet error-warning (EI) interrupt is not cleared by setting the controller in to

[PATCH 3.13.y-ckt 54/78] Fix a memory leak in scsi_host_dev_release()

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit b49493f99690c8eaacfbc635bafaad629ea2c036 upstream. Avoid that kmemleak reports the following memory leak if a SCSI LLD calls scsi_host_alloc() and

[PATCH 3.13.y-ckt 02/78] stackprotector: Unify the HAVE_CC_STACKPROTECTOR logic between architectures

2015-12-16 Thread Kamal Mostafa
3.13.11-ckt32 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 19952a92037e752f9d3bbbad552d596f9a56e146 upstream. Instead of duplicating the CC_STACKPROTECTOR Kconfig and Makefile logic in each architecture, switch to using

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