Re: [PATCH][v4] livepatch/ppc: Enable livepatching on powerpc

2016-03-04 Thread Michael Ellerman
Hi Petr, On Thu, 2016-03-03 at 17:52 +0100, Petr Mladek wrote: > From: Balbir Singh > > Changelog v4: > 1. Renamed klp_matchaddr() to klp_get_ftrace_location() > and used it just to convert the function address. > 2. Synced klp_write_module_reloc() with s390(); made it >

Re: [PATCH v3 2/2] arm64/efi: check SetupMode when determining Secure Boot status

2016-03-04 Thread Ard Biesheuvel
On 3 March 2016 at 22:45, Linn Crosetto wrote: > According to the UEFI specification (version 2.5 Errata A, page 87): > > The platform firmware is operating in secure boot mode if the value of > the SetupMode variable is 0 and the SecureBoot variable is set to 1. A > platform cannot op

Re: [PATCH] arm64/dma-mapping: Add DMA_ATTR_ALLOC_SINGLE_PAGES support

2016-03-04 Thread Yong Wu
On Thu, 2016-03-03 at 09:44 -0800, Doug Anderson wrote: > Hi, > > On Wed, Mar 2, 2016 at 10:54 AM, Yong Wu wrote: > > Sometimes it is not worth for the iommu allocating big chunks. > > Here we enable DMA_ATTR_ALLOC_SINGLE_PAGES which could help avoid to > > allocate big chunks while iommu allocat

Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()

2016-03-04 Thread Paolo Bonzini
On 04/03/2016 02:35, Lan Tianyu wrote: > The following kvm_flush_remote_tlbs() will call smp_mb() inside and so > remove smp_mb() here. > > Signed-off-by: Lan Tianyu > --- > arch/x86/kvm/mmu.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c

Re: [PATCH 0/2] Export new VMCOREINFO about compound page

2016-03-04 Thread Dave Young
On 03/01/16 at 06:14am, Atsushi Kumagai wrote: > Hello, > > This patch set is to follow up modifications of struct page for > makedumpfile which filters dump file. > It's necessary to filter unnecessary compound pages in newer kernel > as usual. > > Incidentally, [PATCH 1/2] was post in: > >

How to merge? (was Re: [PATCH][v4] livepatch/ppc: Enable livepatching on powerpc)

2016-03-04 Thread Michael Ellerman
Hi livepatch maintainers, On Thu, 2016-03-03 at 17:52 +0100, Petr Mladek wrote: > From: Balbir Singh > > Changelog v4: > 1. Renamed klp_matchaddr() to klp_get_ftrace_location() > and used it just to convert the function address. > 2. Synced klp_write_module_reloc() with s390

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-04 Thread Roman Kagan
On Fri, Mar 04, 2016 at 01:52:53AM +, Li, Liang Z wrote: > > I wonder if it would be possible to avoid the kernel changes by parsing > > /proc/self/pagemap - if that can be used to detect unmapped/zero mapped > > pages in the guest ram, would it achieve the same result? > > Only detect the u

linux-next: Tree for Mar 4

2016-03-04 Thread Stephen Rothwell
Hi all, Changes since 20160303: The net-next tree gained a conflict against the net tree. The device-mapper tree gained a build failure so I used the version from next-20160303. The tip tree lost its build failure. The rcu tree gained a conflict against the tip tree. The kvm tree gained a con

RE: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-04 Thread Li, Liang Z
> On Thu, Mar 03, 2016 at 05:46:15PM +, Dr. David Alan Gilbert wrote: > > * Liang Li (liang.z...@intel.com) wrote: > > > The current QEMU live migration implementation mark the all the > > > guest's RAM pages as dirtied in the ram bulk stage, all these pages > > > will be processed and that tak

Re: [PATCH] media: add prefixes to interface types

2016-03-04 Thread Hans Verkuil
On 03/04/2016 01:08 AM, Shuah Khan wrote: > Add missing prefixes for DVB, V4L, and ALSA interface types. > > Signed-off-by: Shuah Khan > --- > drivers/media/media-entity.c | 32 > 1 file changed, 16 insertions(+), 16 deletions(-) > > diff --git a/drivers/media

Re: Kernel docs: muddying the waters a bit

2016-03-04 Thread Jani Nikula
On Fri, 04 Mar 2016, Mauro Carvalho Chehab wrote: > Em Thu, 03 Mar 2016 15:23:23 -0800 > Keith Packard escreveu: > >> Mauro Carvalho Chehab writes: >> >> > On my tests, Sphinix seemed too limited to format tables. Asciidoc >> > produced an output that worked better. >> >> Yes, asciidoc has m

[PATCH] KVM: i8254: drop local copy of mul_u64_u32_div

2016-03-04 Thread Paolo Bonzini
A function that does the same as i8254.c's muldiv64 has been added (for KVM's own use, in fact!) in include/linux/math64.h. Use it instead of muldiv64. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/i8254.c | 26 +++--- 1 file changed, 3 insertions(+), 23 deletions(-) diff -

[PATCH 0/4] infiniband: hns: Hisilicon RoCE support

