Re: PROBLEM: New Kernel Patch

2012-08-06 Thread Belisko Marek
On Mon, Aug 6, 2012 at 2:27 AM, Christopher Sacchi chris.sac...@gmail.com wrote: Here is a new patch that should be tested that fixes a function issue in the description for the Mac80211 driver in tar.bz2 format. Please don't send patches as attachment (send in email body). More can be found in

[PATCH v4 0/6] Port Tegra to generic clk framework

2012-08-06 Thread Prashant Gaikwad
This patch set ports Tegra clock code to generic clock framework. Depends on: b2f4774 ARM: tegra: fix U16 divider range check e1a8a4d ARM: tegra: turn on UART A clock at boot Tested on Ventana and Cardhu. v4: - Rebased on Tegra's for-3.7/common-clk v3: - Fix Tegra20 pll clk round rate. -

[PATCH v4 3/6] ARM: tegra: Rename tegra20 clock file

2012-08-06 Thread Prashant Gaikwad
Make the name consistent with other files. s/tegra2/tegra20 Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- arch/arm/mach-tegra/Makefile |2 +- .../{tegra2_clocks.c = tegra20_clocks.c} |0 2 files changed, 1 insertions(+), 1 deletions(-) rename

[PATCH v4 4/6] ARM: tegra: Add clk_tegra structure and helper functions

2012-08-06 Thread Prashant Gaikwad
Add Tegra platform specific clock structure clk_tegra and some helper functions for generic clock framework. struct clk_tegra is the single strcture used for all types of clocks. reset and cfg_ex ops moved to clk_tegra from clk_ops. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com ---

[PATCH v4 6/6] ARM: tegra: Remove duplicate code

2012-08-06 Thread Prashant Gaikwad
Remove Tegra legacy clock framework code. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- arch/arm/mach-tegra/clock.c | 632 -- arch/arm/mach-tegra/clock.h | 89 -- arch/arm/mach-tegra/common.c |3 - 3 files changed, 0 insertions(+),

Re: mq: INFO: possible circular locking dependency detected

2012-08-06 Thread Al Viro
On Sat, Aug 04, 2012 at 12:59:31PM +0200, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest, using latest -next kernel, I've stumbled on the dump below. I think this is the result of commit 765927b2 (switch dentry_open() to struct path, make it grab

Re: DT GPIO numbering?

2012-08-06 Thread Linus Walleij
On Mon, Aug 6, 2012 at 4:18 AM, Stephen Warren swar...@wwwdotorg.org wrote: I can't comment on the sysfs-vs-dev interface location, but I don't think it addresses Johannes' issue; finding out which GPIO IDs are provided by which devices. Perhaps in each device's sysfs node, there should be

Re: [PATCH 2/2] dma-buf: add helpers for attacher dma-parms

2012-08-06 Thread Semwal, Sumit
On Fri, Jul 20, 2012 at 10:09 PM, Rob Clark rob.cl...@linaro.org wrote: Fyi, Daniel Vetter had suggested on IRC that it would be cleaner to have a single helper fxn that most-restrictive union of all attached device's dma_parms. Really this should include dma_mask and coherent_dma_mask, I

RE: linux-next: Tree for July 17 (mfd/tps65217.c)

