[PATCH 04/13] tracing/kprobes: Add fetch{,_size} member into deref fetch method

2013-10-28 Thread Namhyung Kim
From: Hyeoncheol Lee The deref fetch methods access a memory region but it assumes that it's a kernel memory since uprobes does not support them. Add ->fetch and ->fetch_size member in order to provide a proper access methods for supporting uprobes. Acked-by: Masami Hiramatsu Cc: Srikar Dronam

[PATCH 03/13] tracing/kprobes: Move fetch functions to trace_kprobe.c

2013-10-28 Thread Namhyung Kim
From: Hyeoncheol Lee Move kprobes-specific fetch functions to the trace_kprobe.c file. Also define kprobes_fetch_type_table in the .c file. This table is shared with uprobes for now, but the uprobes will get its own table in the later patch. This is a preparation for supporting more fetch funct

[PATCH 05/13] tracing/kprobes: Staticize stack and memory fetch functions

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim Those fetch functions need to be implemented differently for kprobes and uprobes. Since the deref fetch functions don't call those directly anymore, we can make them static and implement them separately. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc

[PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v6)

2013-10-28 Thread Namhyung Kim
Hello, This patchset implements memory (address), stack[N], deference, bitfield and retval (it needs uretprobe tho) fetch methods for uprobes. It's based on the previous work [1] done by Hyeoncheol Lee. Now kprobes and uprobes have their own fetch_type_tables and, in turn, memory and stack acces

[PATCH 07/13] tracing/uprobes: Convert to struct trace_probe

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim Convert struct trace_uprobe to make use of the common trace_probe structure. Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/trace_uprobe.c | 151 +

[PATCH 06/13] tracing/kprobes: Factor out struct trace_probe

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim There are functions that can be shared to both of kprobes and uprobes. Separate common data structure to struct trace_probe and use it from the shared functions. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de M

[PATCH 09/13] tracing/kprobes: Integrate duplicate set_print_fmt()

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim The set_print_fmt() functions are implemented almost same for [ku]probes. Move it to a common place and get rid of the duplication. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung

[PATCH 01/13] tracing/uprobes: Fix documentation of uprobe registration syntax

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim The uprobe syntax requires an offset after a file path not a symbol. Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- Documentation/trace/uprobetracer.txt | 10 +

[PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim Fetching from user space should be done in a non-atomic context. So use a per-cpu buffer and copy its content to the ring buffer atomically. Note that we can migrate during accessing user memory thus use a per-cpu mutex to protect concurrent accesses. This is needed since we

[PATCH 08/13] tracing/kprobes: Move common functions to trace_probe.h

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim The __get_data_size() and store_trace_args() will be used by uprobes too. Move them to a common location. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/tra

[PATCH 11/13] tracing/kprobes: Add priv argument to fetch functions

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim This argument is for passing private data structure to each fetch function and will be used by uprobes. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/trace_

[PATCH 13/13] tracing/uprobes: Add support for full argument access methods

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim Enable to fetch other types of argument for the uprobes. IOW, we can access stack, memory, deref, bitfield and retval from uprobes now. The format for the argument types are same as kprobes (but @SYMBOL type is not supported for uprobes), i.e: @ADDR : Fetch memory at ADD

[PATCH 2/2] f2fs: add an option to avoid unnecessary BUG_ONs

2013-10-28 Thread Jaegeuk Kim
If you want to remove unnecessary BUG_ONs, you can just turn off F2FS_CHECK_FS in your kernel config. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 10 +- fs/f2fs/data.c | 4 ++-- fs/f2fs/dir.c| 2 +- fs/f2fs/f2fs.h | 22 ++ fs/f2fs/file.

[PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim Implement uprobe-specific stack and memory fetch functions and add them to the uprobes_fetch_type_table. Other fetch fucntions will be shared with kprobes. Original-patch-by: Hyeoncheol Lee Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei

[PATCH 1/2] f2fs: introduce CONFIG_F2FS_CHECK_FS for BUG_ON control

2013-10-28 Thread Jaegeuk Kim
This config will support an option to remove so many BUG_ONs that degrade the performance potentially. Signed-off-by: Jaegeuk Kim --- fs/f2fs/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/fs/f2fs/Kconfig b/fs/f2fs/Kconfig index e06e099..214fe10 100644 --- a/fs/f2fs/Kconfig

[PATCH 02/13] tracing/probes: Fix basic print type functions

2013-10-28 Thread Namhyung Kim
From: Namhyung Kim The print format of s32 type was "ld" and it's casted to "long". So it turned out to print 4294967295 for "-1" on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it'd be better if we have exact format and type cast for each types on both of 32- and

[PATCH 2/3] rcar-hpbdma: initialise plane information when halted

2013-10-28 Thread Kuninori Morimoto
Plane information should be initialized when halted. It may restart from the wrong plane without this patch. Reviewed-by: Max Filippov Signed-off-by: Kuninori Morimoto --- drivers/dma/sh/rcar-hpbdma.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drive

[PATCH 1/3] rcar-hpbdma: add max transfer size

2013-10-28 Thread Kuninori Morimoto
shdma_chan_probe() can set max transfer size, but it will be PAGE_SIZE with out this patch. Reviewed-by: Max Filippov Signed-off-by: Kuninori Morimoto --- drivers/dma/sh/rcar-hpbdma.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma/sh/rcar-hpbdma.c b/drivers/dma/sh/rcar-hpb

[PATCH 3/3] rcar-hpbdma: fixup channel busy check for double plane

2013-10-28 Thread Kuninori Morimoto
The device busy check method is different between single and double planes. It will always return "busy" without this patch if channel used as double plane. Reviewed-by: Max Filippov Signed-off-by: Kuninori Morimoto --- drivers/dma/sh/rcar-hpbdma.c |6 +- 1 file changed, 5 insertions(+)

[f2fs-dev] [PATCH V2 RESEND] f2fs: check all ones or zeros bitmap with bitops for better mount performance

2013-10-28 Thread Chao Yu
Previously, check_block_count check valid_map with bit data type in common scenario that sit has all ones or zeros bitmap, it makes low mount performance. So let's check the special bitmap with integer data type instead of the bit one. v1-->v2: use find_next_{zero_}bit_le for better performan

[PATCH 0/3] rcar-hpbdma: fixup patches for double plane

2013-10-28 Thread Kuninori Morimoto
Hi Vinod Cc: Simon, Max These patches fixup R-Car HBPDMA driver for double plane. I tested these patches on my R-Car sound driver in local environment. It doesn't work without these patches. Kuninori Morimoto (3): rcar-hpbdma: add max transfer size rcar-hpbdma: initialise plane info

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-28 Thread Dave Young
> /* > * This function will switch the EFI runtime services to virtual mode. > * Essentially, look through the EFI memmap and map every region that > @@ -862,10 +906,10 @@ void efi_memory_uc(u64 addr, unsigned long size) > void __init efi_enter_virtual_mode(void) Boris, could you update the

Re: [PATCH] mm: cma: free cma page to buddy instead of being cpu hot page

2013-10-28 Thread KOSAKI Motohiro
> The concern is likely/unlikely usage is proper in this code peice. > If we don't use memory isolation, the code path is used for only > MIGRATE_RESERVE which is very rare allocation in normal workload. > > Even, in memory isolation environement, I'm not sure how many > CMA/HOTPLUG is used compar

RE: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 29, 2013 10:25 AM > To: Bhushan Bharat-R65777 > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > christoffer.d...@linaro.org; linux-kernel@vger.kernel.org; > a.mota...@virtualopensystems.co

Re: [PATCH v4] watchdog: w83627hf: Convert to watchdog infrastructure

2013-10-28 Thread Wim Van Sebroeck
Hi Guenter, > > Signed-off-by: Guenter Roeck > --- > v4: Restore 'nowayout' module parameter > > The changes cause a trivial conflict with 'watchdog: w83627hf: Auto-detect > IO address and supported chips'. Please let me know if I should re-send > the entire series. Let me review the other pat

linux-next: manual merge of the tip tree with the pci tree

2013-10-28 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in include/linux/acpi.h between commit c8678473609b ("ACPI: Tidy acpi_run_osc () declarations") from the pci tree and commit 4b3db708b114 ("ACPI, x86: Extended error log driver for x86 platform") from the tip tree. I fixed it up (see

Re: [PATCH 2/2] dmaengine: msm_bam_dma: Add device tree binding

2013-10-28 Thread Stephen Boyd
On 10/25, Andy Gross wrote: > diff --git a/Documentation/devicetree/bindings/dma/msm_bam_dma.txt > b/Documentation/devicetree/bindings/dma/msm_bam_dma.txt > new file mode 100644 > index 000..fe3ed8f > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/msm_bam_dma.txt > @@ -0,0 +1,49 @

[f2fs-dev] [PATCH] f2fs: fix calculating incorrect free size when update xattr in __f2fs_setxattr

2013-10-28 Thread Chao Yu
During xattr updating, free size should be corrected to remainder free size + old entry size. It can avoid ENOSPC error when we update old entry with the same size new entry at fully filled xattr. Signed-off-by: Chao Yu --- fs/f2fs/xattr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2] arch: use ASM_NL instead of ';' for assembler new line character in the macro

2013-10-28 Thread Chen Gang
On 10/29/2013 01:55 PM, Vineet Gupta wrote: > On 10/29/2013 07:21 AM, Chen Gang wrote: >> For some assemblers, they use another character as newline in a macro >> (e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a >> macro) instead of ';' for it. >> >> Also need notice about code

Re: [PATCH] ARM: Support arch_irq_work_raise() via self IPIs

2013-10-28 Thread Stephen Boyd
On 10/28, Kevin Hilman wrote: > Stephen Boyd writes: > > > This will allow the scheduler tick to be restarted if we're in > > full NOHZ mode. > > > > Cc: Kevin Hilman > > Cc: Frederic Weisbecker > > Signed-off-by: Stephen Boyd > > Minor nit, but I'd prefer a more verbose changelog (I forget t

Re: linux-next: build failure after merge of the tip tree

2013-10-28 Thread Stephen Rothwell
Hi Ingo, On Mon, 28 Oct 2013 11:26:04 +0100 Ingo Molnar wrote: > > * Thierry Reding wrote: > > > On Mon, Oct 28, 2013 at 08:24:42PM +1100, Stephen Rothwell wrote: > > > > > > After merging the tip tree, today's linux-next build (powerpc > > > ppc64_defconfig) failed like this: > > > > > > In

Re: [PATCH 02/12] clocksource: sh_mtu2: Add clk_prepare/unprepare support

2013-10-28 Thread Simon Horman
On Mon, Oct 28, 2013 at 11:49:19PM +0100, Laurent Pinchart wrote: > Prepare the clock at probe time, as there is no other appropriate place > in the driver where we're allowed to sleep. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart > --- > drivers/c

Re: [PATCH 03/12] clocksource: sh_tmu: Add clk_prepare/unprepare support

2013-10-28 Thread Simon Horman
On Mon, Oct 28, 2013 at 11:49:20PM +0100, Laurent Pinchart wrote: > Prepare the clock at probe time, as there is no other appropriate place > in the driver where we're allowed to sleep. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart > --- > drivers/c

Re: [PATCH 01/12] clocksource: sh_cmt: Add clk_prepare/unprepare support

2013-10-28 Thread Simon Horman
On Mon, Oct 28, 2013 at 11:49:18PM +0100, Laurent Pinchart wrote: > Prepare the clock at probe time, as there is no other appropriate place > in the driver where we're allowed to sleep. > > Cc: Daniel Lezcano > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Laurent Pinchart Thanks Laurent,

Re: [PATCH v2] arch: use ASM_NL instead of ';' for assembler new line character in the macro

2013-10-28 Thread Vineet Gupta
On 10/29/2013 07:21 AM, Chen Gang wrote: > For some assemblers, they use another character as newline in a macro > (e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a > macro) instead of ';' for it. > > Also need notice about code styles ('\t' for each line). > > > Signed-off-b

Re: [PATCH v3 01/10] of: Add empty for_each_available_child_of_node() macro definition

2013-10-28 Thread Rob Herring
On Mon, Oct 28, 2013 at 1:12 PM, Josh Cartwright wrote: > From: Sylwester Nawrocki > > Add this empty macro definition so users can be compiled without > excluding this macro call with preprocessor directives when CONFIG_OF > is disabled. > > Signed-off-by: Sylwester Nawrocki > Signed-off-by: Ky

Re: [PATCH] ACPI: remove unused ACPI_PROCFS Kconfig param

2013-10-28 Thread Lan Tianyu
2013/10/28 Paul Bolle : > On Mon, 2013-10-28 at 07:22 +0100, Michael Opdenacker wrote: >> [...] CONFIG_ACPI_PROCFS is no longer used anywhere, neither in >> Makefiles nor in the source code. ACPI_PROCFS isn't event used in >> Kconfig files as an intermediate dependency. >> >> What I deduce from tha

Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-28 Thread Namhyung Kim
Hi Ingo, On Sat, 26 Oct 2013 11:50:23 +0200, Ingo Molnar wrote: > * Srikar Dronamraju wrote: > >> Hi Pekka, >> >> > > >> > > You can now use it in all perf tools, such as: >> > > >> > > perf record -e libc:my_event -aR sleep 1 >> > >> > Is there a technical reason why 'perf list' could not

Re: [PATCH 3/3] sched: Aggressive balance in domains whose groups share package resources

2013-10-28 Thread Preeti U Murthy
Hi Peter, On 10/28/2013 09:23 PM, Peter Zijlstra wrote: > On Mon, Oct 21, 2013 at 05:15:02PM +0530, Vaidyanathan Srinivasan wrote: >> From: Preeti U Murthy >> >> The current logic in load balance is such that after picking the >> busiest group, the load is attempted to be moved from the busiest c

Re: [patch 5/6] export efi runtime memory mapping to sysfs

2013-10-28 Thread Dave Young
On 10/27/13 at 11:47am, Dave Young wrote: > kexec kernel will need exactly same mapping for > efi runtime memory ranges. Thus here export the > runtime ranges mapping to sysfs, kexec-tools > will assemble them and pass to 2nd kernel via > setup_data. > > Introducing a new directly /sys/firmware/ef

Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-28 Thread Namhyung Kim
Hi Masami, On Tue, 29 Oct 2013 12:19:37 +0900, Masami Hiramatsu wrote: > (2013/10/29 2:48), Pekka Enberg wrote: >> For the 32-bit and 64-bit libc case, why cannot 'perf list' >> by default print out something like: >> >> $ perf list >> >>libc:setjmp [SDT marker group] >> >> and provide a '-

Re: State of "perf: Add a new sort order: SORT_INCLUSIVE"

2013-10-28 Thread Namhyung Kim
On Mon, 28 Oct 2013 21:10:38 -0700, Arun Sharma wrote: > On 10/28/13 8:11 PM, Namhyung Kim wrote: > > Hey Namhyung: > >>> >>> Also, what's the reasoning for --cumulate not being an option under >>> perf record -g ..,? >> >> Sorry, I cannot understand you. The 'perf record' just saves sample >> dat

Re: [PATCH 1/4] perf tools: Split -g and --call-graph for record command

2013-10-28 Thread Namhyung Kim
On Mon, 28 Oct 2013 12:20:53 -0600, David Ahern wrote: > On 10/28/13 11:46 AM, Arnaldo Carvalho de Melo wrote: >> Added this: >> >> --call-graph:: >> Setup and enable call-graph (stack chain/backtrace) recording, >> implies -g. >> >> Allows specifying "fp" (frame pointer)

Re: [PATCH 4/6] edac: Document Krait L1/L2 EDAC driver binding

2013-10-28 Thread Stephen Boyd
On 10/28, Mark Rutland wrote: > On Tue, Oct 29, 2013 at 12:31:28AM +, Stephen Boyd wrote: > > + > > +Optional properties: > > +- interrupt-names: Should contain the interrupt names "l1_irq" and > > + "l2_irq" > > As with my comment on the parsing code, I'd prefer that if interrupt-names was >

Re: [PATCH 3/6] ARM: Add Krait L2 accessor functions

2013-10-28 Thread Stephen Boyd
On 10/28, Mark Rutland wrote: > On Tue, Oct 29, 2013 at 01:21:57AM +, Stephen Boyd wrote: > > On 10/28/13 18:19, Mark Rutland wrote: > > > It might be worth commmenting inline as to what register each of these is > > > accessing. Inevitably the commit message will become harder to find and > >

Re: [PATCH 1/7] power_supply: Add charger control properties

2013-10-28 Thread NeilBrown
On Sun, 27 Oct 2013 23:18:08 -0700 Anton Vorontsov wrote: > On Mon, Oct 28, 2013 at 03:36:36AM +, Tc, Jenny wrote: > > > But do we really want to control the chargers through the power_supply's > > > user-visible > > > interface? It makes the whole power supply thing so complicated that I'm

Re: [PATCH] mm: cma: free cma page to buddy instead of being cpu hot page

2013-10-28 Thread Minchan Kim
Hello, On Mon, Oct 28, 2013 at 07:42:49PM +0800, zhang.ming...@linaro.org wrote: > From: Mingjun Zhang > > free_contig_range frees cma pages one by one and MIGRATE_CMA pages will be > used as MIGRATE_MOVEABLE pages in the pcp list, it causes unnecessary > migration action when these pages reused

Re: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Scott Wood
On Mon, 2013-10-28 at 23:45 -0500, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, October 29, 2013 10:05 AM > > To: Bhushan Bharat-R65777 > > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > > christoffer.d..

RE: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 29, 2013 10:05 AM > To: Bhushan Bharat-R65777 > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > christoffer.d...@linaro.org; linux-kernel@vger.kernel.org; > a.mota...@virtualopensystems.co

Re: [PATCH v9 01/18] arm: make SWIOTLB available

2013-10-28 Thread Stefano Stabellini
ping? On Fri, 25 Oct 2013, Stefano Stabellini wrote: > Russell, > this is the only patch that needs an ack at the moment. > As you commented on it before and I have already addressed your comments > few versions ago, unless you have any complaints I am going to add it to > linux-next and I am thin

Re: [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework

2013-10-28 Thread Simon Horman
On Wed, Oct 09, 2013 at 07:39:18PM +0900, Simon Horman wrote: > On Wed, Oct 09, 2013 at 04:29:56PM +0900, Magnus Damm wrote: > > Hi Simon, > > > > On Wed, Oct 9, 2013 at 3:54 PM, Simon Horman wrote: > > > On Wed, Oct 09, 2013 at 01:59:46PM +0900, Magnus Damm wrote: > > >> Hi Simon, > > >> > > >>

Re: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Scott Wood
On Mon, 2013-10-28 at 23:31 -0500, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, October 29, 2013 10:00 AM > > To: Bhushan Bharat-R65777 > > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > > christoffer.d..

Re: [PATCH v2] ARM: SMMU: add devices attached to the SMMU to an IOMMU group

2013-10-28 Thread Will Deacon
On Mon, Oct 28, 2013 at 04:44:22PM +, Alex Williamson wrote: > On Fri, 2013-10-18 at 17:08 +0200, Antonios Motakis wrote: > > IOMMU groups are expected by certain users of the IOMMU API, > > e.g. VFIO. Add new devices found by the SMMU driver to an IOMMU > > group to satisfy those users. > > >

Re: State of "perf: Add a new sort order: SORT_INCLUSIVE"

2013-10-28 Thread Arun Sharma
On 10/28/13 8:11 PM, Namhyung Kim wrote: Hey Namhyung: Also, what's the reasoning for --cumulate not being an option under perf record -g ..,? Sorry, I cannot understand you. The 'perf record' just saves sample data (and callchains) from the ring-buffer. All the processing happens in 'perf

RE: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 29, 2013 10:00 AM > To: Bhushan Bharat-R65777 > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > christoffer.d...@linaro.org; linux-kernel@vger.kernel.org; > a.mota...@virtualopensystems.co

Re: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Scott Wood
On Mon, 2013-10-28 at 22:52 -0500, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, October 29, 2013 9:11 AM > > To: Bhushan Bharat-R65777 > > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > > christoffer.d...

Re: perf: PERF_EVENT_IOC_PERIOD on ARM vs everywhere else

2013-10-28 Thread Will Deacon
On Mon, Oct 28, 2013 at 02:07:48PM +, Vince Weaver wrote: > It's also a shame this change apprently didn't hit the linux-kernel list > as far as I can tell. I do my best to try to note all of the perf > ABI-related changes there, but if things like this are going to start > getting merged i

Re: [PATCH 0/5] r8152 bug fixes

2013-10-28 Thread David Miller
From: Hayes Wang Date: Mon, 28 Oct 2013 19:58:09 +0800 > These could fix some driver issues. > > Hayes Wang (5): > net/usb/r8152: fix tx/rx memory overflow > net/usb/r8152: make sure the tx checksum setting is correct > net/usb/r8152: modify the tx flow > net/usb/r8152: fix incorrect typ

Re: [PATCH v2 2/3] net, datagram: fix the incorrect comment in zerocopy_sg_from_iovec()

2013-10-28 Thread David Miller
From: Zhi Yong Wu Date: Mon, 28 Oct 2013 14:01:49 +0800 > From: Zhi Yong Wu > > Signed-off-by: Zhi Yong Wu Applied to net-next. -- 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.

Re: [PATCH v2 3/3] net, iovec: fix the incorrect comment in memcpy_fromiovecend()

2013-10-28 Thread David Miller
From: Zhi Yong Wu Date: Mon, 28 Oct 2013 14:01:50 +0800 > From: Zhi Yong Wu > > Signed-off-by: Zhi Yong Wu Applied to net-next -- 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.k

Re: [PATCH v2 1/3] vxlan: silence one build warning

2013-10-28 Thread David Miller
From: Zhi Yong Wu Date: Mon, 28 Oct 2013 14:01:48 +0800 > From: Zhi Yong Wu > > drivers/net/vxlan.c: In function ‘vxlan_sock_add’: > drivers/net/vxlan.c:2298:11: warning: ‘sock’ may be used uninitialized in > this function [-Wmaybe-uninitialized] > drivers/net/vxlan.c:2275:17: note: ‘sock’ was

Re: [PATCH] net, mc: fix the incorrect comments in two mc-related functions

2013-10-28 Thread David Miller
From: Zhi Yong Wu Date: Mon, 28 Oct 2013 16:15:50 +0800 > From: Zhi Yong Wu > > Signed-off-by: Zhi Yong Wu Applied to net-next. -- 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.

Re: [BUG] 3.12.0-rcX IPv6 panic

2013-10-28 Thread Bob Tracy
On Mon, Oct 21, 2013 at 06:40:41PM -0500, Bob Tracy wrote: > On Mon, Oct 21, 2013 at 05:52:52PM +0200, Hannes Frederic Sowa wrote: > > On Mon, Oct 21, 2013 at 08:18:46AM -0500, Bob Tracy wrote: > > > Actually, a regression: the 3.11 kernel is rock-solid stable on my > > > Alpha. > > > > > > Beginn

[PATCH 04/11 V2] Staging: bcm: Replaces UCHAR with u8 in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replace "UCHAR" with "u8" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 82 - 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index

[PATCH 00/11 V2] Staging: bcm: Cleanup Adapter.h

2013-10-28 Thread Kevin McKinney
These patches fix several issues in Adapter.h Kevin McKinney (11): Staging: bcm: Fix WARNING: space prohibited before semicolon. Staging: bcm: Remove typedef for _U_IP_ADDRESS and call directly. Staging: bcm: Replace USHORT with unsigned short in Adapter.h Staging: bcm: Replaces UCHAR with

[PATCH 02/11 V2] Staging: bcm: Remove typedef for _U_IP_ADDRESS and call directly.

2013-10-28 Thread Kevin McKinney
This patch removes typedef for _U_IP_ADDRESS, and changes the name of the struct to bcm_ip_address. In addition, any calls to struct "U_IP_ADDRESS" are changed to call directly. Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h |8 1 file changed, 4 insertions(+), 4 de

[PATCH 09/11 V2] Staging: bcm: Replace UINT with unsigned int in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "UINT" with "unsigned int" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 84 - 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapte

[PATCH 10/11 V2] Staging: bcm: Replace PVOID with void * in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "PVOID" with "void *" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index 32343e3..7055b

[PATCH 07/11 V2] Staging: bcm: Replace B_UINT8 with u8 in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "B_UINT8" with "u8" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index 01788d3..f7620ab 100644 --- a/dr

RE: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, October 29, 2013 9:11 AM > To: Bhushan Bharat-R65777 > Cc: Wood Scott-B07421; Alex Williamson; Kim Phillips; Yoder Stuart-B08248; > christoffer.d...@linaro.org; linux-kernel@vger.kernel.org; > a.mota...@virtualopensystems.com

[PATCH 08/11 V2] Staging: bcm: Replace UINT32 with u32 in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "UINT32" with "u32" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index f7620ab..35f480a 100644 --- a/

[PATCH 06/11 V2] Staging: bcm: Replace B_UINT16 with u16 in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "B_UINT16" with "u16" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index a5dab86..01788d3 100644 --- a/driv

[PATCH 11/11 V2] Staging: bcm: Replace LARGE_INTEGER with u64 in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "LARGE_INTEGER" with "u64" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index 7055b83..c373bc0 100644 --- a

[PATCH 05/11 V2] Staging: bcm: Replace ULONG with unsigned long or u32 in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "ULONG" with "unsigned long", or "u32" for ipv4 addresses, in Adapter.h. For ipv4 addresses, all formating is change to match u32 definition. Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 42 - drivers/staging/bcm/

[PATCH 01/11 V2] Staging: bcm: Fix WARNING: space prohibited before semicolon.

2013-10-28 Thread Kevin McKinney
This patch removes a space before semicolon as specified by checkpatch.pl. Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h index d6c9630..11fd7f1 1

[PATCH 03/11 V2] Staging: bcm: Replace USHORT with unsigned short in Adapter.h

2013-10-28 Thread Kevin McKinney
This patch replaces "USHORT" with "unsigned short" in Adapter.h Signed-off-by: Kevin McKinney --- drivers/staging/bcm/Adapter.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h i

[PATCH] pinctrl: remove minor dead code

2013-10-28 Thread Michael Opdenacker
This removes a test whether the 'desc' variable is NULL. This possibility has already been eliminated by the below test earlier in the loop: if (desc == NULL) { dev_warn(pctldev->dev, "could not get pin desc for pin %d\n",

[PATCH] vexpress: remove declaration of vexpress_clk_of_init()

2013-10-28 Thread Kefeng Wang
After commit:6e973d2c(clk: vexpress: Add separate SP810 driver), vexpress_clk_of_init() is unnecessary and removed, so kill it. Signed-off-by: Kefeng Wang --- include/linux/vexpress.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/linux/vexpress.h b/include/linux/vexpress.h index 617

RE: [RFC][PATCHv5 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-10-28 Thread Xiubo Li-B47053
> > This adds the Document for Freescale FTM PWM driver under > > Documentation/devicetree/bindings/pwm/. > > > > Signed-off-by: Xiubo Li > > --- > > .../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 34 > ++ > > 1 file changed, 34 insertions(+) > > create mode 100644 > > Doc

Re: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Scott Wood
On Mon, 2013-10-28 at 22:38 -0500, Bhushan Bharat-R65777 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Monday, October 28, 2013 11:40 PM > > To: Alex Williamson > > Cc: Kim Phillips; Bhushan Bharat-R65777; Wood Scott-B07421; Yoder > > Stuart-B08248; > > christoffer

RE: [PATCH 3/4] VFIO: pci: amend vfio-pci for explicit binding via sysfs only

2013-10-28 Thread Bhushan Bharat-R65777
> -Original Message- > From: Wood Scott-B07421 > Sent: Monday, October 28, 2013 11:40 PM > To: Alex Williamson > Cc: Kim Phillips; Bhushan Bharat-R65777; Wood Scott-B07421; Yoder > Stuart-B08248; > christoffer.d...@linaro.org; linux-kernel@vger.kernel.org; > a.mota...@virtualopensystems.

Re: [PATCH 1/3] sched: Fix nohz_kick_needed to consider the nr_busy of the parent domain's group

2013-10-28 Thread Preeti U Murthy
Hi Peter, On 10/28/2013 07:20 PM, Peter Zijlstra wrote: > On Thu, Oct 24, 2013 at 01:37:38PM +0530, Preeti U Murthy wrote: >> kernel/sched/core.c |5 + >> kernel/sched/fair.c | 38 -- >> kernel/sched/sched.h |1 + >> 3 files changed, 26 insertio

Re: [3.11.4] Thunderbolt/PCI unplug oops in pci_pme_list_scan

2013-10-28 Thread Bjorn Helgaas
On Wed, Oct 16, 2013 at 2:21 PM, Bjorn Helgaas wrote: > On Tue, Oct 15, 2013 at 03:44:52AM +0100, Matthew Garrett wrote: >> On Mon, Oct 14, 2013 at 05:50:38PM -0600, Bjorn Helgaas wrote: >> > [+cc Rafael, Mika, Kirill, linux-pci] >> > >> > On Mon, Oct 14, 2013 at 4:47 PM, Andreas Noever >> > wrot

[PATCH] net/cdc_ncm: fix null pointer panic at usbnet_link_change

2013-10-28 Thread Du, ChangbinX
From: "Du, Changbin" In cdc_ncm_bind() function, it call cdc_ncm_bind_common() to setup usb. But cdc_ncm_bind_common() may meet error and cause usbnet_disconnect() be called which calls free_netdev(net). Thus usbnet structure(alloced with net_device structure) will be freed,too. So we cannot call

Re: Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-28 Thread Masami Hiramatsu
(2013/10/29 2:48), Pekka Enberg wrote: > On 10/28/13 7:31 PM, Srikar Dronamraju wrote: But what if a system has both 32 bit libc and 64 bit libc? Wont we could end up with 2 libc:setjmp? Should we give some more intelligence into perf to choose the 64 bit libc over 32 bit one? >

Re: State of "perf: Add a new sort order: SORT_INCLUSIVE"

2013-10-28 Thread Namhyung Kim
Hi Arun, On Mon, 28 Oct 2013 09:43:21 -0700, Arun Sharma wrote: > On 10/28/13 2:29 AM, Rodrigo Campos wrote: >> On Mon, Oct 28, 2013 at 06:09:30PM +0900, Namhyung Kim wrote: >>> On Mon, 28 Oct 2013 08:42:44 +, Rodrigo Campos wrote: On Mon, Oct 28, 2013 at 02:09:49PM +0900, Namhyung Kim wr

[PATCH 2/2] [trivial]doc:alsa: Fix typo in documentation/alsa

2013-10-28 Thread Masanari Iida
Correct spelling typo in documentation/alsa Signed-off-by: Masanari Iida --- Documentation/sound/alsa/ALSA-Configuration.txt | 2 +- Documentation/sound/alsa/Audiophile-Usb.txt | 2 +- Documentation/sound/alsa/CMIPCI.txt | 2 +- Documentation/sound/alsa/compress_offload.txt | 6

Re: RFC: paravirtualizing perf_clock

2013-10-28 Thread David Ahern
On 10/28/13 7:15 AM, Peter Zijlstra wrote: Any suggestions on how to do this and without impacting performance. I noticed the MSR path seems to take about twice as long as the current implementation (which I believe results in rdtsc in the VM for x86 with stable TSC). So assuming all the TSCs a

Re: Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-28 Thread Masami Hiramatsu
(2013/10/29 2:31), Srikar Dronamraju wrote: >>> >>> But what if a system has both 32 bit libc and 64 bit libc? >>> Wont we could end up with 2 libc:setjmp? >>> Should we give some more intelligence into perf to choose the 64 bit >>> libc over 32 bit one? >> >> You can just trace both of them by def

linux-next: manual merge of the vfs tree with the v9fs tree

2013-10-28 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got conflicts in fs/9p/vfs_file.c, fs/9p/vfs_inode_dotl.c and fs/9p/vfs_inode.c between commit 94876b5bb6a8 ("9P: introduction of a new cache=mmap model") from the v9fs tree and commit 2b052ff59861 ("9p: make v9fs_cache_inode_ {get,put,set}_cookie em

[PATCH v4] watchdog: w83627hf: Convert to watchdog infrastructure

2013-10-28 Thread Guenter Roeck
Signed-off-by: Guenter Roeck --- v4: Restore 'nowayout' module parameter The changes cause a trivial conflict with 'watchdog: w83627hf: Auto-detect IO address and supported chips'. Please let me know if I should re-send the entire series. drivers/watchdog/Kconfig|1 + drivers/watch

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-10-28 Thread Dave Young
> > > > 3. Then I merged the 'efi' branch of > > git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git ontop. > > I used the patches from mailbox directly. > Fixed an conflict and merge them one by one. I remember I tried your efi branch, but the code is different from what you sent to list, t

[PATCH v2] kernel/modsign_certificate.S: use real contents instead of macro GLOBAL()

2013-10-28 Thread Chen Gang
If a macro is only used within 2 times, and also its contents are within 2 lines, recommend to expand it to shrink code line. For our case, the macro is not portable either: some architectures' assembler may use another character to mark newline in a macro (e.g. '`' for arc), which will cause issu

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-28 Thread Jeff King
On Mon, Oct 28, 2013 at 11:10:13PM +0100, Thomas Rast wrote: > * In your list > > > Fixes: > > Reported-by: > > Suggested-by: > > Improved-by: > > Acked-by: > > Reviewed-by: > > Tested-by: > > Signed-off-by: > > and I might add > > Cherry-picked-from: > Reverts: > >

Re: [PATCH] commit: Add -f, --fixes option to add Fixes: line

2013-10-28 Thread Jeff King
On Mon, Oct 28, 2013 at 12:29:32PM +0100, Johan Herland wrote: > > A hook-based solution could do this. But a built-in "all-purpose" > > handler like "footer.Fixes.arg=commit", which was intended to be > > reusable, wouldn't be able to do such footer-specific extra work without > > having to crea

[PATCH] ARM: spear: fix return value check in spear_setup_of_timer()

2013-10-28 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function clk_get_sys() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- arch/arm/mach-spear/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] befs: fix return value check in befs_iget()

2013-10-28 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function iget_locked() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun --- fs/befs/linuxvfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --

Re: [PATCH] ARM: Support arch_irq_work_raise() via self IPIs

2013-10-28 Thread Kevin Hilman
Stephen Boyd writes: > This will allow the scheduler tick to be restarted if we're in > full NOHZ mode. > > Cc: Kevin Hilman > Cc: Frederic Weisbecker > Signed-off-by: Stephen Boyd Minor nit, but I'd prefer a more verbose changelog (I forget things quickly and like to rely on changelogs for m

[PATCH v2] arch: use ASM_NL instead of ';' for assembler new line character in the macro

2013-10-28 Thread Chen Gang
For some assemblers, they use another character as newline in a macro (e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a macro) instead of ';' for it. Also need notice about code styles ('\t' for each line). Signed-off-by: Chen Gang --- arch/arc/include/asm/linkage.h |2

Re: [PATCH] 9p: unsigned/signed wrap in p9/unix modes.

2013-10-28 Thread Geyslan Gregório Bem
2013/10/28 Geyslan Gregório Bem > > 2013/10/27 Eric Van Hensbergen >> >> Looks like the right approach. The one other optional thing I mentioned was >> support for passing NULL for rdev and not trying to parse the device info >> when rdev == NULL. Its a very slight optimization in the grand s

  1   2   3   4   5   6   7   8   >