2016-03-04 Thread Wei Hu(Xavier)
The Hisilicon Network Substem(hns) is a long term evolution IP which is supposed to be used in Hisilicon ICT SoC. RoCE is a feature of hns. The driver for Hisilicon RoCE engine is a platform driver. The driver will support mulitple versions of hns. Currently only "v1" for hip06 SOC is supported. W

[PATCH 2/4] infiniband: hns: add Hisilicon RoCE support(binding)

2016-03-04 Thread Wei Hu(Xavier)
This submit add binding file and dts file. Signed-off-by: Wei Hu(Xavier) Signed-off-by: oulijun --- .../bindings/infiniband/hisilicon-hns-roce.txt | 68 ++ 1 file changed, 68 insertions(+) create mode 100644 Documentation/devicetree/bindings/infiniband/hisilicon-hns-ro

[PATCH 4/4] infiniband: hns: add Hisilicon RoCE support(Kconfig)

2016-03-04 Thread Wei Hu(Xavier)
This submit add Kconfig. Signed-off-by: Wei Hu(Xavier) Signed-off-by: oulijun --- drivers/infiniband/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index 8a8440c..c7a24bb 100644 --- a/drivers/infiniband/Kconfig

[PATCH 1/4] net: hns: add Hisilicon RoCE support(the dependent routine)

2016-03-04 Thread Wei Hu(Xavier)
It added hns_dsaf_roce_reset routine for roce driver. RoCE is a feature of hns. In hip06 SOC, in roce reset process, it's needed to configure dsaf channel reset,port and sl map info. Signed-off-by: Wei Hu(Xavier) Signed-off-by: Lisheng Signed-off-by: oulijun --- drivers/net/ethernet/hisilicon/

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-04 Thread Roman Kagan
On Fri, Mar 04, 2016 at 08:23:09AM +, Li, Liang Z wrote: > > On Thu, Mar 03, 2016 at 05:46:15PM +, Dr. David Alan Gilbert wrote: > > > * Liang Li (liang.z...@intel.com) wrote: > > > > The current QEMU live migration implementation mark the all the > > > > guest's RAM pages as dirtied in the

Re: [PATCH] ath9k: reduce stack usage in ar9003_aic_cal_post_process

2016-03-04 Thread Valo, Kalle
Arnd Bergmann writes: > In some configurations, this function uses more than the warning limit > of 1024 bytes: > > drivers/net/wireless/ath/ath9k/ar9003_aic.c: In function > 'ar9003_aic_cal_post_process': > drivers/net/wireless/ath/ath9k/ar9003_aic.c:434:1: error: the frame size of > 1040 byte

Re: [PATCH V5 01/15] ACPI: MCFG: Move mmcfg_list management to drivers/acpi

2016-03-04 Thread Jayachandran Chandrashekaran Nair
On Fri, Mar 4, 2016 at 4:21 AM, Bjorn Helgaas wrote: > Hi Tomasz, Jayachandran, et al, > > On Tue, Feb 16, 2016 at 02:53:31PM +0100, Tomasz Nowicki wrote: >> From: Jayachandran C >> >> Move pci_mmcfg_list handling to a drivers/acpi/pci_mcfg.c. This is >> to share the API and code with ARM64 later

A oops occur when it calls kmem_cache_alloc

2016-03-04 Thread zhong jiang
The vmcore file show the collapse reason that the page had been removed when we acqure the page and prepare to remove the page from the slub partial list. The list is protected by the spin_lock from concurrent operation. And I find that other core is wating the lock to alloc memory. Therefore ,

Re: [PATCH] Do not modify MSR_IA32_ENERGY_PERF_BIAS in kernel

2016-03-04 Thread Thomas Renninger
On Wednesday, March 02, 2016 01:26:18 AM Rafael J. Wysocki wrote: > On Tuesday, March 01, 2016 01:17:37 PM Thomas Renninger wrote: > > > > if (!cpu_has(c, X86_FEATURE_EPB))z > > > > > > > > return; > > > > > > > > @@ -387,10 +391,8 @@ static void init_intel_energy_

Re: [PATCH v2 2/2] mmc: sdhci-tegra: Specify valid DMA mask

2016-03-04 Thread Arnd Bergmann
On Friday 04 March 2016 15:43:56 Alexandre Courbot wrote: > > > > Yeah, I'm not too sure what is the point of setting the fake mask to > > be honest, but you are definitely right that it is a contradiction to > > call a DMA function on a device that is not DMA-capable. > > Ah, I finally got it - w

Re: [PATCH] leds: Add Chrome OS keyboard backlight LEDs driver

2016-03-04 Thread Evan McClain
On Thu, 2016-03-03 at 15:46 -0800, Dmitry Torokhov wrote: > From: Simon Que > > This is a driver for ACPI-based keyboard backlight LEDs found on > Chromebooks. The driver locates \\_SB.KBLT ACPI device and exports > backlight as "chromeos::kbd_backlight" LED class device in sysfs. Was it ever de

Re: [PATCH] ath10k: remove impossible code

