[PATCH 3/3] f2fs: pass checkpoint reason on roll-forward recovery

2015-04-16 Thread Jaegeuk Kim
This patch adds CP_RECOVERY to remain recovery information for checkpoint. And, it makes sure writing checkpoint in this case. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c| 6 +- fs/f2fs/f2fs.h | 1 + fs/f2fs/recovery.c | 2 +-

Re: [PATCH v3 01/28] IB/Verbs: Implement new callback query_transport()

2015-04-16 Thread Michael Wang
Hi, Hal On 04/15/2015 08:36 PM, Hal Rosenstock wrote: > On 4/13/2015 8:22 AM, Michael Wang wrote: [snip] >> __attribute_const__ enum rdma_transport_type >> @@ -1501,6 +1504,8 @@ struct ib_device { >> int(*query_port)(struct ib_device *device, >>

Re: [RESEND PATCH 0/8] cros_ec: Add multiple EC and protocol v3 support

2015-04-16 Thread Javier Martinez Canillas
Hello, On 04/06/2015 06:14 PM, Javier Martinez Canillas wrote: > > Newer Chromebooks have more than one Embedded Controller (EC) in the > system. These additional ECs are connected through I2C with a host EC > which is the one that is connected to the Application Processor (AP) > through I2C,

Re: [PATCH v2] serial: of-serial: Remove device_type = "serial" registration

2015-04-16 Thread Michal Simek
On 04/15/2015 01:08 PM, Peter Hurley wrote: > On 04/14/2015 06:03 AM, Michal Simek wrote: >> Do not probe all serial drivers by of_serial.c which are using >> device_type = "serial"; property. Only drivers which have valid >> compatible strings listed in the driver should be probed. >> >> When

Re: [PATCH] x86: Enable fast 32-bit put_user_64 for copy_to_user

2015-04-16 Thread Ingo Molnar
* Chris Wilson wrote: > For fixed sized copies, copy_to_user() will utilize __put_user_size > fastpaths. However, it is missing the translation for 64bit copies on > x86/32. Testing on a Pinetrail Atom, the 64 bit put_user fastpath is > substantially faster than the generic copy_to_user()

Re: [PATCH net 0/5] stmmac: Correct flow control configuration

2015-04-16 Thread Giuseppe CAVALLARO
Hi Vince On 4/15/2015 6:17 PM, Vince Bridgers wrote: This series of patches corrects flow control configuration for the Synopsys GMAC driver. Thx for these patches For the series Acked-by: Giuseppe Cavallaro peppe Flow control is configured based on a configurable receive fifo size. If

Re: [PATCH] kbuild: add documentation of KBUILD_BUILD_VERSION

2015-04-16 Thread Nicholas Mc Guire
On Mon, 13 Apr 2015, Michal Marek wrote: > On 2015-04-12 06:08, Nicholas Mc Guire wrote: > > On Sat, 11 Apr 2015, Michal Marek wrote: > > > >> Dne 11.4.2015 v 15:20 Nicholas Mc Guire napsal(a): > >>> On Sat, 11 Apr 2015, Jonathan Corbet wrote: > >>> > On Sun, 5 Apr 2015 08:44:28 +0200 >

Re: [RFC PATCH 0/14] Parallel memory initialisation

2015-04-16 Thread Andrew Morton
On Mon, 13 Apr 2015 11:16:52 +0100 Mel Gorman wrote: > Memory initialisation I wish we didn't call this "memory initialization". Because memory initialization is memset(), and that isn't what we're doing here. Installation? Bringup? > had been identified as one of the reasons why large >

Re: [PATCHv2 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-16 Thread Peter Chen
On Mon, Apr 13, 2015 at 03:10:45PM -0700, Arun Ramamurthy wrote: > Some generic drivers, such as ehci, may use multiple phys and for such > drivers referencing phy(s) by name(s) does not make sense. Instead of > inventing new naming schemes and using custom code to iterate through them, > such

Re: [PATCH 1/3] drm/msm: match wait_for_completion_timeout return type

2015-04-16 Thread Nicholas Mc Guire
On Mon, 13 Apr 2015, Thierry Reding wrote: > On Sat, Apr 11, 2015 at 03:10:36PM +0200, Nicholas Mc Guire wrote: > > return type of wait_for_completion_timeout is unsigned long not int, this > > patch assigns the return value of wait_for_completion_timeout to an > > appropriately typed and named

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Roger Quadros
On 16/04/15 10:00, Chanwoo Choi wrote: > Hi Peter, > > On 04/16/2015 10:59 AM, Peter Chen wrote: >> On Wed, Apr 15, 2015 at 06:26:23PM +0900, Chanwoo Choi wrote: >>> Hi Roger and Peter, >>> >>> On 04/15/2015 04:50 PM, Roger Quadros wrote: On 15/04/15 06:27, Peter Chen wrote: > On Tue,

Commit a551d91473 (ALSA: hda - Use regmap for command verb caches, too) breaks TOSLINK

2015-04-16 Thread Markus Trippelsdorf
Hi, since commit a551d914: Author: Takashi Iwai Date: Thu Feb 26 12:34:49 2015 +0100 ALSA: hda - Use regmap for command verb caches, too my DAC receives no signal over TOSLINK-S/PDIF anymore. Reverting the commit on top of the current Linus tree "fixes" the issue. % aplay -l List

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Ivan T. Ivanov
Hi, On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: > Hi Peter, > > On 04/16/2015 10:59 AM, Peter Chen wrote: > > > > Ok, from USB point, external id/vbus value can't decide > > which role the controller will be, the controller driver > > will decide role according to many things, eg,

Re: [PATCH] firmware: dmi_scan: Fix ordering of product_uuid

2015-04-16 Thread Jean Delvare
Hi zduan, Thanks for your reply. Le Thursday 16 April 2015 à 14:22 +0800, Zhenzhong Duan a écrit : > On 2015/4/15 17:02, Jean Delvare wrote: > > In function dmi_present(), dmi_walk_early() calls dmi_table(), which > > calls dmi_decode(), which ultimately calls dmi_save_uuid(). This last > >

[PATCH v2] irqchip/gicv3-its: ITS table size should not be smaller than PSZ

2015-04-16 Thread Minghuan Lian
The default page size of ITS table has been changed to 64KB, but for some platforms the real size of allocated memory which calculated by DEVBITS of register GITS_TYPER may be smaller than default size. In this case, the allocation size must be increased to the default size, otherwise, the wrong

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Chanwoo Choi
Hi Peter, On 04/16/2015 10:59 AM, Peter Chen wrote: > On Wed, Apr 15, 2015 at 06:26:23PM +0900, Chanwoo Choi wrote: >> Hi Roger and Peter, >> >> On 04/15/2015 04:50 PM, Roger Quadros wrote: >>> On 15/04/15 06:27, Peter Chen wrote: On Tue, Apr 14, 2015 at 08:29:34PM +0900, Chanwoo Choi wrote:

[PATCH] alpha: Forward declare struct pt_regs in processor.h

2015-04-16 Thread Richard Weinberger
Removal of exec domains uncovered this new warning. processor.h re-used struct pt_regs from personality.h which is now gone. ./arch/alpha/include/asm/processor.h:47:33: warning: 'struct pt_regs' declared inside parameter list [enabled by default] Signed-off-by: Richard Weinberger ---

Re: [PATCH kernel v8 20/31] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_set_window

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:02PM +1000, Alexey Kardashevskiy wrote: > This is a part of moving DMA window programming to an iommu_ops > callback. > > This is a mechanical patch. > > Signed-off-by: Alexey Kardashevskiy Reviewed-by: David Gibson -- David Gibson| I'll

Re: [PATCH kernel v8 21/31] powerpc/iommu: Split iommu_free_table into 2 helpers

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:03PM +1000, Alexey Kardashevskiy wrote: > The iommu_free_table helper release memory it is using (the TCE table and > @it_map) and release the iommu_table struct as well. We might not want > the very last step as we store iommu_table in parent structures. Yeah, as I

Re: [PATCH kernel v8 19/31] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_create_table/pnc_pci_free_table

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:01PM +1000, Alexey Kardashevskiy wrote: > This is a part of moving TCE table allocation into an iommu_ops > callback to support multiple IOMMU groups per one VFIO container. > > This enforce window size to be a power of two. > > This is a pretty mechanical patch.

Re: [Patch 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables

2015-04-16 Thread Jean Delvare
Hi Roy, On Wed, 15 Apr 2015 17:54:51 -0700, Roy Franz wrote: > On Tue, Apr 14, 2015 at 9:19 PM, Roy Franz wrote: > > I have made modifications to dmidecode to support this interface, and it > > works quite nicely for dmidecode. (changes posted to dmidecode-devel list) > > The only open issue I

Re: [PATCH] dmaengine: bcm2835: Add slave dma support

2015-04-16 Thread Rogier Wolff
On Wed, Apr 15, 2015 at 08:53:07PM +0200, Noralf Trønnes wrote: > A 16-bit register can't hold a value of 65536. > Either the max value is 65535 or the register is 17-bits wide. It is common for hardware registers to have the value "0" mean 65536 in case of a 16-bit register. The hardware would

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Minchan Kim
Hello Mel, On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: > On Wed, Apr 15, 2015 at 02:16:49PM -0700, Hugh Dickins wrote: > > On Wed, 15 Apr 2015, Rik van Riel wrote: > > > On 04/15/2015 06:42 AM, Mel Gorman wrote: > > > > An IPI is sent to flush remote TLBs when a page is unmapped

Re: [PATCH kernel v8 17/31] powerpc/iommu/powernv: Release replaced TCE

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:59PM +1000, Alexey Kardashevskiy wrote: > At the moment writing new TCE value to the IOMMU table fails with EBUSY > if there is a valid entry already. However PAPR specification allows > the guest to write new TCE value without clearing it first. > > Another problem

Re: [PATCH kernel v8 16/31] powerpc/powernv/ioda/ioda2: Rework tce_build()/tce_free()

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:58PM +1000, Alexey Kardashevskiy wrote: > The pnv_pci_ioda_tce_invalidate() helper invalidates TCE cache. It is > supposed to be called on IODA1/2 and not called on p5ioc2. It receives > start and end host addresses of TCE table. This approach makes it possible > to

Re: [PATCH kernel v8 18/31] powerpc/powernv/ioda2: Rework iommu_table creation

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:00PM +1000, Alexey Kardashevskiy wrote: > This moves iommu_table creation to the beginning. This is a mechanical > patch. > > Signed-off-by: Alexey Kardashevskiy > --- > arch/powerpc/platforms/powernv/pci-ioda.c | 34 > --- > 1 file

Re: [PATCH] firmware: dmi_scan: Fix ordering of product_uuid

2015-04-16 Thread Zhenzhong Duan
On 2015/4/15 17:02, Jean Delvare wrote: In function dmi_present(), dmi_walk_early() calls dmi_table(), which calls dmi_decode(), which ultimately calls dmi_save_uuid(). This last function makes a decision based on the value of global variable dmi_ver. The problem is that this variable is set

Re: [PATCH kernel v8 14/31] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework IOMMU ownership control

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:56PM +1000, Alexey Kardashevskiy wrote: > At the moment the iommu_table struct has a set_bypass() which enables/ > disables DMA bypass on IODA2 PHB. This is exposed to POWERPC IOMMU code > which calls this callback when external IOMMU users such as VFIO are > about to

Re: [PATCH kernel v8 13/31] vfio: powerpc/spapr: powerpc/iommu: Rework IOMMU ownership control

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:55PM +1000, Alexey Kardashevskiy wrote: > This replaces iommu_take_ownership()/iommu_release_ownership() calls > with the callback calls and it is up to the platform code to call > iommu_take_ownership()/iommu_release_ownership() if needed. I think this commit

Re: [PATCH kernel v8 15/31] powerpc/iommu: Fix IOMMU ownership control functions

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:57PM +1000, Alexey Kardashevskiy wrote: > This adds missing locks in iommu_take_ownership()/ > iommu_release_ownership(). > > This marks all pages busy in iommu_table::it_map in order to catch > errors if there is an attempt to use this table while ownership over it

sparse warning about endianness mismatch on 0xffff assignment

2015-04-16 Thread Sathya Perla
Hi, The following code causes a sparse warning about " incorrect type in assignment (different base types)" __le16 var = 0x; What would be the best way of fixing this warning? a) __le16 var = cpu_to_le16(0x); b) __le16 var = (__force __le16) 0x; c) Ignore the warning and/or fix

Re: [PATCH] firmware: dmi_scan: Fix ordering of product_uuid

2015-04-16 Thread Zhenzhong Duan
On 2015/4/15 17:02, Jean Delvare wrote: In function dmi_present(), dmi_walk_early() calls dmi_table(), which calls dmi_decode(), which ultimately calls dmi_save_uuid(). This last function makes a decision based on the value of global variable dmi_ver. The problem is that this variable is set

[PATCH] alpha: Forward declare struct pt_regs in processor.h

2015-04-16 Thread Richard Weinberger
Removal of exec domains uncovered this new warning. processor.h re-used struct pt_regs from personality.h which is now gone. ./arch/alpha/include/asm/processor.h:47:33: warning: 'struct pt_regs' declared inside parameter list [enabled by default] Signed-off-by: Richard Weinberger rich...@nod.at

Re: [PATCH kernel v8 17/31] powerpc/iommu/powernv: Release replaced TCE

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:59PM +1000, Alexey Kardashevskiy wrote: At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without clearing it first. Another problem this

Re: [PATCH kernel v8 20/31] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_set_window

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:02PM +1000, Alexey Kardashevskiy wrote: This is a part of moving DMA window programming to an iommu_ops callback. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru Reviewed-by: David Gibson da...@gibson.dropbear.id.au -- David

[PATCH v2] irqchip/gicv3-its: ITS table size should not be smaller than PSZ

2015-04-16 Thread Minghuan Lian
The default page size of ITS table has been changed to 64KB, but for some platforms the real size of allocated memory which calculated by DEVBITS of register GITS_TYPER may be smaller than default size. In this case, the allocation size must be increased to the default size, otherwise, the wrong

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Chanwoo Choi
Hi Peter, On 04/16/2015 10:59 AM, Peter Chen wrote: On Wed, Apr 15, 2015 at 06:26:23PM +0900, Chanwoo Choi wrote: Hi Roger and Peter, On 04/15/2015 04:50 PM, Roger Quadros wrote: On 15/04/15 06:27, Peter Chen wrote: On Tue, Apr 14, 2015 at 08:29:34PM +0900, Chanwoo Choi wrote: On

sparse warning about endianness mismatch on 0xffff assignment

2015-04-16 Thread Sathya Perla
Hi, The following code causes a sparse warning about incorrect type in assignment (different base types) __le16 var = 0x; What would be the best way of fixing this warning? a) __le16 var = cpu_to_le16(0x); b) __le16 var = (__force __le16) 0x; c) Ignore the warning and/or fix the

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Minchan Kim
Hello Mel, On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: On Wed, Apr 15, 2015 at 02:16:49PM -0700, Hugh Dickins wrote: On Wed, 15 Apr 2015, Rik van Riel wrote: On 04/15/2015 06:42 AM, Mel Gorman wrote: An IPI is sent to flush remote TLBs when a page is unmapped that was

