Re: [PATCH v13 00/19] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-13 Thread Shaik Ameer Basha
On Tue, May 13, 2014 at 10:50 PM, Joerg Roedel wrote: > On Mon, May 12, 2014 at 11:44:45AM +0530, Shaik Ameer Basha wrote: >> Cho KyongHo (18): >> iommu/exynos: fix build errors >> iommu/exynos: change error handling when page table update is failed >> iommu/exynos: allocate lv2 page table

[PATCH] documentation/iommu: Add note on existing DT binding status

2014-05-13 Thread Shaik Ameer Basha
The current dt binding for Exynos System MMU can be changed, if found incompatible with the support for "Generic IOMMU Binding". This patch adds a note to the binding documentation stating the same. Signed-off-by: Shaik Ameer Basha --- .../devicetree/bindings/iommu/samsung,sysmmu.txt |5

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-13 Thread Anshuman Khandual
On 05/13/2014 10:51 PM, Pedro Alves wrote: > I wonder whether people are getting Roland's address from? > > It's frequent that ptrace related patches end up CCed to > rol...@redhat.com, but, he's not been at Red Hat for a few years > now. Roland, do you still want to be CCed on ptrace-related >

Re: [PATCH 9/9] perf, tools, record: Always allow to overide default period v2

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:14 -0700, Andi Kleen wrote: > From: Andi Kleen > > Fix the logic to allow overriding event default periods with -c or -F > on the command line. I'm not sure I understand this if() fully, but > this change makes all cases I tested work (tracepoint with default, default,

Re: [PATCH RESEND v4 3/8] phy: sunxi: Rework phy initialization

2014-05-13 Thread Kishon Vijay Abraham I
Hi, On Tuesday 13 May 2014 09:14 PM, Maxime Ripard wrote: > Move the phy initialization and variables declaration to the loop itself, > since > it is where it really belongs. Also remove all the temporary variables, we can > use the structure members directly. > > Signed-off-by: Maxime Ripard

