Re: [PATCH] smpboot: Add smpboot state variables instead of reusing CPU hotplug states

2015-11-05 Thread Daniel Wagner
Hi Paul, I guess this patch got the summer conference period treatment. ACK, NACK, completely STUPID idea? cheers, daniel On 10/15/2015 01:32 PM, Daniel Wagner wrote: > The cpu hotplug state machine in smpboot.c is reusing the states from > cpu.h. That is confusing when it comes to the

Re: [PATCH 3/5] mm, page_owner: copy page owner info during migration

2015-11-05 Thread Joonsoo Kim
On Wed, Nov 04, 2015 at 04:00:59PM +0100, Vlastimil Babka wrote: > The page_owner mechanism stores gfp_flags of an allocation and stack trace > that lead to it. During page migration, the original information is > essentially replaced by the allocation of free page as the migration target. >

Re: [PATCH 1/5] mm, page_owner: print migratetype of a page, not pageblock

2015-11-05 Thread Joonsoo Kim
On Wed, Nov 04, 2015 at 04:00:57PM +0100, Vlastimil Babka wrote: > The information in /sys/kernel/debug/page_owner includes the migratetype > declared during the page allocation via gfp_flags. This is also checked > against > the pageblock's migratetype, and reported as Fallback allocation if

RE: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver

2015-11-05 Thread Gabriele Paoloni
Hi Marc > -Original Message- > From: linux-pci-ow...@vger.kernel.org [mailto:linux-pci-ow...@vger.kernel.org] > On Behalf Of Marc Zyngier > Sent: 04 November 2015 09:04 > To: majun (F); Thomas Gleixner; Jiang Liu; Jason Cooper > Cc: linux-arm-ker...@lists.infradead.org;

[PATCH v3 3/5] stmmac: remove some __func__ printing

2015-11-05 Thread LABBE Corentin
Now that stmmac use netdev_xxx, some __func__ are not necessary since their use was to clearly identify which driver was logging. Moreover, as pointed by Joe Perches, using __func__ in xxx_dbg functions is relatively low value and dynamic debug can add it. This patch remove __func__ where such

