Re: [PATCH 21/24] irqchip: mips-gic: Support local interrupts

2014-09-17 Thread Qais Yousef
On 09/17/2014 06:40 PM, Andrew Bresticker wrote: On Wed, Sep 17, 2014 at 2:50 AM, Qais Yousef wrote: On 09/16/2014 12:51 AM, Andrew Bresticker wrote: The MIPS GIC supports 7 local interrupts, 2 of which are the GIC local watchdog and count/compare timer. The remainder are CPU interrupts which

Re: [PATCH 2/2] ARM: dts: Add rtc_src clk for s3c-rtc on exynos5250-snow

2014-09-17 Thread Javier Martinez Canillas
Hello Doug, Andreas, On 09/17/2014 05:47 PM, Doug Anderson wrote: >> >> rtc@101E { >> status = "okay"; >> + clocks = <&clock CLK_RTC>, <&max77686 MAX77686_CLK_AP>; >> + clock-names = "rtc", "rtc_src"; > > Wait, seriously? Snow is still usin

[PATCH] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-09-17 Thread micky_ching
From: Micky Ching Fix rts5227&5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fail. Signed-off-by: Micky Ching --- drivers/mfd/Makefile |2 +- drivers/mfd/rts5227.c

RE: [PATCH Resend] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-17 Thread Wang, Yalin
This patch extends the start and end address of initrd to be page aligned, so that we can free all memory including the un-page aligned head or tail page of initrd, if the start or end address of initrd are not page aligned, the page can't be freed by free_initrd_mem() function. Signed-off-by: Yal

linux-next: Tree for Sep 18

2014-09-17 Thread Stephen Rothwell
Hi all, Changes since 20140917: The net tree lost its build failure. The fsl tree gained a build failure so I used the version from next-20140917. The v4l-dvb tree still had its build failure so I used the version from next-20140908. The kvm-arm tree gained a conflict against the kvm tree

Re: [PATCH] mmc: don't request CD IRQ until mmc_start_host()

2014-09-17 Thread Adrian Hunter
On 09/18/2014 08:25 AM, Adrian Hunter wrote: > On 09/17/2014 10:57 PM, Stephen Warren wrote: >> On 09/17/2014 01:55 PM, Ulf Hansson wrote: >>> On 12 September 2014 19:18, Stephen Warren wrote: From: Stephen Warren As soon as the CD IRQ is requested, it can trigger, since it's an >>

Re: [RFC] memory cgroup: weak points of kmem accounting design

2014-09-17 Thread Greg Thelen
On Tue, Sep 16 2014, Vladimir Davydov wrote: > Hi Suleiman, > > On Mon, Sep 15, 2014 at 12:13:33PM -0700, Suleiman Souhlal wrote: >> On Mon, Sep 15, 2014 at 3:44 AM, Vladimir Davydov >> wrote: >> > Hi, >> > >> > I'd like to discuss downsides of the kmem accounting part of the memory >> > cgroup

[PATCH] asm/uapi: Add definition of TIOC[SG]RS485

2014-09-17 Thread Ricardo Ribalda Delgado
Commit: e676253b19b2d269cccf67fdb1592120a0cd0676 (serial/8250: Add support for RS485 IOCTLs), adds support for RS485 ioctls for 825_core on all the archs. Unfortunaltely the definition of TIOCSRS485 and TIOCGRS485 was missing on the ioctls.h file Reported-by: Guenter Roeck Signed-off-by: Ricardo

Re: [PATCH v13 net-next 07/11] bpf: verifier (add ability to receive verification log)

2014-09-17 Thread Daniel Borkmann
On 09/18/2014 01:45 AM, Alexei Starovoitov wrote: On Wed, Sep 17, 2014 at 12:37 PM, Alexei Starovoitov wrote: Hm, thinking out loudly ... perhaps this could be made a library problem. Such that the library which wraps the syscall needs to be aware of a marker where the initial version ends, a

Re: [PATCH] mtd: denali: fix include guard and license block of denali.h

2014-09-17 Thread Brian Norris
On Fri, Aug 29, 2014 at 08:00:51PM +0900, Masahiro Yamada wrote: > It looks like this header file is a concatenation of two headers. > Anyway, the include guard should be renamed and placed at the correct > postion and the license block in the middle should be deleted. > > Signed-off-by: Masahiro

RE: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-17 Thread li.xi...@freescale.com
Hi Pankaj, One more question: For example: regmap_read() > _regmap_read() > 2112 #ifdef LOG_DEVICE > 2113 if (strcmp(dev_name(map->dev), LOG_DEVICE) == 0) > 2114 dev_info(map->dev, "%x => %x\n", reg, *val);

Re: [PATCH] [trivial] treewide: Fix typos in Kconfig

2014-09-17 Thread Randy Dunlap
On 09/17/14 20:09, Masanari Iida wrote: > This patch fix spelling typos found in Kconfig. > > Signed-off-by: Masanari Iida Acked-by: Randy Dunlap Thanks. > --- > arch/blackfin/Kconfig | 2 +- > arch/mips/cavium-octeon/Kconfig | 2 +- > drivers/i2c/busses/Kconfig | 2 +- > driv

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-17 Thread Dave Hansen
On 09/18/2014 12:17 AM, Kevin Easton wrote: > I was assuming that if an application did want to enable MPX after threads > had already been created, it would generally want to enable it > simultaneously across all threads. This would be a lot easier for the > kernel than for the application. The

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-17 Thread Kevin Easton
On Wed, Sep 17, 2014 at 09:43:09PM -0700, Dave Hansen wrote: > On 09/17/2014 08:23 PM, Kevin Easton wrote: > > I was actually thinking that the kernel would take care of the xsave / > > xrstor (for current), updating tsk->thread.fpu.state (for non-running > > threads) and sending an IPI for thread

Re: [PATCH v2] kvm: Faults which trigger IO release the mmap_sem

2014-09-17 Thread Gleb Natapov
On Wed, Sep 17, 2014 at 10:51:48AM -0700, Andres Lagar-Cavilla wrote: > When KVM handles a tdp fault it uses FOLL_NOWAIT. If the guest memory > has been swapped out or is behind a filemap, this will trigger async > readahead and return immediately. The rationale is that KVM will kick > back the gue

Re: [RFC Part2 v1 02/21] genirq: Introduce helper functions to support stacked irq_chip

2014-09-17 Thread Jiang Liu
On 2014/9/18 4:58, Thomas Gleixner wrote: > On Wed, 17 Sep 2014, Jiang Liu wrote: >> On 2014/9/17 1:45, Thomas Gleixner wrote: >>> On Thu, 11 Sep 2014, Jiang Liu wrote: +#ifdefCONFIG_IRQ_DOMAIN_HIERARCHY +void irq_chip_ack_parent(struct irq_data *data) +{ + data = data->p

Re: [PATCH v2] kvm: Faults which trigger IO release the mmap_sem

2014-09-17 Thread Gleb Natapov
On Thu, Sep 18, 2014 at 08:29:17AM +0800, Wanpeng Li wrote: > Hi Andres, > On Wed, Sep 17, 2014 at 10:51:48AM -0700, Andres Lagar-Cavilla wrote: > [...] > > static inline int check_user_page_hwpoison(unsigned long addr) > > { > > int rc, flags = FOLL_TOUCH | FOLL_HWPOISON | FOLL_WRITE; > >@@ -1

RE: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-17 Thread Pankaj Dubey
Hi, Adding CC to Xiubo Li, Geert Uytterhoeven and Stephen Warren. On Thursday, September 18, 2014, Dong Aisheng wrote, > On Wed, Sep 17, 2014 at 04:50:50PM +0530, Pankaj Dubey wrote: > > Hi, > > > > On Wednesday, September 17, 2014, Dong Aisheng Wrote, > > > > > > > > + regmap = regmap_ini

Re: [PATCH] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-17 Thread Uwe Kleine-König
Hello, just some commit log nit picking: $Subject ~= s/mrmory/memory/ And also "ARM: " is the more typical prefix. Don't know if there is a best practice for patches touching both arm and arm64. (But assuming this will go through Russell's patch tracker this doesn't matter much.) On Thu, Sep 18

[PATCH 1/3] f2fs: update i_size when __allocate_data_block

2014-09-17 Thread Jaegeuk Kim
The f2fs_direct_IO uses __allocate_data_block, but inside the allocation path, we should update i_size at the changed time to update its inode page. Otherwise, we can get wrong i_size after roll-forward recovery. Signed-off-by: Jaegeuk Kim --- fs/f2fs/data.c | 8 1 file changed, 8 inser

[PATCH 3/3] f2fs: use more free segments until SSR is activated

2014-09-17 Thread Jaegeuk Kim
Previously, f2fs activates SSR if the # of free segments reaches to the # of overprovisioned segments. In this case, SSR starts to use dirty segments only, so that the overprovisoned space cannot be selected for new data. This means that we have no chance to utilizae the overprovisioned space at al

[PATCH 2/3] f2fs: change the ipu_policy option to enable combinations

2014-09-17 Thread Jaegeuk Kim
This patch changes the ipu_policy setting to use any combination of orthogonal policies. Signed-off-by: Changman Lee Signed-off-by: Jaegeuk Kim --- Documentation/filesystems/f2fs.txt | 6 +++--- fs/f2fs/segment.c | 2 +- fs/f2fs/segment.h | 39 ++

[PATCH 1/3] f2fs: introduce a flag to represent each nat entry information

2014-09-17 Thread Jaegeuk Kim
This patch introduces a flag in the nat entry structure to merge various information such as checkpointed and fsync_done marks. Signed-off-by: Jaegeuk Kim --- fs/f2fs/node.c | 13 +++-- fs/f2fs/node.h | 28 2 files changed, 31 insertions(+), 10 deletions(-)

Re: [PATCH] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-09-17 Thread micky
On 09/18/2014 12:53 PM, Lee Jones wrote: On Thu, 18 Sep 2014, micky_ch...@realsil.com.cn wrote: From: Micky Ching Fix rts5227&5249 failed send buffer cmd after suspend, PM_CTRL3 should reset before send any buffer cmd after suspend. Otherwise, buffer cmd will failed, this will lead resume fai

Re: [PATCH v3 1/3] phy: exynos-dp-video: Use syscon support to control pmu register

2014-09-17 Thread Kishon Vijay Abraham I
On Thursday 18 September 2014 08:55 AM, Vivek Gautam wrote: > Hi Kishon, > > > On Wed, Sep 17, 2014 at 10:24 PM, Kishon Vijay Abraham I > wrote: >> >> >> On Tuesday 16 September 2014 10:32 AM, Vivek Gautam wrote: >>> Currently the DP_PHY_ENABLE register is mapped in the driver, >>> and access

[PATCH 2/3] f2fs: fix conditions to remain recovery information in f2fs_sync_file

2014-09-17 Thread Jaegeuk Kim
This patch revisited whole the recovery information during the f2fs_sync_file. In this patch, there are three information to make a decision. a) IS_CHECKPOINTED, /* is it checkpointed before? */ b) HAS_FSYNCED_INODE, /* is the inode fsynced before? */ c) HAS_LAST_FSYNC, /* has the late

[PATCH 3/3] f2fs: fix roll-forward missing scenarios

2014-09-17 Thread Jaegeuk Kim
We can summarize the roll forward recovery scenarios as follows. [Term] F: fsync_mark, D: dentry_mark 1. inode(x) | CP | inode(x) | dnode(F) -> Update the latest inode(x). 2. inode(x) | CP | inode(F) | dnode(F) -> No problem. 3. inode(x) | CP | dnode(F) | inode(x) -> Recover to the latest dnode

Re: [PATCHv5] mtd: nand: atmel_nand: retrieve NFC clock

2014-09-17 Thread Brian Norris
On Sat, Sep 13, 2014 at 01:23:59AM +0200, Alexandre Belloni wrote: > From: Boris BREZILLON > > Retrieve the NFC clock to make sure it is enabled. Make that optional to > ensure > compatibility with previous device trees but document it as mandatory so newer > device trees will include it. > > S

Re: [PATCH] f2fs: Fix recover when nid of non-inode dnode < nid of inode

2014-09-17 Thread Jaegeuk Kim
On Mon, Sep 15, 2014 at 01:14:09PM +0800, Huang Ying wrote: > On Sun, 2014-09-14 at 00:48 -0700, Jaegeuk Kim wrote: > > On Sat, Sep 13, 2014 at 10:23:18PM +0800, Huang Ying wrote: > > > On Fri, 2014-09-12 at 15:34 +0800, Huang Ying wrote: > > > > On Thu, 2014-09-11 at 22:13 -0700, Jaegeuk Kim wrote

Re: [PATCH] [trivial] wireless:rtlwifi: Fix typo in rtl wifi drivers

2014-09-17 Thread Larry Finger
On 09/17/2014 10:29 PM, Masanari Iida wrote: This patch fix spelling typo "sleeped" in printk, found in multiple rtlwifi drivers. Signed-off-by: Masanari Iida --- drivers/net/wireless/rtlwifi/rtl8188ee/phy.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192ce/phy.c | 2 +- drivers/net/wireless/r

Re: [PATCH v4 1/3] mfd/axp20x: extend axp20x to support axp288 pmic

2014-09-17 Thread Lee Jones
On Tue, 16 Sep 2014, Jacob Pan wrote: > X-Powers AXP288 is a customized PMIC for Intel Baytrail-CR platforms. Similar > to AXP202/209, AXP288 comes with USB charger, more LDO and BUCK channels, and > AD converters. It also provides extended status and interrupt reporting > capabilities than the de

Re: [f2fs-dev] [PATCH 04/10] f2fs: give an option to enable in-place-updates during fsync to users

2014-09-17 Thread Jaegeuk Kim
On Mon, Sep 15, 2014 at 11:13:15AM +0900, Changman Lee wrote: > Hi JK, > > I think it' nicer if this can be used as 'OR' with other policy > together. If so, we can also cover the weakness in high utilization. Agreed. I'll send another patch for that. Thanks, > > Regard, > Changman > > On Sun,

Re: [PATCH 09/10] f2fs: use MAX_BIO_BLOCKS(sbi)

2014-09-17 Thread Jaegeuk Kim
Hi, Thank you for the review. I changed the return value of MAX_BIO_BLOCKS to int. IMO, it's the best way that I can do for now. Thanks, >From f3bcd1d658d1c4aa8178ddc2d4e6a7e45d8405cd Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Thu, 11 Sep 2014 14:37:35 -0700 Subject: [PATCH] f2fs: use MAX

Re: [PATCH 7/9] phy: remove .owner field for drivers using module_platform_driver

2014-09-17 Thread Kishon Vijay Abraham I
On Thursday 18 September 2014 12:34 AM, Peter Griffin wrote: > Hi Kishon, > > On Wed, 17 Sep 2014, Kishon Vijay Abraham I wrote: > >> Hi, >> >> On Friday 15 August 2014 06:10 PM, Peter Griffin wrote: >>> This patch removes the superflous .owner field for drivers which >>> use the module_platfor

Re: [PATCH] mmc: don't request CD IRQ until mmc_start_host()

2014-09-17 Thread Adrian Hunter
On 09/17/2014 10:57 PM, Stephen Warren wrote: > On 09/17/2014 01:55 PM, Ulf Hansson wrote: >> On 12 September 2014 19:18, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> As soon as the CD IRQ is requested, it can trigger, since it's an >>> externally controlled event. If it does, delayed_w

[PATCH V2 2/3] x86: iosf: Add better description of IOSF driver in config

2014-09-17 Thread David E. Box
Adds better description of IOSF driver to determinine when it should be enabled. Also moves the Kconfig option to "Processor type and features" menu from main configuration menu. Signed-off-by: David E. Box --- arch/x86/Kconfig | 32 +--- 1 file changed, 17 insertions

[PATCH V2 1/3] x86: iosf: Add Braswell PCI ID

2014-09-17 Thread David E. Box
Add Braswell PCI ID to list of supported ID's for iosf driver. Signed-off-by: David E. Box --- arch/x86/kernel/iosf_mbi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/iosf_mbi.c b/arch/x86/kernel/iosf_mbi.c index 0a2faa3..e01f741 100644 --- a/arch/x86/kernel/iosf_mbi.c +

[PATCH V2 3/3] x86: iosf: Add debugfs config option for iosf

2014-09-17 Thread David E. Box
Makes the iosf sideband available through debugfs. Allows developers to experiment with using the sideband to provide debug and analytical tools for units on the SoC. Signed-off-by: David E. Box --- arch/x86/Kconfig | 13 + arch/x86/kernel/iosf_mbi.c | 23 ++

[PATCH V2 0/3] x86: iosf: Additions to iosf patch set

2014-09-17 Thread David E. Box
These changes apply on top of the patches currently in Peter Anvin's tip tree. V2: More descriptive Kconfig prompt for IOSF_MBI and IOSF_MBI_DEBUG Cleaned up ifdef use on IOSF_MBI_DEBUG with DUMMY functions David E. Box (3): x86: iosf: Add Braswell PCI ID x86: iosf: Add better des

Re: [PATCH] serial: cadence: Add generic earlycon support

2014-09-17 Thread Michal Simek
On 09/17/2014 10:58 PM, Greg Kroah-Hartman wrote: > On Wed, Sep 17, 2014 at 03:44:58PM +0200, Michal Simek wrote: >> Hi Greg, >> >> On 09/10/2014 12:43 PM, Michal Simek wrote: >>> Add earlycon support for the cadence serial port. >>> This is based on recent patches: >>> "tty/serial: pl011: add gene

Re: [PATCH v3 26/29] nios2: ptrace support

2014-09-17 Thread Ley Foon Tan
On Tue, Sep 16, 2014 at 5:43 PM, Tobias Klauser wrote: > > This could be simplified to: > > long arch_ptrace(struct task_struct *child, long request, unsigned long addr, > unsigned long data) > { > return ptrace_request(child, request, addr, data); > } Okay, will change th

Re: [PATCH 1/2] devicetree: cadence_ttc: Document binding for timer width

2014-09-17 Thread Michal Simek
On 09/17/2014 06:17 PM, Mark Rutland wrote: > On Wed, Sep 17, 2014 at 03:30:49PM +0100, Michal Simek wrote: >> From: Peter Crosthwaite >> >> Modern TTC implementations can extend the timer width to 32 bit. This >> feature is not self identifying so the driver needs to be made aware >> via device t

Re: [PATCH 5/9] eeepc-laptop: tell sysfs that the disp attribute is write-only

2014-09-17 Thread Frans Klaver
On 18 September 2014 00:07:53 CEST, Greg Kroah-Hartman wrote: >On Wed, Sep 17, 2014 at 11:47:23PM +0200, Frans Klaver wrote: >> The disp attribute is write-only, but sysfs doesn't know this. >Currently >> show_sys_acpi() is mimicking sysfs behavior, if the underlying acpi >call >> should fail. Th

Re: [PATCH 1/9] eeepc-laptop: clean up coding style

2014-09-17 Thread Frans Klaver
On 18 September 2014 00:06:52 CEST, Joe Perches wrote: >On Wed, 2014-09-17 at 23:47 +0200, Frans Klaver wrote: >> Correct indentation and brace usage to comply with >> Documentation/CodingStyle. >> >> Signed-off-by: Frans Klaver >> --- >> drivers/platform/x86/eeepc-laptop.c | 8 +--- >> 1 f

Re: [PATCH] mfd: rtsx: fix PM suspend for 5227 & 5249

2014-09-17 Thread Lee Jones
On Thu, 18 Sep 2014, micky_ch...@realsil.com.cn wrote: > From: Micky Ching > > Fix rts5227&5249 failed send buffer cmd after suspend, > PM_CTRL3 should reset before send any buffer cmd after suspend. > Otherwise, buffer cmd will failed, this will lead resume fail. > > Signed-off-by: Micky Ching

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-17 Thread Dave Hansen
On 09/17/2014 08:23 PM, Kevin Easton wrote: > I was actually thinking that the kernel would take care of the xsave / > xrstor (for current), updating tsk->thread.fpu.state (for non-running > threads) and sending an IPI for threads running on other CPUs. > > Of course userspace can always then man

[PATCH] Documentation: correct parameter error for dma_mapping_error

2014-09-17 Thread Liu Hua
dma_mapping_error takes two parameters, but some of examples in Documentation/DMA-API-HOWTO.txt just takes one. So correct it. Signed-off-by: Liu Hua --- Documentation/DMA-API-HOWTO.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/DMA-API-HOWTO.txt b/Do

[PATCH v4 2/2] usb: host: ohci-exynos: Remove unnecessary usb-phy support

2014-09-17 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. We also defer the probe for our host in case we end up getting EPROBE_DEFER er

[PATCH v4 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-17 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. We also defer the probe for our host in case we end up getting EPROBE_DEFER er

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-17 Thread German Rivera
On 09/15/2014 06:44 PM, Kim Phillips wrote: On Thu, 11 Sep 2014 12:34:21 -0500 "J. German Rivera" wrote: From: "J. German Rivera" APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC

Re: About RK3288 i2c scl duty cycle

2014-09-17 Thread Doug Anderson
Addy, On Wed, Sep 17, 2014 at 6:26 PM, addy ke wrote: > Add public list > > On 2014/9/17 23:17, Doug Anderson wrote: >> Addy, >> >> On Tue, Sep 16, 2014 at 6:30 PM, addy...@rock-chips.com >> wrote: >>> hi, all >> >> Any reason why you didn't add some public lists? It seems like this >> is a per

Hello

2014-09-17 Thread Heather Walker
I am Heather Walker,This is my Third Email to you,I am at the end of the road, and about to donate a huge amount through you. I promise that your assistance would be rewarded. Please reply back to me for more information. Remain Blessed -- To unsubscribe from this list: send the line "unsubscribe l

linux-next: manual merge of the kvm-arm tree with the kvm tree

2014-09-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm-arm tree got a conflict in virt/kvm/arm/vgic.c between commit c06a841bf363 ("KVM: ARM: vgic: register kvm_device_ops dynamically") from the kvm tree and commit de56fb1923ca ("KVM: vgic: declare probe function pointer as const") from the kvm-arm tree. I

Re: [PATCH v3 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-17 Thread Vivek Gautam
Hi Alan, On Wed, Sep 17, 2014 at 8:27 PM, Alan Stern wrote: > On Wed, 17 Sep 2014, Vivek Gautam wrote: > >> Now that we have completely moved from older USB-PHY drivers >> to newer GENERIC-PHY drivers for PHYs available with USB controllers >> on Exynos series of SoCs, we can remove the support

Re: [PATCH 07/24] ARM64:ILP32: Use the same size and layout of the signal structures for ILP32 as for LP64

2014-09-17 Thread zhangjian
On 2014/9/4 5:19, Andrew Pinski wrote: > Defines the macros which allow the signal structures to be the same between > ILP32 and LP64. > > Signed-off-by: Andrew Pinski > --- > arch/arm64/include/uapi/asm/siginfo.h | 33 > arch/arm64/include/uapi/asm/signal.h

Re: [PATCH 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-17 Thread Doug Anderson
would be a good idea to add yourself as a MAINTAINER for st-pwm? (next-20140917))$ ./scripts/get_maintainer.pl -f drivers/regulator/st-pwm.c Liam Girdwood (supporter:VOLTAGE AND CURRE...) Mark Brown (supporter:VOLTAGE AND CURRE...) Grant Likely (maintainer:OPEN FIRMWARE AND...) Rob Herring (

Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-17 Thread Dong Aisheng
On Thu, Sep 18, 2014 at 08:59:32AM +0530, Pankaj Dubey wrote: > +CC: Dong Aisheng > > Hi Arnd, > > On Wednesday, September 17, 2014, Arnd Bergmann wrote, > > > V2 of this patchset and related discussion can be found here [1]. > > > > > > Changes since v2: > > > - Added back platform device supp

Re: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-17 Thread Dong Aisheng
On Wed, Sep 17, 2014 at 04:50:50PM +0530, Pankaj Dubey wrote: > Hi, > > On Wednesday, September 17, 2014, Dong Aisheng Wrote, > > > > > > +static struct syscon *of_syscon_register(struct device_node *np) { > > > + struct syscon *syscon; > > > + struct regmap *regmap; > > > + void __iomem *base; >

[PATCH] [trivial] wireless:rtlwifi: Fix typo in rtl wifi drivers

2014-09-17 Thread Masanari Iida
This patch fix spelling typo "sleeped" in printk, found in multiple rtlwifi drivers. Signed-off-by: Masanari Iida --- drivers/net/wireless/rtlwifi/rtl8188ee/phy.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192ce/phy.c | 2 +- drivers/net/wireless/rtlwifi/rtl8192cu/phy.c | 2 +- drivers/net/wireles

RE: [PATCH v3] mfd: syscon: Decouple syscon interface from platform devices

2014-09-17 Thread Pankaj Dubey
+CC: Dong Aisheng Hi Arnd, On Wednesday, September 17, 2014, Arnd Bergmann wrote, > > V2 of this patchset and related discussion can be found here [1]. > > > > Changes since v2: > > - Added back platform device support from syscon, with one change that > >syscon will not be probed for DT ba

Re: [PATCH v3 1/3] phy: exynos-dp-video: Use syscon support to control pmu register

2014-09-17 Thread Vivek Gautam
Hi Kishon, On Wed, Sep 17, 2014 at 10:24 PM, Kishon Vijay Abraham I wrote: > > > On Tuesday 16 September 2014 10:32 AM, Vivek Gautam wrote: >> Currently the DP_PHY_ENABLE register is mapped in the driver, >> and accessed to control power to the PHY. >> With mfd-syscon and regmap interface availa

[RFC PATCH 0/3] Early boot self tests for RCU

2014-09-17 Thread Pranith Kumar
Hi Paul, Please find the following patches which enable RCU early boot tests. For now all we do in these tests are enqueue test callbacks and check if they are being invoked or not. I was able to reproduce the hang which Amit reported after reverting the fix. So this should catch such errors if t

[RFC PATCH 0/3] Early boot self tests for RCU

2014-09-17 Thread Pranith Kumar
Hi Paul, Please find the following patches which enable RCU early boot tests. For now all we do in these tests are enqueue test callbacks and check if they are being invoked or not. I was able to reproduce the hang which Amit reported after reverting the fix. So this should catch such errors if t

[RFC PATCH 3/3] rcutorture: Enable RCU self test in configs

2014-09-17 Thread Pranith Kumar
Add config and boot parameters to enable the self tests in rcutorture testing. Signed-off-by: Pranith Kumar --- tools/testing/selftests/rcutorture/configs/rcu/TINY02 | 2 ++ tools/testing/selftests/rcutorture/configs/rcu/TINY02.boot | 2 ++ tools/testing/selftests/rcutorture/configs/rcu/TRE

[RFC PATCH 2/3] doc: Document RCU self test boot params

2014-09-17 Thread Pranith Kumar
Document the RCU self test boot parameters in kernel-parameters.txt. Signed-off-by: Pranith Kumar --- Documentation/kernel-parameters.txt | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index c403957..6f

[RFC PATCH 1/3] rcu: Add early boot self tests

2014-09-17 Thread Pranith Kumar
Add early boot self tests for RCU under CONFIG_PROVE_RCU. Currently the only test is adding a dummy callback which increments a counter which we then later verify after calling rcu_barrier*(). Signed-off-by: Pranith Kumar --- kernel/rcu/rcu.h| 2 ++ kernel/rcu/tiny.c | 4 ++- kernel/rcu

RE: [PATCH v2 3/4] net: stmmac: add support for Intel Quark X1000 [RESEND TO MAILING LIST]

2014-09-17 Thread Kweh, Hock Leong
> -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: Wednesday, September 17, 2014 12:56 PM > From: "Kweh, Hock Leong" > Date: Wed, 17 Sep 2014 02:41:39 + > > > Thanks for the pointer. I did a quickly checking on the class number > > to see if I could use it

Re: [PATCH 0/9] powerpc/powernv: Support for fastsleep and winkle

2014-09-17 Thread Shreyas B Prabhu
Hi, In this patch series we use winkle for offlined cores. I successfully tested the working of this with subcore functionality. Test scenario was as follows: 1. Set SMT mode to 1, Set subores-per-core to 1 2. Offline a core, in this case cpu 32 (sending it to winkle) 3. Set subcores-per-core to

[PATCH] [trivial] treewide: Fix typos in Kconfig

2014-09-17 Thread Masanari Iida
This patch fix spelling typos found in Kconfig. Signed-off-by: Masanari Iida --- arch/blackfin/Kconfig | 2 +- arch/mips/cavium-octeon/Kconfig | 2 +- drivers/i2c/busses/Kconfig | 2 +- drivers/irqchip/Kconfig | 2 +- drivers/platform/x86/Kconfig| 8 drivers/u

Re: [PATCH v3 0/7] mtd: denali: A collection of trivial coding style fixes

2014-09-17 Thread Brian Norris
On Thu, Sep 18, 2014 at 11:31:35AM +0900, Masahiro Yamada wrote: > On Wed, 17 Sep 2014 10:13:08 -0700 Brian Norris > wrote: > > On Tue, Sep 16, 2014 at 08:04:18PM +0900, Masahiro Yamada wrote: > > > Masahiro Yamada (7): > > > mtd: denali: fix the format of comment blocks > > > mtd: denali: re

Re: debug_dma_assert_idle - ohci - cpu touching an active dma mapped cacheline

2014-09-17 Thread poma
[ cut here ] WARNING: CPU: 2 PID: 1065 at lib/dma-debug.c:593 debug_dma_assert_idle+0x159/0x1d0() ohci-pci :00:04.0: DMA-API: cpu touching an active dma mapped cacheline [cln=0x03004180] CPU: 2 PID: 1065 Comm: tumblerd Not tainted 3.17.0-0.rc5.git1.1.fc22.i686 #1 Call

[PATCH 4/5] hw_random: don't double-check old_rng.

2014-09-17 Thread Rusty Russell
Interesting anti-pattern. Signed-off-by: Rusty Russell --- drivers/char/hw_random/core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index b4a21e9521cf..6a34feca6b43 100644 --- a/drivers/char/hw_random/cor

[PATCH 3/5] hw_random: fix unregister race.

2014-09-17 Thread Rusty Russell
The previous patch added one potential problem: we can still be reading from a hwrng when it's unregistered. Add a wait for zero in the hwrng_unregister path. Signed-off-by: Rusty Russell --- drivers/char/hw_random/core.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/char/hw_

[PATCH 2/5] hw_random: use reference counts on each struct hwrng.

2014-09-17 Thread Rusty Russell
current_rng holds one reference, and we bump it every time we want to do a read from it. This means we only hold the rng_mutex to grab or drop a reference, so accessing /sys/devices/virtual/misc/hw_random/rng_current doesn't block on read of /dev/hwrng. Using a kref is overkill (we're always unde

[PATCH 1/5] hw_random: place mutex around read functions and buffers.

2014-09-17 Thread Rusty Russell
There's currently a big lock around everything, and it means that we can't query sysfs (eg /sys/devices/virtual/misc/hw_random/rng_current) while the rng is reading. This is a real problem when the rng is slow, or blocked (eg. virtio_rng with qemu's default /dev/random backend) This doesn't help

[PATCH 5/5] hw_random: don't init list element we're about to add to list.

2014-09-17 Thread Rusty Russell
Another interesting anti-pattern. Signed-off-by: Rusty Russell --- drivers/char/hw_random/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/hw_random/core.c b/drivers/char/hw_random/core.c index 6a34feca6b43..96fa06716e95 100644 --- a/drivers/char/hw_random/core.c +++ b/driv

Re: [PATCH v2 2/3] hw_random: fix stuck in catting hwrng attributes

2014-09-17 Thread Rusty Russell
Amos Kong writes: > I started a QEMU (non-smp) guest with one virtio-rng device, and read > random data from /dev/hwrng by dd: > > # dd if=/dev/hwrng of=/dev/null & > > In the same time, if I check hwrng attributes from sysfs by cat: > > # cat /sys/class/misc/hw_random/rng_* > > The cat process

RE: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-17 Thread Ren, Qiaowei
On 2014-09-18, Kevin Easton wrote: > On Thu, Sep 18, 2014 at 12:40:29AM +, Ren, Qiaowei wrote: >>> Would it be prudent to use an error code other than EINVAL for the >>> "hardware doesn't support it" case? >>> >> Seems like no specific error code for this case. > > ENXIO would probably be O

Re: [PATCH v5 2/4] dt-bindings: document Rockchip thermal

2014-09-17 Thread Caesar Wang
在 2014年09月18日 04:13, Dmitry Torokhov 写道: On Wed, Sep 17, 2014 at 12:48:16PM -0700, Doug Anderson wrote: Caesar, On Tue, Sep 16, 2014 at 8:59 PM, Caesar Wang wrote: This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: C

Re: [PATCH v3 0/7] mtd: denali: A collection of trivial coding style fixes

2014-09-17 Thread Masahiro Yamada
Hi Brian, On Wed, 17 Sep 2014 10:13:08 -0700 Brian Norris wrote: > On Tue, Sep 16, 2014 at 08:04:18PM +0900, Masahiro Yamada wrote: > > > > > > Masahiro Yamada (7): > > mtd: denali: fix the format of comment blocks > > mtd: denali: remove unnecessary variable initializations > > mtd: d

Re: [PATCH v4 14/18] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-09-17 Thread Arnd Bergmann
On Wednesday 17 September 2014, Catalin Marinas wrote: > > > I think it gets worse, this function is called from irqchip_init(). I > > > would have been slightly happier if it was called from the arm64 > > > init_IRQ(). But putting an ARM specific GIC initialisation call in a > > > generic irqchip_

Re: [PATCH v8 08/10] x86, mpx: add prctl commands PR_MPX_REGISTER, PR_MPX_UNREGISTER

2014-09-17 Thread Kevin Easton
On Thu, Sep 18, 2014 at 12:40:29AM +, Ren, Qiaowei wrote: > > Would it be prudent to use an error code other than EINVAL for the > > "hardware doesn't support it" case? > > > Seems like no specific error code for this case. ENXIO would probably be OK. It's not too important as long as it's do

Re: [PATCH v2] audit: vfs: fix audit records error when write to a file

2014-09-17 Thread hujianyang
> > Could you add me to your Cc: list on this thread, please? I'm > interested in the outcome... Thanks! > Hi Richard, I've resend a v2 patch and now quote it in the end of this mail for you. I'm sorry to say the previously work of mine seems useless. Moving audit_inode() to the O_CREAT case i

Re: [PATCH v3 2/3] power: reset: imx-snvs-poweroff: add power off driver for i.mx6

2014-09-17 Thread Robin Gong
On Wed, Sep 17, 2014 at 06:52:44PM +0100, Mark Rutland wrote: > On Wed, Sep 17, 2014 at 10:57:59AM +0100, Robin Gong wrote: > > This driver register pm_power_off with snvs power off function. If > > your boards NOT use PMIC_ON_REQ to turn on/off external pmic, or use > > other pin to do, please dis

[PATCH 2/2 V7] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-09-17 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit ARM GICv2m specification extends GICv2 to support MSI(-X) with a new set of register frame. This patch introduces support for the non-secure GICv2m register frame. Currently, GICV2m is available in certain version of GIC-400. The patch introduces a new property in ARM

[PATCH 1/2 V7] irqchip: gic: Add support for multiple MSI for ARM64

2014-09-17 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit This patch implelments the ARM64 version of arch_setup_msi_irqs(), which does not return 1 for when PCI_CAP_ID_MSI and nvec > 1. Cc: Mark Rutland Cc: Marc Zyngier Cc: Jason Cooper Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Suravee Suthikulpanit --- arch

[PATCH 0/2 V7] irqchip: gic: Introduce ARM GICv2m MSI(-X) support

2014-09-17 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit NOTE: Resend w/ proper subject for the 2/2 patch. This patch set introduces support for MSI(-X) in GICv2m specification, which is implemented in some variation of GIC400. This depends on and has been tested with the following patch set which implements PCI supports f

Re: blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)

2014-09-17 Thread Ming Lei
On Thu, Sep 18, 2014 at 3:09 AM, David Hildenbrand wrote: >> On Wed, Sep 17, 2014 at 10:22 PM, Jens Axboe wrote: >> > >> > Another way would be to ensure that the timeout handler doesn't touch >> > hw_ctx >> > or tag_sets that aren't fully initialized yet. But I think this is >> > safer/cleaner.

[PATCH 1/1] kdump: fix compiling error: undefined elfcorehdr_addr

2014-09-17 Thread Li, Zhen-Hua
While debugging the kdump kernel, I found there is a compiling error: If is_kdump_kernel() is called in some driver(for example, add it in debugging code in module qla2xxx), there will be a compiling error: ERROR: "elfcorehdr_addr" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined! Add EXPORT_SYMBOL fo

[PATCH 1/2 V7] irqchip: gic: Add support for multiple MSI for ARM64

2014-09-17 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit This patch implelments the ARM64 version of arch_setup_msi_irqs(), which does not return 1 for when PCI_CAP_ID_MSI and nvec > 1. Cc: Mark Rutland Cc: Marc Zyngier Cc: Jason Cooper Cc: Catalin Marinas Cc: Will Deacon Signed-off-by: Suravee Suthikulpanit --- arch

[PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-09-17 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit ARM GICv2m specification extends GICv2 to support MSI(-X) with a new set of register frame. This patch introduces support for the non-secure GICv2m register frame. Currently, GICV2m is available in certain version of GIC-400. The patch introduces a new property in ARM

[PATCH 0/2 V7] irqchip: gic: Introduce ARM GICv2m MSI(-X) support

2014-09-17 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit This patch set introduces support for MSI(-X) in GICv2m specification, which is implemented in some variation of GIC400. This depends on and has been tested with the following patch set which implements PCI supports for ARM64: [PATCH v10 00/10] Support for creati

Re: [RESEND PATCH] arm: exynos: Allow rtc alarm and tick wakeup irq for exynos3250.

2014-09-17 Thread jonghwa3 . lee
On 2014년 09월 17일 17:53, Vikas Sajjan wrote: > Hi, > > On Wed, Sep 17, 2014 at 8:52 AM, Jonghwa Lee wrote: >> Add rtc alarm and tick irq to wakeup sources in exynos3250. >> >> Signed-off-by: Jonghwa Lee >> Acked-by : Chanwoo choi >> --- >> arch/arm/mach-exynos/pm.c |9 - >> 1 file

Re: [PATCH v3] hwmon: ntc_thermistor: Add ntc thermistor to thermal subsystem as a sensor.

2014-09-17 Thread jonghwa3 . lee
On 2014년 09월 18일 00:48, Guenter Roeck wrote: > On Wed, Sep 17, 2014 at 02:54:37PM +0900, Jonghwa Lee wrote: >> To get more comprehensive and integrated thermal management, it adds ntc >> thermistor to thermal framework as a thermal sensor. It's governed thermal >> susbsystem only if it is describe

[PATCH] arm:extend the reserved mrmory for initrd to be page aligned

2014-09-17 Thread Wang, Yalin
this patch extend the start and end address of initrd to be page aligned, so that we can free all memory including the un-page aligned head or tail page of initrd, if the start or end address of initrd are not page aligned, the page can't be freed by free_initrd_mem() function. Signed-off-by: Yali

Re: [PATCH 2/7] test: add firmware_class loader test

2014-09-17 Thread Sasha Levin
414.006815] kobject: (8807b4ef5dc8): attempted to be registered with empty name! [ 414.009482] Modules linked in: [ 414.010818] CPU: 25 PID: 9860 Comm: trinity-c662 Tainted: GW 3.17.0-rc5-next-20140917-sasha-00041-gd01267b #1198 [ 414.014626] 0009 880236547

[PATCH] cgroup/kmemleak: add kmemleak_free() for cgroup deallocations.

2014-09-17 Thread Wang Nan
Commit ff7ee93f4 introduces kmemleak_alloc() for alloc_page_cgroup(), but corresponding kmemleak_free() is missing, which makes kmemleak be wrongly disabled after memory offlining. Log is pasted at the end of this commit message. This patch add kmemleak_free() into free_page_cgroup(). During page

[PATCH] X86: add IPI tracepoints

2014-09-17 Thread Nicolas Pitre
On X86 there are already tracepoints for IRQ vectors through which IPIs are handled. However this is highly X86 specific, and the IPI signaling is not currently traced. This is an attempt at adding generic IPI tracepoints to X86. Signed-off-by: Nicolas Pitre Acked-by: Daniel Lezcano --- This

RE: [RFC] msm:rpm-smd:change msm_rpm_smd_work method

2014-09-17 Thread Wang, Yalin
Hi Bjorn, I see, Thanks for your kind remind :) -Original Message- On Tue, Sep 16, 2014 at 7:05 PM, Wang, Yalin wrote: [..] > diff --git a/arch/arm/mach-msm/rpm-smd.c b/arch/arm/mach-msm/rpm-smd.c Hi Yalin, This file does not exist in mainline and this is not the forum for sending pat

Re: [PATCH 1/2] regulator: st-pwm: get voltage and duty table from dts

2014-09-17 Thread Chris Zhong
On 09/18/2014 12:54 AM, Doug Anderson wrote: Hi, On Wed, Sep 17, 2014 at 9:51 AM, Mark Brown wrote: On Wed, Sep 17, 2014 at 09:07:59PM +0800, Chris Zhong wrote: Get voltage & duty table from device tree might be better, other platforms can also use this driver without any modify. Signed-of

  1   2   3   4   5   6   7   8   >