Re: [PATCH] dmaengine: bcm2835: Add slave dma support

2015-04-16 Thread Rogier Wolff
On Wed, Apr 15, 2015 at 08:53:07PM +0200, Noralf Trønnes wrote: A 16-bit register can't hold a value of 65536. Either the max value is 65535 or the register is 17-bits wide. It is common for hardware registers to have the value 0 mean 65536 in case of a 16-bit register. The hardware would

Re: [PATCH kernel v8 14/31] vfio: powerpc/spapr: powerpc/powernv/ioda2: Rework IOMMU ownership control

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:56PM +1000, Alexey Kardashevskiy wrote: At the moment the iommu_table struct has a set_bypass() which enables/ disables DMA bypass on IODA2 PHB. This is exposed to POWERPC IOMMU code which calls this callback when external IOMMU users such as VFIO are about to get

Re: [PATCH kernel v8 13/31] vfio: powerpc/spapr: powerpc/iommu: Rework IOMMU ownership control

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:55PM +1000, Alexey Kardashevskiy wrote: This replaces iommu_take_ownership()/iommu_release_ownership() calls with the callback calls and it is up to the platform code to call iommu_take_ownership()/iommu_release_ownership() if needed. I think this commit message

Re: [PATCH kernel v8 15/31] powerpc/iommu: Fix IOMMU ownership control functions

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:57PM +1000, Alexey Kardashevskiy wrote: This adds missing locks in iommu_take_ownership()/ iommu_release_ownership(). This marks all pages busy in iommu_table::it_map in order to catch errors if there is an attempt to use this table while ownership over it is

