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

[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

[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

[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

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

[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

[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

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. > >

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

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 +-

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

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

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

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

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,

[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

[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

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

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

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

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.

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

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

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

[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

[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

[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

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

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

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

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
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 (maintainer:OPEN

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

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 +-

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

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

[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

[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

[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 ++

[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

[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 ++-

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

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

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: 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 ---

[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

[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

[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 +++

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

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

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:

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:

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

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

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

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

[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

[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 ---

[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

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 >> >

[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

[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 ---

[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

[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

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

[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:

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

2014-09-17 Thread Sasha Levin
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 880236547a68 f

[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 ---

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

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.

[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/rts5227.c| 19 +++

[PATCH v11 03/10] ARM: Define PCI_IOBASE as the base of virtual PCI IO space.

2014-09-17 Thread Liviu Dudau
This is needed for calls into OF code that parses PCI ranges. It signals support for memory mapped PCI I/O accesses that are described be device trees. Cc: Russell King Cc: Arnd Bergmann Cc: Rob Herring Reviewed-by: Catalin Marinas Signed-off-by: Liviu Dudau --- arch/arm/include/asm/io.h |

[PATCH v11 05/10] PCI: Create pci_host_bridge before its associated bus in pci_create_root_bus.

2014-09-17 Thread Liviu Dudau
Before commit 7b5436635800 the pci_host_bridge was created before the root bus. As that commit has added a needless dependency on the bus for pci_alloc_host_bridge() the creation order has been changed for no good reason. Revert the order of creation as we are going to depend on the

[PATCH v11 01/10] Fix ioport_map() for !CONFIG_GENERIC_IOMAP cases.

2014-09-17 Thread Liviu Dudau
The inline version of ioport_map() that gets used when !CONFIG_GENERIC_IOMAP is wrong. It returns a mapped (i.e. virtual) address that can start from zero and completely ignores the PCI_IOBASE and IO_SPACE_LIMIT that most architectures that use !CONFIG_GENERIC_MAP define. Signed-off-by: Liviu

[PATCH v11 06/10] PCI: Introduce generic domain handling for PCI busses.

2014-09-17 Thread Liviu Dudau
From: Catalin Marinas The handling of PCI domains (or PCI segments in ACPI speak) is usually a straightforward affair but its implementation is currently left to the architectural code, with pci_domain_nr(b) querying the value of the domain associated with bus b. This patch introduces

[PATCH v11 02/10] PCI: Introduce helper functions to deal with PCI I/O ranges.

2014-09-17 Thread Liviu Dudau
Some architectures do not have a simple view of the PCI I/O space and instead use a range of CPU addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree file. This patch introduces a pci_register_io_range() helper function with a

Re: [PATCH 2/2] blk-mq: remove unnecessary blk_clear_rq_complete()

2014-09-17 Thread Ming Lei
On Thu, Sep 18, 2014 at 12:48 AM, Christoph Hellwig wrote: > On Wed, Sep 17, 2014 at 05:47:58PM +0800, Ming Lei wrote: >> From: Ming Lei >> >> This patch removes two unnecessary blk_clear_rq_complete(), >> the REQ_ATOM_COMPLETE flag is cleared inside blk_mq_start_request(), >> so: >> >> -

[PATCH v11 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-17 Thread Liviu Dudau
Provide a function to parse the PCI DT ranges that can be used to create a pci_host_bridge structure together with its associated bus. Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Grant Likely Cc: Rob Herring Cc: Catalin Marinas Signed-off-by: Liviu Dudau --- drivers/of/of_pci.c| 108

[PATCH v11 00/10] Support for creating generic PCI host bridges from DT

2014-09-17 Thread Liviu Dudau
This is my version 11 of the attempt at adding support for generic PCI host bridge controllers that make use of device tree information to configure themselves. It contains minor cleanups compared with v10 to address the existing comments. I'm going to ask for this series to be included in -next.

[PATCH v11] Add support for PCI in AArch64

2014-09-17 Thread Liviu Dudau
Hi, This patch adds support for PCIe to AArch64. It depends on my v11 patch that adds support for creating generic host bridge resources from device trees. With that in place, I was able to boot a platform that has PCIe host bridge support and use a PCIe network card. Changes from v10: - Added

[PATCH v11 10/10] PCI: Introduce pci_remap_iospace() for remapping PCI I/O bus resources into CPU space

2014-09-17 Thread Liviu Dudau
Introduce a default implementation for remapping PCI bus I/O resources onto the CPU address space. Architectures with special needs may provide their own version, but most should be able to use this one. Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Rob Herring Reviewed-by: Catalin Marinas

[PATCH v11 09/10] PCI: Assign unassigned bus resources in pci_scan_root_bus()

2014-09-17 Thread Liviu Dudau
If the firmware has not assigned all the bus resources and we are not just probing the PCIe busses, it makes sense to assign the unassigned resources in pci_scan_root_bus(). Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Jason Gunthorpe Cc: Rob Herring Signed-off-by: Liviu Dudau ---

[PATCH v11] arm64: Add architectural support for PCIe

2014-09-17 Thread Liviu Dudau
Use the generic PCI domain and OF functions to provide support for PCI Express on arm64. Acked-by: Catalin Marinas Signed-off-by: Liviu Dudau --- arch/arm64/Kconfig | 22 ++- arch/arm64/include/asm/Kbuild| 1 + arch/arm64/include/asm/io.h | 3 +-

[PATCH v11 07/10] OF: Introduce helper function for getting PCI domain_nr

2014-09-17 Thread Liviu Dudau
Add of_pci_get_domain_nr() to retrieve the PCI domain number of a given device from DT. If the information is not present, the function can be requested to allocate a new domain number. Cc: Bjorn Helgaas Cc: Arnd Bergmann Cc: Grant Likely Cc: Rob Herring Reviewed-by: Catalin Marinas

[PATCH v11 04/10] PCI: OF: Fix the conversion of IO ranges into IO resources.

2014-09-17 Thread Liviu Dudau
The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo "port" address 0 (zero) and have a maximum size of IO_SPACE_LIMIT. The conversion

Re: [PATCH v5 11/12] sched: replace capacity_factor by utilization

2014-09-17 Thread Vincent Guittot
On 17 September 2014 15:25, Peter Zijlstra wrote: > On Tue, Sep 16, 2014 at 12:14:54AM +0200, Vincent Guittot wrote: >> On 15 September 2014 13:42, Peter Zijlstra wrote: > >> > OK, I've reconsidered _again_, I still don't get it. >> > >> > So fundamentally I think its wrong to scale with the

Re: About RK3288 i2c scl duty cycle

2014-09-17 Thread addy ke
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 perfect discussion for linux-i2c. > > >> According to i2c-bus

Re: [PATCH] ceph: remove redundant code for max file size verification

2014-09-17 Thread Yan, Zheng
On Wed, Sep 17, 2014 at 5:26 PM, Chao Yu wrote: > Both ceph_update_writeable_page and ceph_setattr will verify file size > with max size ceph supported. > There are two caller for ceph_update_writeable_page, ceph_write_begin and > ceph_page_mkwrite. For ceph_write_begin, we have already verified

  1   2   3   4   5   6   7   8   9   10   >