Re: [PATCH 1/1 linux-next] hpsa: remove set but unused variable rc

2014-10-29 Thread Sudip Mukherjee
On Wed, Oct 29, 2014 at 04:15:04PM +0100, Fabian Frederick wrote: > Fix -Wunused-but-set-variable warning you should also mention why you have left the call to irq_set_affinity_hint(). i am not sure , but it looks like irq_set_affinity_hint() is only checking if the lock is available or not. It

urgent respond needed

2014-10-29 Thread MUSA MOHAMED
Dear BROTHER SAALAMUALAIKUM I know that this message will come to you as a surprise. I Hope that you will not expose or betray this trust and confident that I am about to repose on you for the mutual benefit of our both families. I need your urgent assistance in received my money with united

Re: [PATCH] staging: skein: skein_api.c: removed space before ','

2014-10-29 Thread Sudip Mukherjee
On Wed, Oct 29, 2014 at 06:45:14PM +0100, Mikael Svantesson wrote: > Signed-off-by: Mikael Svantesson > --- better to send this as a new thread and start the subject as [PATCH v3] and also mention a commit message. thanks sudip > drivers/staging/skein/skein_api.c | 2 +- > 1 file changed, 1

[PATCH] fix a leak in bch_cached_dev_run()

2014-10-29 Thread Al Viro
Signed-off-by: Al Viro diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -878,8 +878,11 @@ void bch_cached_dev_run(struct cached_dev *dc) buf[SB_LABEL_SIZE] = '\0'; env[2] = kasprintf(GFP_KERNEL,

linux-next: Tree for Oct 30

2014-10-29 Thread Stephen Rothwell
Hi all, Changes since 20141029: The usb-gadget-fixes tree lost its build failure. The akpm-current tree gained a build failure for which I reverted a patch. Non-merge commits (relative to Linus' tree): 2612 2221 files changed, 70338 insertions(+), 68324 deletions

Re: [PATCH] staging: rtl8192e: from bus specific dma api to dma api

2014-10-29 Thread Sudip Mukherjee
On Wed, Oct 29, 2014 at 04:47:25PM +0800, Greg Kroah-Hartman wrote: > On Wed, Oct 22, 2014 at 02:24:46PM +0530, Sudip Mukherjee wrote: > > we should be using DMA API rather than using bus specific DMA API. > > Why? > as given in the DMA-API-HOWTO.txt : the DMA API works with any bus

Re: [PATCH v2 1/5] phy: berlin-sata: Move PHY_BASE into private data struct

2014-10-29 Thread Kishon Vijay Abraham I
On Tuesday 28 October 2014 12:02 AM, Sebastian Hesselbarth wrote: > On 10/27/2014 01:27 PM, Kishon Vijay Abraham I wrote: >> On Saturday 25 October 2014 01:55 AM, Felipe Balbi wrote: >>> On Fri, Oct 24, 2014 at 10:14:55PM +0200, Sebastian Hesselbarth wrote: On 21.10.2014 11:40, Sebastian

[PATCH] phy: phy-core: use the np present in of_phandle_args to get the PHY

2014-10-29 Thread Kishon Vijay Abraham I
Instead of using the node pointer of the PHY provider and then scanning its child nodes to get a reference to the PHY, directly use the node pointer present in of_phandle_args to get a reference to the PHY. Signed-off-by: Kishon Vijay Abraham I --- drivers/phy/phy-core.c |8 +--- 1 file

linux-next: build warning after merge of the akpm-current tree

2014-10-29 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/mm.h:52:0, from mm/gup.c:7: arch/arm/include/asm/pgtable.h:184:0: warning: "pgd_huge" redefined #define pgd_huge(pgd) (0) ^ In

Re: [PATCH] futex: fix a race condition between REQUEUE_PI and task death

2014-10-29 Thread Mike Galbraith
On Wed, 2014-10-29 at 21:28 -0700, Darren Hart wrote: > On Thu, Oct 23, 2014 at 03:28:07PM -0400, Brian Silverman wrote: > > Here's the test code: > > > > I want to say "Thanks!" and pull it into futextest... but destroying > filesystems > and BIOS errors?!? may not be ideal failure detection

Re: [PATCH v2] MAINTAINERS: drop list entry for davinci

2014-10-29 Thread Sekhar Nori
On Wednesday 29 October 2014 03:14 PM, Lad, Prabhakar wrote: > As davinci-linux-open-sou...@linux.davincidsp.com is now > shut and no more maintained by TI, drop this entry from > DAVINCI MACHINE SUPPORT and DAVINCI SERIES MEDIA DRIVER. > > Signed-off-by: Lad, Prabhakar > Cc: Sekhar Nori > Cc:

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-29 Thread Kishon Vijay Abraham I
On Thursday 30 October 2014 04:39 AM, Rabin Vincent wrote: > Unless I'm missing something, this patch appears to have still not been > picked up. It would be nice if it can go in for 3.18 so that we have > working USB on pandaboard again at least in that release. > > Tony, would you mind

[PATCH] mmc: Add a quirk for AMD SDHC transfer mode register need to be cleared for cmd without data

2014-10-29 Thread Vincent Wan
SDHC controller in AMD chipsets require SDHC transfer mode register to be cleared for commands without data. The issue was uncovered during testing eMMC cards on KB/ML based platforms. Signed-off-by: Vincent Wan Signed-off-by: Arindam Nath Tested-by: Vikram B Tested-by: Raghavendra Swamy

Re: [Patch Part2 v3 15/24] x86, MSI: Use hierarchy irqdomain to manage MSI interrupts

2014-10-29 Thread Jiang Liu
On 2014/10/29 17:19, Thomas Gleixner wrote: >> Hi Thomas, >> Thanks for your great suggestion and I have worked out a draft >> patch to achieve what you want:) >> I have made following changes to irq core to get rid of remapped >> irq logic from msi.c: >> 1) Add IRQ_SET_MASK_OK_DONE in

