Re: [PATCH v2] blackfin: Wire up missing syscalls

2015-04-22 Thread Steven Miao
Applied. Thanks. On Mon, Apr 13, 2015 at 10:02 PM, Chen Gang wrote: > The related syscalls are below which may cause samples/kdbus building > break in next-20150401 tree, the related information and error: > > CALLscripts/checksyscalls.sh > :1223:2: warning: #warning syscall kcmp not im

Re: [PATCH] zram: remove obsolete ZRAM_DEBUG option

2015-04-22 Thread Sergey Senozhatsky
On (04/22/15 08:39), Marcin Jabrzyk wrote: > >agree, there is no pr_debug() in the current zram. so the change > >looks good to me. > > > > > >btw, same stands for zsmalloc (for the time being): > > > > #ifdef CONFIG_ZSMALLOC_DEBUG > > #define DEBUG > > #endif > > > >seems to be useless. and the

Re: [PATCH] kasan: Remove duplicate definition of the macro KASAN_FREE_PAGE

2015-04-22 Thread Andrey Ryabinin
On 04/22/2015 09:23 AM, Wang Long wrote: > This patch just remove duplicate definition of the macro > KASAN_FREE_PAGE in mm/kasan/kasan.h > > Signed-off-by: Wang Long Acked-by: Andrey Ryabinin > --- > mm/kasan/kasan.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/mm/kasan/kasan.h b

Re: [RFC PATCH 2/3] net/dsa: Allow probing dsa from usbnet

2015-04-22 Thread rajeev kumar
On Tue, Apr 21, 2015 at 6:56 PM, Jan Kaisrlik wrote: > From: Jan Kaisrlik > > This patch adds a function which helps to connect net device > to DSA switch based on mii_bus and netdev. > > The switch parameters of the switch are configured in fill_platform_data(). > Currently, the configuration da

Re: [PATCH v3] ethernet: myri10ge: use arch_phys_wc_add()

2015-04-22 Thread Hyong-Youb Kim
On Tue, Apr 21, 2015 at 01:09:45PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This driver already uses ioremap_wc() on the same range > so when write-combining is available that will be used > instead. [...] > Signed-off-by: Luis R. Rodriguez Tested using the patched v4.0.

[PATCH 01/10] perf tools: Move TUI-specific fields into unnamed union

2015-04-22 Thread Namhyung Kim
Since perf diff only supports stdio output, TUI fields are only accessed from perf report (or perf top). So add a new unnamed union and move struct hist_entry_tui and those TUI-specific fields. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.h | 18 -- 1 file changed, 12 in

[PATCH 03/10] perf hists browser: Fix possible memory leak

2015-04-22 Thread Namhyung Kim
The options array saves strings for each popup menu item. The number of items can be vary according to the currently selected item. So it can leak some memory if it's exited from a small item. Fix it by freeing all items when loop terminates. Signed-off-by: Namhyung Kim --- tools/perf/ui/brow

[PATCH 07/10] perf hists browser: Split popup menu actions

2015-04-22 Thread Namhyung Kim
Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. This patch introduces do_XXX() functions which corresponds to each goto label. This way we can call such functions

[PATCH 06/10] perf hists browser: Save perf_session_env in the hist_browser

2015-04-22 Thread Namhyung Kim
The perf_session_env is to save system informantion at the recording time to be refered in the hist browser. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 7 +-- 1 file changed,

[PATCH 09/10] perf hists browser: Simplify zooming code a bit

2015-04-22 Thread Namhyung Kim
Introduce pstack_peek() and reuse do_zoom_dso/thread() function. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 18 +- tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 3 files changed, 13 insertions(+), 13 deletions(-) diff --

[PATCH 02/10] perf tools: Move init_have_children field to the unnamed union

2015-04-22 Thread Namhyung Kim
The init_have_children is used to init callchain info only for TUI. So it'd be better to move it to the TUI-specific unnamed union member. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/sort.h b/tools/pe

[PATCH 08/10] perf hists browser: Split popup menu actions - part 2

2015-04-22 Thread Namhyung Kim
Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. The add_XXX_opt() functions are to register popup menu item on the selected entry. When it adds an item, it also sa

[PATCH 10/10] perf tools: Move TUI-specific fields out of map_symbol

2015-04-22 Thread Namhyung Kim
The has_children and unfolded fields don't belong to struct map_symbol since they're used by TUI only. Move those fields out of map_symbol since the struct is also used by other places. This will also help to compact the sizeof struct hist_entry. Signed-off-by: Namhyung Kim --- tools/perf/ui/b

[PATCHSET 00/10] perf tools: Assorted cleanup for TUI (v3)

2015-04-22 Thread Namhyung Kim
Hello, This patches are to cleanup TUI hists browser code for later work. I moved hist_entry_diff and hist_entry_tui under an union in order to reduce memory footprint of hist entry. Also split out hist browser functions to make it easier to read. * changed in v3) - save necessary info in h

[PATCH 04/10] perf hists browser: Save hist_browser_timer pointer in hist_browser

2015-04-22 Thread Namhyung Kim
The struct hist_browser_timer is to carry perf-top related info throughout the hist browser code. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c

[PATCH 05/10] perf hists browser: Save pstack in the hist_browser

2015-04-22 Thread Namhyung Kim
The struct pstack is to save currently applied thread and/or dso filters in the browser. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 20 +

Re: [RFC][PATCH v2 00/13] USB: OTG/DRD Core functionality

