[PATCH] Use the UEFI shim to load grub.

2012-08-08 Thread Peter Jones
For UEFI Secure Boot support, we need to install the shim pre-boot loader, and use it to load grub2. --- pyanaconda/bootloader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py index ea4de5e..02d0ea8 100644 ---

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 05:16:58PM +0300, Peter Ujfalusi wrote: On 08/08/2012 04:52 PM, Mark Brown wrote: Is the point it's at in the sequence the end? On both ends :o On HS enable: the extmute has to be enabled, run the power on sequence for the HS, wait for ramp, disable the HS extmute.

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Daniel Mack wrote: On 08.08.2012 14:54, Arnd Bergmann wrote: The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. Without this patch, building raumfeld_defconfig results in:

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Daniel Mack
On 08.08.2012 16:19, Arnd Bergmann wrote: On Wednesday 08 August 2012, Daniel Mack wrote: On 08.08.2012 14:54, Arnd Bergmann wrote: The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. Without this patch, building raumfeld_defconfig

[GIT PULL] pinctrl fixes for v3.6-rc1

2012-08-08 Thread Linus Walleij
Hi Linus, here are some pinctrl fixes for v3.6-rc1, info in the tag below. Please pull them in! The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at:

Re: [rtc-linux] [PATCH 8/8] ARM: vt8500: gpio: Devicetree support for arch-vt8500

2012-08-08 Thread Linus Walleij
On Wed, Aug 8, 2012 at 11:19 AM, Arnd Bergmann a...@arndb.de wrote: What on earth are all those magic numbers? I *guess* they're enabling some default GPIO settings etc. No, they are the register offsets you quoted above, per bank. Aha I was fooled by this: +struct vt8500_gpio_bank_regs {

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Peter Ujfalusi
On 08/08/2012 05:18 PM, Mark Brown wrote: I'm struggling to see any reason not to just hold the external mute on for the entire time the headset is powered off? I think because it would mean in most cases that we keep a GPIO line enabled during the time the HS is not in use, which burns power.

[RFC PATCH] ARM Fix /usr/bin/xargs: etags: Argument list too long

2012-08-08 Thread David Cullen
Patch applies to commit 42a579a0f960081cd16fc945036e4780c3ad3202 When running make ARCH=arm TAGS in a chroot using qemu-arm-static, the following message is emitted: [user@host:/home/work/linux]: make ARCH=arm TAGS GEN TAGS /usr/bin/xargs: etags: Argument list too long

Re: [PATCH 4/6] ARM: s3c24xx: use new PWM driver

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Kukjin Kim wrote: diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig index e249611..d56b0f7 100644 --- a/arch/arm/mach-s3c24xx/Kconfig +++ b/arch/arm/mach-s3c24xx/Kconfig @@ -483,7 +483,7 @@ config MACH_NEO1973_GTA02 select I2C

Re: [PATCH] Use the UEFI shim to load grub.

2012-08-08 Thread Peter Jones
Obviously, this went to the wrong list of addresses. Sorry for all the noise. On Wed, 2012-08-08 at 10:18 -0400, Peter Jones wrote: For UEFI Secure Boot support, we need to install the shim pre-boot loader, and use it to load grub2. --- pyanaconda/bootloader.py | 4 ++-- 1 file changed, 2

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Peter Ujfalusi
On 08/08/2012 03:52 PM, Mark Brown wrote: On Wed, Aug 08, 2012 at 01:50:53PM +0200, Benoit Cousson wrote: That being said, since we do have the clock binding now, maybe we should create a clock provider at board level for the sys_clk and thus you will just have to create a phandle to it in

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Daniel Mack wrote: I've taken your patch instead now, Will that go to some other tree than linux-input now? I have it in the arm-soc tree for now, but I don't really care which tree it goes through, as long as it does. I've kept a version of this patch in one

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 05:35:34PM +0300, Peter Ujfalusi wrote: Does this needs the common clock framework on the platform? OMAP3 certainly does not have it enabled since it has not been adopted. I'd hope at least the binding code for finding clocks has been done at the clkdev level so it can

RE: [PATCH] spi: omap2-mcspi: In case of dma errors fall back to pio

2012-08-08 Thread Philip, Avinash
On Wed, Jul 25, 2012 at 11:50:29, Datta, Shubhrajyoti wrote: In case there are dma errors currently the driver exits. Make the spi driver fall back to pio mode in case of dma errors. If the DMA engine is not selected the driver exits.This patch makes the spi fall back to pio in that case.

Re: [RFC PATCH] ARM Fix /usr/bin/xargs: etags: Argument list too long

2012-08-08 Thread Michal Marek
Dne 8.8.2012 16:32, David Cullen napsal(a): Patch applies to commit 42a579a0f960081cd16fc945036e4780c3ad3202 When running make ARCH=arm TAGS in a chroot using qemu-arm-static, the following message is emitted: [user@host:/home/work/linux]: make ARCH=arm TAGS GEN TAGS

