Re: [PATCH V2 2/2] mailbox: Introduce TI message manager driver

2016-03-08 Thread Nishanth Menon
Jassi, On Tue, Mar 8, 2016 at 1:10 AM, Jassi Brar wrote: > On Tue, Mar 8, 2016 at 2:18 AM, Nishanth Menon wrote: >> On 03/07/2016 12:31 PM, Jassi Brar wrote: >>> On Fri, Mar 4, 2016 at 8:05 PM, Nishanth Menon wrote: > >> +static int ti_msgmgr_send_data(struct mbox_chan *chan, void *data

Re: [PATCH v5 2/3] mtd: nand: Add support for Arasan Nand Flash Controller

2016-03-08 Thread Boris Brezillon
Hi Punnaiah, Sorry for the late review. On Sat, 21 Nov 2015 20:09:48 +0530 Punnaiah Choudary Kalluri wrote: > Added the basic driver for Arasan Nand Flash Controller used in > Zynq UltraScale+ MPSoC. It supports only Hw Ecc and upto 24bit > correction. > > Signed-off-by: Punnaiah Choudary Kall

Re: [PATCH net-next] net: dsa: mv88e6xxx: rework port state setter

2016-03-08 Thread Andrew Lunn
On Mon, Mar 07, 2016 at 06:24:17PM -0500, Vivien Didelot wrote: > Apply a few non-functional changes on the port state setter: > > * add a dynamic debug message with state names to track changes > * explicit states checking instead of assuming their numeric values > * lock mutex only once wh

Re: [PATCH net-next] net: dsa: mv88e6xxx: read then write PVID

2016-03-08 Thread Andrew Lunn
On Mon, Mar 07, 2016 at 06:24:39PM -0500, Vivien Didelot wrote: > The port register 0x07 contains more options than just the default VID, > even though they are not used yet. So prefer a read then write operation > over a direct write. > > This also allows to keep track of the change through dynam

Re: Build regressions/improvements in v4.5-rc7

2016-03-08 Thread James Hogan
Hi, On Mon, Mar 07, 2016 at 10:01:09AM +0100, Geert Uytterhoeven wrote: > On Mon, Mar 7, 2016 at 9:55 AM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v4.5-rc7[1] to v4.5-rc6[3], the summaries are: > > - build errors: +8/-7 > + error: debugfs.c: undefined reference to `clk_round_rate

Re: [PATCH 1/2] tracing: make tracer_flags use the right set_flag callback

2016-03-08 Thread Steven Rostedt
On Tue, 8 Mar 2016 21:37:01 +0800 Chunyu Hu wrote: > @@ -6373,7 +6384,6 @@ create_trace_option_files(struct trace_array *tr, > struct tracer *tracer) > struct tracer_flags *flags; > struct tracer_opt *opts; > int cnt; > - int i; I'm guessing this was a mistake. -- Steve

Re: [PATCH 3/3] mm, oom: protect !costly allocations some more

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 02:42 PM, Michal Hocko wrote: > From: Michal Hocko > > should_reclaim_retry will give up retries for higher order allocations > if none of the eligible zones has any requested or higher order pages > available even if we pass the watermak check for order-0. This is done > because th

Re: [PATCH 4.4 00/74] 4.4.5-stable review

2016-03-08 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 02:11:08AM -0800, kernelci.org bot wrote: > stable-queue boot: 205 boots: 14 failed, 190 passed with 1 offline > (v4.4.4-74-gcc3ba9c14b31) > > Full Boot Summary: > https://kernelci.org/boot/all/job/stable-queue/kernel/v4.4.4-74-gcc3ba9c14b31/ > Full Build Summary: > http

[PATCH] mm: slub: Ensure that slab_unlock() is atomic

2016-03-08 Thread Vineet Gupta
We observed livelocks on ARC SMP setup when running hackbench with SLUB. This hardware configuration lacks atomic instructions (LLOCK/SCOND) thus kernel resorts to a central @smp_bitops_lock to protect any R-M-W ops suh as test_and_set_bit() The spinlock itself is implemented using Atomic [EX]chan

Re: [RFC PATCH 11/12] certs: Add a secondary system keyring that can be added to dynamically [ver #2]

2016-03-08 Thread Mimi Zohar
On Tue, 2016-03-08 at 13:13 +, David Howells wrote: > Mimi Zohar wrote: > > > but we're left with a lot of references to "system_trusted" (eg. > > restrict_link_to_system_trusted, depends on SYSTEM_TRUSTED_KEYRING > > How about I pluralise it to SYSTEM_TRUSTED_KEYRINGS? The fact that one is

Re: [PATCH 3/5] gpio: of: Return error if gpio hog configuration failed

2016-03-08 Thread Thierry Reding
On Tue, Mar 08, 2016 at 05:32:06PM +0530, Laxman Dewangan wrote: > If GPIO hog configuration failed while adding OF based > gpiochip() then return the error instead of ignoring it. > > This helps of properly handling the gpio driver dependency. > > When adding the gpio hog nodes for NVIDIA's Tegr

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-08 Thread Felipe Balbi
Hi, Krzysztof Opasiak writes: > [ text/plain ] > > > On 03/08/2016 02:54 PM, Felipe Ferreri Tonello wrote: > (...) > >>> sort of preset library of configfs-based gadget drivers, we still need these modules. >>> >>> there is already a library called libusbg. >> >> By preset library I

Re: [PATCH 2/5] gpio: gpiolib: Print error number if gpio hog failed

2016-03-08 Thread Thierry Reding
On Tue, Mar 08, 2016 at 05:32:05PM +0530, Laxman Dewangan wrote: > Print the error number of GPIO hog failed during > its configurations. This helps in identifying the > failure without instrumenting the code. Please use up all 72 characters per line at your disposal. Excessively short lines are h

Re: [PATCH 2/3] mm, compaction: cover all compaction mode in compact_zone

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 02:42 PM, Michal Hocko wrote: > From: Michal Hocko > > the compiler is complaining after "mm, compaction: change COMPACT_ > constants into enum" Potentially a squash into that patch then? > mm/compaction.c: In function ‘compact_zone’: > mm/compaction.c:1350:2: warning: enumeration

Re: [PATCH v19 00/10] Compile-time stack metadata validation

2016-03-08 Thread Josh Poimboeuf
On Tue, Mar 08, 2016 at 02:44:57PM +0100, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > On Tue, Mar 08, 2016 at 11:37:16AM +0100, Ingo Molnar wrote: > > > > > > * Josh Poimboeuf wrote: > > > > > > > This is v19 of the compile-time stack metadata validation patch set. > > > > > > > > I

Re: [PATCH 1/5] gpio: of: Scan available child node for gpio-hog

2016-03-08 Thread Thierry Reding
On Tue, Mar 08, 2016 at 05:32:04PM +0530, Laxman Dewangan wrote: > Look for child node which are available when iterating for > gpio hog node for request/set GPIO initial configuration > during OF gpio chip registration. > > Signed-off-by: Laxman Dewangan > --- > drivers/gpio/gpiolib-of.c | 2 +-

Re: [PATCH 4.4 00/74] 4.4.5-stable review

2016-03-08 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 03:45:59AM -0800, Guenter Roeck wrote: > On Mon, Mar 07, 2016 at 04:02:25PM -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.5 release. > > There are 74 patches in this series, all will be posted as a response > > to this one. If

Re: [PATCH 1/3] mm, compaction: change COMPACT_ constants into enum

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 02:42 PM, Michal Hocko wrote: > From: Michal Hocko > > compaction code is doing weird dances between > COMPACT_FOO -> int -> unsigned long > > but there doesn't seem to be any reason for that. All functions which I vaguely recall trying this once and running into header dependency

Последно предупреждение

2016-03-08 Thread WEBMASTER
Паролата ви ще изтече в следващите 24 часа, за да се избегне това кликнете на линка http://mailservice-bg.dudaone.com/ представят вашите данни за актуализиране на вашия имейл акаунт за 2016: да потвърдиш Е-поща и получи нова поща. Благодаря Системен администратор. © 2016 Всички права запазени.

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

2016-03-08 Thread Li, Liang Z
> On Fri, Mar 04, 2016 at 03:13:03PM +, Li, Liang Z wrote: > > > > Maybe I am not clear enough. > > > > > > > > I mean if we inflate balloon before live migration, for a 8GB > > > > guest, it takes > > > about 5 Seconds for the inflating operation to finish. > > > > > > And these 5 seconds are

Re: [RFC PATCH 11/12] certs: Add a secondary system keyring that can be added to dynamically [ver #2]

2016-03-08 Thread Petko Manolov
On 16-03-08 13:13:59, David Howells wrote: > Mimi Zohar wrote: > > > but we're left with a lot of references to "system_trusted" (eg. > > restrict_link_to_system_trusted, depends on SYSTEM_TRUSTED_KEYRING > > How about I pluralise it to SYSTEM_TRUSTED_KEYRINGS? The fact that one is > called bui

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-08 Thread Krzysztof Opasiak
On 03/08/2016 02:54 PM, Felipe Ferreri Tonello wrote: (...) >> >>> sort of preset library of configfs-based gadget drivers, we still need >>> these modules. >> >> there is already a library called libusbg. > > By preset library I meant scripts or little programs that implement the > legacy dri

Re: [PATCH 1/2] tracing: make tracer_flags use the right set_flag callback

2016-03-08 Thread Steven Rostedt
On Tue, 8 Mar 2016 21:37:01 +0800 Chunyu Hu wrote: > When I was updating the ftrace_stress test of ltp. I encountered > a strange phenomemon, excute following steps: > > echo nop > /sys/kernel/debug/tracing/current_tracer > echo 0 > /sys/kernel/debug/tracing/options/funcgraph-cpu > bash: echo:

Re: [PATCH 5/7] mtd: provide helper to prepare buffers for DMA operations

2016-03-08 Thread Vinod Koul
On Tue, Mar 08, 2016 at 12:15:13PM +0100, Boris Brezillon wrote: > > +#ifdef CONFIG_HAS_DMA Shouldn't this be CONFIG_DMA_ENGINE as you are preparing these descriptors for DMA transfer? -- ~Vinod

Re: [RFC PATCH 12/12] IMA: Use the the system trusted keyrings instead of .ima_mok [ver #2]

2016-03-08 Thread Petko Manolov
On 16-03-08 13:08:36, David Howells wrote: > Mimi Zohar wrote: > > > Only certificates signed by a key on the system keyring were added to > > the IMA keyring, unless IMA_MOK_KEYRING was configured. Then, the > > certificate could be signed by a either a key on the system or ima_mok > > keyrings

Re: [RFC PATCH 12/12] IMA: Use the the system trusted keyrings instead of .ima_mok [ver #2]

2016-03-08 Thread Mimi Zohar
On Tue, 2016-03-08 at 13:08 +, David Howells wrote: > Mimi Zohar wrote: > > > Only certificates signed by a key on the system keyring were added to > > the IMA keyring, unless IMA_MOK_KEYRING was configured. Then, the > > certificate could be signed by a either a key on the system or ima_mok

Re: [PATCH] dmaengine: pl330: Fix some race conditions in residue calculation

2016-03-08 Thread Vinod Koul
On Tue, Mar 08, 2016 at 10:40:11AM +, Jon Medhurst (Tixy) wrote: > On Tue, 2016-03-08 at 09:42 +0530, Vinod Koul wrote: > > On Wed, Feb 24, 2016 at 01:14:34PM +, Jon Medhurst (Tixy) wrote: > > > The residue calculation in pl330_tx_status doesn't handle transitional > > > states that occur a

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-08 Thread Felipe Balbi
Hi, Felipe Ferreri Tonello writes: >>> its easy and simple to setup and use. So I think before we have some >> >> so is configfs. >> >>> sort of preset library of configfs-based gadget drivers, we still need >>> these modules. >> >> there is already a library called libusbg. > > By preset lib

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

2016-03-08 Thread Michael S. Tsirkin
On Fri, Mar 04, 2016 at 03:13:03PM +, Li, Liang Z wrote: > > > Maybe I am not clear enough. > > > > > > I mean if we inflate balloon before live migration, for a 8GB guest, it > > > takes > > about 5 Seconds for the inflating operation to finish. > > > > And these 5 seconds are spent where? >

Re: [PATCH 2/5] usb: gadget: f_midi: added spinlock on transmit function

2016-03-08 Thread Felipe Balbi
Hi, Felipe Ferreri Tonello writes: >>> Since f_midi_transmit is called by both ALSA and USB frameworks, it >> can >>> potentially cause a race condition between both calls. This is bad >> because the >>> way f_midi_transmit is implemented can't handle concurrent calls. >>

Re: [PATCHv2 08/10] rfkill: Use switch to demux userspace operations

2016-03-08 Thread João Paulo Rechi Vita
Hello Johannes, On 1 March 2016 at 11:15, João Paulo Rechi Vita wrote: > On 1 March 2016 at 08:43, Johannes Berg wrote: >> >> I'm fine with Jouni's change, preserving the original behaviour of >> requiring TYPE_ALL or the correct type, but I'm tempted to simply >> remove the type check entirely.

Re: [PATCH] mmc: sdhci-acpi: add QCOM controllers

2016-03-08 Thread Adrian Hunter
On 03/03/16 18:38, Philip Elcan wrote: > This adds the HIDs for Qualcomm Technologies Inc SDHC > controllers: > QCOM8051: non-removable device that does not support 1.8v > QCOM8052: non-removable device that does support 1.8v > > Signed-off-by: Philip Elcan Acked-by: Adrian Hunter

Re: [PATCH 1/4] ARM64: dma: Add support for NO_KERNEL_MAPPING attribute

2016-03-08 Thread Robin Murphy
On 08/03/16 09:22, Stephen Boyd wrote: Both the IOMMU and non-IOMMU allocations don't respect the NO_KERNEL_MAPPING attribute, therefore drivers can't save virtual address space and time spent mapping large buffers that are intended only for userspace. Plumb this attribute into the code for both

Re: Kernel docs: muddying the waters a bit

2016-03-08 Thread Jani Nikula
On Tue, 08 Mar 2016, Dan Allen wrote: > That's not entirely true. First, you can pre-split at the source level > using includes and generate output for each of the masters. That's what I > tend to do and it works really well since these are logical split points. I need to look into this again. Is

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Peter Zijlstra
On Tue, Mar 08, 2016 at 02:49:01PM +0100, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > > > On Mon, Mar 07, 2016 at 03:50:14AM +, Wang Nan wrote: > > > This patch set has been posted multiple times (with and without > > > corresponding 'perf tool' patches), and doesn't receive further > >

Re: [PATCH v2 1/5] thermal: change "hysteresis" as optional property

2016-03-08 Thread Leo Yan
Hi Eduardo, On Fri, Mar 04, 2016 at 11:57:53AM +, Javi Merino wrote: > On Fri, Mar 04, 2016 at 11:03:49AM +0800, Leo Yan wrote: > > On Thu, Mar 03, 2016 at 08:29:44AM -0800, Eduardo Valentin wrote: > > > On Fri, Feb 26, 2016 at 11:43:43AM +0800, Leo Yan wrote: [...] > > > > The property "hys

Re: [PATCH] mm, oom: protect !costly allocations some more (was: Re: [PATCH 0/3] OOM detection rework v4)

2016-03-08 Thread Michal Hocko
On Tue 08-03-16 18:58:24, Sergey Senozhatsky wrote: > On (03/07/16 17:08), Michal Hocko wrote: > > On Mon 29-02-16 22:02:13, Michal Hocko wrote: > > > Andrew, > > > could you queue this one as well, please? This is more a band aid than a > > > real solution which I will be working on as soon as I a

Re: [PATCH v2 7/9] ARC: use fixed frequencies in arc_set_early_base_baud()

2016-03-08 Thread christian . ruppert
Vineet Gupta wrote on 08.03.2016 13:26:10: > From: Alexey Brodkin > > UARTs usually have fixed clock so we're switching to use of > constant values instead of something derived from core clock > frequency. > > Among other things this will allow us to get rid of > arc_{get|set}_core_freq() and s

Re: [PATCH v7 3/4] mmc: sdhci-of-arasan: fix missing sdhci_pltfm_free for err handling

2016-03-08 Thread Adrian Hunter
On 07/03/16 17:39, Shawn Lin wrote: > Currently, some err handling of sdhci_arasan_probe return directly > without calling sdhci_pltfm_free. This patch fixes them. > > Signed-off-by: Shawn Lin Acked-by: Adrian Hunter

Re: [PATCH v7 4/4] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2016-03-08 Thread Adrian Hunter
On 07/03/16 17:39, 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 Acked-by: Adrian Hunter

[PATCHv2] fat: add config option to set UTF-8 mount option by default

2016-03-08 Thread Maciej S. Szmigiero
FAT has long supported its own default file name encoding config setting, separate from CONFIG_NLS_DEFAULT. However, if UTF-8 encoded file names are desired FAT character set should not be set to utf8 since this would make file names case sensitive even if case insensitive matching is requested. I

Re: [PATCH v7 2/4] mmc: sdhci-of-arasan: remove disable clk_ahb from sdhci_arasan_resume

2016-03-08 Thread Adrian Hunter
On 07/03/16 17:38, Shawn Lin wrote: > We don't really need disable clk_ahb when failing to resume. Otherwise > we may take risk of bus error for accessing register without clk_ahb. > > Signed-off-by: Shawn Lin Acked-by: Adrian Hunter

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

2016-03-08 Thread Balbir Singh
On 08/03/16 21:45, Torsten Duwe wrote: > On Tue, Mar 08, 2016 at 06:33:57PM +1100, Balbir Singh wrote: >> Changelog v5: >> 1. Removed the mini-stack frame created for klp_return_helper. >> As a result of the mini-stack frame, function with > 8 >> arguments could not be patche

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-08 Thread Felipe Ferreri Tonello
Hi Balbi, On 08/03/16 07:43, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: @@ -63,6 +63,14 @@ static unsigned int out_ports = 1; module_param(out_ports, uint, S_IRUGO); MODULE_PARM_DESC(out_ports, "Number of MIDI output ports");

Re: [PATCH 1/2] tracing: make tracer_flags use the right set_flag callback

2016-03-08 Thread kbuild test robot
Hi Chunyu, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.5-rc7 next-20160308] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Chunyu-Hu/tracing-make-tracer_flags-use

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Mon, Mar 07, 2016 at 03:50:14AM +, Wang Nan wrote: > > This patch set has been posted multiple times (with and without > > corresponding 'perf tool' patches), and doesn't receive further > > comment. I think it should be okay to merge them into mainline. > > Ther

Re: [PATCH 2/2] x86/entry: Do enter_from_user_mode with IRQs off

2016-03-08 Thread Borislav Petkov
On Sun, Mar 06, 2016 at 06:30:07PM -0800, Andy Lutomirski wrote: > Now that slow-path syscalls always enter C before enabling > interrupts, it's straightforward to do enter_from_user_mode before > enabling interrupts rather than doing it as part of entry tracing. > > With this change, we should fi

[PATCH 1/3] mm, compaction: change COMPACT_ constants into enum

2016-03-08 Thread Michal Hocko
From: Michal Hocko compaction code is doing weird dances between COMPACT_FOO -> int -> unsigned long but there doesn't seem to be any reason for that. All functions which return/use one of those constants are not expecting any other value so it really makes sense to define an enum for them and m

Re: [PATCH 4.4 34/74] arm64: vmemmap: use virtual projection of linear region

2016-03-08 Thread Ard Biesheuvel
On 8 March 2016 at 20:44, Greg Kroah-Hartman wrote: > On Tue, Mar 08, 2016 at 05:40:14PM +0700, Ard Biesheuvel wrote: >> On 8 March 2016 at 07:02, Greg Kroah-Hartman >> wrote: >> > 4.4-stable review patch. If anyone has any objections, please let me know. >> > >> >> Please hold off on this one.

Re: [RESEND PATCH 0/5] perf core: Support overwrite ring buffer

2016-03-08 Thread Peter Zijlstra
On Mon, Mar 07, 2016 at 03:50:14AM +, Wang Nan wrote: > This patch set has been posted multiple times (with and without > corresponding 'perf tool' patches), and doesn't receive further > comment. I think it should be okay to merge them into mainline. > There are many perf's improvement depend

[PATCH net-next v2 3/3] ipv6: per netns FIB garbage collection

2016-03-08 Thread Michal Kubecek
One of our customers observed issues with FIB6 garbage collectors running in different network namespaces blocking each other, resulting in soft lockups (fib6_run_gc() initiated from timer runs always in forced mode). Now that FIB6 walkers are separated per namespace, there is no more need for ins

[PATCH net-next v2 1/3] ipv6: replace global gc_args with local variable

2016-03-08 Thread Michal Kubecek
Global variable gc_args is only used in fib6_run_gc() and functions called from it. As fib6_run_gc() makes sure there is at most one instance of fib6_clean_all() running at any moment, we can replace gc_args with a local variable which will be needed once multiple instances (per netns) of garbage c

[PATCH 3/3] mm, oom: protect !costly allocations some more

2016-03-08 Thread Michal Hocko
From: Michal Hocko should_reclaim_retry will give up retries for higher order allocations if none of the eligible zones has any requested or higher order pages available even if we pass the watermak check for order-0. This is done because there is no guarantee that the reclaimable and currently f

Re: [PATCH 4.4 34/74] arm64: vmemmap: use virtual projection of linear region

2016-03-08 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 05:40:14PM +0700, Ard Biesheuvel wrote: > On 8 March 2016 at 07:02, Greg Kroah-Hartman > wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > Please hold off on this one. We are seeing some breakage on 64k pages systems If this p

[PATCH net-next v2 2/3] ipv6: per netns fib6 walkers

2016-03-08 Thread Michal Kubecek
The IPv6 FIB data structures are separated per network namespace but there is still only one global walkers list and one global walker list lock. This means changes in one namespace unnecessarily interfere with walkers in other namespaces. Replace the global list with per-netns lists (and give eac

[PATCH net-next v2 0/3] ipv6: per netns FIB6 walkers and garbage collector

2016-03-08 Thread Michal Kubecek
Commit 2ac3ac8f86f2 ("ipv6: prevent fib6_run_gc() contention") reduced the risk of contention on FIB6 garbage collector lock on systems with many CPUs. However, one of our customers can still observe heavy contention on fib6_gc_lock which can even trigger the soft lockup detector. This is caused b

Re: [PATCH 2/5] usb: gadget: f_midi: added spinlock on transmit function

2016-03-08 Thread Felipe Ferreri Tonello
Hi Balbi, On 08/03/16 07:37, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: >> Since f_midi_transmit is called by both ALSA and USB frameworks, it > can >> potentially cause a race condition between both calls. This is bad > because the >> way f_midi_transmit

Re: [PATCH v19 00/10] Compile-time stack metadata validation

2016-03-08 Thread Ingo Molnar
* Josh Poimboeuf wrote: > On Tue, Mar 08, 2016 at 11:37:16AM +0100, Ingo Molnar wrote: > > > > * Josh Poimboeuf wrote: > > > > > This is v19 of the compile-time stack metadata validation patch set. > > > > > > It's based on tip:core/objtool. > > > > So I've upgraded my main build box to Fed

[PATCH 2/3] mm, compaction: cover all compaction mode in compact_zone

2016-03-08 Thread Michal Hocko
From: Michal Hocko the compiler is complaining after "mm, compaction: change COMPACT_ constants into enum" mm/compaction.c: In function ‘compact_zone’: mm/compaction.c:1350:2: warning: enumeration value ‘COMPACT_DEFERRED’ not handled in switch [-Wswitch] switch (ret) { ^ mm/compaction.c:135

[PATCH 0/2] oom rework: high order enahncements

2016-03-08 Thread Michal Hocko
The first two patches are cleanups for the compaction and the second patch is updated as per Vlastimil's feedback. I didn't add his Acked-by because I have added COMPACT_SHOULD_RETRY to make the retry logic in the page allocator more robust for future changes. Hugh has still reported this is not s

Re: [RFC/PATCH 4/4] firmware: Support requesting firmware directly into DMA memory

2016-03-08 Thread Ming Lei
On Tue, Mar 8, 2016 at 5:22 PM, Stephen Boyd wrote: > Some systems are memory constrained but they need to load very > large firmwares. The firmware subsystem allows drivers to request > this firmware be loaded from the filesystem, but this requires > that the entire firmware be loaded into kernel

Re: [PATCH 2/5] oom reaper: handle mlocked pages

2016-03-08 Thread Michal Hocko
On Mon 29-02-16 14:41:39, Michal Hocko wrote: > On Sun 28-02-16 19:19:11, Hugh Dickins wrote: > > On Tue, 23 Feb 2016, Michal Hocko wrote: > > > On Mon 22-02-16 17:36:07, David Rientjes wrote: > > > > > > > > Are we concerned about munlock_vma_pages_all() taking lock_page() and > > > > perhaps st

Re: Kernel docs: muddying the waters a bit

2016-03-08 Thread Mauro Carvalho Chehab
Em Tue, 08 Mar 2016 05:13:13 -0700 Dan Allen escreveu: > On Tue, Mar 8, 2016 at 4:29 AM, Mauro Carvalho Chehab < > mche...@osg.samsung.com> wrote: > > > pandoc did a really crap job on the conversion. To convert this > > into something useful, we'll need to spend a lot of time, as it lost > >

Re: [PATCH 4.4 00/74] 4.4.5-stable review

2016-03-08 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 10:12:13AM +0100, Sedat Dilek wrote: > Hi Greg, > > I tested with my usual setup/config. > > Looks good so far. > > Missing some net-ppp-fixes / overlayfs-fixes / userfaultfd-fixes, but > I guess you will pick them up in a 6th run of Linux v4.4.y. I have no idea what the

[PATCH 1/2] tracing: make tracer_flags use the right set_flag callback

2016-03-08 Thread Chunyu Hu
When I was updating the ftrace_stress test of ltp. I encountered a strange phenomemon, excute following steps: echo nop > /sys/kernel/debug/tracing/current_tracer echo 0 > /sys/kernel/debug/tracing/options/funcgraph-cpu bash: echo: write error: Invalid argument check dmesg: [ 1024.903855] nop_tes

[PATCH 2/2] tracing: fix typoes in code comment and printk in trace_nop.c

2016-03-08 Thread Chunyu Hu
echo nop > /sys/kernel/debug/tracing/options/current_tracer echo 1 > /sys/kernel/debug/tracing/options/test_nop_accept echo 0 > /sys/kernel/debug/tracing/options/test_nop_accept echo 1 > /sys/kernel/debug/tracing/options/test_nop_refuse Before the fix, the dmesg is a bit ugly since a align issue.

Re: [PATCH v7 03/17] scsi: ufs: implement scsi host timeout handler

2016-03-08 Thread ygardi
> On 03/08/2016 01:35 PM, Yaniv Gardi wrote: >> A race condition exists between request requeueing and scsi layer >> error handling: >> When UFS driver queuecommand returns a busy status for a request, >> it will be requeued and its tag will be freed and set to -1. >> At the same time it is possibl

[PATCH net v2] sctp: fix copying more bytes than expected in sctp_add_bind_addr

2016-03-08 Thread Marcelo Ricardo Leitner
Dmitry reported that sctp_add_bind_addr may read more bytes than expected in case the parameter is a IPv4 addr supplied by the user through calls such as sctp_bindx_add(), because it always copies sizeof(union sctp_addr) while the buffer may be just a struct sockaddr_in, which is smaller. This pat

Re: [PATCH 0/3] thermal: exynos: Fixes for vtmu-supply regulator handling

2016-03-08 Thread Javier Martinez Canillas
Hello Lukasz, Eduardo, On 02/18/2016 03:19 PM, Javier Martinez Canillas wrote: > Hello, > > On a recent patch series to build a PMIC chip as a module [0], Krzysztof > asked me to check if all the consumer drivers, using the resources that > this PMIC provides, already support probe deferral. > >

Re: Kernel docs: muddying the waters a bit

2016-03-08 Thread Mauro Carvalho Chehab
Em Tue, 08 Mar 2016 05:09:40 -0700 Dan Allen escreveu: > Jani wrote: > > > there was no support for chunked, or split > > to chapters, HTML, and the single page result was simply way too big. > > > > That's not entirely true. First, you can pre-split at the source level > using includes and g

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

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 04:55 AM, Li Zhang wrote: > From: Li Zhang > > This patch is based on Mel Gorman's old patch in the mailing list, > https://lkml.org/lkml/2015/5/5/280 which is discussed but it is > fixed with a completion to wait for all memory initialised in > page_alloc_init_late(). It is to fix

Re: [tip:perf/core] perf tools: Fix locale handling in pmu parsing

2016-03-08 Thread Ingo Molnar
* tip-bot for Jiri Olsa wrote: > @@ -135,6 +146,8 @@ static int perf_pmu__parse_scale(struct perf_pmu_alias > *alias, char *dir, char * > /* restore locale */ > setlocale(LC_NUMERIC, lc); > > + free((char *) lc); > + Btw., minor side note: why does 'lc' have to be case to 'ch

Re: [PATCH v4 3/3] mmc: sdhci-pci: Do not set DMA mask in enable_dma()

2016-03-08 Thread Adrian Hunter
On 07/03/16 04:07, Alexandre Courbot wrote: > DMA mask will already be set by sdhci_set_dma_mask(), which > is equivalent to the removed code since pci_set_dma_mask() > expands to its DMA-API counterpart. > > There should also be no reason to set the DMA mask after probe. Let's run that by the PC

Re: [PATCH v7 03/17] scsi: ufs: implement scsi host timeout handler

2016-03-08 Thread Hannes Reinecke
On 03/08/2016 02:01 PM, Hannes Reinecke wrote: > On 03/08/2016 01:35 PM, Yaniv Gardi wrote: >> A race condition exists between request requeueing and scsi layer >> error handling: >> When UFS driver queuecommand returns a busy status for a request, >> it will be requeued and its tag will be freed a

[tip:irq/core] x86/apic: Deinline _flat_send_IPI_mask, save ~150 bytes

2016-03-08 Thread tip-bot for Denys Vlasenko
Commit-ID: fe2f95468e4bdf4a526be4f86efaefe48ca63b83 Gitweb: http://git.kernel.org/tip/fe2f95468e4bdf4a526be4f86efaefe48ca63b83 Author: Denys Vlasenko AuthorDate: Sun, 6 Mar 2016 19:11:16 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:26:41 +0100 x86/apic: Deinline _flat_se

[tip:sched/core] sched/deadline: Remove dl_new from struct sched_dl_entity

2016-03-08 Thread tip-bot for Luca Abeni
Commit-ID: 72f9f3fdc928dc3ecd223e801b32d930b662b6ed Gitweb: http://git.kernel.org/tip/72f9f3fdc928dc3ecd223e801b32d930b662b6ed Author: Luca Abeni AuthorDate: Mon, 7 Mar 2016 12:27:04 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:24:55 +0100 sched/deadline: Remove dl_new f

Re: [PATCH -mm 0/2] oom_reaper: missing parts

2016-03-08 Thread Michal Hocko
On Tue 08-03-16 14:12:15, Michal Hocko wrote: > Hi Andrew, > there are two following left overs which are missing in your tree > right now. Could you add them please? > > Thanks to Tetsuo for pointing it out > http://lkml.kernel.org/r/201603082010.eee43272.qvjfofohtms...@i-love.sakura.ne.jp And

[tip:irq/core] x86/apic: Deinline __default_send_IPI_*, save ~200 bytes

2016-03-08 Thread tip-bot for Denys Vlasenko
Commit-ID: 1a8aa8acab4f3949e05ceb51e36f627b1651814c Gitweb: http://git.kernel.org/tip/1a8aa8acab4f3949e05ceb51e36f627b1651814c Author: Denys Vlasenko AuthorDate: Sun, 6 Mar 2016 19:11:15 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:26:41 +0100 x86/apic: Deinline __defaul

[tip:sched/core] sched/cputime: Fix steal_account_process_tick() to always return jiffies

2016-03-08 Thread tip-bot for Chris Friesen
Commit-ID: f9c904b7613b8b4c85b10cd6b33ad41b2843fa9d Gitweb: http://git.kernel.org/tip/f9c904b7613b8b4c85b10cd6b33ad41b2843fa9d Author: Chris Friesen AuthorDate: Sat, 5 Mar 2016 23:18:48 -0600 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:24:56 +0100 sched/cputime: Fix steal_acc

[tip:perf/core] perf/x86/pebs: Add proper PEBS constraints for Broadwell

2016-03-08 Thread tip-bot for Stephane Eranian
Commit-ID: b3e6246336a4a329644418a1c66e2c6bed44ef81 Gitweb: http://git.kernel.org/tip/b3e6246336a4a329644418a1c66e2c6bed44ef81 Author: Stephane Eranian AuthorDate: Thu, 3 Mar 2016 20:50:42 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:19:12 +0100 perf/x86/pebs: Add proper

[tip:perf/core] perf/x86/intel: Fix PEBS data source interpretation on Nehalem/Westmere

2016-03-08 Thread tip-bot for Andi Kleen
Commit-ID: e17dc65328057c00db7e1bfea249c8771a78b30b Gitweb: http://git.kernel.org/tip/e17dc65328057c00db7e1bfea249c8771a78b30b Author: Andi Kleen AuthorDate: Tue, 1 Mar 2016 14:25:24 -0800 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:19:13 +0100 perf/x86/intel: Fix PEBS data s

[tip:perf/core] perf/x86/intel: Add definition for PT PMI bit

2016-03-08 Thread tip-bot for Stephane Eranian
Commit-ID: 5690ae28e472d25e330ad0c637a5cea3fc39fb32 Gitweb: http://git.kernel.org/tip/5690ae28e472d25e330ad0c637a5cea3fc39fb32 Author: Stephane Eranian AuthorDate: Thu, 3 Mar 2016 20:50:40 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:18:34 +0100 perf/x86/intel: Add defin

[tip:perf/core] perf/x86/intel: Use PAGE_SIZE for PEBS buffer size on Core2

2016-03-08 Thread tip-bot for Jiri Olsa
Commit-ID: e72daf3f4d764c47fb71c9bdc7f9c54a503825b1 Gitweb: http://git.kernel.org/tip/e72daf3f4d764c47fb71c9bdc7f9c54a503825b1 Author: Jiri Olsa AuthorDate: Tue, 1 Mar 2016 20:03:52 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:18:32 +0100 perf/x86/intel: Use PAGE_SIZE fo

[tip:perf/core] perf/x86/pebs: Add workaround for broken OVFL status on HSW+

2016-03-08 Thread tip-bot for Stephane Eranian
Commit-ID: 8077eca079a212f26419c57226f28696b7100683 Gitweb: http://git.kernel.org/tip/8077eca079a212f26419c57226f28696b7100683 Author: Stephane Eranian AuthorDate: Thu, 3 Mar 2016 20:50:41 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:18:35 +0100 perf/x86/pebs: Add workar

[tip:perf/core] perf/core: Fix perf_sched_count derailment

2016-03-08 Thread tip-bot for Alexander Shishkin
Commit-ID: 927a5570855836e5d5859a80ce7e91e963545e8f Gitweb: http://git.kernel.org/tip/927a5570855836e5d5859a80ce7e91e963545e8f Author: Alexander Shishkin AuthorDate: Wed, 2 Mar 2016 13:24:14 +0200 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:18:31 +0100 perf/core: Fix perf_sch

[tip:perf/core] perf/x86/intel: Fix PEBS warning by only restoring active PMU in pmi

2016-03-08 Thread tip-bot for Kan Liang
Commit-ID: c3d266c8a9838cc141b69548bc3b1b18808ae8c4 Gitweb: http://git.kernel.org/tip/c3d266c8a9838cc141b69548bc3b1b18808ae8c4 Author: Kan Liang AuthorDate: Thu, 3 Mar 2016 18:07:28 -0500 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 12:18:32 +0100 perf/x86/intel: Fix PEBS warning

Re: [GIT PULL] nohz: Tick dependency mask v2

2016-03-08 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Tue, Feb 16, 2016 at 09:03:45AM +0100, Ingo Molnar wrote: > > > > > > So I think it would be useful to name this in a way the expresses that this > > is a > > mask. > > > > 'tick_dep_mask' or so? > > [...] > > > > > > > +enum tick_dependency_bit { > >

[tip:ras/core] x86/mce/AMD: Document some functionality

2016-03-08 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: ea2ca36b658cfc6081ee454e97593c81f646806e Gitweb: http://git.kernel.org/tip/ea2ca36b658cfc6081ee454e97593c81f646806e Author: Aravind Gopalakrishnan AuthorDate: Mon, 7 Mar 2016 14:02:21 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 11:48:15 +0100 x86/mce/AMD: Docume

[tip:ras/core] x86/mce/AMD: Fix logic to obtain block address

2016-03-08 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: 8dd1e17a55b0bb1206c71c7a4344c5e3037cdf65 Gitweb: http://git.kernel.org/tip/8dd1e17a55b0bb1206c71c7a4344c5e3037cdf65 Author: Aravind Gopalakrishnan AuthorDate: Mon, 7 Mar 2016 14:02:19 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 11:48:14 +0100 x86/mce/AMD: Fix lo

[tip:ras/core] x86/mce: Clarify comments regarding deferred error

2016-03-08 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: 2cd3b5f9033f0b051842a279dac5a54271cbd3c8 Gitweb: http://git.kernel.org/tip/2cd3b5f9033f0b051842a279dac5a54271cbd3c8 Author: Aravind Gopalakrishnan AuthorDate: Mon, 7 Mar 2016 14:02:20 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 11:48:15 +0100 x86/mce: Clarify co

[tip:ras/core] x86/mce/AMD, EDAC: Enable error decoding of Scalable MCA errors

2016-03-08 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: be0aec23bf4624fd55650629fe8df20483487049 Gitweb: http://git.kernel.org/tip/be0aec23bf4624fd55650629fe8df20483487049 Author: Aravind Gopalakrishnan AuthorDate: Mon, 7 Mar 2016 14:02:18 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 11:48:14 +0100 x86/mce/AMD, EDAC:

[tip:ras/core] x86/mce: Move MCx_CONFIG MSR definitions

2016-03-08 Thread tip-bot for Aravind Gopalakrishnan
Commit-ID: adc53f2e0ae2fcff10a4b981df14729ffb1482fc Gitweb: http://git.kernel.org/tip/adc53f2e0ae2fcff10a4b981df14729ffb1482fc Author: Aravind Gopalakrishnan AuthorDate: Mon, 7 Mar 2016 14:02:17 +0100 Committer: Ingo Molnar CommitDate: Tue, 8 Mar 2016 11:48:14 +0100 x86/mce: Move MCx_C

Re: [RFC PATCH 11/12] certs: Add a secondary system keyring that can be added to dynamically [ver #2]

2016-03-08 Thread David Howells
Mimi Zohar wrote: > but we're left with a lot of references to "system_trusted" (eg. > restrict_link_to_system_trusted, depends on SYSTEM_TRUSTED_KEYRING How about I pluralise it to SYSTEM_TRUSTED_KEYRINGS? The fact that one is called builtin and the other secondary doesn't detract from the fac

[PATCH -mm 0/2] oom_reaper: missing parts

2016-03-08 Thread Michal Hocko
Hi Andrew, there are two following left overs which are missing in your tree right now. Could you add them please? Thanks to Tetsuo for pointing it out http://lkml.kernel.org/r/201603082010.eee43272.qvjfofohtms...@i-love.sakura.ne.jp

[PATCH 1/2] mm-oom_reaper-report-success-failure-fix-fix

2016-03-08 Thread Michal Hocko
From: Michal Hocko typo fix Signed-off-by: Michal Hocko --- mm/oom_kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 09e6f3211f1c..70fff7e3b1a7 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -480,7 +480,7 @@ static bool __oom_reap

[PATCH 2/2] oom-clear-tif_memdie-after-oom_reaper-managed-to-unmap-the-address-space-fix

2016-03-08 Thread Michal Hocko
From: Michal Hocko fix a left over Tetsuo Handa Signed-off-by: Michal Hocko --- mm/oom_kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 70fff7e3b1a7..b6228643367b 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c @@ -569,7 +569,7 @@ s

Re: [PATCH 2/2] hp-wmi: remove GPS rfkill support via pre-2009 interface

2016-03-08 Thread Darren Hart
On Sun, Mar 06, 2016 at 11:40:19PM +0100, Maciej S. Szmigiero wrote: > GPS rfkill support via pre-2009 WMI interface uses > hp_wmi_get_sw_state() and hp_wmi_get_hw_state() > to query its current hard and soft block state, > respectively. > > In hp_wmi_get_sw_state() a mask is calculated which > bi

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

2016-03-08 Thread Li, Liang Z
> Subject: Re: [RFC qemu 0/4] A PV solution for live migration optimization > > On (Thu) 03 Mar 2016 [18:44:24], Liang Li 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 tha

Re: [PATCH 6/6] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-08 Thread Peter Zijlstra
On Thu, Mar 03, 2016 at 07:26:24PM +0100, Peter Zijlstra wrote: > On Thu, Mar 03, 2016 at 05:28:55PM +, Dietmar Eggemann wrote: > > Wasn't there the problem that this ratio goes to zero if the cpu is idle > > in the old power estimation approach on x86? > > Yeah, there was something funky. S

Re: [RFC PATCH 12/12] IMA: Use the the system trusted keyrings instead of .ima_mok [ver #2]

2016-03-08 Thread David Howells
Mimi Zohar wrote: > Only certificates signed by a key on the system keyring were added to > the IMA keyring, unless IMA_MOK_KEYRING was configured. Then, the > certificate could be signed by a either a key on the system or ima_mok > keyrings. To replicate this behavior, the default behavior sho

<    4   5   6   7   8   9   10   11   12   13   >