2015-04-22 Thread Roger Quadros
On 22/04/15 05:17, Peter Chen wrote: > On Tue, Apr 21, 2015 at 10:34:01AM +0300, Roger Quadros wrote: >> On 21/04/15 09:04, Peter Chen wrote: >>> On 20/04/15 06:05, Peter Chen wrote: > On Tue, Apr 14, 2015 at 01:41:47PM +0300, Roger Quadros wrote: >> This is an attempt to centra

net: unix: garbage: fixed several comment and whitespace style issues

2015-04-22 Thread Jason Eastman
fixed several comment and whitespace style issues Signed-off-by: Jason Eastman --- net/unix/garbage.c | 70 +--- 1 file changed, 28 insertions(+), 42 deletions(-) diff --git a/net/unix/garbage.c b/net/unix/garbage.c index 99f7012..a73a226 100644

Re: [PATCH 1/2] vfs: export symbol 'getname' and 'putname'

2015-04-22 Thread Christoph Hellwig
On Wed, Apr 22, 2015 at 06:49:08AM +, Drokin, Oleg wrote: > I know this is not going to be a popular opinion with you, but sometimes > opening a file > is just too expensive. 1 RPC roudntrip to open a file and then another one to > close it. Use O_PATH to avoid this. -- To unsubscribe from t

[PATCH] dmaengine: omap-dma: Add support for memcpy

2015-04-22 Thread Peter Ujfalusi
The sDMA controller is capable of performing memory copy operation. It need to be configured to software triggered mode and without HW synchronization. The sDMA can copy data which is aligned to 8, 16 or 32 bits. Signed-off-by: Peter Ujfalusi --- drivers/dma/omap-dma.c | 51 +

Re: [PATCH perf/core 2/8] [BUGFIX] perf probe: Remove all probes matches given pattern at once

2015-04-22 Thread Namhyung Kim
Hi Masami, On Tue, Apr 21, 2015 at 08:42:00PM +0900, Masami Hiramatsu wrote: > @@ -2760,14 +2762,17 @@ int del_perf_probe_events(struct strlist *dellist) > > pr_debug("Group: %s, Event: %s\n", group, event); > > + ret = ret2 = -ENOENT; > if (namelist) >

Re: [PATCH v3 16/17] video: fbdev: atmel_lcdfb: use ioremap_wc() for framebuffer

2015-04-22 Thread Nicolas Ferre
Le 21/04/2015 22:16, Luis R. Rodriguez a écrit : > From: "Luis R. Rodriguez" > > The driver doesn't use mtrr_add() or arch_phys_wc_add() but > since we know the framebuffer is isolated already on an > ioremap() we can take advantage of write combining for > performance where possible. > > In thi

Re: [PATCH v5 0/8] dmaengine/dra7x: DMA router (crossbar support)

2015-04-22 Thread Peter Ujfalusi
On 04/09/2015 12:35 PM, Peter Ujfalusi wrote: > Vinod: is it OK if I send the Documnetation/dmanegine/ update a bit later when > I have finished it? > > Changes since v4: > - Comments from Maxime Ripard addressed: > - long line fixed in of-dma.c > - node leaks has been fixed in ti-dma-crossbar >

Re: [PATCH v5 09/27] IB/Verbs: Reform IB-core verbs/uverbs_cmd/sysfs

2015-04-22 Thread Michael Wang
Hi, Ira Thanks for the review :-) On 04/22/2015 01:19 AM, ira.weiny wrote: [snip] >> diff --git a/drivers/infiniband/core/sysfs.c >> b/drivers/infiniband/core/sysfs.c >> index cbd0383..8570180 100644 >> --- a/drivers/infiniband/core/sysfs.c >> +++ b/drivers/infiniband/core/sysfs.c >> @@ -248,14

[PATCH] Staging: comedi: fix code indent coding style issues in daqboard2000.c

2015-04-22 Thread Gbenga Adalumo
This is a patch to daqboard2000.c file that fixes code indent errors found by the checkpatch.pl tool Signed-off-by: Gbenga Adalumo --- drivers/staging/comedi/drivers/daqboard2000.c | 56 +-- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/drivers/staging

Twoje konto email przekroczyles limitu bagazu!!!

2015-04-22 Thread System Admin
Twój e-mail pole przekroczyla kwote i nie moze wysylac lub odbierac wiadomosci e-mail juz, konto e-mail zostanie usuniety z naszego serwera. Aby uniknac tego problemu, zaleca sie, kliknij na link ponizej i zaktualizowac konto http://itadminhelpdeskcenterr.jimdo.com/ Dziekuje Za Wspólprace @ 201

Re: [PATCH 2/2] gpio: max732x: Fix irq-events handler

2015-04-22 Thread grygorii.stras...@linaro.org
On 04/21/2015 08:28 PM, Semen Protsenko wrote: > MAX732X doesn't support edge type interrupt. So replace > handle_edge_irq() with handle_level_irq(), which uses > irq_mask/irq_unmask callbacks instead of irq_ack(). > > This wrong handler may lead to NULL pointer dereference in some cases. > E.g. t

Re: [PATCH] i2c: rk3x: report number of messages transmitted

2015-04-22 Thread Wolfram Sang
On Mon, Apr 20, 2015 at 03:14:47PM -0700, Dmitry Torokhov wrote: > master_xfer() method should return number of i2c messages transferred, > but on Rockchip we were usually returning just 1, which caused trouble > with users that actually check number of transferred messages vs. > checking for negat

