[PATCH] extcon: palmas: explicitly set edev name as node name

2014-03-27 Thread Kishon Vijay Abraham I
commit ca488 (extcon: of: Remove unnecessary function call by using the name of device_node) started using node name instead of device name to get the extcon device. This breaks dwc3-omap since it's not able to get the extcon device anymore. Fixed it by setting edev name of palmas to be the same as

Re: [RFC II] Splitting scheduler into two halves

2014-03-27 Thread Mike Galbraith
On Fri, 2014-03-28 at 06:13 +0800, Yuyang Du wrote: > Spitting does feel brutal... FWIW, "split" stuck hard in my gullet because task placement is core fastpath mission. If the fastpath could afford to and did task placement perfectly, task placement EDC (if you will) mechanisms would not exist.

Re: [PATCH] Remove warning printk

2014-03-27 Thread Greg KH
On Thu, Mar 27, 2014 at 08:54:43PM -0700, Insop Song wrote: > Found from build with option -Werror=date-time > > Signed-off-by: Insop Song > Signed-off-by: Arnd Bergmann Did Arnd really sign off on this? And what is with the "odd" subject, your first email should have been the subject of this

RE: [PATCH] printk: add sleep time into timestamp

2014-03-27 Thread Neil Zhang
John, > -Original Message- > From: johnstul.l...@gmail.com [mailto:johnstul.l...@gmail.com] On Behalf > Of John Stultz > Sent: 2014年3月28日 11:18 > To: Neil Zhang > Cc: Andrew Morton; Linux Kernel Mailing List > Subject: Re: [PATCH] printk: add sleep time into timestamp > > On Thu, Mar 27,

Re: [PATCH 6/7] DMA: Freescale: use spin_lock_bh instead of spin_lock_irqsave

2014-03-27 Thread Hongbo Zhang
On 03/26/2014 03:01 PM, Vinod Koul wrote: On Thu, 2014-01-16 at 13:47 +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang The usage of spin_lock_irqsave() is a stronger locking mechanism than is required throughout the driver. The minimum locking required should be used instead. Inter

Re: [PATCH v1] net-sysfs: expose number of link up/down transitions

2014-03-27 Thread Jiri Pirko
Fri, Mar 28, 2014 at 05:35:00AM CET, de...@googlers.com wrote: >Tested: > grep . /sys/class/net/*/count_link_* > + ip link set dev X down/up > >Signed-off-by: David Decotigny >--- > include/linux/netdevice.h | 4 > net/core/net-sysfs.c | 18 ++ > net/sched/sch_generic.c

RE: [PATCH] regmap: Add REGMAP_ENDIAN_SWAP support for values.

2014-03-27 Thread li.xi...@freescale.com
> Subject: Re: [PATCH] regmap: Add REGMAP_ENDIAN_SWAP support for values. > > On Thu, Mar 27, 2014 at 04:17:39PM +0800, Xiubo Li wrote: > > > And using the REGMAP_ENDIAN_BIG and REGMAP_ENDIAN_LITTLE will make > > the driver a bit more complex, and also the usage of it. > > What's the complexity

Re: [RFC II] Splitting scheduler into two halves

2014-03-27 Thread Yuyang Du
Hi, I should have changed the subject to "Refining the load balancing interfaces". Spitting does feel brutal or too big a jump for now. But i doubt that would change your mind anyway. Overall, I interpret your comment as: calling for substantial stuff. Yay, working on it. Thanks, Yuyang On Thu,

Re: [PATCH v1] net-sysfs: expose number of link up/down transitions

2014-03-27 Thread Florian Fainelli
2014-03-27 22:17 GMT-07:00 Stephen Rothwell : > Hi David, > > On Thu, 27 Mar 2014 21:35:00 -0700 David Decotigny wrote: >> >> Tested: >> grep . /sys/class/net/*/count_link_* >> + ip link set dev X down/up >> >> Signed-off-by: David Decotigny > > It is not a very enlightening commit message.

[PATCH] regmap: mmio: Add regmap_mmio_regbits_check.

2014-03-27 Thread Xiubo Li
Fix the support for 1/2/8 bytes wide register address checking. Signed-off-by: Xiubo Li --- Sorry, this patch has been missed yesterday. drivers/base/regmap/regmap-mmio.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regmap-mmi

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

2014-03-27 Thread Stephen Rothwell
Hi all, On Thu, 6 Mar 2014 15:00:10 +1100 Stephen Rothwell wrote: > > On Mon, 24 Feb 2014 15:17:32 +1100 Stephen Rothwell > wrote: > > > > After merging the tip tree, today's linux-next build (arm > > multi_v7_defconfig) produced this warning: > > > > drivers/irqchip/irq-armada-370-xp.c:415:1

[PATCH] [media] uvcvideo: Fix clock param realtime setting

2014-03-27 Thread Olivier Langlois
timestamps in v4l2 buffers returned to userspace are updated in uvc_video_clock_update() which uses timestamps fetched from uvc_video_clock_decode() by calling unconditionally ktime_get_ts(). Hence setting the module clock param to realtime have no effect before this patch. This has been tested w

[PATCH 2/2] regulator: core: Add reg_ignore_unused to keep boot time regulators enabled

2014-03-27 Thread Tushar Behera
Keep all regulators already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform with proper driver support. Signed-off-by: Tushar Behera CC: Mark Brown --- Documentation/kernel-parameters.txt |8 +

