[PATCH] bnx2x: Convert return 0 to return rc

2014-05-15 Thread Joe Perches
These "return 0;" uses seem wrong as there are rc variables where error return values are set but unused. Signed-off-by: Joe Perches --- Hey Ariel/Dmitry I've no idea what's right here, but the current code seems wrong. (or at least under-commented) It seems Dmitry changed these, perhaps to ma

Re: [PATCH v2] zram: remove global tb_lock with fine grain lock

2014-05-15 Thread Minchan Kim
Hello Andrew, On Thu, May 15, 2014 at 02:38:56PM -0700, Andrew Morton wrote: > On Thu, 15 May 2014 16:00:47 +0800 Weijie Yang > wrote: > > > Currently, we use a rwlock tb_lock to protect concurrent access to > > the whole zram meta table. However, according to the actual access model, > > there

Re: [PATCHSET 00/20] perf report: Add -F option for specifying output fields (v5)

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 15:54:57 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:33PM +0900, Namhyung Kim wrote: > > SNIP > >> $ perf report -F sym,sample -s overhead >> ... >> # Symbol Samples Overhead >> # .. >

Re: [PATCH 12/20] perf tools: Add ->sort() member to struct sort_entry

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 15:43:10 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:45PM +0900, Namhyung Kim wrote: > > SNIP > >> +static int64_t >> +sort__sym_sort(struct hist_entry *left, struct hist_entry *right) >> +{ >> +if (!left->ms.sym || !right->ms.sym) >> +return cmp_null

[PATCH] perf_tools/sched: cleanup, remove unused variables in map_switch_event().

2014-05-15 Thread Dongsheng Yang
In map_switch_event(), we don't care the previous process currently, this patch remove the infomation we get but not used. Signed-off-by: Dongsheng Yang --- tools/perf/builtin-sched.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/perf/builtin-sched.c b/tools/per

Re: [PATCH 11/20] perf report: Add -F option to specify output fields

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 15:17:17 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:44PM +0900, Namhyung Kim wrote: > > SNIP > >> + >> +int setup_output_field(void) >> +{ >> +char *tmp, *tok, *str; >> +int ret = 0; >> + >> +if (field_order == NULL) >> +goto out; >> + >> +

Re: [PATCH v6] mm: support madvise(MADV_FREE)

2014-05-15 Thread Minchan Kim
Hey, Hannes, Please take a rest during holidays but really thanksful to you! On Thu, May 15, 2014 at 11:46:58AM -0400, Johannes Weiner wrote: > Hi Minchan, > > On Mon, May 12, 2014 at 10:26:28AM +0900, Minchan Kim wrote: > > Linux doesn't have an ability to free pages lazy while other OS > > alre

Re: [PATCH 08/20] perf tools: Allow hpp fields to be sort keys

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 14:51:32 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:41PM +0900, Namhyung Kim wrote: > > SNIP > >> +static struct hpp_dimension hpp_sort_dimensions[] = { >> +DIM(PERF_HPP__OVERHEAD, "overhead"), >> +DIM(PERF_HPP__OVERHEAD_SYS, "overhead_sys"), >> +DIM(PER

Re: [PATCH 08/20] perf tools: Allow hpp fields to be sort keys

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 15:07:28 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:41PM +0900, Namhyung Kim wrote: >> Add overhead{,_sys,_us,_guest_sys,_guest_us}, sample and period sort >> keys so that they can be selected with --sort/-s option. >> >> $ perf report -s period,comm --stdio >>

Re: [PATCH v3 00/15] PCI/iommu: Fix DMA alias problems

2014-05-15 Thread colin
Alex Williamson wrote: > Wow, I didn't think that kind of broken was possible. Maybe instead of > a bitmap of function aliases we could have a single devfn alias for a > device. That means we'd only be able to support a single alias for a > device, but since I don't think we've seen devices that

Re: [PATCH 06/20] perf tools: Consolidate output field handling to hpp format routines

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 14:11:52 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:39PM +0900, Namhyung Kim wrote: > > SNIP > >> diff --git a/tools/perf/ui/stdio/hist.c b/tools/perf/ui/stdio/hist.c >> index 9eccf7f4f367..e6920d124c60 100644 >> --- a/tools/perf/ui/stdio/hist.c >> +++ b/tools/perf/

Re: [PATCH 06/20] perf tools: Consolidate output field handling to hpp format routines

2014-05-15 Thread Namhyung Kim
On Thu, 15 May 2014 14:07:04 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:39PM +0900, Namhyung Kim wrote: > > SNIP > >> -} >> - >> if (symbol_conf.use_callchain && sort__has_sym) { >> if (callchain_param.mode == CHAIN_GRAPH_REL) >>

Re: [PATCH 04/20] perf tools: Support event grouping in hpp ->sort()

2014-05-15 Thread Namhyung Kim
Hi Jiri, On Thu, 15 May 2014 13:43:15 +0200, Jiri Olsa wrote: > On Mon, May 12, 2014 at 03:28:37PM +0900, Namhyung Kim wrote: > > SNIP > >> +static int __hpp__sort(struct hist_entry *a, struct hist_entry *b, >> + hpp_field_fn get_field) >> +{ >> +s64 ret; >> +int i, nr_me

[PATCH RFC] sched,numa: move tasks to preferred_node at wakeup time

2014-05-15 Thread Rik van Riel
I do not have performance numbers in yet, but with this patch on top of all the previous ones, I see RMA/LMA ratios (as reported by numatop) drop well below 1 for a SPECjbb2013, most of the time. In other words, we actually manage to run the processes where their memory is most of the time. Someti

Re: [PATCH] cpufreq: Tegra: drop wrapper around tegra_update_cpu_speed()

2014-05-15 Thread Viresh Kumar
On 16 May 2014 00:14, Stephen Warren wrote: > On 05/14/2014 11:51 PM, Viresh Kumar wrote: >> Tegra has implemented an unnecessary wrapper over tegra_update_cpu_speed(), >> i.e. >> tegra_target(), which wasn't doing anything apart of calling >> tegra_update_cpu_speed(). Get rid of that and use teg

Re: [RFC] cpufreq: send notifications for intermediate (stable) frequencies

2014-05-15 Thread Viresh Kumar
On 16 May 2014 00:47, Stephen Warren wrote: > This seems rather complex. Can't either the driver or the cpufreq core > be responsible for all of the notifications? Otherwise, the logic gets > rather complex, and spread between the core and the driver. I do agree about that and that's why added th

Re: [RFC] cpufreq: send notifications for intermediate (stable) frequencies

2014-05-15 Thread Viresh Kumar
On 15 May 2014 23:43, Doug Anderson wrote: > This will have the side effect of sending twice as many notifications. > ...however it does allow for people registering for CPUFREQ > notifications to be more generic... That's not a side effect of this approach but the way platforms are handling it,

Re: [PATCH v6 14/17] ARM: mvebu: add Device Tree description of xHCI controllers on Armada 38x

2014-05-15 Thread Jason Cooper
On Thu, May 15, 2014 at 12:17:39PM +0200, Gregory CLEMENT wrote: > The Marvell Armada 38x SoCs contains two xHCI controllers. This commit > adds the Device Tree description of those interfaces at the SoC level, > and also enables the two USB3 ports on the Armada 385 DB platform and > one USB3 port

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

2014-05-15 Thread Takashi Iwai
At Thu, 15 May 2014 21:21:12 +0200, Lars-Peter Clausen wrote: > > On 05/15/2014 02:01 PM, Tushar Behera wrote: > > On 14 May 2014 17:54, Lars-Peter Clausen wrote: > >> On 05/14/2014 02:07 PM, Tushar Behera wrote: > >>> > >>> On 14 May 2014 17:29, Jassi Brar wrote: > > On Wed, May 14, 2

Re: [PATCH v6 12/17] ARM: configs: enable XHCI mvebu support in mvebu_v7_defconfig

2014-05-15 Thread Jason Cooper
On Thu, May 15, 2014 at 12:17:37PM +0200, Gregory CLEMENT wrote: > The Marvell Armada 38x platform needs the xhci_mvebu driver enabled > for the xHCI USB hosts, so this commit enables the corresponding > Kconfig option in mvebu_v7_defconfig. > > Signed-off-by: Gregory CLEMENT > Signed-off-by: Tho

Re: [PATCH v6 10/17] ARM: mvebu: add USB3 support for Armada 38x

2014-05-15 Thread Jason Cooper
On Thu, May 15, 2014 at 12:17:35PM +0200, Gregory CLEMENT wrote: > This patch adds the selection of the config symbol needed to build the > USB3 support for Armada 38x into mvebu_v7_defconfig. > > Signed-off-by: Gregory CLEMENT > Signed-off-by: Thomas Petazzoni > --- > arch/arm/mach-mvebu/Kconf

Re: [PATCH 2/2] bluetooth: raise HCI_CMD_TIMEOUT from 2s to 8s

2014-05-15 Thread Alexander Holler
Am 15.05.2014 17:19, schrieb Alexander Holler: Am 15.05.2014 16:50, schrieb Alexander Holler: Am 15.05.2014 14:54, schrieb Luiz Augusto von Dentz: This timeout seems arbitrary so I suppose we can increase it if we feel it is necessary but we used already different timeout for different comman

[PATCH staging-next] goldfish: pipe: fix warnings for 32bit builds

2014-05-15 Thread Octavian Purdila
drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status': drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writel((u32)(u64)pipe, dev->base + PIPE_REG_CHANNEL); ^ drivers/plat

[PATCH staging-next] goldfish: bus: fix warnings for 32bit builds

2014-05-15 Thread Octavian Purdila
drivers/platform/goldfish/pdev_bus.c: In function 'goldfish_new_pdev': drivers/platform/goldfish/pdev_bus.c:136:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writel((u32)(u64)name, pdev_bus_base + PDEV_BUS_GET_NAME); Reported-by: Fengguang Wu Cc: Jun Tian

[PATCH v3] pwm: i.MX: Avoid sample FIFO overflow for i.MX PWM version2

2014-05-15 Thread Liu Ying
The i.MX PWM version2 is embedded in several i.MX SoCs, such as i.MX27, i.MX51 and i.MX6SL. There are four 16bit sample FIFOs in this IP, each of which determines the duty period of a PWM waveform in one full cycle. The IP spec mentions that we should not write a fourth sample because the FIFOs w

Re: [PATCH] i915: Add module option to support VGA arbiter on HD devices

2014-05-15 Thread Alex Williamson
On Fri, 2014-05-16 at 00:50 +0200, Daniel Vetter wrote: > On Thu, May 15, 2014 at 11:43 PM, Alex Williamson > wrote: > > I don't know what to do with this. It seems like a lot of wishful > > thinking that in the best case would drag on for years. Even if we get > > VGA arbitration out of Xorg, t

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-15 Thread Greg Kroah-Hartman
On Fri, May 16, 2014 at 01:49:59AM +, Serge Hallyn wrote: > > I think having to pick and choose what device nodes you want in a > > container is a good thing. Becides, you would have to do the same thing > > in the kernel anyway, what's wrong with userspace making the decision > > here, especi

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

2014-05-15 Thread Michael wang
Hey, Mike :) On 05/16/2014 10:51 AM, Mike Galbraith wrote: > On Fri, 2014-05-16 at 10:23 +0800, Michael wang wrote: > >> But we found that one difference when group get deeper is the tasks of >> that group become to gathered on CPU more often, some time all the >> dbench instances was running on

Re: perfevents: irq loop stuck!

2014-05-15 Thread Vince Weaver
On Thu, 15 May 2014, Peter Zijlstra wrote: > > So, not sure how to fix this without a total re-write, unless we want to > > cheat and just say sample_period is capped at 62-bits or something. > > 63 bits should do I think, but yes, we hit a very similar but a few days > ago in the sched_deadline

[PATCH RFC] sched,numa: decay wakee_flips instead of zeroing

2014-05-15 Thread Rik van Riel
Affine wakeups have the potential to interfere with NUMA placement. If a task wakes up too many other tasks, affine wakeups will get disabled. However, regardless of how many other tasks it wakes up, it gets re-enabled once a second, potentially interfering with NUMA placement of other tasks. By

[PATCH] sched/fair: cleanup, clamp values with macros clamp() and max().

2014-05-15 Thread Dongsheng Yang
Rather than use "if" to check and clamp values to allowed minmum or maxmum, this patch use macros clamp() and max() to clean it up. Signed-off-by: Dongsheng Yang --- kernel/sched/fair.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched

Re: [PATCH v5 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420

2014-05-15 Thread Chander Kashyap
Hi Tomasz, On 16 May 2014 02:56, Tomasz Figa wrote: > Hi Chander, > > On 14.05.2014 10:03, Chander Kashyap wrote: >> Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle >> driver. >> Hence do not allow exynos cpuidle driver registration for Exynos5420. >> >> Signed-off-by: Ch

Re: [PATCH v2 00/15] PCI/iommu: Fix DMA alias problems

2014-05-15 Thread Alex Williamson
On Fri, 2014-05-16 at 07:45 +0800, Andrew Cooks wrote: > Hi Alex > > On Fri, May 16, 2014 at 1:43 AM, Alex Williamson > wrote: > > On Thu, 2014-05-15 at 07:40 +0800, Andrew Cooks wrote: > >> Hi Alex > >> > >> On Fri, May 9, 2014 at 11:28 PM, Alex Williamson > >> wrote: > >> > > >> > > >> >

Re: [PATCH] usb: dwc3: gadget: check link trb after free_slot is increased

2014-05-15 Thread Zhuang Jin Can
Hi On Thu, May 15, 2014 at 10:37:57AM -0500, Felipe Balbi wrote: > Hi > > On Fri, May 16, 2014 at 05:57:57AM +0800, Zhuang Jin Can wrote: > > In ISOC transfers, when free_slot points to the last TRB (i.e. Link > > TRB), and all queued requests meet Missed Interval Isoc error, busy_slot > > points

Re: workqueue: WARN at at kernel/workqueue.c:2176

2014-05-15 Thread Lai Jiangshan
On 05/15/2014 12:52 AM, Jason J. Herne wrote: > On 05/12/2014 10:17 PM, Sasha Levin wrote: >> I don't have an easy way to reproduce it as I only saw the bug once, but >> it happened when I started pressuring CPU hotplug paths by adding and >> removing >> CPUs often. Maybe it has anything to do wit

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-05-15 Thread Satish Patel
On 1/30/2014 6:35 PM, Greg KH wrote: On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed ** removed "gpio_to_irq" as GPIO controller process cell from DT and give it to DT node ** comments on d

Re: Bug? Older 32 bit program (CivCTP) no longer works under 64 bit kernel

2014-05-15 Thread Ken Moffat
On Thu, May 15, 2014 at 08:24:05PM -0500, David Hagood wrote: > I have an old native Linux 32 bit copy of Civilization: Call to Power. It > used to work under a 64 bit environment back in the 3.0.x days. However, > under recent versions (>3.5) it no longer runs - it complains that it cannot > find

Re: [PATCH] ARM: at91: remove ISI code for AT91SAM9263

2014-05-15 Thread Josh Wu
Hi, Paul On 5/15/2014 4:34 PM, Paul Bolle wrote: In v2.6.25 code was added for an Image Sensor Interface (ISI) for AT91SAM9263. That code depended on the Kconfig macro CONFIG_VIDEO_AT91_ISI and its MODULE variant. The related Kconfig symbol has never been added to the tree. The net effect of thi

Re: [PATCH] net: phy: Don't call phy_resume if phy_init_hw failed

2014-05-15 Thread David Miller
From: Guenter Roeck Date: Wed, 14 May 2014 13:12:49 -0700 > After the call to phy_init_hw failed in phy_attach_direct, phy_detach is > called > to detach the phy device from its network device. If the attached driver is a > generic phy driver, this also detaches the driver. Subsequently phy_resu

Re: [PATCH 2/3] of: Make of_find_node_by_path() handle /aliases

2014-05-15 Thread Frank Rowand
On 5/13/2014 7:58 AM, Grant Likely wrote: > Make of_find_node_by_path() handle aliases as prefixes. To make this > work the name search is refactored to search by path component instead > of by full string. This should be a more efficient search, and it makes > it possible to start a search at a su

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

2014-05-15 Thread Mike Galbraith
On Fri, 2014-05-16 at 10:23 +0800, Michael wang wrote: > But we found that one difference when group get deeper is the tasks of > that group become to gathered on CPU more often, some time all the > dbench instances was running on the same CPU, this won't happen for l1 > group, may could explain w

Re: [PATCH v1 2/5] pci: designware: enhancements to support keystone pcie

2014-05-15 Thread Jingoo Han
On Friday, May 16, 2014 1:01 AM, Murali Karicheri wrote: > > keystone pcie hardware is based on designware hw version 3.65. > There is no support for ATU port and has registers in > application space to configure inbound/outbound access. Also > doesn't support PCI PVM option. The MSI IRQ registers

[PATCH 1/1] mem-hotplug: Avoid illegal state prefixed with legal state when changing state of memory_block.

2014-05-15 Thread Tang Chen
We use the following command to online a memory_block: echo online|online_kernel|online_movable > /sys/devices/system/memory/memoryXXX/state But, if we typed "online_movbale" by mistake (typo, not "online_movable"), it will be recognized as "online", and it will online the memory block success

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

2014-05-15 Thread Michael wang
On 05/15/2014 07:57 PM, Peter Zijlstra wrote: [snip] >> >> It's like: >> >> /cgroup/cpu/l1/l2/l3/l4/l5/l6/A >> >> about level 7, the issue can not be solved any more. > > That's pretty retarded and yeah, that's way past the point where things > make sense. You might be lucky and have l1-5 as

[GIT PULL] xfs: fixes for 3.15-rc6

2014-05-15 Thread Dave Chinner
Hi Linus, Can you please pull the updates listed below? I found a bunch of error sign issues while determine what we need to do to rid XFS of this problem permanently. A couple of the bugs are in data integirty operations, a couple more are in the new COLLAPSE_RANGE code. One of these came in thro

linux-next: manual merge of the net-next tree with the net tree

2014-05-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got conflicts in drivers/net/ethernet/altera/altera_msgdma.c and drivers/net/ethernet/altera/altera_sgdma.c between commit 898305806ad5 ("Altera TSE: Fix sparse errors and warnings") from the net tree and commit d42f157b3498 ("Altera TSE: Remov

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

2014-05-15 Thread Opensource [James Seong-Won Ban]
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, May 15, 2014 5:20 AM > To: Opensource [James Seong-Won Ban] > Cc: Liam Girdwood; Support Opensource; LKML; Guennadi Liakhovetski; > David Dajun Chen > Subject: Re: [RESEND PATCH V1] regulator: DA9211 : new

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-15 Thread Serge Hallyn
Quoting Greg Kroah-Hartman (gre...@linuxfoundation.org): > On Thu, May 15, 2014 at 05:42:54PM +, Serge Hallyn wrote: > > What exactly defines '"normal" use case for a container'? > > Well, I'd say "acting like a virtual machine" is a good start :) > > > Not too long ago much of what we can no

Re: [PATCHv2] ARM: ioremap: Fix static vm area boundary checking.

2014-05-15 Thread Richard Lee
On Fri, May 16, 2014 at 1:28 AM, Nicolas Pitre wrote: > On Thu, 15 May 2014, Richard Lee wrote: > >> Static vm area boundary check: >> >> paddr1 --->| | >> | | >> |---| <-\--- svm->vm->addr(is page aligned) >> paddr2 --->| ||

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 15:15 -0700, Greg Kroah-Hartman wrote: > On Thu, May 15, 2014 at 05:42:54PM +, Serge Hallyn wrote: > > What exactly defines '"normal" use case for a container'? > Well, I'd say "acting like a virtual machine" is a good start :) Ok... And virtual machines (VirtualBox, VM

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

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

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

2014-05-15 Thread Li Zefan
On2014/5/14 21:07, Tejun Heo wrote: > Hello, Li. > > On Wed, May 14, 2014 at 12:21:25PM +0800, Li Zefan wrote: >>> There are now use cases where controllers need to iterate through >>> csses regardless of their online state as long as they have positive >> >> What use cases are we talking about he

Bug? Older 32 bit program (CivCTP) no longer works under 64 bit kernel

2014-05-15 Thread David Hagood
I have an old native Linux 32 bit copy of Civilization: Call to Power. It used to work under a 64 bit environment back in the 3.0.x days. However, under recent versions (>3.5) it no longer runs - it complains that it cannot find certain files in the directory. The exact same code will run just

[PATCH v4 1/6] watchdog: Add API to trigger reboots

2014-05-15 Thread Guenter Roeck
Some hardware implements reboot through its watchdog hardware, for example by triggering a watchdog timeout. Platform specific code starts to spread into watchdog drivers, typically by setting pointers to a callback functions which is then called from the platform reset handler. To simplify code a

Re: [PATCH v1 0/5] Add Keystone PCIe controller driver

2014-05-15 Thread Jingoo Han
On Friday, May 16, 2014 1:01 AM, Murali Karicheri wrote: > > This patch adds a PCIe controller driver for Keystone SoCs. This > is based on the origin RFC patch that I had sent earlier. I have > incorporated following comments:- > > - Add a interrupt controller node for Legacy irq chip and use >

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Mateusz Guzik
On Fri, May 16, 2014 at 10:11:56AM +1000, Dave Chinner wrote: > On Fri, May 16, 2014 at 01:19:09AM +0200, Mateusz Guzik wrote: > > Except there is no log entry if /var got frozen (and this is not an > > imaginary example). > > Freezing the filesystem that the freezing daemon logs to is, well, a >

Re: [PATCH v12 11/31] documentation: iommu: add binding document of Exynos System MMU

2014-05-15 Thread Cho KyongHo
On Thu, 15 May 2014 22:37:31 +0200, Thierry Reding wrote: > On Mon, Apr 28, 2014 at 02:05:30PM +0200, Arnd Bergmann wrote: > [...] > > let me clarify by example: > > > > iommu@1 { > > compatible = "some,simple-iommu"; > > reg = <1>; > > #iommu-cells = <0>; /

[PATCH 3/3][Resend] ACPI / PM: Avoid resuming devices in ACPI PM domain during system suspend

2014-05-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Rework the ACPI PM domain's PM callbacks to avoid resuming devices during system suspend (in order to modify their wakeup settings etc.) if that isn't necessary. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/device_pm.c | 46 +++

[PATCH 0/3] (was: Re: PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily)

2014-05-15 Thread Rafael J. Wysocki
On Thursday, May 15, 2014 01:13:02 PM Rafael J. Wysocki wrote: > On Wednesday, May 14, 2014 10:53:16 AM Alan Stern wrote: > > On Tue, 13 May 2014, Rafael J. Wysocki wrote: [cut] > > > > if (dev->power.direct_complete) { > > if (pm_runtime_status_suspended(dev)) { > >

[PATCH 2/3] PM / sleep: Update device PM documentation to cover direct_complete

2014-05-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Update the device PM documentation in devices.txt and runtime_pm.txt to reflect the changes in the system suspend and resume handling related to the introduction of the new power.direct_complete flag. Signed-off-by: Rafael J. Wysocki --- Documentation/power/devices.txt

RE: ATTN

2014-05-15 Thread Hill, Joyce
2million USD donation to you from Evelyn,Con​tact her on ( cu36er...@rogers.com ) For more info N�r��yb�X��ǧv�^�)޺{.n�+{zX����ܨ}���Ơz�&j:+v���zZ+��+zf���h���~i���z��w���?�&�)ߢf��^jǫy�m��@A�a��� 0��h���i

[PATCH 1/3] PM / sleep: Mechanism to avoid resuming runtime-suspended devices unnecessarily

2014-05-15 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Currently, some subsystems (e.g. PCI and the ACPI PM domain) have to resume all runtime-suspended devices during system suspend, mostly because those devices may need to be reprogrammed due to different wakeup settings for system sleep and for runtime PM. For some devices

Alert...

2014-05-15 Thread Western Union Money Transfer
Congrats:You have won ( £500,000.00 Pounds )Contact Mr Andrew James:money.transfe...@qq.com ,Mobile:+447509531953 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordom

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

2014-05-15 Thread Michael Neuling
> So in sum, it very much looks like the intention is for > PTRACE_GETREGSET/PTRACE_SETREGSET to return ENODEV in the > case the regset doesn't exist on the running machine, and then > it looks like at least x86 works that way. Good point... agreed. We should ENODEV when we don't have TM hardware

Re: [PATCH v1 1/5] ARM: keystone: add pcie related options

2014-05-15 Thread Jingoo Han
On Friday, May 16, 2014 1:01 AM, Murali Karicheri wrote: > > Add pcie related options by default for keystone architecture > > CC: Santosh Shilimkar > CC: Russell King > > Signed-off-by: Murali Karicheri > --- > arch/arm/mach-keystone/Kconfig |2 ++ > 1 file changed, 2 insertions(+) > >

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Dave Chinner
On Fri, May 16, 2014 at 01:19:09AM +0200, Mateusz Guzik wrote: > On Fri, May 16, 2014 at 08:51:41AM +1000, Dave Chinner wrote: > > On Fri, May 16, 2014 at 12:34:40AM +0200, Mateusz Guzik wrote: > > > On Fri, May 16, 2014 at 08:21:35AM +1000, Dave Chinner wrote: > > > > > IOW, a new column in mounti

Re: [PATCH 2/2] sysrq,rcu: suppress RCU stall warnings while sysrq runs

2014-05-15 Thread Paul E. McKenney
On Thu, May 15, 2014 at 04:24:12PM -0700, Andrew Morton wrote: > On Tue, 29 Apr 2014 14:06:36 -0400 r...@redhat.com wrote: > > > From: Rik van Riel > > > > Some sysrq handlers can run for a long time, because they dump a lot > > of data onto a serial console. Having RCU stall warnings pop up in

Re: [PATCH v2 00/15] PCI/iommu: Fix DMA alias problems

2014-05-15 Thread Andrew Cooks
Hi Alex On Fri, May 16, 2014 at 1:43 AM, Alex Williamson wrote: > On Thu, 2014-05-15 at 07:40 +0800, Andrew Cooks wrote: >> Hi Alex >> >> On Fri, May 9, 2014 at 11:28 PM, Alex Williamson >> wrote: >> > >> > >> > Original description: >> > >> > This series attempts to fix a couple issues we'

Re: [PATCHv2 0/4] ACPI / LPSS: Solution for two issues seen on Asus T100

2014-05-15 Thread Li, Aubrey
On 2014/5/16 0:11, Mika Westerberg wrote: > On Thu, May 15, 2014 at 11:59:46PM +0800, Li, Aubrey wrote: >> On 2014/5/15 22:53, Andy Shevchenko wrote: >>> On Thu, 2014-05-15 at 22:35 +0800, Li, Aubrey wrote: On 2014/5/15 21:40, Heikki Krogerus wrote: > Changes since v1: > - now using do

[PATCH V2] checkpatch: Add warning for kmalloc/kzalloc with multiply

2014-05-15 Thread Joe Perches
Protect against sizeof overflows by preferring kmalloc_array/kcalloc over kmalloc/kzalloc with a sizeof multiply. Signed-off-by: Joe Perches --- V2: Make it a WARN instead. Add capability to --fix it too. scripts/checkpatch.pl | 24 1 file changed, 24 insertions(+)

Re: [PATCH 2/2] sysrq,rcu: suppress RCU stall warnings while sysrq runs

2014-05-15 Thread Andrew Morton
On Tue, 29 Apr 2014 14:06:36 -0400 r...@redhat.com wrote: > From: Rik van Riel > > Some sysrq handlers can run for a long time, because they dump a lot > of data onto a serial console. Having RCU stall warnings pop up in > the middle of them only makes the problem worse. > > This patch temporar

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Mateusz Guzik
On Fri, May 16, 2014 at 08:51:41AM +1000, Dave Chinner wrote: > On Fri, May 16, 2014 at 12:34:40AM +0200, Mateusz Guzik wrote: > > On Fri, May 16, 2014 at 08:21:35AM +1000, Dave Chinner wrote: > > > > IOW, a new column in mountinfo. For frozen filesystems it would contain > > > > 'frozen_by=[%s]:[%

Re: [PATCH] ARM: OMAP: replace checks for CONFIG_USB_GADGET_OMAP

2014-05-15 Thread Felipe Balbi
On Thu, May 15, 2014 at 10:55:45PM +0200, Paul Bolle wrote: > Commit 193ab2a60700 ("usb: gadget: allow multiple gadgets to be built") > apparently required that checks for CONFIG_USB_GADGET_OMAP would be > replaced with checks for CONFIG_USB_OMAP. Do so now for the remaining > checks for CONFIG_USB

Re: [PATCH] checkpatch: Add --strict test for kmalloc/kzalloc with multiply

2014-05-15 Thread Andrew Morton
On Thu, 15 May 2014 16:04:46 -0700 Joe Perches wrote: > On Thu, 2014-05-15 at 15:58 -0700, Andrew Morton wrote: > > On Tue, 13 May 2014 16:48:49 -0700 Joe Perches wrote: > > > Protect against sizeof overflows by preferring > > > kmalloc_array and kcalloc to kmalloc/kzalloc > > > with a sizeof mu

Re: [PATCH] checkpatch: Add --strict test for kmalloc/kzalloc with multiply

2014-05-15 Thread Joe Perches
On Thu, 2014-05-15 at 15:58 -0700, Andrew Morton wrote: > On Tue, 13 May 2014 16:48:49 -0700 Joe Perches wrote: > > Protect against sizeof overflows by preferring > > kmalloc_array and kcalloc to kmalloc/kzalloc > > with a sizeof multiply. [] > > +# check for k[mz]alloc with multiplies that could

Re: [PATCH] ARM: imx: clean up error handling

2014-05-15 Thread Emil Goode
Hello Dan, Thanks for the review and sorry for the late reply. On Thu, May 15, 2014 at 11:32:13PM +0300, Dan Carpenter wrote: > On Thu, May 15, 2014 at 09:24:30PM +0200, Emil Goode wrote: > > If we fail to allocate struct platform_device pdev we > > dereference it after the goto label err. > > >

[PATCH] sched: fix exec_start/task_hot on migrated tasks

2014-05-15 Thread Ben Segall
task_hot checks exec_start on any runnable task, but if it has been migrated since the it last ran, then exec_start is a clock_task from another cpu. If the old cpu's clock_task was sufficiently far ahead of this cpu's then the task will not be considered for another migration until it has run. Ins

Re: [PATCH] checkpatch: Add --strict test for kmalloc/kzalloc with multiply

2014-05-15 Thread Andrew Morton
On Tue, 13 May 2014 16:48:49 -0700 Joe Perches wrote: > Protect against sizeof overflows by preferring > kmalloc_array and kcalloc to kmalloc/kzalloc > with a sizeof multiply. > > ... > > --- a/scripts/checkpatch.pl > +++ b/scripts/checkpatch.pl > @@ -4378,6 +4378,20 @@ sub process { >

Re: [PATCH v3 0/6] acerhdf/thermal: adding new models, appropriate governor and minor clean up

2014-05-15 Thread Peter Feuerer
Hi Eduardo, Eduardo Valentin writes: Hello Peter, On Sat, May 03, 2014 at 07:59:20PM +0200, Peter Feuerer wrote: Hi, This patch series is intended to: * Introduce "manual mode" support (Patch 1 & 2), which is needed to control the fan of a few new models. * Add an appropriate ther

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Dave Chinner
On Fri, May 16, 2014 at 12:34:40AM +0200, Mateusz Guzik wrote: > On Fri, May 16, 2014 at 08:21:35AM +1000, Dave Chinner wrote: > > > IOW, a new column in mountinfo. For frozen filesystems it would contain > > > 'frozen_by=[%s]:[%d]' (escaped comm, pid). > > > > I really don't see that the process

Re: [PATCH] i915: Add module option to support VGA arbiter on HD devices

2014-05-15 Thread Daniel Vetter
On Thu, May 15, 2014 at 11:43 PM, Alex Williamson wrote: > I don't know what to do with this. It seems like a lot of wishful > thinking that in the best case would drag on for years. Even if we get > VGA arbitration out of Xorg, the bit about making the userspace VGA > arbiter interface lie depe

Hello From KM

2014-05-15 Thread KM
Good Day, Please let’s talk and see if we can partner together to achieve our various future goals. Lets talk about real business deal. Regards, KM -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] Fix for possible null pointer dereference in node.c

2014-05-15 Thread Dan Carpenter
On Thu, May 15, 2014 at 11:53:53PM +0200, Rickard Strandqvist wrote: > There is otherwise a risk of a possible null pointer dereference. > None of the callers pass in a NULL hnode so there isn't actually a NULL dereference here. You could just remove the check. regards, dan carpenter -- To uns

Re: [PATCH] mm, hugetlb: move the error handle logic out of normal code path

2014-05-15 Thread Davidlohr Bueso
On Wed, 2014-05-14 at 15:10 +0800, Jianyu Zhan wrote: > alloc_huge_page() now mixes normal code path with error handle logic. > This patches move out the error handle logic, to make normal code > path more clean and redue code duplicate. > > Signed-off-by: Jianyu Zhan Acked-by: Davidlohr Bueso

Re: [PATCH] mm, hugetlb: move the error handle logic out of normal code path

2014-05-15 Thread Andrew Morton
On Thu, 15 May 2014 11:01:42 +0200 Michal Hocko wrote: > On Wed 14-05-14 15:10:59, Jianyu Zhan wrote: > > alloc_huge_page() now mixes normal code path with error handle logic. > > This patches move out the error handle logic, to make normal code > > path more clean and redue code duplicate. > >

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Mateusz Guzik
On Fri, May 16, 2014 at 08:21:35AM +1000, Dave Chinner wrote: > On Thu, May 15, 2014 at 12:47:48PM +0200, Mateusz Guzik wrote: > > On Thu, May 15, 2014 at 12:40:19PM +0200, Lukáš Czerner wrote: > > > On Wed, 14 May 2014, Eric Sandeen wrote: > > > > > > > Date: Wed, 14 May 2014 17:40:22 -0500 > > >

Re: bq24190: What's the correct API to turn boost mode (OTG) on for the battery charger ?

2014-05-15 Thread Laurent Pinchart
Hi Mark, Thank you for the quick reply. On Thursday 15 May 2014 15:08:44 Mark A. Greer wrote: > On Thu, May 15, 2014 at 10:29:26PM +0200, Laurent Pinchart wrote: > > Hello, > > [Adding Anton Vorontsov to CC list.] > > Hi Laurent. > > > I'm trying to enable battery charging on an OMAP4 board ba

Re: [PATCH 2/4] x86: SROP mitigation: implement signal canaries

2014-05-15 Thread Erik Bosman
On Thu, May 15, 2014 at 02:31:40PM -0700, Andi Kleen wrote: > Erik Bosman writes: > > > > > diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c > > index 2206757..1a9285a 100644 > > --- a/arch/x86/ia32/ia32_signal.c > > +++ b/arch/x86/ia32/ia32_signal.c > > @@ -212,9 +212,18

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Dave Chinner
On Thu, May 15, 2014 at 12:47:48PM +0200, Mateusz Guzik wrote: > On Thu, May 15, 2014 at 12:40:19PM +0200, Lukáš Czerner wrote: > > On Wed, 14 May 2014, Eric Sandeen wrote: > > > > > Date: Wed, 14 May 2014 17:40:22 -0500 > > > From: Eric Sandeen > > > Reply-To: sand...@redhat.com > > > To: Dave C

[PATCH] tools lib traceevent: Added support for __get_bitmask() macro

2014-05-15 Thread Steven Rostedt
Coming in v3.16, trace events will be able to save bitmasks in raw format in the ring buffer and output it with the __get_bitmask() macro. In order for userspace tools to parse this, it must be able to handle the __get_bitmask() call and be able to convert the data that's in the ring buffer into

Re: [PATCH 1/3] lib: add glibc style strchrnul() variant

2014-05-15 Thread Frank Rowand
On 5/13/2014 7:58 AM, Grant Likely wrote: > The strchrnul() variant helpfully returns a the end of the string > instead of a NULL if the requested character is not found. This can > simplify string parsing code since it doesn't need to expicitly check > for a NULL return. If a valid string pointer

Re: [PATCH V2 2/2] fs: print a message when freezing/unfreezing filesystems

2014-05-15 Thread Dave Chinner
On Thu, May 15, 2014 at 12:13:56PM +0200, Jan Kara wrote: > On Thu 15-05-14 08:37:45, Dave Chinner wrote: > > On Thu, May 15, 2014 at 08:00:52AM +1000, Dave Chinner wrote: > > > On Wed, May 14, 2014 at 01:39:45PM +0200, Jan Kara wrote: > > > > On Wed 14-05-14 13:26:21, Mateusz Guzik wrote: > > > >

Re: bq24190: What's the correct API to turn boost mode (OTG) on for the battery charger ?

2014-05-15 Thread Mark A. Greer
On Thu, May 15, 2014 at 10:29:26PM +0200, Laurent Pinchart wrote: > Hello, [Adding Anton Vorontsov to CC list.] Hi Laurent. > I'm trying to enable battery charging on an OMAP4 board based on a twl6030 > PMIC with external bq24190 battery charger and bq27510 fuel gauge. > > The system has an OT

Re: mm: NULL ptr deref handling mmaping of special mappings

2014-05-15 Thread Andy Lutomirski
On Thu, May 15, 2014 at 2:57 PM, Cyrill Gorcunov wrote: > On Thu, May 15, 2014 at 02:42:48PM -0700, Andy Lutomirski wrote: >> > >> > Looking forward the question appear -- will VDSO_PREV_PAGES and rest of >> > variables >> > be kind of immutable constants? If yes, we could calculate where the >>

Re: [PATCH] Fix for possible null pointer dereference in node.c

2014-05-15 Thread Rickard Strandqvist
Hi all, and Greg! Good idea! I will do it in all the other mail. Best regards Rickard Strandqvist 2014-05-16 0:08 GMT+02:00 Greg Kroah-Hartman : > On Thu, May 15, 2014 at 11:53:53PM +0200, Rickard Strandqvist wrote: >> There is otherwise a risk of a possible null pointer dereference. >> >> Was

Re: [lxc-devel] [RFC PATCH 00/11] Add support for devtmpfs in user namespaces

2014-05-15 Thread Greg Kroah-Hartman
On Thu, May 15, 2014 at 05:42:54PM +, Serge Hallyn wrote: > What exactly defines '"normal" use case for a container'? Well, I'd say "acting like a virtual machine" is a good start :) > Not too long ago much of what we can now do with network namespaces > was not a normal container use case.

Re: [PATCH] Fix for possible null pointer dereference in auth.c

2014-05-15 Thread Rickard Strandqvist
Hi I do not know, I'm not an expert on this code. But since there before was a if (cred) someone must have thought this could happen. Best regards Rickard Strandqvist 2014-05-16 0:07 GMT+02:00 Trond Myklebust : > On Thu, May 15, 2014 at 5:56 PM, Rickard Strandqvist > wrote: >> There is otherwi

Re: perf_fuzzer crash on pentium 4

2014-05-15 Thread Cyrill Gorcunov
On Thu, May 15, 2014 at 01:31:16AM -0400, Vince Weaver wrote: > On Thu, 15 May 2014, Cyrill Gorcunov wrote: > > > So I'm experiencing the same problem on latest -tip + my patches applied. > > glad it's not just me. > > I find the problem to be reproducible and so in theory it might be > possibl

Re: [PATCH] Fix for possible null pointer dereference in auth.c

2014-05-15 Thread Trond Myklebust
On Thu, May 15, 2014 at 5:56 PM, Rickard Strandqvist wrote: > There is otherwise a risk of a possible null pointer dereference. > > Was largely found by using a static code analysis program called cppcheck. > > Signed-off-by: Rickard Strandqvist > --- > net/sunrpc/auth.c | 10 +++--- > 1 f

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

2014-05-15 Thread Andi Kleen
From: Andi Kleen Fix the logic to allow overriding event default periods with -c or -F on the command line. I'm not sure I understand this if() fully, but this change makes all cases I tested work (tracepoint with default, default, ,-c, -F) This fixed specifying -c / -F with json event list eve

  1   2   3   4   5   6   7   8   9   >