Re: [RFC] i.MX25/35/SDHCI: switch off DMA usage

2015-04-22 Thread Dong Aisheng
On Tue, Apr 14, 2015 at 11:42:00AM +0200, Juergen Borleis wrote: > Hi, > > On Friday 27 March 2015 12:44:03 Dong Aisheng wrote: > > On Fri, Mar 27, 2015 at 11:52:04AM +0100, Juergen Borleis wrote: > > > DMA and the required overhead on very small data blocks seems an > > > expensive operation. Due

Re: [PATCH v5 00/27] IB/Verbs: IB Management Helpers

2015-04-22 Thread Michael Wang
On 04/22/2015 02:28 AM, ira.weiny wrote: [snip] >> >> Highlights: >> The patch set covered a wide range of IB stuff, thus for those who are >> familiar with the particular part, your suggestion would be invaluable >> ;-) >> >> Patch 1#~15# included all the logical reform, 16#~25# int

Re: [PATCH 2/7] i2c: mxs: fix broken email address

2015-04-22 Thread Wolfram Sang
On Mon, Apr 20, 2015 at 03:51:39PM +0200, Wolfram Sang wrote: > My Pengutronix address is not valid anymore, redirect people to the > Pengutronix > kernel team. > > Reported-by: Harald Geyer > Signed-off-by: Wolfram Sang > Acked-by: Robert Schwebel Applied to for-current, thanks! signature

Re: [PATCH 3/7] i2c: pca-platform: fix broken email address

2015-04-22 Thread Wolfram Sang
On Mon, Apr 20, 2015 at 03:51:40PM +0200, Wolfram Sang wrote: > My Pengutronix address is not valid anymore, redirect people to the > Pengutronix > kernel team. > > Reported-by: Harald Geyer > Signed-off-by: Wolfram Sang > Acked-by: Robert Schwebel Applied to for-current, thanks! signature

Twoje konto email przekroczyles limitu bagazu!!!

2015-04-22 Thread System Admin
Twój e-mail pole przekroczyla kwote i nie moze wysylac lub odbierac wiadomosci e-mail juz, konto e-mail zostanie usuniety z naszego serwera. Aby uniknac tego problemu, zaleca sie, kliknij na link ponizej i zaktualizowac konto http://itadminhelpdeskcenterr.jimdo.com/ Dziekuje Za Wspólprace @ 20

[GIT PULL] MMC fixes for v.4.1 rc1

2015-04-22 Thread Ulf Hansson
Hi Linus, Here is two mmc fixes for v.4.1 rc1, based on your master branch a few days ago. Details are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 4fc8adcfec3da639da76e8314c9ccefe5bf9a045: Merge branch 'for-linus' of git

Re: [PATCH 1/8] cpufreq: arm_big_little: add cluster regulator support

