Re: [hyperv] BUG at drivers/hv/channel.c:462 while changing MTU

2014-08-25 Thread Richard Weinberger
via On Wed, Aug 20, 2014 at 5:41 AM, Sitsofe Wheeler wrote: > Aug 20 04:04:41 ubuntuhv kernel: [9.230399] random: nonblocking pool is > initialized > Aug 20 04:04:41 ubuntuhv kernel: [ 10.338487] EXT4-fs (sda1): re-mounted. > Opts: errors=remount-ro > Aug 20 04:04:41 ubuntuhv kernel: [

[PATCH 1/1] do_exit(): Solve possibility of BUG() due to race with try_to_wake_up()

2014-08-25 Thread Kautuk Consul
I encountered a BUG() scenario within do_exit() on an ARM system. The problem is due to a race scenario between do_exit() and try_to_wake_up() on different CPUs due to usage of sleeping primitives such as __down_common and wait_for_common. Race Scenario = Let us assume there are 2

[RFC PATCH 2/5] module: Unlink module with RCU synchronizing instead of stop_machine

2014-08-25 Thread Masami Hiramatsu
Unlink module from module list with RCU synchronizing instead of using stop_machine(). Since module list is already protected by rcu, we don't need stop_machine() anymore. Signed-off-by: Masami Hiramatsu --- kernel/module.c | 18 +- 1 file changed, 5 insertions(+), 13

[RFC PATCH 1/5] module: Wait for RCU synchronizing before releasing a module

2014-08-25 Thread Masami Hiramatsu
Wait for RCU synchronizing on failure path of module loading before releasing struct module, because the memory of mod->list can still be accessed by list walkers (e.g. kallsyms). Signed-off-by: Masami Hiramatsu --- kernel/module.c |2 ++ 1 file changed, 2 insertions(+) diff --git

[RFC PATCH 0/5] module: Remove stop_machine from module unloading

2014-08-25 Thread Masami Hiramatsu
Hi, Here is a series of patches which remove stop_machine() from module unloading. Currently, each module unloading calls stop_machine()s 2 times. One is for safely removing module from lists and one is to check the reference counter. However, both are not necessary for those purposes (required

[RFC PATCH 4/5] module: Lock up a module when loading with a LOCLUP flag

2014-08-25 Thread Masami Hiramatsu
Lock-up a module in kernel so that it is not removed unless forcibly unload. This is done by loading a module with MODULE_INIT_LOCKUP_MODULE flag (via finit_module). This speeds up try_module_get by skipping refcount inc/dec for the locked modules. Note that this flag requires to update libkmod

[RFC PATCH 3/5] lib/bug: Use RCU list ops for module_bug_list

2014-08-25 Thread Masami Hiramatsu
Actually since module_bug_list should be used in BUG context, we may not need this. But for someone who want to use this from normal context, this makes module_bug_list an RCU list. Signed-off-by: Masami Hiramatsu --- kernel/module.c |5 +++-- lib/bug.c | 20 ++-- 2

[RFC PATCH 5/5] module: Remove stop_machine from module unloading

2014-08-25 Thread Masami Hiramatsu
Remove stop_machine from module unloading by replacing module_ref with atomic_t. Note that this can cause a performance regression on big-SMP machine by direct memory access. For those machines, you can lockdwon all modules. Since the lockdown skips reference counting, it'll be more scalable than

Re: Loading initrd above 4G causes freeze on boot

2014-08-25 Thread Matt Fleming
On Sun, 24 Aug, at 10:19:04PM, Mantas Mikulėnas wrote: > > Finally got around to testing it, and yes, your patch fixes the initrd > boot for me. Could you found out where the initrd gets loaded with this patch? It'll be in the dmesg. -- Matt Fleming, Intel Open Source Technology Center -- To

Re: [PATCH v3] zram: add num_discards for discarded pages stat

2014-08-25 Thread Sergey Senozhatsky
Hello, On (08/25/14 09:36), Minchan Kim wrote: > Hello Chao, > > On Fri, Aug 22, 2014 at 04:21:01PM +0800, Chao Yu wrote: > > Since we have supported handling discard request in this commit > > f4659d8e620d08bd1a84a8aec5d2f5294a242764 (zram: support REQ_DISCARD), zram > > got > > one more

Re: [RFC 00/10] perf pollfd series

2014-08-25 Thread Jiri Olsa
On Fri, Aug 22, 2014 at 05:59:40PM -0300, Arnaldo Carvalho de Melo wrote: > Hi, > > This is an alternative series to the one Jiri Olsa posted to use the > fixes he made to the kernel side to allow tooling to notice that a thread had > exited by looking at the pollfd.revents looking for

Re: [PATCH v3 3/4] thermal: add more description for thermal-zones

2014-08-25 Thread Eduardo Valentin
Hello Wei Ni, On Mon, Aug 25, 2014 at 02:29:47PM +0800, Wei Ni wrote: > Add more description for the "polling-delay" property. > Set "trips" and "cooling maps" as optional property, because > if missing these two sub-nodes, the thermal zone device still > work properly. > > Signed-off-by: Wei Ni

Re: [PATCH v3 4/4] ARM: tegra: dalmore: add thermal zones for nct1008

2014-08-25 Thread Eduardo Valentin
On Mon, Aug 25, 2014 at 02:29:48PM +0800, Wei Ni wrote: > From: lightning314 > > Add dt node to describe the thermal zone for the nct1008. > > Signed-off-by: Wei Ni > --- > arch/arm/boot/dts/tegra114-dalmore.dts | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) > >

Re: [PATCH v5 3/4] zram: zram memory size limitation

2014-08-25 Thread Sergey Senozhatsky
On (08/25/14 09:05), Minchan Kim wrote: > Since zram has no control feature to limit memory usage, > it makes hard to manage system memrory. > > This patch adds new knob "mem_limit" via sysfs to set up the > a limit so that zram could fail allocation once it reaches > the limit. > > In addition,

Re: [PATCH] efi_high_alloc: use EFI_ALLOCATE_MAX_ADDRESS

2014-08-25 Thread Harald Hoyer
On 25.08.2014 12:34, Matt Fleming wrote: > (Adding linux-efi to Cc) > > On Fri, 22 Aug, at 03:48:23PM, har...@redhat.com wrote: >> From: Harald Hoyer >> >> On my Lenovo T420s with 4GB memory, efi_high_alloc() was checking the >> following memory regions: >> >> 0x0010 -

Re: [PATCH v3 4/4] ARM: tegra: dalmore: add thermal zones for nct1008

2014-08-25 Thread Eduardo Valentin
On Mon, Aug 25, 2014 at 02:29:48PM +0800, Wei Ni wrote: > From: lightning314 > > Add dt node to describe the thermal zone for the nct1008. > > Signed-off-by: Wei Ni > --- > arch/arm/boot/dts/tegra114-dalmore.dts | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) > >