Re: [PATCH V2 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-05-13 Thread Anshuman Khandual
On 05/13/2014 10:43 PM, Pedro Alves wrote: > On 05/05/14 08:54, Anshuman Khandual wrote: >> This patch enables get and set of transactional memory related register >> sets through PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing >> four new powerpc specific register sets i.e

Re: [ 080/143] net: rework recvmsg handler msg_name and msg_namelen logic

2014-05-13 Thread Willy Tarreau
Hi Luis, On Tue, May 13, 2014 at 01:44:25PM +0100, Luis Henriques wrote: > On Mon, May 12, 2014 at 02:33:20AM +0200, Willy Tarreau wrote: > > 2.6.32-longterm review patch. If anyone has any objections, please let me > > know. > > > > -- > > > > From: Hannes Frederic Sowa > >

Re: [PATCH 06/17] pci: host: pcie-designware: Use *base-mask* for configuring the iATU

2014-05-13 Thread Kishon Vijay Abraham I
hi Arnd, On Tuesday 13 May 2014 07:04 PM, Arnd Bergmann wrote: > On Tuesday 13 May 2014 15:27:46 Arnd Bergmann wrote: >> On Tuesday 13 May 2014 18:56:23 Kishon Vijay Abraham I wrote: If you have a case where the outbound translation is a 256MB (i.e. 28bit) section of the CPU address

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread John Syn
On 5/13/14, 8:39 PM, "Pantelis Antoniou" wrote: >Hi John, > >On May 13, 2014, at 1:24 PM, John Syn wrote: > >> >> On 5/13/14, 10:51 AM, "Javier Martinez Canillas" >> wrote: >> >>> Hello Pantelis, >>> >>> On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou >>> wrote: Hi Javier,

Re: [PATCH 1/5] usb: dwc3: dwc3-omap: Add dwc3_omap_map_offset function

2014-05-13 Thread George Cherian
On 5/13/2014 9:32 PM, Felipe Balbi wrote: Hi, On Thu, May 08, 2014 at 03:03:03PM +0530, George Cherian wrote: Calculate the wrapper register offsets in a seperate function. Improve code readability, decrease the dwc3_probe() size. Signed-off-by: George Cherian ---

[PATCH] lib: devres: Mark devm_request_and_ioremap() as deprecated

2014-05-13 Thread Jingoo Han
devm_request_and_ioremap() was obsoleted by devm_ioremap_resource(). (7509657 "lib: devres: Introduce devm_ioremap_resource()") So, let's mark it as deprecated in order to stop using it. Suggested-by: Florian Fainelli Signed-off-by: Jingoo Han Cc: Thierry Reding --- include/linux/device.h |

Re: [PATCH v3 0/5] Add support for SW babble Control

2014-05-13 Thread George Cherian
On 5/14/2014 12:07 AM, Bin Liu wrote: Hi, On Tue, May 13, 2014 at 8:24 AM, George Cherian wrote: Hi Daniel, On 5/13/2014 6:44 PM, Daniel Mack wrote: Hi George, On 05/13/2014 02:57 PM, George Cherian wrote: I never enabled the MUSB_BABBLE_SW_SESSION_CTRL in the MUSB_BABBLE_CTL reg. can

Re: [PATCH 8/9] perf, tools, test: Add test case for alias and JSON parsing

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:13 -0700, Andi Kleen wrote: [SNIP] > +int test__aliases(void) Just a nitpick. Please use a more descriptive name for the testcase like test__event_aliases(). > +{ > + int err; > + > + /* Download JSON files */ > + /* XXX assumes perf is installed */ > +

Re: [PATCH 2/2] mm/page_alloc: DEBUG_VM checks for free_list placement of CMA and RESERVE pages

2014-05-13 Thread Hugh Dickins
On Tue, 13 May 2014, Sasha Levin wrote: > On 05/05/2014 11:50 AM, Vlastimil Babka wrote: > > So in the end this VM_DEBUG check probably cannot work anymore for > > MIGRATE_RESERVE, only for CMA. I'm not sure if it's worth keeping it only > > for CMA, what are the CMA guys' opinions on that? > >

[git pull] Please pull powerpc.git merge branch

2014-05-13 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a couple of fixes for 3.15. One from Anton fixes a nasty regression I introduced when trying to fix a loss of irq_work whose consequences is that we can completely lose timer interrupts on a CPU... not pretty. The other one is a change to our PCIe reset hook to use a firmware

Re: [PATCH 5/9] perf, tools: Add perf download to download event files v2

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:10 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a downloader to automatically download the right > files from a download site. > > This is implemented as a script calling wget, similar to > perf archive. The perf driver automatically calls the right > binary. The

Re: [PATCH 3/9] perf, tools: Add support for reading JSON event files

2014-05-13 Thread Namhyung Kim
On Mon, 12 May 2014 15:51:08 -0700, Andi Kleen wrote: > From: Andi Kleen > > Add a parser for Intel style JSON event files. This allows > to use an Intel event list directly with perf. The Intel > event lists can be quite large and are too big to store > in unswappable kernel memory. > > The

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Tue, May 13, 2014 at 8:17 PM, Steven Rostedt wrote: > > On Tue, 13 May 2014 19:55:11 -0700 > > Alexei Starovoitov wrote: > > > >> Tracing filters are parsing user supplied character string and constructing > >> a predicate tree. filter_match_preds() was used

Re: [PATCH v2 0/3] File Sealing & memfd_create()

2014-05-13 Thread Hugh Dickins
On Tue, 15 Apr 2014, David Herrmann wrote: > > This is v2 of the File-Sealing and memfd_create() patches. You can find v1 > with > a longer introduction at gmane: > http://thread.gmane.org/gmane.comp.video.dri.devel/102241 > An LWN article about memfd+sealing is available, too: >

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Tue, May 13, 2014 at 8:07 PM, Steven Rostedt wrote: > > On Tue, 13 May 2014 19:55:11 -0700 > > Alexei Starovoitov wrote: > > > >> --- a/kernel/trace/Kconfig > >> +++ b/kernel/trace/Kconfig > >> @@ -79,6 +79,7 @@ config FTRACE_NMI_ENTER > >> default y >

Re: [PATCH 02/34] kbuild: Introduce KCONFIG_AUTOCONFIGDEP variable for conf tool

2014-05-13 Thread Sam Ravnborg
On Wed, May 14, 2014 at 12:02:57AM +0200, Alexis Berlemont wrote: > From: Jiri Olsa > > Introducing KCONFIG_AUTOCONFIGDEP variable for conf tool > allowing to specify custom auto.conf.cmd file. The change looks good at it complments what we already have of overrides. But please document this in

Re: [PATCH 01/34] kbuild: Introduce KBUILD_AUTOCONF variable for auto.conf include

2014-05-13 Thread Sam Ravnborg
On Wed, May 14, 2014 at 12:02:56AM +0200, Alexis Berlemont wrote: > From: Jiri Olsa > > Introducing KBUILD_AUTOCONF variable for auto.conf include > allowing to specify custom auto.conf file. What do you need this for? And please remember to documet this variable in Documentation/kbuild/...

Re: [PATCH 1/9] perf, tools: Add jsmn `jasmine' JSON parser

2014-05-13 Thread Andi Kleen
On Wed, May 14, 2014 at 12:25:44PM +0900, Namhyung Kim wrote: > Hi Andi, > > On Mon, 12 May 2014 15:51:06 -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > I need a JSON parser. This adds the simplest JSON > > parser I could find -- Serge Zaitsev's jsmn `jasmine' -- > > to the perf library.

[PATCH] workqueue: Remove deprecated system_nrt[_freezable]_wq

2014-05-13 Thread Jingoo Han
system_nrt[_freezable]_wq were deprecated by 3b07e9c ("workqueue: deprecate system_nrt[_freezable]_wq") and have been deprecated for a long time. In addition, these are not used anymore. So, let's remove these functions. Signed-off-by: Jingoo Han --- include/linux/workqueue.h | 14

Re: [PATCH v2 RESEND] rapidio/tsi721: Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-05-13 Thread Alexander Gordeev
On Tue, May 13, 2014 at 02:46:34PM -0700, Andrew Morton wrote: > On Tue, 13 May 2014 17:01:32 +0200 Alexander Gordeev > wrote: > > > As result of deprecation of MSI-X/MSI enablement functions > > pci_enable_msix() and pci_enable_msi_block() all drivers > > using these two interfaces need to be

Re: [PATCH v3 0/3] TI CPSW Cleanup

2014-05-13 Thread David Miller
From: George Cherian Date: Mon, 12 May 2014 10:21:18 +0530 > This series does some minimal cleanups. > -Conversion of pr_*() to dev_*() > -Convert kzalloc to devm_kzalloc. Series applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH] workqueue: Remove deprecated flush[_delayed]_work_sync()

2014-05-13 Thread Jingoo Han
flush[_delayed]_work_sync() were deprecated by 4382973 ("workqueue: deprecate flush[_delayed]_work_sync()") and have been deprecated for a long time. In addition, these are not used anymore. So, let's remove these functions. Signed-off-by: Jingoo Han --- include/linux/workqueue.h | 12

[PATCH v4] gcov: add support for GCC 4.9

2014-05-13 Thread Yuan Pengfei
From: Yuan Pengfei This patch handles the gcov-related changes in GCC 4.9: A new counter (time profile) is added. The total number is 9 now. A new profile merge function __gcov_merge_time_profile is added. See gcc/gcov-io.h and libgcc/libgcov-merge.c For the first change, the layout of

Re: [PATCHSET cgroup/for-3.16] cgroup: iterate cgroup_subsys_states directly

2014-05-13 Thread Li Zefan
Hi Tejun, On 2014/5/10 5:31, Tejun Heo wrote: > Hello, > > Currently, while csses (cgroup_subsys_states) have ->parent linkage > too, only cgroups form full tree through their ->children and > ->sibling fields and css iterations naturally is implemented by > iterating cgroups and then

RE: [PATCH v3] gcov: add support for GCC 4.9

2014-05-13 Thread Yuan Pengfei
> > > > +void __gcov_merge_time_profile(gcov_type *counters, unsigned int > > n_counters) > > But can you repost please without word wrapping? > > Except for that the patch looks good to me. Sorry. I will configure my email client and send again. -- Yuan, Pengfei Peking University, China --

Re: [PATCH 2/3] mm: use a light-weight __mod_zone_page_state in mlocked_vma_newpage()

2014-05-13 Thread Hugh Dickins
On Tue, 13 May 2014, Jianyu Zhan wrote: > Andrew, since the previous patch > > [PATCH 1/3] mm: add comment for __mod_zone_page_stat > > is updated, update this one accordingly. > > -<8- > From 9701fbdb3f9e7730b89780a5bf22effd1580cf35 Mon Sep 17 00:00:00 2001 > From: Jianyu Zhan >

Re: [PATCH] sched: wake up task on prev_cpu if not in SD_WAKE_AFFINE domain with cpu

2014-05-13 Thread Mike Galbraith
On Tue, 2014-05-13 at 10:08 -0400, Rik van Riel wrote: > OK, after doing some other NUMA stuff, and then looking at the scheduler > again with a fresh mind, I have drawn some more conclusions about what > the scheduler does, and how it breaks NUMA locality :) > > 1) If the node_distance between