Re: [PATCH] mmc: dw_mmc: add a quirk for the defferent bit of sdio interrupt

2014-10-29 Thread Doug Anderson
Addy, On Wed, Oct 29, 2014 at 9:41 PM, Doug Anderson wrote: > You can avoid a lot of "if" tests if you just add a new "sdio->id" Whoops, I mean "slot->sdio_id" -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] backlight: use of_find_backlight_by_node stub when backlight class disabled

2014-10-29 Thread Jingoo Han
On Wednesday, October 29, 2014 9:20 AM, Heiko Stübner wrote: > > Drivers may want to search for an optional backlight even when the backlight > class is disabled. In this case the linker would miss the function referenced > in the backlight header. > > Therefore use the stub function also when

Re: UKSM: What's maintainers think about it?

2014-10-29 Thread Timofey Titovets
2014-10-30 6:19 GMT+03:00 Matt : > Hi Timofey, > Hi List, > don't forget to consider PKSM - it's supposed to be an improvement > over UKSM & KSM: > > http://www.phoronix.com/scan.php?page=news_item=MTM0OTQ > https://code.google.com/p/pksm/ > > Kind Regards > > Matt I can mistaking, as i know UKSM

Re: [PATCH] mmc: dw_mmc: add a quirk for the defferent bit of sdio interrupt

2014-10-29 Thread Doug Anderson
Addy, On Wed, Oct 29, 2014 at 7:21 PM, Addy Ke wrote: > --- a/drivers/mmc/host/dw_mmc.c > +++ b/drivers/mmc/host/dw_mmc.c > @@ -778,6 +778,12 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot, > bool force_clkinit) > u32 div; > u32 clk_en_a; > u32 sdmmc_cmd_bits =

Re: [LKP] [futex] 76835b0ebf8: -12.1% will-it-scale.per_process_ops

2014-10-29 Thread Darren Hart
On Mon, Oct 27, 2014 at 10:18:22AM +0800, kernel test robot wrote: > FYI, we noticed the below changes on > > commit 76835b0ebf8a7fe85beb03c75121419a7dec52f0 ("futex: Ensure > get_futex_key_refs() always implies a barrier") Wow, this is great information to get for free. Thanks Fengguang! --

Re: [RFA][PATCH 1/8] seq_file: Rename seq_overflow() to seq_has_overflowed() and make public

2014-10-29 Thread Joe Perches
On Wed, 2014-10-29 at 20:27 -0400, Steven Rostedt wrote: > On Wed, 29 Oct 2014 20:20:45 -0400 > Steven Rostedt wrote: > > I'll change the comment about that. > > How's this? Fine, but I think whether a function is inlined or not is largely irrelevant to functionality. cheers, Joe > Move the

Re: [PATCH] mmc: dw_mmc: add a quirk for the defferent bit of sdio interrupt

2014-10-29 Thread Jaehoon Chung
Hi, Addy. On 10/30/2014 11:21 AM, Addy Ke wrote: > This patch add a quirk: DW_MCI_QUIRK_SDIO_INT_24BIT. > > The bit of sdio interrupt is 16 in designware implementation, but > is 24 in RK3288. To support RK3288 mmc controller, we need add > a quirk for it. > > Signed-off-by: Addy Ke > --- >

Re: [PATCH] rtlwifi: Add more checks for get_btc_status callback

2014-10-29 Thread Larry Finger
On 10/29/2014 06:28 PM, Murilo Opsfelder Araujo wrote: This is a complement of commit 08054200117a95afc14c3d2ed3a38bf4e345bf78 "rtlwifi: Add check for get_btc_status callback". With this patch, next-20141029 at least does not panic with rtl8192se device. This patch is OK, bu

Re: [PATCH] futex: fix a race condition between REQUEUE_PI and task death

2014-10-29 Thread Darren Hart
On Thu, Oct 23, 2014 at 03:28:07PM -0400, Brian Silverman wrote: > Here's the test code: > I want to say "Thanks!" and pull it into futextest... but destroying filesystems and BIOS errors?!? may not be ideal failure detection modes. (Apologies for being so late to this particular party). --

Re: [PATCH] clk: rockchip: disable unused clocks

2014-10-29 Thread Doug Anderson
Kever, On Wed, Oct 29, 2014 at 6:10 PM, Kever Yang wrote: >>> I'll also say that when I applied this atop my local tree that USB >>> stopped working. I just see: >>> >>> [ 1647.626747] hub 2-1:1.0: hub_port_status failed (err = -110) >>> [ 1657.626746] hub 2-1:1.0: hub_port_status failed (err =

Re: [PATCH 00/12] Add kdbus implementation