2016-03-04 Thread Valo, Kalle
Sudip Mukherjee writes: > From: Sudip Mukherjee > > len has been initialized with a value of 0 and buf_len with 4096. There > is no way that this condition (len > buf_len) can be true now. > > Signed-off-by: Sudip Mukherjee Applied, thanks. -- Kalle Valo

Re: [PATCH] ath10k: fix erroneous return value

2016-03-04 Thread Valo, Kalle
Anton Protopopov writes: > The ath10k_pci_hif_exchange_bmi_msg() function may return the positive > value EIO instead of -EIO in case of error. > > Signed-off-by: Anton Protopopov Applied, thanks. -- Kalle Valo

Re: hw_breakpoint: Fix Oops at destroying hw_breakpoint event on powerpc

2016-03-04 Thread Michael Ellerman
On Thu, 2016-03-03 at 11:20 +0100, Peter Zijlstra wrote: > On Thu, Mar 03, 2016 at 08:23:38PM +1100, Michael Ellerman wrote: > > On Wed, 2016-03-02 at 12:59 +0100, Peter Zijlstra wrote: > > Indeed, but if there's a preemption point in between setting and using > that state, the ctx->task pointer mi

Re: [PATCH V2 0/8] iommu/amd: enable ACPI hardware ID device support

2016-03-04 Thread Joerg Roedel
On Fri, Mar 04, 2016 at 01:52:31AM +, Wan, Vincent wrote: > > These patches fail to boot on my Carrizo system. Unfortunatly it fails > > before > > console is initialized and the box has no serial port to grab the early > > panic. > > > Joerg, > Can you provide me which branch you are using

Re: [PATCH] KVM: Remove redundant smp_mb() in the kvm_mmu_commit_zap_page()

