Re: [PATCH v4 1/4] mmc: dw_mmc: Don't try to enable the CD until we're sure we're not deferring

2015-03-26 Thread Jaehoon Chung
Hi, Doug. This patch is not related with [patch 2/4~4/4]. "[PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()" is discussing.. So i think if you're ok, i will pick this one [PATCH v4 1/4]. how about? Best Regards, Jaehoon Chung On 03/12/2015 07:15 AM, Doug Anderson wrote: > If

Re: [PATCH 0/3] arm: msm: Use timer DT node for qcom watchdog config

2015-03-26 Thread Stephen Boyd
On 02/20, Mathieu Olivari wrote: > This change is done as a follow-up to the following thread: > https://lkml.org/lkml/2014/10/1/436 > > qcom-wdt is currently assuming the presence of a dedicated node in DT > to gets its configuration. However, on msm architecture, the watchdog is > usually part

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-03-26 Thread Richard Weinberger
Am 27.03.2015 um 04:49 schrieb Geert Uytterhoeven: > On Fri, Mar 27, 2015 at 4:31 AM, Rusty Russell wrote: >> Richard Weinberger writes: >>> This also infers that arch/lib will be broken most of the time as >>> every time the networking stack references a new symbol it >>> has to be duplicated

Re: [PATCH] clk: qcom: Fix ipq806x LCC frequency tables

2015-03-26 Thread Stephen Boyd
On 03/02, Kenneth Westfield wrote: > On Thu, Feb 26, 2015 at 07:37:44PM -0800, Stephen Boyd wrote: > > These frequency tables list the wrong rates. Either they don't > > have the correct frequency at all, or they're specified in kHz > > instead of Hz. Fix it. > > > > Fixes: c99e515a92e9 "clk:

[PATCH] usb: gadget: s3c2410_udc: Remove static char buffer, use vsprintf extension %pV

2015-03-26 Thread Joe Perches
Using unnecessary static char buffers isn't good. Use the %pV extension instead. Miscellanea: o the dprintk return value is unused, make it void o add __printf format and argument verification Signed-off-by: Joe Perches --- This doesn't matter much as it is pretty unusual to enable printk

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-26 Thread Srikar Dronamraju
* Jason Low [2015-03-26 22:07:21]: > On Fri, 2015-03-27 at 10:12 +0800, Wanpeng Li wrote: > > Hi Preeti, > > On Thu, Mar 26, 2015 at 06:32:44PM +0530, Preeti U Murthy wrote: > > > > > >1. An ILB CPU was chosen from the first numa domain to trigger nohz idle > > >load balancing [Given the

Re: [PATCH] ring-buffer: More precise time stamps for nested writes

2015-03-26 Thread Suresh E. Warrier
On 03/24/2015 06:19 PM, Steven Rostedt wrote: > On Tue, 24 Mar 2015 18:10:05 -0500 > .. .. > There is no architecture where disabling interrupts is cheap. Actually, > enabling them is the killer. Doing function tracing shows the impact of > this rather well, as it would disable and enable

[PATCH 3/4] [SMB3] Fix dereference before null check warning

2015-03-26 Thread Steve French
null tcon is not likely in these paths in current code, but obviously it does clarify the code to check for null (if at all) before derefrencing rather than after. Reported by Coverity (CID 1042666) Signed-off-by: Steve French --- fs/cifs/smb2pdu.c | 13 - 1 file changed, 8

[PATCH 4/4] [SMB3] Fix coverity warning

2015-03-26 Thread Steve French
Coverity reports a warning for referencing the beginning of the SMB2/SMB3 frame using the ProtocolId field as an array. Although it works the same either way, this patch should quiet the warning and might be a little clearer. Reported by Coverity (CID 741269) Signed-off-by: Steve French ---

[PATCH 2/4] [CIFS] Don't ignore errors on encrypting password in SMBTcon

2015-03-26 Thread Steve French
Although unlikely to fail (and tree connect does not commonly send a password since SECMODE_USER is the default for most servers) do not ignore errors on SMBNTEncrypt in SMB Tree Connect. Reported by Coverity (CID 1226853) Signed-off-by: Steve French --- fs/cifs/connect.c | 6 ++ 1 file

[PATCH 1/4] [SMB3] Fix warning on uninitialized buftype

2015-03-26 Thread Steve French
Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will not be a problem with freeing data, but if buf_type were randomly set to wrong value could log a warning) Reported by Coverity (CID 1269144)

[PATCH 0/4] Fix various coverity warnings in fs/cifs

2015-03-26 Thread Steve French
Four small fixes to address warnings coverity analyzer displays for fs/cifs. Steve French (4): [SMB3] Fix warning on uninitialized buftype [CIFS] Don't ignore errors on encrypting password in SMBTcon [SMB3] Fix dereference before null check warning [SMB3] Fix coverity warning

Re: [PATCH 04/13] thermal: Fix not emulating critical temperatures

2015-03-26 Thread Sascha Hauer
Hi Amit, On Fri, Mar 27, 2015 at 08:35:50AM +0530, amit daniel kachhap wrote: > Hi Sascha, > > > -#ifdef CONFIG_THERMAL_EMULATION > > - if (!tz->emul_temperature) > > - goto skip_emul; > > - > > - for (count = 0; count < tz->trips; count++) { > > - ret =