Re: [PATCH kernel v8 16/31] powerpc/powernv/ioda/ioda2: Rework tce_build()/tce_free()

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:30:58PM +1000, Alexey Kardashevskiy wrote: The pnv_pci_ioda_tce_invalidate() helper invalidates TCE cache. It is supposed to be called on IODA1/2 and not called on p5ioc2. It receives start and end host addresses of TCE table. This approach makes it possible to get

Re: [PATCH kernel v8 18/31] powerpc/powernv/ioda2: Rework iommu_table creation

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:00PM +1000, Alexey Kardashevskiy wrote: This moves iommu_table creation to the beginning. This is a mechanical patch. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- arch/powerpc/platforms/powernv/pci-ioda.c | 34 --- 1

Re: [PATCH kernel v8 19/31] powerpc/powernv/ioda2: Introduce pnv_pci_ioda2_create_table/pnc_pci_free_table

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:01PM +1000, Alexey Kardashevskiy wrote: This is a part of moving TCE table allocation into an iommu_ops callback to support multiple IOMMU groups per one VFIO container. This enforce window size to be a power of two. This is a pretty mechanical patch. ???

Re: [Patch 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables

2015-04-16 Thread Jean Delvare
Hi Roy, On Wed, 15 Apr 2015 17:54:51 -0700, Roy Franz wrote: On Tue, Apr 14, 2015 at 9:19 PM, Roy Franz roy.fr...@linaro.org wrote: I have made modifications to dmidecode to support this interface, and it works quite nicely for dmidecode. (changes posted to dmidecode-devel list) The only

Re: [PATCH kernel v8 21/31] powerpc/iommu: Split iommu_free_table into 2 helpers

2015-04-16 Thread David Gibson
On Fri, Apr 10, 2015 at 04:31:03PM +1000, Alexey Kardashevskiy wrote: The iommu_free_table helper release memory it is using (the TCE table and @it_map) and release the iommu_table struct as well. We might not want the very last step as we store iommu_table in parent structures. Yeah, as I

Re: [PATCH v2] usb: chipidea: Use extcon framework for VBUS and ID detect

2015-04-16 Thread Peter Chen
On Wed, Apr 15, 2015 at 04:35:15PM +0300, Ivan T. Ivanov wrote: On recent Qualcomm platforms VBUS and ID lines are not routed to USB PHY LINK controller. Use extcon framework to receive connect and disconnect ID and VBUS notification. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org ---

Re: [RFC 3/4] ext4: Add support for generic FS events

2015-04-16 Thread Beata Michalska
On 04/15/2015 09:18 PM, Darrick J. Wong wrote: On Wed, Apr 15, 2015 at 09:15:46AM +0200, Beata Michalska wrote: Add support for generic FS events including threshold notifications, ENOSPC and remount as read-only warnings, along with generic internal warnings/errors. Signed-off-by: Beata

[PATCH v2 3/4] ARM: dts: UniPhier: add support for UniPhier SoCs and boards

2015-04-16 Thread Masahiro Yamada
Initial device trees for UniPhier SoCs: PH1-sLD3, PH1-LD4, PH1-Pro4, and PH1-sLD8. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- Changes in v2: None arch/arm/boot/dts/Makefile | 5 ++ arch/arm/boot/dts/uniphier-ph1-ld4-ref.dts | 51 +

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Peter Chen
On Thu, Apr 16, 2015 at 10:13:44AM +0300, Ivan T. Ivanov wrote: Hi, On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: Hi Peter, On 04/16/2015 10:59 AM, Peter Chen wrote: Ok, from USB point, external id/vbus value can't decide which role the controller will be, the

[PATCH v4 01/27] IB/Verbs: Implement new callback query_transport()

2015-04-16 Thread Michael Wang
Add new callback query_transport() and implement for each HW. Mapping List: node-type link-layer old-transport new-transport nes RNICETH IWARP IWARP amso1100RNICETH IWARP IWARP

[PATCH 1/6] phy: twl4030-usb: make runtime pm more reliable.

2015-04-16 Thread NeilBrown
From: NeilBrown ne...@suse.de A construct like: if (pm_runtime_suspended(twl-dev)) pm_runtime_get_sync(twl-dev); is against the spirit of the runtime_pm interface as it makes the internal refcounting useless. In this case it is also racy, particularly as

[PATCH 3/6] phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.

2015-04-16 Thread NeilBrown
The USB phy should initialize with power-off, and will be powered on by the USB system when a cable connection is detected. Having this pm_runtime_get_sync() during probe causes the phy to *always* be powered on. Removing it returns to sensible power management. Fixes:

[PATCH 2/6] phy: twl4030-usb: remove pointless 'suspended' test in 'suspend' callback.

2015-04-16 Thread NeilBrown
When the runtime_suspend callback is running, 'runtime_status' is always RPM_SUSPENDING, so pm_runtime_suspended() will always fail. Similarly while the runtime_resume callback is running 'runtime_status' is RPM_RESUMING, so pm_runtime_active() will always fail. So remove these two pointless

[PATCH 4/6] phy: twl4030-usb: add ABI documentation

2015-04-16 Thread NeilBrown
From: NeilBrown ne...@suse.de This driver device one local attribute: vbus. Describe that in Documentation/ABI/testing/sysfs-platform/twl4030-usb. Signed-off-by: NeilBrown n...@brown.name --- .../ABI/testing/sysfs-platform-twl4030-usb |8 1 file changed, 8 insertions(+)

[PATCH 5/6] phy: twl4030-usb: add support for reading resistor on ID pin.

2015-04-16 Thread NeilBrown
From: NeilBrown ne...@suse.de The twl4030 phy can measure, with low precision, the resistance-to-ground of the ID pin. Add a function to read the value, and export the result via sysfs. If the read fails, which it does sometimes, try again in 50msec. Acked-by: Pavel Machek pa...@ucw.cz

[PATCH v4 19/27] IB/Verbs: Use management helper cap_iw_cm()

2015-04-16 Thread Michael Wang
Introduce helper cap_iw_cm() to help us check if the port of an IB device support IWARP Communication Manager. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

[PATCH v4 20/27] IB/Verbs: Use management helper cap_ib_sa()

2015-04-16 Thread Michael Wang
Introduce helper cap_ib_sa() to help us check if the port of an IB device support Infiniband Subnet Administrator. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

[PATCH v4 18/27] IB/Verbs: Use management helper cap_ib_cm()

2015-04-16 Thread Michael Wang
Introduce helper cap_ib_cm() to help us check if the port of an IB device support Infiniband Communication Manager. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny

[PATCH v4 03/27] IB/Verbs: Reform IB-core mad/agent/user_mad

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core mad/agent/user_mad. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty

Re: [PATCH v3 2/2] ARM: at91/dt: add support for kizboxmini

2015-04-16 Thread Alexandre Belloni
On 13/04/2015 at 14:56:14 +0200, Gaël PORTAY wrote : Add DT file for Kizbox mini board. This board is based on Atmel's AT91SAM9G25 SoC. Signed-off-by: Gaël PORTAY g.por...@overkiz.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread George Dunlap
On 04/16/2015 10:20 AM, Daniel Borkmann wrote: So mid term, it would be much more beneficial if you attempt fix the underlying driver issues that actually cause high tx completion delays, instead of reintroducing bufferbloat. So that we all can move forward and not backwards in time. Yes, I

Re: [patch for 4.0] x86: silence warning in /dev/mem support

2015-04-16 Thread Pavel Machek
On Thu 2015-04-16 12:09:54, Ingo Molnar wrote: * Pavel Machek pa...@ucw.cz wrote: The compiler is right, the code is tricky, but it is also correct AFAICT. Signed-off-by: Pavel Machek pa...@ucw.cz diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index

Re: [PATCH] firmware: dmi_scan: Fix ordering of product_uuid

2015-04-16 Thread Jean Delvare
Hi zduan, Thanks for your reply. Le Thursday 16 April 2015 à 14:22 +0800, Zhenzhong Duan a écrit : On 2015/4/15 17:02, Jean Delvare wrote: In function dmi_present(), dmi_walk_early() calls dmi_table(), which calls dmi_decode(), which ultimately calls dmi_save_uuid(). This last function

Re: [RESEND PATCH 0/8] cros_ec: Add multiple EC and protocol v3 support

2015-04-16 Thread Javier Martinez Canillas
Hello, On 04/06/2015 06:14 PM, Javier Martinez Canillas wrote: Newer Chromebooks have more than one Embedded Controller (EC) in the system. These additional ECs are connected through I2C with a host EC which is the one that is connected to the Application Processor (AP) through I2C, SPI or

Re: [PATCH v3 01/28] IB/Verbs: Implement new callback query_transport()

2015-04-16 Thread Michael Wang
Hi, Hal On 04/15/2015 08:36 PM, Hal Rosenstock wrote: On 4/13/2015 8:22 AM, Michael Wang wrote: [snip] __attribute_const__ enum rdma_transport_type @@ -1501,6 +1504,8 @@ struct ib_device { int(*query_port)(struct ib_device *device,

Re: [PATCH] uio: add irq control support to uio_pci_generic

2015-04-16 Thread Michael S. Tsirkin
On Wed, Apr 15, 2015 at 09:59:34AM -0700, Stephen Hemminger wrote: The driver already supported INTX interrupts but had no in kernel function to enable and disable them. It is possible for userspace to do this by accessing PCI config directly, but this racy How is it racy? We have userspace

Re: make mandocs build failure with next-20150407

2015-04-16 Thread Jonathan Corbet
On Thu, 16 Apr 2015 08:33:15 +0900 Masanari Iida standby2...@gmail.com wrote: On Wed, Apr 8, 2015 at 7:41 AM, Jim Davis jim.ep...@gmail.com wrote: DOCPROC Documentation/DocBook/80211.xml Error(.//include/net/mac80211.h:329): Cannot parse enum! Error(.//include/net/mac80211.h:367): Cannot

[PATCH v4 00/27] IB/Verbs: IB Management Helpers

2015-04-16 Thread Michael Wang
Since v3: * Apply suggestions from Sean, Ira, Jason, thanks for the comments :-) and please remind me if I missed anything :-P * No more cap_XX_dev(), all the check are per-port now, use port 1 for cases only care about the cm type, can't support mixing cm type device in future.

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Peter Chen
On Thu, Apr 16, 2015 at 04:59:31PM +0900, Chanwoo Choi wrote: On 04/16/2015 04:13 PM, Ivan T. Ivanov wrote: Hi, On Thu, 2015-04-16 at 16:00 +0900, Chanwoo Choi wrote: Hi Peter, On 04/16/2015 10:59 AM, Peter Chen wrote: Ok, from USB point, external id/vbus value can't decide

[PATCH v4 09/27] IB/Verbs: Reform IB-core verbs/uverbs_cmd/sysfs

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core verbs/uverbs_cmd/sysfs. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty

[PATCH v4 13/27] IB/Verbs: Reserve legacy transport type in 'dev_addr'

2015-04-16 Thread Michael Wang
Reserve the legacy transport type for the 'transport' member of 'struct rdma_dev_addr' until we make sure this is no longer needed. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com

[PATCH v4 10/27] IB/Verbs: Reform cm related part in IB-core cma/ucm

2015-04-16 Thread Michael Wang
Use raw management helpers to reform cm related part in IB-core cma/ucm. These checks focus on the device cm type rather than the port capability, directly pass port 1 works currently, but can't support mixing cm type device in future. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey

[PATCH v4 12/27] IB/Verbs: Reform mcast related part in IB-core cma

2015-04-16 Thread Michael Wang
Use raw management helpers to reform mcast related part in IB-core cma. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty

Re: [PATCH 0/2] Tentative fix for the divide-by-zero on score/paris/..

2015-04-16 Thread Quentin Casasnovas
On Wed, Apr 15, 2015 at 06:43:11PM -0700, Guenter Roeck wrote: For From 2e9abac9cbde18af48951c54d52c9c515f9883a7 Mon Sep 17 00:00:00 2001 From: Quentin Casasnovas quentin.casasno...@oracle.com Date: Wed, 15 Apr 2015 22:39:50 +0200 Subject: [PATCH] modpost: do not try to match the SHT_NUL

Re: [Xen-devel] tcp: refine TSO autosizing causes performance regression on Xen

2015-04-16 Thread George Dunlap
On 04/15/2015 07:19 PM, Eric Dumazet wrote: On Wed, 2015-04-15 at 19:04 +0100, George Dunlap wrote: Maybe you should stop wasting all of our time and just tell us what you're thinking. I think you make me wasting my time. I already gave all the hints in prior discussions. Right, and I

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Mel Gorman
On Thu, Apr 16, 2015 at 05:29:55PM +0900, Minchan Kim wrote: On Thu, Apr 16, 2015 at 09:07:22AM +0100, Mel Gorman wrote: On Thu, Apr 16, 2015 at 03:38:26PM +0900, Minchan Kim wrote: Hello Mel, On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: On Wed, Apr 15, 2015 at

Re: [PATCH v3] ARM: at91/dt: add support for kizbox2

2015-04-16 Thread Alexandre Belloni
On 13/04/2015 at 14:57:16 +0200, Gaël PORTAY wrote : Add DT file for Kizbox 2 board. This board is based on Atmel's SAMA5D31 Cortex-A5 SoC. Signed-off-by: Gaël PORTAY g.por...@overkiz.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Alexandre Belloni

RE: [PATCH v4 2/2] efi: an sysfs interface for user to update efi firmware

2015-04-16 Thread Kweh, Hock Leong
-Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Wednesday, April 15, 2015 9:19 PM On Wed, Apr 15, 2015 at 11:32:29AM +, Kweh, Hock Leong wrote: -Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org]

[PATCH v2] ASoC: Add support for NAU8825 codec to ASoC

2015-04-16 Thread Chih-Chiang Chang
The NAU88L25 is an ultra-low power high performance audio codec designed for smartphone, tablet PC, and other portable devices by Nuvoton, now add linux driver support for it. Signed-off-by: Chih-Chiang Chang ccchan...@nuvoton.com --- v2-v1: - fixes according to Lars-Peter Clausen's review

Re: [RESEND PATCH 4/8] mfd: cros_ec: Use a zero-length array for command data

2015-04-16 Thread Javier Martinez Canillas
Hello Heiko, [snip] On 04/16/2015 11:45 AM, Heiko Stübner wrote: /* Module initialization */ @@ -269,3 +301,4 @@ void ec_dev_sysfs_remove(struct cros_ec_device *ec) { sysfs_remove_group(ec-vdev-kobj, ec_attr_group); } + .git/rebase-apply/patch:893: new blank line at EOF.

Re: Sending caps to userspace (Re: [GIT PULL] kdbus for 4.1-rc1)

2015-04-16 Thread Daniel Mack
On 04/15/2015 05:42 PM, Andy Lutomirski wrote: On Apr 15, 2015 5:00 AM, Greg Kroah-Hartman I looked. AFAICT polkit doesn't use caps. Systemd does (look for VTABLE_CAP and the associated code) for reasons that escape me. I have yet to find a single cap-guarded method in the systemd code

Re: [PATCH v3 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-16 Thread Roger Quadros
On 16/04/15 10:00, Chanwoo Choi wrote: Hi Peter, On 04/16/2015 10:59 AM, Peter Chen wrote: On Wed, Apr 15, 2015 at 06:26:23PM +0900, Chanwoo Choi wrote: Hi Roger and Peter, On 04/15/2015 04:50 PM, Roger Quadros wrote: On 15/04/15 06:27, Peter Chen wrote: On Tue, Apr 14, 2015 at

Re: [PATCH 1/3] drm/msm: match wait_for_completion_timeout return type

2015-04-16 Thread Nicholas Mc Guire
On Mon, 13 Apr 2015, Thierry Reding wrote: On Sat, Apr 11, 2015 at 03:10:36PM +0200, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, this patch assigns the return value of wait_for_completion_timeout to an appropriately typed and named

Re: [PATCHv2 1/3] phy: core: Add devm_of_phy_get_by_index to phy-core

2015-04-16 Thread Peter Chen
On Mon, Apr 13, 2015 at 03:10:45PM -0700, Arun Ramamurthy wrote: Some generic drivers, such as ehci, may use multiple phys and for such drivers referencing phy(s) by name(s) does not make sense. Instead of inventing new naming schemes and using custom code to iterate through them, such drivers

[PATCH 2/3] f2fs: avoid abnormal behavior on broken symlink

2015-04-16 Thread Jaegeuk Kim
When f2fs_symlink was triggered and checkpoint was done before syncing its link path, f2fs can get broken symlink like xxx - \0\0\0. This incurs abnormal path_walk by VFS. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/namei.c | 20 +++- 1 file changed, 19

[PATCH 1/3] f2fs: flush symlink path to avoid broken symlink after POR

2015-04-16 Thread Jaegeuk Kim
This patch tries to avoid broken symlink case after POR in best effort. This results in performance regression. But, if f2fs has inline_data and the target path is under 3KB-sized long, the page would be stored in its inode_block, so that there would be no performance regression. Note that, if

[PATCH 3/3] f2fs: pass checkpoint reason on roll-forward recovery

2015-04-16 Thread Jaegeuk Kim
This patch adds CP_RECOVERY to remain recovery information for checkpoint. And, it makes sure writing checkpoint in this case. Signed-off-by: Jaegeuk Kim jaeg...@kernel.org --- fs/f2fs/checkpoint.c| 6 +- fs/f2fs/f2fs.h | 1 + fs/f2fs/recovery.c | 2 +-

[git pull] Please pull mpe/linux.git powerpc-4.1-1 tag

2015-04-16 Thread Michael Ellerman
Hi Linus, Please pull powerpc updates for 4.1: The following changes since commit 06e5801b8cb3fc057d88cb4dc03c0b64b2744cda: Linux 4.0-rc4 (2015-03-15 17:38:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.1-1 for

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Mel Gorman
On Thu, Apr 16, 2015 at 03:38:26PM +0900, Minchan Kim wrote: Hello Mel, On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: On Wed, Apr 15, 2015 at 02:16:49PM -0700, Hugh Dickins wrote: On Wed, 15 Apr 2015, Rik van Riel wrote: On 04/15/2015 06:42 AM, Mel Gorman wrote: An

Re: [patch 04/39] sound: Use hrtimer_resolution instead of hrtimer_get_res()

2015-04-16 Thread Takashi Iwai
At Tue, 14 Apr 2015 21:08:30 -, Thomas Gleixner wrote: No point in converting a timespec now that the value is directly accessible. Get rid of the null check while at it. Resolution is guaranteed to be 0. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Jaroslav Kysela

[PATCH 6/6] phy: twl4030-usb: add extcon to report cable connections.

2015-04-16 Thread NeilBrown
From: NeilBrown ne...@suse.de Signed-off-by: NeilBrown ne...@suse.de --- drivers/phy/phy-twl4030-usb.c | 67 + 1 file changed, 67 insertions(+) diff --git a/drivers/phy/phy-twl4030-usb.c b/drivers/phy/phy-twl4030-usb.c index 1d6f3e70193e..c42153d43ec2

[PATCH v4 07/27] IB/Verbs: Reform IB-ulp ipoib

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-ulp ipoib. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty sean.he...@intel.com

[PATCH v4 05/27] IB/Verbs: Reform IB-core sa_query

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core sa_query. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty sean.he...@intel.com

[PATCH v4 04/27] IB/Verbs: Reform IB-core cm

2015-04-16 Thread Michael Wang
Use raw management helpers to reform IB-core cm. Cc: Steve Wise sw...@opengridcomputing.com Cc: Tom Talpey t...@talpey.com Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Doug Ledford dledf...@redhat.com Cc: Ira Weiny ira.we...@intel.com Cc: Sean Hefty sean.he...@intel.com Signed-off-by:

Re: [PATCH 2/4] mm: Send a single IPI to TLB flush multiple pages when unmapping

2015-04-16 Thread Minchan Kim
On Thu, Apr 16, 2015 at 09:07:22AM +0100, Mel Gorman wrote: On Thu, Apr 16, 2015 at 03:38:26PM +0900, Minchan Kim wrote: Hello Mel, On Wed, Apr 15, 2015 at 10:28:55PM +0100, Mel Gorman wrote: On Wed, Apr 15, 2015 at 02:16:49PM -0700, Hugh Dickins wrote: On Wed, 15 Apr 2015, Rik van

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-16 Thread Jiri Kosina
On Wed, 15 Apr 2015, Greg Kroah-Hartman wrote: I originally didn't want to comment on this, but now that you are making this argument for 3rd or 4th time, I can't really resist. What exactly are you trying to prove by the 13k-lines argument? mm/vmscan.c is less that 4k lines. Does

Re: [patch 04/39] sound: Use hrtimer_resolution instead of hrtimer_get_res()

2015-04-16 Thread Thomas Gleixner
On Thu, 16 Apr 2015, Takashi Iwai wrote: At Tue, 14 Apr 2015 21:08:30 -, Thomas Gleixner wrote: No point in converting a timespec now that the value is directly accessible. Get rid of the null check while at it. Resolution is guaranteed to be 0. Signed-off-by: Thomas Gleixner

<    2   3   4   5   6   7   8   9   10   11   >