Re: [PATCH 1/3] mm: add comment for __mod_zone_page_stat

2014-05-13 Thread Hugh Dickins
On Tue, 13 May 2014, Jianyu Zhan wrote: > >> This means they guarantee that even they are preemted the vm > >> counter won't be modified incorrectly. Because the counter is page-related > >> (e.g., a new anon page added), and they are exclusively hold the pte lock. > > > >But there are multiple

Re: [PATCH 01/25] asm-generic: Change time_t and clock_t to 64 bit

2014-05-13 Thread H. Peter Anvin
On 05/13/2014 03:22 AM, James Hogan wrote: >> When we export this posix_types.h file for user software, they need to >> define this config, eg: CONFIG_32BIT_TIME to use 32 bit time. Is this >> what we want to do? > > Yeh, good point, that won't work. How about: #include The asm-generic/types/

Re: [PATCH 2/2] mm/page_alloc: DEBUG_VM checks for free_list placement of CMA and RESERVE pages

2014-05-13 Thread Sasha Levin
On 05/05/2014 11:50 AM, Vlastimil Babka wrote: > So in the end this VM_DEBUG check probably cannot work anymore for > MIGRATE_RESERVE, only for CMA. I'm not sure if it's worth keeping it only for > CMA, what are the CMA guys' opinions on that? The way I understood it is that this patch is

Re: [PATCH] ARM: tegra: enable console framebuffer rotation

2014-05-13 Thread Stephen Warren
On 05/13/2014 08:00 PM, Alexandre Courbot wrote: ... > Both SHIELD and TN7 come with a locked bootloader and cannot use U-boot. > The bootloader can only boot a kernel from a dedicated, raw boot > partition (Android style), can only pass a device tree from another raw > "dtb" partition, and will

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi John, On May 13, 2014, at 1:24 PM, John Syn wrote: > > On 5/13/14, 10:51 AM, "Javier Martinez Canillas" > wrote: > >> Hello Pantelis, >> >> On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou >> wrote: >>> Hi Javier, >>> >>> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote:

[PATCH 24/25] x86: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
Override time_t and clock_t in include/uapi/asm-generic. Signed-off-by: Ley Foon Tan --- arch/x86/include/uapi/asm/posix_types_32.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/include/uapi/asm/posix_types_32.h b/arch/x86/include/uapi/asm/posix_types_32.h index