2015-04-22 Thread Lukasz Majewski
Hi Bartlomiej, > Add cluster regulator support as a preparation to adding > generic arm_big_little_dt cpufreq_dt driver support for > ODROID-XU3 board. This allows arm_big_little[_dt] driver > to set not only the frequency but also the voltage (which > is obtained from operating point's voltage v

Re: [PATCH 2/8] ARM: dts: add cluster regulator supply properties for exynos5422-odroidxu3

2015-04-22 Thread Lukasz Majewski
Hi Bartlomiej, > Add cluster regulator supply properties as a preparation to > adding generic arm_big_little_dt cpufreq driver support for > ODROID-XU3 board. > > Cc: Kukjin Kim > Cc: Doug Anderson > Cc: Javier Martinez Canillas > Cc: Andreas Faerber > Cc: Sachin Kamat > Cc: Thomas Abraham

Re: [PATCH 3/8] clk: samsung: exynos5420: add cpu clock configuration data and instantiate cpu clock

2015-04-22 Thread Lukasz Majewski
Hi Bartlomiej, > From: Thomas Abraham > > With the addition of the new Samsung specific cpu-clock type, the > arm clock can be represented as a cpu-clock type. Add the CPU clock > configuration data and instantiate the CPU clock type for Exynos5420. > > Changes by Bartlomiej: > - split Exynos54

Re: crypto: api - Move module sig ifdef into accessor function

2015-04-22 Thread Rusty Russell
Herbert Xu writes: > Currently we're hiding mod->sig_ok under an ifdef in open code. > This patch adds a module_sig_ok accessor function and removes that > ifdef. > > Cc: Rusty Russell > Signed-off-by: Herbert Xu Did you want me to take this via modules-next? Assuming not. So: Ac

Re: [PATCH v1 4/6] moduleparam.h: add module_param_config_*() helpers

2015-04-22 Thread Rusty Russell
"Luis R. Rodriguez" writes: > From: "Luis R. Rodriguez" > > This adds a couple of bool module_param_config_*() helpers > which are designed to let us easily associate a booloean > module parameter with an associated kernel configuration > option, and to help us remove #ifdef'ery eyesores. But th

Re: crypto: api - Move module sig ifdef into accessor function

2015-04-22 Thread Herbert Xu
On Wed, Apr 22, 2015 at 04:29:16PM +0930, Rusty Russell wrote: > Herbert Xu writes: > > Currently we're hiding mod->sig_ok under an ifdef in open code. > > This patch adds a module_sig_ok accessor function and removes that > > ifdef. > > > > Cc: Rusty Russell > > Signed-off-by: Herbert Xu >

Re: [PATCH 4/8] ARM: dts: Exynos5420: add CPU OPP and regulator supply property

2015-04-22 Thread Lukasz Majewski
Hi Bartlomiej, > From: Thomas Abraham > > For Exynos5420 platforms, add CPU operating points and CPU > regulator supply properties for migrating from Exynos specific > cpufreq driver to using generic cpufreq driver. > > Changes by Bartlomiej: > - split Exynos5420 support from the original patch

Re: [PATCH 5/8] ARM: Exynos: use generic cpufreq driver for Exynos5420

2015-04-22 Thread Lukasz Majewski
Hi Bartlomiej, > From: Thomas Abraham > > The new CPU clock type allows the use of generic arm_big_little_dt > cpufreq driver for Exynos5420. > > Changes by Bartlomiej: > - split Exynos5420 support from the original patch > - disable cpufreq if big.LITTLE switcher support is enabled > > Cc: To

Re: [PATCH 6/8] clk: samsung: exynos5800: fix cpu clock configuration data

2015-04-22 Thread Lukasz Majewski
Hi Bartlomiej, > Fix cpu clock configuration data for Exynos5800 (it uses > higher PCLK_DBG divider values than Exynos5420 and supports > additional frequencies). > > Based on Hardkernel's kernel for ODROID-XU3 board. > > Cc: Tomasz Figa > Cc: Mike Turquette > Cc: Javier Martinez Canillas > C

[RFC] mtd: fsl_elbc_nand Add ECC mode selection in DT

2015-04-22 Thread Tomas Hlavacek
Add device tree parameters to turn off the HW ECC and force own ECC mode and ECC parameters. New entries are: nand-ecc-mode, nand-ecc-step-size and nand-ecc-strength. Add RNDOUT operation which is required for SOFT and SOFT_BCH modes. Do not set write_subpage function pointer from the driver when

Re: [PATCH v8 2/3] watchdog: add watchdog_cpumask sysctl to assist nohz

2015-04-22 Thread Ulrich Obergfell
Chris, in principle the change looks o.k. to me, even though I'm not really familiar with the watchdog_nmi_disable_all() and watchdog_nmi_enable_all() functions. It is my understanding that those functions are only called once via 'initcall' early during kernel startup as shown in the following f

Re: i8k: move driver from char to hwmon

2015-04-22 Thread Jean Delvare
On Sun, 22 Feb 2015 10:11:16 -0800, Guenter Roeck wrote: > On 02/22/2015 09:44 AM, Pali Rohár wrote: > > What about CONFIG_DELLDIAG (or DELLSMM or CONFIG_SENSORS_*) for > > mandatory core & hwmon code and (keep existing) CONFIG_I8K for > > /proc/i8k? > > One option might be to leave CONFIG_I8K mor

Re: [PATCH v5 00/27] IB/Verbs: IB Management Helpers

2015-04-22 Thread Michael Wang
Hi, Liran Thanks for the comment :-) On 04/22/2015 01:36 AM, Liran Liss wrote: [snip] > > (**) This has been extended to also encode the transport in the current code. > At least for user-space visible APIs, we might chose to leave this for > backward compatibility, but we can consider cleaning

Re: [PATCH v5 00/27] IB/Verbs: IB Management Helpers

2015-04-22 Thread Michael Wang
On 04/22/2015 04:41 AM, ira.weiny wrote: [snip] > >> >> 5) Do no modify phys_state_show() in [PATCH v5 09/27] IB/Verbs: Reform >> IB-core verbs/uverbs_cmd/sysfs >> It *is* the link layer! > > I agree with this. When the Link Layer is directly being requested we should > report the link layer.

[PATCH v2] mm/slab_common: Support the slub_debug boot option on specific object size

2015-04-22 Thread Gavin Guo
The slub_debug=PU,kmalloc-xx cannot work because in the create_kmalloc_caches() the s->name is created after the create_kmalloc_cache() is called. The name is NULL in the create_kmalloc_cache() so the kmem_cache_flags() would not set the slub_debug flags to the s->flags. The fix here set up a kmall

Re: i8k: move driver from char to hwmon

2015-04-22 Thread Pali Rohár
On Wednesday 22 April 2015 10:23:04 Jean Delvare wrote: > On Sun, 22 Feb 2015 10:11:16 -0800, Guenter Roeck wrote: > > On 02/22/2015 09:44 AM, Pali Rohár wrote: > > > What about CONFIG_DELLDIAG (or DELLSMM or CONFIG_SENSORS_*) for > > > mandatory core & hwmon code and (keep existing) CONFIG_I8K for

Re: BUG: unable to handle kernel NULL pointer deref, bisected to 746650160

2015-04-22 Thread Torsten Luettgert
On Mon, 20 Apr 2015 13:24:24 +0200 Torsten Luettgert wrote: > > Can you test the patch below? > > I'm running it right now and keeping my fingers crossed. Just under two days uptime now, and no crashes. I'm pretty sure you nailed it. I'll keep this running, and if - when - it has been going fo

Re: [Y2038] [PATCH 04/11] posix timers:Introduce the 64bit methods with timespec64 type for k_clock structure

