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

2015-03-26 Thread Viresh Kumar
On 27 March 2015 at 12:02, Shilpasri G Bhat wrote: > The power and thermal safety of the system is taken care by an > On-Chip-Controller (OCC) which is real-time subsystem embedded within the > POWER8 > processor. OCC continuously monitors the memory and core temperature, the > total > system po

Re: security problem with seccomp-filter

2015-03-26 Thread Richard Weinberger
Cc'ing seccomp folks. On Fri, Mar 27, 2015 at 6:56 AM, Felix von Leitner wrote: > Hi, > > I have had some great success with seccomp-filter a while ago, so I > decided to use it to add some defense in depth to a ping program I wrote. > > The premise is, like for all ping programs I assume, that i

Re: [PATCH 0/9] qspinlock stuff -v15

2015-03-26 Thread Raghavendra K T
On 03/16/2015 06:46 PM, Peter Zijlstra wrote: Hi Waiman, As promised; here is the paravirt stuff I did during the trip to BOS last week. All the !paravirt patches are more or less the same as before (the only real change is the copyright lines in the first patch). The paravirt stuff is 'simple

RE: [v3 24/26] KVM: Update Posted-Interrupts Descriptor when vCPU is blocked

2015-03-26 Thread Wu, Feng
> -Original Message- > From: Marcelo Tosatti [mailto:mtosa...@redhat.com] > Sent: Thursday, March 26, 2015 7:18 AM > To: Wu, Feng; h...@zytor.com > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; > g...@kernel.org; pbonz...@redhat.com; dw...@infradead.org; > j..

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

2015-03-26 Thread Hajime Tazaki
Hi Richard, At Thu, 26 Mar 2015 19:55:06 +0100, Richard Weinberger wrote: > >> feeling that "lib" is the wrong name. > >> It has not much do to with an architecture. > > > > could you care to elaborate your feeling more explicitly ? > > > > what is an architecture here and what is _not_ an > >

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

2015-03-26 Thread Shilpasri G Bhat
Hi Viresh, On 03/27/2015 10:05 AM, Viresh Kumar wrote: > 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 d

[PATCH V2 5/7] scsi: storvsc: Fix a bug in copy_from_bounce_buffer()

2015-03-26 Thread K. Y. Srinivasan
We may exit this function without properly freeing up the maapings we may have acquired. Fix the bug. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li Cc: --- drivers/scsi/storvsc_drv.c | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/scsi/stor

[PATCH V2 2/7] scsi: storvsc: Size the queue depth based on the ringbuffer size

2015-03-26 Thread K. Y. Srinivasan
Size the queue depth based on the ringbuffer size. Also accomodate for the fact that we could have multiple channels (ringbuffers) per adaptor. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- v2: Fixed a bug in computing queue depth: Venkatesh Srinivas drivers/scsi/storvsc_dr

[PATCH V2 1/7] scsi: storvsc: Increase the ring buffer size

2015-03-26 Thread K. Y. Srinivasan
Increase the default ring buffer size as this can significantly improve performance especially on high latency storage back-ends. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers

[PATCH V2 3/7] scsi: storvsc: Always send on the selected outgoing channel

2015-03-26 Thread K. Y. Srinivasan
The current code always sent packets without data on the primary channel. Properly distribute sending of packets with no data amongst all available channels. I would like to thank Long Li for noticing this problem. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_dr

[PATCH V2 4/7] scsi: storvsc: Retrieve information about the capability of the target

2015-03-26 Thread K. Y. Srinivasan
The storage protocol informs the guest of the I/O capabilities of the storage stack. Retrieve this information and use it in the guest. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH 7/7] scsi: storvsc: Set the tablesize based on the information given by the host

2015-03-26 Thread K. Y. Srinivasan
Set the tablesize based on the information given by the host. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li Tested-by: Long Li --- drivers/scsi/storvsc_drv.c | 89 +++ 1 files changed, 64 insertions(+), 25 deletions(-) diff --git a/drivers/scsi

[PATCH V2 6/7] scsi: storvsc: Don't assume that the scatterlist is not chained

