[PATCH] mm: migrate: Return false instead of -EAGAIN for dummy functions

2016-09-17 Thread chengang
From: Chen Gang For migrate_misplaced_page and migrate_misplaced_transhuge_page, they are pure Boolean functions and are also used as pure Boolean functions, but the related dummy functions return -EAGAIN. Also change their related pure Boolean function numamigrate_isolate_page. For variable is

Re: [PATCH][V2][Fix commit message] x86/RAS/mce_amd_inj: fix signed wrap around when decrementing index i

2016-09-17 Thread Borislav Petkov
(drop peterz from CC). On Fri, Sep 16, 2016 at 12:22:23PM +0100, Colin King wrote: > From: Colin Ian King > > Integer index i needs to be a signed int rather than unsigned to avoid > a wrap-around when decrementing in the while loop. For example, if the Damn corner cases :-\ > debugfs_create_

[PATCH 1/3] arm: dts: imx6qdl: Fix "WARNING: please, no space before tabs"

2016-09-17 Thread Jagan Teki
From: Jagan Teki Fixed no space before tabs warnings in respetcive imx6qdl dtsi files. Cc: Shawn Guo Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6qdl-apf6dev.dtsi | 14 +++--- arch/arm/boot/dts/imx6qdl-tx6.dtsi | 32 arch/arm/boot/dts/im

[PATCH 2/3] arm: dts: imx6qdl: Fix "ERROR: code indent should use tabs where possible"

2016-09-17 Thread Jagan Teki
From: Jagan Teki Fixed code indent tabs in respetcive imx6qdl dtsi files. Cc: Shawn Guo Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6qdl-gw52xx.dtsi| 4 ++-- arch/arm/boot/dts/imx6qdl-gw53xx.dtsi| 4 ++-- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi| 4 ++-- arch/arm/b

[PATCH 3/3] arm: dts: imx6qdl-wandboard-revb: Fix "ERROR: trailing whitespace"

2016-09-17 Thread Jagan Teki
From: Jagan Teki Fixed error in trailing whitespace in wandboard-rev1 dtsi. Cc: Shawn Guo Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl-wandboard-revb1.dtsi b/arch/arm

Re: [PATCH 2/7] mce, workqueue: remove keventd_up() usage

2016-09-17 Thread Borislav Petkov
On Thu, Sep 15, 2016 at 03:30:16PM -0400, Tejun Heo wrote: > Now that workqueue can handle work item queueing from very early > during boot, there is no need to gate schedule_work() with > keventd_up(). Remove it. > > Signed-off-by: Tejun Heo > Cc: Tony Luck > Cc: Borislav Petkov > Cc: linux-e

Re: [PATCH net-next] rxrpc: Make IPv6 support conditional on CONFIG_IPV6