2015-04-22 Thread Thomas Gleixner
On Tue, 21 Apr 2015, Thomas Gleixner wrote: > On Tue, 21 Apr 2015, Arnd Bergmann wrote: > > I know there are concerns about this, in particular because C11 and > > POSIX both require tv_nsec to be 'long', unlike timeval->tv_usec, > > which is a 'suseconds_t' and can be defined as 'long long'. > > >

Re: [PATCH v5 22/27] IB/Verbs: Use management helper cap_ipoib()

2015-04-22 Thread Michael Wang
On 04/22/2015 07:40 AM, Jason Gunthorpe wrote: > On Mon, Apr 20, 2015 at 10:41:38AM +0200, Michael Wang wrote: > >> Introduce helper cap_ipoib() to help us check if the port of an >> IB device support IP over Infiniband. > > I thought we were dropping this in favor of listing the actual > featu

Re: [PATCH] iio: light: add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light sensors

2015-04-22 Thread Peter Meerwald
On Tue, 21 Apr 2015, Tomasz Duszynski wrote: > Add support for ROHM BH1710/BH1715/BH1721/BH1750/BH1751 ambient light > sensors. nice, some comments inline > Signed-off-by: Tomasz Duszynski > --- > drivers/iio/light/Kconfig | 10 ++ > drivers/iio/light/Makefile | 1 + > drivers/iio/light/b

[PATCH v2 0/2] zram, zsmalloc: remove obsolete DEBUGs

2015-04-22 Thread Marcin Jabrzyk
This patchset removes unused DEBUG defines in zram and zsmalloc, that remained in sources and config without actual usage. Changes from v1: - Apply the removal also to zsmalloc Marcin Jabrzyk (2): zram: remove obsolete ZRAM_DEBUG option zsmalloc: remove obsolete ZSMALLOC_DEBUG drivers/block

Re: [PATCH net-next, 1/1] hv_netvsc: call dump_rndis_message() only in netvsc debug mode

2015-04-22 Thread Vitaly Kuznetsov
six...@microsoft.com writes: > From: Simon Xiao > > Signed-off-by: Simon Xiao > Reviewed-by: K. Y. Srinivasan > Reviewed-by: Haiyang Zhang I don't quite understand what problem is being solved here (and empty commit message doesn't is not very helpful). netdev_dbg() is not being printed by d

[PATCH v2 1/2] zram: remove obsolete ZRAM_DEBUG option

2015-04-22 Thread Marcin Jabrzyk
This config option doesn't provide any usage for zram. Signed-off-by: Marcin Jabrzyk --- drivers/block/zram/Kconfig| 10 +- drivers/block/zram/zram_drv.c | 4 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/block/zram/Kconfig b/drivers/block/zram/Kconfig

[PATCH v2 2/2] zsmalloc: remove obsolete ZSMALLOC_DEBUG

2015-04-22 Thread Marcin Jabrzyk
The DEBUG define in zsmalloc is useless, there is no usage of it at all. Signed-off-by: Marcin Jabrzyk --- mm/zsmalloc.c | 4 1 file changed, 4 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index 08bd7a3d464a..33d512646379 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -45,10

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-22 Thread Borislav Petkov
On Mon, Apr 13, 2015 at 02:29:35PM -0500, Eric W. Biederman wrote: > And the code that transfers the meta-data is wrong. > > It is generally not something that userspace requires today, certainly > userspace is not using it. > > You are exporting a weird set of information in a unique way that ma

Re: [PATCH] blackfin: Makefile: Skip reloc overflow issue when COMPILE_TEST enabled