[PATCH v2] xen-blkback: enlarge the array size of blkback name

2015-03-26 Thread Tao Chen
The blkback name is like blkback.domid.xvd[a-z], if domid has four digits (means larger than 1000), then the backmost xvd wouldn't be fully shown. Define a BLKBACK_NAME_LEN macro to be 20, enlarge the array size of blkback name, so it will be fully shown in any case. Signed-off-by: Tao Chen ---

[PATCH] perf: .gitignore: ignore .config-detected.

2015-03-26 Thread Wang Nan
Commit fcfd6611fbccdbf2593bd949097a5c0e45cd96da ("tools build: Add detected config support") dynamically creates .config-detected. Add it to .gitignore. Signed-off-by: Wang Nan --- tools/perf/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/.gitignore

Re: [PATCH v1] arm64:mm: enable the kernel execute attribute for HEAD_TEXT segment

2015-03-26 Thread yuanzhichang
Hi, Mark On 2015/3/27 6:10, Mark Rutland wrote: On Thu, Mar 26, 2015 at 01:53:48PM +, Zhichang Yuan wrote: From: yuanzhichang In the patch whose title is "add better page protections to arm64" (commit da141706aea52c1a9fbd28cb8d289b78819f5436), The direct mapping page table entries for

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-26 Thread Jason Low
On Fri, 2015-03-27 at 10:12 +0800, Wanpeng Li wrote: > Hi Preeti, > On Thu, Mar 26, 2015 at 06:32:44PM +0530, Preeti U Murthy wrote: > > > >1. An ILB CPU was chosen from the first numa domain to trigger nohz idle > >load balancing [Given the experiment, upto 6 CPUs per core could be > >potentially

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-26 Thread Jason Low
On Fri, 2015-03-27 at 10:03 +0530, Preeti U Murthy wrote: > Hi Wanpeng > > On 03/27/2015 07:42 AM, Wanpeng Li wrote: > > Hi Preeti, > > On Thu, Mar 26, 2015 at 06:32:44PM +0530, Preeti U Murthy wrote: > >> > >> 1. An ILB CPU was chosen from the first numa domain to trigger nohz idle > >> load

Re: linux-next: manual merge of the dt-rh tree with the mips tree

2015-03-26 Thread Rob Herring
On Thu, Mar 26, 2015 at 11:56 PM, Scott Branden wrote: > Rob, > > Apologies that the mips tree is deleting files that I was synchronizing names > on. Would you like me to provide new patch that doesn't touch files that > mips tree is now deleting? No, it is fine. I'd rather not rebase my

Re: linux-next: manual merge of the dt-rh tree with the mips tree

2015-03-26 Thread Scott Branden
Rob, Apologies that the mips tree is deleting files that I was synchronizing names on. Would you like me to provide new patch that doesn't touch files that mips tree is now deleting? Scott > On Mar 26, 2015, at 9:26 PM, Stephen Rothwell wrote: > > -- To unsubscribe from this list: send

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-26 Thread Viresh Kumar
On 27 March 2015 at 01:48, Andrew Morton wrote: > Shouldn't this be viewed as a shortcoming of the core timer code? Yeah, it is. Some (not so pretty) solutions were tried earlier to fix that, but they are rejected for obviously reasons [1]. > vmstat_shepherd() is merely rescheduling itself with

Re: [PATCH 3/5] arm64: kdump: do not go into EL2 before starting a crash dump kernel

2015-03-26 Thread Geoff Levand
On Thu, 2015-03-26 at 17:28 +0900, AKASHI Takahiro wrote: > @@ -64,7 +65,11 @@ void soft_restart(unsigned long addr) > setup_mm_for_reboot(); > > cpu_soft_restart(virt_to_phys(cpu_reset), > - is_hyp_mode_available(), addr); > +#ifdef CONFIG_KEXEC > +

Re: [PATCH 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-03-26 Thread Geoff Levand
Hi Takahiro, On Thu, 2015-03-26 at 17:28 +0900, AKASHI Takahiro wrote: > On system kernel, the memory region used by crash dump kernel must be > specified by "crashkernel=X@Y" boot parameter. reserve_crashkernel() > will allocate the region in "System RAM" and reserve it for later use. > > On

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-26 Thread Wanpeng Li
Hi Preeti, On Fri, Mar 27, 2015 at 10:03:21AM +0530, Preeti U Murthy wrote: >is set to CPU_NOT_IDLE. > >"" >idle = idle_cpu(cpu) ? CPU_IDLE : CPU_NOT_IDLE; > >And, > >When nohz_idle_balance() is called, the state of idle of ILB CPU is >checked before proceeding with load balancing on idle CPUs. >

Re: [PATCH 1/5] arm64: kdump: reserve memory for crash dump kernel

2015-03-26 Thread Geoff Levand
Hi Takahiro, On Thu, 2015-03-26 at 17:28 +0900, AKASHI Takahiro wrote: > On system kernel, the memory region used by crash dump kernel must be > specified by "crashkernel=X@Y" boot parameter. reserve_crashkernel() > will allocate the region in "System RAM" and reserve it for later use. > > On

[PATCH 1/2] phy: dt-binding: document Conexant Digicolor USB PHY

2015-03-26 Thread Baruch Siach
Add a device tree binding documentation to the USB PHY hardware block on the Conexant CX92755 SoC. The CX92755 is one of the Digicolor SoCs series. Other SoCs in that series may share the same hardware block. Signed-off-by: Baruch Siach --- .../devicetree/bindings/phy/digicolor-usb-phy.txt

[PATCH 2/2] phy: driver for Conexant Digicolor internal USB PHY

2015-03-26 Thread Baruch Siach
Add a driver for the USB PHY on the Conexant CX92755 SoC, from the Digicolor series of SoCs. The PHY is connected to the on-chip chipidea usb2 host. The hardware is somewhat similar to the phy-mxs-usb.c usb_phy, but it is different enough to merit its own driver. Also, this driver uses the

Re: [PATCH v2] cpufreq: powernv: Add checks to report cpu frequency throttling conditions

2015-03-26 Thread Viresh Kumar
Hi Shilpa, On 27 March 2015 at 00:11, Shilpasri G Bhat wrote: > Cpu frequency can be throttled due to failures of components like OCC, > power supply and fan. It can also be throttled due to temperature and > power limit. We can detect the throttling by checking 1)if max frequency Add these

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-26 Thread Preeti U Murthy
Hi Wanpeng On 03/27/2015 07:42 AM, Wanpeng Li wrote: > Hi Preeti, > On Thu, Mar 26, 2015 at 06:32:44PM +0530, Preeti U Murthy wrote: >> >> 1. An ILB CPU was chosen from the first numa domain to trigger nohz idle >> load balancing [Given the experiment, upto 6 CPUs per core could be >> potentially

linux-next: manual merge of the dt-rh tree with the mips tree

2015-03-26 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the dt-rh tree got conflicts in Documentation/devicetree/bindings/mips/brcm/brcm,bcm3384-intc.txt and Documentation/devicetree/bindings/mips/brcm/brcm,cm-dsl.txt between commits b43a3ff04e59 ("MIPS: BMIPS: Delete the irqchip driver from irq.c") and faf18d2dd323

Re: [PATCH] xen-blkback: enlarge the array size of blkback name

2015-03-26 Thread Chentao (Boby)
You are right, roger. Thanks. domid is a u16, it will occupy 5 characters at most. So the biggest length of blkback name is 8+5+5=18. At this situation, define BLKBACK_NAME_LEN macro to be 20 is safe. On 2015/3/26 19:23, Roger Pau Monné wrote: El 13/03/15 a les 16.52, Tao Chen ha escrit:

[PATCH] phy: core: fix registration of built in drivers

2015-03-26 Thread Baruch Siach
Built in PHY drivers probe may run as early as arch_initcall. This is the case on ARM when device tree is enabled, since of_platform_populate() is called from customize_machine(). The trouble is that at this stage phy_class is not yet initialized, and as a result device_add() does not add the

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-03-26 Thread Geert Uytterhoeven
On Fri, Mar 27, 2015 at 4:31 AM, Rusty Russell wrote: > Richard Weinberger writes: >> This also infers that arch/lib will be broken most of the time as >> every time the networking stack references a new symbol it >> has to be duplicated into arch/lib. >> >> But this does not mean that your idea

Re: Kernel warning at fs/btrfs/inode.c:8693 btrfs_destroy_inode+0x1fa/0x2a0 [btrfs]()

2015-03-26 Thread Chris Murphy
On Thu, Mar 26, 2015 at 9:39 PM, Nikolaus Rath wrote: > Thanks. Does this mean that I risk data corruption when using btrfs with > 4.0-rc3, or is this relatively harmless? I can't answer that. I'd say use 3.18.9 or 3.19.2 if you want reduced risk of corruption, or use the current week's rc

[PATCH] hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV instead

2015-03-26 Thread Joe Perches
Removing unnecessary static buffers is good. Use the vsprintf %pV extension instead. Signed-off-by: Joe Perches --- fs/hpfs/super.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c index 7cd00d3..f445d15 100644 ---

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-03-26 Thread Rusty Russell
Richard Weinberger writes: > This also infers that arch/lib will be broken most of the time as > every time the networking stack references a new symbol it > has to be duplicated into arch/lib. > > But this does not mean that your idea is bad, all I want to say that > I'm not sure whether

Re: Kernel warning at fs/btrfs/inode.c:8693 btrfs_destroy_inode+0x1fa/0x2a0 [btrfs]()

2015-03-26 Thread Nikolaus Rath
On Mar 26 2015, Chris Murphy wrote: > On Thu, Mar 26, 2015 at 6:38 PM, Nikolaus Rath wrote: > >> I'm running 4.0-rc3, and I'm regularly getting these warnings in my >> kernel log: > >> Mar 26 17:31:13 vostro kernel: [21480.088682] WARNING: CPU: 0 PID: >> 28958 at fs/btrfs/inode.c:8693

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-26 Thread Andrew Morton
On Mon, 16 Mar 2015 14:27:10 -0400 Milosz Tanski wrote: > This patchset introduces two new syscalls preadv2 and pwritev2. They are the > same syscalls as preadv and pwrite but with a flag argument. Additionally, > preadv2 implements an extra RWF_NONBLOCK flag. I still don't understand why

Re: Kernel warning at fs/btrfs/inode.c:8693 btrfs_destroy_inode+0x1fa/0x2a0 [btrfs]()

2015-03-26 Thread Chris Murphy
On Thu, Mar 26, 2015 at 6:38 PM, Nikolaus Rath wrote: > I'm running 4.0-rc3, and I'm regularly getting these warnings in my > kernel log: > Mar 26 17:31:13 vostro kernel: [21480.088682] WARNING: CPU: 0 PID: 28958 at > fs/btrfs/inode.c:8693 btrfs_destroy_inode+0x1fa/0x2a0 [btrfs]() It's

Re: [PATCH v5] Add virtio-input driver.

2015-03-26 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Mar 26, 2015 at 11:49:25AM +0100, Gerd Hoffmann wrote: >> virtio-input is basically evdev-events-over-virtio, so this driver isn't >> much more than reading configuration from config space and forwarding >> incoming events to the linux input layer. >> >>

Re: [PATCH] leds-gpio: Fix error handling and memory leak

2015-03-26 Thread Corey Minyard
On 03/26/2015 08:20 PM, Bryan Wu wrote: > On Mon, Mar 9, 2015 at 5:43 PM, wrote: >> From: Corey Minyard >> >> The leds-gpio driver would not clean up properly if it failed in some >> places, and it wasn't freeing its private data. >> >> Signed-off-by: Corey Minyard >> --- >>

[PATCH 1/2] ocfs2: Logging: Remove static buffer, use vsprintf extension %pV

2015-03-26 Thread Joe Perches
Use the vsprintf %pV extension to avoid using a static buffer and remove the now unnecessary buffer. Signed-off-by: Joe Perches --- fs/ocfs2/super.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index

[PATCH 2/2] ocfs2: Neaten do_error, ocfs2_error and ocfs2_abort

2015-03-26 Thread Joe Perches
These uses sometimes do and sometimes don't have '\n' terminations. Make the uses consistently use '\n' terminations and remove the newline from the functions. Miscellanea: o Coalesce formats o Realign arguments Signed-off-by: Joe Perches --- fs/ocfs2/alloc.c| 90

[PATCH 0/2] ocfs2: logging neatening

2015-03-26 Thread Joe Perches
Joe Perches (2): ocfs2: Logging: Remove static buffer, use vsprintf extension %pV ocfs2: Neaten do_error, ocfs2_error and ocfs2_abort fs/ocfs2/alloc.c| 90 +++-- fs/ocfs2/aops.c | 4 +-- fs/ocfs2/dir.c | 49

Re: [PATCH 04/13] thermal: Fix not emulating critical temperatures

2015-03-26 Thread amit daniel kachhap
Hi Sascha, On Thu, Mar 26, 2015 at 9:23 PM, Sascha Hauer wrote: > commit e6e238c38 (thermal: sysfs: Add a new sysfs node emul_temp for > thermal emulation) promised not to emulate critical temperatures, > but the check for critical temperatures is broken in multiple ways: > > - The code should

Re: [PATCH] [RESEND][TRIVIAL] treewide: fix occurrences of "the the "

2015-03-26 Thread Michael Opdenacker
On 03/26/2015 07:23 PM, Joe Perches wrote: > On Thu, 2015-03-26 at 18:55 -0700, Michael Opdenacker wrote: >> Fix all occurrences of "the the ", and occasionally "in in ", >> in the source code, comments and documentation. > [] > >> arch/powerpc/mm/gup.c | 235 >>

[PATCH v2 RESEND] tty/n_gsm.c: fix a memory leak when gsmtty is removed

2015-03-26 Thread Pan Xinhui
when gsmtty_remove put dlci, it will cause memory leak if dlci->port's refcount is zero. So we do the cleanup work in .cleanup callback instead. dlci will be last put in two call chains. 1) gsmld_close -> gsm_cleanup_mux -> gsm_dlci_release -> dlci_put 2) gsmld_remove -> dlci_put so there is a

Re: [withdrawn] zsmalloc-remove-extra-cond_resched-in-__zs_compact.patch removed from -mm tree

2015-03-26 Thread Minchan Kim
On Thu, Mar 26, 2015 at 05:13:13PM +0900, Sergey Senozhatsky wrote: > On (03/26/15 16:39), Minchan Kim wrote: > > Hello Sergey, > > > > Sorry for slow response. > > I am overwhelmed with too much to do. :( > > > > Hello, > sure, no problem. > > > > > diff -puN > > > >

Re: [PATCH v8 10/30] PCI: Introduce pci_host_bridge_list to manage host bridges

2015-03-26 Thread Yijing Wang
On 2015/3/27 0:31, Yinghai Lu wrote: > On Mon, Mar 23, 2015 at 8:34 PM, Yijing Wang wrote: >> Introduce pci_host_bridge_list to manage pci host >> bridges in system, this make us have the ability >> to check whether the new host would conflict with >> existing one. Then we could remove bus alreay

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-26 Thread Wanpeng Li
Hi Preeti, On Thu, Mar 26, 2015 at 06:32:44PM +0530, Preeti U Murthy wrote: > >1. An ILB CPU was chosen from the first numa domain to trigger nohz idle >load balancing [Given the experiment, upto 6 CPUs per core could be >potentially idle in this domain.] > >2. However the ILB CPU would call

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-26 Thread Milosz Tanski
On Thu, Mar 26, 2015 at 3:12 PM, Milosz Tanski wrote: > On Thu, Mar 26, 2015 at 7:55 AM, Christoph Hellwig wrote: >> >> On Mon, Mar 16, 2015 at 02:27:10PM -0400, Milosz Tanski wrote: >> > This patchset introduces two new syscalls preadv2 and pwritev2. They are >> > the >> > same syscalls as

Re: [PATCH] [RESEND][TRIVIAL] treewide: fix occurrences of "the the "

2015-03-26 Thread Joe Perches
On Thu, 2015-03-26 at 18:55 -0700, Michael Opdenacker wrote: > Fix all occurrences of "the the ", and occasionally "in in ", > in the source code, comments and documentation. [] > arch/powerpc/mm/gup.c | 235 > + I think that one snuck in

[PATCH 6/7] perf kmem: Print gfp flags in human readable string

2015-03-26 Thread Namhyung Kim
Save libtraceevent output and print it in the header. # perf kmem stat --page --caller # GFP flags # - # 0010: NI: GFP_NOIO # 00d0:K: GFP_KERNEL # 0200: NWR: GFP_NOWARN # 84d0:K|R|Z: GFP_KERNEL|GFP_REPEAT|GFP_ZERO # 000200d2:

[PATCH 7/7] perf kmem: Add kmem.default config option

2015-03-26 Thread Namhyung Kim
Currently perf kmem command will select --slab if neither --slab nor --page is given for backward compatibility. Add kmem.default config option to select the default value ('page' or 'slab'). # cat ~/.perfconfig [kmem] default = page # perf kmem stat SUMMARY (page allocator)

[PATCH 4/7] perf kmem: Support sort keys on page analysis

2015-03-26 Thread Namhyung Kim
Add new sort keys for page: page, order, migtype, gfp - existing 'bytes', 'hit' and 'callsite' sort keys also work for page. Note that -s/--sort option should be preceded by either of --slab or --page option to determine where the sort keys applies. Now it properly groups and sorts allocation

[PATCH 3/7] perf kmem: Implement stat --page --caller

2015-03-26 Thread Namhyung Kim
It perf kmem support caller statistics for page. Unlike slab case, the tracepoints in page allocator don't provide callsite info. So it records with callchain and extracts callsite info. Note that the callchain contains several memory allocation functions which has no meaning for users. So

Re: [PATCH] [RESEND][TRIVIAL] treewide: fix occurrences of "the the "

2015-03-26 Thread Michael Opdenacker
On 03/26/2015 06:55 PM, Michael Opdenacker wrote: > 222 files changed, 493 insertions(+), 258 deletions(-) Is this patch getting too big (and getting bigger and bigger) to be ever merged? Unless you tell me otherwise, I'm thinking about splitting it into several patches, one for each subsystem.

[PATCH 2/7] perf kmem: Analyze page allocator events also

2015-03-26 Thread Namhyung Kim
The perf kmem command records and analyze kernel memory allocation only for SLAB objects. This patch implement a simple page allocator analyzer using kmem:mm_page_alloc and kmem:mm_page_free events. It adds two new options of --slab and --page. The --slab option is for analyzing SLAB allocator

[PATCH 1/7] tracing, mm: Record pfn instead of pointer to struct page

2015-03-26 Thread Namhyung Kim
The struct page is opaque for userspace tools, so it'd be better to save pfn in order to identify page frames. The textual output of $debugfs/tracing/trace file remains unchanged and only raw (binary) data format is changed - but thanks to libtraceevent, userspace tools which deal with the raw

[PATCH 5/7] perf kmem: Add --live option for current allocation stat

2015-03-26 Thread Namhyung Kim
Currently perf kmem shows total (page) allocation stat by default, but sometimes one might want to see live (total alloc-only) requests/pages only. The new --live option does this by subtracting freed allocation from the stat. Signed-off-by: Namhyung Kim ---

[PATCHSET 0/7] perf kmem: Implement page allocation analysis (v5)

2015-03-26 Thread Namhyung Kim
Hello, Currently perf kmem command only analyzes SLAB memory allocation. And I'd like to introduce page allocation analysis also. Users can use --slab and/or --page option to select it. If none of these options are used, it does slab allocation analysis for backward compatibility. * changes

god morgen

2015-03-26 Thread UniCredit
god morgen Dette er en melding om at Uni_Credit lån tilbyr lån til de trengende i en lav rente på 3% og uten kredittsjekk, vi tilbyr personlige lån, gjeld konsolidering De lån, venture kapital, business lån, utdanning lån eller lån eller annen grunn. Hvis interessert, ta kontakt med oss. Ta

[PATCH v2 01/16] net: dsa: mv88e6xxx: Factor out common initialization code

2015-03-26 Thread Guenter Roeck
Code used and needed in mv886xxx.c should be initialized there as well, so factor it out from the individual initialization files. Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6123_61_65.c | 7 +++ drivers/net/dsa/mv88e6171.c

[PATCH v2 02/16] net: dsa: mv88e6xxx: Provide function for common port initialization

2015-03-26 Thread Guenter Roeck
Provide mv88e6xxx_setup_port_common() for common port initialization. Currently only write Port 1 Control and VLAN configuration since this will be needed for hardware bridging. More can be added later if desired/needed. Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter

[PATCH v2 04/16] net: dsa: mv88e6xxx: Split mv88e6xxx_reg_read and mv88e6xxx_reg_write

2015-03-26 Thread Guenter Roeck
Split mv88e6xxx_reg_read and mv88e6xxx_reg_write into two functions each, one to acquire smi_mutex and one to get struct mii_bus *bus from struct dsa_switch *ds and to call the actual read/write function. Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter Roeck ---

[PATCH v2 00/16] net: dsa: HW bridging, EEE support

2015-03-26 Thread Guenter Roeck
Patch 1 to 7 of this series prepare the drivers using the mv88e6xxx code for HW bridging support, without adding the code itself. For the most part this factors out common port initialization code. There is no functional change except for patch 3, which disables the message port bit for the CPU

[PATCH v2 08/16] net: dsa: mv88e6xxx: Add Hardware bridging support

2015-03-26 Thread Guenter Roeck
Bridge support is similar for all chips supported by the mv88e6xxx code, so add the code there. Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6xxx.c | 271 ++-- drivers/net/dsa/mv88e6xxx.h | 28

[PATCH v2 06/16] net: dsa: mv88e6123_61_65: Use common port configuration

2015-03-26 Thread Guenter Roeck
This will simplify adding offloaded bridge support later on. Reviewed-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6123_61_65.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/drivers/net/dsa/mv88e6123_61_65.c

[PATCH v2 07/16] net: dsa: mv88e6171: Use common port configuration

2015-03-26 Thread Guenter Roeck
Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6171.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/drivers/net/dsa/mv88e6171.c b/drivers/net/dsa/mv88e6171.c index 2f6662c246fa..6ce6a3ea1b8d

[PATCH] mtd: hisilicon: remove deprecated IRQF_DISABLED

2015-03-26 Thread Michael Opdenacker
This removes the use of the IRQF_DISABLED flag from drivers/mtd/nand/hisi504_nand.c It's a NOOP since 2.6.35. Signed-off-by: Michael Opdenacker --- drivers/mtd/nand/hisi504_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/hisi504_nand.c

[PATCH v2 15/16] net: dsa: mv88e6171: Add EEE support to the mv88e6172

2015-03-26 Thread Guenter Roeck
From: Andrew Lunn The mv88e6172 has support for EEE. Check for the product ID and call the common code if applicable. Signed-off-by: Andrew Lunn Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6171.c | 24 1 file changed, 24

[PATCH v2 12/16] net: dsa: mv88e6352: Add support for ndo_fdb functions

2015-03-26 Thread Guenter Roeck
Add support for manipulating switch fdb entries by pointing to the ndo_fdb functions implemented for mv88e6. Reviewed-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6352.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dsa/mv88e6352.c

[PATCH v2 09/16] net: dsa: mv88e6352: Add support for hardware bridging

2015-03-26 Thread Guenter Roeck
Reviewed-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6352.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/dsa/mv88e6352.c b/drivers/net/dsa/mv88e6352.c index f7e7c0f1dff4..51acd1614ce8 100644 --- a/drivers/net/dsa/mv88e6352.c +++

[PATCH v2 13/16] net: dsa: Centralise getting switch id

2015-03-26 Thread Guenter Roeck
From: Andrew Lunn Get the switch id and save it away in the private mv88x6xxx structure in a centralised piece of code, rather than each driver doing it itself. Signed-off-by: Andrew Lunn Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6352.c | 2 --

[PATCH v2 05/16] net: dsa: mv88e6352: Use common port initialization code

2015-03-26 Thread Guenter Roeck
This prepares the driver for hardware bridging. Reviewed-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6352.c | 24 +--- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/drivers/net/dsa/mv88e6352.c b/drivers/net/dsa/mv88e6352.c index

[PATCH v2 11/16] net: dsa: mv88e6xxx: Add support for fdb_add, fdb_del, and fdb_getnext

2015-03-26 Thread Guenter Roeck
No vlan support at this time. Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6xxx.c | 136 drivers/net/dsa/mv88e6xxx.h | 16 ++ 2 files changed, 152 insertions(+) diff --git

[PATCH v2 03/16] net: dsa: mv88e6xxx: Disable Message Port bit for CPU port

2015-03-26 Thread Guenter Roeck
Datasheet says that the Message Port bit should not be set for the CPU port. Having it set causes DSA tagged packets to be sent to the CPU port roughly every 30 seconds. Those packets are the same as real packets forwarded between switch ports if the switch is configured for switching between

[PATCH v2 16/16] net: dsa: mv88e6171: Add support for hardware bridging

2015-03-26 Thread Guenter Roeck
From: Andrew Lunn Wire up the common code for setting up hardware bridging and access to the forwarding database. Signed-off-by: Andrew Lunn Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6171.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/dsa/mv88e6171.c

[PATCH v2 10/16] net: dsa: Add basic framework to support ndo_fdb functions

2015-03-26 Thread Guenter Roeck
Provide callbacks for ndo_fdb_add, ndo_fdb_del, and ndo_fdb_dump. Reviewed-by: Andrew Lunn Tested-by: Andrew Lunn Signed-off-by: Guenter Roeck --- include/net/dsa.h | 6 net/dsa/slave.c | 102 ++ 2 files changed, 108 insertions(+)

[PATCH v2 14/16] net: dsa: mv88e6171: Add defines for switch product IDs

2015-03-26 Thread Guenter Roeck
From: Andrew Lunn Make the code more readable by using defines for the switch IDs. Signed-off-by: Andrew Lunn Reviewed-by: Guenter Roeck Signed-off-by: Guenter Roeck --- drivers/net/dsa/mv88e6171.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[PATCH] MIPS: Loongson-3: remove deprecated IRQF_DISABLED

2015-03-26 Thread Michael Opdenacker
This removes the use of the IRQF_DISABLED flag from arch/mips/loongson/loongson-3/hpet.c It's a NOOP since 2.6.35. Signed-off-by: Michael Opdenacker --- arch/mips/loongson/loongson-3/hpet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/loongson/loongson-3/hpet.c

Re: [PATCH 7/7] x86/intel_rdt: Add CAT documentation and usage guide

2015-03-26 Thread Marcelo Tosatti
On Thu, Mar 26, 2015 at 11:38:59AM -0700, Vikas Shivappa wrote: > > Hello Marcelo, Hi Vikas, > On Wed, 25 Mar 2015, Marcelo Tosatti wrote: > > >On Thu, Mar 12, 2015 at 04:16:07PM -0700, Vikas Shivappa wrote: > >>This patch adds a description of Cache allocation technology, overview > >>of

Re: [PATCH] leds-gpio: Fix error handling and memory leak

2015-03-26 Thread Bryan Wu
On Mon, Mar 9, 2015 at 5:43 PM, wrote: > From: Corey Minyard > > The leds-gpio driver would not clean up properly if it failed in some > places, and it wasn't freeing its private data. > > Signed-off-by: Corey Minyard > --- > drivers/leds/leds-gpio.c | 13 + > 1 file changed, 9

Re: [PATCH v4 14/15] ASoC: rockchip/rockchip-hdmi-audio: add sound driver for hdmi audio

2015-03-26 Thread Mark Brown
On Fri, Mar 27, 2015 at 09:16:17AM +0800, yakir wrote: > On 2015年03月27日 02:16, Mark Brown wrote: > >>+free_cpu_of_node: > >>+ hdmi_audio_dai.cpu_of_node = NULL; > >>+ hdmi_audio_dai.platform_of_node = NULL; > >>+free_priv_data: > >>+ snd_soc_card_set_drvdata(card, NULL); > >>+

[PATCH] [RESEND][SCSI] ips: remove unused defines

2015-03-26 Thread Michael Opdenacker
This patch removes unused defines from drivers/scsi/ips.h - the min() macro is not used - the __iomem define is no longer needed to compile ips.c without warnings Signed-off-by: Michael Opdenacker --- drivers/scsi/ips.h | 8 1 file changed, 8 deletions(-) diff --git

Re: [PATCH v4 14/15] ASoC: rockchip/rockchip-hdmi-audio: add sound driver for hdmi audio

2015-03-26 Thread yakir
Hi Mark, On 2015年03月27日 02:16, Mark Brown wrote: On Sat, Feb 28, 2015 at 10:04:30PM -0500, Yakir Yang wrote: + ret = snd_soc_dai_set_fmt(cpu_dai, dai_fmt); + if (ret < 0) { + dev_err(cpu_dai->dev, "failed to set cpu_dai fmt.\n"); + return ret; + }

[PATCH] [RESEND] drivers: bus: omap_l3: remove deprecated IRQF_DISABLED

2015-03-26 Thread Michael Opdenacker
This patch removes the use of the IRQF_DISABLED flag from drivers/bus/omap_l3_* It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker Acked-by: Santosh Shilimkar --- drivers/bus/omap_l3_noc.c | 4 ++-- drivers/bus/omap_l3_smx.c | 6 ++ 2 files changed,

[PATCH] [RESEND] cpqarray: remove deprecated IRQF_DISABLED

2015-03-26 Thread Michael Opdenacker
This patch removes the use of the IRQF_DISABLED flag from drivers/block/cpqarray.c It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/block/cpqarray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFCv2] mm: page allocation for less fragmentation

2015-03-26 Thread Gioh Kim
2015-03-26 오후 7:28에 Mel Gorman 이(가) 쓴 글: On Thu, Mar 26, 2015 at 06:16:22AM +0900, Gioh Kim wrote: 2015-03-25 ?? 7:56??? Mel Gorman ???(???) ??? ???: On Wed, Mar 25, 2015 at 11:39:15AM +0900, Gioh Kim wrote: My driver allocates more than 40MB pages via alloc_page() at a time and maps

[PATCH] [RESEND] aic7xxx: replace kmalloc/memset by kzalloc

2015-03-26 Thread Michael Opdenacker
This replaces kmalloc + memset by a call to kzalloc This also fixes one checkpatch.pl issue in the process. This improvement was suggested by "make coccicheck" Signed-off-by: Michael Opdenacker Reviewed-by: Hannes Reinecke --- drivers/scsi/aic7xxx/aic79xx_core.c | 3 +--

Re: missing MS_RDONLY check in fsync

2015-03-26 Thread Matt
Hi Sanidhya, you might be interested in the following patch by Richard Yao: http://marc.info/?l=linux-fsdevel=141523828324345=2 [PATCH v4 1/1] vfs: Respect MS_RDONLY at bind mount creation Regards Matt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 1/2] spi/rockchip: Round up clock rate divisor to err on the safe side

2015-03-26 Thread Mark Brown
On Thu, Mar 26, 2015 at 04:30:24PM -0700, Julius Werner wrote: > The Rockchip SPI driver currently calculates its clock rate divisor by > integer dividing the parent rate by the target rate, and then rounding > the result up to the next even number (since the divisor must be > even). Applied

Kernel warning at fs/btrfs/inode.c:8693 btrfs_destroy_inode+0x1fa/0x2a0 [btrfs]()

2015-03-26 Thread Nikolaus Rath
Hello, I'm running 4.0-rc3, and I'm regularly getting these warnings in my kernel log: Mar 26 17:31:13 vostro kernel: [21480.088671] [ cut here ] Mar 26 17:31:13 vostro kernel: [21480.088682] WARNING: CPU: 0 PID: 28958 at fs/btrfs/inode.c:8693

Re: [PATCH] [RESEND] aic7xxx: replace kmalloc/memset by kzalloc

2015-03-26 Thread Michael Opdenacker
On 03/24/2015 04:16 PM, Elliott, Robert (Server Storage) wrote: > > It was a reply to the original post on 2014-10-16, not the resend > this month. > > From http://permalink.gmane.org/gmane.linux.kernel/1808168: > > kcalloc is helpful when one of the values is a variable that > might cause the

Re: [LKP] [xfs] 834ffca6f7e: WARNING: CPU: 3 PID: 23390 at fs/xfs/xfs_file.c:700 xfs_file_dio_aio_write+0x27c/0x2e0()

2015-03-26 Thread Huang Ying
On Fri, 2015-03-27 at 08:22 +1100, Dave Chinner wrote: > On Thu, Mar 26, 2015 at 02:45:19PM +0800, Huang Ying wrote: > > FYI, we noticed the below changes on > > > > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit 834ffca6f7e345a79f6f2e2d131b0dfba8a4b67a ("xfs:

Re: [PATCH 2/2] spi/rockchip: Add device tree property to configure Rx Sample Delay

2015-03-26 Thread Doug Anderson
Julius, On Thu, Mar 26, 2015 at 4:30 PM, Julius Werner wrote: > We have found that we can sometimes see read failures on boards with > high-capacitance SPI lines. It seems that the controller samples the Rx > data line too early, and its register interface has an "Rx Sample Delay" > setting to

Re: [PATCH] ASoC: Add support for NAU8824 codec to ASoC

2015-03-26 Thread Mark Brown
On Thu, Mar 26, 2015 at 02:58:53PM -0700, Chih-Chiang Chang wrote: > On 3/6/2015 1:07 PM, Mark Brown wrote: > > On Fri, Mar 06, 2015 at 03:28:33PM +0800, Chih-Chiang Chang wrote: > > Please fix your mailer to word wrap within paragraphs, it makes things a > > lot easier to read. > This seems to

Re: [PATCH 1/2] spi/rockchip: Round up clock rate divisor to err on the safe side

2015-03-26 Thread Doug Anderson
Julius, On Thu, Mar 26, 2015 at 4:30 PM, Julius Werner wrote: > The Rockchip SPI driver currently calculates its clock rate divisor by > integer dividing the parent rate by the target rate, and then rounding > the result up to the next even number (since the divisor must be > even). > > Clock

linux-next: build failure after merge of the arm64 tree

2015-03-26 Thread Stephen Rothwell
Hi Catalin, Yesterday's linux-next overnight builds (most arm builds) failed like this: ./arch/arm/kernel/vmlinux.lds:677: undefined symbol `__hyp_idmap_size' referenced in expression See, for example, http://kisskb.ellerman.id.au/kisskb/buildresult/12391163/ . Have a look at

Re: [PATCH v3 2/2] powerpc/mm: Tracking vDSO remap

2015-03-26 Thread Benjamin Herrenschmidt
On Thu, 2015-03-26 at 10:43 +0100, Ingo Molnar wrote: > * Benjamin Herrenschmidt wrote: > > > On Wed, 2015-03-25 at 19:36 +0100, Ingo Molnar wrote: > > > * Ingo Molnar wrote: > > > > > > > > +#define __HAVE_ARCH_REMAP > > > > > +static inline void arch_remap(struct mm_struct *mm, > > > > > +

  1   2   3   4   5   6   7   8   9   10   >