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: [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 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: [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 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: [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: [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: [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: [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: [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 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: [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: [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

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

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

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

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 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 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 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 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: [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

[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: [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

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 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: 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 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: [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 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: avoid writing the same mode

2016-03-08 Thread Andrew Lunn
On Mon, Mar 07, 2016 at 06:24:52PM -0500, Vivien Didelot wrote: > There is no need to change the 802.1Q port mode for the same value. > Thus avoid such message: > > [ 401.954836] dsa dsa@0 lan0: 802.1Q Mode: Disabled (was Disabled) > > Signed-off-by: Vivien Didelot Tested-by: Andrew Lunn

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: [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 16:14 +0200, Petko Manolov wrote: > 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 cou

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: > Would then restrict_link_to_system_trusted imply both the builtin and > secondary keyrings or just the builtin keyrings? Both, if available; just builtin if the secondary is not available. restrict_link_by_builtin_trusted() does only the builtin. > Changing the system keyri

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

2016-03-08 Thread David Howells
Petko Manolov wrote: > I would suggest leaving (1) and (3). Do you mean dropping option (2) and leaving (1) and (3)? Or do you mean dropping options (1) and (3)? David

Re: [PATCHv2 10/11] ARM: socfpga: Enable Arria10 L2 cache ECC on startup

2016-03-08 Thread Dinh Nguyen
On 03/07/2016 01:43 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Enable ECC for Arria10 L2 cache on machine startup. The ECC has to be > enabled before data is stored in memory otherwise the ECC will fail > on reads. > Use DT_MACHINE to select Arria10 L2 cache function. > >

Re: [PATCH 0/2] mm: Enable page parallel initialisation for Power

2016-03-08 Thread Balbir Singh
On 08/03/16 14:55, Li Zhang wrote: > From: Li Zhang > > Uptream has supported page parallel initialisation for X86 and the > boot time is improved greately. Some tests have been done for Power. > > Here is the result I have done with different memory size. > > * 4GB memory: > boot time is as

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

2016-03-08 Thread Boris Brezillon
On Tue, 8 Mar 2016 19:48:53 +0530 Vinod Koul wrote: > 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? > Nope, scatterlist users are not necessari

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

2016-03-08 Thread Michal Hocko
On Tue 08-03-16 15:34:37, Vlastimil Babka wrote: > 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 p

Re: [PATCHv2 11/11] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-08 Thread Dinh Nguyen
On 03/07/2016 01:43 PM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the device tree entries needed to support the Altera L2 > cache EDAC on the Arria10 chip. > > Signed-off-by: Thor Thayer > --- > v2 Match register value (l2-ecc@ffd06010) > --- > arch/arm/boot/dts/socfpg

Re: [PATCH] tty: amba-pl011: Use 32-bit accesses for SBSA UART

2016-03-08 Thread Mark Langsdorf
On 03/07/2016 11:43 PM, Christopher Covington wrote: From: Christopher Covington Version 2 of the Server Base System Architecture (SBSA) describes the Generic UART registers as 32 bits wide. At least one implementation, found of the Qualcomm Technologies QDF2432, only supports 32 bit accesses.

[GIT PULL] sound fixes for 4.5

2016-03-08 Thread Takashi Iwai
Linus, please pull sound fixes for v4.5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.5 The topmost commit is ad09ef2cce91e3a98a32e3bb0a5982a6e8920aa1 sound fixes for 4.5 It's always an ambiv

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: > But after some tests, find it's not easy to setup tracer flag when > its target is not the current tracer. Some check logic of function > and function_graph trace seems not appropriate now, some WARN in > ftrace.c are triggered. > > kernel: W

Re: [PATCH 02/16] mtd: nand: sunxi: fix clk rate calculation

2016-03-08 Thread Thomas Petazzoni
Boris, On Mon, 7 Mar 2016 17:18:19 +0100, Boris Brezillon wrote: > Unlike what is specified in the Allwinner datasheets, the NAND clock rate > is not equal to 2/T but 1/T. Fix the clock rate selection accordingly. > > Signed-off-by: Boris Brezillon > --- > drivers/mtd/nand/sunxi_nand.c | 8 +--

Re: [PATCH] net: dsa: Fix cleanup resources upon module removal

2016-03-08 Thread Andrew Lunn
On Tue, Mar 08, 2016 at 10:36:20AM +0100, Neil Armstrong wrote: > The initial commit badly merged into the dsa_resume method instead > of the dsa_remove_dst method. > As consequence, the dst->master_netdev->dsa_ptr is not set to NULL on > removal and re-bind of the dsa device fails with error -17.

Re: [PATCH 1/1] extcon: gpio: queue work only if debounce is NZ

2016-03-08 Thread Guenter Roeck
On Tue, Mar 08, 2016 at 05:15:53PM +0530, Venkat Reddy Talla wrote: > Use queue_delayed_work only when debounce time is > required to read gpio state properly, read the gpio > state and set the extcon cable state in IRQ handler > context if gpio settling time is not needed. > > Signed-off-by: Venk

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

2016-03-08 Thread Christoph Lameter
On Tue, 8 Mar 2016, Vineet Gupta wrote: > This in turn happened because slab_unlock() doesn't serialize properly > (doesn't use atomic clear) with a concurrent running > slab_lock()->test_and_set_bit() This is intentional because of the increased latency of atomic instructions. Why would the unlo

guter Tag

2016-03-08 Thread ludvig
guter Tag Sie benötigen eine zuverlässige und kostengünstige Darlehen zu einem Zinssatz von 3% Refinanzierung und Ihr Unternehmen / Investitionen verbessern? UniCredit bietet eine zuverlässige und vertrauenswürdige Darlehen Dienstleistungen. wenn Sie überhaupt interessant uns, kontaktieren Sie

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

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 03:48 PM, Michal Hocko wrote: > On Tue 08-03-16 15:34:37, Vlastimil Babka wrote: >>> --- a/include/linux/compaction.h >>> +++ b/include/linux/compaction.h >>> @@ -14,6 +14,11 @@ enum compact_result { >>> /* compaction should continue to another pageblock */ >>> COMPACT_CONTINU

[PATCH 1/6] perf tools: Fix hist_entry__filter() for hierarchy

2016-03-08 Thread Namhyung Kim
When hierarchy mode is enabled each output format is in a separate hpp list. So when applying filter it should check all formats in the list. Currently it only checks a single ->fmt field which was not set properly. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 28 +++

[PATCH 3/6] perf tools: Fix command line filters in hierarchy mode

2016-03-08 Thread Namhyung Kim
When a command-line filter was applied in hierarchy mode, output was broken especially when filtering on lower level. The higher level entries didn't show up so it's hard to see the result. Also it needs to handle multi sort keys in a single level of hierarchy. Before: $ perf report --hierarc

[PATCH 2/6] perf tools: Add more sort entry check functions

2016-03-08 Thread Namhyung Kim
Those function are to check given perf_hpp_fmt is filter-related sort entries or not. With hierarchy mode, it needs to check filters on the hist entries with its own hpp format list. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.h | 4 tools/perf/util/sort.c | 50 ++

[PATCH 4/6] perf tools: Remove hist_entry->fmt field

2016-03-08 Thread Namhyung Kim
It's not used anymore and the output format is accessed by the hpp_list pointer instead when hierarchy is enabled. Let's get rid of it. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h index

[PATCH 5/6] perf hists browser: Cleanup hist_browser__fprintf_hierarchy_entry()

2016-03-08 Thread Namhyung Kim
The hist_browser__fprintf_hierarchy_entry() if to dump current output into a file so it needs to be sync-ed with the corresponding function hist_browser__show_hierarchy_entry(). So use hists->nr_hpp_node to indent width and use first fmt_node to print overhead columns instead of checking whether i

[PATCH 6/6] perf tools: Remove nr_sort_keys field

2016-03-08 Thread Namhyung Kim
The nr_sort_keys field is to carry the number of sort entries in a hpp_list or hists to determine the depth of indentation of a hist entry. As it's only used in hierarchy mode and now we have used nr_hpp_node for this reason, there's no need to keep it anymore. Let's get rid of it. Signed-off-by:

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 14:43 +, David Howells wrote: > The problem boils down to a difficulty in concocting a name that describes a > complex situation that may change depending on the configuration. I can make > it "restrict_link_by_any_system_trusted" if you'd prefer. > > That's why I want "

[PATCH] base: dd: don't remove driver_data in -EPROBE_DEFER case

2016-03-08 Thread Yi Zhang
the driver_data may be used for sanity check, it fails the probe() if driver_data is NULL after it is re-triggered. for example, soc_probe() in sound/soc/soc-core.c Signed-off-by: Yi Zhang --- drivers/base/dd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/base/dd

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

2016-03-08 Thread Joonsoo Kim
2016-03-08 1:08 GMT+09:00 Michal Hocko : > 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 am able to >> reproduce the issue but the patch should help to som

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 09:54:43 -0500 Steven Rostedt wrote: > > Here just forbit it return an invalid code to user space with extra > > dmesg help info to avoid the complex WARN log. > > This is not acceptable. The whole point of making the options visible > when the tracer is not active was to c

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-08 Thread Toshi Kani
On Mon, 2016-03-07 at 22:16 -0500, Paul Gortmaker wrote: > [Re: runtime regression with "x86/mm/pat: Emulate PAT when it is > disabled"] On 07/03/2016 (Mon 17:56) Toshi Kani wrote: > > [..] > > > > > > It may have seemed working before, but you did not have WC > > > > configured > > > > to PAT w

Re: [PATCH 02/16] mtd: nand: sunxi: fix clk rate calculation

2016-03-08 Thread Boris Brezillon
On Tue, 8 Mar 2016 15:58:03 +0100 Thomas Petazzoni wrote: > Boris, > > On Mon, 7 Mar 2016 17:18:19 +0100, Boris Brezillon wrote: > > Unlike what is specified in the Allwinner datasheets, the NAND clock rate > > is not equal to 2/T but 1/T. Fix the clock rate selection accordingly. > > > > Sign

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

2016-03-08 Thread Chunyu Hu
- Original Message - > From: "Steven Rostedt" > To: "Chunyu Hu" > Cc: li...@redhat.com, linux-kernel@vger.kernel.org > Sent: Tuesday, March 8, 2016 10:33:17 PM > Subject: Re: [PATCH 1/2] tracing: make tracer_flags use the right set_flag > callback > > On Tue, 8 Mar 2016 21:37:01 +080

Re: [PATCH v2 0/4] leds: Add driver for the ISSI IS31FL32xx family of LED controllers

2016-03-08 Thread David Rivshin (Allworx)
On Tue, 08 Mar 2016 10:43:35 +0100 Jacek Anaszewski wrote: > Hi David, > > Thanks for posting the final version. Very nice driver. > Applied whole series, after dropping leds-sn3218 with its > DT bindings. Stefan, thanks for testing the driver on the > Si-En hardware. Thanks Jacek. And thanks a

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 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 meta

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

2016-03-08 Thread Felipe Ferreri Tonello
Hi, On 08/03/16 14:20, Felipe Balbi wrote: > > 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 i

Re: [GIT PULL rcu/next] RCU commits for 4.6

2016-03-08 Thread Paul E. McKenney
On Tue, Mar 08, 2016 at 09:53:42AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > Hello, Ingo, > > > > Note that this series conflicts with some commits in Thomas Gleixner's > > hotplug series and in Daniel Wagner's swait series, both of which are in > > -tip. I have suggested c

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

2016-03-08 Thread Paolo Bonzini
On 08/03/2016 09:36, Lan Tianyu wrote: > Summary about smp_mb()s we met in this thread. If misunderstood, please > correct me. Thanks. > > The smp_mb() in the kvm_flush_remote_tlbs() was introduced by the commit > a4ee1ca4 and it seems to keep the order of reading and cmpxchg > kvm->tlbs_dirty.

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

2016-03-08 Thread Ingo Molnar
* Peter Zijlstra wrote: > Here's a thread on syz-kaller: > > > lkml.kernel.org/r/CACT4Y+Ym0TZLkmRrM0ZGgLpu8kqS-YjoWTMrvaLz=tx2tny...@mail.gmail.com > > If things have shifted again I'm sure Dmitry is willing to help. So I tried to install 'go' but it's a _really_ unintuitive tool I have to

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: > > The problem boils down to a difficulty in concocting a name that describes a > > complex situation that may change depending on the configuration. I can > > make > > it "restrict_link_by_any_system_trusted" if you'd prefer. > > > > That's why I want "system trusted keyrin

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 10:22:07 -0500 (EST) Chunyu Hu wrote: > Thanks for the quick review! This is an mistake, the change below should be > after it. From my > limited knowledge and observation, seems there is no tracer sharing the > tracer_flag except the > dummy_tracer flag. As in the patch tha

[PATCH 1/2] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-08 Thread Sinan Kaya
The code is using the compatible DT string to associate a reset driver with the actual device itself. The compatible string does not exist on ACPI based systems. HID is the unique identifier for a device driver instead. The change allows a driver to register with DT compatible string or ACPI HID an

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

2016-03-08 Thread Vlastimil Babka
On 03/08/2016 03:30 PM, Vineet Gupta wrote: > 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() Soun

[PATCH 2/2] vfio, platform: add QTI HIDMA reset driver

2016-03-08 Thread Sinan Kaya
In situations where the userspace driver is stopped abnormally and the VFIO platform device is released, the assigned HW device currently is left running. As a consequence the HW device might continue issuing IRQs and performing DMA accesses. This patch is implementing a reset driver for HIDMA pla

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 10:32:11 -0500 Steven Rostedt wrote: > The latency tracers share flags (irqsoff, preemptoff and preemptirqsoff) Although, that may have changed recently. /me investigates. -- Steve

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

2016-03-08 Thread Torsten Duwe
On Wed, Mar 09, 2016 at 12:52:03AM +1100, Balbir Singh wrote: > > On 08/03/16 21:45, Torsten Duwe wrote: > > To be fair, my last mail still was not 100% correct, but the conclusion Wrote a correction to the correction. It should be clear now. Please nag me if it isn't clear why klp_return_helper

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

2016-03-08 Thread Dmitry Vyukov
On Tue, Mar 8, 2016 at 4:29 PM, Ingo Molnar wrote: > > * Peter Zijlstra wrote: > >> Here's a thread on syz-kaller: >> >> >> lkml.kernel.org/r/CACT4Y+Ym0TZLkmRrM0ZGgLpu8kqS-YjoWTMrvaLz=tx2tny...@mail.gmail.com >> >> If things have shifted again I'm sure Dmitry is willing to help. > > So I tried

Re: Suspicious error for CMA stress test

2016-03-08 Thread Joonsoo Kim
2016-03-08 19:45 GMT+09:00 Xishi Qiu : > On 2016/3/8 15:48, Joonsoo Kim wrote: > >> On Mon, Mar 07, 2016 at 01:59:12PM +0100, Vlastimil Babka wrote: >>> On 03/07/2016 05:34 AM, Joonsoo Kim wrote: On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo wrote: >> Sad to hear that. >> >>

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 10:33:51 -0500 Steven Rostedt wrote: > On Tue, 8 Mar 2016 10:32:11 -0500 > Steven Rostedt wrote: > > > > The latency tracers share flags (irqsoff, preemptoff and preemptirqsoff) > > Although, that may have changed recently. /me investigates. Ah it did: Commit 03905582fd

Re: [PATCH 1/2] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-08 Thread Sinan Kaya
On 3/8/2016 10:33 AM, Sinan Kaya wrote: > + int rc = 0; > + I should have initialized this to -1. > + vdev->reset = vfio_platform_lookup_reset(vdev->compat, vdev->acpihid, > + &vdev->reset_module); > + if (vdev->reset) > + retu

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 14:01, 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_mid

Re: Kernel docs: muddying the waters a bit

2016-03-08 Thread Mauro Carvalho Chehab
Em Tue, 8 Mar 2016 10:39:22 -0300 Mauro Carvalho Chehab escreveu: > 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 co

Re: [RFC 4/4] perf kvm: Fix output fields instead of 'trace' for perf kvm report on powerpc

2016-03-08 Thread Ravi Bangoria
Hi Arnaldo, Gentle reminder :) Any updates? Regards, Ravi On Thursday 03 March 2016 06:49 AM, Ravi Bangoria wrote: Thanks acme, On Wednesday 02 March 2016 09:52 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Mar 02, 2016 at 09:16:48PM +0530, Ravi Bangoria escreveu: Thanks Arnaldo, Please fin

Re: [PATCH 3.12 000/116] 3.12.56-stable review

2016-03-08 Thread Jiri Slaby
On 03/04/2016, 03:02 PM, Guenter Roeck wrote: > On 03/04/2016 01:02 AM, Jiri Slaby wrote: >> 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 app

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

2016-03-08 Thread Laxman Dewangan
On Tuesday 08 March 2016 07:52 PM, Thierry Reding wrote: On Tue, Mar 08, 2016 at 05:32:05PM +0530, Laxman Dewangan wrote: Signed-off-by: Laxman Dewangan --- drivers/gpio/gpiolib.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/

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

2016-03-08 Thread Vineet Gupta
On Tuesday 08 March 2016 08:30 PM, Christoph Lameter wrote: > On Tue, 8 Mar 2016, Vineet Gupta wrote: > >> This in turn happened because slab_unlock() doesn't serialize properly >> (doesn't use atomic clear) with a concurrent running >> slab_lock()->test_and_set_bit() > > This is intentional beca

Re: runtime regression with "x86/mm/pat: Emulate PAT when it is disabled"

2016-03-08 Thread Toshi Kani
On Mon, 2016-03-07 at 22:28 -0500, Paul Gortmaker wrote: > [Re: runtime regression with "x86/mm/pat: Emulate PAT when it is > disabled"] On 07/03/2016 (Mon 18:35) Toshi Kani wrote: > > > On Mon, 2016-03-07 at 17:56 -0700, Toshi Kani wrote: > > > On Mon, 2016-03-07 at 18:53 -0500, Paul Gortmaker wr

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 14:44:24, David Howells wrote: > Petko Manolov wrote: > > > I would suggest leaving (1) and (3). > > Do you mean dropping option (2) and leaving (1) and (3)? Or do you mean > dropping options (1) and (3)? Dropping option (2) and leaving (1) and (3). (2) is subset of (3) and IMHO

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

2016-03-08 Thread Ingo Molnar
so there's a much more serious objtool bug that I found today, apparently it can get into an infinite loop with certain randconfigs: PID USER PR NIVIRTRESSHR S %CPU %MEM TIME+ COMMAND

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

2016-03-08 Thread Jon Medhurst (Tixy)
On Tue, 2016-03-08 at 19:45 +0530, Vinod Koul wrote: > 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

Linux kernel bug

2016-03-08 Thread Allen Ashley
I want to report a kernel bug: the kernel module uas for usb storage repeatedly crashes. The problem occurs for kernels 3.10.17, 4.4.1, and 4.4.2. To whom should I send details? Thank you.

Re: [PATCH V14 8/9] vfio, platform: add support for ACPI while detecting the reset driver

2016-03-08 Thread Sinan Kaya
Hi, On 3/8/2016 12:07 AM, Sinan Kaya wrote: > On 3/7/2016 11:46 PM, Eric Auger wrote: >>> #define module_vfio_reset_handler(compat, acpihid, reset) \ MODULE_ALIAS("vfio-reset: dt: " compat); \ MODULE_ALIAS("vfio-reset: acpi: " acpihid); \ >> My gut feeling is we must not create a dummy a

[PATCH v2 1/2] ACPI, APEI: Fix leaked resources

2016-03-08 Thread Joshua Hunt
We leak the NVS and arch resources (if used), in apei_resources_request. They are allocated to make sure we exclude them from the APEI resources, but they are never freed at the end of the function. Free them now. Signed-off-by: Josh Hunt --- drivers/acpi/apei/apei-base.c |6 -- 1 file c

[PATCH v2 0/2] ACPI, APEI: Memory leaks

2016-03-08 Thread Joshua Hunt
While investigating a possible memory leak using kmemleak I came across the following five leaks coming from APEI and ERST: unreferenced object 0x880402b6ee80 (size 32): comm "swapper/0", pid 1, jiffies 4294669373 (age 318.183s) hex dump (first 32 bytes): 58 fe ab fa 03 88 ff ff 58 fe

RE: [PATCH V4 5/5] Microblaze: Modifying microblaze PCI subsytem to support generic Xilinx AXI PCIe Host Bridge IP driver

2016-03-08 Thread Bharat Kumar Gogada
Hi Bjorn, Can you please take this in to your tree. Thanks, Bharat > On 11.2.2016 17:28, Bharat Kumar Gogada wrote: > > This patch does required modifications to microblaze PCI subsystem, to > > work with generic driver (drivers/pci/host/pcie-xilinx.c) on > > Microblaze and Zynq. > > > > Signed-

Re: [PATCHv2 07/11] EDAC, altera: Add status offset & masks

2016-03-08 Thread Thor Thayer
Hi Boris, On 03/07/2016 01:43 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer In preparation for the Arria10 peripheral ECCs, the IRQ status needs to be determined because the IRQs are shared. The IRQ status register is read to determine if the IRQ was for this ECC peripheral. Cyclo

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

2016-03-08 Thread Ingo Molnar
* Dmitry Vyukov wrote: > > so, according to the error message it wants a writable directory. Lets try > > it that > > way: > > > > triton:~> mkdir go > > triton:~> > > triton:~> export GOPATH=/home/mingo/go/ > > triton:~> go get github.com/google/syzkaller > > can't load package: package g

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

2016-03-08 Thread Chunyu Hu
- Original Message - > From: "Steven Rostedt" > To: "Chunyu Hu" > Cc: li...@redhat.com, linux-kernel@vger.kernel.org > Sent: Tuesday, March 8, 2016 11:14:51 PM > Subject: Re: [PATCH 1/2] tracing: make tracer_flags use the right set_flag > callback > > On Tue, 8 Mar 2016 09:54:43 -0500

Re: [PATCHv2 11/11] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-08 Thread Thor Thayer
Hi Dinh, On 03/08/2016 08:50 AM, Dinh Nguyen wrote: On 03/07/2016 01:43 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer Add the device tree entries needed to support the Altera L2 cache EDAC on the Arria10 chip. Signed-off-by: Thor Thayer --- v2 Match register value (l2-ecc@ffd

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-08 Thread André Przywara
On 07/03/16 11:04, Stephen Rothwell wrote: > Hi Wim, > > Today's linux-next merge of the watchdog tree got a conflict in: > > arch/arm64/boot/dts/arm/foundation-v8.dts > > between commit: > > d11a89796678 ("arm64: dts: split Foundation model dts to put the GIC > separately") > > from the

  1   2   3   4   5   6   7   8   9   10   >