2012-08-06 Thread AnilKumar, Chimata
On Fri, Aug 03, 2012 at 22:58:01, Randy Dunlap wrote: On 07/17/2012 02:48 PM, Randy Dunlap wrote: On 07/16/2012 10:41 PM, Stephen Rothwell wrote: Hi all, Changes since 20120716: on i386: drivers/built-in.o: In function `tps65217_probe':

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-06 Thread Linus Walleij
On Mon, Aug 6, 2012 at 7:11 AM, Thierry Reding thierry.red...@avionic-design.de wrote: On Sun, Aug 05, 2012 at 12:50:54PM +0200, Linus Walleij wrote: We're working on a goal of a single zImage (one unified ARM kernel) which means your platform must be able to handle the case where this is

Re: [RFC PATCH 1/3] dma-fence: dma-buf synchronization (v5)

2012-08-06 Thread Sumit Semwal
Hi Maarten, On 27 July 2012 19:09, Maarten Lankhorst maarten.lankho...@canonical.com wrote: A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another device. For example, userspace can call page_flip ioctl

RE: [PATCH v2] power_supply: Added support for power supply attribute sources

2012-08-06 Thread Pallala, Ramakrishna
Hi Anton, On Thu, Jul 26, 2012 at 08:47:24PM +0530, Ramakrishna Pallala wrote: On some platforms one driver(or HW chip) may not be able to provide all the necessary attributes of the power supply connected to the platform or may provide very limited info which can be used by

Re: [PATCH] Extcon: adc_jack: adc-jack driver to support 3.5 pi or simliar devices

2012-08-06 Thread Lars-Peter Clausen
On 08/06/2012 06:54 AM, anish kumar wrote: From: anish kumar anish198519851...@gmail.com External connector devices that decides connection information based on ADC values may use adc-jack device driver. The user simply needs to provide a table of adc range and connection states. Then,

Re: [Regression] x86-64/efi: Use EFI to deal with platform wall clock prevents my machine from booting

2012-08-06 Thread Jan Beulich
On 06.08.12 at 00:28, H. Peter Anvin h...@zytor.com wrote: On 08/05/2012 02:29 PM, Jérôme Carretero wrote: Hi, My PC (AMD Bulldozer + Asus SABERTOOTH 990FX) booted fine from UEFI and it broke between v3.5 and v3.6-rc1. Other machines with old BIOSes booted fine so I looked into EFI-related

[PATCH 1/1] media: mx3_camera: Improve data bus width check code for probe

2012-08-06 Thread Liu Ying
This patch contains code change only to use the present macro- MX3_CAMERA_DATAWIDTH_MASK to check valid camera platform data bus width instead of enumerating every possible data bus width. Signed-off-by: Liu Ying ying@freescale.com --- drivers/media/video/mx3_camera.c |4 +--- 1 files

No 3.5 version on www.kernel.org

2012-08-06 Thread Tino Keitel
Hi, when looking at http://www.kernel.org/, kernel 3.4.7 is shown as the latest stable kernel, and 3.6-rc1 as the latest mainline kernel. The 3.5 version is not mentioned. Why is the latest stable kernel something older than 3.5? Regards, Tino -- To unsubscribe from this list: send the line

Re: [PATCH] module: Fix compile error for ref_module when CONFIG_MODULES is not set

2012-08-06 Thread Rusty Russell
On Wed, 1 Aug 2012 20:57:07 +0300, Barbaros Tokaoğlu barbar...@gmail.com wrote: ref_module function is not defined when CONFIG_MODULES is not set thus it causes compile error when a module which is set to be built-in uses it. This patch defines a dummy ref_module function when CONFIG_MODULES

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Sun August 5 2012 19:11:19 Federico Vaga wrote: Hi Hans, Did you run the latest v4l2-compliance tool from the v4l-utils.git repository over your driver? I'm sure you didn't since VIP is missing support for control events and v4l2-compliance would certainly complain about that.

[PATCH] hugetlb: update hugetlbpage.txt

2012-08-06 Thread Zhouping Liu
commit f0f57b2b1(mm: move hugepage test examples to tools/testing/selftests/vm) moved map_hugetlb.c, hugepage-shm.c and hugepage-mmap.c tests into tools/testing/selftests/vm/ directory, but it didn't update hugetlbpage.txt Signed-off-by: Zhouping Liu sanweiday...@gmail.com ---

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
I applied all your suggestions, and some extra simplification; [...] --- - flags: optional. Set to V4L2_FL_USE_FH_PRIO if you want to let the framework handle the VIDIOC_G/S_PRIORITY ioctls. This requires that you use struct v4l2_fh. ^^ Are you

Re: [PATCH] hwmon: tmp102: Add device tree support

2012-08-06 Thread Poddar, Sourav
Hi Benoit, On Fri, Aug 3, 2012 at 8:26 PM, Benoit Cousson b-cous...@ti.com wrote: Hi Sourav, On 08/03/2012 02:35 PM, Sourav Poddar wrote: update tmp102 temperature sensor to also use device tree. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar

[RFC PATCH] perf/x86: Add cpumask for uncore PMU.

2012-08-06 Thread Yan, Zheng
From: Yan, Zheng zheng.z@intel.com This RFC patch adds a cpumask file to the uncore pmu sysfs directory. If user doesn't explicitly specify CPU list, perf-stat only collects uncore events on CPUs listed in the cpumask file. Signed-off-by: Yan, Zheng zheng.z@intel.com ---

[NEW DRIVER V2 0/7] DA9058 PMIC - please comment on this new driver

2012-08-06 Thread Anthony Olech
This is submission attempt number 2 to have this driver included in the linux kernel source tree. This is the driver for the Dialog DA9058. The DA9058 is a low power Power Management Integrated Circuit with extra functionality. It is a Multi Function Device controlled only from an I2C bus whose

[NEW DRIVER V2 7/7] DA9058 REGULATOR driver

2012-08-06 Thread Anthony Olech
This is the REGULATOR component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com Signed-off-by: David Dajun Chen david.c...@diasemi.com

[PATCH] x86/dt: use linear irq domain for ioapic(s).

2012-08-06 Thread Sebastian Andrzej Siewior
The former conversion to irq_domain_add_legacy() did not fully work since we miss the irq decs for NR_IRQS_LEGACY+. Ideally we could use irq_domain_add_simple() or the no-map variant (and program the virq - line mapping directly into ioapic) but this would require a different irq lookup in

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 09:38:10 Federico Vaga wrote: I applied all your suggestions, and some extra simplification; [...] --- - flags: optional. Set to V4L2_FL_USE_FH_PRIO if you want to let the framework handle the VIDIOC_G/S_PRIORITY ioctls. This requires that you

[PULL] Last-minute module patches

2012-08-06 Thread Rusty Russell
The following changes since commit 42a579a0f960081cd16fc945036e4780c3ad3202: Merge branches 'timers-urgent-for-linus' and 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2012-08-05 22:28:49 +0300) are available in the git repository at:

[NEW DRIVER V2 6/7] DA9058 HWMON driver

2012-08-06 Thread Anthony Olech
This is the HWMON component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com Signed-off-by: David Dajun Chen david.c...@diasemi.com ---

[NEW DRIVER V2 5/7] DA9058 GPIO driver

2012-08-06 Thread Anthony Olech
This is the GPIO component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com Signed-off-by: David Dajun Chen david.c...@diasemi.com ---

[NEW DRIVER V2 4/7] DA9058 RTC driver

2012-08-06 Thread Anthony Olech
This is the RTC component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com Signed-off-by: David Dajun Chen david.c...@diasemi.com ---

[NEW DRIVER V2 3/7] DA9058 POWER driver

2012-08-06 Thread Anthony Olech
This is the POWER component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com Signed-off-by: David Dajun Chen david.c...@diasemi.com ---

[NEW DRIVER V2 2/7] DA9058 ONKEY driver

2012-08-06 Thread Anthony Olech
This is the ONKEY component driver of the Dialog DA9058 PMIC. This driver is just one component of the whole DA9058 PMIC driver. It depends on the core DA9058 MFD driver. Signed-off-by: Anthony Olech anthony.olech.opensou...@diasemi.com Signed-off-by: David Dajun Chen david.c...@diasemi.com ---

[NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Anthony Olech
This is the MFD core driver for the Dialog DA9058 PMIC. This driver, via MFD CELLs, causes all the component drivers to be loaded, if it is a module, and initialized via their probe methods. It also provides access to the ADC functions on the PMIC. All the other component drivers depend on this

Re: how to implement platform specific per process parameter?

2012-08-06 Thread Anshuman Khandual
There are 4 options: 1. [not a kernel interface] use ptrace to execute the register changing command inside the specified pid. The next context switch saves the new value in the thread_struct. Dirty hack. 2. Add a new syscall which would receive pid + register value and do the job. A bit

[PATCH] char/tpm: Use struct dev_pm_ops for power management.

2012-08-06 Thread Peter Huewe
Make the tpm_i2c_infineon driver define its PM callbacks trough a struct dev_pm_ops by using SIMPLE_DEV_PM_OPS instead of coding it explicitly. This simplifies the code and allows the driver to use tpm_pm_suspend() and tpm_pm_resume() as its PM callbacks directly, without defining its own PM

[PATCH fixed for !SMP] x86: don't ever patch back to UP if we unplug cpus

2012-08-06 Thread Rusty Russell
We still patch SMP instructions to UP variants if we boot with a single CPU, but not at any other time. In particular, not if we unplug CPUs to return to a single cpu. Paul McKenney points out: mean offline overhead is 6251/48=130.2 milliseconds. If I remove the alternatives_smp_switch()

Re: [PATCH] hugetlb: update hugetlbpage.txt

2012-08-06 Thread Dave Young
On 08/06/2012 03:26 PM, Zhouping Liu wrote: commit f0f57b2b1(mm: move hugepage test examples to tools/testing/selftests/vm) moved map_hugetlb.c, hugepage-shm.c and hugepage-mmap.c tests into tools/testing/selftests/vm/ directory, but it didn't update hugetlbpage.txt Signed-off-by:

Re: [RFC PATCH 1/3] dma-fence: dma-buf synchronization (v5)

2012-08-06 Thread Maarten Lankhorst
Hey Sumit, Op 06-08-12 08:41, Sumit Semwal schreef: Hi Maarten, On 27 July 2012 19:09, Maarten Lankhorst maarten.lankho...@canonical.com wrote: A dma-fence can be attached to a buffer which is being filled or consumed by hw, to allow userspace to pass the buffer without waiting to another

[PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/media/video/sta2x11_vip.c | 1239 + 1 file modificato, 414 inserzioni(+), 825 rimozioni(-) diff --git a/drivers/media/video/sta2x11_vip.c

Re: Service http://patchwork.kernel.org/ not available!

2012-08-06 Thread Sedat Dilek
On Sun, May 6, 2012 at 1:32 AM, John 'Warthog9' Hawley warth...@kernel.org wrote: That service is still being brought back up, we don't have an eta but it is expected to be restored. Hi, it would be wonderful to get a feedback when services are available again. I just saw today a reference

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
In that case I need to see your latest version of the source code to see why it doesn't work. I send it as patch v2 of the previous one -- Federico Vaga -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 0/8] acpi-cpufreq: Move modern AMD cpufreq support to acpi-cpufreq

2012-08-06 Thread Borislav Petkov
On Sun, Aug 05, 2012 at 04:39:14PM -0700, H. Peter Anvin wrote: On 08/05/2012 02:20 PM, Rafael J. Wysocki wrote: On Thursday, July 26, 2012, Andre Przywara wrote: The programming model for cpufreq on current AMD CPUs is almost identical to the one used on Intel and VIA hardware. This patchset

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Avi Kivity
On 08/05/2012 10:00 PM, Stefan Priebe wrote: Am 05.08.2012 17:52, schrieb Stefan Priebe: Am 05.08.2012 12:29, schrieb Avi Kivity: On 08/05/2012 01:08 PM, Stefan Priebe wrote: Am 01.08.2012 11:53, schrieb Avi Kivity: On 08/01/2012 12:42 PM, Stefan Priebe - Profihost AG wrote: Am 01.08.2012

RE: [NEW DRIVER V2 1/7] DA9058 MFD core and ADC driver

2012-08-06 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Anthony Olech Sent: Monday, August 06, 2012 2:14 AM To: Samuel Ortiz Cc: Mark Brown; Arnd Bergmann; Mauro Carvalho Chehab; Steven Toth; Michael Krufky; LKML; David

RE: [NEW DRIVER V2 4/7] DA9058 RTC driver

2012-08-06 Thread Venu Byravarasu
-Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Anthony Olech Sent: Monday, August 06, 2012 2:14 AM To: Andrew Morton Cc: Mark Brown; Paul Gortmaker; Samuel Ortiz; Alessandro Zummo; rtc- li...@googlegroups.com;

[PATCH] sched: using dst_rq instead of this_rq during load balance

2012-08-06 Thread Michael Wang
From: Michael Wang wang...@linux.vnet.ibm.com As we already have dst_rq in lb_env, using or changing this_rq do not make sense. This patch will replace this_rq with dst_rq in load_balance, and we don't need to change this_rq while process LBF_SOME_PINNED any more. Signed-off-by: Michael Wang

Re: [PATCH 1/4] arm/dts: omap5-evm: Add I2C support

2012-08-06 Thread Felipe Balbi
Hi, On Fri, Aug 03, 2012 at 09:22:19PM +0400, Sergei Shtylyov wrote: Hello. On 08/03/2012 04:38 PM, Sourav Poddar wrote: Add I2C data node in omap5 device tree file. Tested on omap5430 sdp. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Hans Verkuil
On Mon August 6 2012 10:17:39 Federico Vaga wrote: Signed-off-by: Federico Vaga federico.v...@gmail.com Acked-by: Giancarlo Asnaghi giancarlo.asna...@st.com --- drivers/media/video/sta2x11_vip.c | 1239 + 1 file modificato, 414 inserzioni(+), 825

Re: Gethering power management/policy hw drivers under drivers/power/? (Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences)

2012-08-06 Thread Pihet-XID, Jean
Hi Anton, Sorry for the late reply. I was away and back now. On Mon, Jul 30, 2012 at 4:40 AM, Anton Vorontsov cbouatmai...@gmail.com wrote: On Mon, Jul 30, 2012 at 10:51:42AM +0900, Alex Courbot wrote: [...] On the other hand I have just noticed that the apparently unrelated Adaptive Voltage

Re: KVM segfaults with 3.5 while installing ubuntu 12.04

2012-08-06 Thread Stefan Priebe - Profihost AG
Am 06.08.2012 10:36, schrieb Avi Kivity: On 08/05/2012 10:00 PM, Stefan Priebe wrote: So here are 3 backtraces from booting the rescue system: http://pastebin.com/raw.php?i=xCy2pEcP To me they all look the same. They are. What version of qemu are you using? latest stable-1.1 branch

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
+ vip-video_dev-flags |= V4L2_FL_USES_V4L2_FH | V4L2_FL_USE_FH_PRIO; Been there, done that :-) V4L2_FL_USE_FH_PRIO is a bit number, not a bit mask. Use set_bit instead: set_bit(V4L2_FL_USE_FH_PRIO, vip-video_dev-flags); No need to set V4L2_FL_USES_V4L2_FH, BTW. That will be

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-08-06 Thread Felipe Balbi
Hi, On Fri, Aug 03, 2012 at 08:01:44PM +0530, ABRAHAM, KISHON VIJAY wrote: + return 0; +} + +#ifdef CONFIG_PM_RUNTIME + +static int omap_usb2_runtime_suspend(struct device *dev) +{ + struct platform_device *pdev = to_platform_device(dev); + struct omap_usb *phy =

Re: [PATCH v6 00/11] omap: musb: Add device tree support

2012-08-06 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:49PM +0530, Kishon Vijay Abraham I wrote: This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new omap-usb2 phy driver has been added (with only dt suppport) to

Re: i915 regression on 3.6-rc1: lid blanks screen

2012-08-06 Thread Daniel Vetter
On Mon, Aug 6, 2012 at 6:21 AM, Hugh Dickins hu...@google.com wrote: On Sun, 5 Aug 2012, Takashi Iwai wrote: At Sat, 4 Aug 2012 10:01:13 -0700 (PDT), Hugh Dickins wrote: Sorry to report that with 3.6-rc1, closing and opening the lid on this ThinkPad T420s leaves the screen blank, and I

[PATCH 0/7] perf hists: Cleanup hist printing code (v2)

2012-08-06 Thread Namhyung Kim
Hi, This is a cleanup and refactoring patchset for the hist printing code by adding hist_period_print functions and hpp_context. I believe it makes the code easy to maintain and to add new functionalities like upcoming group viewing and callchain accumulation. Any comments are welcome, thanks.

[PATCH 2/7] perf hists: Refactor some functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Rename functions for consistency and move callchain print function into hist_entry__fprintf(). Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 4 ++-- tools/perf/ui/hist.c | 51

[PATCH 1/7] perf hists: Separate out hist print functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Separate out those functions into ui/hist.c. This is required for upcoming changes. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile| 4 +- tools/perf/ui/hist.c | 648 ++

[PATCH 6/7] perf ui/browser: Use hist_period_print functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Override hpp-color functions for TUI. Because line coloring is done outside of the function, it just sets the percent value and pass it. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 94

[PATCH 7/7] perf gtk/browser: Use hist_period_print functions

2012-08-06 Thread Namhyung Kim
Now we can support color using pango markup with this change. Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/gtk/browser.c | 101 +--- tools/perf/ui/gtk/gtk.h | 2 + tools/perf/ui/gtk/setup.c |

[PATCH 5/7] perf hists: Use hpp_functions-width to calculate the column widths

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/hist.c | 27 +++ tools/perf/util/hist.c | 33 - 2 files changed, 27 insertions(+), 33 deletions(-) diff --git

[PATCH 3/7] perf hists: Introduce hist_period_print functions

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Current hist print functions are messy. Refactor them using the hpp callbacks. This will make it easy to add new features. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-diff.c | 1 + tools/perf/ui/hist.c | 490

[PATCH 4/7] perf hists: Handle field separator properly

2012-08-06 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When a field separator is given, the output format doesn't need to be fancy like aligning to column length, coloring the percent value and so on. And since there's a slight difference to normal format, fix it not to break backward compatibility. Cc:

Re: [PATCH 5/5] drivers/video/msm/mddi_client_nt35399.c: use devm_ functions

2012-08-06 Thread Dan Carpenter
On Fri, Aug 03, 2012 at 05:40:13PM +0200, Damien Cassou wrote: @@ -233,7 +234,6 @@ static int mddi_nt35399_remove(struct platform_device *pdev) struct panel_info *panel = platform_get_drvdata(pdev); setup_vsync(panel, 0); - kfree(panel); return 0; } -- To

Re: [PATCH 1/7] netpoll: use GFP_ATOMIC in slave_enable_netpoll() and __netpoll_setup()

2012-08-06 Thread Cong Wang
On Fri, 2012-08-03 at 12:10 +0200, Eric Dumazet wrote: I did this , just take it ;) Do we have to pass gfp to -ndo_netpoll_setup() too? It seems no, so far I don't think we have to do that. Thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH RFC] regulator: suppress printk if there is no real info

2012-08-06 Thread Uwe Kleine-König
This prevents the output of just dummy: in the boot log. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de --- Hello, probably this really only applies to the dummy regulator. If not it might be more sensible to do: if (!buf[0]) buf = no

[RFC V3 PATCH 00/25] memory,numa: introduce MOVABLE-dedicated node and online_movable for hotplug

2012-08-06 Thread Lai Jiangshan
A) Introduction: This patchset adds MOVABLE-dedicated node and online_movable for memory-management. It is used for anti-fragmentation(hugepage, big-order allocation...), hot-removal-of-memory(virtualization, power-conserve, move memory between systems to make better utilities of

[RFC V3 PATCH 05/25] node_states: introduce N_MEMORY

2012-08-06 Thread Lai Jiangshan
We have N_NORMAL_MEMORY for standing for the nodes that have normal memory with zone_type = ZONE_NORMAL. And we have N_HIGH_MEMORY for standing for the nodes that have normal or high memory. But we don't have any word to stand for the nodes that have *any* memory. And we have N_CPU but without

[RFC V3 PATCH 16/25] vmscan: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Hillf Danton

[RFC V3 PATCH 18/25] hotplug: update nodemasks management

2012-08-06 Thread Lai Jiangshan
update nodemasks management for N_MEMORY Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- Documentation/memory-hotplug.txt |5 +++- include/linux/memory.h |1 + mm/memory_hotplug.c | 49 + 3 files changed, 48

[RFC V3 PATCH 22/25] x86: use memblock_set_current_limit() to set memblock.current_limit

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com memblock.current_limit is set directly though memblock_set_current_limit() is prepared. So fix it. Signed-off-by: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- arch/x86/kernel/setup.c

[RFC V3 PATCH 24/25] memblock: compare current_limit with end variable at memblock_find_in_range_node()

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com memblock_find_in_range_node() does not compare memblock.current_limit with end variable. Thus even if memblock.current_limit is smaller than end variable, the function allocates memory address that is bigger than memblock.current_limit. The

[RFC V3 PATCH 23/25] memblock: limit memory address from memblock

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com Setting kernelcore_max_pfn means all memory which is bigger than the boot parameter is allocated as ZONE_MOVABLE. So memory which is allocated by memblock also should be limited by the parameter. The patch limits memory from memblock.

[RFC V3 PATCH 25/25] mm, memory-hotplug: add online_movable and online_kernel

2012-08-06 Thread Lai Jiangshan
When a memoryblock/memorysection is onlined by online_movable, the kernel will not have directly reference to the page of the memoryblock, thus we can remove that memory any time when needed. It makes things easy when we dynamic hot-add/remove memory, make better utilities of memories, and helps

[RFC V3 PATCH 15/25] init: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- init/main.c |2 +- 1

[RFC V3 PATCH 17/25] page_alloc: use N_MEMORY instead N_HIGH_MEMORY change the node_states initialization

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Since we introduced N_MEMORY, we update the initialization of node_states.

[RFC V3 PATCH 20/25] page_alloc: add kernelcore_max_addr

2012-08-06 Thread Lai Jiangshan
Current ZONE_MOVABLE (kernelcore=) setting policy with boot option doesn't meet our requirement. We need something like kernelcore_max_addr=XX boot option to limit the kernelcore upper address. The memory with higher address will be migratable(movable) and they are easier to be offline(always

[RFC V3 PATCH 19/25] numa: add CONFIG_MOVABLE_NODE for movable-dedicated node

2012-08-06 Thread Lai Jiangshan
All are prepared, we can actually introduce N_MEMORY. add CONFIG_MOVABLE_NODE make we can use it for movable-dedicated node Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- drivers/base/node.c |6 ++ include/linux/nodemask.h |4 mm/Kconfig |8

[RFC V3 PATCH 21/25] x86: get pg_data_t's memory from other node

2012-08-06 Thread Lai Jiangshan
From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com If system can create movable node which all memory of the node is allocated as ZONE_MOVABLE, setup_node_data() cannot allocate memory for the node's pg_data_t. So when memblock_alloc_nid() fails, setup_node_data() retries memblock_alloc().

Re: [PATCH v6 00/11] omap: musb: Add device tree support

2012-08-06 Thread ABRAHAM, KISHON VIJAY
On Mon, Aug 6, 2012 at 2:22 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Jul 30, 2012 at 02:39:49PM +0530, Kishon Vijay Abraham I wrote: This patch series adds device tree support for MUSB and device tree support for all the related modules to get MUSB working in OMAP platform. A new

[RFC V3 PATCH 13/25] vmstat: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Christoph Lameter

[RFC V3 PATCH 10/25] mm,migrate: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Christoph Lameter

[RFC V3 PATCH 09/25] oom: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Hillf Danton

[RFC V3 PATCH 08/25] memcontrol: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- mm/memcontrol.c | 18

[RFC V3 PATCH 14/25] kthread: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/kthread.c |2 +-

[RFC V3 PATCH 12/25] hugetlb: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Hillf Danton

Re: Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-06 Thread leroy christophe
Le 05/08/2012 10:28, Eric Dumazet a écrit : On Sun, 2012-08-05 at 10:16 +0200, LEROY christophe wrote: Le 02/08/2012 16:13, Eric Dumazet a écrit : On Thu, 2012-08-02 at 14:27 +0200, leroy christophe wrote: Hi I'm having a big issue with UDP. Using a powerpc board (MPC860). With our board

[RFC V3 PATCH 07/25] procfs: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Hillf Danton

[PATCH] driver: misc: bmp085: remove of_match_table property.

2012-08-06 Thread Sourav Poddar
There is an automatic binding done for I2C devices in the of_i2c core code. So, DT will be able to bind to any I2C device using the already existing table: MODULE_DEVICE_TABLE(i2c, bmp085_id). Tested on omap5430 evm. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh

[PATCH] timer: do not define __mod_timer as inline function

2012-08-06 Thread Yuanhan Liu
__mod_timer() is a bit 'huge' to be defined as inline. $ size kernel/timer*.o textdata bss dec hex filename 1890840348257 3119979df kernel/timer-before.o 1796140348257 30252762c kernel/timer-after.o Cc: Thomas Gleixner t...@linutronix.de Cc:

[RFC V3 PATCH 11/25] mempolicy: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- mm/mempolicy.c | 12

[RFC V3 PATCH 03/25] slub, hotplug: ignore unrelated node's hot-adding and hot-removing

2012-08-06 Thread Lai Jiangshan
SLUB only fucus on the nodes which has normal memory, so ignore the other node's hot-adding and hot-removing. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- mm/slub.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/slub.c b/mm/slub.c index 8c691fa..f8b137a

[RFC V3 PATCH 01/25] page_alloc.c: don't subtract unrelated memmap from zone's present pages

2012-08-06 Thread Lai Jiangshan
A)== Currently, memory-page-map(struct page array) is not defined in struct zone. It is defined in several ways: FLATMEM: global memmap, can be allocated from any zone = ZONE_NORMAL CONFIG_DISCONTIGMEM: node-specific memmap, can be allocated from any zone = ZONE_NORMAL

[RFC V3 PATCH 06/25] cpuset: use N_MEMORY instead N_HIGH_MEMORY

2012-08-06 Thread Lai Jiangshan
N_HIGH_MEMORY stands for the nodes that has normal or high memory. N_MEMORY stands for the nodes that has any memory. The code here need to handle with the nodes which have memory, we should use N_MEMORY instead. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com Acked-by: Hillf Danton

Re: [PATCH] drivers: net: irda: bfin_sir: fix compile error

2012-08-06 Thread Bob Liu
Hi Samuel, Would you please take a look at this patch? Since without this patch, regression test for blackfin will fail: http://kisskb.ellerman.id.au/kisskb/matrix/ Thank you! On Mon, Jul 30, 2012 at 2:44 PM, Bob Liu lliu...@gmail.com wrote: From: Sonic Zhang sonic.zh...@analog.com Bit IREN

Re: No 3.5 version on www.kernel.org

2012-08-06 Thread Borislav Petkov
On Mon, Aug 06, 2012 at 08:48:56AM +0200, Tino Keitel wrote: Hi, when looking at http://www.kernel.org/, kernel 3.4.7 is shown as the latest stable kernel, and 3.6-rc1 as the latest mainline kernel. The 3.5 version is not mentioned. Why is the latest stable kernel something older than 3.5?

[RFC V3 PATCH 04/25] node: cleanup node_state_attr

2012-08-06 Thread Lai Jiangshan
Make it more readability and easy to add new state. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- drivers/base/node.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/base/node.c b/drivers/base/node.c index af1a177..5d7731e 100644 ---

[RFC V3 PATCH 02/25] memory_hotplug: fix missing nodemask management

2012-08-06 Thread Lai Jiangshan
Currently memory_hotplug only manages the node_states[N_HIGH_MEMORY], it forgot to manage node_states[N_NORMAL_MEMORY]. fix it. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- Documentation/memory-hotplug.txt |5 ++- include/linux/memory.h |1 + mm/memory_hotplug.c

[PATCH 1/3] backlight: atmel-pwm-bl: remove goto err_free_mem

2012-08-06 Thread Jingoo Han
This patch removes goto err_free_mem, which makes code a bit smaller. Cc: Hans-Christian Egtvedt egtv...@samfundet.no Cc: Richard Purdie rpur...@rpsys.net Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/atmel-pwm-bl.c | 15 +-- 1 files changed, 5

[PATCH 2/3] backlight: aat2870: remove goto out

2012-08-06 Thread Jingoo Han
This patch removes goto out, which makes code a bit smaller. Cc: Jin Park jinyou...@nvidia.com Cc: Richard Purdie rpur...@rpsys.net Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/aat2870_bl.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff

Re: [PATCH] driver: misc: bmp085: remove of_match_table property.

2012-08-06 Thread Felipe Balbi
On Mon, Aug 06, 2012 at 02:58:44PM +0530, Sourav Poddar wrote: There is an automatic binding done for I2C devices in the of_i2c core code. So, DT will be able to bind to any I2C device using the already existing table: MODULE_DEVICE_TABLE(i2c, bmp085_id). Tested on omap5430 evm. Cc:

  1   2   3   4   5   6   7   8   9   10   >