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

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 vollst

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 think he realized

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

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 >>> http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/33086

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 thes

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

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 CPU_DEAD_

[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. Signed-off-by: Markus Elfring --- driver

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

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 migrate

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 = lookup_page_ext(

[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, 1 insertion(+), 1 deletion(-) d

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, learned that from the

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

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 v

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

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

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; linux-...@vger.kern

[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 a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b

[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 ++- 1 file changed, 25 in

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

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

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

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

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 writes: > >> > >> > Further, REQ_FLUSH/REQ_FUA a

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 and RX DATA TAIL events > incor

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

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 or

[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 changed, 1 insertion(+), 1 deletion(-)

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 is generated based on SCLK and

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 > --- > drivers/scsi/sg.c | 5

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

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 *pdev) > { > - struct mtd_par

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 > http://lists.infradead.org/pipermail/linux-arm-kernel/2015-Mar

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

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

[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 Signed-off-by: Viresh Kumar --- drivers/bas

[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 insertions(+) diff --git a/drivers/base/power/opp/core.c b/dr

[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 --- drivers/base/power/opp/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1

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, if SDMA module is not yet > a

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 driver later on instead of > f

[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 7129c86..5ed03c8 100644 --- a/drivers/c

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 th

[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 +++ b/include/linux/clk-provider.h @@

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

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 sho

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

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: mediatek: mt8173 spi multi

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 creat

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

[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 a/drivers/net/ethernet/stmicro/st

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 >>> "gpio-key,wakeup", "linux,wakeup" boolean property to enab

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 see

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

[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 --- drivers/char/ipmi/ipmi_s

[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 b/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 b/drivers/gpu/drm/drm_modes.c in

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 Philipp -- To unsubscribe from this

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 Ap

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 i

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:

[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 b/drivers/char/nvram.c index cb901b3..

[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 97c2d8d..cb901b3 100644 --- a/drivers/char

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

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; > linux-kernel@vger.kernel

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 SoC is based on ARM Co

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

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

[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. Sampling rate of 8/12/16/24/32/

[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 --- sound/soc/codecs/Kconfig | 4 +

[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 mode 100644 Documentation/devicetree/bindings/sou

[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 | 7 -- drivers/sta

[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 +++--- drivers/staging/rtl8188eu/hal/rtl8188e_dm.c

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 gpio chip. > >> > >> Signed-off-by: Ro

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

2015-11-05 Thread Peter Zijlstra
On Tue, Nov 03, 2015 at 08:45:01AM -0800, Jacob Pan wrote: > Fair enough, I will give that a try, I guess it would be costly > and hard to scale if we were to dequeue/enqueue every se for every > period of injection plus locking. Let me get some data first. Yeah, don't go dequeue/enqueue everythin

Re: [RFC PATCH 0/3] CFS idle injection

2015-11-05 Thread Peter Zijlstra
People, trim your emails! On Wed, Nov 04, 2015 at 08:58:30AM -0800, Jacob Pan wrote: > > I also like #2 too. Specially now that it is not limited to a specific > > platform. One question though, could you still keep the cooling device > > support of it? In some systems, it might make sense to en

Re: [PATCHv2 3/4] arm-cci: Add routines to enable/disable all counters

2015-11-05 Thread Suzuki K. Poulose
On 04/11/15 18:28, Mark Rutland wrote: On Tue, Oct 20, 2015 at 02:05:25PM +0100, Suzuki K. Poulose wrote: Adds helper routines to manipulate the counter controls for all the counters on the CCI PMU. pmu_disable_counters_ctrl: Iterates over the counters, checking the status of each counter and d

Re: [PATCH v4 4/5] regulator: tps65912: Add regulator driver for the TPS65912 PMIC

2015-11-05 Thread Mark Brown
On Wed, Nov 04, 2015 at 09:35:26AM -0600, Andrew F. Davis wrote: > Something I just noticed, when I remove this table, module loading stops > working, even with 'MODULE_ALIAS("platform:tps65912-regulator");'. It > looks like when DT is enabled platform_uevent (drivers/base/platform.c:787) > only s

Re: [PATCH 1/2] arm64: Get existing page protections in split_pmd

2015-11-05 Thread Xishi Qiu
On 2015/11/4 5:48, Laura Abbott wrote: > > Rather than always putting the least restrictived permissions > (PAGE_KERNEL_EXEC) when spliting a pmd into pages, use > the existing permissions from the pmd for the page. > > Signed-off-by: Laura Abbott > --- > arch/arm64/mm/mmu.c | 9 - > 1

Re: [PATCH v9 1/9] perf tools: Add 'perf-config' command

2015-11-05 Thread Taeung Song
Hi, Arnaldo Thanks for your review. > On Nov 4, 2015, at 12:40 AM, Arnaldo Carvalho de Melo > wrote: > > Em Tue, Nov 03, 2015 at 10:50:12AM +0900, Taeung Song escreveu: >> The perf configuration file contains many variables which can make >> the perf command's action more effective. >> But loo

[PATCH 1/3] TPM: Avoid reference to potentially freed memory

2015-11-05 Thread Jarkko Sakkinen
From: Christophe JAILLET Reference to the 'np' node is dropped before dereferencing the 'sizep' and 'basep' pointers, which could by then point to junk if the node has been freed. Refactor code to call 'of_node_put' later. Fixes: c5df39262dd5 ("drivers/char/tpm: Add securityfs support for event

[PATCH 2/3] TPM: revert the list handling logic fixed in 398a1e7

2015-11-05 Thread Jarkko Sakkinen
Mimi reported that afb5abc reverts the fix in 398a1e7. This patch reverts it back. Fixes: afb5abc262e9 ("tpm: two-phase chip management functions") Reported-by: Mimi Zohar Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm-chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 0/3] Fixes for v4.4-rc1

2015-11-05 Thread Jarkko Sakkinen
Critical bug fixes for v4.4-rc1. Christophe JAILLET (1): TPM: Avoid reference to potentially freed memory Jarkko Sakkinen (2): TPM: revert the list handling logic fixed in 398a1e7 tpm: fix missing migratable flag in sealing functionality for TPM2 drivers/char/tpm/tpm-chip.c | 2 +- drive

Re: [PATCHv2 3/4] arm-cci: Add routines to enable/disable all counters

2015-11-05 Thread Suzuki K. Poulose
On 05/11/15 10:14, Suzuki K. Poulose wrote: On 04/11/15 18:28, Mark Rutland wrote: On Tue, Oct 20, 2015 at 02:05:25PM +0100, Suzuki K. Poulose wrote: Adds helper routines to manipulate the counter controls for all the counters on the CCI PMU. +static void pmu_disable_counters_ctrl(struct cci

Re: [KERNEL] Re: [KERNEL] Re: Kernel 4.3 breaks security in systems using capabilities

2015-11-05 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, sorry for the delay. Am Mo den 2. Nov 2015 um 20:45 schrieb Andy Lutomirski: > > Well, the think that changed is that the ambient capabilities can be set > > by any process if the pI and pE are matching for a process. But then, > > that capabi

[PATCH 3/3] tpm: fix missing migratable flag in sealing functionality for TPM2

2015-11-05 Thread Jarkko Sakkinen
The 'migratable' flag was not added to the key payload. This patch fixes the problem. Fixes: 0fe5480303a1 ("keys, trusted: seal/unseal with TPM 2.0 chips") Signed-off-by: Jarkko Sakkinen --- drivers/char/tpm/tpm2-cmd.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff

Re: linux-next: build failure after merge of the thermal-soc tree

2015-11-05 Thread Caesar Wang
在 2015年11月05日 13:01, Stephen Rothwell 写道: Hi Eduardo, After merging the thermal-soc tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/thermal/rockchip_thermal.c: In function 'rockchip_thermal_suspend': drivers/thermal/rockchip_thermal.c:641:2: error: implicit dec

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

2015-11-05 Thread Mark Brown
On Wed, Nov 04, 2015 at 06:33:22PM +, Charles Keepax wrote: > You should probably make a seperate driver within GPIO for this > and then tie the two together, using an MFD. I appreciate that is > more work but it is likely a nicer solution overall. GPIO chips are small and simple enough that

Re: [patch] mm, oom: add comment for why oom_adj exists

2015-11-05 Thread Michal Hocko
On Wed 04-11-15 12:32:14, David Rientjes wrote: > /proc/pid/oom_adj exists solely to avoid breaking existing userspace > binaries that write to the tunable. > > Add a comment in the only possible location within the kernel tree to > describe the situation and motivation for keeping it around. I

Re: [PATCH V2] Intel device IDs Audio

2015-11-05 Thread Takashi Iwai
On Thu, 05 Nov 2015 00:56:09 +0100, Alexandra Yates wrote: > > Adding Intel codename Lewisburg platform device IDs for audio. > > Signed-off-by: Alexandra Yates Thanks. Though, I still believe the position after Wellsburg is best (which is the similar chip that has the same driver type and dri

[PATCH] decnet: remove macro-local declarations

2015-11-05 Thread Julia Lawall
Move the variable declarations from the for_nexthops macro to the surrounding context, so that it is clear where these variables are declared. This also makes it possible to remove the endfor_nexthops macro. This change adds new arguments to the macro for_nexthops. They are ordered such that a p

Re: [PATCH] arm64: Increase the max granular size

2015-11-05 Thread Catalin Marinas
On Thu, Nov 05, 2015 at 01:40:14PM +0900, Joonsoo Kim wrote: > On Tue, Sep 22, 2015 at 07:59:48PM +0200, Robert Richter wrote: > > From: Tirumalesh Chalamarla > > > > Increase the standard cacheline size to avoid having locks in the same > > cacheline. > > > > Cavium's ThunderX core implements c

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

2015-11-05 Thread Nicolas Boichat
On Thu, Nov 5, 2015 at 5:16 PM, Andy Shevchenko wrote: > On Thu, Nov 5, 2015 at 7:50 AM, Nicolas Boichat wrote: [...] >> diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c >> index 563954a..f694031 100644 >> --- a/drivers/spi/spi-mt65xx.c >> +++ b/drivers/spi/spi-mt65xx.c >> @@ -410

Re: [PATCH] crypto: sun4i-ss: add missing statesize

2015-11-05 Thread Chen-Yu Tsai
On Thu, Nov 5, 2015 at 3:48 PM, LABBE Corentin wrote: > sun4i-ss implementaton of md5/sha1 is via ahash algorithms. > A recent change make impossible to load them without giving statesize. > This patch specifiy statesize for sha1 and md5. > > Signed-off-by: LABBE Corentin > Cc: sta...@vger.kernel

Re: [PATCH] leds-bcm6328: Reuse bcm6328_led_set() instead of copying its functionality

2015-11-05 Thread Jacek Anaszewski
Hi Alvaro, On 11/04/2015 04:46 PM, Álvaro Fernández Rojas wrote: Hello Jacek, BCM6328_LED_MODE_ON and BCM6328_LED_MODE_OFF values were extracted from Broadcom's GPL code, in which they assume leds are active low by default. I can confirm the code is correct as it is right now, since those value

  1   2   3   4   5   6   7   8   9   >