Re: [PATCH v5 09/11] drm/tegra: Reset the SOR on probe

2015-03-03 Thread Alexandre Courbot
On Tue, Mar 3, 2015 at 12:46 AM, Simon Glass wrote: > Hi, > > On 2 March 2015 at 01:41, Alexandre Courbot wrote: >> >> On Thu, Feb 12, 2015 at 5:51 PM, Tomeu Vizoso >> wrote: >> > As there isn't a way for the firmware on the Nyan chromebooks to hand >> > over the display to the kernel. >> >> Cou

[GIT PULL v2] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-03-03 Thread Philipp Zabel
Hi Grant, Rob, this series has been around for quite some time now, basically unchanged except for adding fixes for new users of the API that keep appearing over time in different subsystems. It would be really helpful to get this merged for v4.0. Could you still make this happen? Alternatively,

Re: [GIT PULL] Samsung Thermal fixes for v4.0-rc2

2015-03-03 Thread Lukasz Majewski
Hi Eduardo, > On Mon, Mar 02, 2015 at 11:43:47AM +0100, Lukasz Majewski wrote: > > Dear Eduardo, > > > > Please find my first pull request for Samsung Thermal fixes > > targeting v4.0-rc2. > > > > Pulled. Thanks. > > Couple of minor comments though (check next on your pull) I'm fully aware t

Re: [PATCH v8 0/3] Add of-graph helpers to loop over endpoints and find ports by id

2015-03-03 Thread Philipp Zabel
Hi Laurent, Am Sonntag, den 01.03.2015, 18:20 +0200 schrieb Laurent Pinchart: > Hi Philipp and all, > > This series has been around for a long time, it seems to be time to get it > merged. > > What's the plan ? If we wait for the v4.1 merge window there's a chance we'll > get more conflicts, e

