[PATCH 00/49] Regulators: Bring the AB8500 into the 21st century

2013-02-06 Thread Lee Jones
Hi Mark, As requested, the whole-shebang. Hopefully this patch-set is less bitty and depressing to review now. Honestly, the things I do for you. :) The Mainline AB8500 and DB8500 regulators are currently stuck in the Victorian era (AKA v2.6.35). This branch contains all of the upstreamable

RE: [PATCH 4/5] iommu: Add domain window handling functions

2013-02-06 Thread Sethi Varun-B16395
Thanks Joerg. > -Original Message- > From: Joerg Roedel [mailto:j...@8bytes.org] > Sent: Wednesday, February 06, 2013 3:56 PM > To: Stuart Yoder > Cc: Sethi Varun-B16395; io...@lists.linux-foundation.org; linux- > ker...@vger.kernel.org > Subject: Re: [PATCH 4/5] iommu: Add domain window

[PATCH] clk: tegra: initialise parent of uart clocks

2013-02-06 Thread Laxman Dewangan
Initialise the parent of UARTs to PLLP and disabling clock by default. Signed-off-by: Laxman Dewangan --- drivers/clk/tegra/clk-tegra20.c |3 +++ drivers/clk/tegra/clk-tegra30.c |4 2 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra20.c

[PATCH] drivers/char/mem.c: fix small coding style issues

2013-02-06 Thread Hans Grob
This patch fixes four foo * bar errors, and one trailing whitespace complaint from checkpatch.pl Signed-off-by: Hans Grob --- drivers/char/mem.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/char/mem.c b/drivers/char/mem.c index 34e7cb1..3b9f289 100644

Re: [PATCH RESEND] spi: spi-fsl-spi: Make spi-fsl-spi usable in cpu mode outside of FSL SOC environments and add a grlib variant normally running on sparc

2013-02-06 Thread Andreas Larsson
On 2013-02-05 18:56, Grant Likely wrote: On Wed, 30 Jan 2013 13:15:24 +0100, Andreas Larsson wrote: This patch relies upon parts of the "of, of_gpio, of_spi: Fix and improve of_parse_phandle_with_args, of_gpio_named_count and of_spi_register_master" patchset -