Re: [PATCH -v2 4/6] fuse: add a sysfs parameter to control the maximum request size

2012-08-08 Thread Miklos Szeredi
Mitsuo Hayasaka mitsuo.hayasaka...@hitachi.com writes: Add a max_pages_per_req sysfs paramater to limit the maximum read/write request size. It can be changed to arbitrary number between 32 and the nr_pages equivalent to pipe_max_size, and the 32 pages are set by default. The sysfs

[PATCH 07/11] net/stmmac: mark probe function as __devinit

2012-08-08 Thread Arnd Bergmann
Driver probe functions are generally __devinit so they will be discarded after initialization for non-hotplug kernels. This was found by a new warning after patch 6a228452d stmmac: Add device-tree support adds a new __devinit function that is called from stmmac_pltfr_probe. Without this patch,

[PATCH 09/11] regulator/twl: remove fixed resource handling

2012-08-08 Thread Arnd Bergmann
The recent patch 0e8e5c34cf regulator: twl: Remove references to 32kHz clock from DT bindings removed the only use of the fake CLK32KG regulator but not the TWL6030_FIXED_RESOURCE and twl6030_fixed_resource definitions that are unused otherwise. Without this patch, building omap2plus_defconfig

[PATCH 06/11] gpio: em: do not discard em_gio_irq_domain_cleanup

2012-08-08 Thread Arnd Bergmann
The newly added gpio-em driver marks its em_gio_irq_domain_cleanup function as __devexit, which would lead to that function being discarded in case CONFIG_HOTPLUG is disabled. However, the function is also called by the error handling logic em_gio_probe, which would cause a jump into a NULL

[PATCH 05/11] ARM: exynos: exynos_pm_add_dev_to_genpd may be unused

2012-08-08 Thread Arnd Bergmann
exynos_pm_add_dev_to_genpd is used if one or more out of a large number of Kconfig symbols are enabled. However the new exynos_defconfig selects none of those, so the function becomes unused. Marking it so lets the compiler automatically discard it. Without this patch, building exynos_defconfig

[PATCH 08/11] mtd/omap2: fix dmaengine_slave_config error handling

2012-08-08 Thread Arnd Bergmann
The newly added dmaengine support in the omap2 nand driver potentially causes an undefined return value from the omap_nand_probe function when dmaengine_slave_config reports an error. Let's handle this by returning the same error back to the caller. Without this patch, building

[PATCH 03/11] usb/ohci-omap: remove unused variable

2012-08-08 Thread Arnd Bergmann
Commit c2e935a7d USB: move transceiver from ehci_hcd and ohci_hcd to hcd and rename it as phy removed the last use of the ohci variable in the usb_hcd_omap_remove function, but left the variable in place unused. Without this patch, building omap1_defconfig results in: In file included from

[PATCH 04/11] ARM: ux500: really kill snowball_of_platform_devs

2012-08-08 Thread Arnd Bergmann
Commit fc67a597a ARM: ux500: Remove temporary snowball_of_platform_devs enablement structure removed the only user of this variable, but did not actually remove the array itself. Without this patch, building u8500_defconfig results in: arch/arm/mach-ux500/board-mop500.c:729:32: warning:

[PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Arnd Bergmann
A few drivers use a construct like #ifdef CONFIG_PM static int foo_suspend(struct device *pdev) { ... } static int foo_resume struct device *pdev) { ... } #endif static SIMPLE_DEV_PM_OPS(foo_pm, foo_suspend, foo_resume); which leaves the two functions unused if CONFIG_PM is

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 05:31:19PM +0300, Peter Ujfalusi wrote: On 08/08/2012 05:18 PM, Mark Brown wrote: I'm struggling to see any reason not to just hold the external mute on for the entire time the headset is powered off? I think because it would mean in most cases that we keep a GPIO

[PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-08 Thread Arnd Bergmann
When a device tree definition os an s3c64xx SPI master is missing a controller-data subnode, the newly added s3c64xx_get_slave_ctrldata function might use uninitialized memory in place of that node, which was correctly reported by gcc. Without this patch, building s3c6400_defconfig results in:

Re: [PATCH 09/11] regulator/twl: remove fixed resource handling

2012-08-08 Thread Mark Brown
On Wed, Aug 08, 2012 at 04:47:26PM +0200, Arnd Bergmann wrote: The recent patch 0e8e5c34cf regulator: twl: Remove references to 32kHz clock from DT bindings removed the only use of the fake CLK32KG regulator but not the TWL6030_FIXED_RESOURCE and twl6030_fixed_resource definitions that are

[PATCH 01/11] ARM: topology: mark init_cpu_topology as __init

2012-08-08 Thread Arnd Bergmann
The init_cpu_topology function can be put into the __init section and discarded after boot, because it is only called from smp_prepare_cpus, which is also marked __init. This was reported by gcc after Vincent Guittot added the parse_dt_topology function in 339ca09d7ada ARM: 7463/1: topology:

Re: [PATCH 2/5] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-08-08 Thread Oleg Nesterov
On 08/08, Sebastian Andrzej Siewior wrote: On 08/08/2012 02:57 PM, Oleg Nesterov wrote: +static int insn_changes_flags(struct arch_uprobe *auprobe) +{ + /* popf reads flags from stack */ + if (auprobe-insn[0] == 0x9d) + return 1; Ah, somehow I didn't think about this before.

Re: [PATCH] compaction: fix deferring compaction mistake

2012-08-08 Thread Rik van Riel
On 08/07/2012 08:57 PM, Minchan Kim wrote: [1] fixed bad deferring policy but made mistake about checking compact_order_failed in __compact_pgdat so it can't update compact_order_failed with new order. It ends up preventing working of deffering policy rightly. This patch fixes it. Good catch.

Re: [SCSI] qla4xxx: support iscsiadm session mgmt

2012-08-08 Thread Dan Carpenter
I never heard back on this. This buffer overflow is still present in the current code. regards, dan carpenter On Thu, Jun 14, 2012 at 09:27:45PM +0300, Dan Carpenter wrote: Hi Manish, The patch b3a271a94d00: [SCSI] qla4xxx: support iscsiadm session mgmt from Jul 25, 2011, leads to the

Re: [PATCH RESEND] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-08 Thread Christoph Lameter (Open Source)
On Mon, 6 Aug 2012, Shuah Khan wrote: No reason, just something I am used to doing :) inline is a good idea. I can fix that easily and send v2 patch. Leave that to the compiler. There is no performance reason that would give a benefit from forcing inline. -- To unsubscribe from this list:

Re: [PATCH 2/5] x86/uprobes: implement x86 specific arch_uprobe_*_step

2012-08-08 Thread Sebastian Andrzej Siewior
On 08/08/2012 04:53 PM, Oleg Nesterov wrote: Why? I tried 'lock popf' and I got invalid instruction. The same for 'rep popf'. int main(void) { asm volatile (pushf; rep; popf); return 0; } Just tested and it works. Hmm. OK, probably

Re: [PATCH 09/11] regulator/twl: remove fixed resource handling

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Mark Brown wrote: On Wed, Aug 08, 2012 at 04:47:26PM +0200, Arnd Bergmann wrote: The recent patch 0e8e5c34cf regulator: twl: Remove references to 32kHz clock from DT bindings removed the only use of the fake CLK32KG regulator but not the TWL6030_FIXED_RESOURCE

Re: [PATCH 07/11] net/stmmac: mark probe function as __devinit

2012-08-08 Thread Stefan Roese
On 08/08/2012 04:47 PM, Arnd Bergmann wrote: Driver probe functions are generally __devinit so they will be discarded after initialization for non-hotplug kernels. This was found by a new warning after patch 6a228452d stmmac: Add device-tree support adds a new __devinit function that is called

Re: [PATCH 02/41] TTY: 68328serial, fix compilation

2012-08-08 Thread Alan Cox
On Tue, 7 Aug 2012 21:47:27 +0200 Jiri Slaby jsl...@suse.cz wrote: tty_struct-termios is no longer a pointer. This was changed recently by tty: move the termios object into the tty. But 68328serial was not changed, so we now have a compilation error: 68328serial.c: In function

[PATCH RESEND #2 1/3] serqt_usb2: drag screaming into the 21st century

2012-08-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com Fix the termios stuff but while we are at it do something about the rest of it Signed-off-by: Alan Cox a...@linux.intel.com --- drivers/staging/serqt_usb2/serqt_usb2.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git

[PATCH RESEND #2 2/3] tty: fix missing assignment

2012-08-08 Thread Alan Cox
From: Dan Carpenter dan.carpen...@oracle.com We're trying to save the termios state and we need to allocate a buffer to do it. Smatch complains that the buffer is leaked at the end of the function. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Signed-off-by: Alan Cox

[PATCH RESEND #2 3/3] tty: handle NULL parameters in free_tty_struct()

2012-08-08 Thread Alan Cox
From: Dan Carpenter dan.carpen...@oracle.com We sometimes pass NULL pointers to free_tty_struct(). One example where it can happen is in the error handling code in pty_common_install(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- drivers/tty/tty_io.c |2 ++ 1 file changed, 2

[PATCH] tty: localise the lock

2012-08-08 Thread Alan Cox
From: Alan Cox a...@linux.intel.com The termios and other changes mean the other protections needed on the driver tty arrays should be adequate. Turn it all back on. This contains pieces folded in from the fixes made to the original patches | From: Geert Uytterhoeven ge...@linux-m68k.org

Re: [PATCH RESEND] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-08 Thread Shuah Khan
On Wed, 2012-08-08 at 09:14 -0500, Christoph Lameter (Open Source) wrote: On Mon, 6 Aug 2012, Shuah Khan wrote: No reason, just something I am used to doing :) inline is a good idea. I can fix that easily and send v2 patch. Leave that to the compiler. There is no performance reason that

Re: [PATCH] efikamx: reintroduce Genesi Efika MX Smarttop via device tree

2012-08-08 Thread Shawn Guo
On Tue, Aug 07, 2012 at 04:46:18PM -0500, Matt Sealey wrote: This device tree only supports the final retail board (TO3). It is currently feature equivalent to the MX51 Babbage device tree. The following features have been tested and work as well as can be expected: * Serial port * SD

Re: [PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-08 Thread Felipe Balbi
Hi, On Wed, Aug 08, 2012 at 09:24:33AM +0300, Hiroshi Doyu wrote: The commit c3b1a35 debugfs: make sure that debugfs_create_file() gets used only for regulars doesn't allow to use debugfs_create_file() for dir. Use the version with data, __debugfs_create_dir(). Signed-off-by: Hiroshi Doyu

[PATCH] can/softing: Fix potential memory leak in softing_load_fw()

2012-08-08 Thread Alexey Khoroshilov
Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/net/can/softing/softing_fw.c |7 --- 1 file changed, 4 insertions(+), 3

[PATCH 1/3] mfd: 88pm860x: use REG resource for backlight

2012-08-08 Thread Haojian Zhuang
Now resource of 88pm860x backlight is changed from IORESOURCE_IO to IORESOURCE_REG. In original driver, the resource is using self-defined IORESOURCE_IO. So change the resource to register offset to match the definition of IORESOURCE_REG. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com ---

[PATCH 2/3] mfd: 88pm860x: use REG in leds resource

2012-08-08 Thread Haojian Zhuang
Since the resources of 88pm860x leds are changed from IORESOURCE_IO to IORESOURCE_REG that is register offset, change the original self-defined IORESOURCE_IO to register offset. Signed-off-by: Haojian Zhuang haojian.zhu...@gmail.com --- drivers/leds/leds-88pm860x.c | 176

[PATCH 3/3] mfd: 88pm860x: use REG resource in regulator

2012-08-08 Thread Haojian Zhuang
Since IORESOURCE_IO is changed to IORESOURCE_REG in 88pm860x driver, update self-defined IORESOURCE_IO resource to register offset that is IORESOURCE_REG in regulator driver. And split regulator platform data array into scattered platform data. Signed-off-by: Haojian Zhuang

Re: [PATCH 1/7] mfd: max8925: Move _IO resources out of ioport_ioresource

2012-08-08 Thread Haojian Zhuang
On Wed, Aug 8, 2012 at 3:46 AM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 07 August 2012, Mark Brown wrote: The removal of mach/io.h from most ARM platforms also set the range of valid IO ports to be empty for most platforms when previously any 32 bit integer had been valid. This makes it

Re: [PATCH 18/41] TTY: pty, switch to tty_alloc_driver

2012-08-08 Thread Alan Cox
On Tue, 7 Aug 2012 21:47:43 +0200 Jiri Slaby jsl...@suse.cz wrote: Switch to the new driver allocation interface, as this is one of the special call-sites. Here, we need TTY_DRIVER_EXCESSIVE_LINES to not allocate tty_driver-ports, cdevs and potentially other structures because we reserve too

Re: [PATCH RESEND #2 1/3] serqt_usb2: drag screaming into the 21st century

2012-08-08 Thread Greg KH
On Wed, Aug 08, 2012 at 04:27:55PM +0100, Alan Cox wrote: From: Alan Cox a...@linux.intel.com Fix the termios stuff but while we are at it do something about the rest of it Signed-off-by: Alan Cox a...@linux.intel.com Thanks, I'll apply these tomorrow when I get the chance to catch up on

Re: [PATCH] pci: Account for virtual buses in pci_acs_path_enabled

2012-08-08 Thread Alex Williamson
On Tue, 2012-08-07 at 23:00 -0700, Bjorn Helgaas wrote: On Tue, Aug 7, 2012 at 2:50 PM, Don Dutile ddut...@redhat.com wrote: On 08/06/2012 04:47 PM, Bjorn Helgaas wrote: On Sun, Aug 5, 2012 at 11:55 PM, Alex Williamson alex.william...@redhat.com wrote: On Sun, 2012-08-05 at 23:30

Re: [PATCH 2/6] ARM: pxa remove irq_to_gpio from eeti_ts driver

2012-08-08 Thread Haojian Zhuang
On Wed, Aug 8, 2012 at 8:54 PM, Arnd Bergmann a...@arndb.de wrote: The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. Without this patch, building raumfeld_defconfig results in: drivers/input/touchscreen/eeti_ts.c: In function

Re: [PATCH 03/11] usb/ohci-omap: remove unused variable

2012-08-08 Thread Greg Kroah-Hartman
On Wed, Aug 08, 2012 at 04:47:20PM +0200, Arnd Bergmann wrote: Commit c2e935a7d USB: move transceiver from ehci_hcd and ohci_hcd to hcd and rename it as phy removed the last use of the ohci variable in the usb_hcd_omap_remove function, but left the variable in place unused. Without this

Re: [PATCH 1/3] mfd: 88pm860x: use REG resource for backlight

2012-08-08 Thread Greg KH
On Wed, Aug 08, 2012 at 11:17:26PM +0800, Haojian Zhuang wrote: Now resource of 88pm860x backlight is changed from IORESOURCE_IO to IORESOURCE_REG. In original driver, the resource is using self-defined IORESOURCE_IO. So change the resource to register offset to match the definition of

Re: [PATCH 1/6] ARM: pxa: remove irq_to_gpio from ezx-pcap driver

2012-08-08 Thread Haojian Zhuang
On Wed, Aug 8, 2012 at 8:54 PM, Arnd Bergmann a...@arndb.de wrote: The irq_to_gpio function was removed from the pxa platform in linux-3.2, and this driver has been broken since. There is actually no in-tree user of this driver that adds this platform device, but the driver can and does get

Re: [PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-08 Thread Felipe Balbi
Hi, On Wed, Aug 08, 2012 at 06:11:29PM +0300, Felipe Balbi wrote: Hi, On Wed, Aug 08, 2012 at 09:24:33AM +0300, Hiroshi Doyu wrote: The commit c3b1a35 debugfs: make sure that debugfs_create_file() gets used only for regulars doesn't allow to use debugfs_create_file() for dir. Use the

Re: [PATCH 03/11] usb/ohci-omap: remove unused variable

2012-08-08 Thread Alan Stern
On Wed, 8 Aug 2012, Arnd Bergmann wrote: Commit c2e935a7d USB: move transceiver from ehci_hcd and ohci_hcd to hcd and rename it as phy removed the last use of the ohci variable in the usb_hcd_omap_remove function, but left the variable in place unused. Without this patch, building

Re: [SCSI] qla4xxx: support iscsiadm session mgmt

2012-08-08 Thread Mike Christie
On 08/08/2012 10:00 AM, Dan Carpenter wrote: I never heard back on this. This buffer overflow is still present in the current code. Qlogic just sent a patch yesterday. http://marc.info/?l=linux-scsim=134434199930938w=2 regards, dan carpenter On Thu, Jun 14, 2012 at 09:27:45PM +0300,

Re: [RFC] netconsole.txt: nc needs -p to specify the listening port

2012-08-08 Thread Cong Wang
On 08/03/2012 02:33 PM, Dirk Gouders wrote: From b3aec70d785d338b1b643fece6606cd32addaf0c Mon Sep 17 00:00:00 2001 From: Dirk Gouders goud...@et.bocholt.fh-gelsenkirchen.de Date: Thu, 2 Aug 2012 22:20:16 +0200 Subject: [PATCH] netconsole.txt: revision of examples for the receiver of kernel

Re: [PATCH 3/6] ARM: sa1100: include asm/io.h in hackkit leds code

2012-08-08 Thread Russell King - ARM Linux
On Wed, Aug 08, 2012 at 02:54:50PM +0200, Arnd Bergmann wrote: The sa1100 definition of the io_p2v macro has changed in v3.6, and this one file stopped working because of that. Without this patch, building hackkit_defconfig results in: arch/arm/mach-sa1100/leds-hackkit.c: In function

Re: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Stephen Warren
On 08/08/2012 08:47 AM, Arnd Bergmann wrote: A few drivers use a construct like #ifdef CONFIG_PM static int foo_suspend(struct device *pdev) { ... } static int foo_resume struct device *pdev) { ... } #endif static SIMPLE_DEV_PM_OPS(foo_pm, foo_suspend, foo_resume);

Re: [PATCH 04/11] MFD: twl4030-audio: Add DT support

2012-08-08 Thread Benoit Cousson
On 08/08/2012 04:35 PM, Peter Ujfalusi wrote: On 08/08/2012 03:52 PM, Mark Brown wrote: On Wed, Aug 08, 2012 at 01:50:53PM +0200, Benoit Cousson wrote: That being said, since we do have the clock binding now, maybe we should create a clock provider at board level for the sys_clk and thus you

Re: [PATCH 00/22] Introducing the TI Keystone platform

2012-08-08 Thread Catalin Marinas
On Sun, Aug 05, 2012 at 04:10:34PM +0100, Cyril Chemparathy wrote: On 8/4/2012 4:39 AM, Russell King - ARM Linux wrote: On Tue, Jul 31, 2012 at 07:04:36PM -0400, Cyril Chemparathy wrote: This series is a follow on to the RFC series posted earlier (archived at [1]). The major change

Re: [RFC PATCH v2 00/16] ACPI based system device hotplug framework

2012-08-08 Thread Jiang Liu
On 08/08/2012 07:38 AM, Toshi Kani wrote: On Sat, 2012-08-04 at 20:13 +0800, Jiang Liu wrote: From: Jiang Liu liu...@gmail.com The patchset is based on v3.5-rc6 and you may pull them from: git://github.com/jiangliu/linux.git acpihp Modern high-end server may support advanced hotplug

[PATCH] rndis_wlan: Fix potential memory leak in update_pmkid()

2012-08-08 Thread Alexey Khoroshilov
Do not leak memory by updating pointer with potentially NULL realloc return value. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/net/wireless/rndis_wlan.c |6 -- 1 file changed, 4 insertions(+), 2

Re: [RFC PATCH v1 00/22] introduce PCI bus lock to serialize PCI hotplug operations

2012-08-08 Thread Jiang Liu
On 08/08/2012 02:11 AM, Don Dutile wrote: On 08/07/2012 12:10 PM, Jiang Liu wrote: From: Jiang Liuliu...@gmail.com This is the second take to resolve race conditions when hot-plugging PCI devices/host bridges. Instead of using a globla lock to serialize all hotplug operations as in previous

[PATCH] floppy: error handling fixes on floppy_init

2012-08-08 Thread Herton Ronaldo Krzesinski
While looking at commit 3f9a5aa (floppy: Cleanup disk-queue before caling put_disk() if add_disk() was never called) I noticed some problems with the error handling and cleanup: * missing cleanup (put_disk) if blk_init_queue fails, dr is decremented first in the error handling loop * if

Re: [RFC PATCH] ARM Fix /usr/bin/xargs: etags: Argument list too long

2012-08-08 Thread David Cullen
On 8/8/2012 10:41 AM, Michal Marek wrote: Dne 8.8.2012 16:32, David Cullen napsal(a): Patch applies to commit 42a579a0f960081cd16fc945036e4780c3ad3202 When running make ARCH=arm TAGS in a chroot using qemu-arm-static, the following message is emitted: [user@host:/home/work/linux]:

Re: [PATCH 1/4] fuse: add basic support of iovec[] to fuse_req

2012-08-08 Thread Miklos Szeredi
Maxim Patlasov mpatla...@parallels.com writes: The patch allows fuse_req to refer to array of iovec-s describing layout of user-data over req-pages. fuse_copy_pages() is re-worked to support both cased: former layout where pages[] corresponded to buf, len and newer one where pages[]

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-08 Thread Russell King - ARM Linux
On Wed, Aug 08, 2012 at 09:55:12AM -0400, Nicolas Pitre wrote: On Wed, 8 Aug 2012, Cyril Chemparathy wrote: Neat macro magic. Are you thinking that we build this in as a self test in the code? For such things, this is never a bad idea to have some test alongside with the main code,

Re: [PATCH] floppy: error handling fixes on floppy_init

2012-08-08 Thread Herton Ronaldo Krzesinski
On Wed, Aug 08, 2012 at 12:53:04PM -0300, Herton Ronaldo Krzesinski wrote: While looking at commit 3f9a5aa (floppy: Cleanup disk-queue before caling put_disk() if add_disk() was never called) I noticed some problems with the error handling and cleanup: * missing cleanup (put_disk) if

Re: [PATCH 04/11] ARM: ux500: really kill snowball_of_platform_devs

2012-08-08 Thread Lee Jones
On Wed, Aug 08, 2012 at 04:47:21PM +0200, Arnd Bergmann wrote: Commit fc67a597a ARM: ux500: Remove temporary snowball_of_platform_devs enablement structure removed the only user of this variable, but did not actually remove the array itself. Without this patch, building u8500_defconfig

Re: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Arnd Bergmann
On Wednesday 08 August 2012, Stephen Warren wrote: On 08/08/2012 08:47 AM, Arnd Bergmann wrote: A few drivers use a construct like #ifdef CONFIG_PM static int foo_suspend(struct device *pdev) { ... } static int foo_resume struct device *pdev) { ... }

Re: [Xen-devel] [PATCH v2 07/23] xen/arm: Xen detection and shared_info page mapping

2012-08-08 Thread Stefano Stabellini
On Mon, 6 Aug 2012, David Vrabel wrote: On 06/08/12 15:27, Stefano Stabellini wrote: Check for a /xen node in the device tree, if it is present set xen_domain_type to XEN_HVM_DOMAIN and continue initialization. Map the real shared info page using XENMEM_add_to_physmap with

Re: [PATCH] mm: hugetlb: flush dcache before returning zeroed huge page to userspace

2012-08-08 Thread Michal Hocko
On Tue 07-08-12 17:03:37, Will Deacon wrote: resurrecting this thread On Thu, Jul 12, 2012 at 12:57:08PM +0100, Michal Hocko wrote: On Thu 12-07-12 12:26:45, Will Deacon wrote: Well, the comment in linux/page-flags.h does state that: * PG_arch_1 is an architecture specific page

Re: [RFC PATCH v2 00/16] ACPI based system device hotplug framework

2012-08-08 Thread Bjorn Helgaas
On Wed, Aug 8, 2012 at 8:44 AM, Jiang Liu liu...@gmail.com wrote: On 08/08/2012 07:38 AM, Toshi Kani wrote: It is nice to see redundant ACPI namespace walks removed from the ACPI drivers. But why do you need to add a new enumerator to create the acpihp_slot tree, in addition to the current

Re: [PATCH 0/4] promote zcache from staging

2012-08-08 Thread Seth Jennings
On 08/07/2012 04:47 PM, Dan Magenheimer wrote: I notice your original published benchmarks [1] include N=24, N=28, and N=32, but these updated results do not. Are you planning on completing the runs? Second, I now see the numbers I originally published for what I thought was the same

Re: [PATCH 2/3] ARM: dt: tegra: cardhu: split dts file for support multiple board versions

2012-08-08 Thread Stephen Warren
On 08/08/2012 12:48 AM, Laxman Dewangan wrote: There is multiple version of cardhu starting from A01 to A07. Cardhu A01 and A03 are not supported. Cardhu A02 will have different sets of GPIOs for fixed regulator compare to cardhu A04. The Cardhu A05, A06, A07 are compatibe with A04. Based on

Re: [overlayfs/bug] LXC ephemeral containers have /rootfs prefix in /proc/self/maps entries

2012-08-08 Thread Miklos Szeredi
Bryan Wu bryan...@canonical.com writes: Miklos, We met a LXC issue [1] with overlayfs in Ubuntu, but with aufs it is gone. I suspect it's related to the issue you mentioned in Documentation of overlayfs: -- Symlinks in /proc/PID/ and /proc/PID/fd which point to a non-directory object in

Re: [PATCH v2 01/23] arm: initial Xen support

2012-08-08 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Konrad Rzeszutek Wilk wrote: On Mon, Aug 06, 2012 at 03:27:04PM +0100, Stefano Stabellini wrote: - Basic hypervisor.h and interface.h definitions. - Skeleton enlighten.c, set xen_start_info to an empty struct. - Make xen_initial_domain dependent on the

Re: [PATCH v2 03/23] xen/arm: page.h definitions

2012-08-08 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Konrad Rzeszutek Wilk wrote: On Mon, Aug 06, 2012 at 03:27:06PM +0100, Stefano Stabellini wrote: ARM Xen guests always use paging in hardware, like PV on HVM guests in the X86 world. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Ack.. with one

Re: [PATCH v2 06/23] xen: missing includes

2012-08-08 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Konrad Rzeszutek Wilk wrote: On Mon, Aug 06, 2012 at 03:27:09PM +0100, Stefano Stabellini wrote: Changes in v2: - remove pvclock hack; - remove include linux/types.h from xen/interface/xen.h. I think I can take in my tree now right by itself right? Or do you want to

Re: your mail

2012-08-08 Thread Tejun Heo
On Fri, Aug 03, 2012 at 10:43:45AM -0700, Tejun Heo wrote: delayed_work has been annoyingly missing the mechanism to modify timer of a pending delayed_work - ie. mod_timer() counterpart. delayed_work users have been working around this using several methods - using an explicit timer + work

[PATCH wq/for-3.7] workqueue: fix CPU binding of flush_delayed_work[_sync]()

2012-08-08 Thread Tejun Heo
From 8fcd63664f1185361d00be4fe2decc2b9da8330e Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Wed, 8 Aug 2012 09:38:42 -0700 delayed_work encodes the workqueue to use and the last CPU in delayed_work-work.data while it's on timer. The target CPU is implicitly recorded as the CPU

Re: Attaching a process to cgroups

2012-08-08 Thread Alexey Vlasov
On Wed, Jul 25, 2012 at 03:57:47PM +0200, Mike Galbraith wrote: Hanging on read(): # strace -ttT cat /proc/cgroups 17:30:43.825005 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 13), ...}) = 0 0.05 17:30:43.825048 open(/proc/cgroups, O_RDONLY) = 3 0.14

Re: [PATCH v2 09/23] xen/arm: Introduce xen_ulong_t for unsigned long

2012-08-08 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Konrad Rzeszutek Wilk wrote: On Mon, Aug 06, 2012 at 03:27:12PM +0100, Stefano Stabellini wrote: All the original Xen headers have xen_ulong_t as unsigned long type, however when they have been imported in Linux, xen_ulong_t has been replaced with unsigned long. That

Re: [PATCH 11/11] pm/drivers: fix use of SIMPLE_DEV_PM_OPS

2012-08-08 Thread Takashi Iwai
At Wed, 8 Aug 2012 16:22:29 +, Arnd Bergmann wrote: On Wednesday 08 August 2012, Stephen Warren wrote: On 08/08/2012 08:47 AM, Arnd Bergmann wrote: A few drivers use a construct like #ifdef CONFIG_PM static int foo_suspend(struct device *pdev) { ... }

Re: Attaching a process to cgroups

2012-08-08 Thread Paul E. McKenney
On Wed, Aug 08, 2012 at 08:40:33PM +0400, Alexey Vlasov wrote: On Wed, Jul 25, 2012 at 03:57:47PM +0200, Mike Galbraith wrote: Hanging on read(): # strace -ttT cat /proc/cgroups 17:30:43.825005 fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 13), ...}) = 0 0.05

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Stefano Stabellini
On Tue, 7 Aug 2012, Daniel De Graaf wrote: On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is running as an HVM domain and

Re: [PATCH] efikamx: reintroduce Genesi Efika MX Smarttop via device tree

2012-08-08 Thread Matt Sealey
On Wed, Aug 8, 2012 at 10:15 AM, Shawn Guo shawn@linaro.org wrote: On Tue, Aug 07, 2012 at 04:46:18PM -0500, Matt Sealey wrote: This device tree only supports the final retail board (TO3). It is currently feature equivalent to the MX51 Babbage device tree. The following features have been

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-08 Thread Nicolas Pitre
On Wed, 8 Aug 2012, Russell King - ARM Linux wrote: On Wed, Aug 08, 2012 at 09:55:12AM -0400, Nicolas Pitre wrote: On Wed, 8 Aug 2012, Cyril Chemparathy wrote: Neat macro magic. Are you thinking that we build this in as a self test in the code? For such things, this is never a

Re: [SCSI] qla4xxx: support iscsiadm session mgmt

2012-08-08 Thread Dan Carpenter
On Wed, Aug 08, 2012 at 10:35:44AM -0500, Mike Christie wrote: On 08/08/2012 10:00 AM, Dan Carpenter wrote: I never heard back on this. This buffer overflow is still present in the current code. Qlogic just sent a patch yesterday. http://marc.info/?l=linux-scsim=134434199930938w=2

Re: NULL pointer dereference in selinux_ip_postroute_compat

2012-08-08 Thread John Johansen
On 08/07/2012 03:17 PM, Serge E. Hallyn wrote: Quoting Paul Moore (p...@paul-moore.com): On Tue, Aug 7, 2012 at 5:58 PM, John Stultz john.stu...@linaro.org wrote: On 08/07/2012 02:50 PM, Paul Moore wrote: On Tue, Aug 7, 2012 at 2:12 PM, John Stultz john.stu...@linaro.org wrote: Hi,

Re: [PATCH v2 10/23] xen/arm: compile and run xenbus

2012-08-08 Thread Daniel De Graaf
On 08/08/2012 12:51 PM, Stefano Stabellini wrote: On Tue, 7 Aug 2012, Daniel De Graaf wrote: On 08/07/2012 02:21 PM, Konrad Rzeszutek Wilk wrote: On Mon, Aug 06, 2012 at 03:27:13PM +0100, Stefano Stabellini wrote: bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an

[PATCH v2 2/2] x86/pat: Avoid contention on cpa_lock if possible

2012-08-08 Thread Ido Yariv
vSMP Foundation does not require to serialize CPA by guaranteeing that the most recent TLB entry will always be used. To avoid needless contention on cpa_lock, do not lock/unlock it if it isn't necessary. Based on work by Shai Fultheim s...@scalemp.com. Signed-off-by: Ido Yariv i...@wizery.com

[PATCH 1/2] vsmp: Use hypervisor layer for initialization

2012-08-08 Thread Ido Yariv
vSMP Foundation detection and initialization could be done by the hypervisor layer, so set it up that way. Signed-off-by: Ido Yariv i...@wizery.com Acked-by: Shai Fultheim s...@scalemp.com --- arch/x86/include/asm/hypervisor.h |1 + arch/x86/include/asm/setup.h |7 ---

[PATCH] exofs: check for allocation failure in uri_store()

2012-08-08 Thread Alexey Khoroshilov
There is no memory allocation failure check in uri_store(). That can lead to NULL pointer dereference. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- fs/exofs/sys.c |7 ++- 1 file changed, 6 insertions(+), 1

Re: [PATCH 3/5] kmemleak: use rbtree instead of prio tree

2012-08-08 Thread Michel Lespinasse
Forgot to add Catalin on this review... -- Forwarded message -- From: Michel Lespinasse wal...@google.com Date: Tue, Aug 7, 2012 at 12:25 AM Subject: [PATCH 3/5] kmemleak: use rbtree instead of prio tree To: r...@redhat.com, pet...@infradead.org, vraj...@umich.edu,

Re: [PATCH v2] gpio/omap: add *remove* callback in platform_driver

2012-08-08 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com writes: Add *remove* callback so that necessary cleanup operations are performed when device is unregistered. The device is deleted from the list and associated clock handle is released by calling clk_put() and irq descriptor is released using the

[PATCH 02/11] perf tools: Fix lib/traceevent build dir with OUTPUT variable set

2012-08-08 Thread Arnaldo Carvalho de Melo
From: Robert Richter robert.rich...@amd.com With the OUTPUT variable set the libtraceevent.a file is wrongly built in the source directory: + make -d OUTPUT=/.../.build/perf-user/ DESTDIR=/.../.install/perf-user/ ... Considering target file `../lib/traceevent//libtraceevent.a'. File

<    5   6   7   8   9   10   11   12   13   >