2016-09-17 Thread David Miller
From: David Howells Date: Sat, 17 Sep 2016 07:26:01 +0100 > Add CONFIG_AF_RXRPC_IPV6 and make the IPv6 support code conditional on it. > This is then made conditional on CONFIG_IPV6. > > Without this, the following can be seen: > >net/built-in.o: In function `rxrpc_init_peer': >>> peer_obje

Re: [PATCH v2] scripts: add script for translating stack dump function offsets

2016-09-17 Thread Rabin Vincent
On Fri, Sep 16, 2016 at 04:26:56PM -0500, Josh Poimboeuf wrote: > + addr2line -ie $objfile $hexaddr Could you pass in -f and -p too to addr2line? Before: $ scripts/faddr2line ~/dev/kvm2/vmlinux free_reserved_area+0x90 /home/rabin/dev/linux/include/linux/compiler.h:222 /home/rabin/dev/linu

[PATCH v4 0/6] blk-mq: generalization and bug fixes for tag allocation

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval This is v4 of the patch series to turn blk-mq's scalable tag allocation into a generic library, fixing a few bugs along the way. This is both cleanup and preparation for coming blk-mq work. v1 is here [1], v2 is here [2], v3 is here [3]. Changes in v4: - Added patch 6 to fi

[PATCH v4 6/6] sbitmap: re-initialize allocation hints after resize

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval After a struct sbitmap_queue is resized smaller, the allocation hints may still be set to bits beyond the new depth of the bitmap. This means that, for example, if the number of blk-mq tags is reduced through sysfs, more requests than the nominal queue depth may be in flight.

[PATCH v4 2/6] sbitmap: allocate wait queues on a specific node

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval The original bt_alloc() we converted from was using kzalloc(), not kzalloc_node(), to allocate the wait queues. This was probably an oversight, so fix it for sbitmap_queue_init_node(). Signed-off-by: Omar Sandoval --- lib/sbitmap.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v4 4/6] sbitmap: push alloc policy into sbitmap_queue

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval Again, there's no point in passing this in every time. Make it part of struct sbitmap_queue and clean up the API. Signed-off-by: Omar Sandoval --- block/blk-mq-tag.c | 33 +++-- block/blk-mq-tag.h | 1 - include/linux/sbitmap.h | 19 ++

[PATCH v4 5/6] sbitmap: randomize initial alloc_hint values

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval In order to get good cache behavior from a sbitmap, we want each CPU to stick to its own cacheline(s) as much as possible. This might happen naturally as the bitmap gets filled up and the alloc_hint values spread out, but we really want this behavior from the start. blk-mq app

[PATCH v4 1/6] blk-mq: abstract tag allocation out into sbitmap library

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval This is a generally useful data structure, so make it available to anyone else who might want to use it. It's also a nice cleanup separating the allocation logic from the rest of the tag handling logic. The code is behind a new Kconfig option, CONFIG_SBITMAP, which is only se

Re: [PATCH 7/7] staging: slicoss: slicoss.c: fix different address space sparse warning

2016-09-17 Thread Greg KH
On Fri, Sep 16, 2016 at 07:05:52PM -0700, Peng Sun wrote: > Signed-off-by: Peng Sun > --- > drivers/staging/slicoss/slicoss.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) And again, I can't take patches without any changelog text at all.

[PATCH v4 3/6] sbitmap: push per-cpu last_tag into sbitmap_queue

2016-09-17 Thread Omar Sandoval
From: Omar Sandoval Allocating your own per-cpu allocation hint separately makes for an awkward API. Instead, allocate the per-cpu hint as part of the struct sbitmap_queue. There's no point for a struct sbitmap_queue without the cache, but you can still use a bare struct sbitmap. Signed-off-by:

Re: [PATCH 0/7] staging: slicoss: fix different address space sparse warnings

2016-09-17 Thread Greg KH
On Fri, Sep 16, 2016 at 07:05:45PM -0700, Peng Sun wrote: > commit-id d221eb9f14f9, "Add linux-next specific files for 20160909" > > add several macros to fix these warnings > > Peng Sun (7): > staging: slicoss: slicoss.c: fix different address space sparse > warning > staging: slicoss: s

Re: [REGRESSION] RLIMIT_DATA crashes named

2016-09-17 Thread Konstantin Khlebnikov
On Sat, Sep 17, 2016 at 7:08 AM, Joe Perches wrote: > On Fri, 2016-09-16 at 17:040700, Linus Torvalds wrote: >> On Fri, Sep 16, 2016 at 4:58 PM, Linus Torvalds >> wrote: >> > Here's a totally untested patch. What do people say? >> Heh. It looks like "pr_xyz_once()" is used in places that haven't

[GIT PULL] Please pull powerpc/linux.git powerpc-4.8-6 tag

2016-09-17 Thread Michael Ellerman
Hi Linus, Please pull some more powerpc fixes for 4.8: The following changes since commit f077aaf0754bcba0fffdbd925bc12f09cd1e38aa: powerpc/mm: Don't alias user region to other regions below PAGE_OFFSET (2016-09-08 13:15:33 +1000) are available in the git repository at: git://git.kernel.o

Re: [PATCH v2] clk: probe common clock drivers earlier

2016-09-17 Thread Greg Kroah-Hartman
On Fri, Sep 16, 2016 at 04:12:45PM -0700, Stephen Boyd wrote: > On 09/16, Masahiro Yamada wrote: > > Hi Stephen, Greg, > > > > > > 2016-05-20 23:49 GMT+09:00 Masahiro Yamada : > > > Several SoCs implement platform drivers for clocks rather than > > > CLK_OF_DECLARE(). Clocks should come earlier

Re: [REGRESSION] RLIMIT_DATA crashes named

2016-09-17 Thread Cyrill Gorcunov
On Sat, Sep 17, 2016 at 11:33:56AM +0300, Konstantin Khlebnikov wrote: > > > > do_just_once just isn't a good name for a global > > rate limited mechanism that does something very > > different than the name. > > > > Maybe allow_once_per_ratelimit or the like > > > > There could be an equivalent do

Re: [PATCH] scripts: add script for translating stack dump function offsets

2016-09-17 Thread Vegard Nossum
On 16 September 2016 at 21:17, Josh Poimboeuf wrote: > On Fri, Sep 16, 2016 at 11:12:10AM -0700, Linus Torvalds wrote: >> Side note: I find addr2line almost completely useless in many cases >> not because of address space randomization, but because of how complex >> the inlining often is. I just h

[PATCH] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-09-17 Thread Peter Rosin
The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. Signed-off-by: Gustaf Lindström Signed-off-by: Peter Rosin --- .../bindings/display/panel/sharp,lq150x1lg11.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 ++ 2 files changed, 34 insertions(

[PATCH v2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-09-17 Thread Peter Rosin
From: Gustaf Lindström The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. Signed-off-by: Gustaf Lindström Signed-off-by: Peter Rosin --- .../bindings/display/panel/sharp,lq150x1lg11.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 ++ 2 file

drivers/net/ethernet/qlogic/qlge/qlge_main.c:4813:1: internal compiler error: in extract_constrain_insn, at recog.c:2190

2016-09-17 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4d2899d73c4734cd04edb9409a72d0ef637cfb06 commit: ac18dd9e842294377dbaf1e8d169493567a81fa1 qlge: Replace create_singlethread_workqueue with alloc_ordered_workqueue date: 5 months ago config: mips-ip27_defco

Re: [PATCH v3 07/21] Documentation/CodingStyle: Convert to ReST markup

2016-09-17 Thread Mauro Carvalho Chehab
Em Fri, 16 Sep 2016 17:34:26 -0300 Mauro Carvalho Chehab escreveu: > Em Fri, 16 Sep 2016 11:13:14 -0600 > Jonathan Corbet escreveu: > > > On Wed, 14 Sep 2016 08:06:36 -0300 > > Mauro Carvalho Chehab wrote: > > > > > - Fix all chapter identation; > > > - add c blocks where needed; > > >

Re: [PATCH 1/2] mtd: add support for partition parsers

2016-09-17 Thread Richard Weinberger
Rafał, On Tue, Jul 19, 2016 at 10:51 PM, Rafał Miłecki wrote: > This extends MTD subsystem by adding a support for partition parsers > that should be used for creating subpartitions. There are some types of > partitions that require splitting, like firmware containers. > It's common some home rou

Re: [PATCH 2/5] mmc: bcm2835-sdhost: Add new driver for the internal SD controller.

2016-09-17 Thread Ulf Hansson
On 9 September 2016 at 20:25, Eric Anholt wrote: > Gerd Hoffmann writes: > >> On Mi, 2016-08-31 at 14:58 +0200, Ulf Hansson wrote: >>> On 22 June 2016 at 13:42, Gerd Hoffmann wrote: >>> > From: Eric Anholt >>> > >>> > The 2835 has two SD controllers: The Arasan SDHCI controller that we >>> > cu

Re: [PATCH v2 0/4] gpio: fix an incorrect lockdep warning

2016-09-17 Thread Wolfram Sang
On Sat, Sep 17, 2016 at 03:19:52AM +0200, Peter Zijlstra wrote: > On Fri, Sep 16, 2016 at 06:02:41PM +0200, Bartosz Golaszewski wrote: > > If an I2C GPIO multiplexer is driven by a GPIO provided by an expander > > when there's a second expander using the same device driver on one of > > the I2C bus

[PATCH][V3] x86/RAS/mce_amd_inj: fix signed wrap around when decrementing index i

2016-09-17 Thread Colin King
From: Colin Ian King Change predecrement compare to post decrement compare to avoid an unsigned integer wrap-around comparisomn when decrementing in the while loop. For example, if the debugfs_create_file fails when i is zero, the current situation will predecrement i in the while loop, wrapping

Re: [PATCH v5 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-09-17 Thread Ksenija Stanojević
On Wed, Aug 31, 2016 at 2:05 PM, Lee Jones wrote: > > On Thu, 18 Aug 2016, Ksenija Stanojevic wrote: > > > Add core files for mxs-lradc MFD driver. > > > > Note: this patch won't compile in iio/testing without this patch: > > a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") > >

[GIT PULL] MMC fixes for v.4.8 rc7

2016-09-17 Thread Ulf Hansson
Hi Linus, Here are some mmc fixes intended for v4.8 rc7. They are based on v4.8-rc6. Details are as usual found in the signed tag. Please pull this in! Kind regards Ulf Hansson The following changes since commit 9395452b4aab7bc2475ef8935b4a4fb99d778d70: Linux 4.8-rc6 (2016-09-11 20:02:25 -0

[PATCH v6 0/4] mxs-lradc: Split driver into MFD

2016-09-17 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28. Ksenija Stanojevic (4): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc: R

[PATCH v6 1/4] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-09-17 Thread Ksenija Stanojevic
Add core files for mxs-lradc MFD driver. Note: this patch won't compile in iio/testing without this patch: a8f447be8056 ("mfd: Add resource managed APIs for mfd_add_devices") Signed-off-by: Ksenija Stanojevic --- Changes in v6: - update copyright - add kernel-doc header for struct mxs-lradc

[PATCH v6 3/4] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-09-17 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v6: - update copyright Changes in v5: - add field void __iomem *base to struct mxs_lradc_ts - change arguments in all functions for accessing I/O memory to follow the previous change. - use devm_ior

[PATCH v6 4/4] iio: adc: mxs-lradc: Remove driver

2016-09-17 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v6: -none Changes in v5: - none Changes in v4: - none Changes in v3: - none Changes in v2: - add to the patchset driver

[PATCH v6 2/4] iio: adc: mxs-lradc: Add support for adc driver

2016-09-17 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v6: - update copyright Changes in v5

Re: [PATCH] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-09-17 Thread Peter Rosin
On 2016-09-17 11:28, Peter Rosin wrote: > The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. > > Signed-off-by: Gustaf Lindström > Signed-off-by: Peter Rosin Oh, crap, I'm not the author of this, I just touched up some trivial things. I'll resend shortly... Cheers, Peter

Re: [RFT] arm64 dts: exynos: Fix invalid GIC interrupt flags in exynos7

2016-09-17 Thread Alim Akhtar
Hi Krzysztof, On 09/17/2016 01:31 AM, Krzysztof Kozlowski wrote: Interrupt of type IRQ_TYPE_NONE is not allowed for GIC interrupts and generates an error: genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type+0x0/0x68) The GIC requires shared interrupts to be edge rising or lev

[PATCH] staging: lustre: lmv: mark symbols static where possible

2016-09-17 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/staging/lustre/lustre/lmv/lmv_obd.c:1640:1: warning: no previous prototype for 'lmv_locate_target_for_name' [-Wmissing-prototypes] drivers/staging/lustre/lustre/lmv/lmv_obd.c:2421:5: warning: no previous prototype for 'lmv_read_page' [-

Re: [REGRESSION] RLIMIT_DATA crashes named

2016-09-17 Thread Konstantin Khlebnikov
On Sat, Sep 17, 2016 at 12:09 PM, Cyrill Gorcunov wrote: > On Sat, Sep 17, 2016 at 11:33:56AM +0300, Konstantin Khlebnikov wrote: >> > >> > do_just_once just isn't a good name for a global >> > rate limited mechanism that does something very >> > different than the name. >> > >> > Maybe allow_once

Re: [REGRESSION] RLIMIT_DATA crashes named

2016-09-17 Thread Cyrill Gorcunov
On Sat, Sep 17, 2016 at 03:09:09PM +0300, Konstantin Khlebnikov wrote: > > > > Seems I don't understand the bottom unlikely... > > This is gcc extrension: > https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html > Here macro works as a function which returns bool no, no, I know for what unlike

Re: [PATCH v2 1/3] gpiolib: Make it possible to exclude GPIOs from IRQ domain

2016-09-17 Thread Marc Zyngier
On Fri, 16 Sep 2016 13:52:41 +0300 Mika Westerberg wrote: Hi Mika, > When using GPIO irqchip helpers to setup irqchip for a gpiolib based > driver, it is not possible to select which GPIOs to add to the IRQ domain. > Instead it just adds all GPIOs which is not always desired. For example > there

[PATCH] staging/lustre: clean function declaration in cl_io.c up

2016-09-17 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/lustre/lustre/obdclass/cl_page.c:488:6: warning: no previous prototype for 'cl_page_disown0' [-Wmissing-prototypes] In fact, this function is declared in drivers/staging/lustre/lustre/obdclass/cl_io.c, but should be removed in a head

[PATCH] staging: lustre: obdclass: clean function declarations in obd_config.c and class_obd.c up

2016-09-17 Thread Baoyou Xie
We get 3 warnings when building kernel with W=1: drivers/staging/lustre/lustre/obdclass/obd_mount.c:705:5: warning: no previous prototype for 'lustre_check_exclusion' [-Wmissing-prototypes] drivers/staging/lustre/lustre/obdclass/obd_mount.c:1226:5: warning: no previous prototype for 'lustre_regi

Re: [PATCH V5] perf tools: adding support for address filters

2016-09-17 Thread Masami Hiramatsu
On Fri, 16 Sep 2016 09:32:43 -0600 Mathieu Poirier wrote: > On 13 September 2016 at 17:25, Masami Hiramatsu wrote: > > On Tue, 13 Sep 2016 08:18:10 -0600 > > Mathieu Poirier wrote: > > > >> On 13 September 2016 at 04:01, Adrian Hunter > >> wrote: > >> > On 12/09/16 20:53, Mathieu Poirier wrot

[PATCH] staging/lustre: clean function declaration in super25.c up

2016-09-17 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/lustre/lustre/obdclass/obd_config.c:719:6: warning: no previous prototype for 'lustre_register_client_process_config' [-Wmissing-prototypes] In fact, this function is declared in drivers/staging/lustre/lustre/llite/super25.c, but sho

Re: [RFC PATCH 9/9] ethernet: sun8i-emac: add pm_runtime support

2016-09-17 Thread Maxime Ripard
On Wed, Sep 14, 2016 at 04:03:04PM +0200, LABBE Corentin wrote: > > > +static int __maybe_unused sun8i_emac_suspend(struct platform_device > > > *pdev, pm_message_t state) > > > +{ > > > + struct net_device *ndev = platform_get_drvdata(pdev); > > > + struct sun8i_emac_priv *priv = netdev_priv(ndev

[PATCH] staging: lustre: clean function declaration in super25.c up

2016-09-17 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/staging/lustre/lnet/selftest/conctl.c:804:1: warning: no previous prototype for 'lstcon_ioctl_entry' [-Wmissing-prototypes] In fact, this function is declared in drivers/staging/lustre/lustre/llite/super25.c, but should be moved into a heade

Re: pull-request: wireless-drivers-next 2016-09-15

2016-09-17 Thread David Miller
From: Kalle Valo Date: Thu, 15 Sep 2016 18:09:21 +0300 > here's the first pull request for 4.9. The ones I want to point out are > the FIELD_PREP() and FIELD_GET() macros added to bitfield.h, which are > reviewed by Linus, and make it possible to remove util.h from mt7601u. > > Also we have new

Re: [PATCH 0/3] constify net_device_ops structures

2016-09-17 Thread David Miller
From: Julia Lawall Date: Thu, 15 Sep 2016 22:23:23 +0200 > Constify net_device_ops structures. All applied, thanks.

Re: [PATCH v2 1/4] clk: sunxi-ng: Add A64 clocks

2016-09-17 Thread Maxime Ripard
Hi, On Sat, Sep 10, 2016 at 11:24:48AM +0800, Chen-Yu Tsai wrote: > > +static SUNXI_CCU_NK_WITH_GATE_LOCK_POSTDIV(pll_periph0_clk, "pll-periph0", > > + "osc24M", 0x028, > > + 8, 5,/* N */ > > +

Re: [PATCH v2 1/4] clk: sunxi-ng: Add A64 clocks

2016-09-17 Thread Maxime Ripard
Hi Stephen, On Wed, Sep 14, 2016 at 02:45:54PM -0700, Stephen Boyd wrote: > On 09/09, Maxime Ripard wrote: > > index 106cba27c331..964f22091a10 100644 > > --- a/drivers/clk/sunxi-ng/Makefile > > +++ b/drivers/clk/sunxi-ng/Makefile > > @@ -22,3 +22,4 @@ obj-$(CONFIG_SUN6I_A31_CCU) += ccu-sun6

[RFC PATCH] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2016-09-17 Thread Duc Dang
PCIe controller in X-Gene SoCs is not ECAM compliant: software needs to configure additional concontroller register to address device at bus:dev:function. This patch depends on "ECAM quirks handling for ARM64 platforms" series (http://www.spinics.net/lists/arm-kernel/msg530692.html) to address the

Re: [PATCH] mtd: Allocate bdi objects dynamically

2016-09-17 Thread Richard Weinberger
On Thu, Aug 4, 2016 at 4:01 PM, Sandeep Jain wrote: > From: Steve Longerbeam > > The MTD backing dev info objects mtd_bdi was statically allocated. > So when MTD is built as a loadable module, this object fall in the > vmalloc address space. > > The problem with that, is that the BDI APIs use wak

Re: [PATCH v4 0/6] blk-mq: generalization and bug fixes for tag allocation

2016-09-17 Thread Jens Axboe
On 09/17/2016 02:28 AM, Omar Sandoval wrote: From: Omar Sandoval This is v4 of the patch series to turn blk-mq's scalable tag allocation into a generic library, fixing a few bugs along the way. This is both cleanup and preparation for coming blk-mq work. Thanks Omar, applied for 4.9. -- Jens

Re: [PATCH v2 3/4] arm64: dts: add Allwinner A64 SoC .dtsi

2016-09-17 Thread Maxime Ripard
On Thu, Sep 15, 2016 at 01:08:45AM +0100, André Przywara wrote: > > --- a/MAINTAINERS > > +++ b/MAINTAINERS > > @@ -982,6 +982,7 @@ M: Chen-Yu Tsai > > L: linux-arm-ker...@lists.infradead.org (moderated for non-subscribers) > > S: Maintained > > N: sun[x456789]i > > +F: arch/arm64/boot/dts

[PATCH] avr32: fix 'undefined reference to `___copy_from_user'