Re: [PATCH 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-02-06 Thread Mel Gorman
On Tue, Feb 05, 2013 at 06:26:51PM -0800, Michel Lespinasse wrote: > Just nitpicking, but: > > On Tue, Feb 5, 2013 at 3:57 AM, Mel Gorman wrote: > > +static inline bool zone_is_idx(struct zone *zone, enum zone_type idx) > > +{ > > + /* This mess avoids a potentially expensive pointer

Re: [PATCH 3/4] spi: s3c64xx: add gpio quirk for controller

2013-02-06 Thread Grant Likely
On Tue, 5 Feb 2013 15:09:43 -0800, Girish K S wrote: > This patch adds support for spi controllers with > dedicated clk/miso/mosi/cs pins. It skips the gpio > parsing and initialization for controllers that > have dedicated pins. > > Signed-off-by: Girish K S Instead of making this a quirk,

Re: [PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Chen Gang
于 2013年02月06日 16:56, Cyrill Gorcunov 写道: > On Wed, Feb 06, 2013 at 04:44:35PM +0800, Chen Gang wrote: >> > >> > diff --git a/kernel/sys.c b/kernel/sys.c >> > index 24d1ef5..568b9ca 100644 >> > --- a/kernel/sys.c >> > +++ b/kernel/sys.c >> > @@ -2027,7 +2027,7 @@ SYSCALL_DEFINE5(prctl, int,

Re: [PATCH 2/4] spi: s3c64xx: added support for polling mode

2013-02-06 Thread Grant Likely
On Tue, 5 Feb 2013 15:09:42 -0800, Girish K S wrote: > The 64xx spi driver supports partial polling mode. > Only the last chunk of the transfer length is transferred > or recieved in polling mode. > > Some SoC's that adopt this controller might not have have dma > interface. This patch adds

Re: [PATCH 0/4] CPUFreq: Implement per policy instances of governors

2013-02-06 Thread Rafael J. Wysocki
On Wednesday, February 06, 2013 03:45:58 PM Viresh Kumar wrote: > On 6 February 2013 15:38, Amit Kucheria wrote: > > On Wed, Feb 6, 2013 at 3:28 PM, Viresh Kumar > > wrote: > >> I have pushed the complete patchset here: > >> > >>

Re: [PATCH 11/93] xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests.

2013-02-06 Thread Frediano Ziglio
At stated before I'm the author of this patch. Please change the From: to From: Frediano Ziglio Frediano On Tue, 2013-02-05 at 20:06 -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7.5 -stable review patch. If anyone has any objections, please let me > know. > > -- > >

Re: [PATCH 1/4] spi: s3c64xx: modified error interrupt handling and init

2013-02-06 Thread Grant Likely
On Tue, 5 Feb 2013 15:09:41 -0800, Girish K S wrote: > The status of the interrupt is available in the status register, > so reading the clear pending register and writing back the same > value will not actually clear the pending interrupts. This patch > modifies the interrupt handler to read

Re: [PATCH 4/5] iommu: Add domain window handling functions

2013-02-06 Thread Joerg Roedel
On Mon, Feb 04, 2013 at 05:31:51PM -0600, Stuart Yoder wrote: > On Mon, Feb 4, 2013 at 12:56 PM, Joerg Roedel wrote: > > Okay. So if your architecture supports sizes over 2^32 then size_t > > probably is already 64bits, right? > > No, on a 32-bit platform size_t would generally be 32-bits. But

Re: [PATCH v6 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-02-06 Thread Joerg Roedel
On Tue, Feb 05, 2013 at 07:42:09PM +0900, Hideki EIRAKU wrote: > From: Joerg Roedel > > Why is it necessary to call dma_map_single() for IOMMU page-tables? > > usually the dma_* functions call into IOMMU drivers, so why are they > > used inside an IOMMU driver? > > I use dma_map_single() for

pci-sysfs: queue sysfs rescan routine into workqueue to avoid potential deadlock situation

2013-02-06 Thread Gu Zheng
There is a potential deadlock situation when we manipulate the pci-sysfs user interfaces from different bus hierarchy simultaneously, described as following: path1: sysfs remove device: | path2: sysfs rescan device: sysfs_schedule_callback_work() | sysfs_write_file()

Re: [PATCH 0/4] CPUFreq: Implement per policy instances of governors

2013-02-06 Thread Viresh Kumar
On 6 February 2013 15:38, Amit Kucheria wrote: > On Wed, Feb 6, 2013 at 3:28 PM, Viresh Kumar wrote: >> I have pushed the complete patchset here: >> >> http://git.linaro.org/gitweb?p=people/vireshk/linux.git;a=shortlog;h=refs/heads/cpufreq-updates >> > > Viresh, perhaps you should ask Stephen

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-06 Thread Grant Likely
On Tue, Feb 5, 2013 at 11:07 PM, Benjamin Herrenschmidt wrote: > On Wed, 2013-02-06 at 01:25 +0400, Alexey Brodkin wrote: >> Sounds good but how should one tell which approach is correct? For >> example here - is the one implemented by Xilinx is golden reference or >> not? > > So I'm reading that

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-02-06 Thread Tang Chen
On 02/06/2013 05:17 PM, Tang Chen wrote: Hi all, On 02/06/2013 11:07 AM, Tang Chen wrote: Hi Glauber, all, An old thing I want to discuss with you. :) On 01/09/2013 11:09 PM, Glauber Costa wrote: memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device

Re: [PATCH 6/7] net: change type of netns_ipvs->sysctl_sync_qlen_max

2013-02-06 Thread Zhang Yanfei
于 2013年02月06日 17:29, Julian Anastasov 写道: > > Hello, > > Sorry that I'm writing a private email but I > deleted your original message by mistake. Your change > of the sysctl_sync_qlen_max from int to long is may be > not enough. > > net/netfilter/ipvs/ip_vs_ctl.c contains >

Re: [PATCH 0/4] CPUFreq: Implement per policy instances of governors

2013-02-06 Thread Amit Kucheria
On Wed, Feb 6, 2013 at 3:28 PM, Viresh Kumar wrote: > On 5 February 2013 21:51, Viresh Kumar wrote: >> commit 15b5548c9ccfb8088270f7574710d9d67edfe33b >> Author: Viresh Kumar >> Date: Tue Feb 5 21:29:05 2013 +0530 >> >> cpufreq: Make governors directory sysfs location based on >>

Re: [PATCH V2] clk: Add composite clock type

2013-02-06 Thread Tomasz Figa
On Wednesday 06 of February 2013 08:34:32 Prashant Gaikwad wrote: > On Tuesday 05 February 2013 03:45 PM, Tomasz Figa wrote: > > Hi Prashant, > > > > Thank you for your patch. Please see some comments inline. > > > > On Monday 04 of February 2013 13:41:22 Prashant Gaikwad wrote: > >> Not all

Re: [PATCH 0/4] CPUFreq: Implement per policy instances of governors

2013-02-06 Thread Viresh Kumar
On 5 February 2013 21:51, Viresh Kumar wrote: > commit 15b5548c9ccfb8088270f7574710d9d67edfe33b > Author: Viresh Kumar > Date: Tue Feb 5 21:29:05 2013 +0530 > > cpufreq: Make governors directory sysfs location based on > have_multiple_policies > > Until now directory for governors

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-06 Thread Grant Likely
On Tue, Feb 5, 2013 at 3:12 PM, Arnd Bergmann wrote: > On Tuesday 05 February 2013 18:03:31 Alexey Brodkin wrote: >> The Xilinx System ACE Compact Flash chip is a true little-endian device >> and the PLB is a big-endian bus. Therefore the XPS System ACE Interface >> Controller will do a bit-swap

Re: [PATCH V2] clk: Add composite clock type

2013-02-06 Thread Tomasz Figa
On Wednesday 06 of February 2013 15:22:54 Prashant Gaikwad wrote: > On Wednesday 06 February 2013 11:40 AM, Hiroshi Doyu wrote: > > Prashant Gaikwad wrote @ Wed, 6 Feb 2013 03:55:00 +0100: > No, clk_ops depends on the clocks you are using. There could be a > clock > with mux and

Re: [PATCH V2] clk: Add composite clock type

2013-02-06 Thread Hiroshi Doyu
Prashant Gaikwad wrote @ Wed, 6 Feb 2013 10:52:54 +0100: > > diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h > > index f0ac818..bb5d36a 100644 > > --- a/include/linux/clk-provider.h > > +++ b/include/linux/clk-provider.h > > @@ -346,6 +346,8 @@ struct clk_composite { > >

Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-02-06 Thread Mel Gorman
On Wed, Feb 06, 2013 at 09:42:34AM +0900, Minchan Kim wrote: > On Tue, Feb 05, 2013 at 12:01:37PM +, Mel Gorman wrote: > > On Tue, Feb 05, 2013 at 05:21:52PM +0800, Lin Feng wrote: > > > get_user_pages() always tries to allocate pages from movable zone, which > > > is not > > > reliable to

Re: [fuse-devel] [PATCH] fuse: make fuse daemon frozen along with kernel threads

2013-02-06 Thread Han-Wen Nienhuys
On Wed, Feb 6, 2013 at 2:11 AM, Li Fei wrote: > > There is well known issue that freezing will fail in case that fuse > daemon is frozen firstly with some requests not handled, as the fuse > usage task is waiting for the response from fuse daemon and can't be > frozen. > > To solve the issue

Re: [PATCH V2] clk: Add composite clock type

2013-02-06 Thread Prashant Gaikwad
On Wednesday 06 February 2013 11:40 AM, Hiroshi Doyu wrote: Prashant Gaikwad wrote @ Wed, 6 Feb 2013 03:55:00 +0100: No, clk_ops depends on the clocks you are using. There could be a clock with mux and gate while another one with mux and div. You are right. What about the following? We don't

Re: Re: [PATCH] NET/PHY: Eliminate the algorithm of forced ethernet speed reduction

2013-02-06 Thread Кирилл Капранов
> Kirill Kapranov : >> NET/PHY: Eliminate the forced speed reduction algorithm. >> In case of the fixed speed set up for NIC >> (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) >> with ethernet cable plugged off, mentioned algorithm >> slows down NIC speed, so the further "hooking up"

Re: [PATCH v6 1/2] sta2x11_vip: convert to videobuf2, control framework, file handler

2013-02-06 Thread Hans Verkuil
Hi Federico, OK, I'm going to give this my Acked-by, but I really wish you would have split this up into smaller changes. It's hard to review since you have made so many changes in this one patch. Even though I'm giving my ack, Mauro might decide against it, so if you have time to spread out the

Re: [PATCH v2 00/30] USB: omap-ehci: Move PHY management to PHY driver

2013-02-06 Thread Roger Quadros
On 02/05/2013 07:17 PM, Tony Lindgren wrote: > * Greg KH [130205 09:00]: >> On Tue, Feb 05, 2013 at 01:28:51PM +0200, Roger Quadros wrote: >>> Hi Tony & Greg, >>> >>> What's the best way to get these patches in? >>> >>> All patches have been acked by respective maintainers. >>> >>> If Tony can

Re: next-20130204 - bisected slab problem to "slab: Common constants for kmalloc boundaries"

2013-02-06 Thread James Hogan
On 05/02/13 18:34, Christoph Lameter wrote: > On Tue, 5 Feb 2013, James Hogan wrote: > >> On 05/02/13 16:36, Christoph Lameter wrote: >>> OK I was able to reproduce it by setting ARCH_DMA_MINALIGN in slab.h. This >>> patch fixes it here: >>> >>> >>> Subject: slab: Handle ARCH_DMA_MINALIGN

Re: [v4 PATCH 11/12] ARM: dts: add spi nodes for atmel SoC

2013-02-06 Thread Nicolas Ferre
On 02/06/2013 02:35 AM, Yang, Wenyou : > > >> -Original Message- >> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] >> Sent: 2013年2月6日 3:51 >> To: Yang, Wenyou >> Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; >> Ferre, >> Nicolas;

Re: [PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Linus Walleij
On Wed, Feb 6, 2013 at 10:31 AM, Lars Poeschel wrote: > The thing that confused me was, that the platform_data for the chip has a > mandatory "base" member, that sets the linux global gpio number at which the > chip should appear. Yes this is common. I think you should look at other drivers

[PATCH] ARM: davinci: da850: add DT node for I2C0

2013-02-06 Thread Vishwanathrao Badarkhe, Manish
Add I2C0 device tree and pin muxing information to da850-evm. Also, add OF_DEV_AUXDATA for I2C0 controller driver in da850 board dt file to use I2C0 clock. Verified i2c0 node gets created in sys class interface as "/sys/class/i2c-dev/i2c-0/subsystem/i2c-0". Signed-off-by: Vishwanathrao Badarkhe,

Re: [PATCH RESEND] ARM: sched: correct update_sched_clock()

2013-02-06 Thread Linus Walleij
On Wed, Feb 6, 2013 at 6:21 AM, Joonsoo Kim wrote: > If we want load epoch_cyc and epoch_ns atomically, > we should update epoch_cyc_copy first of all. > This notify reader that updating is in progress. If you think the patch is finished, put it into Russell's patch tracker:

Re: [PATCH RFC 1/1] gpio: mcp23s08: convert driver to DT

2013-02-06 Thread Lars Poeschel
On Tuesday 05 February 2013 at 15:29:09, Grant Likely wrote: > On Thu, 31 Jan 2013 21:51:36 +0100, Linus Walleij wrote: > > On Thu, Jan 31, 2013 at 4:58 PM, Lars Poeschel wrote: > > > --- /dev/null > > > +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt > > > @@ -0,0 +1,27 @@ > >

Re: [PATCH] fuse: make fuse daemon frozen along with kernel threads

2013-02-06 Thread Miklos Szeredi
On Wed, Feb 6, 2013 at 2:11 AM, Li Fei wrote: > > There is well known issue that freezing will fail in case that fuse > daemon is frozen firstly with some requests not handled, as the fuse > usage task is waiting for the response from fuse daemon and can't be > frozen. > > To solve the issue

[PATCH 1/1]linux-usb: fix the product IDs to be little endian in initializers.c

2013-02-06 Thread fangxiaozhi 00110321
From: fangxiaozhi 1. The idProduct is little endian, so make the product ID's value to be little endian. Make no break on big endian processors. Signed-off-by: fangxiaozhi diff -uprN

[PATCH v6 20/20] scripts/gdb: Add basic documentation

2013-02-06 Thread Jan Kiszka
CC: Rob Landley CC: linux-...@vger.kernel.org Signed-off-by: Jan Kiszka --- Just to close the request Boris had regarding help on the commands. Changes in v6: - explain how to obtain help on commands and functions - minor wording fixes Documentation/gdb-kernel-debugging.txt | 158

Re: [PATCH] f2fs: fix to name f2fs GC task as per partition instead of per device

2013-02-06 Thread Jaegeuk Kim
Hi, 2013-02-06 (수), 13:59 +0900, Namjae Jeon: > 2013/2/6, Jaegeuk Kim : > > Hi, > > > > How about this? > > > > 2013-02-05 (화), 23:24 +0900, Namjae Jeon: > >> From: Namjae Jeon > >> > >> After the commit 2184ad190a79ae2b40b5f5db1fbde5c22db6d310, it allowed > >> for naming GC threads based on the

Re: [Intel-gfx] [PATCH 1/3] PM: make VT switching to the suspend console optional v3

2013-02-06 Thread Daniel Vetter
On Tue, Feb 05, 2013 at 11:02:17PM +0100, Rafael J. Wysocki wrote: > On Tuesday, February 05, 2013 01:55:44 PM Jesse Barnes wrote: > > On Mon, 04 Feb 2013 21:26:26 +0100 > > "Rafael J. Wysocki" wrote: > > > > > On Monday, February 04, 2013 01:37:20 PM Jesse Barnes wrote: > > > > KMS drivers can

Re: [Intel-gfx] [PATCH 3/3] drm/i915: support resume without VT switch v2

2013-02-06 Thread Daniel Vetter
On Mon, Feb 04, 2013 at 01:37:22PM +, Jesse Barnes wrote: > Add support for resuming the suspend configuration at resume time to > avoid slow and ugly VT switches during suspend and resume. Also emit a > hotplug event at resume time to make sure any potential configuration > changes (monitors

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-02-06 Thread Tang Chen
Hi all, On 02/06/2013 11:07 AM, Tang Chen wrote: Hi Glauber, all, An old thing I want to discuss with you. :) On 01/09/2013 11:09 PM, Glauber Costa wrote: memory can't be offlined when CONFIG_MEMCG is selected. For example: there is a memory device on node 1. The address range is [1G, 1.5G).

[PATCH] da9030_battery: include notifier.h

2013-02-06 Thread Michal Hocko
randconfig complains about: drivers/power/da9030_battery.c:113: error: field ‘nb’ has incomplete type because there is no direct include for notifier.h which defines struct notifier_block. Signed-off-by: Michal Hocko --- drivers/power/da9030_battery.c |1 + 1 file changed, 1 insertion(+)

Re: [PATCH v2] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Wed, Feb 6, 2013 at 2:33 PM, Hans Verkuil wrote: > Hi Prabhakar, > > Here is my review. There are a few things that need to be fixed before I > can Ack it. > OK > On Tue 5 February 2013 20:20:21 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> The patch

[PATCH v6 3/3] ARM: mm: use static_vm for managing static mapped areas

2013-02-06 Thread Joonsoo Kim
A static mapped area is ARM-specific, so it is better not to use generic vmalloc data structure, that is, vmlist and vmlist_lock for managing static mapped area. And it causes some needless overhead and reducing this overhead is better idea. Now, we have newly introduced static_vm infrastructure.

[PATCH v6 2/3] ARM: ioremap: introduce an infrastructure for static mapped area

2013-02-06 Thread Joonsoo Kim
In current implementation, we used ARM-specific flag, that is, VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area. The purpose of static mapped area is to re-use static mapped area when entire physical address range of the ioremap request can be covered by this area. This

[PATCH v6 1/3] ARM: vmregion: remove vmregion code entirely

2013-02-06 Thread Joonsoo Kim
Now, there is no user for vmregion. So remove it. Acked-by: Nicolas Pitre Tested-by: Santosh Shilimkar Signed-off-by: Joonsoo Kim diff --git a/arch/arm/mm/Makefile b/arch/arm/mm/Makefile index 8a9c4cb..4e333fa 100644 --- a/arch/arm/mm/Makefile +++ b/arch/arm/mm/Makefile @@ -6,7 +6,7 @@ obj-y

[PATCH v6 0/3] introduce static_vm for ARM-specific static mapped area

2013-02-06 Thread Joonsoo Kim
In current implementation, we used ARM-specific flag, that is, VM_ARM_STATIC_MAPPING, for distinguishing ARM specific static mapped area. The purpose of static mapped area is to re-use static mapped area when entire physical address range of the ioremap request can be covered by this area. This

Re: [PATCH v2] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Hans Verkuil
Hi Prabhakar, Here is my review. There are a few things that need to be fixed before I can Ack it. On Tue 5 February 2013 20:20:21 Prabhakar Lad wrote: > From: Lad, Prabhakar > > The patch adds support for THS7353 video amplifier. > The the THS7353 amplifier is very much similar to the >

Re: [RFC] arm: use built-in byte swap function

2013-02-06 Thread Woodhouse, David
On Tue, 2013-02-05 at 21:04 -0600, Kim Phillips wrote: > gcc -Os emits calls to __bswapsi2 on those platforms to save space > because they don't have the single rev byte swap instruction. Is that the right thing for GCC to do in that situation? If so, perhaps we should be *providing*

[PATCH] mm: accurately document nr_free_*_pages functions with code comments

2013-02-06 Thread Zhang Yanfei
Functions nr_free_zone_pages, nr_free_buffer_pages and nr_free_pagecache_pages are horribly badly named, so accurately document them with code comments in case of the misuse of them. Signed-off-by: Zhang Yanfei --- mm/page_alloc.c | 23 +++ 1 files changed, 19

Re: [PATCH] drivers/block/xsysace - replace in(out)_8/in(out)_be16/in(out)_le16 with generic iowrite(read)8/16(be)

2013-02-06 Thread Geert Uytterhoeven
On Wed, Feb 6, 2013 at 12:03 AM, Arnd Bergmann wrote: > On Tuesday 05 February 2013, Michal Simek wrote: >> I want to be sure about this. I have parsed this again with closer look and >> seems to me that ioread32 is equal to readl and iowrite32 to writel. >> Arnd: Am I right? > > Correct. On all

Re: [PATCH] ASoC: fsl: fix allyesconfig build for imx-pcm

2013-02-06 Thread Arnd Bergmann
On Wednesday 06 February 2013, Shawn Guo wrote: > On Tue, Feb 05, 2013 at 04:42:25PM +, Arnd Bergmann wrote: > > Patch 25b8d314 "ASoC: fsl: fix multiple definition of init_module changed > > the Makefile for imx-pcm.ko to build two modules that both contain the > > imx-pcm.c file, which nicely

Re: [PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Cyrill Gorcunov
On Wed, Feb 06, 2013 at 04:44:35PM +0800, Chen Gang wrote: > > arg2 will never < 0, for its type is 'unsigned long' > > so delete the waste code. > > > Signed-off-by: Chen Gang > --- > kernel/sys.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git

Re: [PATCH v3 00/22] PCI: Iterate pci host bridge instead of pci root bus

2013-02-06 Thread Mauro Carvalho Chehab
Em Tue, 5 Feb 2013 16:47:10 -0800 Yinghai Lu escreveu: > On Tue, Feb 5, 2013 at 4:19 PM, Bjorn Helgaas wrote: > > > > Maybe. I'd rather not introduce for_each_pci_host_bridge() at all, if > > we can avoid it. Every place it's used is a place we have to audit to > > make sure it's safe. I

Re: [PATCH v2 linux-next 2/2] cpufreq: Convert the cpufreq_driver_lock to use the rcu

2013-02-06 Thread Viresh Kumar
On 6 February 2013 08:22, Viresh Kumar wrote: > On 6 February 2013 07:34, Nathan Zimmer wrote: >> In general rwlocks are discourged so we are moving it to use the rcu instead. >> >> Cc: Viresh Kumar >> Cc: "Rafael J. Wysocki" >> Signed-off-by: Nathan Zimmer >> --- >>

[PATCH] usb: gadget: make usb functions to load before gadget driver

2013-02-06 Thread Kishon Vijay Abraham I
The current ordering in makefile makes gadget drivers to be loaded before usb functions making usb_get_function_instance() to fail when the modules are *built-in* the kernel. Changed the ordering here so that USB functions are loaded before gadget drivers. Signed-off-by: Kishon Vijay Abraham I

[PATCH] dmar: Zero out memory

2013-02-06 Thread Hannes Reinecke
kmemcheck complained about the use of uninitialized memory. So there. Cc: David Woodhouse Signed-off-by: Hannes Reinecke diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index 86e2f4a..2623a57 100644 --- a/drivers/iommu/dmar.c +++ b/drivers/iommu/dmar.c @@ -1040,7 +1040,7 @@ int

Re: [PATCH 1/2] sp5100_tco: Fix wrong indirect I/O access for getting value of reserved bits

2013-02-06 Thread Paul Menzel
Dear Wim, Am Mittwoch, den 30.01.2013, 20:19 +0100 schrieb Wim Van Sebroeck: > > In case of SB800 or later chipset and re-programming MMIO address(*), > > sp5100_tco module may read incorrect value of reserved bit, because the > > module > > reads a value from an incorrect I/O address.

[PATCH] kernel: arg2 is unsigned long which is never < 0

2013-02-06 Thread Chen Gang
arg2 will never < 0, for its type is 'unsigned long' so delete the waste code. Signed-off-by: Chen Gang --- kernel/sys.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sys.c b/kernel/sys.c index 24d1ef5..568b9ca 100644 --- a/kernel/sys.c +++

[PATCH 5/5] arcmsr: Modify ARC-1214 Inband Messages Behavior

2013-02-06 Thread NickCheng
From: Nick Cheng Modify ARC-1214 inband messages behavior to make up for HW seldom malfunction. Signed-off-by: Nick Cheng --- patch5 Description: Binary data

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Thomas Petazzoni
Dear Thierry Reding, On Wed, 9 Jan 2013 21:43:06 +0100, Thierry Reding wrote: > When using deferred driver probing, PCI host controller drivers may > actually require this function after the init stage. > > Signed-off-by: Thierry Reding Tested-by: Thomas Petazzoni -- Thomas Petazzoni, Free

[PATCH 2/5] arcmsr: Support Hibernation

2013-02-06 Thread NickCheng
From: Nick Cheng Support hibernation for whole series of RAID controllers Signed-off-by: Nick Cheng --- patch2 Description: Binary data

[PATCH 3/5] arcmsr: Support MSI and MSI-X

2013-02-06 Thread NickCheng
From: Nick Cheng Support MSI or MSI-X for whole series of RAID controllers. Meanwhile correct the register access as iowrite32/ioread32 Signed-off-by: Nick Cheng --- patch3 Description: Binary data

Re: linux-next: build failure after merge of the block tree

2013-02-06 Thread Jens Axboe
On Wed, Feb 06 2013, Stephen Rothwell wrote: > Hi Jens, > > After merging the block tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/block/rsxx/core.c:322:22: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'rsxx_pci_probe' >

RE: [v4 PATCH 00/12] atmel spi controller with dmaengine and device tree support

2013-02-06 Thread Yang, Wenyou
Hello, Grant Thanks a lot for your feedback. > -Original Message- > From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf Of Grant Likely > Sent: 2013年2月5日 22:14 > To: Yang, Wenyou; linux-arm-ker...@lists.infradead.org > Cc: richard.gen...@gmail.com; Lin, JM; Ferre, Nicolas; >

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread Tang Chen
On 02/06/2013 04:27 PM, David Rientjes wrote: On Tue, 5 Feb 2013, Shuah Khan wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 67bad4b..ed78400 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread David Rientjes
On Tue, 5 Feb 2013, Shuah Khan wrote: > diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c > index 67bad4b..ed78400 100644 > --- a/arch/x86/mm/init_64.c > +++ b/arch/x86/mm/init_64.c > @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned long addr, > unsigned long end, >

Re: [PATCH] kernel/events: using uninitialized variable: slots.flexible for arm cross-compiling

2013-02-06 Thread Chen Gang
oh, sorry, it is my fault, please skip this patch. gchen. 于 2013年02月06日 15:53, Chen Gang 写道: > > for arm cross-compiling, in function __reserve_bp_slot: > > slots.flexible may be used without initializing. > > slots.flexible is not initialized when define it. > it is as a

[PATCH 5/6] kvm tools: powerpc: Add cpu info entry for POWER8

2013-02-06 Thread Michael Ellerman
We should hard-code less of this stuff, but for now this works. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/cpu_info.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c index 11ca14e..a9dfe39 100644 ---

[PATCH 6/6] kvm tools: powerpc: Only emit TB freq if it's non-zero

2013-02-06 Thread Michael Ellerman
The kernel can handle a missing timebase-frequency property much better than one that claims zero. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/kvm.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/kvm/powerpc/kvm.c b/tools/kvm/powerpc/kvm.c index

[PATCH 1/6] kvm tools: Return error status in lkvm list

2013-02-06 Thread Michael Ellerman
Currently list always returns 0, even if there was an error. Instead have it accumulate any errors and return that. Signed-off-by: Michael Ellerman --- tools/kvm/builtin-list.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tools/kvm/builtin-list.c

[PATCH 2/6] kvm tools: More error handling in the ipc code

2013-02-06 Thread Michael Ellerman
Add perror() calls to a couple of exit paths, to ease debugging. There are also two places where we print "Failed starting IPC thread", but one is really an epoll failure, so make that obvious. Signed-off-by: Michael Ellerman --- tools/kvm/kvm-ipc.c | 17 + 1 file changed, 13

[PATCH 4/6] kvm tools: powerpc: Fix buglet in xics_init() handling of nrcpus

2013-02-06 Thread Michael Ellerman
In xics_init() we set the maximum server to kvm->nrcpus, and then set the nr_servers using maximum server + 1. That is off by one, in the harmless direction. Simplify it to just set nr_servers = kvm->nrcpus. Signed-off-by: Michael Ellerman --- tools/kvm/powerpc/xics.c |5 + 1 file

[PATCH 3/6] kvm tools: Rework stdio/stdout handling to support redirection

2013-02-06 Thread Michael Ellerman
Currently if you redirect the output from "lkvm run" to a file then term_init() will fail, because it can't call the terminal ioctls. So check if stdin and stdout are ttys, if either is not then skip the rest of the terminal setup. Redirecting one but not the other is a little odd, but does work.

Re: [RFC 2/2] initramfs with digital signature protection

2013-02-06 Thread Kasatkin, Dmitry
On Wed, Feb 6, 2013 at 7:04 AM, H. Peter Anvin wrote: > On 02/05/2013 02:09 PM, Kasatkin, Dmitry wrote: >> >> >> It should not be like that. Actually when pre-init exits, cleanup code >> umount tmpfs, which in turn cleanups the RAM. >> > > It doesn't quite... the rootfs is permanent. This is

Re: [RFC PATCH] fips: check whether a module registering an alg or template is signed

2013-02-06 Thread Stephan Mueller
On 05.02.2013 23:58:30, +0100, Kyle McMartin wrote: Hi Kyle, > fips mode needs to prevent unsigned modules from registering crypto > algorithms, and currently panics if an unsigned module is attempted to > be loaded. Instead, forbid (by returning -EINVAL) registering a crypto > alg or template

Re: [RFC PATCH] fips: check whether a module registering an alg or template is signed

2013-02-06 Thread Stephan Mueller
On 05.02.2013 23:58:30, +0100, Kyle McMartin k...@redhat.com wrote: Hi Kyle, fips mode needs to prevent unsigned modules from registering crypto algorithms, and currently panics if an unsigned module is attempted to be loaded. Instead, forbid (by returning -EINVAL) registering a crypto alg

Re: [RFC 2/2] initramfs with digital signature protection

2013-02-06 Thread Kasatkin, Dmitry
On Wed, Feb 6, 2013 at 7:04 AM, H. Peter Anvin h...@zytor.com wrote: On 02/05/2013 02:09 PM, Kasatkin, Dmitry wrote: It should not be like that. Actually when pre-init exits, cleanup code umount tmpfs, which in turn cleanups the RAM. It doesn't quite... the rootfs is permanent. This is

[PATCH 3/6] kvm tools: Rework stdio/stdout handling to support redirection

2013-02-06 Thread Michael Ellerman
Currently if you redirect the output from lkvm run to a file then term_init() will fail, because it can't call the terminal ioctls. So check if stdin and stdout are ttys, if either is not then skip the rest of the terminal setup. Redirecting one but not the other is a little odd, but does work.

[PATCH 4/6] kvm tools: powerpc: Fix buglet in xics_init() handling of nrcpus

2013-02-06 Thread Michael Ellerman
In xics_init() we set the maximum server to kvm-nrcpus, and then set the nr_servers using maximum server + 1. That is off by one, in the harmless direction. Simplify it to just set nr_servers = kvm-nrcpus. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- tools/kvm/powerpc/xics.c |

[PATCH 2/6] kvm tools: More error handling in the ipc code

2013-02-06 Thread Michael Ellerman
Add perror() calls to a couple of exit paths, to ease debugging. There are also two places where we print Failed starting IPC thread, but one is really an epoll failure, so make that obvious. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- tools/kvm/kvm-ipc.c | 17 +

[PATCH 1/6] kvm tools: Return error status in lkvm list

2013-02-06 Thread Michael Ellerman
Currently list always returns 0, even if there was an error. Instead have it accumulate any errors and return that. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- tools/kvm/builtin-list.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[PATCH 6/6] kvm tools: powerpc: Only emit TB freq if it's non-zero

2013-02-06 Thread Michael Ellerman
The kernel can handle a missing timebase-frequency property much better than one that claims zero. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- tools/kvm/powerpc/kvm.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/kvm/powerpc/kvm.c

[PATCH 5/6] kvm tools: powerpc: Add cpu info entry for POWER8

2013-02-06 Thread Michael Ellerman
We should hard-code less of this stuff, but for now this works. Signed-off-by: Michael Ellerman mich...@ellerman.id.au --- tools/kvm/powerpc/cpu_info.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c index

Re: [PATCH] kernel/events: using uninitialized variable: slots.flexible for arm cross-compiling

2013-02-06 Thread Chen Gang
oh, sorry, it is my fault, please skip this patch. gchen. 于 2013年02月06日 15:53, Chen Gang 写道: for arm cross-compiling, in function __reserve_bp_slot: slots.flexible may be used without initializing. slots.flexible is not initialized when define it. it is as a parameter

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread David Rientjes
On Tue, 5 Feb 2013, Shuah Khan wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 67bad4b..ed78400 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, static void

Re: [PATCH linux-next] x86/mm: Fix compile warning in remove_pagetable()

2013-02-06 Thread Tang Chen
On 02/06/2013 04:27 PM, David Rientjes wrote: On Tue, 5 Feb 2013, Shuah Khan wrote: diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 67bad4b..ed78400 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c @@ -987,7 +987,7 @@ remove_pud_table(pud_t *pud_start, unsigned

RE: [v4 PATCH 00/12] atmel spi controller with dmaengine and device tree support

2013-02-06 Thread Yang, Wenyou
Hello, Grant Thanks a lot for your feedback. -Original Message- From: Grant Likely [mailto:glik...@secretlab.ca] On Behalf Of Grant Likely Sent: 2013年2月5日 22:14 To: Yang, Wenyou; linux-arm-ker...@lists.infradead.org Cc: richard.gen...@gmail.com; Lin, JM; Ferre, Nicolas;

Re: linux-next: build failure after merge of the block tree

2013-02-06 Thread Jens Axboe
On Wed, Feb 06 2013, Stephen Rothwell wrote: Hi Jens, After merging the block tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/block/rsxx/core.c:322:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rsxx_pci_probe'

[PATCH 2/5] arcmsr: Support Hibernation

2013-02-06 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Support hibernation for whole series of RAID controllers Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- patch2 Description: Binary data

[PATCH 3/5] arcmsr: Support MSI and MSI-X

2013-02-06 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Support MSI or MSI-X for whole series of RAID controllers. Meanwhile correct the register access as iowrite32/ioread32 Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- patch3 Description: Binary data

Re: [PATCH 06/14] ARM: pci: Keep pci_common_init() around after init

2013-02-06 Thread Thomas Petazzoni
Dear Thierry Reding, On Wed, 9 Jan 2013 21:43:06 +0100, Thierry Reding wrote: When using deferred driver probing, PCI host controller drivers may actually require this function after the init stage. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Tested-by: Thomas Petazzoni

[PATCH 5/5] arcmsr: Modify ARC-1214 Inband Messages Behavior

2013-02-06 Thread NickCheng
From: Nick Cheng nick.ch...@areca.com.tw Modify ARC-1214 inband messages behavior to make up for HW seldom malfunction. Signed-off-by: Nick Cheng nick.ch...@areca.com.tw --- patch5 Description: Binary data

[PATCH] kernel: arg2 is unsigned long which is never 0

2013-02-06 Thread Chen Gang
arg2 will never 0, for its type is 'unsigned long' so delete the waste code. Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/sys.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sys.c b/kernel/sys.c index 24d1ef5..568b9ca 100644 ---

Re: [PATCH 1/2] sp5100_tco: Fix wrong indirect I/O access for getting value of reserved bits

2013-02-06 Thread Paul Menzel
Dear Wim, Am Mittwoch, den 30.01.2013, 20:19 +0100 schrieb Wim Van Sebroeck: In case of SB800 or later chipset and re-programming MMIO address(*), sp5100_tco module may read incorrect value of reserved bit, because the module reads a value from an incorrect I/O address. However, this

[PATCH] dmar: Zero out memory

2013-02-06 Thread Hannes Reinecke
kmemcheck complained about the use of uninitialized memory. So there. Cc: David Woodhouse dw...@infradead.org Signed-off-by: Hannes Reinecke h...@suse.de diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index 86e2f4a..2623a57 100644 --- a/drivers/iommu/dmar.c +++ b/drivers/iommu/dmar.c

[PATCH] usb: gadget: make usb functions to load before gadget driver

2013-02-06 Thread Kishon Vijay Abraham I
The current ordering in makefile makes gadget drivers to be loaded before usb functions making usb_get_function_instance() to fail when the modules are *built-in* the kernel. Changed the ordering here so that USB functions are loaded before gadget drivers. Signed-off-by: Kishon Vijay Abraham I

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