Re: kernel boot fail with efi earlyprintk (bisected)

2014-08-25 Thread Matt Fleming
On Mon, 25 Aug, at 05:06:19PM, Dave Young wrote: > > Problem is I do not understand the implementation detail yet. > > I did below changes: > > Original values: > #define NR_FIX_BTMAPS 64 > #define FIX_BTMAPS_SLOTS4 > > -> new values tested: > #define NR_FIX_BTMAPS

Re: [PATCHv4 2/4] thermal: exynos: Add support for many TRIMINFO_CTRL registers

2014-08-25 Thread Bartlomiej Zolnierkiewicz
On Monday, August 25, 2014 07:37:25 PM Chanwoo Choi wrote: > Hi Bartlomiej, > > On 08/25/2014 07:15 PM, Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Monday, August 25, 2014 04:30:23 PM Chanwoo Choi wrote: > >> This patch support many TRIMINFO_CTRL registers if specific Exynos SoC >

Re: [PATCH V3 3/3] ARM: clk-imx6q: Add missing lvds and anaclk clock to the clock tree

2014-08-25 Thread Shawn Guo
On Mon, Aug 25, 2014 at 03:40:20PM +0800, Shengjiu Wang wrote: > On Mon, Aug 18, 2014 at 02:06:07PM +0800, Shawn Guo wrote: > > On Mon, Aug 11, 2014 at 11:09:36AM +0800, Shengjiu Wang wrote: > > > On Sat, Aug 09, 2014 at 09:58:42PM +0800, Shawn Guo wrote: > > > > On Fri, Aug 08, 2014 at 03:02:49PM

[PATCH] list: include linux/kernel.h

2014-08-25 Thread Masahiro Yamada
linux/list.h uses container_of, therefore it depends on linux/kernel.h. Signed-off-by: Masahiro Yamada --- I am sending this patch to LKML because I could not find the subsystem it should belong to. I hope I am not doing wrong. include/linux/list.h | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v4 0/8] asm-generic/io.h overhaul

2014-08-25 Thread Thierry Reding
On Wed, Aug 13, 2014 at 12:28:50PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Hi, > > Here is the fourth version of a series that started out as an attempt to > provide string versions of the read*() and write*() accessors to more > architectures so that drivers can use them

Re: [PATCHv4 2/4] thermal: exynos: Add support for many TRIMINFO_CTRL registers

2014-08-25 Thread Bartlomiej Zolnierkiewicz
On Monday, August 25, 2014 01:19:04 PM Bartlomiej Zolnierkiewicz wrote: > On Monday, August 25, 2014 07:37:25 PM Chanwoo Choi wrote: > > Hi Bartlomiej, > > > > On 08/25/2014 07:15 PM, Bartlomiej Zolnierkiewicz wrote: > > > > > > Hi, > > > > > > On Monday, August 25, 2014 04:30:23 PM Chanwoo

[PATCH 1/1] x86:kvm: fix one typo in comment

2014-08-25 Thread Tiejun Chen
s/drity/dirty Signed-off-by: Tiejun Chen --- arch/x86/kvm/mmu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 9314678..09b9f05 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -1180,7 +1180,7 @@ static void

[PATCH] cgroup: Enable controllers for default hierarchy by default.

2014-08-25 Thread Dongsheng Yang
When we create a cgroup in unified hierarchy, we have to enable controllers in cgrp_dfl_root.subtree_control manually. From my practice, I did not find the benefit we disable controllers in cgrp_dfl_root by default. As I am a newbie to cgroup, please correct me if I am wrong. Thanx.