2016-03-04 Thread Paolo Bonzini
On 04/03/2016 08:12, Lan Tianyu wrote: > > > /* > > > - * wmb: make sure everyone sees our modifications to the page tables > > > - * rmb: make sure we see changes to vcpu->mode > > > > You want to leave the comment explaining the memory barriers and tell that > > kvm_flush_remote_tlbs() conta

Re: [PATCH RFC 1/2] mm: meminit: initialise more memory for inode/dentry hash tables in early boot

2016-03-04 Thread Vlastimil Babka
On 03/03/2016 08:01 AM, Li Zhang wrote: > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -293,13 +293,20 @@ static inline bool update_defer_init(pg_data_t *pgdat, > unsigned long pfn, unsigned long zone_end, > unsigned long *nr_initial

RE: [PATCH V2 0/8] iommu/amd: enable ACPI hardware ID device support

2016-03-04 Thread Wan, Vincent
> > Joerg, > > Can you provide me which branch you are using to test those patches. > > > > We are validating the patches in v4.5.0-rc6, and no issues like your > description. > > I tested them on v4.5-rc5. > Thanks! We will test the patches basing on this v4.5-rc5 version again. Vincent. > >

Re: Question about prio_changed_dl()

2016-03-04 Thread luca abeni
Hi Peter, On Wed, 2 Mar 2016 20:02:58 +0100 Peter Zijlstra wrote: [...] > > +++ b/kernel/sched/core.c > > @@ -4079,6 +4079,8 @@ change: > > new_effective_prio = > > rt_mutex_get_effective_prio(p, newprio); if (new_effective_prio == > > oldprio) { __setscheduler_params(p, attr); > > +

Re: How to merge? (was Re: [PATCH][v4] livepatch/ppc: Enable livepatching on powerpc)

2016-03-04 Thread Jiri Kosina
On Fri, 4 Mar 2016, Michael Ellerman wrote: > Obviously it depends heavily on the content of my series, which will go into > powerpc#next, so it would make sense if this went there too. > > I don't see any changes in linux-next for livepatch, so merging it via powerpc > would probably work fine a

Re: Kernel docs: muddying the waters a bit

2016-03-04 Thread Johannes Stezenbach
On Fri, Mar 04, 2016 at 10:29:08AM +0200, Jani Nikula wrote: > On Fri, 04 Mar 2016, Mauro Carvalho Chehab wrote: > > > > If, on the other hand, we decide to use RST, we'll very likely need to > > patch it to fulfill our needs in order to add proper table support. > > I've no idea how easy/difficul

[PATCH 3.12 000/116] 3.12.56-stable review

2016-03-04 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.56 release. There are 116 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Tue Mar 8 10:01:48 CET 2016. Anything recei

[PATCH 3.12 003/116] af_iucv: Validate socket address length in iucv_sock_bind()

2016-03-04 Thread Jiri Slaby
From: Ursula Braun 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 52a82e23b9f2a9e1d429c5207f8575784290d008 ] Signed-off-by: Ursula Braun Reported-by: Dmitry Vyukov Reviewed-by: Evgeny Cherkashin Signed-off-by: David S. Miller

[PATCH 3.12 002/116] usb: musb: cppi41: correct the macro name EP_MODE_AUTOREG_*

2016-03-04 Thread Jiri Slaby
From: Bin Liu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0149b07a9e28b0d8bd2fc1c238ffe7d530c2673f upstream. The macro EP_MODE_AUTOREG_* should be called EP_MODE_AUTOREQ_*, as they are used for register AUTOREQ. Signed-off-by: Bin Liu S

[PATCH 3.12 022/116] pppoe: fix reference counting in PPPoE proxy

2016-03-04 Thread Jiri Slaby
From: Guillaume Nault 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 29e73269aa4d36f92b35610c25f8b01c789b0dc8 ] Drop reference on the relay_po socket when __pppoe_xmit() succeeds. This is already handled correctly in the error pat

Re: [PATCH v3 2/4] Documentation: Bindings: Add STM32 DWMAC glue

2016-03-04 Thread Alexandre Torgue
Hi Rob, 2016-03-02 19:33 GMT+01:00 Rob Herring : > On Fri, Feb 26, 2016 at 11:51:50AM +0100, Alexandre TORGUE wrote: >> Signed-off-by: Alexandre TORGUE >> >> diff --git a/Documentation/devicetree/bindings/net/stm32-dwmac.txt >> b/Documentation/devicetree/bindings/net/stm32-dwmac.txt >> new file

[PATCH 3.12 070/116] rfkill: copy the name into the rfkill struct

2016-03-04 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit b7bb110008607a915298bf0f47d25886ecb94477 upstream. Some users of rfkill, like NFC and cfg80211, use a dynamic name when allocating rfkill, in those cases dev_name(). Therefor

[PATCH 3.12 067/116] dm space map metadata: fix ref counting bug when bootstrapping a new space map

2016-03-04 Thread Jiri Slaby
From: Joe Thornber 3.12-stable review patch. If anyone has any objections, please let me know. === commit 50dd842ad83b43bed71790efb31cfb2f6c05c9c1 upstream. When applying block operations (BOPs) do not remove them from the uncommitted BOP ring-buffer until after they've been appli

[PATCH 3.12 069/116] vgaarb: fix signal handling in vga_get()

2016-03-04 Thread Jiri Slaby
From: "Kirill A. Shutemov" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e upstream. There are few defects in vga_get() related to signal hadning: - we shouldn't check for pending signals for TASK_U

Re: [PATCH v6 3/4] leds: core: add documentation for color extension

2016-03-04 Thread Jacek Anaszewski
Hi Heiner, Please split the sysfs-class-led part to a separate patch. On 03/02/2016 08:31 PM, Heiner Kallweit wrote: Document the color extension in Documentation/leds/leds-class.txt Signed-off-by: Heiner Kallweit --- v2: - introduced to patch series v3: - document extension in more detail v4

Re: [PATCH v5 4/4] leds: core: add support for RGB LED's

2016-03-04 Thread Jacek Anaszewski
On 03/01/2016 10:36 PM, Heiner Kallweit wrote: Export a function to convert HSV color values to RGB. It's intended to be called by drivers for RGB LEDs. Signed-off-by: Heiner Kallweit --- v2: - move hsv -> rgb conversion to separate file - remove flag LED_DEV_CAP_RGB v3: - call led_hsv_to_rgb o

Re: [PATCH v5 1/4] leds: core: add generic support for RGB Color LED's

2016-03-04 Thread Jacek Anaszewski
Hi Heiner, Thanks for the updated version. Some nitpicking below. Please remove "Color" from the patch title. On 03/01/2016 10:26 PM, Heiner Kallweit wrote: Add generic support for RGB Color LED's. ^^^ Ditto. Basic idea is to use enum led_brightness also for

[PATCH 3.12 115/116] EDAC, mc_sysfs: Fix freeing bus' name

2016-03-04 Thread Jiri Slaby
From: Borislav Petkov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 12e26969b32c79018165d52caff3762135614aa1 upstream. I get the splat below when modprobing/rmmoding EDAC drivers. It happens because bus->name is invalid after bus_unregister

[PATCH 3.12 116/116] bio: return EINTR if copying to user space got interrupted

2016-03-04 Thread Jiri Slaby
From: Hannes Reinecke 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2d99b55d378c996b9692a0c93dd25f4ed5d58934 upstream. Commit 35dc248383bbab0a7203fca4d722875bc81ef091 introduced a check for current->mm to see if we have a user space context

[PATCH 3.12 111/116] kernel/resource.c: fix muxed resource handling in __request_region()

2016-03-04 Thread Jiri Slaby
From: Simon Guinot 3.12-stable review patch. If anyone has any objections, please let me know. === commit 59ceeaaf355fa0fb16558ef7c24413c804932ada upstream. In __request_region, if a conflict with a BUSY and MUXED resource is detected, then the caller goes to sleep and waits for t

Re: [PATCH] crypto/async_pq: use __free_page() instead of put_page()

2016-03-04 Thread Vlastimil Babka
On 02/29/2016 10:33 AM, Arnd Bergmann wrote: > The addition of tracepoints to the page reference tracking had an > unfortunate side-effect in at least one driver that calls put_page > from its exit function, resulting in a link error: > > `.exit.text' referenced in section `__jump_table' of crypto

Re: [PATCH v1] watchdog: sama5d4_wdt: Reset delay on start

2016-03-04 Thread Romain Izard
Hi Wenyou, Guenter, 2016-03-04 6:23 GMT+01:00 Guenter Roeck : > On 03/03/2016 05:35 PM, Yang, Wenyou wrote: >> On 2016/3/3 18:29, Romain Izard wrote: >>> >>> If the internal counter is not refreshed when the watchdog is >>> started for the first time, the watchdog will trigger very rapidly. >>> Fo

RE: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-04 Thread Li, Liang Z
> On Fri, Mar 04, 2016 at 01:52:53AM +, Li, Liang Z wrote: > > > I wonder if it would be possible to avoid the kernel changes by > > > parsing /proc/self/pagemap - if that can be used to detect > > > unmapped/zero mapped pages in the guest ram, would it achieve the > same result? > > > > Only

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-04 Thread Dr. David Alan Gilbert
* Roman Kagan (rka...@virtuozzo.com) wrote: > On Fri, Mar 04, 2016 at 08:23:09AM +, Li, Liang Z wrote: > > > On Thu, Mar 03, 2016 at 05:46:15PM +, Dr. David Alan Gilbert wrote: > > > > * Liang Li (liang.z...@intel.com) wrote: > > > > > The current QEMU live migration implementation mark the

[PATCH 3.12 113/116] xen/pcifront: Fix mysterious crashes when NUMA locality information was extracted.

2016-03-04 Thread Jiri Slaby
From: Konrad Rzeszutek Wilk 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4d8c8bd6f2062c9988817183a91fe2e623c8aa5e upstream. Occasionaly PV guests would crash with: pciback :00:00.1: Xen PCI mapped GSI0 to IRQ16 BUG: unable to handle k

Re: [PATCH] mmc: sdhci-of-at91: fix wakeup issue when using runtime pm

2016-03-04 Thread Ulf Hansson
On 17 February 2016 at 11:35, Ludovic Desroches wrote: > On Tue, Feb 16, 2016 at 04:22:04PM +0100, Ludovic Desroches wrote: >> On Tue, Feb 16, 2016 at 03:38:29PM +0100, Ulf Hansson wrote: >> > On 13 February 2016 at 10:56, Ludovic Desroches >> > wrote: >> > > When suspending the sdhci host, the o

[PATCH 3.12 112/116] do_last(): don't let a bogus return value from ->open() et.al. to confuse us

2016-03-04 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit c80567c82ae4814a41287618e315a60ecf513be6 upstream. ... into returning a positive to path_openat(), which would interpret that as "symlink had been encountered" and proceed to corru

[PATCH 3.12 109/116] tracing: Fix showing function event in available_events

2016-03-04 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit d045437a169f899dfb0f6f7ede24cc042543ced9 upstream. The ftrace:function event is only displayed for parsing the function tracer data. It is not used to enable fun

[PATCH 3.12 114/116] locks: fix unlock when fcntl_setlk races with a close

2016-03-04 Thread Jiri Slaby
From: Jeff Layton 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7f3697e24dc3820b10f445a4a7d914fc356012d1 upstream. Dmitry reported that he was able to reproduce the WARN_ON_ONCE that fires in locks_free_lock_context when the flc_posix list

[PATCH 3.12 108/116] KVM: async_pf: do not warn on page allocation failures

2016-03-04 Thread Jiri Slaby
From: Christian Borntraeger 3.12-stable review patch. If anyone has any objections, please let me know. === commit d7444794a02ff655eda87e3cc54e86b940e7736f upstream. In async_pf we try to allocate with NOWAIT to get an element quickly or fail. This code also handle failures gracef

[PATCH 3.12 104/116] libata: fix sff host state machine locking while polling

2016-03-04 Thread Jiri Slaby
From: Tejun Heo 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8eee1d3ed5b6fc8e14389567c9a6f53f82bb7224 upstream. The bulk of ATA host state machine is implemented by ata_sff_hsm_move(). The function is called from either the interrupt hand

[PATCH 3.12 110/116] sunrpc/cache: fix off-by-one in qword_get()

2016-03-04 Thread Jiri Slaby
From: Stefan Hajnoczi 3.12-stable review patch. If anyone has any objections, please let me know. === commit b7052cd7bcf3c1478796e93e3dff2b44c9e82943 upstream. The qword_get() function NUL-terminates its output buffer. If the input string is in hex format \x... and the same l

[PATCH 3.12 105/116] PCI/AER: Flush workqueue on device remove to avoid use-after-free

2016-03-04 Thread Jiri Slaby
From: Sebastian Andrzej Siewior 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4ae2182b1e3407de369f8c5d799543b7db74221b upstream. A Root Port's AER structure (rpc) contains a queue of events. aer_irq() enqueues AER status information and sc

[PATCH 3.12 107/116] NFSv4: Fix a dentry leak on alias use

2016-03-04 Thread Jiri Slaby
From: Benjamin Coddington 3.12-stable review patch. If anyone has any objections, please let me know. === commit d9dfd8d741683347ee159d25f5b50c346a0df557 upstream. In the case where d_add_unique() finds an appropriate alias to use it will have already incremented the reference cou

RE: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-04 Thread Li, Liang Z
> * Roman Kagan (rka...@virtuozzo.com) wrote: > > On Fri, Mar 04, 2016 at 08:23:09AM +, Li, Liang Z wrote: > > > > On Thu, Mar 03, 2016 at 05:46:15PM +, Dr. David Alan Gilbert wrote: > > > > > * Liang Li (liang.z...@intel.com) wrote: > > > > > > The current QEMU live migration implementatio

[PATCH 3.12 066/116] sata_sil: disable trim

2016-03-04 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit d98f1cd0a3b70ea91f1dfda3ac36c3b2e1a4d5e2 upstream. When I connect an Intel SSD to SATA SIL controller (PCI ID 1095:3114), any TRIM command results in I/O errors being repor

[PATCH 3.12 106/116] nfs: fix nfs_size_to_loff_t

2016-03-04 Thread Jiri Slaby
From: Christoph Hellwig 3.12-stable review patch. If anyone has any objections, please let me know. === commit 50ab8ec74a153eb30db26529088bc57dd700b24c upstream. See http: //www.infradead.org/rpr.html X-Evolution-Source: 1451162204.2173...@leira.trondhjem.org Content-Transfer-Enco

Re: [PATCH] mmc: sdhci-of-at91: fix wakeup issue when using runtime pm

2016-03-04 Thread Ulf Hansson
+ Ludovic On 4 March 2016 at 10:09, Ulf Hansson wrote: > On 17 February 2016 at 11:35, Ludovic Desroches > wrote: >> On Tue, Feb 16, 2016 at 04:22:04PM +0100, Ludovic Desroches wrote: >>> On Tue, Feb 16, 2016 at 03:38:29PM +0100, Ulf Hansson wrote: >>> > On 13 February 2016 at 10:56, Ludovic Des

[PATCH 3.12 099/116] IB/qib: fix mcast detach when qp not attached

2016-03-04 Thread Jiri Slaby
From: Mike Marciniszyn 3.12-stable review patch. If anyone has any objections, please let me know. === commit 09dc9cd6528f5b52bcbd3292a6312e762c85260f upstream. The code produces the following trace: [1750924.419007] general protection fault: [#3] SMP [1750924.420364] Module

[PATCH 3.12 098/116] drm/radeon/pm: adjust display configuration after powerstate

2016-03-04 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 39d4275058baf53e89203407bf3841ff2c74fa32 upstream. set_power_state defaults to no displays, so we need to update the display configuration after setting up the powerstate on t

[PATCH 3.12 103/116] rfkill: fix rfkill_fop_read wait_event usage

2016-03-04 Thread Jiri Slaby
From: Johannes Berg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6736fde9672ff6717ac576e9bba2fd5f3dfec822 upstream. The code within wait_event_interruptible() is called with !TASK_RUNNING, so mustn't call any functions that can sleep, like

[PATCH 3.12 085/116] dm space map metadata: remove unused variable in brb_pop()

2016-03-04 Thread Jiri Slaby
From: Mike Snitzer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 512167788a6fe9481a33a3cce5f80b684631a1bb upstream. Remove the unused struct block_op pointer that was inadvertantly introduced, via cut-and-paste of previous brb_op() code, as

[PATCH 3.12 100/116] hwmon: (ads1015) Handle negative conversion values correctly

2016-03-04 Thread Jiri Slaby
From: Peter Rosin 3.12-stable review patch. If anyone has any objections, please let me know. === commit acc146943957d7418a6846f06e029b2c5e87e0d5 upstream. Make the divisor signed as DIV_ROUND_CLOSEST is undefined for negative dividends when the divisor is unsigned. Signed-off-by

Re: bluetooth: use-after-free in vhci_send_frame

2016-03-04 Thread Dmitry Vyukov
On Fri, Jan 29, 2016 at 9:50 AM, Dmitry Vyukov wrote: > Hello, > > I've got the following use-after-free reports while running syzkaller > fuzzer. Unfortunately no reproducer. But this happened when system was > busy reacting on sysrq t, so probably some unexpected delay happended. > > On commit 9

[PATCH 3.12 101/116] libceph: don't bail early from try_read() when skipping a message

2016-03-04 Thread Jiri Slaby
From: Ilya Dryomov 3.12-stable review patch. If anyone has any objections, please let me know. === commit e7a88e82fe380459b864e05b372638aeacb0f52d upstream. The contract between try_read() and try_write() is that when called each processes as much data as possible. When instructe

Re: [PATCH 3/4] infiniband: hns: add Hisilicon RoCE support(driver code)

2016-03-04 Thread Jiri Pirko
Fri, Mar 04, 2016 at 09:41:16AM CET, xavier.hu...@huawei.com wrote: >+int hns_roce_buf_alloc( >+ struct hns_roce_dev *hr_dev, >+ int size, int max_direct, >+ struct hns_roce_buf *buf) >+ >+ pages = >

Re: [PATCH 1/2] [media] vb2-memops: Fix over allocation of frame vectors

2016-03-04 Thread Marek Szyprowski
Hello, On 2016-03-03 20:12, Ricardo Ribalda Delgado wrote: On page unaligned frames, create_framevec forces get_vaddr_frames to allocate an extra page at the end of the buffer. Under some circumstances, this leads to -EINVAL on VIDIOC_QBUF. E.g: We have vm_a that vm_area that goes from 0x1000 t

Re: [RESEND PATCH v5 2/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2016-03-04 Thread Adrian Hunter
On 19/02/16 04:20, Shawn Lin wrote: > This patch adds Generic PHY access for sdhci-of-arasan. Driver > can get PHY handler from dt-binding, and power-on/init the PHY. > Currently, it's just mandatory for arasan,sdhci-5.1. > > Signed-off-by: Shawn Lin Sorry for the slow reply. Was on vacation an

[PATCH 3.12 097/116] drm/radeon: use post-decrement in error handling

2016-03-04 Thread Jiri Slaby
From: Rasmus Villemoes 3.12-stable review patch. If anyone has any objections, please let me know. === commit bc3f5d8c4ca01555820617eb3b6c0857e4df710d upstream. We need to use post-decrement to get the pci_map_page undone also for i==0, and to avoid some very unpleasant behaviour

[PATCH 3.12 096/116] drm/qxl: use kmalloc_array to alloc reloc_info in qxl_process_single_command

2016-03-04 Thread Jiri Slaby
From: Gerd Hoffmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 34855706c30d52b0a744da44348b5d1cc39fbe51 upstream. This avoids integer overflows on 32bit machines when calculating reloc_info size, as reported by Alan Cox. Cc: gno...@lxor

[PATCH 3.12 065/116] sched/core: Remove false-positive warning from wake_up_process()

2016-03-04 Thread Jiri Slaby
From: Sasha Levin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 119d6f6a3be8b424b200dcee56e74484d5445f7e upstream. Because wakeups can (fundamentally) be late, a task might not be in the expected state. Therefore testing against a task's st

[PATCH 3.12 102/116] cdc-acm:exclude Samsung phone 04e8:685d

2016-03-04 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit e912e685f372ab62a2405a1acd923597f524e94a upstream. This phone needs to be handled by a specialised firmware tool and is reported to crash irrevocably if cdc-acm takes it. Si

[PATCH 3.12 092/116] drm/vmwgfx: respect 'nomodeset'

2016-03-04 Thread Jiri Slaby
From: Rob Clark 3.12-stable review patch. If anyone has any objections, please let me know. === commit 96c5d076f0a5e2023ecdb44d8261f87641ee71e0 upstream. Signed-off-by: Rob Clark Reviewed-by: Thomas Hellstrom . Signed-off-by: Dave Airlie Signed-off-by: Jiri Slaby --- drivers/g

[PATCH 3.12 095/116] drm/i915/dp: fall back to 18 bpp when sink capability is unknown

2016-03-04 Thread Jiri Slaby
From: Jani Nikula 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5efd407674068dede403551bea3b0b134c32513a upstream. Per DP spec, the source device should fall back to 18 bpp, VESA range RGB when the sink capability is unknown. Fix the color

[PATCH 3.12 091/116] sparc64: fix incorrect sign extension in sys_sparc64_personality

2016-03-04 Thread Jiri Slaby
From: "Dmitry V. Levin" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 525fd5a94e1be0776fa652df5c687697db508c91 upstream. The value returned by sys_personality has type "long int". It is saved to a variable of type "int", which is not a prob

[PATCH 3.12 094/116] drm/radeon: hold reference to fences in radeon_sa_bo_new

2016-03-04 Thread Jiri Slaby
From: Nicolai Hähnle 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6ff4f67cdf8455d0a4226eeeaf5af17c37d05eb upstream. An arbitrary amount of time can pass between spin_unlock and radeon_fence_wait_any, so we need to ensure that nobody frees

[PATCH 3.12 093/116] drm/radeon: clean up fujitsu quirks

2016-03-04 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0eb1c3d4084eeb6fb3a703f88d6ce1521f8fcdd1 upstream. Combine the two quirks. bug: https://bugzilla.kernel.org/show_bug.cgi?id=109481 Signed-off-by: Alex Deucher Signed-off-by

[PATCH 3.12 088/116] mmc: sdhci: Fix sdhci_runtime_pm_bus_on/off()

2016-03-04 Thread Jiri Slaby
From: Adrian Hunter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5c671c410c8704800f4f1673b6f572137e7e6ddd upstream. sdhci has a legacy facility to prevent runtime suspend if the bus power is on. This is needed in cases where the power to

[PATCH 3.12 087/116] posix-clock: Fix return code on the poll method's error path

2016-03-04 Thread Jiri Slaby
From: Richard Cochran 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1b9f23727abb92c5e58f139e7d180befcaa06fe0 upstream. The posix_clock_poll function is supposed to return a bit mask of POLLxxx values. However, in case the hardware has disa

[PATCH 3.12 090/116] EDAC: Robustify workqueues destruction

2016-03-04 Thread Jiri Slaby
From: Borislav Petkov 3.12-stable review patch. If anyone has any objections, please let me know. === commit fcd5c4dd8201595d4c598c9cca5e54760277d687 upstream. EDAC workqueue destruction is really fragile. We cancel delayed work but if it is still running and requeues itself, we s

[PATCH 3.12 089/116] mmc: mmci: fix an ages old detection error

2016-03-04 Thread Jiri Slaby
From: Linus Walleij 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0bcb7efdff63564e80fe84dd36a9fbdfbf6697a4 upstream. commit 4956e10903fd ("ARM: 6244/1: mmci: add variant data and default MCICLOCK support") added variant data for ARM, U300 a

Re: [RESEND PATCH v5 0/2] Add phy support for arasan,sdhci-5.1

2016-03-04 Thread Adrian Hunter
On 04/03/16 03:27, Shawn Lin wrote: > 在 2016/2/20 6:23, Ulf Hansson 写道: >> >> Den 19 feb 2016 3:24 fm skrev "Shawn Lin" > >: >> > >> > >> > Hello Ulf and Adrian, >> > >> > Sorry for delay the new version for this topic. Actually I have no >> > platform availab

[PATCH 3.12 082/116] media: dvb-core: Don't force CAN_INVERSION_AUTO in oneshot mode

2016-03-04 Thread Jiri Slaby
From: Malcolm Priestley 3.12-stable review patch. If anyone has any objections, please let me know. === commit c9d57de6103e343f2d4e04ea8d9e417e10a24da7 upstream. When in FE_TUNE_MODE_ONESHOT the frontend must report the actual capabilities so user can take appropriate action. Wit

[PATCH 3.12 076/116] Btrfs: send, don't BUG_ON() when an empty symlink is found

2016-03-04 Thread Jiri Slaby
From: Filipe Manana 3.12-stable review patch. If anyone has any objections, please let me know. === commit a879719b8c90e15c9e7fa7266d5e3c0ca962f9df upstream. When a symlink is successfully created it always has an inline extent containing the source path. However if an error happe

[PATCH 3.12 077/116] Btrfs: fix number of transaction units required to create symlink

2016-03-04 Thread Jiri Slaby
From: Filipe Manana 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9269d12b2d57d9e3d13036bb750762d1110d425c upstream. We weren't accounting for the insertion of an inline extent item for the symlink inode nor that we need to update the paren

[PATCH 3.12 075/116] Btrfs: igrab inode in writepage

2016-03-04 Thread Jiri Slaby
From: Josef Bacik 3.12-stable review patch. If anyone has any objections, please let me know. === commit be7bd730841e69fe8f70120098596f648cd1f3ff upstream. We hit this panic on a few of our boxes this week where we have an ordered_extent with an NULL inode. We do an igrab() of th

[PATCH 3.12 079/116] s390/dasd: fix refcount for PAV reassignment

2016-03-04 Thread Jiri Slaby
From: Stefan Haberland 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9d862ababb609439c5d6987f6d3ddd09e703aa0b upstream. Add refcount to the DASD device when a summary unit check worker is scheduled. This prevents that the device is set offl

[PATCH 3.12 078/116] s390/dasd: prevent incorrect length error under z/VM after PAV changes

2016-03-04 Thread Jiri Slaby
From: Stefan Haberland 3.12-stable review patch. If anyone has any objections, please let me know. === commit 020bf042e5b397479c1174081b935d0ff15d1a64 upstream. The channel checks the specified length and the provided amount of data for CCWs and provides an incorrect length error

[PATCH 3.12 084/116] tda1004x: only update the frontend properties if locked

2016-03-04 Thread Jiri Slaby
From: Mauro Carvalho Chehab 3.12-stable review patch. If anyone has any objections, please let me know. === commit e8beb02343e7582980c6705816cd957cf4f74c7a upstream. The tda1004x was updating the properties cache before locking. If the device is not locked, the data at the registe

[PATCH 3.12 081/116] uml: fix hostfs mknod()

2016-03-04 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9f2dfda2f2f1c6181c3732c16b85c59ab2d195e0 upstream. An inverted return value check in hostfs_mknod() caused the function to return success after handling it as an error (and c

[PATCH 3.12 080/116] uml: flush stdout before forking

2016-03-04 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0754fb298f2f2719f0393491d010d46cfb25d043 upstream. I was seeing some really weird behaviour where piping UML's output somewhere would cause output to get duplicated: $ ./v

[PATCH 3.12 083/116] gspca: ov534/topro: prevent a division by 0

2016-03-04 Thread Jiri Slaby
From: Antonio Ospite 3.12-stable review patch. If anyone has any objections, please let me know. === commit dcc7fdbec53a960588f2c40232db2c6466c09917 upstream. v4l2-compliance sends a zeroed struct v4l2_streamparm in v4l2-test-formats.cpp::testParmType(), and this results in a divi

[PATCH 3.12 086/116] dm snapshot: fix hung bios when copy error occurs

2016-03-04 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 385277bfb57faac44e92497104ba542cdd82d5fe upstream. When there is an error copying a chunk dm-snapshot can incorrectly hold associated bios indefinitely, resulting in hung I

  1   2   3   4   5   6   7   8   9   10   >