2014-10-29 Thread Eric W. Biederman
The userspace API breaks userspace in an unfixable way. Nacked-by: "Eric W. Biederman" Problem the first. - Using global names for containers makes it impossible to create unprivileged containers. This is a back to the drawing board problem, and makes device nodes fundamentally unsuited

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Dan Williams
On Wed, Oct 29, 2014 at 8:28 PM, Martin K. Petersen wrote: > The next step was trying to map these hints into what was available in > xadvise(), NFS 4.2 and the recent T10/T13 efforts. That wasn't trivial > and there really isn't a 1:1 mapping that works. So I went to T10 and > tried to nudge

Re: [PATCH V2 06/15] genirq: Generic chip: Optimize for fixed-endian systems

2014-10-29 Thread Brian Norris
On Wed, Oct 29, 2014 at 07:17:59PM -0700, Kevin Cernekee wrote: > @@ -19,7 +20,14 @@ static DEFINE_RAW_SPINLOCK(gc_lock); > > static int is_big_endian(struct irq_chip_generic *gc) > { > - return !!(gc->domain->gc->gc_flags & IRQ_GC_BE_IO); > + if (IS_ENABLED(CONFIG_GENERIC_IRQ_CHIP) &&

Re: [PATCH 00/12] Add kdbus implementation

2014-10-29 Thread Eric W. Biederman
Greg KH writes: > On Wed, Oct 29, 2014 at 03:00:44PM -0700, Greg Kroah-Hartman wrote: >> kdbus is a kernel-level IPC implementation that aims for resemblance to >> the the protocol layer with the existing userspace D-Bus daemon while >> enabling some features that couldn't be implemented before

Re: [RFC] pinctrl: Provide a generic device tree binding for per-pin pin controllers

2014-10-29 Thread Stephen Warren
On 10/23/2014 07:23 AM, Sascha Hauer wrote: > Most iomux controllers allow a configuration per pin. These currently > have no common device tree binding. There are many different SoC > specific bindings for this class of iomux controllers. Some controllers > artificially group pins together where

[PATCH v2] mmc: atmel-mci: add runtime pm support

2014-10-29 Thread Wenyou Yang
Add runtime pm support to atmel mci controller. Use runtime pm APIs to enable/disable atmel mci's clock. Use runtime autosuspend APIs to enable auto suspend delay. Signed-off-by: Wenyou Yang --- Changes v1 -> v2: * Adjust the APIs and invoking sequence to avoid clock unbalance issue during

linux-next: build failure after merge of the akpm-current tree

2014-10-29 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: lib/show_mem.c: In function 'show_mem': lib/show_mem.c:43:45: error: 'totalcma_pages' undeclared (first use in this function) printk("%lu pages reserved\n", (reserved -

Re: kdbus: add code for buses, domains and endpoints

2014-10-29 Thread Eric W. Biederman
Greg Kroah-Hartman writes: The way capabilities are checked in this patch make me very nervous. We are not checking permissions at open time. Every other location of calling capable on file like objects has been show to be suceptible to file descriptor pass attacks. > See

Re: kdbus: add connection, queue handling and message validation code

2014-10-29 Thread Andy Lutomirski
On Wed, Oct 29, 2014 at 8:47 PM, Eric W. Biederman wrote: > Greg Kroah-Hartman writes: > >> From: Daniel Mack >> >> This patch adds code to create and destroy connections, to validate >> incoming messages and to maintain the queue of messages that are >> associated with a connection. >> >> Note

Re: kdbus: add driver skeleton, ioctl entry points and utility functions

2014-10-29 Thread Eric W. Biederman
Greg Kroah-Hartman writes: > From: Daniel Mack > > Add the basic driver structure. > > handle.c is the main ioctl command dispatcher that calls into other parts > of the driver. > > main.c contains the code that creates the initial domain at startup, and > util.c has utility functions such as

[PATCH net-next] r8152: set RTL8152_UNPLUG when finding -ENODEV

2014-10-29 Thread Hayes Wang
Set RTL8152_UNPLUG when finding -ENODEV. This could accelerate unloading the driver when the device is unplugged. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c

Milky LED BULBS Ceramic ceiling lamps LED FLOOD LIGHTS

2014-10-29 Thread LED Light
have a nice day,friend. Glad to know you are interested in LED bean gall ligh and ceiling light. We do all sorts of LED light Wholesale in china. If you need,we will offer you every model with competitive price and high quality. For more information,Please kindly visit our websit: jrs-LED.net

Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

2014-10-29 Thread Martin Kelly
On 10/29/2014 11:15 AM, Josh Triplett wrote: > Document several common practices and conventions regarding conditional > compilation, most notably the preference for ifdefs in headers rather > than .c files. > > Signed-off-by: Josh Triplett > --- > > I found myself explaining a few of these

RE: [PATCH] audio: sai: Add Power Management support

2014-10-29 Thread li.xi...@freescale.com
Hi, > -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] > On Behalf Of Mark Brown > Sent: Wednesday, October 29, 2014 7:37 PM > To: Wang Huan-B18965 > Cc: alsa-de...@alsa-project.org; ti...@suse.de; linux-kernel@vger.kernel.org; >

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Martin K. Petersen
> "Jens" == Jens Axboe writes: Jens> The problem with xadvise() is that it handles only one part of Jens> this - it handles the case of tying some sort of IO related Jens> priority information to an inode. It does not handle the case of Jens> different parts of the file, at least not without

Re: [PATCH 6/7] arm: mediatek: enable gpt6 on boot up to make arch timer working

2014-10-29 Thread Yingjoe Chen
Hi Matthias, On Mon, 2014-10-27 at 11:28 +0100, Matthias Brugger wrote: > Hi Joe, > > 2014-10-24 15:53 GMT+02:00 Yingjoe Chen : > > > > Hi Matthias, > > > > I didn't saw this in v3.18-rc1, are you working on version 2 of this? > > mt8135 and m8127 also need this fixup and we need this to have

[PATCH 2/3] dt-bindings: Add Reset Controller for MediaTek SoC

2014-10-29 Thread flora.fu
From: Flora Fu Add device tree bindings. Signed-off-by: Flora Fu --- .../devicetree/bindings/reset/mediatek,reset.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/mediatek,reset.txt diff --git

[PATCH 1/3] ARM: mediatek: Add Reset Controller for MediaTek SoC

2014-10-29 Thread flora.fu
From: Flora Fu Add a driver in reset controller. Signed-off-by: Flora Fu --- drivers/reset/Makefile| 1 + drivers/reset/reset-mtk.c | 149 ++ 2 files changed, 150 insertions(+) create mode 100644 drivers/reset/reset-mtk.c diff --git

[PATCH 3/3] ARM: dts: mt8135: Add Reset Controller for MediaTek SoC

2014-10-29 Thread flora.fu
From: Flora Fu Add reset controller to MT8135 board dts. Signed-off-by: Flora Fu --- arch/arm/boot/dts/mt8135.dtsi | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi index 90a56ad..0b1ddc9 100644 ---

Re: UKSM: What's maintainers think about it?

2014-10-29 Thread Matt
Hi Timofey, Hi List, don't forget to consider PKSM - it's supposed to be an improvement over UKSM & KSM: http://www.phoronix.com/scan.php?page=news_item=MTM0OTQ https://code.google.com/p/pksm/ Kind Regards Matt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH 0/3] Add Reset Controller for MediaTek SoC

2014-10-29 Thread flora.fu
This driver is based on 3.18-rc1. . This series adds support generic reset controller for MediaTek SoC. Reset registers contain several bytes and each bit is able to reset individual module in SoC. - Patch 1/3: Add a driver in reset controller - Patch 2/3: Add device tree bindings - Patch

[PATCH v2] PM / Sleep: Timer quiesce in freeze state

2014-10-29 Thread Li, Aubrey
The patch is based on v3.17, merged with Rafael's pm+acpi-3.18-rc1 tag from linux-pm.git tree. The patch is based on the patch PeterZ initially wrote. --- Freeze is a general power saving state that processes are frozen, devices are suspended and CPUs are in idle state. However, when the system

Re: [PATCH 00/33] thermal: exynos: convert the driver to use per-SoC type operations

2014-10-29 Thread Eduardo Valentin
Bartlomiej, On Thu, Sep 18, 2014 at 05:27:17PM +0200, Bartlomiej Zolnierkiewicz wrote: > Hi, > > This patch series replaces the hardware registers abstractions in > the Exynos thermal driver by the usage of per-SoC type operations. > Such solution provides simpler, easier to understand code and

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Jens Axboe
On 2014-10-29 20:05, Martin K. Petersen wrote: "Jason" == Jason B Akers writes: Jason> The following series enables the use of Solid State hybrid drives Jason> ATA standard 3.2 defines the hybrid information feature, which Jason> provides a means for the host driver to provide hints to the

Re: [PATCH v3 1/2] mtd: hisilicon: add a new NAND controller driver for hisilicon hip04 Soc

2014-10-29 Thread Zhou Wang
On 2014年10月28日 22:22, Frans Klaver wrote: On Tue, Oct 28, 2014 at 11:53 AM, Zhou Wang wrote: + +static int hisi_nfc_probe(struct platform_device *pdev) +{ + int ret = 0, irq, buswidth, flag, max_chips = HINFC504_MAX_CHIP; + struct device *dev = >dev; + struct hinfc_host

Re: [PATCH 00/12] Add kdbus implementation

2014-10-29 Thread Andy Lutomirski
On Wed, Oct 29, 2014 at 3:27 PM, Greg Kroah-Hartman wrote: > On Wed, Oct 29, 2014 at 03:15:51PM -0700, Andy Lutomirski wrote: >> (reply 1/2 -- I'm replying twice to keep the threading sane) >> >> On Wed, Oct 29, 2014 at 3:00 PM, Greg Kroah-Hartman >> wrote: >> > kdbus is a kernel-level IPC

[PATCH V2 01/15] irqchip: Replace irq_reg_{readl,writel} with {readl,writel}

2014-10-29 Thread Kevin Cernekee
Nobody is overriding these definitions anyway, so get rid of the wrappers. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-atmel-aic.c | 40 - drivers/irqchip/irq-atmel-aic5.c | 65 +++- drivers/irqchip/irq-sunxi-nmi.c | 4 +--

Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

2014-10-29 Thread Josh Triplett
On Wed, Oct 29, 2014 at 05:35:02PM -0700, Randy Dunlap wrote: > On 10/29/14 12:12, Geert Uytterhoeven wrote: > > On Wed, Oct 29, 2014 at 7:15 PM, Josh Triplett > > wrote: > >> Document several common practices and conventions regarding conditional > >> compilation, most notably the preference

[PATCH V2 02/15] sh: Eliminate unused irq_reg_{readl,writel} accessors

2014-10-29 Thread Kevin Cernekee
Defining these macros way down in arch/sh/.../irq.c doesn't cause kernel/irq/generic-chip.c to use them. As far as I can tell this code has no effect. Signed-off-by: Kevin Cernekee --- arch/sh/boards/mach-se/7343/irq.c | 3 --- arch/sh/boards/mach-se/7722/irq.c | 3 --- 2 files changed, 6

[PATCH] staging: android: logger: fix kuid/uid in logger_entry

2014-10-29 Thread Xiong Zhou
From: Xiong Zhou struct logger_entry can be returned to userspace via ioctl, so it is wrong to have a kuid_t member, fixing it to uid_t. This was introduced by commit bd471258f2, to pass uidguid type checks : UIDGID_STRICT_TYPE_CHECKS, which has been removed from kernel in commit 261000a56b6.

[PATCH V2 03/15] genirq: Generic chip: Move irq_reg_{readl,writel} accessors into generic-chip.c

2014-10-29 Thread Kevin Cernekee
This allows us to implement per-irqchip behavior when necessary, instead of hardcoding the behavior for all irqchip drivers at compile time. Signed-off-by: Kevin Cernekee --- include/linux/irq.h | 7 --- kernel/irq/generic-chip.c | 10 ++ 2 files changed, 10 insertions(+), 7

[PATCH V2 05/15] genirq: Generic chip: Add big endian I/O accessors

2014-10-29 Thread Kevin Cernekee
Use io{read,write}32be if the caller specified IRQ_GC_BE_IO when creating the irqchip. Signed-off-by: Kevin Cernekee --- include/linux/irq.h | 1 + kernel/irq/generic-chip.c | 15 +-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/include/linux/irq.h

[PATCH V2 07/15] irqchip: brcmstb-l2: Eliminate dependency on ARM code

2014-10-29 Thread Kevin Cernekee
The irq-brcmstb-l2 driver has a single dependency on the ARM code, the do_bad_IRQ macro. Expand this macro in-place so that the driver can be built on non-ARM platforms. Signed-off-by: Kevin Cernekee Acked-by: Arnd Bergmann Acked-by: Florian Fainelli --- drivers/irqchip/irq-brcmstb-l2.c | 7

[PATCH V2 08/15] irqchip: bcm7120-l2: Eliminate bad IRQ check

2014-10-29 Thread Kevin Cernekee
This check may be prone to race conditions, e.g. 1) Some external event (e.g. GPIO level) causes an IRQ to become pending 2) Peripheral asserts the L2 IRQ 3) CPU takes an interrupt 4) The event from #1 goes away 5) bcm7120_l2_intc_irq_handle() reads back a 0 status Unlike the hardware supported

[PATCH V2 09/15] irqchip: Remove ARM dependency for bcm7120-l2 and brcmstb-l2

2014-10-29 Thread Kevin Cernekee
This can compile for MIPS (or anything else) now. Signed-off-by: Kevin Cernekee Acked-by: Arnd Bergmann Acked-by: Florian Fainelli --- drivers/irqchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index b21f12f..09c79d1 100644 ---

[PATCH] mmc: dw_mmc: add a quirk for the defferent bit of sdio interrupt

2014-10-29 Thread Addy Ke
This patch add a quirk: DW_MCI_QUIRK_SDIO_INT_24BIT. The bit of sdio interrupt is 16 in designware implementation, but is 24 in RK3288. To support RK3288 mmc controller, we need add a quirk for it. Signed-off-by: Addy Ke --- drivers/mmc/host/dw_mmc.c | 32 +++-

[PATCH V2 11/15] irqchip: bcm7120-l2: Fix missing nibble in gc->unused mask

2014-10-29 Thread Kevin Cernekee
This mask should have been 0x_, not 0x0fff_. The change should not have an effect on current users (STB) because bits 31:27 are unused. Signed-off-by: Kevin Cernekee Acked-by: Arnd Bergmann Acked-by: Florian Fainelli --- drivers/irqchip/irq-bcm7120-l2.c | 2 +- 1 file changed, 1

[PATCH V2 12/15] irqchip: bcm7120-l2: Use gc->mask_cache to simplify suspend/resume functions

2014-10-29 Thread Kevin Cernekee
The cached value already incorporates irq_fwd_mask, and was saved the last time an IRQ was enabled/disabled. Signed-off-by: Kevin Cernekee Acked-by: Florian Fainelli --- drivers/irqchip/irq-bcm7120-l2.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git

[PATCH V2 14/15] irqchip: Decouple bcm7120-l2 from brcmstb-l2

2014-10-29 Thread Kevin Cernekee
Some chips, such as BCM6328, only require the former driver. Some BCM7xxx STB configurations only require the latter driver. Treat them as two separate entities, and update the mach-bcm dependencies to reflect the change. Signed-off-by: Kevin Cernekee Acked-by: Arnd Bergmann Acked-by: Florian

[PATCH V2 13/15] irqchip: bcm7120-l2: Extend driver to support 64+ bit controllers

2014-10-29 Thread Kevin Cernekee
Most implementations of the bcm7120-l2 controller only have a single 32-bit enable word + 32-bit status word. But some instances have added more enable/status pairs in order to support 64+ IRQs (which are all ORed into one parent IRQ input). Make the following changes to allow the driver to

[PATCH V2 15/15] irqchip: bcm7120-l2: Enable big endian register accesses on BE kernels

2014-10-29 Thread Kevin Cernekee
On all supported SoCs, the kernel will be built with CONFIG_CPU_BIG_ENDIAN iff the CPU is running in BE mode. Leverage this fact to autodetect the MMIO byte ordering to use in generic-chip.c. Signed-off-by: Kevin Cernekee --- drivers/irqchip/Kconfig | 2 ++

[PATCH V2 04/15] genirq: Generic chip: Change irq_reg_{readl,writel} arguments

2014-10-29 Thread Kevin Cernekee
Instead of taking a raw register virtual address, we will take an irq_chip_generic struct and a register offset. This makes it possible to implement different behavior on different irqchips. Signed-off-by: Kevin Cernekee --- kernel/irq/generic-chip.c | 30 -- 1 file

[PATCH V2 06/15] genirq: Generic chip: Optimize for fixed-endian systems

2014-10-29 Thread Kevin Cernekee
Allow the compiler to inline an LE MMIO access if the configuration only supports LE registers, or a BE MMIO access if the configuration only supports BE registers. If the configuration supports both (possibly a multiplatform kernel) then make the decision at runtime. Signed-off-by: Kevin

[PATCH V2 10/15] irqchip: bcm7120-l2: Make sure all register accesses use base+offset

2014-10-29 Thread Kevin Cernekee
A couple of accesses to IRQEN (base+0x00) just used "base" directly, so they would break if IRQEN ever became nonzero. Make sure that all reads/writes specify the register offset constant. Signed-off-by: Kevin Cernekee Acked-by: Florian Fainelli --- drivers/irqchip/irq-bcm7120-l2.c | 6 +++---

[PATCH V2 00/15] genirq endian fixes; bcm7120/brcmstb IRQ updates

2014-10-29 Thread Kevin Cernekee
I don't know if this will make everyone 100% happy but hopefully we're inching slightly closer to a solution... V1->V2: - Rework big endian support per the discussion on the list - Get rid of the global compile-time irq_reg_{readl,writel} accessors and make them private to generic-chip.c,

[PATCH v2] devres: Improve grp->id setting logics in devres_open_group()

2014-10-29 Thread Liu Ying
Instead of setting grp->id directly with a temporary value and then changing it if a certain condition meets, we may check the condition first and then decide which value should be set to grp->id. This may save two lines of code and potentially reduces a writing operation. Signed-off-by: Liu

Re: [PATCH] Bluetooth: Revert "Bluetooth: rfcomm: Remove unnecessary krfcommd event"

2014-10-29 Thread Peter Hurley
Hi Sasha, On 10/29/2014 09:32 PM, Sasha Levin wrote: > This reverts commit e5842cdb0f4f2c68f6acd39e286e5d10d8c073e8. > > We can't call rfcomm_process_sessions() while our task state is not > TASK_RUNNING since rfcomm_process_sessions() tries to lock mutexes > and sleep. The scheduler even

Re: [RFC PATCH 0/5] Enable use of Solid State Hybrid Drives

2014-10-29 Thread Martin K. Petersen
> "Jason" == Jason B Akers writes: Jason> The following series enables the use of Solid State hybrid drives Jason> ATA standard 3.2 defines the hybrid information feature, which Jason> provides a means for the host driver to provide hints to the Jason> SSHDs to guide what to place on the

Re: [PATCH] idr: optimize ida_init() to avoid an extra memset

2014-10-29 Thread Lai Jiangshan
On 10/29/2014 10:38 PM, Tejun Heo wrote: > On Wed, Oct 29, 2014 at 05:26:34PM +0800, pang.xun...@zte.com.cn wrote: >> The memset in ida_init() already handles idr, so there's some >> redundancy in the following idr_init(). >> >> This patch removes the memset, and clears ida->free_bitmap instead.

RE: [PATCH V2] Driver cpu: update online when cpu_up/down besides sysfs

2014-10-29 Thread Neil Zhang
Dan, > -Original Message- > From: ddstr...@gmail.com [mailto:ddstr...@gmail.com] On Behalf Of Dan > Streetman > Sent: 2014年10月30日 5:52 > To: Rafael J. Wysocki > Cc: Rafael J. Wysocki; Neil Zhang; linux-kernel; Greg Kroah-Hartman; > nf...@linux.vnet.ibm.com > Subject: Re: [PATCH V2] Driver

RE: [PATCH V2] Driver cpu: update online when cpu_up/down besides sysfs

2014-10-29 Thread Neil Zhang
Rafael, > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: 2014年10月30日 5:47 > To: Dan Streetman > Cc: Rafael J. Wysocki; Neil Zhang; linux-kernel; Greg Kroah-Hartman; > nf...@linux.vnet.ibm.com > Subject: Re: [PATCH V2] Driver cpu: update online when

Re: [PATCH] mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips

2014-10-29 Thread Brian Norris
On Thu, Oct 23, 2014 at 01:23:01AM +0200, Andrea Adami wrote: > After '#echo mem > /sys/power/state' some devices can not be properly resumed > because apparently the MTD Partition Configuration Register has been reset > to default thus the rootfs cannot be mounted cleanly on resume. > An example

Re: [PATCH] mtd: cfi_cmdset_0001.c: fix resume for LH28F640BF chips

2014-10-29 Thread Brian Norris
On Thu, Oct 30, 2014 at 12:45:36AM +0100, Andrea Adami wrote: > If you don't see more issues I'd resend the patch adding the initial From:. I think everything else looks good, so I'll just modify the 'From' myself this time. Brian -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] MIPS: DMA: fix coherent alloc in non-coherent systems

2014-10-29 Thread Leonid Yegoshin
A default dma_alloc_coherent() fails to alloc a coherent memory on non-coherent systems in case of device->coherent_dma_mask covering the whole memory space. In case of non-coherent systems the coherent memory on MIPS is restricted by size of un-cachable segment and should be located in ZONE_DMA.

[PATCH] tty: serial: msm: Reset uartdm after baud rate change

2014-10-29 Thread Stephen Boyd
We need to issue a reset if we ever change the value of the IPR register on DM hardware. If we don't reset the hardware the RX stale interrupt never triggers and the only way to trigger an RX handling event is by filling up the fifo. This causes things like getty to not work so well considering it

[PATCH] mm: initialize variable for mem_cgroup_end_page_stat

2014-10-29 Thread Sasha Levin
Commit "mm: memcontrol: fix missed end-writeback page accounting" has changed the behaviour of mem_cgroup_begin_page_stat() to not always set the "locked" parameter. We should initialize it at the callers to prevent garbage being used in a later call to mem_cgroup_end_page_stat(). Signed-off-by:

Re: [PATCH] platform: hp_accel: add a i8042 filter to remove HPQ6000 data from kb bus stream

2014-10-29 Thread Darren Hart
On Wed, Oct 29, 2014 at 09:16:22PM +0200, Giedrius Statkevicius wrote: > Add a i8042 filter to hp_accel to remove accelerometer's data with acpi > id HPQ6000 from keyboard bus stream. The codes sent by accelerometer are > e0 25, e0 26, e0 27 and e0 28. The relevant information is already > passed

Re: non-Multiplatform APE6EVM broken in v3.18-rc1

2014-10-29 Thread Simon Horman
On Wed, Oct 29, 2014 at 06:05:03PM +0900, Simon Horman wrote: > On Wed, Oct 29, 2014 at 09:13:11AM +0100, Geert Uytterhoeven wrote: > > On Wed, Oct 29, 2014 at 3:08 AM, Simon Horman wrote: > > > On Wed, Oct 29, 2014 at 09:12:58AM +0900, Simon Horman wrote: > > >> On Tue, Oct 28, 2014 at

[PATCH] Bluetooth: Revert "Bluetooth: rfcomm: Remove unnecessary krfcommd event"

2014-10-29 Thread Sasha Levin
-20141029-sasha-00035-gd14bbcb-dirty #1425 [ 21.683969] ae2b4d0e 8805c0b23c00 8805c0b23b98 [ 21.683972] ad010b76 8805c0b23bf8 8805c0b23be8 [ 21.683975] a3298dd8 ad0a0910 a3309f95 8805c0b23bc8

Re: incompatible pci sysfs change since 3.12 (5136b2da770d)

2014-10-29 Thread Jeff Epler
On Wed, Oct 29, 2014 at 05:36:57PM -0700, Greg Kroah-Hartman wrote: > Ugh, that's my fault, I made a typo and should not have renamed the > sysfs file, very sorry about that. > > I'll work on making up a patch to fix this and get it into the stable > kernels so that you don't have to have a

RE: [PATCH] mmc: atmel-mci: add pm runtime support

2014-10-29 Thread Yang, Wenyou
Hello Ulf, Thank you very much for so many comments. I will do it. > -Original Message- > From: Ulf Hansson [mailto:ulf.hans...@linaro.org] > Sent: Wednesday, October 29, 2014 6:06 PM > To: Yang, Wenyou > Cc: Chris Ball; Kevin Hilman; Ferre, Nicolas; Desroches, Ludovic; linux-mmc; >

We can do this Investment

2014-10-29 Thread Mrs Rebecca Garang
Hello dear Friend May I ask if you would be eligible to pursue a Business investment of US$57.3m with me in your country, if you dont mind? (Let me know if you are interested For more details, Email: ru_garang...@mail.com). Thank you. Regards, Ms. Rebecca Garang -- To unsubscribe from this

Re: [PATCH] clk: rockchip: disable unused clocks

2014-10-29 Thread Kever Yang
Hi On 10/30/2014 05:53 AM, Heiko Stübner wrote: Am Mittwoch, 29. Oktober 2014, 13:50:20 schrieb Doug Anderson: Kever, On Wed, Oct 29, 2014 at 3:06 AM, Kever Yang wrote: The rockchip clock driver use CLK_IGNORE_UNUSED flag to make sure all the clocks are available like default power on

[PATCH] staging: octeon-ethernet: disable load balance for receiving packet when CONFIG_RPS is enabled.

2014-10-29 Thread Eunbong Song
It's better disable load balance for receiving packet when CONFIG_RPS is enabled. If not, octeon-ethernet driver select CPU and then the rps select again CPU. It can be ipi interrupts overhead and packet reordering could be possible. Signed-off-by: Eunbong Song ---

Re: [RFA][PATCH 2/8] netfilter: Remove return values for print_conntrack callbacks

2014-10-29 Thread Steven Rostedt
On Wed, 29 Oct 2014 23:16:01 +0100 Florian Westphal wrote: > Steven Rostedt wrote: > > From: "Steven Rostedt (Red Hat)" > > > > [ REQUEST FOR ACKS ] > > > > The seq_printf() and friends are having their return values removed. > > The print_conntrack() returns the result of seq_printf(),

Re: [PATCH] mm/balloon_compaction: fix deflation when compaction is disabled

2014-10-29 Thread Matt Mullins
On Wed, Oct 29, 2014 at 02:51:07PM +0400, Konstantin Khlebnikov wrote: > Fix for commit d6d86c0a7f8ddc5b38cf089222cb1d9540762dc2 > ("mm/balloon_compaction: redesign ballooned pages management"). > > If CONFIG_BALLOON_COMPACTION=n balloon_page_insert() does not link > pages with balloon and

RE: [PATCH 1/2 v3] SPI: spi-pxa2xx: Add helpers for regiseters' accessing

2014-10-29 Thread Chen, Alvin
> > > > Hi Alvin, Weike. > > I'm not clear if these patches apply to the current tip-of-tree. > > I thought the action required here, was for a resend of patches to ensure they > applied to tip-of-tree ? > As I said before, it is based on the slave-dma tree (git.infraded.org) for-linus

Re: [RFC 0/6] mm, x86: New special mapping ops

2014-10-29 Thread Andy Lutomirski
On Wed, Oct 29, 2014 at 5:42 PM, Andy Lutomirski wrote: > This is an attempt to make the core special mapping infrastructure > track what arch vdso code needs better than it currently does. It > adds: > > .start_addr_set: A callback to notify arch code that a special mapping > was mremapped.

Re: [PATCH 8/8] eeepc-laptop: don't assume get_acpi succeeds

2014-10-29 Thread Darren Hart
On Tue, Oct 28, 2014 at 09:09:03AM +0100, Frans Klaver wrote: > On Tue, Oct 28, 2014 at 6:34 AM, Darren Hart wrote: > > On Wed, Oct 22, 2014 at 09:12:43PM +0200, Frans Klaver wrote: > >> In eeepc_hotk_thaw, we assume that get_acpi() will effectively return a > >> bool. However, it is possible

[PATCH v3] cdc-acm: ensure that termios get set when the port is activated

2014-10-29 Thread Jim Paris
The driver wasn't properly configuring the hardware for the current termios settings under all conditions. Ensure that termios are written to the device when the port is activated. Signed-off-by: Jim Paris --- Switched to Johan's suggestion of using a prototype rather than moving

Re: Machine crashes right *after* ~successful resume

2014-10-29 Thread Yinghai Lu
On Wed, Oct 29, 2014 at 2:37 AM, Wilmer van der Gaast wrote: > >> Anyway please try attached patched on top of 3.17. >> > Done, and that did work! Four suspend+resume cycles later and it's still > stable. Then can you test attached simplified one. --- drivers/pci/pci.c | 13 + 1

[RFC 3/6] mm: Add a vm_special_mapping .fault method

2014-10-29 Thread Andy Lutomirski
Requiring special mappings to give a list of struct pages is inflexible: it prevents sane use of IO memory in a special mapping, it's inefficient (it requires arch code to initialize a list of struct pages, and it requires the mm core to walk the entire list just to figure out how long it is), and

[RFC 6/6] x86,vdso: Use .fault for the vdso text mapping

2014-10-29 Thread Andy Lutomirski
The old scheme for mapping the vdso text is rather complicated. vdso2c generates a struct vm_special_mapping and a blank .pages array of the correct size for each vdso image. Init code in vdso/vma.c populates the .pages array for each vdso image, and the mapping code selects the appropriate

[RFC 5/6] x86,vdso: Use .fault instead of remap_pfn_range for the vvar mapping

2014-10-29 Thread Andy Lutomirski
This is IMO much less ugly, and it also opens the door to disallowing unprivileged userspace HPET access on systems with usable TSCs. Signed-off-by: Andy Lutomirski --- arch/x86/vdso/vma.c | 68 + 1 file changed, 42 insertions(+), 26

[RFC 4/6] mm: Add vm_insert_pfn_prot

2014-10-29 Thread Andy Lutomirski
The x86 vvar mapping contains pages with differing cacheability flags. This is currently only supported using (io_)remap_pfn_range, but those functions can't be used inside page faults. Add vm_insert_pfn_prot to support varying cacheability within the same non-COW VMA in a more sane manner. x86

[RFC 2/6] x86,vdso: Use special mapping tracking for the vdso

2014-10-29 Thread Andy Lutomirski
This should give full support for mremap on the vdso except for sysenter return. It will also enable future vvar twiddling on already-started processes. Signed-off-by: Andy Lutomirski --- arch/x86/ia32/ia32_signal.c | 11 --- arch/x86/include/asm/elf.h | 26 -

  1   2   3   4   5   6   7   8   9   10   >