2015-03-26 Thread K. Y. Srinivasan
The current code assumes that the scatterlists presented are not chained. Fix the code to not make this assumption. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- V2: Got rid of double assignment. Olaf Hering drivers/scsi/storvsc_drv.c | 99 +

[PATCH V2 0/7] scsi: storvsc: Miscellaneous enhancements and fixes

2015-03-26 Thread K. Y. Srinivasan
This patch-set addresses perf issues discovered on the Azure storage stack. These patches also fix a couple of bugs. As in the first version of this patch-set, some of the patches are simply a resend. I have bumped up the version number of all patches though. In this version, I have addressed is

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

2015-03-26 Thread Andrew Morton
On Fri, 27 Mar 2015 06:41:25 +0100 Volker Lendecke wrote: > On Thu, Mar 26, 2015 at 08:28:24PM -0700, Andrew Morton wrote: > > A thing which bugs me about pread2() is that it is specifically > > tailored to applications which are able to use a partial read result. > > ie, by sending it over the

Re: [PATCH v8]: clk: Add common clock support for Mediatek MT8135 and MT8173

2015-03-26 Thread Sascha Hauer
Mike, Stephen, Any chance to get this forward please? Sascha On Thu, Mar 19, 2015 at 09:42:04AM +0100, Sascha Hauer wrote: > > The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: > > Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) > > are available in the git repository a

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

2015-03-26 Thread Hajime Tazaki
Hi Rusty, At Fri, 27 Mar 2015 14:01:22 +1030, 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 no

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

2015-03-26 Thread Volker Lendecke
On Thu, Mar 26, 2015 at 08:28:24PM -0700, Andrew Morton wrote: > A thing which bugs me about pread2() is that it is specifically > tailored to applications which are able to use a partial read result. > ie, by sending it over the network. Can you explain what you mean by this? Samba gets a pread

security problem with seccomp-filter

2015-03-26 Thread Felix von Leitner
Hi, I have had some great success with seccomp-filter a while ago, so I decided to use it to add some defense in depth to a ping program I wrote. The premise is, like for all ping programs I assume, that it starts setuid root, gets a raw socket, drops privileges, parses the command line, potentia

Re: [PATCH V2 1/2] ARM: dts: DRA7: Add bandgap and related thermal nodes

2015-03-26 Thread Keerthy
On Tuesday 24 March 2015 01:09 AM, Nishanth Menon wrote: From: Keerthy Add bandgap and related thermal nodes. The patch adds 5 thermal sensors. Only one cooling device for mpu as of now. The sensors are the exact same on both dra72 and dra7. Introduce CPU, GPU, core nodes for the moment as th

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

2015-03-26 Thread Florian Fainelli
Hi Guenter, 2015-03-26 18:36 GMT-07:00 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

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 dw_mci_init_s

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 o

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 in

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: qcom

[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 suppo

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 experime

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 interru

[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 insertio

[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 --- fs/

[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 cha

[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) Signed-off

[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 fs/cifs/con

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 = tz

[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 b/tools/perf/.gitig

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 H

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 bala

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 tree.

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 the

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 > + !in_crash_

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 cra

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 cra

[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 generic

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 poin

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: Th

[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 newly

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 (whic

[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 --- a/fs/hpfs/super.

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 arch/lib

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 btrfs_destr

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 pwrit

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 known.

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. >> >> Sig

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 >> --- >> drivers/leds/leds-

[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 o

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 r

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 > > > > mm/zsmalloc.c~zsmalloc-re

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 load_b

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 prea

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 uninten

[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: HU:

[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 sta

[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 skip

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 a

[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 dat

[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 --- tools/perf/Documentation/perf-kmem.t

[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 Roec

[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 --- drivers/

[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 por

[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 b/drivers/net/

[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 10

[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 b/drivers/mtd/n

[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 insertion

[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 b/drivers/net

[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 +++ b/drivers/net/dsa/m

[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 -- drivers/

[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 75cf

[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 a/drivers/net/

[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 multi

[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 b/dri

[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(+) d

  1   2   3   4   5   6   7   8   9   >