Re: [PATCH V2 0/5] x86: Create direct mappings for E820_RAM only

2012-08-14 Thread Dave Young
On 08/14/2012 05:46 AM, Jacob Shin wrote: Currently kernel direct mappings are created for all pfns between [ 0 to max_low_pfn ) and [ 4GB to max_pfn ). When we introduce memory holes, we end up mapping memory ranges that are not backed by physical DRAM. This is fine for lower memory

Re: [PATCH 01/22] ARM: ux500: Fix merge error, no matching driver name for 'snd_soc_u8500'

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: The platform attempts to register platform device 'snd_soc_u8500' which doesn't actually exist. Here we change the reference to the correct one 'snd_soc_mop500'. Signed-off-by: Lee Jones lee.jo...@linaro.org Applied to

Re: bisected regression: v3.6-rc1: resume from s2ram does not restore ata_piix (v3.5 worked)

2012-08-14 Thread Sergei Trofimovich
On Tue, 14 Aug 2012 16:09:52 +0800 Aaron Lu ziqian...@intel.com wrote: [Re-send due to the last email is not plain text.] Hi Sergei, The only problem I can see is the offending commit didn't do a gtm for IDE channel during init. It was used to be done in ata_acpi_associate_ide_port.

regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Rabin Vincent
It appears that this patch causes incorrect reference counting on supply regulators if the child regulator is enabled with for example boot_on=true: commit b2296bd43e781976743354c668a356b0df98e1da Author: Laxman Dewangan ldewan...@nvidia.com Date: Mon Jan 2 13:08:45 2012 +0530 regulator:

Re: [PATCH 02/22] ARM: ux500: Ensure probing of Audio devices when Device Tree is enabled

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Previous attempts to add platform probing of the Audio related devices only call from non-DT initialisation functions. This patch extends that functionality to the Device Tree related ones too. Signed-off-by: Lee Jones

Re: [PATCH 03/22] ASoC: ab8500: Inform SoC Core that we have our own I/O arrangements

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: If codec-control_data is not populated SoC Core assumes we want to use regmap, which fails catastrophically, as we don't have one: Unable to handle kernel NULL pointer dereference at virtual address 0080 pgd = c0004000

Re: [tip:smp/hotplug] watchdog: Use hotplug thread infrastructure

2012-08-14 Thread Thomas Gleixner
On Tue, 14 Aug 2012, viresh kumar wrote: On Mon, Aug 13, 2012 at 8:43 PM, tip-bot for Thomas Gleixner t...@linutronix.de wrote: Commit-ID: bcd951cf10f24e341defcd002c15a1f4eea13ddb Gitweb: http://git.kernel.org/tip/bcd951cf10f24e341defcd002c15a1f4eea13ddb Author: Thomas

Re: [RFC PATCH 0/2] net: connect to UNIX sockets from specified root

2012-08-14 Thread Stanislav Kinsbursky
13.08.2012 22:24, J. Bruce Fields пишет: On Mon, Aug 13, 2012 at 09:39:53PM +0400, Stanislav Kinsbursky wrote: 13.08.2012 20:47, J. Bruce Fields пишет: On Sat, Aug 11, 2012 at 03:15:24PM +0400, Stanislav Kinsbursky wrote: 11.08.2012 10:23, Pavel Emelyanov пишет: On 08/11/2012 03:09 AM, H.

Re: [PATCH 5/5] x86: Move enabling of PSE and PGE out of init_memory_mapping

2012-08-14 Thread Borislav Petkov
On Mon, Aug 13, 2012 at 04:20:40PM -0700, Tejun Heo wrote: I meant the patch should come before the patch making multiple calls to init_memory_mapping(). Ah, this makes sense. Also, there seem to be other stuff which need to be moved out. Which are those pls? Rebuilding pgtable on

Re: [PATCH 04/22] ASoC: Ux500: Move MSP pinctrl setup into the MSP driver

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: In the initial submission of the MSP driver msp1 and msp3's associated pinctrl mechanism was passed back to platform code using a plat_init() call-back routine, but it has no place in platform code. The MSP driver should

Re: [PATCH 05/22] ASoC: Ux500: Enable MOP500 driver for Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Here we ensure that the MOP500 audio driver will be probed during a Device Tree boot. We also parse the sound node to link together the codec, dma and the CPU-side Digital Audio Interface. CC: alsa-de...@alsa-project.org

[RFC 0/2] Reduce alloc_contig_range latency

2012-08-14 Thread Minchan Kim
Hi All, I played with CMA's core function alloc_contig_range and found it's very very slow so I suspect we can use it in real practice. I tested it with a bit tweak for working CMA in x86 on qemu. Test environment is following as. 1. x86_64 machince, 2G RAM, 4 core, movable zone 40M with try

[RFC 2/2] cma: support MIGRATE_DISCARD