2016-09-17 Thread Guenter Roeck
avr32 builds fail with: arch/avr32/kernel/built-in.o: In function `arch_ptrace': (.text+0x650): undefined reference to `___copy_from_user' arch/avr32/kernel/built-in.o:(___ksymtab+___copy_from_user+0x0): undefined reference to `___copy_from_user' kernel/built-in.o: In function `proc_doulongvec_ms_

[PATCH 00/24] ste_dma40: Fine-tuning for several function implementations

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:56:56 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (24): Use kmalloc_array() in d40_lcla_allocate() Return directly after a failed kmalloc_array() Rename a jump label in d40_lcla_all

[PATCH 01/24] ste_dma40: Use kmalloc_array() in d40_lcla_allocate()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 16 Sep 2016 17:56:07 +0200 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle s

[PATCH 02/24] ste_dma40: Return directly after a failed kmalloc_array()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 08:21:30 +0200 Return directly after a memory allocation failed in this function at the beginning. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/ste_dma

[PATCH 03/24] ste_dma40: Rename a jump label in d40_lcla_allocate()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 08:23:37 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/

[PATCH 04/24] ste_dma40: Move an assignment in d40_lcla_allocate()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 08:24:46 +0200 Move one assignment for the local variable "ret" so that its setting will only be performed after corresponding data processing succeeded by this function. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 3 ++- 1 file chang

[PATCH 05/24] ste_dma40: Improve a size determination in d40_of_probe()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 08:28:05 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mar

[PATCH 06/24] ste_dma40: Replace four kzalloc() calls by kcalloc() in d40_hw_detect_init()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 09:56:32 +0200 * The script "checkpatch.pl" can point information out like the following. WARNING: Prefer kcalloc over kzalloc with multiply Thus fix the affected source code places. * Replace the specification of data types by pointer dereferenc

[PATCH 07/24] ste_dma40: Use kmalloc_array() in d40_hw_detect_init()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 11:44:55 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected also by using the Coccinelle soft

[PATCH 08/24] ste_dma40: Less checks in d40_hw_detect_init() after error detection

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 14:10:47 +0200 Four checks could be repeated by the d40_hw_detect_init() function during error handling even if the passed variables contained a null pointer. * Adjust jump targets according to the Linux coding style convention. * Call the interface "

[PATCH 09/24] ste_dma40: Delete unnecessary variable initialisations in d40_hw_detect_init()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 14:34:18 +0200 Five local variables will be set to an appropriate value a bit later. Thus omit the explicit initialisation which became unnecessary with a previous update step. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 10 +-

[PATCH 10/24] ste_dma40: Adjust the position of a jump label in d40_probe()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 14:36:26 +0200 Add a space character before a single jump label in this function according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 11/24] ste_dma40: Rename a jump label in d40_probe()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 14:50:53 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/driver

[PATCH 12/24] ste_dma40: Rename jump labels in d40_dmaengine_init()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 15:10:15 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/dma/ste_dma40

[PATCH 13/24] ste_dma40: Rename a jump label in d40_alloc_chan_resources()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 15:15:15 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/dr

[PATCH] mtd: s3c2410: add device tree support

2016-09-17 Thread Sergio Prado
Tested on FriendlyARM Mini2440 Signed-off-by: Sergio Prado --- .../devicetree/bindings/mtd/samsung-s3c2410.txt| 70 +++ drivers/mtd/nand/s3c2410.c | 129 - include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 3 files changed, 195 in

[PATCH 14/24] ste_dma40: One check less in d40_prep_sg() after error detection

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 15:34:07 +0200 * Adjust jump targets according to the Linux coding style convention. * Delete a repeated check which became unnecessary with this refactoring. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 11 +-- 1 file changed

[PATCH 15/24] ste_dma40: Move two assignments in d40_prep_sg()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 15:40:05 +0200 Move assignments for two local variables so that their setting will only be performed after corresponding data processing succeeded by this function. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 6 -- 1 file changed,

[PATCH 16/24] ste_dma40: Rename a jump label in d40_prep_desc()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 15:51:37 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/d

[PATCH 17/24] ste_dma40: Move an assignment in d40_prep_desc()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 15:54:12 +0200 Move one assignment for the local variable "cfg" so that its setting will only be performed after a call of the function "d40_desc_get" succeeded by this function. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 3 ++- 1 fi

[PATCH 18/24] ste_dma40: Rename a jump label in d40_is_paused()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:00:05 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/d

[PATCH][linux-next][trivial] treewide: Fix typo in printk

2016-09-17 Thread Masanari Iida
This patch fix spelling typos in printk and kconfig. Signed-off-by: Masanari Iida --- arch/arm64/kernel/hibernate.c | 4 ++-- arch/mips/kernel/asm-offsets.c | 2 +- arch/sh/kernel/cpu/Makefile | 2 +- arch/sh/kernel/cpu/irq/Makef

[PATCH 19/24] ste_dma40: Rename a jump label in d40_free_dma()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:04:46 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/dr

[PATCH 20/24] ste_dma40: Rename a jump label in d40_alloc_mask_free()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:10:41 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/dr

[PATCH 21/24] ste_dma40: Rename jump labels in d40_alloc_mask_set()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:16:42 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 22 ++ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/drivers/d

[PATCH 22/24] ste_dma40: Rename a jump label in dma_tasklet()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:23:43 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/dr

[PATCH 23/24] ste_dma40: Rename a jump label in __d40_execute_command_phy()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:28:54 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/dri

[PATCH 24/24] ste_dma40: Rename a jump label in d40_log_lli_to_lcxa()

2016-09-17 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 17 Sep 2016 16:39:06 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/dma/ste_dma40.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/dma/ste_dma40.c b/dr

Your (Email Address) Outlook exceeded

2016-09-17 Thread Kaitlin Schneekloth
Your (Email Address) Outlook exceeded its storage limit. https://docs.google.com/forms/d/e/1FAIpQLSdtc96pXFgZ5LIOEaRYQaBOvX0ae7kS_RpTukKOq7eI4RASQw/viewform (FILL) and Click on Submit to get more space or you wont be able to send Mail.

Re: [PATCH] mm: migrate: Return false instead of -EAGAIN for dummy functions

2016-09-17 Thread Michal Hocko
On Sat 17-09-16 15:20:36, cheng...@emindsoft.com.cn wrote: > From: Chen Gang > > For migrate_misplaced_page and migrate_misplaced_transhuge_page, they > are pure Boolean functions and are also used as pure Boolean functions, > but the related dummy functions return -EAGAIN. I agree that their re

[PATCH] drm/omap: fix return value check in dsi_bind()

2016-09-17 Thread Wei Yongjun
From: Wei Yongjun Fix the retrn value check which testing the wrong variable in dsi_bind(). Signed-off-by: Wei Yongjun --- drivers/gpu/drm/omapdrm/dss/dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/

arch/cris/arch-v32/mm/intmem.c:148:17: error: initialization from incompatible pointer type

2016-09-17 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4d2899d73c4734cd04edb9409a72d0ef637cfb06 commit: ea8daa7b97842aab8507b5b5b1e3226cf2d514a6 kbuild: Add option to turn incompatible pointer check into error date: 6 months ago config: cris-artpec_3_defconfig

Cannot load linux after recent efi-related changes

2016-09-17 Thread Mike Krinkin
Hello, after commit 3dad6f7f6975 ("x86/efi: Defer efi_esrt_init until after memblock_x86_fill") kernel hits BUG_ON __efi_enter_virtual_mode because efi.systab is NULL. With older kernel versions i face the problem with efi_mem_reserve described in the commit. AFAICS, get_systab_virt_addr called f

net/ipv4/fib_semantics.c:1219:1: internal compiler error: output_operand: unrecognized address

2016-09-17 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4d2899d73c4734cd04edb9409a72d0ef637cfb06 commit: 80610229ef7b26615dbb6cb6e873709a60bacc9f ipv4: reject RTNH_F_DEAD and RTNH_F_LINKDOWN from user space date: 10 weeks ago config: cris-artpec_3_defconfig (at

Re: [RFT] arm64 dts: exynos: Fix invalid GIC interrupt flags in exynos7

2016-09-17 Thread Krzysztof Kozlowski
On Sat, Sep 17, 2016 at 05:06:08PM +0530, Alim Akhtar wrote: > Hi Krzysztof, > > On 09/17/2016 01:31 AM, Krzysztof Kozlowski wrote: > >Interrupt of type IRQ_TYPE_NONE is not allowed for GIC interrupts and > >generates an error: > > genirq: Setting trigger mode 0 for irq 16 failed (gic_set_type

Re: [RFC PATCH 9/9] ethernet: sun8i-emac: add pm_runtime support

2016-09-17 Thread Florian Fainelli
On 09/14/2016 07:03 AM, LABBE Corentin wrote: > On Mon, Sep 12, 2016 at 10:44:51PM +0200, Maxime Ripard wrote: >>> +static int __maybe_unused sun8i_emac_resume(struct platform_device *pdev) >>> +{ >>> + struct net_device *ndev = platform_get_drvdata(pdev); >>> + struct sun8i_emac_priv *priv = n

Re: [PATCH] avr32: fix 'undefined reference to `___copy_from_user'