[PATCH] mm: remap_file_pages: grab file ref to prevent race while mmaping

2014-05-13 Thread Sasha Levin
A file reference should be held while a file is mmaped, otherwise it might be freed while being used. Suggested-by: Hugh Dickins Signed-off-by: Sasha Levin --- mm/mmap.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/mmap.c b/mm/mmap.c index 2a0e0a8..da3c212 100644 ---

[PATCH] net: Use a more standard macro for INET_ADDR_COOKIE

2014-05-13 Thread Joe Perches
Missing a colon on definition use is a bit odd so change the macro for the 32 bit case to declare an __attribute__((unused)) and __deprecated variable. The __deprecated attribute will cause gcc to emit an error if the variable is actually used. Signed-off-by: Joe Perches ---

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Alexei Starovoitov
On Tue, May 13, 2014 at 8:17 PM, Steven Rostedt wrote: > On Tue, 13 May 2014 19:55:11 -0700 > Alexei Starovoitov wrote: > >> Tracing filters are parsing user supplied character string and constructing >> a predicate tree. filter_match_preds() was used to walk nodes of the tree to >> simulate

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-05-13 Thread Michael wang
On 05/13/2014 10:23 PM, Peter Zijlstra wrote: [snip] > > The point remains though, don't use massive and awkward software stacks > that are impossible to operate. > > I you want to investigate !spinners, replace the ABC with slightly more > complex loads like: https://lkml.org/lkml/2012/6/18/212

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Alexei Starovoitov
On Tue, May 13, 2014 at 8:07 PM, Steven Rostedt wrote: > On Tue, 13 May 2014 19:55:11 -0700 > Alexei Starovoitov wrote: > >> --- a/kernel/trace/Kconfig >> +++ b/kernel/trace/Kconfig >> @@ -79,6 +79,7 @@ config FTRACE_NMI_ENTER >> default y >> >> config EVENT_TRACING >> + depends on

Re: mm: shmem: NULL ptr deref in shmem_fault

2014-05-13 Thread Sasha Levin
On 05/13/2014 06:20 PM, Hugh Dickins wrote: > I haven't delved into the perf_even_mmap d_path (fs/dcache.c:2947) one, > but the Sys_mremap one on file->f_op->f_unmapped_area sounds like what > we have here: struct file has been freed. > > I believe Al is innocent: I point a quivering finger at...

Re: [PATCH 1/9] perf, tools: Add jsmn `jasmine' JSON parser

2014-05-13 Thread Namhyung Kim
Hi Andi, On Mon, 12 May 2014 15:51:06 -0700, Andi Kleen wrote: > From: Andi Kleen > > I need a JSON parser. This adds the simplest JSON > parser I could find -- Serge Zaitsev's jsmn `jasmine' -- > to the perf library. I merely converted it to (mostly) > Linux style and added support for non 0

[PATCH] dma: pl330: Add support for DMA_PAUSE command

2014-05-13 Thread Tushar Behera
While playing back audio, pmc_dmaengine requests the DMA channel to stop DMA transmission through DMA_PAUSE command. Currently PL330 driver doesn't support DMA pause command, leaving the DMA state inconsistent when the system resumes. Instead, it would be better to terminate the DMA transfer

Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition

2014-05-13 Thread Pantelis Antoniou
Hi Javier, On May 13, 2014, at 10:51 AM, Javier Martinez Canillas wrote: > Hello Pantelis, > > On Tue, May 13, 2014 at 7:07 PM, Pantelis Antoniou > wrote: >> Hi Javier, >> >> On May 13, 2014, at 7:39 AM, Javier Martinez Canillas wrote: >> >>> On Tue, May 13, 2014 at 4:22 PM, Matt Porter

Re: [PATCH v3] gcov: add support for GCC 4.9

2014-05-13 Thread Andi Kleen
"Yuan Pengfei" writes: > This patch handles the gcov-related changes in GCC 4.9: > A new counter (time profile) is added. The total number is 9 now. > A new profile merge function __gcov_merge_time_profile is added. > See gcc/gcov-io.h and libgcc/libgcov-merge.c > For the first change, the

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-05-13 Thread Michael wang
On 05/13/2014 09:36 PM, Rik van Riel wrote: [snip] >> >> echo 2048 > /cgroup/c/cpu.shares >> >> Where [ABC].sh are spinners: > > I suspect the "are spinners" is key. > > Infinite loops can run all the time, while dbench spends a lot of > its time waiting for locks. That waiting may interfere

[PATCH] ASoC: samsung: Add missing pm ops for Snow sound card driver

2014-05-13 Thread Tushar Behera
Adding missing pm ops so that audio playback works across suspend and resume cycle. Signed-off-by: Tushar Behera --- sound/soc/samsung/snow.c |1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c index 0fa89a4..014c177 100644 ---

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Steven Rostedt
On Tue, 13 May 2014 19:55:11 -0700 Alexei Starovoitov wrote: > Tracing filters are parsing user supplied character string and constructing > a predicate tree. filter_match_preds() was used to walk nodes of the tree to > simulate matching of boolean expression. > I applied this on top of