[PATCH] cgroup: fix a typo in comment.

2014-08-25 Thread Dongsheng Yang
There is no function named cgroup_enable_task_cg_links(). Instead, the correct function name in this comment should be cgroup_enabled_task_cg_lists(). Signed-off-by: Dongsheng Yang --- kernel/cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/cgroup.c

[PATCH] cgroup: Introduce cgroup_detach_task().

2014-08-25 Thread Dongsheng Yang
Currently, the only method to detach a task from a cgroup is moving it to others. It looks not natrual to me. Inspired by cgroup_subtree_control_write(), this patch introduce allow user to at-detach a process to/from a cgroup by echo "+/-pid" to cgroup.procs. In addition, we keep the old method

Re: scsi logging future directions, was Re: [RFC PATCH -logging 00/10] scsi/constants: Output continuous error messages on trace

2014-08-25 Thread Hannes Reinecke
On 08/24/2014 10:44 PM, Christoph Hellwig wrote: On Fri, Aug 22, 2014 at 12:39:59AM +, Elliott, Robert (Server Storage) wrote: If you trigger hundreds of errors (e.g., hot remove a device during heavy IO), then all the prints to the linux serial console bog down the system, causing

[PATCH for -next] stmmac: simple cleanups

2014-08-25 Thread Pavel Machek
This adds simple cleanups for stmmac, removing test we know is always true, fixing whitespace, and moving code out of if(). Signed-off-by: Pavel Machek --- Now against -net-next. diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c

[PATCH V2] cgroup: Introduce cgroup_detach_task().

2014-08-25 Thread Dongsheng Yang
Currently, the only method to detach a task from a cgroup is moving it to others. It looks not natrual to me. Inspired by cgroup_subtree_control_write(), this patch introduce allow user to at-detach a process to/from a cgroup by echo "+/-pid" to cgroup.procs. In addition, we keep the old method

[PATCH] drivers: staging: rtl8821ae: Fix spaces required around that '?' errors

2014-08-25 Thread Greg Donald
Fix checkpatch.pl spaces required around that '?' errors Signed-off-by: Greg Donald --- .../staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c | 33 +++--- .../staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.h | 2 +- .../staging/rtl8821ae/btcoexist/habtc8723a1ant.c | 12 ++---

Re: [PATCH] cgroup: Introduce cgroup_detach_task().