2016-09-17 Thread Guenter Roeck
On Sat, Sep 17, 2016 at 09:46:58AM -0700, Håvard Skinnemoen wrote: > On Sat, Sep 17, 2016 at 7:56 AM, Guenter Roeck wrote: > > > avr32 builds fail with: > > > > arch/avr32/kernel/built-in.o: In function `arch_ptrace': > > (.text+0x650): undefined reference to `___copy_from_user' > > arch/avr32/ke

Re: [PATCH] avr32: fix 'undefined reference to `___copy_from_user'

2016-09-17 Thread Håvard Skinnemoen
On Sat, Sep 17, 2016 at 7:56 AM, Guenter Roeck wrote: > avr32 builds fail with: > > arch/avr32/kernel/built-in.o: In function `arch_ptrace': > (.text+0x650): undefined reference to `___copy_from_user' > arch/avr32/kernel/built-in.o:(___ksymtab+___copy_from_user+0x0): undefined > reference to `___c

[PATCH v2 1/7] workqueue: make workqueue available early during boot

2016-09-17 Thread Tejun Heo
>From f85002f627f7fdc7b3cda526863f5c9a8d36b997 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Fri, 16 Sep 2016 15:49:32 -0400 Subject: [PATCH] workqueue: make workqueue available early during boot Workqueue is currently initialized in an early init call; however, there are cases where early boot