[PATCH] mfd: ipaq-micro: Use devm_ioremap_resource()

2014-05-13 Thread Jingoo Han
Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/mfd/ipaq-micro.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/ipaq-micro.c b/drivers/mfd/ipaq-micro.c

Re: [ISSUE] sched/cgroup: Does cpu-cgroup still works fine nowadays?

2014-05-13 Thread Michael wang
On 05/13/2014 05:47 PM, Peter Zijlstra wrote: > On Tue, May 13, 2014 at 11:34:43AM +0800, Michael wang wrote: >> During our testing, we found that the cpu.shares doesn't work as >> expected, the testing is: >> > > /me zaps all the kvm nonsense as that's non reproducable and only serves > to

Re: [PATCHSET cgroup/for-3.16] cgroup: use css->refcnt for cgroup reference counting

2014-05-13 Thread Li Zefan
On 2014/5/10 5:13, Tejun Heo wrote: > Hello, > > Currently, cgroup and css (cgroup_subsys_state) are separately > reference counted. cgroup->refcnt is an atomic_t and css->refcnt is a > percpu_ref. css is becoming the primary structural block and used > widely in various operaitons. cgroup

Re: [ANNOUNCE] 3.14.3-rt5

2014-05-13 Thread Mike Galbraith
On Tue, 2014-05-13 at 17:40 +0200, Sebastian Andrzej Siewior wrote: > * Mike Galbraith | 2014-05-10 06:15:03 [+0200]: > > >On Fri, 2014-05-09 at 20:12 +0200, Sebastian Andrzej Siewior wrote: > > > >> Known issues: > >> > >> - bcache is disabled. > >> > >> - lazy preempt on x86_64

RE: [PATCH] ARM64: kernel: add compatable cpuinfo

2014-05-13 Thread Neil Zhang
> -Original Message- > From: Neil Zhang [mailto:zhan...@marvell.com] > Sent: 2014年5月14日 11:00 > To: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Cc: catalin.mari...@arm.com; will.dea...@arm.com; Neil Zhang > Subject: [PATCH] ARM64: kernel: add compatable cpuinfo >

[PATCH v2] ARM64: kernel: add compatible cpuinfo

2014-05-13 Thread Neil Zhang
Print the necessary features in order to be backwards compatible with ARMv7 and earlier version. Signed-off-by: Neil Zhang --- arch/arm64/kernel/setup.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 7ec7846..a09ecfe