[PATCH 0/2] Add reg_ignore_unused and pd_ignore_unused

2014-03-27 Thread Tushar Behera
These patches take inspiration from Olof's following patch. 1e435256d625 "clk: add clk_ignore_unused option to keep boot clocks on" This options are solely for debug purposes to figure out whether the issue at hand is because of improper shutdown of regulators or power-domains. Tushar Behera (2):

[PATCH 1/2] PM / Domains: Add pd_ignore_unused to keep power domains enabled

2014-03-27 Thread Tushar Behera
Keep all power-domains already enabled by bootloader on, even if no driver has claimed them. This is useful for debug and development, but should not be needed on a platform with proper driver support. Signed-off-by: Tushar Behera CC: "Rafael J. Wysocki" CC: linux...@vger.kernel.org --- Documen

Re: [PATCH v1] net-sysfs: expose number of link up/down transitions

2014-03-27 Thread Stephen Rothwell
Hi David, On Thu, 27 Mar 2014 21:35:00 -0700 David Decotigny wrote: > > Tested: > grep . /sys/class/net/*/count_link_* > + ip link set dev X down/up > > Signed-off-by: David Decotigny It is not a very enlightening commit message. You should tell us why we should add this to the kernel. -

Bila KHALID Sabotaj ANWAR - Siapa TOP BRASS Yang Ganggu Kerajaan Negeri?

2014-03-27 Thread Demi Malaysia
Assalamualaikum Saudara-Saudari, He has just concluded the water takeover with the federal government without even referring to or, at the very least, informing the party leaders of his intent. This even left Anwar red-faced when asked by reporters. However, Khalid is not bothered by what Anwar

[PATCH v1] net-sysfs: expose number of link up/down transitions

2014-03-27 Thread David Decotigny
Tested: grep . /sys/class/net/*/count_link_* + ip link set dev X down/up Signed-off-by: David Decotigny --- include/linux/netdevice.h | 4 net/core/net-sysfs.c | 18 ++ net/sched/sch_generic.c | 2 ++ 3 files changed, 24 insertions(+) diff --git a/include/linux

FW: [PATCHv2 0/2] Add big endian support

2014-03-27 Thread li.xi...@freescale.com
Forward to Shawn. Thanks, > -Original Message- > From: Xiubo Li [mailto:li.xi...@freescale.com] > Sent: Wednesday, March 26, 2014 10:22 AM > To: w...@iguana.be; w.s...@pengutronix.de; linux-watch...@vger.kernel.org; > li...@roeck-us.net > Cc: linux-kernel@vger.kernel.org; Xiubo Li-B47053

FW: [PATCHv2 2/2] watchdog: imx2_wdt: Add big-endian support

2014-03-27 Thread li.xi...@freescale.com
Forward to Shawn, Thanks, > -Original Message- > From: Xiubo Li [mailto:li.xi...@freescale.com] > Sent: Wednesday, March 26, 2014 10:22 AM > To: w...@iguana.be; w.s...@pengutronix.de; linux-watch...@vger.kernel.org; > li...@roeck-us.net > Cc: linux-kernel@vger.kernel.org; Xiubo Li-B4705

FW: [PATCHv2 1/2] watchdog: imx2_wdt: Sort the header files alphabetically

2014-03-27 Thread li.xi...@freescale.com
Forward to Shawn, Thanks, > -Original Message- > From: Xiubo Li [mailto:li.xi...@freescale.com] > Sent: Wednesday, March 26, 2014 10:22 AM > To: w...@iguana.be; w.s...@pengutronix.de; linux-watch...@vger.kernel.org; > li...@roeck-us.net > Cc: linux-kernel@vger.kernel.org; Xiubo Li-B4705

[PATCH] Remove warning printk

2014-03-27 Thread Insop Song
Found from build with option -Werror=date-time Signed-off-by: Insop Song Signed-off-by: Arnd Bergmann --- drivers/staging/gs_fpgaboot/gs_fpgaboot.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gs_fpgaboot/gs_fpgaboot.c b/drivers/staging/gs_fpgaboot/gs_fpgaboot.c index

[PATCH] staging: gs_fpgaboot: remove __TIMESTAMP__ macro