2014-08-25 Thread Dongsheng Yang
Sorry for the noise, :(. This patch is not a correct version. Please ignore it and I have sent a v2 for it. Thanx On 08/25/2014 07:28 PM, Dongsheng Yang wrote: Currently, the only method to detach a task from a cgroup is moving it to others. It looks not natrual to me. Inspired by

Re: [PATCH 6/7] video: fbdev: sis: delete double assignment

2014-08-25 Thread Geert Uytterhoeven
Hi Julia, On Sun, Aug 24, 2014 at 8:40 PM, Julia Lawall wrote: >> On Sat, Aug 23, 2014 at 8:33 PM, Julia Lawall wrote: >> > --- >> > The patches in this series do not depend on each other. >> > >> > This changes the semantics of the code and is not tested. >> >> Hence I think you should change

[PATCH] 8250: serial device file is out of order

2014-08-25 Thread Scott Yuan
From ebb85a61456bf25f87aeb8a31c92c74540bdf306 Mon Sep 17 00:00:00 2001 From: Scott Yuan Date: Sun, 24 Aug 2014 13:46:56 +0800 Subject: [PATCH] 8250: serial device file is out of order On x86 architecture, the configuration of serial device maybe get from ACPI DSDT, but the order of DSDT is not

Skrzynka pocztowa zostala tymczasowo zawieszona!!!

2014-08-25 Thread System Admin
-- Szanowny konto uzytkownika e-mail, Niedawno wykryto nietypowe dzialania z konta e-mail, wiec skrzynka pocztowa zostala czasowo zawieszona przez administratora systemu, nalezy odzyskac swoje konto, klikajac na ponizszy link lub skopiuj do przegladarki:

Re: [PATCH v2 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-25 Thread Bartlomiej Zolnierkiewicz
Hi, On Monday, August 25, 2014 10:45:36 AM Javier Martinez Canillas wrote: > Many Exynos devices have a display panel. Most of them just have > a simple panel while others have more complex configurations that > requires an embedded DisplayPort (eDP) to LVDS bridges. > > This patch enables the

RE: [PATCH] staging:iio: moved platform_data into include/linux/iio

2014-08-25 Thread Sharma, Sanjeev
-Original Message- From: Lars-Peter Clausen [mailto:l...@metafoo.de] Sent: Monday, August 25, 2014 1:39 PM To: Sharma, Sanjeev; sanjeev sharma Cc: ji...@kernel.org; gregkh; linux-...@vger.kernel.org; devel; linux-kernel Subject: Re: [PATCH] staging:iio: moved platform_data into

Re: [PATCH v2 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-25 Thread Javier Martinez Canillas
Hello Bartlomiej, On 08/25/2014 01:43 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Monday, August 25, 2014 10:45:36 AM Javier Martinez Canillas wrote: >> Many Exynos devices have a display panel. Most of them just have >> a simple panel while others have more complex configurations that

Re: [PATCH v2 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-25 Thread Andreas Färber
Hi, Am 25.08.2014 13:43, schrieb Bartlomiej Zolnierkiewicz: > On Monday, August 25, 2014 10:45:36 AM Javier Martinez Canillas wrote: >> Many Exynos devices have a display panel. Most of them just have >> a simple panel while others have more complex configurations that >> requires an embedded

[PATCH] net: stmmac: add dcrs parameter

2014-08-25 Thread Ley Foon Tan
This patch add the option to enable DCRS bit in GMAC control register. Default is disabled if snps,dcrs is not defined. For MII, Carrier Sense (CRS) must be asserted during transmission whereas in RGMII, CRS is not. RGMII does not provide a way to signal loss of carrier during a transmission.

Re: [PATCHv4 2/4] thermal: exynos: Add support for many TRIMINFO_CTRL registers

2014-08-25 Thread Chanwoo Choi
On 08/25/2014 08:19 PM, Bartlomiej Zolnierkiewicz wrote: > On Monday, August 25, 2014 07:37:25 PM Chanwoo Choi wrote: >> Hi Bartlomiej, >> >> On 08/25/2014 07:15 PM, Bartlomiej Zolnierkiewicz wrote: >>> >>> Hi, >>> >>> On Monday, August 25, 2014 04:30:23 PM Chanwoo Choi wrote: This patch

Re: [PATCH v4 0/8] asm-generic/io.h overhaul

2014-08-25 Thread Richard Weinberger
On Wed, Aug 13, 2014 at 12:28 PM, Thierry Reding wrote: > From: Thierry Reding > > Hi, > > Here is the fourth version of a series that started out as an attempt to > provide string versions of the read*() and write*() accessors to more > architectures so that drivers can use them portably. The

Re: [PATCH v2 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-25 Thread Javier Martinez Canillas
Hello Andreas, On 08/25/2014 01:49 PM, Andreas Färber wrote: >> >> Could you please also do corresponding update to multi_v7_defconfig? > > As was mentioned in v1 (but now below), some of these options depend on Sorry for missing the mention about the dependencies on v2... > patches yet to be

[PATCH V2] efi_high_alloc: use EFI_ALLOCATE_MAX_ADDRESS

2014-08-25 Thread harald
From: Harald Hoyer On my Lenovo T420s with 4GB memory, efi_high_alloc() was checking the following memory regions: 0x0010 - 0x2000 0x2020 - 0x4000 0x4020 - 0xd2c02000 0xd6e9f000 - 0x00011e60 and decided to

Re: [PATCH] PWM: atmel: fix incorrect CDTY value after enabling or disabling

2014-08-25 Thread Alexandre Belloni
Hi, On 25/08/2014 at 12:15:23 +0200, Thierry Reding wrote : > On Fri, Mar 14, 2014 at 08:05:31PM +0100, Alexandre Belloni wrote: > > pwm-leds calls .config() and .disable() in a row. This exhibits that it may > > happen that the channel gets disabled before CDTY has been updated with > > CUPD. >

Re: [PATCH v5 3/3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-08-25 Thread Shawn Guo
On Wed, May 28, 2014 at 06:50:13PM +0800, Liu Ying wrote: > The i.MX PWM version2 is embedded in several i.MX SoCs, > such as i.MX27, i.MX51 and i.MX6SL. There is a 4-word(16bit) > sample FIFO in this IP. Each FIFO slot determines the duty > period of a PWM waveform in one full cycle. The IP

Re: [PATCH 4/7] MIPS: BCM63xx: delete double assignment

2014-08-25 Thread Ralf Baechle
On Sat, Aug 23, 2014 at 08:33:25PM +0200, Julia Lawall wrote: > Delete successive assignments to the same location. In each case, the > duplicated assignment is modified to be in line with other nearby code. > > A simplified version of the semantic match that finds this problem is as > follows:

[PATCH/RFC] hash: Let gcc decide how to multiply

2014-08-25 Thread Rasmus Villemoes
A 9+ years old comment in hash_64 says that gcc can't optimize multiplication by GOLDEN_RATIO_PRIME_64. Well, compilers get smarter and CPUs get faster all the time, so it is perhaps about time to revisit that assumption. A stupid micro-benchmark [3] on my x86_64 machine shows that letting gcc

Re: [PATCH] 8250: serial device file is out of order

2014-08-25 Thread Peter Hurley
Hi Scott, On 08/25/2014 07:38 AM, Scott Yuan wrote: > From ebb85a61456bf25f87aeb8a31c92c74540bdf306 Mon Sep 17 00:00:00 2001 > From: Scott Yuan > Date: Sun, 24 Aug 2014 13:46:56 +0800 > Subject: [PATCH] 8250: serial device file is out of order > > On x86 architecture, the configuration of

[PATCH v2 0/2] irqfd support for ARM

2014-08-25 Thread Eric Auger
This patch serie enables irqfd on ARM. irqfd framework enables to inject a virtual IRQ into a guest upon an eventfd trigger. User-side uses KVM_IRQFD VM ioctl to provide KVM with a kvm_irqfd struct that associates a VM, an eventfd, an IRQ number (aka. the gsi). When an actor signals the eventfd

[PATCH v2 2/2] KVM: ARM: add irqfd support

2014-08-25 Thread Eric Auger
This patch enables irqfd on ARM. irqfd framework enables to inject a virtual IRQ into a guest upon an eventfd trigger. User-side uses KVM_IRQFD VM ioctl to provide KVM with a kvm_irqfd struct that associates a VM, an eventfd, an IRQ number (aka. the gsi). When an actor signals the eventfd

[PATCH v2 1/2] KVM: EVENTFD: remove inclusion of irq.h

2014-08-25 Thread Eric Auger
No more needed. Also irq.h is not used on ARM. Signed-off-by: Eric Auger --- virt/kvm/eventfd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c index 3c5981c..0c712a7 100644 --- a/virt/kvm/eventfd.c +++ b/virt/kvm/eventfd.c @@ -36,7 +36,6 @@ #include

Re: [Xen-devel] [PATCH RFC 2/3] x86: Enable PAT to use cache mode translation tables

2014-08-25 Thread Juergen Gross
On 08/22/2014 11:32 AM, Jan Beulich wrote: On 19.08.14 at 15:25, wrote: @@ -118,8 +167,14 @@ void pat_init(void) PAT(4, WB) | PAT(5, WC) | PAT(6, UC_MINUS) | PAT(7, UC); /* Boot CPU check */ - if (!boot_pat_state) + if (!boot_pat_state) {

Re: [PATCH v3 1/4] hwmon: (lm90) split set temp as common codes

2014-08-25 Thread Mikko Perttunen
FWIW, please fix the authorship information for next version. Cheers, Mikko On 25/08/14 09:29, Wei Ni wrote: From: lightning314 Split set temp codes as common functions, so we can use it directly when implement linux thermal framework. And handle error return value for the

Re: [PATCH] net: stmmac: add dcrs parameter

2014-08-25 Thread Giuseppe CAVALLARO
Hello On 8/25/2014 1:50 PM, Ley Foon Tan wrote: This patch add the option to enable DCRS bit in GMAC control register. Default is disabled if snps,dcrs is not defined. For MII, Carrier Sense (CRS) must be asserted during transmission whereas in RGMII, CRS is not. RGMII does not provide a way

[PATCH 1/2] usb: chipidea: msm: Use USB PHY API to control PHY state

2014-08-25 Thread Ivan T. Ivanov
PHY drivers keep track of the current state of the hardware, so don't change PHY settings under it. Signed-off-by: Ivan T. Ivanov Acked-by: Felipe Balbi --- drivers/usb/chipidea/ci_hdrc_msm.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git

[PATCH 00/12] mmc: tmio: Fixup PM support

2014-08-25 Thread Ulf Hansson
This patchset fixup the PM support for tmio and the tmio hosts. Some re-structuring of the code was also necessary to accomplish the above. A few of these patches has been posted earlier, but at that time I couldn't get help in testing them on hardware. Let's give this a second try now.

[PATCH 09/12] mmc: tmio_mmc: Enable runtime PM support

2014-08-25 Thread Ulf Hansson
To take advantage of the clock gating support, use the runtime PM callbacks provided by the tmio core. Additionally, we make use of the SET_PM_RUNTIME_PM_OPS, which is a preparation needed to simplify system PM. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc.c | 3 +++ 1 file

[PATCH 06/12] mmc: tmio: Mask all IRQs when inactive

2014-08-25 Thread Ulf Hansson
To make sure we don't receive any spurious IRQs while we are inactive, mask the IRQs from within the ->runtime_suspend() callback. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc_pio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/tmio_mmc_pio.c

[PATCH 01/12] mmc: tmio: Keep host active while SDIO IRQ is enabled

2014-08-25 Thread Ulf Hansson
The host must be kept active to be able to serve SDIO IRQs, thus let's prevent it from going inactive while SDIO IRQ is enabled. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc.h | 1 + drivers/mmc/host/tmio_mmc_pio.c | 19 +++ 2 files changed, 16 insertions(+), 4

[PATCH 12/12] mmc: tmio: Remove library functions for system PM

2014-08-25 Thread Ulf Hansson
These library functions aren't used and nor needed, let's remove them. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc.h | 5 - drivers/mmc/host/tmio_mmc_pio.c | 23 --- 2 files changed, 28 deletions(-) diff --git a/drivers/mmc/host/tmio_mmc.h

Re: [PATCH v4 0/8] asm-generic/io.h overhaul

2014-08-25 Thread Thierry Reding
t these patches can go > > into 3.18. > > > > Arnd, I'm opportunistically sending this To: you in the hopes that you > > can take it into your asm-generic tree which seems like the best fit for > > this. > > Do you have a git tree for that? > Would be nice for testing UML, it depends also on generic io. Yes, it's all here: https://github.com/thierryreding/linux.git staging/asm-generic-io That branch is based on today's linux-next (next-20140825). Thierry pgpg4G_8dv7JF.pgp Description: PGP signature

[PATCH 02/12] mmc: tmio: Keep host active while serving requests

2014-08-25 Thread Ulf Hansson
Use runtime PM to keep the host active during I/O operations and other requests which requires the tmio hardware to be powered. Additionally make use of the runtime PM autosuspend feature with a default timeout of 50 ms. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc_pio.c | 55

[PATCH 07/12] mmc: tmio: Make runtime PM callbacks available for CONFIG_PM

2014-08-25 Thread Ulf Hansson
To give the option for tmio hosts to use the runtime PM callbacks for CONFIG_PM_SLEEP as well as CONFIG_PM_RUNTIME, move them to CONFIG_PM. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc.h | 2 +- drivers/mmc/host/tmio_mmc_pio.c | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH 08/12] mmc: sdhi: Make runtime PM callbacks available for CONFIG_PM

2014-08-25 Thread Ulf Hansson
To be able to simplify system PM, let's re-use the runtime PM callbacks by converting to the SET_PM_RUNTIME_PM_OPS macro. Signed-off-by: Ulf Hansson --- drivers/mmc/host/sh_mobile_sdhi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sh_mobile_sdhi.c

[PATCH 04/12] mmc: tmio: Restructure ->set_ios() and adapt ->probe() to it

2014-08-25 Thread Ulf Hansson
An internal power state machine were beeing used to keep ->probe() and ->set_ios() in sync. Especially for handling specific scenarios while using CONFIG_MMC_CLKGATE. Moreover dependency to CONFIG_MMC_CLKGATE existed to handle runtime PM properly, which we moves away from here. By removing the

[PATCH 05/12] mmc: tmio: Handle clock gating from runtime PM functions

2014-08-25 Thread Ulf Hansson
Add clock gating control as a part of the tmio library functions for runtime PM. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc.h | 3 ++- drivers/mmc/host/tmio_mmc_pio.c | 28 2 files changed, 26 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v3] arch: Kconfig: Let all architectures set endian explicitly

2014-08-25 Thread Chen Gang
Hello all: It seems no any additional rejections for it. I guess, I need split the 'big' patch into pieces, and each send to its' related mailing list, so let it not like a spam. And the schedule may like: - Firstly, send patch for "init/Kconfig" to add CPU_*_ENDIAN. If pass checking (hope

[PATCH 10/12] mmc: sdhi: Fixup system PM suspend lock-up

2014-08-25 Thread Ulf Hansson
At system PM suspend, the tmio core accessed the internal registers of the controller without first moving the device into active state. This caused a lock-up in system PM suspend phase. The reason for the register access were masking of IRQs. Since that is managed via the runtime PM suspend

[PATCH 11/12] mmc: tmio_mmc: Fixup system PM suspend lock-up

2014-08-25 Thread Ulf Hansson
At system PM suspend, the tmio core accessed the internal registers of the controller without first moving the device into active state. This caused a lock-up in system PM suspend phase. The reason for the register access were masking of IRQs. Since that is managed via the runtime PM suspend

[PATCH 03/12] mmc: tmio: Extract bus_width modifications to a separate function

2014-08-25 Thread Ulf Hansson
Move code for bus_width modification, out of the ->set_ios() callback and into a separate function, to simplify code. Signed-off-by: Ulf Hansson --- drivers/mmc/host/tmio_mmc_pio.c | 25 +++-- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git

[PATCH 2/2] usb: chipidea: msm: Initialize PHY on reset event

2014-08-25 Thread Ivan T. Ivanov
Initialize USB PHY after every Link controller reset Signed-off-by: Ivan T. Ivanov --- drivers/usb/chipidea/ci_hdrc_msm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c index 30bdd51..4935ac3 100644 ---

Re: [PATCH] net: stmmac: add dcrs parameter

2014-08-25 Thread Chen-Yu Tsai
Hi, On Mon, Aug 25, 2014 at 7:50 PM, Ley Foon Tan wrote: > This patch add the option to enable DCRS bit in GMAC control register. > Default is disabled if snps,dcrs is not defined. > > For MII, Carrier Sense (CRS) must be asserted during transmission > whereas in RGMII, CRS is not. RGMII does

Re: [PATCH] PWM: atmel: fix incorrect CDTY value after enabling or disabling

2014-08-25 Thread Thierry Reding
On Mon, Aug 25, 2014 at 01:54:54PM +0200, Alexandre Belloni wrote: > Hi, > > On 25/08/2014 at 12:15:23 +0200, Thierry Reding wrote : > > On Fri, Mar 14, 2014 at 08:05:31PM +0100, Alexandre Belloni wrote: > > > pwm-leds calls .config() and .disable() in a row. This exhibits that it > > > may > >

suspicions RCU usage in 3.17.0-rc1-00231-g7be141d on sparc64

2014-08-25 Thread Meelis Roos
This is 3.17.0-rc1-00231-g7be141d on sparc64 (4-CPU E420R with US-II CPUs). It works fine but gave this during reboot: [info] Will now restart. [ 4499.742521] [ 4499.759281] === [ 4499.809274] [ INFO: suspicious RCU usage. ] [ 4499.859270] 3.17.0-rc1-00231-g7be141d

Re: [PATCH] crypto: testmgr.c: remove unused function argument

2014-08-25 Thread Herbert Xu
On Fri, Aug 08, 2014 at 12:30:04PM +0300, Cristian Stoica wrote: > The argument "req" of do_one_async_hash_op is not used by the > function. This patch removes this argument and renames the > function to match more closely its purpose. > > Signed-off-by: Cristian Stoica Patch applied. --

Re: [PATCH] crypto: testmgr.c: white space fix-ups on test_aead

2014-08-25 Thread Herbert Xu
On Mon, Jul 28, 2014 at 01:11:23PM +0300, Cristian Stoica wrote: > This patch inverts two if conditions and allows removal of one > tab-stop in their code-blocks. Only white-space clean-up follows. > > Signed-off-by: Cristian Stoica All applied. Thanks Cristian! -- Email: Herbert Xu Home

Re: caamhash.c fixes

2014-08-25 Thread Herbert Xu
On Thu, Aug 14, 2014 at 01:51:55PM +0300, Cristian Stoica wrote: > This is a set of two independent fixes for caamhash driver All applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this

Re: [PATCH 0/8] DRBG: efficiency patches

2014-08-25 Thread Herbert Xu
On Sun, Aug 17, 2014 at 05:37:04PM +0200, Stephan Mueller wrote: > Hi, > > The following patch set contains random fixes to increase the efficiency of > the DRBG. Changes include the removal of unneeded memset(0) and sanity > checks. All changes do not weaken the implementation as only code is >

Re: [PATCH v6 0/6] crypto: SHA1 multibuffer implementation

2014-08-25 Thread Herbert Xu
On Thu, Jul 31, 2014 at 10:29:44AM -0700, Tim Chen wrote: > Herbert, > > I've updated the patches from v5 with the multi-buffer infrastructure > patch contained within the same patch and some patch subject > and comments clean up per Peter's feedback. All applied. Thanks Tim! -- Email:

Re: [PATCH v4 00/11] drm: add support for Atmel HLCDC Display Controller

2014-08-25 Thread Daniel Vetter
On Thu, Aug 21, 2014 at 03:16:08PM +0200, Thierry Reding wrote: > On Thu, Aug 21, 2014 at 03:06:00PM +0200, Boris BREZILLON wrote: > > On Thu, 21 Aug 2014 11:52:03 +0200 > > Thierry Reding wrote: > > > > > On Thu, Aug 21, 2014 at 11:41:59AM +0200, Boris BREZILLON wrote: > > > > On Thu, 21 Aug

Re: Linux UDF support

2014-08-25 Thread Austin S Hemmelgarn
On 2014-08-24 08:46, Pali Rohár wrote: > Hi, > > I would like to know what is state of linux UDF driver. It is > experimental or is now suitable for storing data? > I know that read support works for every version I have tested, but I've only tested it reading data from DVD's and Blu-Ray discs,

Re: [PATCH] net: stmmac: add dcrs parameter

2014-08-25 Thread Giuseppe CAVALLARO
On 8/25/2014 2:34 PM, Chen-Yu Tsai wrote: Hi, On Mon, Aug 25, 2014 at 7:50 PM, Ley Foon Tan wrote: This patch add the option to enable DCRS bit in GMAC control register. Default is disabled if snps,dcrs is not defined. For MII, Carrier Sense (CRS) must be asserted during transmission whereas

Re: [PATCH v4 0/8] asm-generic/io.h overhaul

2014-08-25 Thread Richard Weinberger
eer to take them all into one tree. Ideally that tree would >>> feed into linux-next so that we can get as much build and test-coverage >>> as possible during the 3.17 release cycle so that these patches can go >>> into 3.18. >>> >>> Arnd, I'm opportunisticall

Re: Loading initrd above 4G causes freeze on boot

2014-08-25 Thread Matt Fleming
On Mon, 25 Aug, at 02:08:59PM, Mantas Mikulėnas wrote: > > Well, all I could find is: > > > Freeing initrd memory: 5552K (8800be22e000 - 8800be79a000) > > Attaching the entire log. Here we go, > [0.00] RAMDISK: [mem 0xbe22e000-0xbe799fff] OK, we're out of options here.

Re: [PATCH v3 13/17] arcmsr: fix ioctl data read/write error for adapter type C

2014-08-25 Thread Tomas Henzl
On 08/25/2014 12:29 PM, Tomas Henzl wrote: > On 08/25/2014 07:59 PM, Ching Huang wrote: >> On Fri, 2014-08-22 at 18:00 +0200, Tomas Henzl wrote: >>> On 08/19/2014 09:17 AM, Ching Huang wrote: From: Ching Huang Rewrite ioctl entry and its relate function. This patch fix ioctl

[PATCH] iio: core: Propagate error codes from OF layer to client drivers

2014-08-25 Thread Ivan T. Ivanov
Do not overwrite error codes returned from of_iio_channel_get(). Error codes are used to distinguish between "io-channel-names" not present in DT bindings, property is optional, and IIO channel provider driver still not being loaded, defer probe. Signed-off-by: Ivan T. Ivanov ---

[PATCH] i2c: axxia: Add I2C driver for AXM55xx

2014-08-25 Thread Anders Berg
Add I2C bus driver for the controller found in the LSI Axxia family SoCs. The driver implements 10-bit addressing and SMBus transfer modes via emulation (including SMBus block data read). Signed-off-by: Anders Berg --- .../devicetree/bindings/i2c/i2c-axxia.txt | 30 ++

Re: [PATCH/RFC] hash: Let gcc decide how to multiply

2014-08-25 Thread Daniel Borkmann
On 08/25/2014 02:13 PM, Rasmus Villemoes wrote: A 9+ years old comment in hash_64 says that gcc can't optimize multiplication by GOLDEN_RATIO_PRIME_64. Well, compilers get smarter and CPUs get faster all the time, so it is perhaps about time to revisit that assumption. Seems fine by me, but

Re: [PATCH V2] efi_high_alloc: use EFI_ALLOCATE_MAX_ADDRESS

2014-08-25 Thread Matt Fleming
On Mon, 25 Aug, at 01:55:32PM, har...@redhat.com wrote: > From: Harald Hoyer > > On my Lenovo T420s with 4GB memory, efi_high_alloc() was checking the > following memory regions: > > 0x0010 - 0x2000 > 0x2020 - 0x4000 > 0x4020 -

[PATCH] doc: memory-barriers.txt: Correct example for reorderings

2014-08-25 Thread Pranith Kumar
Correct the example of memory orderings in memory-barriers.txt Commit 615cc2c9cf95 "Documentation/memory-barriers.txt: fix important typo re memory barriers" changed the assignment to x and y. Change the rest of the example to match this change. Reported-by: Ganesh Rapolu Signed-off-by: Pranith

Re: [PATCH 0/2] Add TLS record layer encryption module

2014-08-25 Thread Hannes Frederic Sowa
Hi, On Di, 2014-07-29 at 12:32 +0300, Cristian Stoica wrote: > This set of patches introduces support for TLS 1.0 record layer > encryption/decryption with a corresponding algorithm called > tls10(hmac(),cbc()). > > Similarly to authenc.c on which it is based, this module mixes the base >

Re: [PATCH v3 1/6] pinctrl: Device tree bindings for Qualcomm pm8xxx gpio block

2014-08-25 Thread Ivan T. Ivanov
On Wed, 2014-08-20 at 15:27 -0700, Bjorn Andersson wrote: > On Mon 11 Aug 08:40 PDT 2014, Ivan T. Ivanov wrote: > [...] > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt > > b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt > [...] > > +SUBNODES: > [...] >

Re: [PATCH 1/3] mm/slab: use percpu allocator for cpu cache

2014-08-25 Thread Christoph Lameter
On Mon, 25 Aug 2014, Joonsoo Kim wrote: > On Thu, Aug 21, 2014 at 09:21:30AM -0500, Christoph Lameter wrote: > > On Thu, 21 Aug 2014, Joonsoo Kim wrote: > > > > > So, this patch try to use percpu allocator in SLAB. This simplify > > > initialization step in SLAB so that we could maintain SLAB

Re: [PATCH] drivers: staging: rtl8821ae: Fix spaces required around that '?' errors

2014-08-25 Thread Joe Perches
On Mon, 2014-08-25 at 06:35 -0500, Greg Donald wrote: > Fix checkpatch.pl spaces required around that '?' errors It'd be better to convert all parts of the ternary at the same time. > diff --git a/drivers/staging/rtl8821ae/btcoexist/HalBtc8812a1Ant.c >

[PATCH net v2] net: fix checksum features handling in netif_skb_features()

2014-08-25 Thread Michal Kubecek
This is follow-up to da08143b8520 ("vlan: more careful checksum features handling") which introduced more careful feature intersection in vlan code, taking into account that HW_CSUM should be considered superset of IP_CSUM/IPV6_CSUM. The same is needed in netif_skb_features() in order to avoid

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-08-25 Thread Eliezer Tamir
On 22/08/2014 17:16, Eric Dumazet wrote: > On Fri, 2014-08-22 at 17:08 +0800, Jason Wang wrote: > >> But this is just for current process. We want to determine whether or >> not it was worth to loop busily in current process by checking if >> there's any another runnable processes or callbacks.

Re: [resend rfc v3] pwm: add BCM2835 PWM driver

2014-08-25 Thread Thierry Reding
Sorry for taking so long to reply to this, I had completely forgotten. On Mon, Apr 28, 2014 at 02:54:46PM +0200, Bart Tanghe wrote: > Add some better error handling and Device table support > Added Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt > > Signed-off-by: Bart

PURCHASE ORDER

2014-08-25 Thread West Group
I am interested in this your product. I will like to know how i will go about it and to also know the specification,FOB price and mode of payment. Vanni -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 6/9 v2] drm: use c99 initializers in structures

2014-08-25 Thread Daniel Vetter
On Sat, Aug 23, 2014 at 06:09:56PM +0200, Julia Lawall wrote: > From: Julia Lawall > > Use c99 initializers for structures. > > Drop 0 initializers in drivers/gpu/drm/sti/sti_vtac.c. A 0x0 initializer > is left in vtac_mode_aux in drivers/gpu/drm/sti/sti_vtac.c to highlight the > relation to

Re: Linux UDF support

2014-08-25 Thread Pali Rohár
Hi, On Monday 25 August 2014 14:45:13 Austin S Hemmelgarn wrote: > On 2014-08-24 08:46, Pali Rohár wrote: > > Hi, > > > > I would like to know what is state of linux UDF driver. It > > is experimental or is now suitable for storing data? > > I know that read support works for every version I

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