Re: [PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Steven Rostedt
On Tue, 13 May 2014 19:55:11 -0700 Alexei Starovoitov wrote: > --- a/kernel/trace/Kconfig > +++ b/kernel/trace/Kconfig > @@ -79,6 +79,7 @@ config FTRACE_NMI_ENTER > default y > > config EVENT_TRACING > + depends on NET > select CONTEXT_SWITCH_TRACER > bool > This

[RESEND PATCH V1] regulator: DA9211 : new regulator driver

2014-05-13 Thread James Ban
This is the driver for the Dialog DA9211 Multi-phase 12A DC-DC Buck Converter regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- Please ignore previous patch since it has a bug on two bucks configuration. This patch is relative to linux-next repository tag

perfevents: irq loop stuck!

2014-05-13 Thread Vince Weaver
I've gotten the following warning a few times now with the perf_fuzzer. In each case it looks like the culprit might be the fixed-counter 0 value being fffe I have a somewhat repeatable trace and it looks like the problem event is: pe[32].type=PERF_TYPE_HARDWARE;

[PATCH] ARM64: kernel: add compatable cpuinfo

2014-05-13 Thread Neil Zhang
Print the necessary features in order to be backwards compatable with ARMv7 and earlier version. Signed-off-by: Neil Zhang --- arch/arm64/kernel/setup.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c index 7ec7846..a09ecfe

[PATCH RFC net-next] tracing: accelerate tracing filters with BPF

2014-05-13 Thread Alexei Starovoitov
Tracing filters are parsing user supplied character string and constructing a predicate tree. filter_match_preds() was used to walk nodes of the tree to simulate matching of boolean expression. BPF program obsoletes predicate tree walker. It is generated on the fly out of predicate tree. Tested

Re: Does perf support different length of user-space hw_breakpoint?

2014-05-13 Thread xiakaixu
于 2014/5/13 23:06, Frederic Weisbecker 写道: > On Tue, May 13, 2014 at 02:00:46PM +0200, Jiri Olsa wrote: >> On Mon, May 12, 2014 at 03:52:54PM +0800, xiakaixu wrote: >>> Hi guys, >>> >>> Does perf support different length of user-space hw_breakpoint, >>> such as

Re: [PATCH 1/9] cgroup: use restart_syscall() for mount retries

2014-05-13 Thread Li Zefan
On 2014/5/10 5:13, Tejun Heo wrote: > cgroup_mount() uses dumb delay-and-retry logic to wait for cgroup_root > which is being destroyed. The retry currently loops inside > cgroup_mount() proper. This patch makes it return with > restart_syscall() instead so that retry travels out to userland >

Re: [Patch v4 5/5] mcpm: exynos: populate suspend and powered_up callbacks

2014-05-13 Thread Chander Kashyap
Hi Lorenzo, On 13 May 2014 22:44, Lorenzo Pieralisi wrote: > On Tue, May 13, 2014 at 12:43:31PM +0100, Chander Kashyap wrote: > > [...] > >> >> +static void exynos_suspend(u64 residency) >> >> +{ >> >> + unsigned int mpidr, cpunr; >> >> + >> >> + mpidr = read_cpuid_mpidr(); >> >> +

Filesystem lockup with CONFIG_PREEMPT_RT

2014-05-13 Thread Austin Schuh
Hi, I am observing a filesystem lockup with XFS on a CONFIG_PREEMPT_RT patched kernel. I have currently only triggered it using dpkg. Dave Chinner on the XFS mailing list suggested that it was a rt-kernel workqueue issue as opposed to a XFS problem after looking at the kernel messages. $ uname

RE: [PATCH v4] ARM: perf: save/restore pmu registers in pm notifier

2014-05-13 Thread Neil Zhang
> -Original Message- > From: Will Deacon [mailto:will.dea...@arm.com] > Sent: 2014年5月14日 2:45 > To: Neil Zhang > Cc: Sudeep Holla; 'li...@arm.linux.org.uk'; > 'linux-arm-ker...@lists.infradead.org'; 'linux-kernel@vger.kernel.org'; > 'devicet...@vger.kernel.org' > Subject: Re: [PATCH v4]

Re: [PATCH 00/34] perf and kconfig / kbuild

2014-05-13 Thread David Ahern
On 5/13/14, 4:02 PM, Alexis Berlemont wrote: Hello, A few months ago, I tried to make a proposal to introduce Kconfig in perf's generation procedure. (cf. https://lkml.org/lkml/2013/12/20/511) I started from David Ahern's work; I was not aware that Jiri Olsa pushed further the idea and

HID Sensor support for True/Magnetic North usage attributes

2014-05-13 Thread Reyad Attiyat
Dear IIO/HID maintainers, I have a device, Surface Pro, that has the hid-sensor-hub and many sensors attached. With the help of Srinivas I was able to get them all working except for the magnometer. It uses the hid-magn-3d driver as it should but it does not contain an axis (X, Y, Z) usage

Re: [RFC][PATCH 2/2] ARM: ioremap: Add IO mapping space reused support.

2014-05-13 Thread Richard Lee
On Tue, May 13, 2014 at 4:43 PM, Arnd Bergmann wrote: > On Tuesday 13 May 2014 09:45:08 Richard Lee wrote: >> > On Mon, May 12, 2014 at 3:51 PM, Arnd Bergmann wrote: >> > On Monday 12 May 2014 10:19:55 Richard Lee wrote: >> >> For the IO mapping, for the same physical address space maybe >> >>

Re: [PATCH] pinctrl: add params in disable_setting to differ difference usage

2014-05-13 Thread FanWu
On 05/14/2014 09:54 AM, f...@marvell.com wrote: From: Fan Wu The patch added params in disable_setting to differ the two possible usage, 1.Only want to disable the pin setting in SW aspect, param can be set to "0" 2.Want to disable the pin setting in both HW and SW aspect, param can be set to

Re: [PATCH] gpio: make of_get_named_gpiod_flags() private

2014-05-13 Thread Alexandre Courbot
On Tue, May 13, 2014 at 10:23 PM, Alexandre Courbot wrote: > On Tue, May 13, 2014 at 10:17 PM, Linus Walleij > wrote: >> On Sun, May 4, 2014 at 5:45 AM, Alexandre Courbot >> wrote: >> >>> of_get_named_gpiod_flags() is visible and directly usable by GPIO >>> consumers, but it really should not

[PATCH v2] ARM: tegra: enable joystick in tegra_defconfig

2014-05-13 Thread Alexandre Courbot
NVIDIA SHIELD embeds a USB joystick device. Enable the corresponding support in tegra_defconfig. Signed-off-by: Alexandre Courbot --- Changes since v1: - Have support built-in instead of as a module - Fixed wording in commit message arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1

Re: [PATCH 3.12 000/182] 3.12.20-stable review

2014-05-13 Thread Shuah Khan
On 05/13/2014 03:26 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.20 release. There are 182 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by

[PATCH] pinctrl: add params in disable_setting for different usage

2014-05-13 Thread fwu
From: Fan Wu The patch added params in disable_setting to differ the two possible usage, 1.Only want to disable the pin setting in SW aspect, param can be set to "0" 2.Want to disable the pin setting in both HW and SW aspect, param can be set to "1"; The reason why to do this is that: To avoid

Re: [PATCH] ARM: tegra: enable console framebuffer rotation

2014-05-13 Thread Alexandre Courbot
On 05/14/2014 05:16 AM, Andreas Färber wrote: Am 09.05.2014 17:24, schrieb Stephen Warren: On 05/09/2014 08:20 AM, Andreas Färber wrote: Am 08.05.2014 01:40, schrieb Alex Courbot: On 05/08/2014 12:57 AM, Stephen Warren wrote: On 05/06/2014 09:18 PM, Alexandre Courbot wrote: Console rotation

Re: [PATCH 17/25] parisc: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
On Wed, May 14, 2014 at 4:17 AM, Helge Deller wrote: > Hi Ley, > > On 05/13/2014 11:06 AM, Ley Foon Tan wrote: >> Override time_t and clock_t in include/uapi/asm-generic. >> >> Signed-off-by: Ley Foon Tan >> --- >> arch/parisc/include/uapi/asm/posix_types.h | 8 >> 1 file changed, 8

Re: [PATCH 04/25] avr32: Add 32 bit time_t and clock_t

2014-05-13 Thread Ley Foon Tan
On Wed, May 14, 2014 at 4:19 AM, Hans-Christian Egtvedt wrote: > Around Tue 13 May 2014 17:02:49 +0800 or thereabout, Ley Foon Tan wrote: >> Override time_t and clock_t in include/uapi/asm-generic. >> >> Signed-off-by: Ley Foon Tan > > Acked-by: Hans-Christian Egtvedt > > > Quickly looked over

Re: [PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

2014-05-13 Thread Reyad Attiyat
Here is a sample of the kernel lockdep warning I got after turingon dynamic debugging: https://bugzilla.kernel.org/show_bug.cgi?id=73321#c3 On Tue, May 13, 2014 at 8:03 PM, Reyad Attiyat wrote: > Changes all dyn_callback_lock spinlocks to spinlocks that disable > interrupts. The dynamic

[PATCH] HID: hid-sensor-hub: Add Microsoft Surface Pro 2 HID ID and set report quirk

2014-05-13 Thread Reyad Attiyat
--- drivers/hid/hid-ids.h| 3 +++ drivers/hid/hid-sensor-hub.c | 9 + 2 files changed, 12 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 34bb220..18e2099 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -633,6 +633,9 @@ #define

[ANN] Squashfs tools 4.3 released

2014-05-13 Thread Phillip Lougher
Hi, I'm pleased to announce the release of Squashfs tools 4.3. This is the first release in over 3 years, and there are substantial improvements to stability, new compression options and compressors, speed optimisations, new options for Mksquashfs/Unsquashfs, and fixes for CVE-2012-4024 and

Re: [E1000-devel] [PATCH] e1000: remove the check: skb->len<=0

2014-05-13 Thread 徐永健
The check is not right, it should be "(int)(skb->len) <= 0", or we just remove this check if "skb->len will never be negative or 0". 2014-05-13 22:57 GMT+08:00 Ronciak, John : >> -Original Message- >> From: xuyongjia...@gmail.com [mailto:xuyongjia...@gmail.com] >> Sent: Monday, May 12,

Re: [RESEND v2 PATCH 0/2] Bug fix in aio ring page migration

2014-05-13 Thread Gu Zheng
Hi Greg, Thanks for your attention on this thread. On 05/14/2014 07:58 AM, Greg Kroah-Hartman wrote: > On Thu, Mar 13, 2014 at 05:45:42PM +0800, Gu Zheng wrote: >> This patchset has been applied to linux-next, and these problems also exist >> in 3.12.y and 3.13.y stable tree. >> So please merge

kernel crash in bus_find_device

2014-05-13 Thread Francesco Ruggeri
While scanning devices on pci_bus_type I ran into the crash below. The immediate cause of the crash is that bus_find_device is trying to resume a scan starting from a device that has been unregistered (and whose knode_bus has already been klist_del' ed). The main issue seems to be that when

Re: [PATCH] HID: hid-sensor-hub: Add and set report quirk for Microsoft Surface Pro 2

2014-05-13 Thread Reyad Attiyat
Ignore this patch I'll have to resend On Tue, May 13, 2014 at 7:53 PM, Reyad Attiyat wrote: > --- > drivers/hid/hid-ids.h| 3 +++ > drivers/hid/hid-sensor-hub.c | 8 > 2 files changed, 11 insertions(+) > > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h > index

[PATCH] HID: hid-sensor-hub: Fix lockdep warning for dynamic callback locks.

2014-05-13 Thread Reyad Attiyat
Changes all dyn_callback_lock spinlocks to spinlocks that disable interrupts. The dynamic callback lock (dyn_callback_lock) must not be interrupted when locked as it is used in an interrupt handler function, sensor_hub_raw_event. --- drivers/hid/hid-sensor-hub.c | 31

[PATCH] HID: Debug: Add labels for HID Sensor Usages

2014-05-13 Thread Reyad Attiyat
--- drivers/hid/hid-debug.c | 79 + 1 file changed, 79 insertions(+) diff --git a/drivers/hid/hid-debug.c b/drivers/hid/hid-debug.c index 53b771d..25cc71c 100644 --- a/drivers/hid/hid-debug.c +++ b/drivers/hid/hid-debug.c @@ -272,6 +272,85 @@

[PATCH] HID: hid-sensor-hub: Add and set report quirk for Microsoft Surface Pro 2

2014-05-13 Thread Reyad Attiyat
--- drivers/hid/hid-ids.h| 3 +++ drivers/hid/hid-sensor-hub.c | 8 2 files changed, 11 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index 34bb220..18e2099 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h @@ -633,6 +633,9 @@ #define

Re: [PATCH v3 5/7] clk: sunxi: add PRCM (Power/Reset/Clock Management) clks support

2014-05-13 Thread Mike Turquette
Quoting Boris BREZILLON (2014-05-09 04:11:49) > +struct clk_ops ar100_ops = { > + .recalc_rate = ar100_recalc_rate, > + .determine_rate = ar100_determine_rate, > + .set_parent = ar100_set_parent, > + .get_parent = ar100_get_parent, > + .set_rate = ar100_set_rate, >

Re: [PATCH net] bridge: notify user space of fdb port change

2014-05-13 Thread Toshiaki Makita
(2014/05/13 16:55), Jon Maxwell wrote: > From: Jon Maxwell > > There has been a number incidents recently where customers running KVM have > reported that VM hosts on different Hypervisors are unreachable. Based on > pcap traces we found that the bridge was broadcasting the ARP request out >

[PATCH tip/core/rcu 1/1] rcu: Variable name changed in tree_plugin.h and used in tree.c

2014-05-13 Thread Paul E. McKenney
From: Uma Sharma The variable and struct both having the name "rcu_state" confuses sparse in some situations, so this commit changes the variable to "rcu_state_p" in order to avoid this confusion. This also makes things easier for human readers. Signed-off-by: Uma Sharma [ paulmck: Changed

Re: [PATCH v2 4/7] drivers/base: Add interface framework

2014-05-13 Thread Greg Kroah-Hartman
On Tue, May 13, 2014 at 07:57:13PM +0200, Daniel Vetter wrote: > On Tue, May 13, 2014 at 05:30:47PM +0200, Thierry Reding wrote: > > From: Thierry Reding > > > > Some drivers, such as graphics drivers in the DRM subsystem, do not have > > a real device that they can bind to. They are often

Re: [patch 1/3] rtmutex: Add missing deadlock check

2014-05-13 Thread Paul E. McKenney
On Tue, May 13, 2014 at 07:53:36PM -0400, Steven Rostedt wrote: > On Tue, 13 May 2014 16:27:11 -0700 > "Paul E. McKenney" wrote: > > > On Tue, May 13, 2014 at 06:44:30PM -0400, Steven Rostedt wrote: > > > On Tue, 13 May 2014 15:00:09 -0700 > > > "Paul E. McKenney" wrote: > > > > > > > > > >

[PATCH v3] gcov: add support for GCC 4.9

2014-05-13 Thread Yuan Pengfei
From: Yuan Pengfei This patch handles the gcov-related changes in GCC 4.9: A new counter (time profile) is added. The total number is 9 now. A new profile merge function __gcov_merge_time_profile is added. See gcc/gcov-io.h and libgcc/libgcov-merge.c For the first change, the layout of

[PATCH] sched,numa: move processes with load difference

2014-05-13 Thread Rik van Riel
Currently the numa balancing code refuses to move a task from a heavily loaded node to a much less heavily loaded node, if the difference in load between them is large enough. If the source load is larger than the destination load after the swap, moving the task is fine. Chances are the load

[PATCH] Documentation/dma-buf-sharing.txt: update API descriptions

2014-05-13 Thread Gioh Kim
Update some descriptions for API arguments and descriptions. Signed-off-by: Gioh Kim --- Documentation/dma-buf-sharing.txt | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Documentation/dma-buf-sharing.txt b/Documentation/dma-buf-sharing.txt index

Re: [RESEND v2 PATCH 0/2] Bug fix in aio ring page migration

2014-05-13 Thread Greg Kroah-Hartman
On Thu, Mar 13, 2014 at 05:45:42PM +0800, Gu Zheng wrote: > This patchset has been applied to linux-next, and these problems also exist > in 3.12.y and 3.13.y stable tree. > So please merge this patchset to 3.12.y and 3.13.y stable tree. > > commit 692c9b8c5ee8d263bb8348171f0bebd3d84eb2c1 >

Re: [patch 1/3] rtmutex: Add missing deadlock check

2014-05-13 Thread Steven Rostedt
On Tue, 13 May 2014 16:27:11 -0700 "Paul E. McKenney" wrote: > On Tue, May 13, 2014 at 06:44:30PM -0400, Steven Rostedt wrote: > > On Tue, 13 May 2014 15:00:09 -0700 > > "Paul E. McKenney" wrote: > > > > > > > Good points -- I was indeed thinking about stress testing instead of > > >

RE: [PATCH] Documentation/dma-buf-sharing.txt: update API descriptions

2014-05-13 Thread Gioh Kim
Thank you for advice. I will send a fixed patch soon. > -Original Message- > From: Thierry Reding [mailto:thierry.red...@gmail.com] > Sent: Tuesday, May 13, 2014 5:45 PM > To: gioh.kim > Cc: Sumit Semwal; Randy Dunlap; linux-me...@vger.kernel.org; > dri-de...@lists.freedesktop.org;

Re: [PATCH -stable] x86,preempt: Fix preemption for i386

2014-05-13 Thread Greg KH
On Wed, Apr 09, 2014 at 09:38:45PM +0200, Peter Zijlstra wrote: > On Wed, Apr 09, 2014 at 12:19:31PM -0700, Greg KH wrote: > > On Wed, Apr 09, 2014 at 07:36:23AM -0700, Linus Torvalds wrote: > > > On Wed, Apr 9, 2014 at 7:24 AM, Peter Zijlstra > > > wrote: > > > > > > > > I'm not entirely clear

  1   2   3   4   5   6   7   8   9   10   >