2014-03-27 Thread Insop Song
Remove warning Insop Song (1): Remove warning printk drivers/staging/gs_fpgaboot/gs_fpgaboot.c |1 - 1 file changed, 1 deletion(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [PATCH] [media] uvcvideo: Fix marking buffer erroneous in case of FID toggling

2014-03-27 Thread Anton Leontiev
26.03.2014 21:41, Laurent Pinchart wrote: > Hi Anton, > > Thank you for the patch. > > On Tuesday 25 March 2014 08:40:57 Anton Leontiev wrote: >> Set error bit for incomplete buffers when end of buffer is detected by >> FID toggling (for example when last transaction with EOF is lost). >> This pr

linux-next: manual merge of the tip tree with the arm-soc tree

2014-03-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/arm/mach-zynq/common.c between commit 016f4dcae81e ("ARM: zynq: Split slcr in two parts") from the arm-soc tree and commit cd325295871f ("arm: zynq: Add support for cpufreq") from the tip tree. I fixed it up (see below) and c

linux-next: manual merge of the tip tree with the arm-soc tree

2014-03-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/arm/mach-zynq/Kconfig between commits ddb902cc3459 ("ARM: centralize common multi-platform kconfig options") and 016f4dcae81e ("ARM: zynq: Split slcr in two parts") from the arm-soc tree and commits 61f1fc7e9258 ("arm: zynq: D

Re: [PATCH 3/7] DMA: Freescale: add fsl_dma_free_descriptor() to reduce code duplication

2014-03-27 Thread Hongbo Zhang
On 03/11/2014 07:06 PM, Vinod Koul wrote: On Thu, Jan 16, 2014 at 01:47:22PM +0800, hongbo.zh...@freescale.com wrote: From: Hongbo Zhang There are several places where descriptors are freed using identical code. This patch puts this code into a function to reduce code duplication. Signed-off

linux-next: manual merge of the tip tree with the arm-soc tree

2014-03-27 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in arch/arm/boot/dts/sun7i-a20.dtsi between commit 36ab3e73b7ac ("ARM: dt: sun7i: Add A20 SPI controller nodes") from the arm-soc tree and commit 8ff973a26763 ("ARM: sun7i/sun6i: dts: Add NMI irqchip support") from the tip tree. I fi

Re: [PATCH v5 1/3] mfd: Add realtek USB card reader driver

2014-03-27 Thread Roger
On 03/26/2014 10:36 PM, Oliver Neukum wrote: On Tue, 2014-03-25 at 18:44 +0800, rogera...@realtek.com wrote: From: Roger Tseng +static int rtsx_usb_probe(struct usb_interface *intf, +const struct usb_device_id *id) +{ + struct usb_device *usb_dev = interface_t

Re: [PATCH] drivers/staging/vt6655/iwctl.c fix a sparse warning

2014-03-27 Thread Jimmy Li
On Wed, Mar 26, 2014 at 12:42:43AM -0700, Jimmy Li wrote: > fix a sparse warning. > drivers/staging/vt6655/iwctl.c:1846:35: warning: cast from restricted > gfp_t > drivers/staging/vt6655/iwctl.c:1846:35: warning: incorrect type in > argument 2 (different base types) > drivers/staging/vt6655/iwctl.c

Re: [PATCH] printk: add sleep time into timestamp

2014-03-27 Thread John Stultz
On Thu, Mar 27, 2014 at 1:17 AM, Neil Zhang wrote: > Add sleep time into timestamp to reflect the actual time since > sched_clock will be stopped during suspend. So why is this change necessary? Further, since the sleep time may be updated a bit late in the resume cycle (in many cases we cannot

Re: [PATCH] net/core: Use RCU_INIT_POINTER(x, NULL) in netpoll.c

2014-03-27 Thread Paul E. McKenney
On Mon, Mar 24, 2014 at 07:11:44AM -0400, Neil Horman wrote: > On Mon, Mar 24, 2014 at 12:42:46AM +0530, Monam Agarwal wrote: > > This patch replaces rcu_assign_pointer(x, NULL) with RCU_INIT_POINTER(x, > > NULL) > > > > The rcu_assign_pointer() ensures that the initialization of a structure

Re: [PATCH v2] ASoC: fsl_sai: Add isr to deal with error flag

2014-03-27 Thread Nicolin Chen
On Thu, Mar 27, 2014 at 01:26:27PM +, Mark Brown wrote: > On Thu, Mar 27, 2014 at 07:06:59PM +0800, Nicolin Chen wrote: > > It's quite cricial to clear error flags because SAI might hang if getting > > FIFO underrun during playback (I haven't confirmed the same issue on Rx > > overflow though).

[PATCH v2] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread Feng Tang
On many new phone/tablet platforms like Baytrail/Merrifield etc, the HPET are either defeatured or has some problem to be used as a reliable timer. As these platforms also have X86_64, we should not make HPET_TIMER default y for all X86_64. Signed-off-by: Feng Tang --- arch/x86/Kconfig |7 ++

Re: [PATCH] cgroup: missing rcu read lock around task_css_set

2014-03-27 Thread Li Zefan
On 2014/3/27 23:35, Sasha Levin wrote: > On 03/04/2014 07:57 PM, Li Zefan wrote: >> On 2014/3/5 3:47, Tejun Heo wrote: >>> On Tue, Mar 04, 2014 at 12:20:45PM -0500, Sasha Levin wrote: > Hrm... there is a PF_EXITING check there already: > > #define task_css_set_check(task, __c)

Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread Feng Tang
On Thu, Mar 27, 2014 at 12:52:57PM -0700, Andy Lutomirski wrote: > On 03/27/2014 04:02 AM, Clemens Ladisch wrote: > > Feng Tang wrote: > >> On many new phone/tablet platforms like Baytrail/Merrifield etc, > >> the HPET are either defeatured or has some problem to be used > >> as a reliable timer. A

[git pull] drm fixes

2014-03-27 Thread Dave Airlie
Hi Linus, didn't want these to wait for stable cycle, the nouveau and radeon ones are the same problem, where the runtime pm stuff broke non-runtime pm managed secondary GPUs, udl is an oops on unplug, and i915 is a regression fix on Sandybridge even though it may break haswell (regression wins

[PATCH 01/12] cgroup: update cgroup->subsys_mask to ->child_subsys_mask and restore cgroup_root->subsys_mask

2014-03-27 Thread Tejun Heo
944196278d3d ("cgroup: move ->subsys_mask from cgroupfs_root to cgroup") moved ->subsys_mask from cgroup_root to cgroup to prepare for the unified hierarhcy; however, it turns out that carrying the subsys_mask of the children in the parent, instead of itself, is a lot more natural. This patch rest

Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread Feng Tang
On Thu, Mar 27, 2014 at 02:27:26PM -0700, John Stultz wrote: > On Thu, Mar 27, 2014 at 12:52 PM, Andy Lutomirski wrote: > > On 03/27/2014 04:02 AM, Clemens Ladisch wrote: > >> Feng Tang wrote: > >> The help text still says: > >> | You can safely choose Y here. [...] > >> | Choose N to continue us

[PATCHSET cgroup/for-3.15] cgroup: implement unified hierarchy

2014-03-27 Thread Tejun Heo
Hello, (this is too late for the upcoming merge window and is targeting the next devel cycle) cgroup currently allows creating arbitrary number of hierarchies and any number of controllers may be associated with a given tree. This allows for huge amount of variance how tasks are associated with

[PATCH 05/12] cgroup: reorganize css_task_iter

2014-03-27 Thread Tejun Heo
This patch reorganizes css_task_iter so that adding effective css support is easier. * s/->cset_link/->cset_pos/ and s/->task/->task_pos/ for consistency * ->origin_css is used to determine whether the iteration reached the last css_set. Replace it with explicit ->cset_head so that css_advan

[PATCH 02/12] cgroup: introduce effective cgroup_subsys_state

2014-03-27 Thread Tejun Heo
In the planned default unified hierarchy, controllers may get dynamically attached to and detached from a cgroup and a cgroup may not have csses for all the controllers associated with the hierarchy. When a cgroup doesn't have its own css for a given controller, the css of the nearest ancestor wit

[PATCH 03/12] cgroup: implement cgroup->e_csets[]

2014-03-27 Thread Tejun Heo
On the default unified hierarchy, a cgroup may be associated with csses of its ancestors, which means that a css of a given cgroup may be associated with css_sets of descendant cgroups. This means that we can't walk all tasks associated with a css by iterating the css_sets associated with the cgro

[PATCH 08/12] cgroup: allow cgroup creation and suppress automatic css creation in the unified hierarchy

2014-03-27 Thread Tejun Heo
Now that effective css handling has been added and iterators updated accordingly, it's safe to allow cgroup creation in the default hierarchy. Unblock cgroup creation in the default hierarchy. As the default hierarchy will implement explicit enabling and disabling of controllers on each cgroup, s

[PATCH 09/12] cgroup: add css_set->dfl_cgrp

2014-03-27 Thread Tejun Heo
To implement the unified hierarchy behavior, we'll need to be able to determine the associated cgroup on the default hierarchy from css_set. Let's add css_set->dfl_cgrp so that it can be accessed conveniently and efficiently. Signed-off-by: Tejun Heo --- include/linux/cgroup.h | 3 +++ kernel/cg

[PATCH 10/12] cgroup: update subsystem rebind restrictions

2014-03-27 Thread Tejun Heo
Because the default root couldn't have any non-root csses attached to it, rebinding away from it was always allowed; however, the default hierarchy will soon host the unified hierarchy and have non-root csses so the rebind restrictions need to be updated accordingly. Instead of special casing rebi

[PATCH 11/12] cgroup: prepare migration path for unified hierarchy

2014-03-27 Thread Tejun Heo
Unified hierarchy implementation would require re-migrating tasks onto the same cgroup on the default hierarchy to reflect updated effective csses. Update cgroup_migrate_prepare_dst() so that it accepts NULL as the destination cgrp. When NULL is specified, the destination is considered to be the

[PATCH 07/12] cgroup: cgroup->subsys[] should be cleared after the css is offlined

2014-03-27 Thread Tejun Heo
After a css finishes offlining, offline_css() mistakenly performs RCU_INIT_POINTER(css->cgroup->subsys[ss->id], css) which just sets the cgroup->subsys[] pointer to the current value. The intention was to clear it after offline is complete, not reassign the same value. Update it to assign NULL in

[PATCH 12/12] cgroup: implement dynamic subtree controller enable/disable on the default hierarchy

2014-03-27 Thread Tejun Heo
cgroup is switching away from multiple hierarchies and will use one unified default hierarchy where controllers can be dynamically enabled and disabled per subtree. The default hierarchy will serve as the unified hierarchy to which all controllers are attached and a css on the default hierarchy wo

[PATCH 06/12] cgroup: teach css_task_iter about effective csses

2014-03-27 Thread Tejun Heo
Currently, css_task_iter iterates tasks associated with a css by visiting each css_set associated with the owning cgroup and walking tasks of each of them. This works fine for !unified hierarchies as each cgroup has its own css for each associated subsystem on the hierarchy; however, on the planne

[PATCH 04/12] cgroup: make css_next_child() skip missing csses

2014-03-27 Thread Tejun Heo
css_next_child() walks the children of the specified css. It does this by finding the next cgroup and then returning the requested css. On the default unified hierarchy, a cgroup may not have a css associated with it even if the hierarchy has the subsystem enabled. This patch updates css_next_chil

Re: [PATCHv2 1/1] mtd: gpmi: make blockmark swapping optional

2014-03-27 Thread Huang Shijie
于 2014年03月27日 20:21, Lothar Waßmann 写道: I can assure you that the>100.000 i.MX28 based modules, that we sold up to now boot from NAND just fine without any block mark swapping in the U-Boot pages. Our driver should follow the Reference manual, not the product. thanks Huang Shijie -- To unsubs

Re: [PATCH 1/1] drm/vmwgfx: correct fb_fix_screeninfo.line_length

2014-03-27 Thread Dave Airlie
On Fri, Mar 28, 2014 at 10:45 AM, Christopher Friedt wrote: > Previously, the vmwgfx_fb driver would allow users to call FBIOSET_VINFO, but > it would not adjust > the FINFO properly, resulting in distorted screen rendering. The patch > corrects that behaviour. > > See https://bugs.gentoo.org/sh

RE: [PATCH] timekeeping: check params before use them

2014-03-27 Thread Neil Zhang
> -Original Message- > From: John Stultz [mailto:john.stu...@linaro.org] > Sent: 2014年3月28日 1:26 > To: Neil Zhang; t...@linutronix.de > Cc: linux-kernel@vger.kernel.org > Subject: Re: [PATCH] timekeeping: check params before use them > > On 03/27/2014 01:12 AM, Neil Zhang wrote: > > Som

Re: [RESEND PATCH] charger-manager: Fix checking of wrong return type

2014-03-27 Thread Chanwoo Choi
Hi, On 03/28/2014 01:52 AM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Thursday, March 27, 2014 08:56:55 PM Chanwoo Choi wrote: >> This patch fix minor issue about checking wrong return type. >> >> The of_cm_parse_desc() return ERR_PTR(errnor number) when some error happen >> in this functi

[RESEND PATCHv2] charger-manager: Fix checking of wrong return type

2014-03-27 Thread Chanwoo Choi
This patch fix minor issue about checking wrong return type. The of_cm_parse_desc() return ERR_PTR(errnor number) when some error happen in this function. But, charger_manager_probe() has only checked whether desc is NULL or not. If of_cm_parse_desc() returns ERR_PTR(-ENOMEM), desc isn't NULL but

Re: is printk() safe within a timekeeper_seq write section?

2014-03-27 Thread John Stultz
On 03/12/2014 02:21 AM, Jiri Bohac wrote: > On Tue, Mar 11, 2014 at 02:54:13PM -0700, John Stultz wrote: >> Ok, so a generic solution is probably not going to be worth it then. My >> thought was that since we do a very limited amount of informational >> printks in the timekeeping code, we can be fa

Re: [PATCH 1/1] drm/vmwgfx: correct fb_fix_screeninfo.line_length

2014-03-27 Thread Christopher Friedt
This is the 2nd time I've posted the patch. Please have a look Dave. Gregkh suggested I resend this a while back after not hearing any feedback. It's a fairly simple patch. Don't forget to look at https://bugs.gentoo.org/show_bug.cgi?id=494794 because that kind of describes it all. -- To unsubsc

[PATCH 1/1] drm/vmwgfx: correct fb_fix_screeninfo.line_length

2014-03-27 Thread Christopher Friedt
Previously, the vmwgfx_fb driver would allow users to call FBIOSET_VINFO, but it would not adjust the FINFO properly, resulting in distorted screen rendering. The patch corrects that behaviour. See https://bugs.gentoo.org/show_bug.cgi?id=494794 for examples. Signed-off-by: Christopher Friedt -

[PATCH 1/3] acpi: Fixed code indent errors and use linux libs

2014-03-27 Thread paulmcquad
>From 0196c4e34dd02d89833ef851c43973d81dfa4399 Mon Sep 17 00:00:00 2001 From: Paul McQuade Date: Thu, 27 Mar 2014 22:55:28 + Subject: [PATCH 1/3] acpi: Fixed code indent errors and use linux libs ERROR: code indent should use tabs where possible. Use #include instead of . Signed-off-by: Pau

Re: [PATCH 0/3] Minor fixes around perf bench

2014-03-27 Thread Davidlohr Bueso
On Thu, 2014-03-27 at 19:50 -0400, Ramkumar Ramachandra wrote: > Hi, > > I just started looking at 'perf bench' this afternoon. Here are some > simple patches fixing the minor issues I had while starting out. > > Thanks. > > Ram > > Cc: Ingo Molnar > Cc: Jiri Olsa > Cc: David Ahern > Cc: Arn

Re: [PATCH] staging: vme: fix memory leak in vme_user_probe()

2014-03-27 Thread DaeSeok Youn
2014-03-27 23:30 GMT+09:00 Aaron Sierra : > > - Original Message - >> From: "DaeSeok Youn" >> Sent: Wednesday, March 26, 2014 8:47:51 PM >> >> 2014-03-27 3:51 GMT+09:00 Aaron Sierra : >> > - Original Message - >> >> From: "Daeseok Youn" >> >> Sent: Tuesday, March 25, 2014 10:01:48

[PATCH 2/3] perf bench: Update manpage to mention numa and futex

2014-03-27 Thread Ramkumar Ramachandra
Cc: Jiri Olsa Cc: David Ahern Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/Documentation/perf-bench.txt | 22 ++ 1 file changed, 22 insertions(+) diff --git a/tools/perf/Documentation/perf-bench.txt b/tools/perf/Documentation/perf-bench.

[PATCH 3/3] perf bench: Fix segfault at the end of an 'all' execution

2014-03-27 Thread Ramkumar Ramachandra
At the end of $ perf bench all the program segfaults because it attempts to dereference a NULL pointer. Fix this fault. Cc: Jiri Olsa Cc: David Ahern Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- tools/perf/builtin-bench.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH 1/3] perf bench: Set more defaults in the 'numa' suite

2014-03-27 Thread Ramkumar Ramachandra
Currently, $ perf bench numa mem errors out with usage information. To make this more user-friendly, let us provide a minimum set of default values required for a test run. As an added bonus, $ perf bench all now goes all the way to completion. Cc: Ingo Molnar Cc: Jiri Olsa Cc: David Ahe

[PATCH 0/3] Minor fixes around perf bench

2014-03-27 Thread Ramkumar Ramachandra
Hi, I just started looking at 'perf bench' this afternoon. Here are some simple patches fixing the minor issues I had while starting out. Thanks. Ram Cc: Ingo Molnar Cc: Jiri Olsa Cc: David Ahern Cc: Arnaldo Carvalho de Melo Ramkumar Ramachandra (3): perf bench: Set more defaults in the

[PATCH] time: Revert to calling clock_was_set_delayed() while in irq context

2014-03-27 Thread John Stultz
Ingo, After testing a patch queued for 3.15, I noticed there was a WARNON message that I realized was triggered by one of my patches that came in the 3.14 merge window. I'm not very happy to find this now, but sadly here it is. The fix is luckily fairly simple and just falls back to previous behav

[PATCH] taging: lustre: use __func__ instead of __FUNCTION__

2014-03-27 Thread Christoph Jaeger
__FUNCTION__ is gcc specific; use __func__ instead. Signed-off-by: Christoph Jaeger --- drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | 4 ++-- drivers/staging/lustre/lustre/include/linux/obd.h | 2 +- drivers/staging/lustre/lustre/include/lu_ref.h | 4 ++--

Re: [PATCHv4 1/5] mailbox: rename pl320-ipc specific mailbox.h

2014-03-27 Thread Markus Mayer
> The patch 30058677 "ARM / highbank: add support for pl320 IPC" > added a pl320 IPC specific header file as a generic mailbox.h. > This file has been renamed appropriately to allow the > introduction of the generic mailbox API framework. > > Acked-by: Mark Langsdorf > Cc: Rafael J. Wysocki > Sig

Re: [mtd/sbc_gxx] kernel BUG at include/linux/mtd/map.h:148!

2014-03-27 Thread Bjorn Helgaas
[+cc David, Brian] On Thu, Mar 27, 2014 at 8:01 AM, Fengguang Wu wrote: > FYI, here is a very old warning, too old to be bisected. > > [5.282127] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, > supports DPO and FUA > [5.286079] SBC-GXx flash: IO:0x258-0x259 MEM:0xdc000-0xd

[PATCH linux-next v2] ufs: sb mutex merge + mutex_destroy: fix

2014-03-27 Thread Fabian Frederick
mutex_destroy was also called when trying to mount volume in read/write without write support enabled. Reported by Fengguang Wu. Signed-off-by: Fabian Frederick --- v2: failed_noreadwrite is only used with CONFIG_UFS_FS_WRITE -> add ifndef fs/ufs/super.c | 8 ++-- 1 file changed, 6 ins

Re: [PATCH v23 10/13] x86, vdso: Add 32 bit VDSO time support for 64 bit kernel

2014-03-27 Thread H. Peter Anvin
I am hoping that we well get further cleanups, but art this point I'm not sure it is worth blocking it for 3.15 over that On March 27, 2014 1:44:00 PM PDT, John Stultz wrote: >On 03/17/2014 03:22 PM, Stefani Seibold wrote: >> This patch add the VDSO time support for the IA32 Emulation Layer. >>

Re: Adding compression before/above swapcache

2014-03-27 Thread Seth Jennings
On Wed, Mar 26, 2014 at 04:28:27PM -0400, Dan Streetman wrote: > I'd like some feedback on how possible/useful, or not, it might be to > add compression into the page handling code before pages are added to > the swapcache. My thought is that adding a compressed cache at that > point may have (at

[PATCH] perf stat: Don't print bogus data when one event is requested

2014-03-27 Thread Ramkumar Ramachandra
When only the stalled-cycles-frontend event is requested: $ perf stat -e stalled-cycles-frontend -- git s ## acme...ram/acme Performance counter stats for 'git s': 326,947,423 stalled-cycles-frontend #0.00% frontend cycles idle 0.363599976 seconds time elaps

Re: Kernel oops without Backtrace

2014-03-27 Thread Michal Hocko
On Thu 27-03-14 13:47:21, Celestino Martinez Lopez wrote: > Hi All, > > I am running a SUSE linux 3.0.13-0.27 and after printing an opps the system > hangs (though it only happened once). > In the opps there is only Code: information, no stack trace or processor > registers. > Analyzing the code

Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread John Stultz
On 03/27/2014 02:33 PM, Andy Lutomirski wrote: > On Thu, Mar 27, 2014 at 2:27 PM, John Stultz wrote: >> On Thu, Mar 27, 2014 at 12:52 PM, Andy Lutomirski >> wrote: >>> On 03/27/2014 04:02 AM, Clemens Ladisch wrote: Feng Tang wrote: The help text still says: | You can safely choose

[PATCH] crypto: LLVMLinux: aligned-attribute.patch

2014-03-27 Thread behanw
From: Mark Charlebois __attribute__((aligned)) applies the default alignment for the largest scalar type for the target ABI. gcc allows it to be applied inline to a defined type. Clang only allows it to be applied to a type definition (PR11071). Making it into 2 lines makes it more readable and

Re: git pull -- [PATCH] aio: v2 ensure access to ctx->ring_pages is correctly serialised

2014-03-27 Thread Linus Torvalds
On Thu, Mar 27, 2014 at 1:57 PM, Benjamin LaHaise wrote: > > *nod* -- I added that to the below variant. You still have "goto err" for cases that have the ctx locked. Which means that the thing gets free'd while still locked, which causes problems for lockdep etc, so don't do it. Do what I did:

Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread Andy Lutomirski
On Thu, Mar 27, 2014 at 2:27 PM, John Stultz wrote: > On Thu, Mar 27, 2014 at 12:52 PM, Andy Lutomirski wrote: >> On 03/27/2014 04:02 AM, Clemens Ladisch wrote: >>> Feng Tang wrote: >>> The help text still says: >>> | You can safely choose Y here. [...] >>> | Choose N to continue using the legac

Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread John Stultz
On Thu, Mar 27, 2014 at 12:52 PM, Andy Lutomirski wrote: > On 03/27/2014 04:02 AM, Clemens Ladisch wrote: >> Feng Tang wrote: >> The help text still says: >> | You can safely choose Y here. [...] >> | Choose N to continue using the legacy 8254 timer. >> >> Are these statements still true for thos

[PATCH] perf list: Fix --raw-dump argument

2014-03-27 Thread Ramkumar Ramachandra
While adding usage information, 44d742e (perf list: Add usage, 2013-10-30) broke $ perf list --raw-dump Fix this by making raw-dump a proper argument. Cc: David Ahern Cc: Jiri Olsa Cc: Arnaldo Carvalho de Melo Signed-off-by: Ramkumar Ramachandra --- I sent this patch earlier, but it didn'

Re: [PATCH] perf list: Replace --raw-dump with parse_options_subcommand()

2014-03-27 Thread Ramkumar Ramachandra
Ramkumar Ramachandra wrote: > tools/perf/builtin-list.c | 13 +++-- > tools/perf/perf-completion.sh | 6 +++--- > 2 files changed, 10 insertions(+), 9 deletions(-) Please ignore this patch. Major thinko on my part. -- To unsubscribe from this list: send the line "unsubscribe linux-ke

Re: Re: Re: Thoughts on credential switching

2014-03-27 Thread Andy Lutomirski
On Thu, Mar 27, 2014 at 1:47 PM, Jim Lieb wrote: > On Thursday, March 27, 2014 12:45:30 Andy Lutomirski wrote: >> On Thu, Mar 27, 2014 at 12:30 PM, Jim Lieb wrote: >> > Rather than inline, I'm responding in the context of Jeremy's comments but >> > I have to answer others as well. It is Jeremy a

Re: [PATCH] sdhci: Forward EPROBE_DEFER on vmmc and vqmmc regulators

2014-03-27 Thread Georgi Djakov
On 27.03.14, 19:47, Mike Looijmans wrote: > On 26-3-2014 16:09, Georgi Djakov wrote: >> On 03/07/2014 04:18 PM, Mike Looijmans wrote: >>> If vmmc or vqmmc regulators are controlled by an I2C device, the >>> request for the regulator is likely to fail because the I2C bus has >>> not been probed yet.

Re: [PATCH v23 10/13] x86, vdso: Add 32 bit VDSO time support for 64 bit kernel

2014-03-27 Thread Andy Lutomirski
On Thu, Mar 27, 2014 at 1:44 PM, John Stultz wrote: > On 03/17/2014 03:22 PM, Stefani Seibold wrote: >> This patch add the VDSO time support for the IA32 Emulation Layer. >> >> Due the nature of the kernel headers and the LP64 compiler where the >> size of a long and a pointer differs against a 32

Re: git pull -- [PATCH] aio: v2 ensure access to ctx->ring_pages is correctly serialised

2014-03-27 Thread Benjamin LaHaise
On Thu, Mar 27, 2014 at 01:22:11PM -0700, Linus Torvalds wrote: > On Thu, Mar 27, 2014 at 1:08 PM, Benjamin LaHaise wrote: > > > > The patch below is lightly tested -- my migration test case is able to > > successfully move the aio ring around multiple times. It still needs to > > be run through

Re: Re: Re: Thoughts on credential switching

2014-03-27 Thread Jim Lieb
On Thursday, March 27, 2014 12:45:30 Andy Lutomirski wrote: > On Thu, Mar 27, 2014 at 12:30 PM, Jim Lieb wrote: > > Rather than inline, I'm responding in the context of Jeremy's comments but > > I have to answer others as well. It is Jeremy after all who said my baby > > was ugly ;). > > > > Jer

Re: [PATCH v23 10/13] x86, vdso: Add 32 bit VDSO time support for 64 bit kernel

2014-03-27 Thread John Stultz
On 03/17/2014 03:22 PM, Stefani Seibold wrote: > This patch add the VDSO time support for the IA32 Emulation Layer. > > Due the nature of the kernel headers and the LP64 compiler where the > size of a long and a pointer differs against a 32 bit compiler, there > is some type hacking necessary for o

Re: [PATCH -mm 1/4] sl[au]b: do not charge large allocations to memcg

2014-03-27 Thread Michal Hocko
On Thu 27-03-14 11:37:11, Vladimir Davydov wrote: [...] > In fact, do we actually need to charge every random kmem allocation? I > guess not. For instance, filesystems often allocate data shared among > all the FS users. It's wrong to charge such allocations to a particular > memcg, IMO. That said

Re: [PATCH] mm: Only force scan in reclaim when none of the LRUs are big enough.

2014-03-27 Thread Rik van Riel
On 03/15/2014 11:36 PM, Hugh Dickins wrote: From: Suleiman Souhlal Prior to this change, we would decide whether to force scan a LRU during reclaim if that LRU itself was too small for the current priority. However, this can lead to the file LRU getting force scanned even if there are a lot of

Re: [PATCH -mm 1/4] sl[au]b: do not charge large allocations to memcg

2014-03-27 Thread Greg Thelen
On Thu, Mar 27, 2014 at 12:37 AM, Vladimir Davydov wrote: > Hi Greg, > > On 03/27/2014 08:31 AM, Greg Thelen wrote: >> On Wed, Mar 26 2014, Vladimir Davydov wrote: >> >>> We don't track any random page allocation, so we shouldn't track kmalloc >>> that falls back to the page allocator. >> This se

Re: [PATCH -mm 1/4] sl[au]b: do not charge large allocations to memcg

2014-03-27 Thread Michal Hocko
On Thu 27-03-14 11:34:10, Vladimir Davydov wrote: > Hi Michal, > > On 03/27/2014 01:53 AM, Michal Hocko wrote: > > On Wed 26-03-14 19:28:04, Vladimir Davydov wrote: > >> We don't track any random page allocation, so we shouldn't track kmalloc > >> that falls back to the page allocator. > > Why did

Re: [PATCH -mm 2/4] sl[au]b: charge slabs to memcg explicitly

2014-03-27 Thread Michal Hocko
On Thu 27-03-14 11:38:30, Vladimir Davydov wrote: > On 03/27/2014 01:58 AM, Michal Hocko wrote: > > On Wed 26-03-14 19:28:05, Vladimir Davydov wrote: > >> We have only a few places where we actually want to charge kmem so > >> instead of intruding into the general page allocation path with > >> __G

Re: [PATCH net-next v3 8/9] net: filter: rework/optimize internal BPF interpreter's instruction set

2014-03-27 Thread Alexei Starovoitov
On Thu, Mar 27, 2014 at 12:23 PM, David Miller wrote: > From: Daniel Borkmann > Date: Wed, 26 Mar 2014 22:06:09 +0100 > >> - Adds swab insns for 32/64-bit > > I don't like this. > > You don't want a swab instruction, you want "endian X to endian Y". Just > like we have "cpu_to_le32()", "le32_t

Re: git pull -- [PATCH] aio: v2 ensure access to ctx->ring_pages is correctly serialised

2014-03-27 Thread Linus Torvalds
On Thu, Mar 27, 2014 at 1:08 PM, Benjamin LaHaise wrote: > > The patch below is lightly tested -- my migration test case is able to > successfully move the aio ring around multiple times. It still needs to > be run through some more thorough tests (like Trinity). See below for > the differences

Re: git pull -- [PATCH] aio: v2 ensure access to ctx->ring_pages is correctly serialised

2014-03-27 Thread Benjamin LaHaise
On Thu, Mar 27, 2014 at 12:43:13PM -0700, Linus Torvalds wrote: > On Thu, Mar 27, 2014 at 11:16 AM, Linus Torvalds > wrote: > > > > It would all be cleaner if all the setup was done with the > > ctx->ring_lock held (you can even *initialize* it to the locked state, > > since this is the function t

[PATCH] netfilter: nf_conntrack: reserve two bytes for nf_ct_ext->len (v2)

2014-03-27 Thread Andrey Vagin
"len" contains sizeof(nf_ct_ext) and size of extensions. In a worst case it can contain all extensions. Bellow you can find sizes for all types of extensions. Their sum is definitely bigger than 256. nf_ct_ext_types[0]->len = 24 nf_ct_ext_types[1]->len = 32 nf_ct_ext_types[2]->len = 24 nf_ct_ext_t

Re: [PATCH] cdrom.c: Only read a cdrom_msf0 struct from userspace.

2014-03-27 Thread Reimar Döffinger
Reimar Döffinger gmx.de> writes: > That is all that is actually used, reading more just > makes the code confusing. > In addition also fix the header and separate documentation > to correctly indicate which struct is expected as input. > > Maybe these inconsistencies were on purpose at some point

Re: [PATCH] x86: hpet: Don't default CONFIG_HPET_TIMER to be y for X86_64

2014-03-27 Thread Andy Lutomirski
On 03/27/2014 04:02 AM, Clemens Ladisch wrote: > Feng Tang wrote: >> On many new phone/tablet platforms like Baytrail/Merrifield etc, >> the HPET are either defeatured or has some problem to be used >> as a reliable timer. As these platforms also have X86_64, we >> should not make HPET_TIMER defaul

Re: Re: Thoughts on credential switching

2014-03-27 Thread Andy Lutomirski
On Thu, Mar 27, 2014 at 12:30 PM, Jim Lieb wrote: > Rather than inline, I'm responding in the context of Jeremy's comments but I > have to answer others as well. It is Jeremy after all who said my baby was > ugly ;). > > Jeremy is right about overloading "fd". Maybe I can call it something else

  1   2   3   4   >