RE: [PATCH v5 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-11-05 Thread Pavel Fedin
Hello! > > This patchset also depends on Exynos 5410 pinctrl support, introduced by > > patches 0003 and 0004 from this set: > > [PATCH v4 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/330862.html > > Only

[PATCH] clk: fix a typo in comment block of struct clk_rate_request

2015-11-05 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- include/linux/clk-provider.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 0d233689..02442eb 100644 --- a/include/linux/clk-provider.h +++

RE: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver

2015-11-05 Thread Gabriele Paoloni
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Thursday, November 05, 2015 9:36 AM > To: Gabriele Paoloni; majun (F); Thomas Gleixner; Jiang Liu; Jason > Cooper > Cc: linux-arm-ker...@lists.infradead.org; linux-...@vger.kernel.org; >

RE: [PATCH v5 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-11-05 Thread Pavel Fedin
Hello! > > This patchset also depends on Exynos 5410 pinctrl support, introduced by > > patches 0003 and 0004 from this set: > > [PATCH v4 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs > > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/330862.html > > Only the first patch made up to

Re: [PATCH v5 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-11-05 Thread Krzysztof Kozlowski
On 05.11.2015 16:59, Pavel Fedin wrote: > Hello! > >>> This patchset also depends on Exynos 5410 pinctrl support, introduced by >>> patches 0003 and 0004 from this set: >>> [PATCH v4 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs >>>

Re: [PATCH 1/5] mm, page_owner: print migratetype of a page, not pageblock

2015-11-05 Thread Vlastimil Babka
On 11/05/2015 09:09 AM, Joonsoo Kim wrote: > On Wed, Nov 04, 2015 at 04:00:57PM +0100, Vlastimil Babka wrote: >> The information in /sys/kernel/debug/page_owner includes the migratetype >> declared during the page allocation via gfp_flags. This is also checked >> against >> the pageblock's

Re: [PATCH] PM / OPP: Protect updates to list_dev with mutex

2015-11-05 Thread Viresh Kumar
On 02-11-15, 11:14, Stephen Boyd wrote: > On 10/31, Viresh Kumar wrote: > > I don't know what is wrong (or right) with my exynos 5250 board, but I > > didn't got any splat here even with the right config options (yes I > > should have mentioned that earlier). I have seen this at other times > > as

Re: [PATCH v2 09/11] mtd: drop unnecessary partition parser data

2015-11-05 Thread Boris Brezillon
On Fri, 30 Oct 2015 20:33:28 -0700 Brian Norris wrote: > --- a/drivers/mtd/maps/lantiq-flash.c > +++ b/drivers/mtd/maps/lantiq-flash.c > @@ -110,7 +110,6 @@ ltq_copy_to(struct map_info *map, unsigned long to, > static int > ltq_mtd_probe(struct platform_device

Re: [PATCH v3 6/7] spi: imx: return error from dma channel request

2015-11-05 Thread Sascha Hauer
On Sun, Nov 01, 2015 at 03:41:40PM +0100, Anton Bondarenko wrote: > From: Anton Bondarenko > > On SDMA initialization return exactly the same error, which is > reported by dma_request_slave_channel_reason(), it is a preceding > change to defer SPI DMA initialization,

[PATCH] ipmi: constify some struct and char arrays

2015-11-05 Thread LABBE Corentin
Lots of char arrays could be set as const since they contain only literal char arrays. We could in the same time make const some struct members who are pointer to those const char arrays. Signed-off-by: LABBE Corentin --- drivers/char/ipmi/ipmi_msghandler.c | 7

[PATCH] rtc: sunxi: fix some misceanellous problems

2015-11-05 Thread LABBE Corentin
year must be set as unsigned since it is use with sunxi_rtc_data_year{.min|.max} and as parameter of is_leap_year() which wait for unsigned int. Only tm_year is not unsigned, but it is long. This patch fix also the format of printing of min/max. (must %u since they are unsigned) The parameter to

Re: [PATCH] brd: Refuse improperly aligned discard requests

2015-11-05 Thread Jan Kara
On Thu 05-11-15 04:18:49, Elliott, Robert (Persistent Memory) wrote: > > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Jan Kara > > Sent: Wednesday, November 4, 2015 10:14 AM > > To: ax...@kernel.dk > > Cc:

Re: [PATCH v3 2/7] spi: imx: replace fixed timeout with calculated one

2015-11-05 Thread Sascha Hauer
On Sun, Nov 01, 2015 at 03:41:36PM +0100, Anton Bondarenko wrote: > From: Anton Bondarenko > > Fixed timeout value can fire while transaction is ongoing. This may happen > because there are no strict requirements on SPI transaction duration. > Dynamic timeout value

[PATCH] ARM: dts: zynq: describe SLCR as simple-mfd rather than simple-bus

2015-11-05 Thread Masahiro Yamada
The SLCR (System-Level Control Registers) block is an MFD (Multi Function Device) rather than a bus. "simple-mfd" seems a more suitable compatible string than "simple-bus". Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/zynq-7000.dtsi | 2 +- 1 file

Re: Newbie's question: memory allocation when reclaiming memory

2015-11-05 Thread Vlastimil Babka
On 10/26/2015 12:44 PM, Tetsuo Handa wrote: > May I ask a newbie question? Say, there is some amount of memory pages > which can be reclaimed if they are flushed to storage. And lower layer > might issue memory allocation request in a way which won't cause reclaim > deadlock (e.g. using GFP_NOFS

[PATCH V2 1/4] PM / OPP: Propagate error properly from dev_pm_opp_set_sharing_cpus()

2015-11-05 Thread Viresh Kumar
We are returning 0 even in case of errors, fix it. Cc: 4.3 # 4.3 Fixes: 8d4d4e98acd6 ("PM / OPP: Add helpers for initializing CPU OPPs") Reported-by: Dan Carpenter Reviewed-by: Stephen Boyd Signed-off-by: Viresh Kumar

Re: [PATCH v3 7/7] spi: imx: defer spi initialization, if DMA engine is pending

2015-11-05 Thread Sascha Hauer
On Sun, Nov 01, 2015 at 03:41:41PM +0100, Anton Bondarenko wrote: > From: Anton Bondarenko > > If SPI device supports DMA mode, but DMA controller is not yet > available due to e.g. a delay in the corresponding kernel module > initialization, retry to initialize SPI

[PATCH] clk: fix codying style of if ... else blocks

2015-11-05 Thread Masahiro Yamada
This code is unreadable due to the blank line between if and else blocks. Signed-off-by: Masahiro Yamada --- drivers/clk/clk-mux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c index

Re: [PATCH 18/19] ARM: dts: ste: replace legacy *,wakeup property with wakeup-source

2015-11-05 Thread Linus Walleij
On Tue, Oct 27, 2015 at 1:46 PM, Sudeep Holla wrote: > On 27/10/15 12:34, Linus Walleij wrote: >> On Wed, Oct 21, 2015 at 12:10 PM, Sudeep Holla >> wrote: >> >>> Though the keyboard and other driver will continue to support the legacy >>>

[PATCH] net: stmmac: fix double-initialization of phy_iface

2015-11-05 Thread LABBE Corentin
The variable phy_iface is double-initialized to itself. This patch remove that. Reported-by: coverity (CID 1271141) Signed-off-by: LABBE Corentin --- drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] livepatch: Cleanup page permission changes

2015-11-05 Thread Jiri Kosina
On Wed, 4 Nov 2015, Josh Poimboeuf wrote: > > > int klp_write_module_reloc(struct module *mod, unsigned long type, > > > unsigned long loc, unsigned long value) > > > { > > > - int ret, numpages, size = 4; > > > - bool readonly; > > > + int size = 4; > > > > BTW I don't

Re: [PATCH] reset: remove redundant $(CONFIG_RESET_CONTROLLER) from Makefile

2015-11-05 Thread Philipp Zabel
Am Donnerstag, den 05.11.2015, 17:17 +0900 schrieb Masahiro Yamada: > The directory drivers/reset/ is guarded by CONFIG_RESET_CONTROLLER > in driver/Makefile. > > CONFIG_RESET_CONTROLLER is boolean, so it always evaluates to 'y' > in drivers/reset/Makefile. > > Signed-off-by: Masahiro Yamada

[PATCH 2/2] char/nvram: fix style issues

2015-11-05 Thread LABBE Corentin
This patch fix some style issue reported by checkpatch.pl. Signed-off-by: LABBE Corentin --- drivers/char/nvram.c | 75 1 file changed, 35 insertions(+), 40 deletions(-) diff --git a/drivers/char/nvram.c

[PATCH 1/2] char/nvram: set array of const as const

2015-11-05 Thread LABBE Corentin
Some array of const char are not set as const. This patch fix that. Signed-off-by: LABBE Corentin --- drivers/char/nvram.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c index

[PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-05 Thread Shunqian Zheng
From: ZhengShunQian RK3036 SoC integrated with an Inno audio codec. This driver implements the functions of it. There is not need a special machine driver, since the simple-card machine driver works perfect in this case. Signed-off-by: ZhengShunQian

[PATCH v2 0/2] Audio Codec Driver of RK3036 SoC

2015-11-05 Thread Shunqian Zheng
From: ZhengShunQian This patches add the RK3036 SoC codec driver. Rockchip RK3036 SoC integrated with an Inno audio codec. It supports the following features: o. 24bit DAC o. Support 16Ω to 32Ω headphone output and speaker output o. Support Mono, Stereo channel o.

[PATCH v2 2/2] ASoC: RK3036: Add binding doc of inno-rk3036 codec driver

2015-11-05 Thread Shunqian Zheng
From: ZhengShunQian This patch add the binding document of inno-rk3036 audio codec driver. Signed-off-by: ZhengShunQian --- .../devicetree/bindings/sound/inno-rk3036.txt| 20 1 file changed, 20 insertions(+) create

darlehen

2015-11-05 Thread HARRY FRANZ
Guten Tag Herr / Frau, Hiermit möchten wir Sie informieren, dass PRIVATE HOME MANAGEMENT LTD ist die Gewährung von Ende des Jahres Darlehensfazilitäten zu alten und neuen Kunden bei 2% niedriger inerest Rate. bitte geben Sie uns die folgenden Informationen, wenn interessiert. Ihr

Re: [patch 02/14] x86/apic: Implement single target IPI function for x2apic_cluster

2015-11-05 Thread Thomas Gleixner
On Wed, 4 Nov 2015, Linus Torvalds wrote: > On Wed, Nov 4, 2015 at 10:38 PM, Ingo Molnar wrote: > > > > but in the above sequence I think we can do even better: we don't need the > > local_irq_save()/restore() I think. > > Right. Thomas added that one to my patch. > > I don't

[PATCH] staging/rdma/hfi1: Delete unnecessary checks before two function calls

2015-11-05 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 5 Nov 2015 08:41:00 +0100 The functions "sc_return_credits" and "vfree" perform also input parameter validation. Thus the tests around their calls are not needed. This issue was detected by using the Coccinelle software.

Re: [PATCH v2 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-05 Thread Laurent Vivier
On 05/11/2015 00:06, Brian King wrote: > On 11/04/2015 07:02 AM, Hannes Reinecke wrote: >> On 11/04/2015 12:46 PM, Laurent Vivier wrote: >>> >>> >>> On 04/11/2015 12:16, Hannes Reinecke wrote: On 11/04/2015 11:20 AM, Laurent Vivier wrote: > QEMU allows until 32 LUNs. > >

[PATCH v3 1/5] stmmac: replace all pr_xxx by their netdev_xxx counterpart

2015-11-05 Thread LABBE Corentin
The stmmac driver use lots of pr_xxx functions to print information. This is bad since we cannot know which device logs the information. (moreover if two stmmac device are present) Furthermore, it seems that it assumes wrongly that all logs will always be subsequent by using a dev_xxx then some

RE: [PATCH v5 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-11-05 Thread Pavel Fedin
Hello! > >>> This patchset also depends on Exynos 5410 pinctrl support, introduced by > >>> patches 0003 and 0004 from this set: > >>> [PATCH v4 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs > >>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/330862.html > >> > >> Only the first

Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting

2015-11-05 Thread Vladimir Davydov
On Tue, Nov 03, 2015 at 05:26:15PM +0200, Kirill A. Shutemov wrote: ... > @@ -56,23 +56,69 @@ static int page_idle_clear_pte_refs_one(struct page *page, > { > struct mm_struct *mm = vma->vm_mm; > spinlock_t *ptl; > + pgd_t *pgd; > + pud_t *pud; > pmd_t *pmd; >

Re: [RFC v2 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2015-11-05 Thread Philipp Zabel
Hi Jitao, some things I missed before. Am Montag, den 02.11.2015, 10:09 +0800 schrieb Jitao Shi: [...] > +static int ps8640_regr(struct i2c_client *client, u16 i2c_addr, > +u8 reg, u8 *value) > +{ > + int ret; > + > + client->addr = i2c_addr; I think i2c_new_dummy

Re: [Xen-devel] Linux 4.4 MW: Boot under Xen fails with CONFIG_DEBUG_WX enabled: RIP: ptdump_walk_pgd_level_core

2015-11-05 Thread Sander Eikelenboom
On 2015-11-05 00:13, Boris Ostrovsky wrote: On 11/04/2015 03:02 PM, Sander Eikelenboom wrote: On 2015-11-04 19:47, Stephen Smalley wrote: On 11/04/2015 01:28 PM, Sander Eikelenboom wrote: On 2015-11-04 16:52, Stephen Smalley wrote: On 11/04/2015 06:55 AM, Sander Eikelenboom wrote: Hi All,

Re: [PATCH] spi: mediatek: single device does not require cs_gpios

2015-11-05 Thread Andy Shevchenko
On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: > When only one device is present, it is not necessary to specify > cs_gpios, as the CS line can be controlled by the hardware > module. > > Without this patch, older device tree bindings used before > 37457607 "spi:

Re: [BUG, bisect, PATCH 04/10] tpm: move the PPI attributes to character device directory.

2015-11-05 Thread Jarkko Sakkinen
On Wed, Nov 04, 2015 at 10:17:05AM -0800, Jeremiah Mahler wrote: > Jarkko, all, > > On Fri, Oct 16, 2015 at 09:40:23PM +0300, Jarkko Sakkinen wrote: > > Moved PPI attributes to the character device directory. This aligns with > > the sysfs guidelines and makes them race free because they are

Re: [PATCH] reset: check return value of reset_controller_register()

2015-11-05 Thread Philipp Zabel
Am Donnerstag, den 05.11.2015, 14:54 +0900 schrieb Masahiro Yamada: > Currently, reset_controller_register() always return 0, but it would > be better to check its return code. > > Signed-off-by: Masahiro Yamada Applied with Sören's Acked-by, thanks. regards

[PATCH V4] PM / OPP: Add debugfs support

2015-11-05 Thread Viresh Kumar
This patch adds debugfs support to OPP layer to export OPPs and their properties for all the devices. This creates a top level directory: /sys/kernel/debug/opp and then device specific directories (based on device names) inside it. For example: 'cpu0', 'cpu1', etc.. If multiple devices share the

[PATCH] i2c: taos-evm: replace simple_strtoul by kstrtou8

2015-11-05 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtou8. Signed-off-by: LABBE Corentin --- drivers/i2c/busses/i2c-taos-evm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-taos-evm.c

[PATCH] drm: modes: replace simple_strtoul by kstrtouint

2015-11-05 Thread LABBE Corentin
The simple_strtoul function is marked as obsolete. This patch replace it by kstrtouint. Signed-off-by: LABBE Corentin --- drivers/gpu/drm/drm_modes.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_modes.c

Re: [PATCH RESEND 3/4] ARM: BCM: Add SMP support for Broadcom NSP

2015-11-05 Thread Linus Walleij
On Thu, Nov 5, 2015 at 6:51 AM, Kapil Hali wrote: > Add SMP support for Broadcom's Northstar Plus SoC, > cpu enable method and pen_release procedures. This > changes also consolidates iProc family's - BCM NSP > and BCM Kona, SMP handling in a common file. > > Northstar Plus

Re: [PATCH] ASoC: wm9713: add gpio chip

2015-11-05 Thread Charles Keepax
On Wed, Nov 04, 2015 at 08:35:18PM +0100, Robert Jarzmik wrote: > Charles Keepax writes: > > > On Wed, Nov 04, 2015 at 06:12:44PM +0100, Robert Jarzmik wrote: > >> The Wolfson WM9713 provides 8 GPIOs. If the gpiolib is compiled in the > >> kernel, declare a

Re: [PATCH 3/5] mm, page_owner: copy page owner info during migration

2015-11-05 Thread Vlastimil Babka
On 11/05/2015 09:10 AM, Joonsoo Kim wrote: > On Wed, Nov 04, 2015 at 04:00:59PM +0100, Vlastimil Babka wrote: >> +void __copy_page_owner(struct page *oldpage, struct page *newpage) >> +{ >> +struct page_ext *old_ext = lookup_page_ext(oldpage); >> +struct page_ext *new_ext =

Re: [PATCH] staging/rdma/hfi1: Delete unnecessary checks before two function calls

2015-11-05 Thread Dan Carpenter
On Thu, Nov 05, 2015 at 09:10:47AM +0100, SF Markus Elfring wrote: > diff --git a/drivers/staging/rdma/hfi1/file_ops.c > b/drivers/staging/rdma/hfi1/file_ops.c > index aae9826..204d1d0 100644 > --- a/drivers/staging/rdma/hfi1/file_ops.c > +++ b/drivers/staging/rdma/hfi1/file_ops.c > @@ -313,7

[PATCH] reset: remove redundant $(CONFIG_RESET_CONTROLLER) from Makefile

2015-11-05 Thread Masahiro Yamada
The directory drivers/reset/ is guarded by CONFIG_RESET_CONTROLLER in driver/Makefile. CONFIG_RESET_CONTROLLER is boolean, so it always evaluates to 'y' in drivers/reset/Makefile. Signed-off-by: Masahiro Yamada --- drivers/reset/Makefile | 2 +- 1 file changed,

Re: [patch 00/14] x86/apic: Implement single target IPI callback

2015-11-05 Thread Thomas Gleixner
On Wed, 4 Nov 2015, Linus Torvalds wrote: > On Wed, Nov 4, 2015 at 2:56 PM, Thomas Gleixner wrote: > > > > Compiles and didn't explode when booting it, so it must be perfect :) > > I have taught you well, young padawan. The young padawan, who is a grumpy old grandpa today,

Re: [PATCH 3/5] mm, page_owner: copy page owner info during migration

2015-11-05 Thread Joonsoo Kim
On Thu, Nov 05, 2015 at 09:17:33AM +0100, Vlastimil Babka wrote: > On 11/05/2015 09:10 AM, Joonsoo Kim wrote: > > On Wed, Nov 04, 2015 at 04:00:59PM +0100, Vlastimil Babka wrote: > >> +void __copy_page_owner(struct page *oldpage, struct page *newpage) > >> +{ > >> + struct page_ext *old_ext =

Re: [PATCH v3 1/7] spi: imx: Fix DMA transfer

2015-11-05 Thread Sascha Hauer
On Sun, Nov 01, 2015 at 03:41:35PM +0100, Anton Bondarenko wrote: > From: Anton Bondarenko > > RX DMA tail data handling doesn't work correctly in many cases with > current implementation. It happens because SPI core was setup > to generates both RX watermark level

Re: [RFC 00/11] DAX fsynx/msync support

2015-11-05 Thread Dave Chinner
[ sorry for slow response, been without an internet connection for ~36 hours ] On Mon, Nov 02, 2015 at 04:02:48PM -0500, Jeff Moyer wrote: > Dave Chinner writes: > > > On Mon, Nov 02, 2015 at 09:22:15AM -0500, Jeff Moyer wrote: > >> Dave Chinner

Re: [PATCH 3/4] scsi: fix compiler warning for sg

2015-11-05 Thread Andy Shevchenko
On Thu, Nov 5, 2015 at 6:46 AM, Sinan Kaya wrote: > The MULDIV macro has been designed for small > numbers. It emits an overflow warning on 64 bit > systems. This patch places type casts in the > parameters to fix the compiler warning. > > Signed-off-by: Sinan Kaya

[PATCH V2 4/4] PM / OPP: Add opp_rcu_lockdep_assert() to _find_device_opp()

2015-11-05 Thread Viresh Kumar
_find_device_opp() should be called with rcu-read lock or dev_opp_list_lock held. Add the opp_rcu_lockdep_assert() check to make sure caller have taken appropriate locks. Fix comment over the routine as well. Cc: 4.3 # 4.3 Suggested-by: Stephen Boyd

[PATCH V2 3/4] PM / OPP: Hold dev_opp_list_lock for writers

2015-11-05 Thread Viresh Kumar
Writers need to update OPP device and their list with dev_opp_list_lock mutex held, which was missed at few places. Fix it. Cc: 4.3 # 4.3 Signed-off-by: Viresh Kumar --- drivers/base/power/opp/core.c | 9 + 1 file changed, 9

Re: [PATCH v5 0/4] Exynos SROMc configuration and Ethernet support for SMDK5410

2015-11-05 Thread Krzysztof Kozlowski
On 05.11.2015 17:44, Pavel Fedin wrote: > Hello! > > This patchset also depends on Exynos 5410 pinctrl support, introduced by > patches 0003 and 0004 from this set: > [PATCH v4 0/5] ARM: EXYNOS: ODROID-XU DT and LEDs >

Re: [PATCH v2 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-05 Thread Hannes Reinecke
On 11/05/2015 12:06 AM, Brian King wrote: > On 11/04/2015 07:02 AM, Hannes Reinecke wrote: >> On 11/04/2015 12:46 PM, Laurent Vivier wrote: >>> >>> >>> On 04/11/2015 12:16, Hannes Reinecke wrote: On 11/04/2015 11:20 AM, Laurent Vivier wrote: > QEMU allows until 32 LUNs. > >

[PATCH V2 2/4] PM / OPP: Protect updates to list_dev with mutex

2015-11-05 Thread Viresh Kumar
dev_opp_list_lock is used everywhere to protect device and OPP lists, but dev_pm_opp_set_sharing_cpus() is missed somehow. And instead we used rcu-lock, which wouldn't help here as we are adding a new list_dev. This also fixes a problem where we have called kzalloc(..., GFP_KERNEL) from within

Re: [PATCH] livepatch: Cleanup page permission changes

2015-11-05 Thread Jiri Kosina
On Thu, 5 Nov 2015, Jiri Kosina wrote: > > > > +#ifdef CONFIG_DEBUG_SET_MODULE_RONX > > > > +static void set_page_attributes(void *start, void *end, > > > > + int (*set)(unsigned long start, int > > > > num_pages)) > > > > +{ > > > > + unsigned long begin_pfn

Re: [PATCH v2] pwm-backlight: fix the panel power sequence

2015-11-05 Thread Philipp Zabel
Am Mittwoch, den 04.11.2015, 09:47 +0800 schrieb YH Huang: > On Tue, 2015-11-03 at 12:08 +0100, Philipp Zabel wrote: > > Hi YH, > > > > Am Dienstag, den 03.11.2015, 16:11 +0800 schrieb YH Huang: > > > > The reasoning is that devices where there is no phandle link pointing to > > > > the backlight

[PATCH v2 1/2] staging: rtl8188eu: rarely used macros replaced by their definitions

2015-11-05 Thread Ivan Safonov
IS_* macros (except one) occur only once. Signed-off-by: Ivan Safonov --- Changes in v2: - All e-mail addresses of get_mainterner.pl script for this patch placed to the cc header. drivers/staging/rtl8188eu/hal/hal_com.c | 14 +++---

[PATCH v2 2/2] staging: rtl8188eu: unused macros removed

2015-11-05 Thread Ivan Safonov
IS_* and GET_CVID_* macros have not been used. Signed-off-by: Ivan Safonov --- Changes in v2: - All e-mail addresses of get_mainterner.pl script for this patch placed to the cc header. - Patch description corrected. drivers/staging/rtl8188eu/core/rtw_ioctl_set.c |

Re: [PATCH V2] mm: fix kernel crash in khugepaged thread

2015-11-05 Thread Vlastimil Babka
On 10/29/2015 01:35 AM, Kirill A. Shutemov wrote: > On Mon, Oct 26, 2015 at 06:39:20PM +0800, yalin wang wrote: >> This crash is caused by NULL pointer deference, in page_to_pfn() marco, >> when page == NULL : >> >> [ 182.639154 ] Unable to handle kernel NULL pointer dereference at virtual >>

Re: [PATCH 1/5] mm, page_owner: print migratetype of a page, not pageblock

2015-11-05 Thread Joonsoo Kim
On Thu, Nov 05, 2015 at 09:15:01AM +0100, Vlastimil Babka wrote: > On 11/05/2015 09:09 AM, Joonsoo Kim wrote: > > On Wed, Nov 04, 2015 at 04:00:57PM +0100, Vlastimil Babka wrote: > >> The information in /sys/kernel/debug/page_owner includes the migratetype > >> declared during the page allocation

[PATCH v3 4/5] stmmac: Fix simple style problem

2015-11-05 Thread LABBE Corentin
This patch fix the following warnings: - braces {} should be used on all arms of this statement - Prefer seq_puts to seq_printf - No space is necessary after a cast - Missing a blank line after declarations - Please don't use multiple blank lines - Comparison to NULL could be written - networking

[PATCH v3] stmmac: improve logging

2015-11-05 Thread LABBE Corentin
Hello This patch series try to improve logging of the stmmac driver. Changes since v2 - Rollback to dev_ for some early init printing - rebased on 4.4-rc1 Changes since v1 - Use netdev_xxx instead of dev_xxx - Use netif_xxx instead of "if (netif_msg_type) dev_xxx" Regards -- To unsubscribe

[PATCH v3 5/5] net: stmmac: replace if (netif_msg_type) by their netif_xxx counterpart

2015-11-05 Thread LABBE Corentin
As sugested by Joe Perches, we could replace all if (netif_msg_type(priv)) dev_xxx(priv->devices, ...) by the simplier macro netif_xxx(priv, hw, priv->dev, ...) Signed-off-by: LABBE Corentin --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 58

[PATCH v3 2/5] stmmac: replace hardcoded function name by __func__

2015-11-05 Thread LABBE Corentin
Some printing have the function name hardcoded. It is better to use __func__ instead. Signed-off-by: LABBE Corentin --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH V2] mm: fix kernel crash in khugepaged thread

2015-11-05 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 09:12:34AM +0100, Vlastimil Babka wrote: > On 10/29/2015 01:35 AM, Kirill A. Shutemov wrote: > >> @@ -2605,9 +2603,9 @@ out_unmap: > >>/* collapse_huge_page will return with the mmap_sem released */ > >>collapse_huge_page(mm, address, hpage, vma,

Re: [PATCH 3/4] thp: fix split vs. unmap race

2015-11-05 Thread Kirill A. Shutemov
On Wed, Nov 04, 2015 at 05:20:15PM +0800, Hillf Danton wrote: > > @@ -1135,20 +1135,12 @@ void do_page_add_anon_rmap(struct page *page, > > bool compound = flags & RMAP_COMPOUND; > > bool first; > > > > - if (PageTransCompound(page)) { > > + if (compound) { > > + atomic_t

Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting

2015-11-05 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 12:10:13PM +0300, Vladimir Davydov wrote: > On Tue, Nov 03, 2015 at 05:26:15PM +0200, Kirill A. Shutemov wrote: > ... > > @@ -56,23 +56,69 @@ static int page_idle_clear_pte_refs_one(struct page > > *page, > > { > > struct mm_struct *mm = vma->vm_mm; > > spinlock_t

Re: [PATCH RFC 7/7] irqchip: [Example] dummy wired interrupt/MSI bridge driver

2015-11-05 Thread Marc Zyngier
On 05/11/15 08:25, Gabriele Paoloni wrote: > Hi Marc > >> -Original Message- >> From: linux-pci-ow...@vger.kernel.org >> [mailto:linux-pci-ow...@vger.kernel.org] >> On Behalf Of Marc Zyngier >> Sent: 04 November 2015 09:04 >> To: majun (F); Thomas Gleixner; Jiang Liu; Jason Cooper >> Cc:

Re: [PATCH RESEND 0/4] SMP support for Broadcom NSP

2015-11-05 Thread Russell King - ARM Linux
On Thu, Nov 05, 2015 at 12:51:17AM -0500, Kapil Hali wrote: > Hi, > > This series adds SMP support for Broadcom's Northstar Plus SoC. > > There are similar SMP enablement methods for many ARMv7 bsed SoCs. > BCM NSP SoC, has a typical such mechanism - after power-on, the > secondary core is held

Re: [PATCH] arm: Use kernel mm when updating section permissions

2015-11-05 Thread Russell King - ARM Linux
On Wed, Nov 04, 2015 at 05:00:39PM -0800, Laura Abbott wrote: > Currently, read only permissions are not being applied even > when CONFIG_DEBUG_RODATA is set. This is because section_update > uses current->mm for adjusting the page tables. current->mm > need not be equivalent to the kernel

Re: [PATCH v1 1/4] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-05 Thread Shunqian Zheng
Mark, I sended the v2 patches and fixed the follows, On 2015年10月20日 03:09, Mark Brown wrote: On Tue, Oct 13, 2015 at 09:01:06AM +0800, Shunqian Zheng wrote: +config SND_SOC_INNO_RK3036 + tristate "Inno codec driver for RK3036 SoC" + depends on ARCH_ROCKCHIP + There doesn't appear

Re: [PATCH] kconfig: fix missing symbol error

2015-11-05 Thread kbuild test robot
Hi yalin, [auto build test WARNING on: v4.3-rc7] [also build test WARNING on: next-20151105] url: https://github.com/0day-ci/linux/commits/yalin-wang/kconfig-fix-missing-symbol-error/20151105-204811 config: x86_64-allmodconfig (attached as .config) reproduce: # save the attached

RE: [PATCH 1/2] perf probe: Only call probe_file__get_events() when fd is valid

2015-11-05 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >In system with kprobe enabled but uprobe turned off, 'perf probe -d' >causes segfault because it calls probe_file__get_events() with a >negative fd (when deleting uprobe events). Hmm, OK. This may happen if user runs perf probe on the kernel which

Re: [RFC PATCH 3/3] sched: introduce synchronized idle injection

2015-11-05 Thread Arjan van de Ven
On 11/5/2015 2:09 AM, Peter Zijlstra wrote: I can see such a scheme having a fairly big impact on latency, esp. with forced idleness such as this. That's not going to be popular for many workloads. idle injection is a last ditch effort in thermal management, before this gets used the hardware

RE: [PATCH 1/1] staging: rdma: hfi1 : Prefer using the BIT macro

2015-11-05 Thread Marciniszyn, Mike
> Subject: [PATCH 1/1] staging: rdma: hfi1 : Prefer using the BIT macro > > This patch replaces bit shifting on 1 with the BIT(x) macro > > Signed-off-by: Sunny Kumar > --- Nak. The patch leaves the shift in. Mike -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 3/7] doc:bindings:Document for hi655x pmic driver

2015-11-05 Thread Mark Brown
On Thu, Nov 05, 2015 at 09:34:44PM +0800, Chen Feng wrote: > +Required properties: > +- compatible: Must be "hisilicon,hi655x-regulator-pmic"; If this is a subfunction of a MFD it shouldn't have a compatible string. If it is instead a standalone device it should just have a name in the form

Re: GPF in shm_lock ipc

2015-11-05 Thread Kirill A. Shutemov
Dmitry Vyukov wrote: > On Tue, Oct 13, 2015 at 8:30 PM, Kirill A. Shutemov > wrote: > > On Mon, Oct 12, 2015 at 08:18:21PM -0700, Davidlohr Bueso wrote: > >> On Mon, 12 Oct 2015, Bueso wrote: > >> > >> >On Mon, 12 Oct 2015, Kirill A. Shutemov wrote: > >> > > >> >>On Mon, Oct

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-05 Thread Tomasz Nowicki
On 14.10.2015 08:29, Jiang Liu wrote: Introduce common interface acpi_pci_root_create() and related data structures to create PCI root bus for ACPI PCI host bridges. It will be used to kill duplicated arch specific code for IA64 and x86. It may also help ARM64 in future. Reviewed-by: Lorenzo

Re: [PATCH v7] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-05 Thread Rob Herring
On Tue, Nov 03, 2015 at 08:53:47PM +0530, Bharat Kumar Gogada wrote: > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > Signed-off-by: Bharat Kumar Gogada > Signed-off-by: Ravi Kiran Gummaluri > --- > Removed msi_controller and added

Re: [PATCH 4/7] mfd: hi655x: Add hi665x pmic driver

2015-11-05 Thread Mark Brown
On Thu, Nov 05, 2015 at 09:34:45PM +0800, Chen Feng wrote: > +config MFD_HI655X_PMIC > +bool "HiSilicon Hi655X series PMU/Codec IC" Why is this bool and not tristate? > +depends on ARCH_HISI Can we have an || COMPILE_TEST here? > +static irqreturn_t hi655x_pmic_irq_handler(int

Re: [PATCH V2 1/3] dma: add Qualcomm Technologies HIDMA management driver

2015-11-05 Thread Rob Herring
On Mon, Nov 2, 2015 at 12:30 PM, Timur Tabi wrote: > On 11/02/2015 12:25 PM, Rob Herring wrote: >> >> Then document it with "" and fill that in later. Just don't make >> up version numbers. > > > I don't think you understand. We literally have no name for our chip. The >

Re: [PATCH v6 01/17] arm64:ilp32: add documentation on the ILP32 ABI for ARM64

2015-11-05 Thread Arnd Bergmann
On Tuesday 03 November 2015 02:30:30 Yury Norov wrote: > From: Philipp Tomsich > > Based on Andrew Pinski's original patch-series and adapted with changes > to reduce the duplication of code-paths and resolve issue found during > LTP testing. > >

Re: [RFC PATCH 3/3] sched: introduce synchronized idle injection

2015-11-05 Thread Peter Zijlstra
On Thu, Nov 05, 2015 at 06:22:58AM -0800, Arjan van de Ven wrote: > On 11/5/2015 2:09 AM, Peter Zijlstra wrote: > > >I can see such a scheme having a fairly big impact on latency, esp. with > >forced idleness such as this. That's not going to be popular for many > >workloads. > > idle injection

Re: [Linaro-acpi] [PATCH v8 5/5] Watchdog: introduce ARM SBSA watchdog driver

2015-11-05 Thread Fu Wei
Hi Timur, On 5 November 2015 at 22:08, Timur Tabi wrote: > Fu Wei wrote: >> >> SBSA 2.3 Page 23 : >> Note: the watchdog offset register is 32 bits wide. This gives a >> maximum watch period of around 10s at a system >> counter frequency of 400MHz. If a larger watch period

Re: [PATCH v3 2/5] mfd: arizona: Update DT bindings to add CS47L24 and WM1831

2015-11-05 Thread Rob Herring
On Tue, Nov 03, 2015 at 03:08:33PM +, Richard Fitzgerald wrote: > This updates the Arizona MFD device tree bindings to add the > Cirrus Logic CS47L24 and WM1831 codecs. Note that unlike all the > other codecs the DCVDD-supply and MICVDD-supply are mandatory. > > Signed-off-by: Richard

Re: [PATCH V4] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

2015-11-05 Thread Felipe Balbi
Hi, Peter Chen writes: > On Tue, Nov 03, 2015 at 09:51:11PM -0600, Felipe Balbi wrote: >> >> Hi, >> >> Peter Chen writes: >> > On Tue, Nov 03, 2015 at 07:56:55AM -0600, Felipe Balbi wrote: >> >> >> >> Hi, >> >> >> >> Nathan Sullivan

Re: [PATCH RFC 0/7] Adding core support for wire-MSI bridges

2015-11-05 Thread Thomas Gleixner
On Thu, 5 Nov 2015, Marc Zyngier wrote: > On 04/11/15 13:34, Thomas Gleixner wrote: > > Marc, > > > > On Fri, 16 Oct 2015, Marc Zyngier wrote: > >> On 16/10/15 02:55, Jiang Liu wrote: > >>> There's a working to enable Intel VMD storage device, which > >>> has the similar requirement. Basically

Re: [PATCH v2 1/5] spi: introduce mmap read support for spi flash devices

2015-11-05 Thread Vignesh R
On 11/04/2015 08:09 PM, Mark Brown wrote: > On Tue, Nov 03, 2015 at 03:36:10PM +0530, Vignesh R wrote: > >> +} >> +mutex_lock(>mmap_lock_mutex); >> +ret = master->spi_mtd_mmap_read(spi, from, len, retlen, buf, >> +read_opcode, addr_width, >> +

Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting

2015-11-05 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 03:07:26PM +0300, Vladimir Davydov wrote: > @@ -849,30 +836,23 @@ static int page_referenced_one(struct page *page, > struct vm_area_struct *vma, > if (pmd_page(*pmd) != page) > goto unlock_pmd; > > - if (vma->vm_flags &

Re: [PATCH v2 1/2] ASoC: codec: Inno codec driver for RK3036 SoC

2015-11-05 Thread LABBE Corentin
On Thu, Nov 05, 2015 at 05:53:13PM +0800, Shunqian Zheng wrote: > From: ZhengShunQian > > RK3036 SoC integrated with an Inno audio codec. > This driver implements the functions of it. > > There is not need a special machine driver, since the > simple-card machine driver

Re: [PATCH 1/3] staging: lustre: Delete unnecessary checks before two function calls

2015-11-05 Thread Dan Carpenter
I don't like these patches because relying on hidden sanity checks makes the code harder to read. I am CC'd on all these patches because of kernel-janitors and normally I ignore them but this is drivers/staging so I am invested in this code. Feel free to send them to other subsystems though.

Re: [PATCH 4/4] mm: prepare page_referenced() and page_idle to new THP refcounting

2015-11-05 Thread Kirill A. Shutemov
On Thu, Nov 05, 2015 at 03:53:54PM +0300, Vladimir Davydov wrote: > On Thu, Nov 05, 2015 at 02:36:06PM +0200, Kirill A. Shutemov wrote: > > On Thu, Nov 05, 2015 at 03:07:26PM +0300, Vladimir Davydov wrote: > > > @@ -849,30 +836,23 @@ static int page_referenced_one(struct page *page, > > > struct

  1   2   3   4   5   6   7   8   9   10   >