Re: [PATCH 2/7] mce, workqueue: remove keventd_up() usage

2016-09-17 Thread Tejun Heo
On Sat, Sep 17, 2016 at 09:56:23AM +0200, Borislav Petkov wrote: > > This change depends on an earlier workqueue patch and is followed by a > > patch to remove keventd_up(). It'd be great if it can be routed > > through the wq/for-4.9 branch. > > I don't mind as long as I can call it as early as:

Re: [PATCH 06/10] ARM: dts: exynos: Fix invalid GIC interrupt flags in exynos5

2016-09-17 Thread Alim Akhtar
On Sat, Sep 17, 2016 at 1:12 AM, Krzysztof Kozlowski wrote: > Interrupt of type IRQ_TYPE_NONE is not allowed for GIC interrupts and > generates an error: > genirq: Setting trigger mode 0 for irq 16 failed > (gic_set_type+0x0/0x68) > > The GIC requires shared interrupts to be edge rising o

Re: [PATCH] mtd: s3c2410: add device tree support

2016-09-17 Thread Boris Brezillon
Hi Sergio, On Sat, 17 Sep 2016 12:22:40 -0300 Sergio Prado wrote: > Tested on FriendlyARM Mini2440 > > Signed-off-by: Sergio Prado > --- > .../devicetree/bindings/mtd/samsung-s3c2410.txt| 70 +++ DT maintainers usually ask people to keep the DT bindings doc in a separate patch.

Re: [RFC PATCH 00/10] ARM: dts: exynos: Fix invalid GIC interrupt flags

2016-09-17 Thread Alim Akhtar
Hi Krzysztof, On Sat, Sep 17, 2016 at 1:12 AM, Krzysztof Kozlowski wrote: > Hi, > > Marek (internally), Geert and Alban reported errors like: > genirq: Setting trigger mode 0 for irq 16 failed > (gic_set_type+0x0/0x68) > The patchset fixes this issue. > > Tested on: > 1. Exynos4412: Odro

  1   2   3   >