Re: [PATCH v4 12/30] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-03 Thread Yijing Wang
>> +if (host->ops && host->ops->phb_prepare) { >> +error = host->ops->phb_prepare(host); >> +if(error) { > > Whitespace error. Will fix. > >> --- a/include/linux/pci.h >> +++ b/include/linux/pci.h >> @@ -400,6 +400,13 @@ static inline int pci_channel_offline(struct p

Re: [RFC PATCH v2 3/3] ARM: dts: exynos5420: add async-bridge clocks to disp1 power domain

2015-03-03 Thread Javier Martinez Canillas
Hello Kukjin, On 02/06/2015 12:27 PM, Javier Martinez Canillas wrote: > Hello Andrzej, > > On 02/06/2015 11:55 AM, Andrzej Hajda wrote: >> FIMD and MIXER IPs in disp1 power domain have async-bridges (to GSCALER), >> therefore their clocks should be enabled during power domain switch. >> >> Signe

Re: [PATCH v4 2/2] ARM: mvebu: a385-db-ap: Enable the NAND

2015-03-03 Thread Gregory CLEMENT
Hi Maxime, On 18/02/2015 11:32, Maxime Ripard wrote: > The Armada 385 Access Point Development Board has a 1GB NAND SLC chip from > Micron as its main storage. Enable it. I wanted applying your patch but it failed. Actually it depends on your other patch "ARM: mvebu: armada-385-ap: Enable USB3 po

Re: [PATCH v4 13/30] PCI: Introduce new scan function pci_scan_root_bridge()

2015-03-03 Thread Yijing Wang
On 2015/3/3 10:52, Bjorn Helgaas wrote: > On Thu, Feb 26, 2015 at 04:12:07PM +0800, Yijing Wang wrote: >> Introduce new scan function pci_scan_root_bridge() to >> support host bridge drivers that need to provide platform >> own pci_host_bridge_ops. >> >> Signed-off-by: Yijing Wang >> --- >> drive

[PATCH v5] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU.

2015-03-03 Thread Wang Xiaoming
The maximum of SW-IOMMU is limited to 2^11*128 = 256K. And the size of IO_TLB_DEFAULT_SIZE is limited to (64UL<<20) 64M now. While in different platform and different requirement this seems improper. So modifing the IO_TLB_SEGSIZE to io_tlb_segsize and IO_TLB_DEFAULT_SIZE to io_tlb_default_size whi

[RFC PATCH] genksyms: fix segmentation fault when parsing redefinition of typedef

2015-03-03 Thread Sheng Yong
Hi, all If the CONFIG_MODVERSIONS is selected, and kernel module looks like, /* hello.c */ #include #include #include #include "foo.h" typedef int (*foo)(int); int test(void) { return 0; }

[RFC PATCH] genksyms: fix segmentation fault when parsing redefinition of typedef

2015-03-03 Thread Sheng Yong
Check if name is NULL to avoid segmentation fault when generate crc32 value. Otherwise, it is not easy to find out what is wrong in the code. If name is NULL, just return it and continue, then gcc could find out the incorrect position. Signed-off-by: Sheng Yong --- scripts/genksyms/genksyms.c |

Re: "advanced" LED controllers

2015-03-03 Thread Alexandre Courbot
On Mon, Mar 2, 2015 at 6:21 PM, Pavel Machek wrote: > On Wed 2015-02-25 18:06:07, Alexandre Courbot wrote: >> On Wed, Feb 25, 2015 at 5:25 PM, Geert Uytterhoeven >> wrote: >> > CC linux-gpio, as this looks like the LED equivalent of bulk gpio? >> >> Indeed. The LED core could implement something

Re: [PATCH net-next 13/14] wireless: Use eth__addr instead of memset

2015-03-03 Thread Johannes Berg
On Mon, 2015-03-02 at 19:54 -0800, Joe Perches wrote: > Use the built-in function instead of memset. Please don't use in the title, especially not if the patch only introduces usage of eth_zero_addr(). It's easier to look for in the commit log without it. Other than that, I guess I'll apply this

Re: [PATCH 0/3] Add initial DT support for Qualcomm SPMI PMIC devices

2015-03-03 Thread Stephen Boyd
On 02/26, Ivan T. Ivanov wrote: > > Hi Stephan, > > Sorry for delayed answer. > > On Thu, 2015-02-19 at 16:49 -0800, Stephen Boyd wrote: > > On 02/03/15 04:17, Ivan T. Ivanov wrote: > > > Following set of patches add initial DT support for PMIC devices > > > found on recent Quqalcomm chipsets.

Re: [PATCH] kprobes: x86: cleanup __recover_probed_insn().

2015-03-03 Thread Masami Hiramatsu
(2015/03/03 15:39), Wang Nan wrote: > Since kernel kconfig forbids turning off KPROBES_ON_FTRACE for x86, we > don't need to consider the situation that a kprobe probing on a ftrace > location. The only exception should be early kprobe with > KPROBES_ON_FTRACE enabled. However, it is still impossib

Re: [PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91

2015-03-03 Thread Boris Brezillon
Hi Alexandre, On Tue, 3 Mar 2015 08:42:47 +0100 Alexandre Belloni wrote: > Since the addition of the errata handling for at91sam9rl and at91sam9g45, the > atmel_usba_udc depends on the pmc driver being present. Explicitly set that > dependency. > > Signed-off-by: Alexandre Belloni > --- > dr

Re: [RFC 13/16] mm/cma: populate ZONE_CMA and use this zone when GFP_HIGHUSERMOVABLE

2015-03-03 Thread Aneesh Kumar K.V
Joonsoo Kim writes: > Until now, reserved pages for CMA are managed altogether with normal > page in the same zone. This approach has numorous problems and fixing > them isn't easy. To fix this situation, ZONE_CMA is introduced in > previous patch, but, not yet populated. This patch implement pop

Re: [PATCH] staging/lustre/llite: Fix obd name after c&p error

2015-03-03 Thread Dan Carpenter
On Tue, Mar 03, 2015 at 02:39:36AM -0500, gr...@linuxhacker.ru wrote: > This really came from nowhere and I do not see this patch in any archives > of mailinglists I am subscribed to. > In fact Google cannot find it either. I was going to say something similar. It's not in linux-next either. re

[PATCH] block:bounce: fix call inc_|dec_zone_page_state on different pages confuse value of NR_BOUNCE

2015-03-03 Thread Wang YanQing
Commit d2c5e30c9a1420902262aa923794d2ae4e0bc391 ("[PATCH] zoned vm counters: conversion of nr_bounce to per zone counter") convert statistic of nr_bounce to per zone and one global value in vm_stat, but it call call inc_|dec_zone_page_state on different pages, then different zones, and cause we get

Re: [PATCH v2] seccomp: switch to using asm-generic for seccomp.h

2015-03-03 Thread Ingo Molnar
* Kees Cook wrote: > Most architectures don't need to do anything special for the strict > seccomp syscall entries. Remove the redundant headers and reduce the > others. > 19 files changed, 27 insertions(+), 137 deletions(-) Lovely cleanup factor. Just to make sure, are you sure the 32-bit d

Re: [RFCv2 net-next 6/7] net: Refactor ip_defrag() APIs

2015-03-03 Thread Patrick McHardy
On 02.03, Joe Stringer wrote: > From: Andy Zhou > > Currently, ip_defrag() does not keep track of the maximum fragmentation > size for each fragmented packet. This information is not necessary since > current Linux IP fragmentation always fragments a packet based on output > devices' MTU. It doe

Re: [PATCH] block/cpqarray.c: remove IRQF_DISABLED flag

2015-03-03 Thread Valentin Rothberg
On Mon, Mar 2, 2015 at 10:56 PM, Andrew Morton wrote: > On Fri, 27 Feb 2015 13:32:55 +0100 Valentin Rothberg > wrote: > >> The IRQF_DISABLED is a NOOP and scheduled to be removed. According to >> Ingo Molnar (e58aa3d2d0cc01ad8d6f7f640a0670433f794922) running IRQ >> handlers with interrupts enab

Re: [PATCH] kprobes: x86: cleanup __recover_probed_insn().

2015-03-03 Thread Wang Nan
On 2015/3/3 16:21, Masami Hiramatsu wrote: > (2015/03/03 15:39), Wang Nan wrote: >> Since kernel kconfig forbids turning off KPROBES_ON_FTRACE for x86, we >> don't need to consider the situation that a kprobe probing on a ftrace >> location. The only exception should be early kprobe with >> KPROBES

Re: [PATCH v4 16/30] PCI/IA64: Fix the build warning about pci_domain_nr()

2015-03-03 Thread Yijing Wang
On 2015/3/3 10:56, Bjorn Helgaas wrote: > On Thu, Feb 26, 2015 at 04:12:10PM +0800, Yijing Wang wrote: >> Should pass pci_bus * instead of pci_dev * to pci_domain_nr(). >> >> Signed-off-by: Yijing Wang >> CC: Tony Luck >> CC: Fenghua Yu >> CC: linux-i...@vger.kernel.org >> --- >> arch/ia64/sn/k

Re: [PATCH net-next 13/14] wireless: Use eth__addr instead of memset

2015-03-03 Thread Joe Perches
On Tue, 2015-03-03 at 09:16 +0100, Johannes Berg wrote: > On Mon, 2015-03-02 at 19:54 -0800, Joe Perches wrote: > > Use the built-in function instead of memset. > > Please don't use in the title, especially not if the patch only > introduces usage of eth_zero_addr(). It's easier to look for in th

Re: [PATCH] block/cpqarray.c: remove IRQF_DISABLED flag

2015-03-03 Thread Ingo Molnar
* Andrew Morton wrote: > On Fri, 27 Feb 2015 13:32:55 +0100 Valentin Rothberg > wrote: > > > The IRQF_DISABLED is a NOOP and scheduled to be removed. According to > > Ingo Molnar (e58aa3d2d0cc01ad8d6f7f640a0670433f794922) running IRQ > > handlers with interrupts enabled can cause stack overf

Re: [PATCH v10 10/11] sched: add SD_PREFER_SIBLING for SMT level

2015-03-03 Thread Vincent Guittot
On 2 March 2015 at 12:52, Srikar Dronamraju wrote: > * Vincent Guittot [2015-02-27 16:54:13]: > >> Add the SD_PREFER_SIBLING flag for SMT level in order to ensure that >> the scheduler will put at least 1 task per core. >> >> Signed-off-by: Vincent Guittot >> Reviewed-by: Preeti U. Murthy >> --

Re: gadgetfs broken since 7f7f25e8

2015-03-03 Thread Al Viro
On Mon, Mar 02, 2015 at 02:02:56PM +0100, Alexander Holler wrote: > >I exactly did what you've assumed, I've just fixed f_mode but not the > >already existing races which I haven't introduced. So I was right in not > >sending a patch as would have been blamed for not rewriting everything > >as so

[PATCH] serial/8250_dw: use platform_get_irq() instead of platform_get_resource()

2015-03-03 Thread Alexey Brodkin
It is not recommened to use platform_get_resource(pdev, IORESOURCE_IRQ) for requesting IRQ's resources any more, as they can be not ready yet in case of DT-booting. platform_get_irq() instead is a recommended way for getting IRQ even if it was not retrieved earlier. It also makes code simpler bec

Re: [tip:perf/core] Revert "perf: Remove the extra validity check on nr_pages"

2015-03-03 Thread Ingo Molnar
* tip-bot for Kan Liang wrote: > --- a/kernel/events/core.c > +++ b/kernel/events/core.c > @@ -4446,7 +4446,7 @@ static int perf_mmap(struct file *file, struct > vm_area_struct *vma) >* If we have rb pages ensure they're a power-of-two number, so we >* can do bitmasks instead of

Re: [PATCH net-next 13/14] wireless: Use eth__addr instead of memset

2015-03-03 Thread Johannes Berg
> > Other than that, I guess I'll apply this, but I really wish there was a > > way to distinguish more easily which of these require alignment and > > which don't. > > My guess is the eth_zero_addr and eth_broadcast functions > are always taking aligned(2) arguments, just like all the > is__ethe

Re: [PATCH v2 7/9] get the random phy addr according to slot_area info

2015-03-03 Thread Yinghai Lu
On Mon, Mar 2, 2015 at 6:58 AM, Baoquan He wrote: > Now random value can be used to get related slot info stored in > slot_area, mainly use slot_area.num to position which slot is target. > With this slot its starting address is returned as the physical > address where kernel will put. > > @@ -362

Re: [PATCH] PM / Domains: cleanup: rename gpd -> genpd in debugfs interface

2015-03-03 Thread Pavel Machek
On Mon 2015-03-02 11:24:28, Kevin Hilman wrote: > From: Kevin Hilman > > To keep consisitency with the rest of the file, use 'genpd' as the > name of the 'struct generic_pm_domain' pointer instead of 'gpd'. > > This is just a rename, no functional changes. > > Signed-off-by: Kevin Hilman Acke

Re: [PATCH v4 12/30] PCI: Introduce pci_host_bridge_ops to support host specific operations

2015-03-03 Thread Yijing Wang
On 2015/3/3 11:03, Bjorn Helgaas wrote: > On Thu, Feb 26, 2015 at 04:12:06PM +0800, Yijing Wang wrote: >> Now we have weak functions like pcibios_root_bridge_prepare() >> to setup pci host bridge, We could introduce pci_host_bridge_ops >> which contain host bridge specific ops to setup pci_host_bri

[PATCH] gpio-dwapb: reset mask register on probe

2015-03-03 Thread Alexey Brodkin
It's possible that boot-loader that worked on CPU before Linux kernel made some changes in GPIO controller registers. For example interrupts could be all masked. Current implementation of DW GPIO driver relies on default values in mask register. This is especially problematic in this DW GPIO driv

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Hans Verkuil
On 03/02/2015 08:57 AM, Scott Jiang wrote: > Hi Lad and Hans, > > 2015-02-22 2:39 GMT+08:00 Lad Prabhakar : >> From: "Lad, Prabhakar" >> >> This patch series, enhances blackfin capture driver with >> vb2 helpers. >> >> Changes for v3: >> 1: patches unchanged except for patch 8/15 fixing starting

Re: [PATCH v4 20/30] PCI/sparc: Use pci_scan_root_bridge() for simplicity

2015-03-03 Thread Yijing Wang
>> -pci_of_scan_bus(pbm, node, bus); >> -pci_bus_add_devices(bus); >> -pci_bus_register_of_sysfs(bus); >> +pci_bus_add_devices(host->bus); >> +pci_bus_register_of_sysfs(host->bus); >> >> -pci_claim_bus_resources(bus); >> +pci_claim_bus_resources(host->bus); > > Isn't

Re: [PATCH net-next 13/14] wireless: Use eth__addr instead of memset

2015-03-03 Thread Joe Perches
On Tue, 2015-03-03 at 09:44 +0100, Johannes Berg wrote: > > > Other than that, I guess I'll apply this, but I really wish there was a > > > way to distinguish more easily which of these require alignment and > > > which don't. > > > > My guess is the eth_zero_addr and eth_broadcast functions > > a

Re: [PATCH v2 5/5] clocksource: sun5i: Add clock notifiers

2015-03-03 Thread Maxime Ripard
On Mon, Jan 26, 2015 at 03:35:41PM +0100, Maxime Ripard wrote: > > >+static int sun5i_rate_cb_clksrc(struct notifier_block *nb, > > >+ unsigned long event, void *data) > > >+{ > > >+ struct clk_notifier_data *ndata = data; > > >+ struct sun5i_timer *timer = to_sun5i_timer

Re: [PATCHv2 02/10] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-03-03 Thread Maxime Ripard
Hi, On Sun, Mar 01, 2015 at 11:27:55PM +0100, Thomas Niederprüm wrote: > It makes sense to use vmalloc to allocate the video buffer since it has to be > page aligned memory for using it with mmap. Also deffered io seems buggy in > combination with kmalloc'ed memory (crash on unloading the module).

[RFC] slub memory quarantine

2015-03-03 Thread Andrey Ryabinin
Hi. One of the main problems in detecting use after free bugs is memory reuse. Freed could be quickly reallocated. Neither KASan nor slub poisoning could detect use after free after reallocation. Memory quarantine is aimed to solve this problem by delaying as much as possible actual freeing of obj

Re: [PATCH v2 0/6] ARM: at91: fix irq_pm_install_action WARNING

2015-03-03 Thread Alexandre Belloni
On 02/03/2015 at 10:18:12 +0100, Boris Brezillon wrote : > My apologies to those of you who already received this series, but I > didn't increment the patch version and forgot some subsystem maintainers > and MLs. > > Commit cab303be91dc47942bc25de33dc1140123540800 [1] introduced a WARN_ON > test

Re: [PULL] Yama update (4.0)

2015-03-03 Thread James Morris
On Fri, 27 Feb 2015, Kees Cook wrote: > Hi, > > Please pull these yama changes for 4.0. Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James Morris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a messag

[PATCH 1/1] cgroup: fix var may be used uninitialized warning

2015-03-03 Thread Javier Martinez Canillas
ch is on top of today's linux-next (tag: next-20150303). kernel/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 9a567836ee3a..bf1172d1c831 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -1739,7 +1739,7 @@ static str

Re: [PATCH net-next 13/14] wireless: Use eth__addr instead of memset

2015-03-03 Thread Johannes Berg
On Tue, 2015-03-03 at 00:52 -0800, Joe Perches wrote: > > > My guess is the eth_zero_addr and eth_broadcast functions > > > are always taking aligned(2) arguments, just like all the > > > is__ether_addr functions. > > > > Err, are you serious??? > > Yes. > > > That *clearly* isn't true, and if

[PATCH v3 2/2] x86: mce: comment about MCE synchronization timeout on definition of tolerant

2015-03-03 Thread Naoya Horiguchi
commit 716079f66eac ("mce: Panic when a core has reached a timeout") changed the behavior of mca_cfg->tolerant. So let's add comment about it. Signed-off-by: Naoya Horiguchi --- arch/x86/kernel/cpu/mcheck/mce.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git v3.19.orig/ar

[PATCH v3 1/2] x86: mce: kexec: switch MCE handler for kexec/kdump

2015-03-03 Thread Naoya Horiguchi
kexec disables (or "shoots down") all CPUs other than a crashing CPU before entering the 2nd kernel. But the MCE handler is still enabled after that, so if MCE happens and broadcasts over the CPUs after the main thread starts the 2nd kernel (which might not initialize MCE device yet, or might decid

Re: regcache_sync() errors for read-only registers cache

2015-03-03 Thread Mark Brown
On Mon, Mar 02, 2015 at 08:15:23PM +0100, Takashi Iwai wrote: > Mark Brown wrote: > > Please don't bury patches in the middle of mails, that just means that > > if the patch is useful it's painful to apply. > The --scissors option of git am is your friend. That's still pain. > > Your patch seem

Re: [RFC] slub memory quarantine

2015-03-03 Thread Dmitry Vyukov
Please hold on with this. Dmitry Chernenkov is working on a quarantine that works with both slub and slab, does not cause spurious OOMs and does not depend on slub-debug which has unacceptable performance (acquires global lock). Me or Dmitry C will send an email to kasan-...@googlegroups.com to dis

Re: [PATCH] drm/radeon: fix DRM_IOCTL_RADEON_CS oops

2015-03-03 Thread Christian König
Good catch. Patch is Reviewed-by: Christian König Regards, Christian. On 02.03.2015 20:36, Tommi Rantala wrote: Passing zeroed drm_radeon_cs struct to DRM_IOCTL_RADEON_CS produces the following oops. Fix by always calling INIT_LIST_HEAD() to avoid the crash in list_sort(). -

Re: [PATCH v3 1/4] mm: cma: add trace events to debug physically-contiguous memory allocations

2015-03-03 Thread Aneesh Kumar K.V
Stefan Strogin writes: > Add trace events for cma_alloc() and cma_release(). > > Signed-off-by: Stefan Strogin > --- > include/trace/events/cma.h | 57 > ++ > mm/cma.c | 6 + > 2 files changed, 63 insertions(+) > create mode 1

Re: [PATCH v3 3/4] mm: cma: add list of currently allocated CMA buffers to debugfs

2015-03-03 Thread Aneesh Kumar K.V
Stefan Strogin writes: > When CONFIG_CMA_BUFFER_LIST is configured a file is added to debugfs: > /sys/kernel/debug/cma/cma-/buffers contains a list of currently allocated > CMA buffers for each CMA region (N stands for number of CMA region). > > Format is: > - ( kB), allocated by () > > When C

Re: [RFC PATCH 1/4] mm: move memtest under /mm

2015-03-03 Thread Vladimir Murzin
On 03/03/15 01:52, Randy Dunlap wrote: > On 03/02/15 06:55, Vladimir Murzin wrote: >> There is nothing platform dependent in the core memtest code, so other >> platform >> might benefit of this feature too. >> >> Signed-off-by: Vladimir Murzin >> --- >> arch/x86/Kconfig| 11 >>

Re: regcache_sync() errors for read-only registers cache

2015-03-03 Thread Takashi Iwai
At Tue, 3 Mar 2015 09:09:29 +, Mark Brown wrote: > > On Mon, Mar 02, 2015 at 08:15:23PM +0100, Takashi Iwai wrote: > > Mark Brown wrote: > > > > Please don't bury patches in the middle of mails, that just means that > > > if the patch is useful it's painful to apply. > > > The --scissors opt

Re: [RFC PATCH 3/4] arm64: add support for memtest

2015-03-03 Thread Vladimir Murzin
On 02/03/15 18:56, Will Deacon wrote: > On Mon, Mar 02, 2015 at 02:55:44PM +, Vladimir Murzin wrote: >> Add support for memtest command line option. >> >> Signed-off-by: Vladimir Murzin >> --- >> arch/arm64/mm/init.c |2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm64/

Re: [RFC PATCH 0/4] make memtest a generic kernel feature

2015-03-03 Thread Vladimir Murzin
On 02/03/15 15:14, Baruch Siach wrote: > Hi Vladimir, > > On Mon, Mar 02, 2015 at 02:55:41PM +, Vladimir Murzin wrote: >> Memtest is a simple feature which fills the memory with a given set of >> patterns and validates memory contents, if bad memory regions is detected it >> reserves them via

[PATCH] SUNRPC: use jiffies_to_msecs for converting jiffies

2015-03-03 Thread Nicholas Mc Guire
Use jiffies_to_msecs for converting jiffies as it handles all of the corner cases reliably and also helps readability. Signed-off-by: Nicholas Mc Guire --- This was only compile tested for x86_64_defconfig (implies CONFIG_SUNRPC=y) Patch is against 4.0-rc1 (localversion-next is -next-20150303

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Lad, Prabhakar
Hi Hans, On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil wrote: > On 03/02/2015 08:57 AM, Scott Jiang wrote: >> Hi Lad and Hans, >> >> 2015-02-22 2:39 GMT+08:00 Lad Prabhakar : >>> From: "Lad, Prabhakar" >>> >>> This patch series, enhances blackfin capture driver with >>> vb2 helpers. >>> >>> Chang

Re: [PATCH v4 22/30] PCI/Parisc: Use pci_scan_root_bus() for simplicity

2015-03-03 Thread Yijing Wang
On 2015/3/3 11:24, Bjorn Helgaas wrote: > On Thu, Feb 26, 2015 at 04:12:16PM +0800, Yijing Wang wrote: >> From: Yijing Wang > > When you write subject lines, I think it's friendly to run > "git log --oneline" on the file you're changing, and make yours > match the previous ones. > > $ git log

Re: [PATCH RESEND] sched/deadline: fix pull if dl task who's prio changed is not on queue

2015-03-03 Thread Juri Lelli
Hi, [+Kirill] On 26/02/2015 02:38, Wanpeng Li wrote: > Dl task who is not on queue and it is also the curr task simultaneously > can not happen. In addition, pull since the priority of a not on queue > dl task doesn't make any sense. > > This patch fix it by don't pull if dl task who's prio chan

[PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread Tao Chen
Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. Signed-off-by: Tao Chen --- drivers/xen/xen-scsiback.c | 67 +++--- 1 file changed, 34 insertions(+), 33 deletions(-) diff --git a/drivers/xen/xen-scsi

Re: [PATCH v5 09/11] drm/tegra: Reset the SOR on probe

2015-03-03 Thread Tomeu Vizoso
On 2 March 2015 at 09:41, Alexandre Courbot wrote: > On Thu, Feb 12, 2015 at 5:51 PM, Tomeu Vizoso > wrote: >> As there isn't a way for the firmware on the Nyan chromebooks to hand >> over the display to the kernel. > > Could this have a side-effect on models for which the firmware *does* > hand

Re: [PATCHv2 05/10] fbdev: ssd1307fb: fix in tree users of ssd1306

2015-03-03 Thread Maxime Ripard
On Sun, Mar 01, 2015 at 11:27:58PM +0100, Thomas Niederprüm wrote: > introducing the new DT properties the in tree users of the SSD1306 > controller are updated to be up to date. > > Signed-off-by: Thomas Niederprüm This should be prefixed by "ARM: mxs:", and sent to the MXS maintainers. Maxime

Re: [PATCH v4 28/30] PCI: Export find_pci_host_bridge()

2015-03-03 Thread Yijing Wang
On 2015/3/3 11:40, Bjorn Helgaas wrote: > On Thu, Feb 26, 2015 at 04:12:22PM +0800, Yijing Wang wrote: >> Export find_pci_host_bridge(). >> >> Signed-off-by: Yijing Wang >> --- >> drivers/pci/host-bridge.c |2 +- >> include/linux/pci.h |1 + >> 2 files changed, 2 insertions(+), 1 de

Re: [PATCH] [RFC] ARM: shmobile: R-Car Gen2: Add da9063/da9210 regulator quirk

2015-03-03 Thread Geert Uytterhoeven
Hi Simon, On Mon, Mar 2, 2015 at 11:44 PM, Simon Horman wrote: > On Mon, Mar 02, 2015 at 09:49:11PM +0100, Geert Uytterhoeven wrote: >> On Mon, Mar 2, 2015 at 7:32 PM, Wolfram Sang wrote: >> > On Mon, Mar 02, 2015 at 06:28:43PM +0100, Geert Uytterhoeven wrote: >> >> The r8a7791/koelsch developme

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Hans Verkuil
On 03/03/2015 10:30 AM, Lad, Prabhakar wrote: > Hi Hans, > > On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil wrote: >> On 03/02/2015 08:57 AM, Scott Jiang wrote: >>> Hi Lad and Hans, >>> >>> 2015-02-22 2:39 GMT+08:00 Lad Prabhakar : From: "Lad, Prabhakar" This patch series, enhances

kasan_map_early_shadow() on Xen

2015-03-03 Thread Luis R. Rodriguez
Andrey, I believe that on Xen we should disable kasan, would like confirmation from someone on xen-devel though. Here's the thing though -- if true -- I'd like to do it *properly*, where *properly* means addressing a bit of architecture. A simple Kconfig slap seems rather reactive. I'd like to add

Re: [PATCH] udc: gadget: atmel_usba_udc: depend on COMMON_CLK_AT91

2015-03-03 Thread Alexandre Belloni
On 03/03/2015 at 09:26:20 +0100, Boris Brezillon wrote : > > config USB_ATMEL_USBA > > tristate "Atmel USBA" > > - depends on AVR32 || ARCH_AT91 > > + depends on AVR32 || ARCH_AT91 && COMMON_CLK_AT91 > > I guess you should add parenthesis to make it clearer ? > > depends on AVR32 |

Re: [PATCH v3 00/15] media: blackfin: bfin_capture enhancements

2015-03-03 Thread Lad, Prabhakar
Hi Hans, On Tue, Mar 3, 2015 at 9:39 AM, Hans Verkuil wrote: > On 03/03/2015 10:30 AM, Lad, Prabhakar wrote: >> Hi Hans, >> >> On Tue, Mar 3, 2015 at 8:49 AM, Hans Verkuil wrote: >>> On 03/02/2015 08:57 AM, Scott Jiang wrote: Hi Lad and Hans, 2015-02-22 2:39 GMT+08:00 Lad Prabhaka

Re: [PATCHv2 10/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-03 Thread Maxime Ripard
On Sun, Mar 01, 2015 at 11:28:03PM +0100, Thomas Niederprüm wrote: > This patch turns off the display when the driver is unloaded. > > Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-e

[PATCH] rtc: OMAP: Add external 32k clock feature

2015-03-03 Thread Keerthy
Add external 32k clock feature. The internal clock will be gated during suspend. Hence make use of the external 32k clock so that rtc is functional accross suspend/resume. Signed-off-by: Keerthy --- Tested on DRA7-EVM. drivers/rtc/rtc-omap.c | 15 ++- 1 file changed, 14 insertions(

Re: [PATCH] block/cpqarray.c: remove IRQF_DISABLED flag

2015-03-03 Thread Valentin Rothberg
On Tue, Mar 3, 2015 at 9:37 AM, Ingo Molnar wrote: > > * Andrew Morton wrote: > >> On Fri, 27 Feb 2015 13:32:55 +0100 Valentin Rothberg >> wrote: >> >> > The IRQF_DISABLED is a NOOP and scheduled to be removed. According to >> > Ingo Molnar (e58aa3d2d0cc01ad8d6f7f640a0670433f794922) running IR

Re: [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread Juergen Gross
On 03/03/2015 09:37 AM, Tao Chen wrote: Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, it makes the code easier to read. I'm not really convinced this is worth a patch. OTOH I'm not completely against it. If nobody rejects this and all my further comments are addressed yo

Re: [PATCH RFC 1/3] Drivers: hv: kvp: convert userspace/kernel communication to using char device

2015-03-03 Thread Vitaly Kuznetsov
Radim Krčmář writes: > 2015-02-27 17:14+0100, Vitaly Kuznetsov: >> Re-implement the communication using misc char device. Use ioctl to do >> kernel/userspace version negotiation (doesn't make much sense at this moment >> as we're breaking backwards compatibility but can be used in future). > > Th

Re: [PATCH v4 2/2] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-03 Thread Zefan Li
On 2015/3/2 17:12, Peter Zijlstra wrote: > On Mon, Mar 02, 2015 at 02:15:39PM +0800, Zefan Li wrote: >> Hi Rik, >> >>> Subject: cpusets,isolcpus: add file to show isolated cpus in cpuset >>> >>> The previous patch makes it so the code skips over isolcpus when >>> building scheduler load balancing d

Re: [PATCH 1/2] mesh_plink: use msecs_to_jiffies for proper time conversion

2015-03-03 Thread Johannes Berg
Both applied, thanks. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] spi: spi-imx: use correct enumeration type

2015-03-03 Thread Mark Brown
On Tue, Mar 03, 2015 at 12:28:31AM +0100, Stefan Agner wrote: > The fourth argument of dmaengine_prep_slave_sg needs to be of the > enumeration type dma_transfer_direction instead of dma_data_direction. > Since the used enumeration values actually stay the same, this is not > an actual issue at run

Re: [PATCH v4 2/2] ARM: mvebu: a385-db-ap: Enable the NAND

2015-03-03 Thread Maxime Ripard
On Tue, Mar 03, 2015 at 09:10:15AM +0100, Gregory CLEMENT wrote: > Hi Maxime, > > On 18/02/2015 11:32, Maxime Ripard wrote: > > The Armada 385 Access Point Development Board has a 1GB NAND SLC chip from > > Micron as its main storage. Enable it. > > I wanted applying your patch but it failed. Act

Re: [PATCH for-3.20-fixes] workqueue: fix hang involving racing cancel[_delayed]_work_sync()'s for PREEMPT_NONE

2015-03-03 Thread Tomeu Vizoso
On 2 March 2015 at 17:21, Tejun Heo wrote: > On Mon, Mar 02, 2015 at 01:26:15PM +0100, Jesper Nilsson wrote: >> On Mon, Feb 09, 2015 at 05:15:27PM +0100, Tejun Heo wrote: >> > Hello, >> >> Hi! >> >> > This patch removes the possible hang by updating __cancel_work_timer() >> > to explicitly wait fo

Re: [PATCH] video: ARM CLCD: Added support for FBIO_WAITFORVSYNC

2015-03-03 Thread Pawel Moll
On Mon, 2015-03-02 at 19:09 +, Arun Ramamurthy wrote: > On 15-03-02 08:00 AM, Pawel Moll wrote: > > On Wed, 2015-02-25 at 21:01 +, Arun Ramamurthy wrote: > >> Added ioctl and interrupt handler functions to support FBIO_WAITFORVSYNC > >> Also corrected documentation to make interrupts and in

[PATCH v2] powerpc/pmac: Fix DT refcount imbalance in pmac_pic_probe_oldstyle

2015-03-03 Thread Geert Uytterhoeven
Internally, of_find_node_by_name() calls of_node_put() on its "from" parameter, which must not be done on "master", as it's still in use, and will be released manually later. This may cause a zero kref refcount. Call of_node_get() before to compensate for this. Signed-off-by: Geert Uytterhoeven

Re: [PATCH] video: ARM CLCD: Added dt support to set tim2 register

2015-03-03 Thread Pawel Moll
On Mon, 2015-03-02 at 19:09 +, Arun Ramamurthy wrote: > > The existing bindings intentionally avoided quoting internal registers - > > they are supposed to describe how the hardware is wired up... > > > > So how about something like "arm,pl11x,tft-invert-clac"? Then the driver > > sets the bit

[PATCH] ipv6: expose RFC4191 route preference via rtnetlink

2015-03-03 Thread Lubomir Rintel
This makes it possible to retain the route preference when RAs are handled in userspace. Signed-off-by: Lubomir Rintel --- include/uapi/linux/rtnetlink.h | 1 + net/ipv6/route.c | 16 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/include/uapi/linu

Re: [PATCH net-next 06/14] xen: Use eth__addr instead of memset

2015-03-03 Thread Ian Campbell
On Mon, 2015-03-02 at 19:54 -0800, Joe Perches wrote: > Use the built-in function instead of memset. > > Signed-off-by: Joe Perches Acked-by: Ian Campbell -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

RE: [PATCH 1/3] drm/layerscape: Add fsl dcu DRM driver

2015-03-03 Thread jianwei.w...@freescale.com
> -Original Message- > From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel > Vetter > Sent: Sunday, February 22, 2015 7:35 PM > To: Wang Jianwei-B52261 > Cc: dri-de...@lists.freedesktop.org; jbar...@virtuousgeek.org; Wood > Scott-B07421; Xiubo Li; Wang Huan-B18965; linux

Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-03 Thread David Vrabel
On 03/03/15 09:40, Luis R. Rodriguez wrote: > Andrey, > > I believe that on Xen we should disable kasan, would like confirmation Why? This is the first of heard of this. > from someone on xen-devel though. Here's the thing though -- if true > -- I'd like to do it *properly*, where *properly* me

[PATCH] Documentation: i2o: remove duplicate documentation

2015-03-03 Thread Wolfram Sang
We can remove the i2o documentation because a) the subsystem has been moved to staging with commit 2cbf7fe2d5d32a (i2o: move to staging) anyhow and b) the here removed files are present in the subsystem directory again. There, README even has an additional paragraph and the ioctl docs only differ i

Re: [Xen-devel] [PATCH] xen-scsiback: use DRV_PFX in the pr macros

2015-03-03 Thread David Vrabel
On 03/03/15 08:37, Tao Chen wrote: > Replace the string of {xen-pvscsi:} in the pr sentences with DRV_PFX, > it makes the code easier to read. You need to #define pr_fmt(fmt) to add a prefix like this. > struct ids_tuple v; /* translate from */ > - struct scsiback_tpg *tpg;

Re: [Xen-devel] kasan_map_early_shadow() on Xen

2015-03-03 Thread Jan Beulich
>>> On 03.03.15 at 10:40, wrote: > Let's go down the rabbit hole for a bit. HAVE_ARCH_KASAN will be > selected on x86 when: > > if X86_64 && SPARSEMEM_VMEMMAP > > Now Xen should not have SPARSEMEM_VMEMMAP Why would that be? Jan -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH 2/8] ARM OMAP2+ GPMC: add bus children

2015-03-03 Thread Roger Quadros
Hi Robert, On 27/02/15 17:08, Robert Abel wrote: > Hi Roger, > > On Fri, Feb 27, 2015 at 11:24 AM, Roger Quadros wrote: >>> + /* is child a common bus? */ >>> + if (of_match_node(of_default_bus_match_table, child)) >>> + /* create children and other common bus children */ >>>

Re: [PATCH 0/2] Enable DRM/KMS support for STiH407 and STiH410 boards

2015-03-03 Thread Maxime Coquelin
On 01/14/2015 04:47 PM, Gabriel FERNANDEZ wrote: This patch-set Enable DRM/KMS support for STiH407-b2120 and STiH410-b2120 boards. This patch-set replace the previous one (PATCH 0/2] Enable DRM/KMS support for STiH407 Family boards) Gabriel Fernandez (2): ARM: DT: STiH407: Add DRM dt node

Re: [PATCH net-next 06/14] xen: Use eth__addr instead of memset

2015-03-03 Thread Wei Liu
On Mon, Mar 02, 2015 at 07:54:51PM -0800, Joe Perches wrote: > Use the built-in function instead of memset. > > Signed-off-by: Joe Perches Acked-by: Wei Liu > --- > drivers/net/xen-netback/interface.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/xen-ne

Re: [PATCH v3 06/15] media: blackfin: bfin_capture: use vb2_fop_mmap/poll

2015-03-03 Thread Hans Verkuil
On 02/21/2015 07:39 PM, Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > No need to reinvent the wheel. Just use the already existing > functions provided by vb2. > > Signed-off-by: Lad, Prabhakar > --- > drivers/media/platform/blackfin/bfin_capture.c | 28 > +++--- > 1 f

Re: [PATCH 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-03-03 Thread Maxime Coquelin
Hi Peter, On 02/27/2015 11:43 AM, Peter Griffin wrote: Hi Lee, On Wed, 25 Feb 2015, Lee Jones wrote: + reset-names = "powerdown", + "softreset"; Nit: What's the purpose of having these on separate lines? The only reason was t

Re: [PATCH v10 09/11] sched; remove unused capacity_orig from

2015-03-03 Thread Morten Rasmussen
On Fri, Feb 27, 2015 at 03:54:12PM +, Vincent Guittot wrote: > Signed-off-by: Vincent Guittot The commit message is empty? And the subject appears truncated? "...from"? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel

[PATCH] Staging: fbtft: move externs to header file

2015-03-03 Thread Drew Fustini
Move extern declartions from fbtft-core.c to fbtft header file. This resovles the warning from checkpatch.pl that "externs should be avoided in .c files". Signed-off-by: Drew Fustini --- drivers/staging/fbtft/fbtft-core.c | 5 - drivers/staging/fbtft/fbtft.h | 7 +++ 2 files changed

Re: [PATCH] video: ARM CLCD: Added dt support to set tim2 register

2015-03-03 Thread Pawel Moll
On Tue, 2015-03-03 at 10:02 +, Pawel Moll wrote: > On Mon, 2015-03-02 at 19:09 +, Arun Ramamurthy wrote: > > > The existing bindings intentionally avoided quoting internal registers - > > > they are supposed to describe how the hardware is wired up... > > > > > > So how about something like

Re: [PATCH v2 1/8] mmc: sdhci-st: Add macros for register offsets and bitfields for mmcss glue regs

2015-03-03 Thread Maxime Coquelin
Hi Peter, On 02/26/2015 02:10 PM, Peter Griffin wrote: The stih407 family SoC's have additional glue registers in the flashSS which are used to configure the Arasan controller. This patch adds macros for the register offsets and bitfields which will be used by subsequent patches to support sti

Re: [PATCH] dmaengine: virt-dma: fix completion list manipulation

2015-03-03 Thread Robert Jarzmik
Lars-Peter Clausen writes: >>> That will break all drivers which handle this currently correctly and >>> remove the >>> descriptor from any list before calling vchan_cookie_complete. >> Ah, well well I don't agree. >> >> First, let's split the drivers which remove the descriptors and these which

Re: [PATCH v3 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-03-03 Thread Andy Shevchenko
On Tue, 2015-03-03 at 00:03 +0100, Rasmus Villemoes wrote: > On Mon, Mar 02 2015, Andy Shevchenko > wrote: > > On Mon, 2015-02-23 at 23:55 +0100, Rasmus Villemoes wrote: > >> On Mon, Feb 23 2015, Andy Shevchenko > >> wrote: > > > >> > What about to make it a separate function *and* call from in

  1   2   3   4   5   6   7   8   9   10   >