2012-08-14 Thread Minchan Kim
This patch introudes MIGRATE_DISCARD mode in migration. It drop clean cache pages instead of migration so that migration latency could be reduced. Of course, it could evict code pages but latency of big contiguous memory is more important than some background application's slow down in mobile

[RFC 1/2] cma: remove __reclaim_pages

2012-08-14 Thread Minchan Kim
Now cma reclaims too many pages by __reclaim_pages which says following as * Reclaim enough pages to make sure that contiguous allocation * will not starve the system. Starve? What does it starve the system? The function which allocate free page for migration target would wake up

Re: [PATCH 06/22] ASoC: Ux500: Enable ux500 MSP driver for Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Register both parts of the MSP driver from Device Tree so that they are probed when Device Tree is enabled. Also, as there is platform data involved, we ensure that there is allocated memory to place the configuration into

Re: [PATCH v8] kvm: notify host when the guest is panicked

2012-08-14 Thread Daniel P. Berrange
On Mon, Aug 13, 2012 at 03:21:32PM -0300, Marcelo Tosatti wrote: On Wed, Aug 08, 2012 at 10:43:01AM +0800, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose of this feature is: management app(for

[PATCH] pinctrl/nomadik: add kp_b_2 keyboard function group list

2012-08-14 Thread Linus Walleij
From: Patrice Chotard patrice.chot...@stericsson.com There is yet another way to mux the keyboard, so fix up that group. Signed-off-by: Patrice Chotard patrice.chot...@stericsson.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/pinctrl-nomadik-db8500.c | 5 - 1

Re: [PATCH 1/2 v2] staging: comedi: new adl_pci7x3x driver

2012-08-14 Thread Ian Abbott
On 2012-08-14 02:36, H Hartley Sweeten wrote: On Monday, August 13, 2012 6:30 PM, Greg KH wrote: On Fri, Aug 03, 2012 at 10:28:18AM -0700, H Hartley Sweeten wrote: Currently the ADLink PCI-7230 and PCI-7432 Isolated Digital I/O Boards are supported using two drivers (adl_pci7230 and

Re: [patch net-next 01/16] net: introduce upper device lists

2012-08-14 Thread Cong Wang
On 08/13/2012 11:27 PM, Jiri Pirko wrote: This lists are supposed to serve for storing pointers to all upper devices. Eventually it will replace dev-master pointer which is used for bonding, bridge, team but it cannot be used for vlan, macvlan where there might be multiple masters present. New

Re: [PATCH v3 3/6] floppy: avoid leaking extra reference to queue on do_floppy_init error handling

2012-08-14 Thread Stanislaw Gruszka
On Tue, Aug 14, 2012 at 04:20:39AM +0100, Ben Hutchings wrote: On Mon, 2012-08-13 at 15:16 -0300, Herton Ronaldo Krzesinski wrote: After commit 3f9a5aa (floppy: Cleanup disk-queue before caling put_disk() if add_disk() was never called), if something fails in the add_disk loop, we

RE: [PATCH v7 0/8] Raid: enable talitos xor offload for improving performance

2012-08-14 Thread Liu Qiang-B32616
Hi Vinod, Would you like to apply this series from patch 2/8 to 7/8) in your tree? The link as below, http://patchwork.ozlabs.org/patch/176023/ http://patchwork.ozlabs.org/patch/176024/ http://patchwork.ozlabs.org/patch/176025/ http://patchwork.ozlabs.org/patch/176026/

Re: regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Laxman Dewangan
On Tuesday 14 August 2012 02:08 PM, Rabin Vincent wrote: It appears that this patch causes incorrect reference counting on supply regulators if the child regulator is enabled with for example boot_on=true: commit b2296bd43e781976743354c668a356b0df98e1da Author: Laxman

Re: [PATCH V2 0/5] x86: Create direct mappings for E820_RAM only

2012-08-14 Thread Dave Young
On 08/14/2012 04:34 PM, Dave Young wrote: On 08/14/2012 05:46 AM, Jacob Shin wrote: Currently kernel direct mappings are created for all pfns between [ 0 to max_low_pfn ) and [ 4GB to max_pfn ). When we introduce memory holes, we end up mapping memory ranges that are not backed by physical

Re: [PATCH v2]staging vme Fix typos.

2012-08-14 Thread Martyn Welch
On 13/08/12 18:28, Justin P. Mattock wrote: From: Justin P. Mattock justinmatt...@gmail.com Signed-off-by: Justin P. Mattock justinmatt...@gmail.com --- Note:resend with minor adjustments. The below patch fixes typos found while reading through staging vme

Re: bisected regression: v3.6-rc1: resume from s2ram does not restore ata_piix (v3.5 worked)

2012-08-14 Thread Aaron Lu
On Tue, Aug 14, 2012 at 11:44:20AM +0300, Sergei Trofimovich wrote: The only problem I can see is the offending commit didn't do a gtm for IDE channel during init. It was used to be done in ata_acpi_associate_ide_port. So can you please test if the following code fix your problem?

Re: [PATCH] kvm: disable stealtime via reboot notifier to avoid mem corruption

2012-08-14 Thread Florian Westphal
Marcelo Tosatti mtosa...@redhat.com wrote: On Fri, Aug 10, 2012 at 12:36:22PM +0200, Florian Westphal wrote: --- a/arch/x86/kernel/kvmclock.c +++ b/arch/x86/kernel/kvmclock.c @@ -191,7 +191,6 @@ static void kvm_crash_shutdown(struct pt_regs *regs) static void kvm_shutdown(void) {

Re: regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Rabin Vincent
2012/8/14 Laxman Dewangan ldewan...@nvidia.com: Yaah, It is missing the regulator_disable() in regulator_init_complete() for some cases. Please let me know if I need to send patch for fixing this issue. Yes, please do. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [RFC PATCH 0/5] Improve hugepage allocation success rates under load V3

2012-08-14 Thread Mel Gorman
On Mon, Aug 13, 2012 at 02:35:46PM -0600, Jim Schutt wrote: Hi Mel, On 08/12/2012 02:22 PM, Mel Gorman wrote: I went through the patch again but only found the following which is a weak candidate. Still, can you retest with the following patch on top and CONFIG_PROVE_LOCKING set please?

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-14 Thread Arnd Bergmann
On Tuesday 14 August 2012, wei_w...@realsil.com.cn wrote: From: Wei WANG wei_w...@realsil.com.cn Realtek PCI-E card reader driver adapts requests from upper-level sdmmc/memstick layer to the real physical card reader. Signed-off-by: Wei WANG wei_w...@realsil.com.cn When you post a new

Re: Backports mailing list

2012-08-14 Thread Sedat Dilek
On Mon, Aug 13, 2012 at 10:42 PM, Luis R. Rodriguez mcg...@frijolero.org wrote: David, The compat [0] / compat-wireless [1] [2] projects have received quite a bit of love of the years to the point we now have 3 subsystems backported: Ethernet, Bluetooth and 802.11. Ozan Çağlayan, a Linux

[PATCH] i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20

2012-08-14 Thread Laxman Dewangan
Tegra20 i2c controller does not support the continue transfer which implements the I2C_M_NOSTART functionality of i2c protocol mangling. Removing the I2C_M_NOSTART functionality for Tegra20. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com Reported-by: Stephen Warren swar...@nvidia.com ---

Re: [PATCH 03/11] fblog: new framebuffer kernel log dummy driver

2012-08-14 Thread David Herrmann
Hi Ryan On Mon, Aug 13, 2012 at 1:34 AM, Ryan Mallon rmal...@gmail.com wrote: config VGA_CONSOLE bool VGA text console if EXPERT || !X86 - depends on !4xx !8xx !SPARC !M68K !PARISC !FRV !SUPERH !BLACKFIN !AVR32 !MN10300 (!ARM || ARCH_FOOTBRIDGE || ARCH_INTEGRATOR ||

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-14 Thread Arnd Bergmann
On Tuesday 14 August 2012, Linus Walleij wrote: On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: +static struct irq_domain *db8500_irq_domain; So this is a good idea. +int db8500_irq_get_virq(int irq); And I'm sceptic about this business. Why isn't this

Re: [PATCH 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-14 Thread wwang
于 2012年08月14日 17:32, Arnd Bergmann 写道: When you post a new version of patches, please add a version number in the subject line, like [PATCH v3 1/2] drivers/mfd: Add realtek pcie card reader driver, to make it easier for people to know what has changed. It's also helpful to have a [PATCH 0/XX]

[PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-14 Thread Chanho Min
We don't need to unlock the queue before put_device in scsi_request_fn() If we trigger the -remove() function, It occur a oops from the caller. So sdev reference count should not be dropped to zero here. Also It was added before scsi_device_dev_release() was moved to user context, so it is

Re: [PATCH] drivers/media/video/mx2_emmaprp.c: use devm_kzalloc and devm_clk_get

2012-08-14 Thread Mauro Carvalho Chehab
Em 14-08-2012 03:30, Julia Lawall escreveu: Well, I've massively applied hundreds of patches today, but not much on this driver. Maybe it is better for you to wait for a couple of days for these to be at -next, or use, instead, our tree as the basis for it:

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Benoit Cousson
On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com Cc: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Felipe Balbi

Re: [PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source

2012-08-14 Thread Zhao Chenhui
On Sat, Aug 11, 2012 at 08:19:43AM -0500, Tabi Timur-B04825 wrote: On Tue, Aug 7, 2012 at 3:43 AM, Zhao Chenhui chenhui.z...@freescale.com wrote: + return -EINVAL; + + prop = of_get_property(clk_np, fsl,pmcdr-mask, NULL); + if (!prop) { + ret

Re: DT GPIO numbering?

2012-08-14 Thread Linus Walleij
On Fri, Aug 10, 2012 at 11:34 AM, Johannes Stezenbach j...@sig21.net wrote: Actually I think the kernel internal GPIO numbers shouldn't be in the sysfs API, instead userspace should use the names. This is true, but we cannot remove these numbers because they are now in

Re: [PATCH 2/4] fsl_pmc: Add API to enable device as wakeup event source

2012-08-14 Thread Zhao Chenhui
On Sat, Aug 11, 2012 at 08:19:43AM -0500, Tabi Timur-B04825 wrote: On Tue, Aug 7, 2012 at 3:43 AM, Zhao Chenhui chenhui.z...@freescale.com wrote: +int mpc85xx_pmc_set_wake(struct device *dev, bool enable) +{ + int ret = 0; + struct device_node *clk_np; + const u32

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Felipe Balbi
On Tue, Aug 14, 2012 at 11:56:45AM +0200, Benoit Cousson wrote: On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi ba...@ti.com

Re: [Xen-devel] [PATCH] netvm: check for page == NULL when propogating the skb-pfmemalloc flag

2012-08-14 Thread Mel Gorman
On Mon, Aug 13, 2012 at 11:41:44AM -0400, Konrad Rzeszutek Wilk wrote: On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote: From: Mel Gorman mgor...@suse.de Date: Tue, 7 Aug 2012 09:55:55 +0100 Commit [c48a11c7: netvm: propagate page-pfmemalloc to skb] is responsible for the

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-14 Thread Gleb Natapov
On Tue, Aug 14, 2012 at 01:52:13AM +0300, Michael S. Tsirkin wrote: Using the EOI as a trigger to de-assert and potentially re-assert may be a hack, but it's about as close as we can come to following the behavior of hardware. It's actually quite similar to an apic re-sampling inputs

Re: [GIT PULL] Update LZO compression

2012-08-14 Thread Markus F.X.J. Oberhumer
On 2012-08-14 05:15, Andi Kleen wrote: On Tue, Aug 14, 2012 at 01:44:02AM +0200, Markus F.X.J. Oberhumer wrote: Hi all, as suggested on the mailing list I have converted the updated LZO code into git, so please pull my lzo-update branch from git://github.com/markus-oberhumer/linux.git

Re: [PATCH v7 2/2] kvm: KVM_EOIFD, an eventfd for EOIs

2012-08-14 Thread Gleb Natapov
On Tue, Aug 14, 2012 at 01:10:15PM +0300, Gleb Natapov wrote: On Tue, Aug 14, 2012 at 01:52:13AM +0300, Michael S. Tsirkin wrote: Using the EOI as a trigger to de-assert and potentially re-assert may be a hack, but it's about as close as we can come to following the behavior of hardware.

Re: [PATCH] netvm: check for page == NULL when propogating the skb-pfmemalloc flag

2012-08-14 Thread Mel Gorman
On Mon, Aug 13, 2012 at 11:56:48AM -0700, Jeremy Fitzhardinge wrote: On 08/13/2012 03:47 AM, Mel Gorman wrote: Resending to correct Jeremy's address. On Wed, Aug 08, 2012 at 03:50:46PM -0700, David Miller wrote: From: Mel Gorman mgor...@suse.de Date: Tue, 7 Aug 2012 09:55:55 +0100

Re: [patch net-next 01/16] net: introduce upper device lists

2012-08-14 Thread Jiri Pirko
Tue, Aug 14, 2012 at 11:02:33AM CEST, xiyou.wangc...@gmail.com wrote: On 08/13/2012 11:27 PM, Jiri Pirko wrote: This lists are supposed to serve for storing pointers to all upper devices. Eventually it will replace dev-master pointer which is used for bonding, bridge, team but it cannot be used

Re: [PATCH] preempt/hardirq.h: Clarify PREEMPT_ACTIVE bit location

2012-08-14 Thread Thomas Gleixner
On Tue, 14 Aug 2012, Srivatsa S. Bhat wrote: By default, the PREEMPT_ACTIVE flag is bit 27, but different architectures can override that. Update the comment to reflect this fact. Is there any sensible reason why architectures need to override that? I can't find one. If there is none, then

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Benoit Cousson
Hi Felipe, On 08/14/2012 11:59 AM, Felipe Balbi wrote: On Tue, Aug 14, 2012 at 11:56:45AM +0200, Benoit Cousson wrote: On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson

Re: [PATCHv2 0/4] Add device tree data for omap5

2012-08-14 Thread Benoit Cousson
Hi Sourav, On 08/13/2012 12:05 PM, Sourav Poddar wrote: The following patch series add i2c support for omap5. As well as enable I2C based devices like pressure and temperature through device tree. Also add onchip keypad dts data. That series does not seems to apply on top of 3.6-rc1, what

[PATCH] regulator: disable supply regulator if it is enabled for boot-on

2012-08-14 Thread Laxman Dewangan
If supply regulator is enabled because of boot-on (not always-on) then disable regulator need to be call if regulator have some user or full constraint has been enabled. This will make sure that reference count of supply regulator is in sync with child regulator's state. Signed-off-by: Laxman

Re: [PATCH RESEND] Bluetooth: Add support for Apple MacBook Pro 9,2

2012-08-14 Thread Shea Levy
Hi all, Is there a problem with this patch? Thanks, Shea On Aug 7, 2012, at 5:21 PM, Shea Levy s...@shealevy.com wrote: $ usb-devices snip T: Bus=04 Lev=04 Prnt=04 Port=02 Cnt=01 Dev#= 9 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac

Re: [PATCHv2 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-14 Thread Poddar, Sourav
Hi Benoit, On Tue, Aug 14, 2012 at 3:26 PM, Benoit Cousson b-cous...@ti.com wrote: On 08/13/2012 12:05 PM, Sourav Poddar wrote: Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson b-cous...@ti.com Cc: Felipe Balbi

Re: regulator: Enable supply regulator if child rail is enabled broken?

2012-08-14 Thread Laxman Dewangan
On Tuesday 14 August 2012 02:45 PM, Rabin Vincent wrote: 2012/8/14 Laxman Dewanganldewan...@nvidia.com: Yaah, It is missing the regulator_disable() in regulator_init_complete() for some cases. Please let me know if I need to send patch for fixing this issue. Yes, please do. I sent a patch.

[PATCH 0/5] Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Ilya Shchepetkov
Hi, There are several patches on the subject: 31bde1ceaa873bcaecd49e829bfabceacc4c512d c55ad8e56b983f03589b38b4504b5d1f41161ff8 e826eafa65c6f1f7c8db5a237556cebac57ebcc5 0d672e9f8ac320c6d1ea9103db6df7f99ea20361

[PATCH 3/5] net/mlx4_en: Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Ilya Shchepetkov
For carrier detection to work properly when binding the driver with a cable unplugged, netif_carrier_off() should be called after register_netdev(), not before. Calling netif_carrier_off() before register_netdev() was causing the network interface to miss a linkwatch pending event leading to an

[PATCH 4/5] sungem: Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Ilya Shchepetkov
For carrier detection to work properly when binding the driver with a cable unplugged, netif_carrier_off() should be called after register_netdev(), not before. Calling netif_carrier_off() before register_netdev() was causing the network interface to miss a linkwatch pending event leading to an

[PATCH 2/5] de2104x: Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Ilya Shchepetkov
For carrier detection to work properly when binding the driver with a cable unplugged, netif_carrier_off() should be called after register_netdev(), not before. Calling netif_carrier_off() before register_netdev() was causing the network interface to miss a linkwatch pending event leading to an

[PATCH 5/5] net/hyperv: Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Ilya Shchepetkov
For carrier detection to work properly when binding the driver with a cable unplugged, netif_carrier_off() should be called after register_netdev(), not before. Calling netif_carrier_off() before register_netdev() was causing the network interface to miss a linkwatch pending event leading to an

[PATCH 1/5] sgi-xp: Call netif_carrier_off() after register_netdev()

2012-08-14 Thread Ilya Shchepetkov
For carrier detection to work properly when binding the driver with a cable unplugged, netif_carrier_off() should be calle after register_netdev(), not before. Calling netif_carrier_off() before register_netdev() was causing the network interface to miss a linkwatch pending event leading to an

Re: [PATCHv2 0/4] Add device tree data for omap5

2012-08-14 Thread Poddar, Sourav
Hi Benoit, On Tue, Aug 14, 2012 at 3:54 PM, Benoit Cousson b-cous...@ti.com wrote: Hi Sourav, On 08/13/2012 12:05 PM, Sourav Poddar wrote: The following patch series add i2c support for omap5. As well as enable I2C based devices like pressure and temperature through device tree. Also add

[PATCH v2 0/2] Add modules to support realtek PCIE card reader

2012-08-14 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Support for Realtek PCI-Express driver-based card readers including rts5209 and rts5229. Wei WANG (2): drivers/mfd: Add realtek pcie card reader driver drivers/mmc: Add realtek pcie sdmmc host driver drivers/mfd/Kconfig |9 +

[PATCH v2 2/2] drivers/mmc: Add realtek pcie sdmmc host driver

2012-08-14 Thread wei_wang
From: Wei WANG wei_w...@realsil.com.cn Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG wei_w...@realsil.com.cn Reviewed-by: Arnd Bergmann a...@arndb.de --- drivers/mmc/host/Kconfig |

Re: [PATCH v8] kvm: notify host when the guest is panicked

2012-08-14 Thread Jan Kiszka
On 2012-08-14 10:56, Daniel P. Berrange wrote: On Mon, Aug 13, 2012 at 03:21:32PM -0300, Marcelo Tosatti wrote: On Wed, Aug 08, 2012 at 10:43:01AM +0800, Wen Congyang wrote: We can know the guest is panicked when the guest runs on xen. But we do not have such feature on kvm. Another purpose

Re: [PATCH 5/8] mfd: Provide the PRCMU with its own IRQ domain

2012-08-14 Thread Linus Walleij
On Tue, Aug 14, 2012 at 11:42 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 14 August 2012, Linus Walleij wrote: On Thu, Aug 9, 2012 at 5:53 PM, Lee Jones lee.jo...@linaro.org wrote: +int db8500_irq_get_virq(int irq); And I'm sceptic about this business. Why isn't this physical-to

[PATCH] builddeb: remove unneeded explicit Architecture

2012-08-14 Thread Tzafrir Cohen
Architecture was set explicitly in debian/control for one of the three packages (linux-libc-dev) but not for the other two. When cross-building it gives me an error: dpkg-gencontrol: error: current host architecture 'armhf' does not appear in package's architecture list (amd64) Also note

Re: mmotm 2012-08-13-16-55 uploaded

2012-08-14 Thread Michal Hocko
On Mon 13-08-12 16:56:50, Andrew Morton wrote: The mm-of-the-moment snapshot 2012-08-13-16-55 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ -mm git tree has been updated as well. You can find the tree at https://github.com/mstsxfx/memcg-devel.git since-3.5 tagged as

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-08-14 Thread Ambroz Bizjak
On Tue, 24 Jul 2012 01:36:34 +0200 Michael Leun lkml20120...@newton.leun.net wrote: My report might sound like I'm complaining that link state detection works because link state detection was implemented - sorry, but thats not true. I do NOT see this link state changes if there is no

Mmap on SSD (directly mapping the device vs. mapping a file)

2012-08-14 Thread Daniel Noack
Hi, folks! First of all I have to say sorry that I'm not a subscriber of the list now, but I will subscribe in the near future (need an extra email account for it ;) ). It would be nice if you could put me on CC for an answer to my question. Like you can see on the subject I experimented a

Re: [PATCH v3 2/2] DMAEngine: Add DMAEngine driver based on old MSM DMA APIs

2012-08-14 Thread Linus Walleij
On Wed, Mar 14, 2012 at 4:05 PM, Daniel Walker dwal...@fifo99.com wrote: On Tue, Mar 13, 2012 at 06:16:39PM +0530, Ravi Kumar V wrote: There is a MSM DMA driver in arch/arm/mach-msm/ which is not in dmaengine framework standards, but that driver is been used by client drivers nand, eMMC and

Re: [PATCH 05/11] fblog: register one fblog object per framebuffer

2012-08-14 Thread David Herrmann
Hi Ryan On Mon, Aug 13, 2012 at 1:54 AM, Ryan Mallon rmal...@gmail.com wrote: On 13/08/12 00:53, David Herrmann wrote: drivers/video/console/fblog.c | 195 ++ 1 file changed, 195 insertions(+) diff --git a/drivers/video/console/fblog.c

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-14 Thread Glauber Costa
On 08/10/2012 09:27 PM, Kamezawa Hiroyuki wrote: +bool __memcg_kmem_new_page(gfp_t gfp, void *_handle, int order) +{ + struct mem_cgroup *memcg; + struct mem_cgroup **handle = (struct mem_cgroup **)_handle; + bool ret = true; + size_t size; + struct task_struct *p; + +

Re: [PATCH 06/11] fblog: open fb on registration

2012-08-14 Thread David Herrmann
Hi Ryan On Mon, Aug 13, 2012 at 2:00 AM, Ryan Mallon rmal...@gmail.com wrote: On 13/08/12 00:53, David Herrmann wrote: /* + * fblog_open/close() + * These functions manage access to the underlying framebuffer. While opened, we + * have a valid reference to the fb and can use it for

Re: [PATCH 07/11] fblog: allow selecting fbs via sysfs and module-parameters

2012-08-14 Thread David Herrmann
Hi Ryan On Mon, Aug 13, 2012 at 2:04 AM, Ryan Mallon rmal...@gmail.com wrote: On 13/08/12 00:53, David Herrmann wrote: +static ssize_t fblog_dev_active_show(struct device *dev, + struct device_attribute *attr, + char *buf) +{

Re: [PATCH 07/22] ASoC: Ux500: Initialise PCM from MSP probe rather than as a device

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: The PCM is a pseudo-device. It doesn't have any of it's own registers or hardware. It rather acts as a layer of abstraction for DMA transfers. Hence, instead of classifying it as a device in its own right, we call the

Re: [PATCH] regulator: disable supply regulator if it is enabled for boot-on

2012-08-14 Thread Rabin Vincent
2012/8/14 Laxman Dewangan ldewan...@nvidia.com: If supply regulator is enabled because of boot-on (not always-on) then disable regulator need to be call if regulator have some user or full constraint has been enabled. This will make sure that reference count of supply regulator is in sync

Re: [PATCH 08/22] ASoC: codecs: Enable AB8500 CODEC for Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: We continue to allow the AB8500 CODEC to be registered via the AB8500 Multi Functional Device API, only this time we extract its configuration from the Device Tree binary. CC: alsa-de...@alsa-project.org Signed-off-by:

Re: [PATCH 11/22] ARM: ux500: Clean-up MSP platform code

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: This patch contains a couple of general MSP clean-ups pertaining to layout changes and changing functions to be void instead of int instead of regardlessly returning '0'. Signed-off-by: Lee Jones lee.jo...@linaro.org OK

Re: [PATCH 13/22] ARM: ux500: Fork MSP platform registration for step-by-step DT enablement

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: We've done this before and it worked well last time. Here we're duplicating a complex registration function to ease the process of enabling it for Device Tree. As there are quite a few steps taken during the registration

Re: [PATCH 14/22] ARM: ux500: Pass MSP DMA platform data though AUXDATA

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: It isn't currently possible to pass all platform specific configuration though Device Tree. Thinks like device names used in the clock infrastructure, call-backs and DMA information have to be passed in via AUXDATA

[PATCHv7] arm/dts: omap4-sdp: Add keypad data

2012-08-14 Thread Sourav Poddar
Add keypad data node in omap4 device tree file. Also fill the device tree binding parameters with the required value in omap4-sdp dts file. Tested on omap4430 sdp. Cc: Tony Lindgren t...@atomide.com Cc: Benoit Cousson b-cous...@ti.com Cc: Rob Herring rob.herr...@calxeda.com Cc: Grant Likely

Re: [PATCH 15/22] ARM: ux500: Stop registering the MOP500 Audio driver from platform code

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: In this patch we prevent MOP500 driver registration from platform code and rely solely on Device Tree to do the probing for us. Signed-off-by: Lee Jones lee.jo...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org

Re: [PATCH 16/22] ARM: ux500: Stop registering the PCM driver from platform code

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: We now initialise the PCM driver through the MSP DAI, so there is no need to register it though platform code anymore. This patch strips out all PCM platform registration. Signed-off-by: Lee Jones lee.jo...@linaro.org

Re: [PATCH 17/22] ARM: ux500: Remove platform registration of MSP devices

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: This patch removes platform device registration of all 4 MSP devices. It also takes care of all redundant infrastructure now that each of the ux500 audio components have been Device Tree enabled. Signed-off-by: Lee Jones

Re: [PATCH 18/22] ARM: ux500: Rename MSP board file to something more meaningful

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: The 'msp' board file does more than just register MSP devices. It also registers some other components necessary to get audio working on ux500 based platforms; such as the PCM and Machine Drivers. For that reason we're

Re: [PATCH 19/22] ARM: ux500: Rename db8500.dtsi to dbx5x0.dtsi to encompass the u9500, u8540 and u9540

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: This patch has nothing to do with the other patches in this series. Send it to the ARM SoC maintainers as a separate patch and use git format-patch -m, because git is good at detecting renames. Atleast move it to the

Re: [PATCH 20/22] ARM: ux500: Add nodes for the MSP into Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: This patch inserts all known MSP devices into the DBx5x0 Device Tree disabled and enables the two important ones for the Snowball low-cost development board. Signed-off-by: Lee Jones lee.jo...@linaro.org Acked-by: Linus

Re: [PATCH 21/22] ARM: ux500: Add all encompassing sound node to the Snowball Device Tree

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: This is where we link together all of the SoC sound components for a given platform. This all encompassing sound node is only found in the very lowest hierarchical DTS file, since the component mix may well change from

Re: [PATCH 22/22] Documentation: Add the AB8500 CODEC device to the MFD AB8500 doc

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 5:47 PM, Lee Jones lee.jo...@linaro.org wrote: Here we document the AB8500 Audio CODEC in the existing MFD AB8500 document. CC: alsa-de...@alsa-project.org Signed-off-by: Lee Jones lee.jo...@linaro.org Acked-by: Linus Walleij linus.wall...@linaro.org Yours, Linus

How to hack syscall-table, in kernel 2.6+ ?

2012-08-14 Thread Ajay Garg
Hi all. It is well known that the syscall-table had stopped being exported from version 2.6 onwards. So, now as a developer, if I wish to hack into the syscall-table, and change the syscall-function-pointers to my custom-function-pointers (mainly for the reason of adding/preventing access to

Re: [PATCH 00/22] mop500 related Audio reorganisation and fixups

2012-08-14 Thread Linus Walleij
On Thu, Aug 9, 2012 at 8:50 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Aug 09, 2012 at 04:47:26PM +0100, Lee Jones wrote: Another fine instalment of Audio fixes and Device Tree enablement surrounding the mop500 sound driver. Hopefully containing all of the

Re: [PATCH v2] leds: triggers: send uevent when changing triggers

2012-08-14 Thread Bryan Wu
On Wed, Aug 8, 2012 at 10:16 AM, Bryan Wu bryan...@canonical.com wrote: On Wed, Aug 8, 2012 at 9:12 AM, Henrique de Moraes Holschuh h...@hmh.eng.br wrote: On Tue, 07 Aug 2012, Colin Cross wrote: Some triggers create sysfs files when they are enabled. Send a uevent change notification

Re: How to hack syscall-table, in kernel 2.6+ ?

2012-08-14 Thread richard -rw- weinberger
On Tue, Aug 14, 2012 at 1:31 PM, Ajay Garg ajaygargn...@gmail.com wrote: So, now as a developer, if I wish to hack into the syscall-table, and change the syscall-function-pointers to my custom-function-pointers (mainly for the reason of adding/preventing access to certain files, via

Re: How to hack syscall-table, in kernel 2.6+ ?

2012-08-14 Thread Felipe Balbi
On Tue, Aug 14, 2012 at 05:01:56PM +0530, Ajay Garg wrote: Hi all. It is well known that the syscall-table had stopped being exported from version 2.6 onwards. So, now as a developer, if I wish to hack into the syscall-table, and change the syscall-function-pointers to my

Re: [RFC 5/5] uprobes: add global breakpoints

2012-08-14 Thread Sebastian Andrzej Siewior
On 08/13/2012 03:16 PM, Oleg Nesterov wrote: On 08/09, Sebastian Andrzej Siewior wrote: * Oleg Nesterov | 2012-08-08 15:14:57 [+0200]: What I miss right now is an interface to tell the user/gdb that there is a program that hit a global breakpoint and is waiting for further instructions. A

Re: [PATCH V2] MIPS: Fix poweroff failure when HOTPLUG_CPU configured.

2012-08-14 Thread Ralf Baechle
On Mon, Aug 13, 2012 at 08:52:24PM +0800, Huacai Chen wrote: When poweroff machine, kernel_power_off() call disable_nonboot_cpus(). And if we have HOTPLUG_CPU configured, disable_nonboot_cpus() is not an empty function but attempt to actually disable the nonboot cpus. Since system state is

Re: [PATCH] add blockconsole version 1.1

2012-08-14 Thread Jan Engelhardt
On Wednesday 2012-07-18 20:53, Jörn Engel wrote: With the include added, it builds fine. Then I took an usb stick and I did: $ ./mkblockconsole /dev/sdc reboot You can also run hdparm -z dev instead. We have too many ways of doing some things. util-linux conveniently has `blockdev

Re: [patch] mmap: feed back correct prev vma when finding vma

2012-08-14 Thread Hillf Danton
On Tue, Aug 14, 2012 at 10:17 AM, Hugh Dickins hu...@google.com wrote: [PATCH] mm: replace find_vma_prepare by clearer find_vma_links People get confused by find_vma_prepare(), because it doesn't care about what it returns in its output args, when its callers won't be interested. Clarify by

Re: [RFC PATCH] mm: introduce N_LRU_MEMORY to distinguish between normal and movable memory

2012-08-14 Thread Hanjun Guo
On 2012/8/10 22:12, Christoph Lameter (Open Source) wrote: On Fri, 10 Aug 2012, Hanjun Guo wrote: On 2012/8/9 22:06, Christoph Lameter (Open Source) wrote: On Thu, 9 Aug 2012, Hanjun Guo wrote: Now, We have node masks for both N_NORMAL_MEMORY and N_HIGH_MEMORY to distinguish between normal

Re: [PATCH 1/1] boot: Put initcall_debug into its own Kconfig option DEBUG_INITCALL

2012-08-14 Thread Josh Boyer
On Mon, Aug 13, 2012 at 9:18 PM, Josh Triplett j...@joshtriplett.org wrote: On Mon, Aug 13, 2012 at 03:39:54PM -0700, Randy Dunlap wrote: On 08/13/2012 03:08 PM, Thai Bui wrote: Hi all, I am as part of a capstone group at Portland State University is working to tinify the kernel as small as

<    3   4   5   6   7   8   9   10   11   12   >