Re: [PATCH 11/12] pinctrl: samsung: use __devinit section for init code

2012-10-01 Thread Linus Walleij
On Fri, Sep 28, 2012 at 11:36 PM, Arnd Bergmann a...@arndb.de wrote: The samsung pinctrl driver has a probe function that is __devinit and that calls a lot of other functions that are marked __init, which kbuild complains about. Marking everything __devinit means that the code does not

Re: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-01 Thread anish singh
On Mon, Oct 1, 2012 at 11:00 AM, Arun MURTHY arun.mur...@stericsson.com wrote: On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: +#include linux/module.h +#include linux/slab.h +#include linux/err.h +#include linux/printk.h +#include linux/modem_shm/modem.h + +static

[PATCH] pwm: Check for negative duty-cycle and period

2012-10-01 Thread Thierry Reding
Make sure the duty-cycle and period passed in are not negative. This should eventually be made implicit by making them unsigned. While at it, the drivers' .config() implementations can have the equivalent checks removed. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Cc: Shawn Guo

Re: [RFC PATCH 1/6] Introduce acpi_match_device_id().

2012-10-01 Thread Mika Westerberg
On Sat, Sep 29, 2012 at 01:31:52PM +, Zhang, Rui wrote: +{ + acpi_handle handle = DEVICE_ACPI_HANDLE(dev); If the device is not bound to an ACPI handle this will return NULL. And I don't see you doing that in this series meaning that.. You're right, I should set

Re: rt73usb WARNING: at net/mac80211/driver-ops.h:12 check_sdata_in_driver

2012-10-01 Thread Stephen Boyd
On 09/28/2012 05:46 AM, Dan Carpenter wrote: Hi Stephen, I have created a bug for this: https://bugzilla.kernel.org/show_bug.cgi?id=48041 We only recently added the warning on that path. Please add the following information. *) Complete dmesg Ok I've added the information to the

Re: [RFC PATCH 0/6] ACPI: ACPI 5.0 device enumeration proposal

2012-10-01 Thread Mika Westerberg
On Fri, Sep 28, 2012 at 03:37:43PM +0800, Zhang Rui wrote: the main idea is that, for Serial Buses like I2C and SPI, we enumerate the controller as a platform device, and then enumerate the slaves via i2c/spi_register_board_info. And then, when the controller is really probed and enabled in

[PATCH] Prevent AMD MCE oops on multi-server system

2012-10-01 Thread Daniel J Blueman
When booting on a federated multi-server system, the processor Northbridge lookup returns NULL; add guards to prevent this causing an oops. Signed-off-by: Daniel J Blueman dan...@numascale-asia.com --- arch/x86/kernel/cpu/mcheck/mce_amd.c | 10 +- 1 file changed, 5 insertions(+), 5

Re: [RFC PATCH 2/6] Introduce ACPI style match in platform_match

2012-10-01 Thread Mika Westerberg
On Fri, Sep 28, 2012 at 03:39:15PM +0800, Zhang Rui wrote: From 5d7ecd12c2994b8c5905d52718c2870c3b62746e Mon Sep 17 00:00:00 2001 From: Zhang Rui rui.zh...@intel.com Date: Fri, 28 Sep 2012 14:51:03 +0800 Subject: [RFC PATCH 2/6] Introduce ACPI style match in platform_match Signed-off-by:

[PATCH] pwm: dt: Fix description of second PWM cell

2012-10-01 Thread Thierry Reding
The second cell in the PWM specifier denotes the period in nanoseconds, not the duty cycle. The latter can be freely configured at runtime and a PWM with a fixed duty cycle would be rather pointless. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Cc: Shawn Guo shawn@linaro.org

Re: [RFC PATCH 5/6] ACPI: Introduce ACPI I2C controller enumeration driver

2012-10-01 Thread Mika Westerberg
On Fri, Sep 28, 2012 at 03:40:32PM +0800, Zhang Rui wrote: +acpi_status __init i2c_enumerate_slave(acpi_handle handle, u32 level, +void *data, void **return_value) +{ + int result; + acpi_status status; + struct acpi_buffer buffer; +

Re: [PATCH 2/4] memory-hotplug: add node_device_release

2012-10-01 Thread Yasuaki Ishimatsu
Hi Kosaki-san, 2012/09/29 7:19, KOSAKI Motohiro wrote: I don't understand it. How can we get rid of the warning? See cpu_device_release() for example. If we implement a function like cpu_device_release(), the warning disappears. But the comment says in the function Never copy this way

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-01 Thread Arun MURTHY
On Mon, Oct 1, 2012 at 11:00 AM, Arun MURTHY arun.mur...@stericsson.com wrote: On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: +#include linux/module.h +#include linux/slab.h +#include linux/err.h +#include linux/printk.h +#include linux/modem_shm/modem.h +

Re: [PATCH v2 3/4] perf annotate: configure objdump path at compile time

2012-10-01 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Thu, 27 Sep 2012 14:25:10 +0300, Irina Tirdea wrote: The perf built to run on the host needs to use arm-eabi-objdump from the toolchain so that it can analyse data recorded on Android. This patch is targeting this scenario, not the previous

Re: [GIT PULL] x86/mce allow bios to set per-bank CMCI threshold

2012-10-01 Thread Ingo Molnar
* Luck, Tony tony.l...@intel.com wrote: The following changes since commit 961ebea4ae68075bb5a0acc19f5852bed82bb877: Merge tag 'ras_queue_for_3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras into x86/mce (2012-09-19 17:01:50 +0200) are available in the git repository

Re: Re: 3.4.10 i915 [GM45] regression

2012-10-01 Thread Daniel Vetter
On Sun, Sep 30, 2012 at 4:32 PM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Sep 30, 2012 at 01:15:38PM +0200, Andreas Sturmlechner wrote: Ok, now reverted, thanks. greg k-h The same patch also breaks 3.0 for me. A 3.0.42 image with the patch reverted was fine, I checked with

Re: [PATCH v2] kbuild: Fix gcc -x syntax

2012-10-01 Thread Ingo Molnar
* Jean Delvare jdelv...@suse.de wrote: The correct syntax for gcc -x is gcc -x assembler, not gcc -xassembler. Even though the latter happens to work, the former is what is documented in the manual page and thus what gcc wrappers such as icecream do expect. This isn't a cosmetic change.

Re: [PATCH] slab: Ignore internal flags in cache creation

2012-10-01 Thread Pekka Enberg
Hello, [ Found this in my @cs.helsinki.fi inbox, grmbl. ] On Fri, Sep 28, 2012 at 11:39 PM, David Rientjes rient...@google.com wrote: The first prototype, SLAM XP1, will be posted in October. I'd simply like to avoid reverting this patch down the road and having all of us reconsider the

[PATCH 2/4 v2] irqdomain: augment add_simple() to allocate descs

2012-10-01 Thread Linus Walleij
From: Linus Walleij linus.wall...@linaro.org Currently we rely on all IRQ chip instances to dynamically allocate their IRQ descriptors unless they use the linear IRQ domain. So for irqdomain_add_legacy() and irqdomain_add_simple() the caller need to make sure that descriptors are allocated.

Sehr geehrter E-Mail-Benutzer (Upgrade Your Account)

2012-10-01 Thread Universität München
-- Sehr geehrter E-Mail-Benutzer, Die neue E-Mail-Upgrade Gruppe ™ Webmail ist eine schnelle und leichte Anwendung, um schnell und einfach Zugriff auf Ihre E-Mail. Wir sind derzeit Upgrade unserer Datenbank und E-Mail-Center. Wir löschen E-Mail-Upgrade Gruppe ™ Webmail, um mehr Platz für neue

Re: [RFC v9 PATCH 03/21] memory-hotplug: store the node id in acpi_memory_device

2012-10-01 Thread Yasuaki Ishimatsu
Hi Chen, 2012/09/28 12:21, Ni zhan Chen wrote: On 09/05/2012 05:25 PM, we...@cn.fujitsu.com wrote: From: Wen Congyang we...@cn.fujitsu.com The memory device has only one node id. Store the node id when enable the memory device, and we can reuse it when removing the memory device. one

[PATCH] Correct AMD IOMMU printing

2012-10-01 Thread Daniel J Blueman
When an AMD IOMMU is detected, prevent printing unintended blank line. Signed-off-by: Daniel J Blueman dan...@quora.org --- drivers/iommu/amd_iommu_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index

Re: [SCSI PATCH] sd: max-retries becomes configurable

2012-10-01 Thread Ric Wheeler
On 09/25/2012 04:08 PM, James Bottomley wrote: On Tue, 2012-09-25 at 01:21 -0400, Jeff Garzik wrote: On 09/25/2012 12:06 AM, James Bottomley wrote: On Mon, 2012-09-24 at 17:00 -0400, Jeff Garzik wrote: drivers/scsi/sd.c |4 drivers/scsi/sd.h |2 +- 2 files changed, 5

Re: [PATCH] Correct AMD IOMMU printing

2012-10-01 Thread Joerg Roedel
On Mon, Oct 01, 2012 at 03:41:13PM +0800, Daniel J Blueman wrote: When an AMD IOMMU is detected, prevent printing unintended blank line. Signed-off-by: Daniel J Blueman dan...@quora.org --- drivers/iommu/amd_iommu_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] slab: Ignore internal flags in cache creation

2012-10-01 Thread Glauber Costa
On 10/01/2012 11:28 AM, Pekka Enberg wrote: Hello, [ Found this in my @cs.helsinki.fi inbox, grmbl. ] On Fri, Sep 28, 2012 at 11:39 PM, David Rientjes rient...@google.com wrote: The first prototype, SLAM XP1, will be posted in October. I'd simply like to avoid reverting this patch down

[PATCH v3] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-10-01 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com Cc: Sakari Ailus sakari.ai...@iki.fi Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Jean

Re: ABI change for setitimer(2) [in feature-removal-schedule.txt]

2012-10-01 Thread Michael Kerrisk
On Sun, Sep 30, 2012 at 7:51 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Sat, Sep 29, 2012 at 11:30 PM, Michael Kerrisk mtk.manpa...@gmail.com wrote: I think the whole let's deprecate this six months into the future is unnecessary. Yes, it may well be worth doing for something

[patch] Remove proposed ABI change for setitimer(2)

2012-10-01 Thread Michael Kerrisk
Commit aa2bf9bc6414b6972b9e51903c1ce7b1f057aee2 scheduled an ABI change for setitimer() whose rationale is dubious. The standards are largely silent on the point referred to in that commit's changelog. In addition, current behavior is causing no reported hardship for user-space. So, there are no

Re: [PATCH 12/16] iommu/amd: Add initialization routines for AMD interrupt remapping

2012-10-01 Thread Joerg Roedel
On Fri, Sep 28, 2012 at 05:18:18PM -0600, Shuah Khan wrote: +void amd_iommu_disable(void) +{ + amd_iommu_suspend(); Is it safe to attempt to suspend when iommu is in suspend state? In other words what happens if amd_iommu_disable() gets called when iommu is already in suspend

[PATCH v3 -tip 0/5] x86, MSI, AHCI: Support multiple MSIs

2012-10-01 Thread Alexander Gordeev
Currently multiple MSI mode is limited to a single vector per device (at least on x86 and PPC). This series breathes life into pci_enable_msi_block() and makes it possible to set interrupt affinity for multiple IRQs, similarly to MSI-X. Yet, only for x86 and only when IOMMUs are present. Although

Re: [PATCH 14/16] iommu/irq: Use amd_iommu_irq_ops if supported

2012-10-01 Thread Joerg Roedel
On Fri, Sep 28, 2012 at 05:39:03PM -0600, Shuah Khan wrote: On Fri, Sep 28, 2012 at 6:24 AM, Joerg Roedel joerg.roe...@amd.com wrote: void __init setup_irq_remapping_ops(void) { remap_ops = intel_irq_remap_ops; + +#ifdef CONFIG_AMD_IOMMU + if

[PATCH v3 -tip 1/5] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-10-01 Thread Alexander Gordeev
The MSI specification has several constraints in comparison with MSI-X, most notable of them is the inability to configure MSIs independently. As a result, it is impossible to dispatch interrupts from different queues to different CPUs. This is largely devalues the support of multiple MSIs in SMP

[PATCH v3 -tip 2/5] x86, MSI: Allocate as many multiple IRQs as requested

2012-10-01 Thread Alexander Gordeev
When multiple MSIs are enabled with pci_enable_msi_block() the number of allocated IRQs 'nvec' is rounded up to the nearest value of power of two. That could lead to a condition when number of requested and used IRQs is less than number of actually allocated IRQs. This fix introduces

[PATCH v3 -tip 4/5] PCI, MSI: Enable multiple MSIs with pci_enable_msi_block_auto()

2012-10-01 Thread Alexander Gordeev
The new function pci_enable_msi_block_auto() tries to allocate maximum possible number of MSIs up to the number the device supports. It generalizes a pattern when pci_enable_msi_block() is contiguously called until it succeeds or fails. Opposite to pci_enable_msi_block() which takes the number of

[PATCH v3 -tip 5/5] AHCI: Support multiple MSIs

2012-10-01 Thread Alexander Gordeev
Take advantage of multiple MSIs implementation on x86 - on systems with IRQ remapping AHCI ports not only get assigned separate MSI vectors - but also separate IRQs. As result, interrupts generated by different ports could be serviced on different CPUs rather than on a single one. In cases when

Re: [PATCH v4] KSM: numa awareness sysfs knob

2012-10-01 Thread Hugh Dickins
On Sun, 30 Sep 2012, Hugh Dickins wrote: Andrea's point about ksm_migrate_page() is an important one, and I've answered that against his mail, but here's some other easier points. There's another point that I completely forgot to make once I got down to the details of your patch. Somewhere, I

Re: [PATCHv2 00/14] perf diff: Factor diff command

2012-10-01 Thread Jiri Olsa
On Thu, Sep 27, 2012 at 11:31:02PM +0200, Andi Kleen wrote: On Thu, Sep 27, 2012 at 01:09:21PM +0200, Jiri Olsa wrote: hi, this is v2 of diff command changes proposed in here: https://lkml.org/lkml/2012/9/6/344 It's now rebased on new hists hpp* interface plus few more additional

[PATCH] drm/nouveau: fix crash regression

2012-10-01 Thread Ortwin Glück
Work around a crash during boot if noaccel is set. NB: still broken in 3.5 as well, used to work in 3.4. Why are people ignoring this? It's a regression! Signed-off-by: Ortwin Glück o...@odi.ch --- diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c

Re: [PATCH 1/1] hid:Fix problem on GeneralTouch multi-touchscreen

2012-10-01 Thread Jiri Kosina
On Fri, 28 Sep 2012, GeneralTouch wrote: From: Xianhan Yu aroundigh...@gmail.com Fix the touch-up no response problem on GeneralTouch twofingers touchscreen and modify the driver for new GeneralTouch PWT touchscreen. Signed-off-by: Xianhan Yu aroundigh...@gmail.com Applied, thanks. --

Re: [PATCH 3/3] virtio_console: Don't initialize buffers to zero

2012-10-01 Thread Amit Shah
On (Tue) 25 Sep 2012 [15:47:17], sjur.brandel...@stericsson.com wrote: From: Sjur Brændeland sjur.brandel...@stericsson.com Skip initializing the receive buffers. This tells 'what', but not 'why'. Please add some more description. For the generic virtio ports case, at least, my original

Re: HID: picoLCD: optimize for inactive debugfs

2012-10-01 Thread Jiri Kosina
On Sun, 30 Sep 2012, Bruno Prémont wrote: Matthieu CASTET adjusted picolcd_debug_out_report() to only operate when there is an active listener on debugfs for events. His change got lost while splitting hid_picolcd.c, restore it. Signed-off-by: Bruno Prémont bonb...@linux-vserver.org ---

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

2012-10-01 Thread Glauber Costa
On 09/30/2012 12:25 PM, Tejun Heo wrote: On Fri, Sep 28, 2012 at 03:34:19PM +0400, Glauber Costa wrote: On 09/27/2012 05:44 PM, Michal Hocko wrote: Anyway, I have just noticed that __mem_cgroup_try_charge does VM_BUG_ON(css_is_removed(memcg-css)) on a given memcg so you should keep css ref

x86_64: wrong DirectMap kB

2012-10-01 Thread Hugh Dickins
Jan, I noticed yesterday that the DirectMap counts at the bottom of x86_64's /proc/meminfo are wrong on v3.5 and v3.6. For example, I happen to have booted this laptop with mem=700M to run a test, but /proc/meminfo shows DirectMap4k:4096 kB DirectMap2M:18446744073709547520 kB Or if

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-10-01 Thread Glauber Costa
On 09/30/2012 11:57 AM, Tejun Heo wrote: Hello, Glauber. On Thu, Sep 27, 2012 at 10:45:01PM +0400, Glauber Costa wrote: Can you please give other examples of cases where this type of issue exists (plenty of shared kernel data structure which is inherent to the workload at hand)? Until now,

Re: [PATCH 09/16] iommu/amd: Add IOAPIC remapping routines

2012-10-01 Thread Joerg Roedel
On Fri, Sep 28, 2012 at 10:45:15AM -0400, Konrad Rzeszutek Wilk wrote: On Fri, Sep 28, 2012 at 02:23:59PM +0200, Joerg Roedel wrote: + /* +* Mask level triggered irqs. +* Use IRQ_DELAYED_DISABLE for edge triggered irqs. so how come it is not set? Don't understand this. What is

Re: [PATCH 04/12] perf tools: Convert to LIBUNWIND_SUPPORT

2012-10-01 Thread Jiri Olsa
On Fri, Sep 28, 2012 at 06:32:00PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com For building perf without libunwind, we can set NO_LIBUNWIND=1 as a argument of make. It then defines NO_LIBUNWIND_SUPPORT macro for C code to do the proper handling. However it usually

Re: [PATCH 1/6] target/file: Re-enable optional fd_buffered_io=1 operation

2012-10-01 Thread Christoph Hellwig
On Sun, Sep 30, 2012 at 05:58:11AM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org This patch re-adds the ability to optionally run in buffered FILEIO mode (eg: w/o O_DSYNC) for device backends in order to once again use the Linux buffered cache as a

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-10-01 Thread Glauber Costa
On 10/01/2012 04:57 AM, Tejun Heo wrote: Hello, James. On Sun, Sep 30, 2012 at 12:25:52PM +0100, James Bottomley wrote: But you've got to ask yourself who cares about accurate accounting per container of dentry and inode objects? They're not objects that any administrator is used to

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-10-01 Thread Glauber Costa
On 09/30/2012 12:23 PM, Tejun Heo wrote: Hello, Glauber. On Thu, Sep 27, 2012 at 10:30:36PM +0400, Glauber Costa wrote: But that happens only when pages enter and leave slab and if it still is significant, we can try to further optimize charging. Given that this is only for cases where

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-10-01 Thread Glauber Costa
On 09/30/2012 02:37 PM, Tejun Heo wrote: Hello, James. On Sun, Sep 30, 2012 at 09:56:28AM +0100, James Bottomley wrote: The beancounter approach originally used by OpenVZ does exactly this. There are two specific problems, though, firstly you can't count references in generic code, so now

Re: [PATCH 1/5] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-10-01 Thread Thomas Hellstrom
On 09/29/2012 05:16 PM, Maarten Lankhorst wrote: Op 28-09-12 22:10, Thomas Hellstrom schreef: On 09/28/2012 09:42 PM, Thomas Hellstrom wrote: On 09/28/2012 04:14 PM, Maarten Lankhorst wrote: Hey, Op 28-09-12 14:41, Maarten Lankhorst schreef: Documentation says that code requiring dma-buf

[PATCH v3 -tip 3/5] x86, MSI: Minor readability fixes

2012-10-01 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- arch/x86/kernel/apic/io_apic.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index 84d632b..0489699 100644 --- a/arch/x86/kernel/apic/io_apic.c

Re: rcu self-detected stall messages on OMAP3, 4 boards

2012-10-01 Thread Linus Walleij
On Sat, Sep 22, 2012 at 11:59 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: rcu: Fix day-one dyntick-idle stall-warning bug As mentioned in another thread this solves the same problem for ux500. Reported/Tested-by: Linus Walleij linus.wall...@linaro.org But now it appears that this

Re: [PATCH 1/6] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-01 Thread Felipe Balbi
Hi, On Fri, Sep 28, 2012 at 07:01:04PM +0530, ABRAHAM, KISHON VIJAY wrote: Hi, On Fri, Sep 28, 2012 at 6:27 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Fri, Sep 28, 2012 at 06:23:10PM +0530, Kishon Vijay Abraham I wrote: Used of_platform_populate() to populate dwc3 core

Re: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-01 Thread anish singh
On Mon, Oct 1, 2012 at 12:27 PM, Arun MURTHY arun.mur...@stericsson.com wrote: On Mon, Oct 1, 2012 at 11:00 AM, Arun MURTHY arun.mur...@stericsson.com wrote: On Fri, Sep 28, 2012 at 01:35:01PM +0530, Arun Murthy wrote: +#include linux/module.h +#include linux/slab.h +#include

Re: [PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-10-01 Thread Andy Shevchenko
On Thu, 2012-09-27 at 16:03 +0530, Vinod Koul wrote: On Thu, 2012-09-27 at 15:36 +0530, Vinod Koul wrote: On Tue, 2012-09-25 at 14:39 +0300, Andy Shevchenko wrote: Not all of the controllers support the 64 bit data width. Make it configurable via platform data. The driver will try to

RE: [tpmdd-devel] [PATCH] TPM: Let the tpm char device be openable multiple times

2012-10-01 Thread Peter.Huewe
Hi Jason, one quick question: - TPM_BUFSIZE = 4096, [...] + u8 data_bufferx[2048]; Why do you half the buffer size? Thanks, Peter -- 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

Re: kernel BUG at fs/buffer.c:3205 (stable 3.5.3)

2012-10-01 Thread Jan Kara
On Sat 29-09-12 21:07:27, Alexander Holler wrote: Am 27.09.2012 22:03, schrieb Jan Kara: On Thu 27-09-12 17:46:48, Alexander Holler wrote: Hello, Am 27.09.2012 17:12, schrieb Jan Kara: Just some thoughts about your oops: The assertion which fails is:

GFS2: Pull request (merge window)

2012-10-01 Thread Steven Whitehouse
Hi, Please consider pulling the following changes, Steve. --- The major feature this time is the rbm conversion in the resource group code. The new struct gfs2_rbm specifies the location of an allocatable block in (resource

Re: CONFIG_EXPERT is a booby trap

2012-10-01 Thread Mikael Pettersson
Tim Shepard writes: This weekend I finally figured out why the keyboard in my MacBook Pro stopped working between 3.4 and 3.5. When I turned on CONFIG_EXPERT it turned off CONFIG_HID_APPLE. There was no warning that selecting Configure standard kernel features will invisibly turn off

Re: [PATCH V2 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-10-01 Thread Vincent Guittot
On 1 October 2012 05:47, Viresh Kumar viresh.ku...@linaro.org wrote: On 1 October 2012 06:02, Tejun Heo t...@kernel.org wrote: It isn't about the CPU being actually idle? No. Being idle only from scheduler's perspective. :) Also, if it's only about timers, shouldn't it be enough to implement

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-01 Thread Arun MURTHY
+int modem_release(struct modem_desc *mdesc) { + if (!mdesc-release) + return -EFAULT; + + if (modem_is_requested(mdesc)) { + atomic_dec(mdesc-mclients-cnt); + if (atomic_read(mdesc-use_cnt) == 1) { +

Re: [PATCH v4] media: v4l2-ctrls: add control for test pattern

2012-10-01 Thread Sakari Ailus
Hi Prabhakar, Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

RE: [tpmdd-devel] [PATCH] TPM: Issue TPM_STARTUP at driver load if the TPM has not been started

2012-10-01 Thread Peter.Huewe
Hi Jason, The TPM will respond to TPM_GET_CAP with TPM_ERR_INVALID_POSTINIT if TPM_STARTUP has not been issued. This will result in the TPM driver failing to load and no way to recover. Detect this and automatically issue TPM_STARTUP. This is for embedded applications where the kernel is

Re: kernel BUG at fs/buffer.c:3205 (stable 3.5.3)

2012-10-01 Thread Alexander Holler
Hello, Am 01.10.2012 11:10, schrieb Jan Kara: sha1sum Tainted: P O 3.5.4-9-gfa43f23-dirty #228 BTW, fglrx moodule taints the kernel because it is a proprietary driver. I know. Can you reproduce the issue without this module loaded? I will try it with a clean 3.6. Most

Re: [PATCH v3 04/13] kmem accounting basic infrastructure

2012-10-01 Thread Michal Hocko
Hi, On Sun 30-09-12 17:47:50, Tejun Heo wrote: [...] The hot path overhead is quite minimal - it doesn't do much more than indirecting one more time. In terms of memory usage, it sure could lead to a bit more fragmentation but even if it gets to several megs per cgroup, I don't think

Re: tg3 driver upgrade (Linux 2.6.32 - 3.2) breaks IBM Bladecenter SoL

2012-10-01 Thread Michael Chan
On Fri, 2012-09-28 at 22:45 +0200, Ferenc Wagner wrote: Hi, Upgrading the kernel on our HS20 blades resulted in their SoL (serial over LAN) connection being broken. The disconnection happens when eth0 (the interface involved in SoL) is brought up during the boot sequence. If I later ip

Re: [PATCH 1/3] virtio_console:Merge struct buffer_token into struct port_buffer

2012-10-01 Thread Amit Shah
On (Tue) 25 Sep 2012 [15:47:15], sjur.brandel...@stericsson.com wrote: From: Sjur Brændeland sjur.brandel...@stericsson.com This merge reduces code size by unifying the approach for sending scatter-lists and regular buffers. Any type of write operation (splice, write, put_chars) will now

Re: [PATCH 07/19] mm/mpol: Add MPOL_MF_NOOP

2012-10-01 Thread Michael Kerrisk
On Tue, Jul 31, 2012 at 9:12 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: From: Lee Schermerhorn lee.schermerh...@hp.com This patch augments the MPOL_MF_LAZY feature by adding a NOOP policy to mbind(). When the NOOP policy is used with the 'MOVE and 'LAZY flags, mbind() [check_range()]

Re: [PATCH 05/11] x86/xen: Register resources required by kexec-tools

2012-10-01 Thread Jan Beulich
On 28.09.12 at 18:21, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, Sep 27, 2012 at 08:06:32PM +0200, Daniel Kiper wrote: +for (i = 0; i cpus; ++i) { Any specific reason for using '++i' instead of 'i++' ? For people occasionally also writing C++ code this is the canonical

Re: [PATCH v3] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-10-01 Thread Laurent Pinchart
Hi Prabhakar, Thanks for the patch. On Monday 01 October 2012 13:31:59 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Laurent Pinchart laurent.pinch...@ideasonboard.com

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

2012-10-01 Thread Michal Hocko
On Sun 30-09-12 17:25:42, Tejun Heo wrote: On Fri, Sep 28, 2012 at 03:34:19PM +0400, Glauber Costa wrote: On 09/27/2012 05:44 PM, Michal Hocko wrote: Anyway, I have just noticed that __mem_cgroup_try_charge does VM_BUG_ON(css_is_removed(memcg-css)) on a given memcg so you should keep

Re: [PATCH 07/19] mm/mpol: Add MPOL_MF_NOOP

2012-10-01 Thread Ingo Molnar
* Michael Kerrisk mtk.manpa...@gmail.com wrote: On Tue, Jul 31, 2012 at 9:12 PM, Peter Zijlstra a.p.zijls...@chello.nl wrote: From: Lee Schermerhorn lee.schermerh...@hp.com This patch augments the MPOL_MF_LAZY feature by adding a NOOP policy to mbind(). When the NOOP policy is used

Re: [PATCH 1/5] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-10-01 Thread Maarten Lankhorst
Op 28-09-12 21:42, Thomas Hellstrom schreef: On 09/28/2012 04:14 PM, Maarten Lankhorst wrote: Hey, Op 28-09-12 14:41, Maarten Lankhorst schreef: Documentation says that code requiring dma-buf should add it to select, so inline fallbacks are not going to be used. A link error will make it

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

2012-10-01 Thread Michal Hocko
On Fri 28-09-12 15:34:19, Glauber Costa wrote: On 09/27/2012 05:44 PM, Michal Hocko wrote: the reference count aquired by mem_cgroup_get will still prevent the memcg from going away, no? Yes but you are outside of the rcu now and we usually do css_get before we rcu_unlock.

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-10-01 Thread Lee Jones
On Mon, 01 Oct 2012, Rajanikanth H.V wrote: From: Rajanikanth H.V rajanikanth...@stericsson.com - This patch adds device tree support for fuelguage driver - optimize bm devices platform_data usage and of_probe(...) Note: of_probe() routine for battery managed devices is made common

Re: [PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-10-01 Thread Vinod Koul
On Mon, 2012-10-01 at 12:04 +0300, Andy Shevchenko wrote: On Thu, 2012-09-27 at 16:03 +0530, Vinod Koul wrote: On Thu, 2012-09-27 at 15:36 +0530, Vinod Koul wrote: On Tue, 2012-09-25 at 14:39 +0300, Andy Shevchenko wrote: Not all of the controllers support the 64 bit data width. Make it

Re: [PATCHv5 2/3] virtio_console: Add support for remoteproc serial

2012-10-01 Thread Amit Shah
On (Tue) 25 Sep 2012 [15:47:16], sjur.brandel...@stericsson.com wrote: +static DEFINE_SPINLOCK(dma_bufs_lock); +static LIST_HEAD(pending_free_dma_bufs); + static void free_buf(struct port_buffer *buf) { int i; + unsigned long flags; - kfree(buf-buf); + if

Re: [PATCH 1/3] virtio_console:Merge struct buffer_token into struct port_buffer

2012-10-01 Thread Amit Shah
On (Wed) 26 Sep 2012 [09:48:12], Sjur BRENDELAND wrote: This merge reduces code size by unifying the approach for sending scatter-lists and regular buffers. Any type of write operation (splice, write, put_chars) will now allocate a port_buffer and send_buf() and free_buf() can always

Re: [PATCH 3/3] DMA: PL330: Balance module remove function with probe

2012-10-01 Thread Inderpal Singh
On 28 September 2012 16:28, Jassi Brar jassisinghb...@gmail.com wrote: On Fri, Sep 28, 2012 at 10:03 AM, Inderpal Singh inderpal.si...@linaro.org wrote: Now, if we have to check if any client is using the channel and then decide. We will have to traverse the channel list twice once to check

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-10-01 Thread Rajanikanth HV
did you have a look at arnd and anton comments regarding 'supplied-to' and boolean property On Monday 01 October 2012 03:19 PM, Lee Jones wrote: On Mon, 01 Oct 2012, Rajanikanth H.V wrote: From: Rajanikanth H.V rajanikanth...@stericsson.com - This patch adds device tree support for

Re: [PATCH v3 08/13] res_counter: return amount of charges after res_counter_uncharge

2012-10-01 Thread Michal Hocko
On Tue 18-09-12 18:04:05, Glauber Costa wrote: It is useful to know how many charges are still left after a call to res_counter_uncharge. While it is possible to issue a res_counter_read after uncharge, this is racy. It would be better if uncharge itself would tell us what the current

Re: [PATCH] regmap: silence GCC warning

2012-10-01 Thread Mark Brown
On Sun, Sep 30, 2012 at 12:15:55PM +0200, Paul Bolle wrote: Building regmap.o triggers this GCC warning: drivers/base/regmap/regmap.c: In function ‘regmap_raw_read’: drivers/base/regmap/regmap.c:1172:6: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized]

Re: [PATCH v3 08/13] res_counter: return amount of charges after res_counter_uncharge

2012-10-01 Thread Glauber Costa
On 10/01/2012 02:00 PM, Michal Hocko wrote: On Tue 18-09-12 18:04:05, Glauber Costa wrote: It is useful to know how many charges are still left after a call to res_counter_uncharge. While it is possible to issue a res_counter_read after uncharge, this is racy. It would be better if

Re: [PATCH] Prevent AMD MCE oops on multi-server system

2012-10-01 Thread Borislav Petkov
On Mon, Oct 01, 2012 at 02:42:05PM +0800, Daniel J Blueman wrote: When booting on a federated multi-server system, the processor Northbridge lookup returns NULL; add guards to prevent this causing an oops. Interesting. What does lspci say on those systems? Thanks. -- Regards/Gruss, Boris.

[PATCH] dw_dmac: fix a regression in dwc_prep_dma_memcpy

2012-10-01 Thread Andy Shevchenko
Sometimes memory-to-memory test is failed, that's why we need to choose minimum data portion between source and destination limits together. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- drivers/dma/dw_dmac.c |9 + 1 file changed, 5 insertions(+), 4

Re: [PATCHv3] dw_dmac: autoconfigure data_width or get it via platform data

2012-10-01 Thread Andy Shevchenko
On Mon, 2012-10-01 at 15:15 +0530, Vinod Koul wrote: On Mon, 2012-10-01 at 12:04 +0300, Andy Shevchenko wrote: On Thu, 2012-09-27 at 16:03 +0530, Vinod Koul wrote: On Thu, 2012-09-27 at 15:36 +0530, Vinod Koul wrote: On Tue, 2012-09-25 at 14:39 +0300, Andy Shevchenko wrote: Not

Re: [PATCH v3] media: mt9p031/mt9t001/mt9v032: use V4L2_CID_TEST_PATTERN for test pattern control

2012-10-01 Thread Prabhakar Lad
Hi Laurent, Thanks for the review. On Mon, Oct 1, 2012 at 3:12 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Prabhakar, Thanks for the patch. On Monday 01 October 2012 13:31:59 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar

Re: [PATCH v3 06/13] memcg: kmem controller infrastructure

2012-10-01 Thread Glauber Costa
On 10/01/2012 01:48 PM, Michal Hocko wrote: On Fri 28-09-12 15:34:19, Glauber Costa wrote: On 09/27/2012 05:44 PM, Michal Hocko wrote: the reference count aquired by mem_cgroup_get will still prevent the memcg from going away, no? Yes but you are outside of the rcu now and we usually do

[PATCH RESEND] PM/Hibernate: use rb_entry

2012-10-01 Thread Davidlohr Bueso
Since the software suspend extents are organized in an rbtree, use rb_entry instead of container_of, as it is semantically more appropriate in order to get a node as it is iterated. Signed-off-by: Davidlohr Bueso d...@gnu.org --- kernel/power/swap.c |2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] regmap: silence GCC warning

2012-10-01 Thread Paul Bolle
On Mon, 2012-10-01 at 11:03 +0100, Mark Brown wrote: On Sun, Sep 30, 2012 at 12:15:55PM +0200, Paul Bolle wrote: Building regmap.o triggers this GCC warning: drivers/base/regmap/regmap.c: In function ‘regmap_raw_read’: drivers/base/regmap/regmap.c:1172:6: warning: ‘ret’ may be used

Re: [PATCH] regmap: silence GCC warning

2012-10-01 Thread Mark Brown
On Mon, Oct 01, 2012 at 12:16:46PM +0200, Paul Bolle wrote: On Mon, 2012-10-01 at 11:03 +0100, Mark Brown wrote: Have you reported this bug in GCC? No I haven't. Since you ask, I guess you too think 'ret' is always set when this function returns, don't you? Ie, my analysis isn't obviously

[GIT PULL] Xen on ARM

2012-10-01 Thread Stefano Stabellini
Hi Konrad, please pull the following changes, based on your branch stable/for-linus-3.7 (ecc635f90adfe1b7cd5fd354f49edfbf24aa4e3e): git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git xenarm-for-linus Stefano Stabellini (18): arm: initial Xen support xen/arm: hypercalls

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-10-01 Thread Lee Jones
Sorry, some mistakes: From: Rajanikanth H.V rajanikanth...@stericsson.com - This patch adds device tree support for fuelguage driver - optimize bm devices platform_data usage and of_probe(...) Note: of_probe() routine for battery managed devices is made common across all bm

Re: [PATCH v2] mfd: da9052-core: Use regmap_irq_get_virq() and fix the probe

2012-10-01 Thread Mark Brown
On Fri, Sep 28, 2012 at 05:34:18PM -0300, Fabio Estevam wrote: +static struct irq_chip da9052_irq_chip = { + .name = da9052, + .irq_disable= da9052_irq_disable, + .irq_enable = da9052_irq_enable, +}; I don't understand what this irq_chip

[PATCH v2 2/7] usb: dwc3-omap: use of_platform API to create dwc3 core pdev

2012-10-01 Thread Kishon Vijay Abraham I
Used of_platform_populate() to populate dwc3 core platform_device from device tree data. Since now the allocation of unique device id is handled be of_*, removed the call to dwc3_get_device_id. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 52

[PATCH v2 3/7] usb: dwc3-omap: use runtime API's to enable clocks

2012-10-01 Thread Kishon Vijay Abraham I
Before accessing any register, runtime API's should be invoked to enable the clocks. runtime API's are added here to prevent abort during register access. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 10 ++ 1 file changed, 10 insertions(+)

[PATCH v2 5/7] usb: dwc3-omap: Add an API to write to dwc mailbox

2012-10-01 Thread Kishon Vijay Abraham I
Add an API in the omap glue layer to write to the mailbox register which can be used by comparator driver(twl). To pass the detection of the attached device (signified by VBUS, ID) to the dwc3 core, dwc3 core has to write to the mailbox regiter. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com

[PATCH v2 7/7] usb: dwc3: core: add dt support for dwc3 core

2012-10-01 Thread Kishon Vijay Abraham I
Added dwc3 support for dwc3 core and update the documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/usb/dwc3.txt | 23 +++ drivers/usb/dwc3/core.c| 14

[PATCH v2 1/7] usb: dwc3-omap: use device_for_each_child to handle child removal

2012-10-01 Thread Kishon Vijay Abraham I
Used device_for_each_child() to handle child device (dwc3 core) removal during devexit of dwc3 omap. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git

[PATCH v2 0/7] usb: dwc3-omap: add dt support

2012-10-01 Thread Kishon Vijay Abraham I
This patch series adds dt support to dwc3 core and fixes few minor stuff in dwc3-omap glue to get dwc3 working. While at that it also uses *of_platform* to create the child device (dwc3-core) and fixes to use runtime API's to enable clock and write to SYSCONFIG register. Changes from v1: * made

  1   2   3   4   5   6   7   8   >