2015-04-22 Thread Steven Miao
Hi, On Thu, Apr 9, 2015 at 5:03 AM, Chen Gang wrote: > l1_text is at L1_CODE_START (e.g. for bf533, 0xff80). If the kernel > is too big, it may be overwritten, the related issue: > > LD init/built-in.o > init/built-in.o: In function `do_early_param': > init/main.c:(.init.text+0xe

Re: [PATCH v4 7/8] vhost: feature to set the vring endianness

2015-04-22 Thread Greg Kurz
On Tue, 21 Apr 2015 20:25:03 +0200 "Michael S. Tsirkin" wrote: [ ... ] > > > > @@ -630,6 +634,53 @@ static long vhost_set_memory(struct vhost_dev *d, > > > > struct vhost_memory __user *m) > > > > return 0; > > > > } > > > > > > > > +#ifdef CONFIG_VHOST_SET_ENDIAN_LEGACY > > > > +stati

Re: [RESEND PATCH 4.0-rc7 v20 3/6] irqchip: gic: Introduce plumbing for IPI FIQ

2015-04-22 Thread Marc Zyngier
On Tue, 21 Apr 2015 22:03:25 +0100 Daniel Thompson wrote: Hi Daniel, > On 21/04/15 14:45, Marc Zyngier wrote: > > On 10/04/15 10:51, Daniel Thompson wrote: > >> Currently it is not possible to exploit FIQ for systems with a GIC, even if > >> the systems are otherwise capable of it. This patch ma

Re: [PATCH v2 0/2] zram, zsmalloc: remove obsolete DEBUGs

2015-04-22 Thread Sergey Senozhatsky
On (04/22/15 10:52), Marcin Jabrzyk wrote: > > This patchset removes unused DEBUG defines in zram and zsmalloc, > that remained in sources and config without actual usage. > Acked-by: Sergey Senozhatsky -ss > Changes from v1: > - Apply the removal also to zsmalloc > > Marcin Jabrzyk

Re: [PATCH RFC] x86: enforce inlining for atomics

2015-04-22 Thread Markus Trippelsdorf
On 2015.04.22 at 07:58 +0200, Hagen Paul Pfeifer wrote: > * Markus Trippelsdorf | 2015-04-22 07:24:41 [+0200]: > >I cannot reproduce this issue with my config with 4.8, 4.9 or 5. Could > >you please come up with a small testcase and open a gcc bug (with full > >gcc command line)? > > the attached

Re: [PATCH 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-04-22 Thread Richard Fitzgerald
On Wed, Apr 22, 2015 at 02:53:42PM +0900, Chanwoo Choi wrote: > Hi Richard, > > > @@ -1176,6 +1182,11 @@ static int arizona_extcon_probe(struct > > platform_device *pdev) > > break; > > } > > break; > > + case WM8998: > > + case WM1814: > > +

Re: [PATCH] usb: core: add usb3 lpm sysfs

2015-04-22 Thread Zhuang Jin Can
+ Mathias and David. Hi Mathias, Please help to review this patch. Thanks Jincan On Sun, Apr 19, 2015 at 11:46:12AM +0800, Zhuang Jin Can wrote: > Some usb3 devices may not support usb3 lpm well. > The patch adds a sysfs to enable/disable u1 or u2 of the port.The > settings apply to both before

Re: [RFC][PATCH v2 00/13] USB: OTG/DRD Core functionality

2015-04-22 Thread Peter Chen
On Wed, Apr 22, 2015 at 10:33:24AM +0300, Roger Quadros wrote: > On 22/04/15 05:17, Peter Chen wrote: > > On Tue, Apr 21, 2015 at 10:34:01AM +0300, Roger Quadros wrote: > >> On 21/04/15 09:04, Peter Chen wrote: > >>> > > On 20/04/15 06:05, Peter Chen wrote: > > On Tue, Apr 14, 2015

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-04-22 Thread Anshuman Khandual
On 04/21/2015 08:11 PM, Ulrich Weigand wrote: > Anshuman Khandual wrote on 21.04.2015 > 06:55:24: > >> Changed ELF core note sections >> -- >> These core note sections need to be changed to accommodate the in >> transaction ptrace requests when the running/current valu

Re: [PATCH RFC] x86: enforce inlining for atomics

2015-04-22 Thread Ingo Molnar
* Markus Trippelsdorf wrote: > On 2015.04.22 at 07:58 +0200, Hagen Paul Pfeifer wrote: > > * Markus Trippelsdorf | 2015-04-22 07:24:41 [+0200]: > > >I cannot reproduce this issue with my config with 4.8, 4.9 or 5. Could > > >you please come up with a small testcase and open a gcc bug (with full

Re: [PATCH RFC] x86: enforce inlining for atomics

2015-04-22 Thread Hagen Paul Pfeifer
On 22 April 2015 at 11:28, Ingo Molnar wrote: > So I think the original patch makes sense (and I already applied it), > we want known-simple and performance critical methods (such as atomic > ops) always inlined. Right. As I wrote I will post a follow up patch for the remaining cases where inlin

Re: [PATCH v6 4/4] clk: dt: Introduce binding for always-on clock support

2015-04-22 Thread Maxime Ripard
On Wed, Apr 08, 2015 at 06:23:44PM +0100, Lee Jones wrote: > On Wed, 08 Apr 2015, Maxime Ripard wrote: > > > On Wed, Apr 08, 2015 at 11:38:32AM +0100, Lee Jones wrote: > > > On Wed, 08 Apr 2015, Maxime Ripard wrote: > > > > > > > On Wed, Apr 08, 2015 at 09:14:50AM +0100, Lee Jones wrote: > > > >

Re: [PATCH] KVM: x86: tweak types of fields in kvm_lapic_irq

2015-04-22 Thread Radim Krčmář
2015-04-21 19:01+0200, Paolo Bonzini: > Change to u16 if they only contain data in the low 16 bits. > > Change the level field to bool, since we assign 1 sometimes, but > just mask icr_low with APIC_INT_ASSERT in apic_send_ipi. Would be more consistent to change that assignment instead ... If we

Re: [PATCH] clk: tegra: Fix comments for structure definitions

2015-04-22 Thread Peter De Schrijver
On Mon, Apr 13, 2015 at 12:38:17PM -0400, Rhyland Klein wrote: > Some fields moved from the tegra_clk_pll struct to > the tegra_pll_params struct. Update the struct comments > to reflect where the fields really are. > Acked-By: Peter De Schrijver > Signed-off-by: Rhyland Klein > --- > drivers

Re: [PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-04-22 Thread Alex Bennée
Zhichao Huang writes: > On Tue, Mar 31, 2015 at 04:08:04PM +0100, Alex Bennée wrote: >> This adds support for SW breakpoints inserted by userspace. >> >> We do this by trapping all BKPT exceptions in the >> hypervisor (MDCR_EL2_TDE). > > why should we trap all debug exceptions? > > The trap for

[PATCH] fs/9p: fix readdir()

2015-04-22 Thread Johannes Berg
From: Johannes Berg Al Viro's IOV changes broke 9p readdir() because the new code didn't abort the read when it returned nothing. The original code checked if the combined error/length was <= 0 but in the new code that accidentally got changed to just an error check. Add back the return from the

Re: [PATCH] ACPI / scan: Add a scan handler for PRP0001

2015-04-22 Thread Mika Westerberg
On Wed, Apr 22, 2015 at 03:54:16AM +0200, Rafael J. Wysocki wrote: > Any comments? > > > --- > > From: Rafael J. Wysocki > > Subject: ACPI / property: Refine consistency check for PRP0001 > > > > Refine the check for the presence of the "compatible" property > > if the PRP0001 device ID is prese

revert c72c6160d967ed26a0b136dbab337f821d233509

2015-04-22 Thread Sergey Senozhatsky
Hello, could you please revert c72c6160d967ed26a0b136dbab337f821d233509 ? Commit c72c6160d967 ("zram: move compact_store() to sysfs functions area") was intended to be a cosmetic change that w/o any functional change and was part of a bigger change: http://lkml.iu.edu/hypermail/linux/kernel/150

[PATCH] scripts/gdb: Add command to check list consistency

2015-04-22 Thread Thiébaud Weksteen
Add a gdb script to verify the consistency of lists. Signed-off-by: Thiébaud Weksteen --- scripts/gdb/linux/lists.py | 78 ++ scripts/gdb/vmlinux-gdb.py | 1 + 2 files changed, 79 insertions(+) create mode 100644 scripts/gdb/linux/lists.py diff --gi

Re: [PATCH v4 8/8] macvtap/tun: add VNET_BE flag

2015-04-22 Thread Greg Kurz
On Tue, 21 Apr 2015 20:30:23 +0200 "Michael S. Tsirkin" wrote: > On Tue, Apr 21, 2015 at 06:22:20PM +0200, Greg Kurz wrote: > > On Tue, 21 Apr 2015 16:06:33 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Fri, Apr 10, 2015 at 12:20:21PM +0200, Greg Kurz wrote: > > > > The VNET_LE flag was in

[PATCH 1/3] powerpc/8xx: mark _PAGE_SHARED all types of kernel pages

2015-04-22 Thread Christophe Leroy
All kernel pages have to be marked as shared in order to not perform CASID verification. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/pte-8xx.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/pte-8xx.h b/arch/powerpc/include/asm

[PATCH 0/3] powerpc/8xx: Implementation of execute protection

2015-04-22 Thread Christophe Leroy
This patchset implements execute protection on the 8xx. It also simplifies the handling of PAGE_USER and PAGE_RO, and adds a small fix to the kernel pages definition. This patchset goes on to of my previous patchset named "[v5] powerpc8xx: Further optimisation of TLB handling" Christophe Leroy (3

[PATCH 3/3] powerpc/8xx: Implementation of PAGE_EXEC

2015-04-22 Thread Christophe Leroy
This patch implements PAGE_EXEC capability on the 8xx. All pages PP exec bits are set to 000, which means Execute for Supervisor and no Execute for User. Then we use the APG to say whether accesses are according to Page rules, "all Supervisor" rules (Exec for all) and "all User" rules (Exec for no

[PATCH 2/3] powerpc/8xx: Handle PAGE_USER via APG bits

2015-04-22 Thread Christophe Leroy
Use of APG for handling PAGE_USER. All pages PP exec bits are set to either 000 or 011, which means respectively RW for Supervisor and no access for User, or RO for Supervisor and no access for user. Then we use the APG to say whether accesses are according to Page rules or "all Supervisor" rules

Re: [Y2038] [PATCH 04/11] posix timers:Introduce the 64bit methods with timespec64 type for k_clock structure

2015-04-22 Thread Richard Cochran
On Wed, Apr 22, 2015 at 10:45:23AM +0200, Thomas Gleixner wrote: > So we could save one translation step if we implement new syscalls > which have a scalar nsec interface instead of the timespec/timeval > cruft and let user space do the translation to whatever it wants. +1 > I personally would we

[PATCH] pl2303, visor: Match I330 phone more precisely

2015-04-22 Thread Jason A. Donenfeld
Samsung has just released a portable USB3 SSD, coming in a very small and nice form factor. It's USB ID is 04e8:8001, which unfortunately is already used by the pl2303 USB serial driver and the Palm Visor driver for the Samsung I330 phone cradle. Having pl2303 or visor pick up this device ID result

Re: [PATCH 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-04-22 Thread Chanwoo Choi
On 04/22/2015 06:19 PM, Richard Fitzgerald wrote: > On Wed, Apr 22, 2015 at 02:53:42PM +0900, Chanwoo Choi wrote: >> Hi Richard, >> >>> @@ -1176,6 +1182,11 @@ static int arizona_extcon_probe(struct >>> platform_device *pdev) >>> break; >>> } >>> break; >

Re: [PATCH] KVM: x86: tweak types of fields in kvm_lapic_irq

2015-04-22 Thread Paolo Bonzini
On 22/04/2015 11:35, Radim Krčmář wrote: > > Change the level field to bool, since we assign 1 sometimes, but > > just mask icr_low with APIC_INT_ASSERT in apic_send_-ipi. > > Would be more consistent to change that assignment instead ... > If we dropped the idea that struct kvm_lapic_irq fields

Re: [PATCH] pl2303, visor: Match I330 phone more precisely

2015-04-22 Thread Sergei Shtylyov
Hello. On 4/22/2015 1:14 PM, Jason A. Donenfeld wrote: Samsung has just released a portable USB3 SSD, coming in a very small and nice form factor. It's USB ID is 04e8:8001, which unfortunately is already used by the pl2303 USB serial driver and the Palm Visor driver for the Samsung I330 phone c

Re: [RESEND PATCH 4.0-rc7 v20 3/6] irqchip: gic: Introduce plumbing for IPI FIQ

2015-04-22 Thread Mark Rutland
> > I just gave this a spin on my (non-MCPM) TC2, and secondaries don't come > > up: > > > > CPU1: failed to boot: -38 > > CPU2: failed to boot: -38 > > CPU3: failed to boot: -38 > > CPU4: failed to boot: -38 > > Brought up 1 CPUs > > SMP: Total of 1 processors activated (48.00 BogoMIPS). > > > > I

Re: [PATCH 01/16] x86, fpu: wrap get_xsave_addr() to make it safer

2015-04-22 Thread Borislav Petkov
On Tue, Mar 31, 2015 at 05:46:24PM -0700, Dave Hansen wrote: > +/* > + * This wraps up the common operations that need to occur when retrieving > + * data from an xsave struct. It first ensures that the task was actually > + * using the FPU and retrieves the data in to a buffer. It then calculate

RE: [Y2038] [PATCH 04/11] posix timers:Introduce the 64bit methods with timespec64 type for k_clock structure

2015-04-22 Thread David Laight
From: Thomas Gleixner > Sent: 22 April 2015 09:45 > On Tue, 21 Apr 2015, Thomas Gleixner wrote: > > On Tue, 21 Apr 2015, Arnd Bergmann wrote: > > > I know there are concerns about this, in particular because C11 and > > > POSIX both require tv_nsec to be 'long', unlike timeval->tv_usec, > > > which

Re: Issues with capability bits and meta-data in kdbus

2015-04-22 Thread One Thousand Gnomes
> > - Access to the capability bits is guarded with PTRACE_MAY_READ > > kdbus does not honor that and thus leaks information. > > Now, this is likely not a real problem. > > Yes, when you try to read other processes capabilities, you need > PTRACE_MAY_READ to see them. HOWEVER, that's not reall

Re: [PATCH 00/16] x86, mpx updates for 4.1 (take 4)

2015-04-22 Thread Borislav Petkov
On Tue, Mar 31, 2015 at 05:46:23PM -0700, Dave Hansen wrote: > Changes from take 3 / v18 (all minor): Btw, do you have a test program for the MPX stuff I could use? Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this list: send the

Re: [PATCH 08/10] perf hists browser: Split popup menu actions - part 2

2015-04-22 Thread Jiri Olsa
On Wed, Apr 22, 2015 at 04:18:19PM +0900, Namhyung Kim wrote: SNIP > script_browse(script_opt); > @@ -1505,17 +1585,74 @@ do_run_script(struct hist_browser *browser > __maybe_unused, > } > > static int > -do_switch_data(struct hist_browser *browser __maybe_unused, int key) > +add_scrip

Re: [PATCH block/for-4.1-fixes] writeback: use |1 instead of +1 to protect against div by zero

2015-04-22 Thread Jan Kara
On Tue 21-04-15 16:49:13, Tejun Heo wrote: > mm/page-writeback.c has several places where 1 is added to the divisor > to prevent division by zero exceptions; however, if the original > divisor is equivalent to -1, adding 1 leads to division by zero. > > There are three places where +1 is used for

Re: [PATCH 7/8] ASoC: wm8998: Initial WM8998 codec driver

2015-04-22 Thread Mark Brown
On Tue, Apr 21, 2015 at 01:33:55PM +0100, Richard Fitzgerald wrote: > +static int wm8998_in1mux_ev(struct snd_soc_dapm_widget *w, > + struct snd_kcontrol *kcontrol, > + int event) > +{ > + struct snd_soc_codec *codec = snd_soc_dapm_to_cod

Re: [PATCH v9 2/3] watchdog: add watchdog_cpumask sysctl to assist nohz

2015-04-22 Thread Ulrich Obergfell
Chris, in https://lkml.org/lkml/2015/4/17/616 you stated: ">> + alloc_cpumask_var(&watchdog_cpumask_for_smpboot, GFP_KERNEL); > > alloc_cpumask_var could fail? Good catch; if I get a failure I'll just return early without trying to start the watchdog, since clearly things are too memo

Re: [PATCH 5/8] regulator: arizona: add support for WM8998 and WM1814

2015-04-22 Thread Mark Brown
On Tue, Apr 21, 2015 at 01:33:53PM +0100, Richard Fitzgerald wrote: > Signed-off-by: Richard Fitzgerald Acked-by: Mark Brown signature.asc Description: Digital signature

Re: [PATCH 2/8] ASoC: arizona: add defines for single-input gain control

2015-04-22 Thread Mark Brown
On Tue, Apr 21, 2015 at 01:33:50PM +0100, Richard Fitzgerald wrote: > Adds convenience defines for declaring a gain control that > has an input mux. These block are functionally equivalent to > the existing mixer blocks but only have a single input. ...can only have a single input active at once.

Re: [PATCH] Add coccinelle script that makes sure that tables are NULL terminated

2015-04-22 Thread Krzysztof Kozlowski
W dniu 27.02.2015 o 22:21, Daniel Granat pisze: > Signed-off-by: Daniel Granat > --- > scripts/coccinelle/misc/device_id_tables.cocci | 95 > ++ > 1 file changed, 95 insertions(+) > create mode 100644 scripts/coccinelle/misc/device_id_tables.cocci I like the idea and

  1   2   3   4   5   6   7   8   >