Re: [PATCH] GenWQE: drop duplicate headers

2016-11-28 Thread Frank Haverkamp
Hi Geliang, > On 23 Nov 2016, at 15:24, Geliang Tang wrote: > > Drop duplicate headers module.h and delay.h. > > Signed-off-by: Geliang Tang > --- > drivers/misc/genwqe/card_base.c | 1 - > drivers/misc/genwqe/card_ddcb.c | 1 - > drivers/misc/genwqe/card_utils.c | 1 - > 3 files changed, 3 de

[PATCH] drm/virtio: fix framebuffer sparse warning

2016-11-28 Thread Gerd Hoffmann
virtio uses normal ram as backing storage for the framebuffer, so we should assign the address to new screen_buffer (added by commit 17a7b0b4d9749f80d365d7baff5dec2f54b0e992) instead of screen_base. Reported-by: Michael S. Tsirkin Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-28 Thread Vlastimil Babka
On 11/22/2016 10:46 PM, Simon Kirby wrote: On Tue, Nov 22, 2016 at 05:14:02PM +0100, Vlastimil Babka wrote: On 11/22/2016 05:06 PM, Marc MERLIN wrote: On Mon, Nov 21, 2016 at 01:56:39PM -0800, Marc MERLIN wrote: On Mon, Nov 21, 2016 at 10:50:20PM +0100, Vlastimil Babka wrote: 4.9rc5 however

Re: [PATCH v3] module: extend 'rodata=off' boot cmdline parameter to module mappings

2016-11-28 Thread Andreas Ziegler
_ variable should be CONFIG_DEBUG_SET_MODULE_RONX instead of CONFIG_SET_MODULE_RONX (note the missing DEBUG). I noticed it by running 'scripts/checkkconfigsymbols -f --force -f next-20161124..next-20161128', which is essentialy diffing the last two linux-next releases and looks for undefined/unknown Kco

Re: [PATCH 2/2] net: dsa: mv88e6xxx: Add 88E6176 device tree support

2016-11-28 Thread Uwe Kleine-König
Hello Andrew, On Mon, Nov 28, 2016 at 12:10:09AM +0100, Andrew Lunn wrote: > > Try to see it from my perspective: I see that some vf610 device I don't > > have (found via `git grep marvell,mv88e6` or so) uses > > "marvell,mv88e6085". I then assume it has that device on board. How > > would I know

Re: [PATCH v2 1/3] ARM: davinci: hawk: use gpio descriptor for mmc pins

2016-11-28 Thread Sekhar Nori
On Thursday 24 November 2016 08:34 PM, Axel Haslam wrote: > Currently the mmc driver is polling the gpio to know if the > card was removed. > > By using a gpio descriptor instead of the platform callbacks, > the driver will be able to register the gpio using the mmc core > API's designed for this

Re: [PATCH v3 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2016-11-28 Thread Boris Brezillon
On Mon, 28 Nov 2016 06:50:31 +0100 Lukasz Majewski wrote: > Dear Stefan, Boris, > > > On 2016-11-23 00:38, Boris Brezillon wrote: > > > On Tue, 22 Nov 2016 13:55:33 -0800 > > > Stefan Agner wrote: > > > > > >> On 2016-11-01 00:10, Lukasz Majewski wrote: > > >> > This commit provides appl

Re: [PATCH v2 2/3] ARM: davinci: da850-evm: use gpio descriptor for mmc pins

2016-11-28 Thread Sekhar Nori
On Thursday 24 November 2016 08:34 PM, Axel Haslam wrote: > Currently the mmc driver is polling the gpio to know if the > card was removed. > > By using a gpio descriptor instead of the platform callbacks, > the driver will be able to register the gpio using the mmc core > API's designed for this

Re: [PATCH] mtd: spi-nor: Add at25df321 spi-nor flash support

2016-11-28 Thread Cyrille Pitchen
Le 29/07/2016 à 02:34, wenyou.y...@microchip.com a écrit : > > >> -Original Message- >> From: Jagan Teki [mailto:jt...@openedev.com] >> Sent: 2016年7月26日 16:38 >> To: linux-...@lists.infradead.org >> Cc: David Woodhouse ; linux-kernel@vger.kernel.org; >> Jagan Teki ; Brian Norris >> ; Weny

Re: drivers/staging/greybus/bootrom.c:298:35-39: ERROR: fw is NULL but dereferenced.

2016-11-28 Thread Fengguang Wu
On Sun, Nov 27, 2016 at 12:06:33PM +0100, Greg KH wrote: On Sun, Nov 27, 2016 at 07:11:46AM +0800, kbuild test robot wrote: tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a0d60e62ea5c88a9823410e9d0929a513e29dea2 commit: f44dd184634d401f5cf88a6d8b4a60d5

Re: linux-next: build warning after merge of the wireless-drivers-next tree

2016-11-28 Thread Barry Day
On Mon, Nov 28, 2016 at 09:25:30AM +0200, Kalle Valo wrote: > Stephen Rothwell writes: > > > Hi all, > > > > After merging the wireless-drivers-next tree, today's linux-next build > > (x86_64 allmodconfig) produced this warning: > > > > In file included from include/linux/usb/ch9.h:35:0, > >

Re: [PATCH v2] mtd: spi-nor: Add support for N25Q016A

2016-11-28 Thread Cyrille Pitchen
Le 15/07/2016 à 19:12, Jagan Teki a écrit : > On 15 July 2016 at 22:33, Moritz Fischer wrote: >> This commit adds support in the spi-nor driver for the >> N25Q016A, a 16Mbit SPI NOR flash from Micron. >> >> Cc: David Woodhouse >> Cc: Brian Norris >> Cc: Jagan Teki >> >> Signed-off-by: Moritz Fi

Re: [PATCH 3.12 118/127] cgroup: use an ordered workqueue for cgroup destruction

2016-11-28 Thread Jiri Slaby
On 11/26/2016, 09:55 PM, Hugh Dickins wrote: > On Fri, 25 Nov 2016, Jiri Slaby wrote: > >> From: Hugh Dickins >> >> 3.12-stable review patch. If anyone has any objections, please let me know. >> >> === >> >> commit ab3f5faa6255a0eb4f832675507d9e295ca7e9ba upstream. >> >> Sometimes th

Re: linux-next: manual merge of the edac-amd tree with the edac tree

2016-11-28 Thread Borislav Petkov
On Mon, Nov 28, 2016 at 02:37:26PM +1100, Stephen Rothwell wrote: > Hi Borislav, > > Today's linux-next merge of the edac-amd tree got a conflict in: > > drivers/edac/edac_mc.c > > between commit: > > ef91afa61088 ("edac: move documentation from edac_mc.c to edac_core.h") > > from the edac

Re: [PATCH] usb: gadget: uvc: fix returnvar.cocci warnings

2016-11-28 Thread Christoph Hellwig
On Wed, Nov 23, 2016 at 09:35:36AM +0100, Andrzej Pietrasiewicz wrote: > The ->drop_item() is indeed a void function, the ->drop_link() is > actually not. This, together with the fact that the value of ->drop_link() > is silently ignored suggests, that it is the ->drop_link() return > type that sho

Re: [PATCH] mtd: spi-nor: constify fsl_qspi_devtype_data

2016-11-28 Thread Cyrille Pitchen
Le 16/08/2016 à 14:56, LABBE Corentin a écrit : > All fsl_qspi_devtype_data structures are never modified. > This patch constify them. > > Signed-off-by: LABBE Corentin Applied to git://github.com/spi-nor/linux.git Thanks! > --- > drivers/mtd/spi-nor/fsl-quadspi.c | 8 > 1 file change

Re: [lkp] [mremap] 5d1904204c: will-it-scale.per_thread_ops -13.1% regression

2016-11-28 Thread Aaron Lu
+linux-mm On Mon, Nov 28, 2016 at 02:21:53AM +0800, kernel test robot wrote: > > Greeting, Thanks for the report. > > FYI, we noticed a -13.1% regression of will-it-scale.per_thread_ops due to > commit: I took a look at the test, it 1 creates an eventfd with the counter's initial value set t

Re: [RFC PATCH 3/3] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-11-28 Thread Laurent Pinchart
Hi Neil, Thank you for the patch. On Friday 25 Nov 2016 17:03:11 Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > .../bindings/display/meson/meson-drm.txt | 134 + > 1 file changed, 134 insertions(+) > create mode 100644 > Documentation/devicetree/binding

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-28 Thread Jan Kara
On Fri 25-11-16 16:48:40, Ted Tso wrote: > On Fri, Nov 25, 2016 at 11:51:26AM -0800, Linus Torvalds wrote: > > We do have filesystem code that is just disgusting. As an example: > > fs/afs/ tends to have these crazy "_enter()/_exit()" macros in every > > single function. If you want that, use the f

[PATCH v3] fsl/usb: Workarourd for USB erratum-A005697

2016-11-28 Thread Changming Huang
The EHCI specification states the following in the SUSP bit description: In the Suspend state, the port is sensitive to resume detection. Note that the bit status does not change until the port is suspended and that there may be a delay in suspending a port if there is a transaction currently in pr

[PATCH 0/2] use mmu gather logic for tlb flush in mremap

2016-11-28 Thread Aaron Lu
On Fri, Nov 18, 2016 at 10:48:20AM +0800, Aaron Lu wrote: > On 11/18/2016 01:53 AM, Linus Torvalds wrote: > > I'm not entirely happy with the force_flush vs need_flush games, and I > > really think this code should be updated to use the same "struct > > mmu_gather" that we use for the other TLB flu

[PATCH 1/2] tlb: export tlb_flush_mmu_tlbonly

2016-11-28 Thread Aaron Lu
The mmu gather logic for tlb flush will be used in mremap case so export this function. Signed-off-by: Aaron Lu --- include/asm-generic/tlb.h | 1 + mm/memory.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/asm-generic/tlb.h b/include/asm-generic/tlb

[PATCH 2/2] mremap: use mmu gather logic for tlb flush in mremap

2016-11-28 Thread Aaron Lu
As suggested by Linus, the same mmu gather logic could be used for tlb flush in mremap and this patch just did that. Note that since there is no page added to "struct mmu_gather" for free during mremap, when tlb needs to be flushed, we can use tlb_flush_mmu or tlb_flush_mmu_tlbonly. Using tlb_flus

Re: [PATCH net-next 1/5] net: mvneta: Use cacheable memory to store the rx buffer virtual address

2016-11-28 Thread Jisheng Zhang
Hi Gregory, On Fri, 25 Nov 2016 16:30:14 +0100 Gregory CLEMENT wrote: > Until now the virtual address of the received buffer were stored in the > cookie field of the rx descriptor. However, this field is 32-bits only > which prevents to use the driver on a 64-bits architecture. > > With this pat

Re: drm: GPF in drm_getcap

2016-11-28 Thread Dmitry Vyukov
On Mon, Nov 28, 2016 at 8:14 AM, Michel Dänzer wrote: > On 28/11/16 03:55 PM, Daniel Vetter wrote: >> On Sat, Nov 26, 2016 at 7:22 PM, David Herrmann >> wrote: >>> On Sat, Nov 26, 2016 at 7:07 PM, Dmitry Vyukov wrote: grep "card0" dmesg: [5.298617] device: 'card0': device_add

Re: [PATCH] drm: bridge: dw-hdmi: add ASoC dependency

2016-11-28 Thread Archit Taneja
On 11/28/2016 06:37 AM, Kuninori Morimoto wrote: Hi The newly added sound driver depends on SND_SOC_HDMI_CODEC, which in turn only makes sense when ASoC is enabled, as shown by this warning: warning: (DRM_MSM && DRM_STI && DRM_MEDIATEK_HDMI && DRM_I2C_NXP_TDA998X && DRM_DW_HDMI_I2S_AUDIO) s

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Daniel Vetter
On Mon, Nov 28, 2016 at 08:26:26AM +0100, Peter Zijlstra wrote: > On Sun, Nov 27, 2016 at 04:59:14PM -0700, Jonathan Corbet wrote: > > On Fri, 25 Nov 2016 22:58:14 +0100 > > Peter Zijlstra wrote: > > > > > Not a fan of this. The atomic_ops.txt file needs a lot of love, and I > > > wouldn't want t

Re: [PATCH net-next 0/5] Support Armada 37xx SoC (ARMv8 64-bits) in mvneta driver

2016-11-28 Thread Jisheng Zhang
Hi Gregory, On Fri, 25 Nov 2016 16:30:13 +0100 Gregory CLEMENT wrote: > Hi, > > The Armada 37xx is a new ARMv8 SoC from Marvell using same network > controller as the older Armada 370/38x/XP SoCs. This series adapts the > driver in order to be able to use it on this new SoC. The main changes > a

[PATCH v9 1/7] perf config: Introduce default_config_section and default_config_item for default config key-value pairs

2016-11-28 Thread Taeung Song
When initializing default perf config values, we currently use values of actual type(int, bool, char *, etc.). For example, If there isn't a user config value for 'annotate.use_offset' config variable at ~/.perfconfig, default value for it is 'true' bool type value in perf like below. At ui/brows

Re: [tip:x86/core] x86: Enable Intel Turbo Boost Max Technology 3.0

2016-11-28 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Fri, 25 Nov 2016, Ingo Molnar wrote: > > > > > * tip-bot for Tim Chen wrote: > > > > > Commit-ID: 5e76b2ab36b40ca33023e78725bdc69eafd63134 > > > Gitweb: > > > http://git.kernel.org/tip/5e76b2ab36b40ca33023e78725bdc69eafd63134 > > > Author: Tim Chen >

[PATCH v9 0/7] perf config: Introduce default config key-value pairs arrays

2016-11-28 Thread Taeung Song
Hello, :) When initializing default perf config values, we currently use values of actual type(int, bool, char *, etc.). But I suggest using default config key-value pairs arrays. For example, If there isn't a user config value for 'annotate.use_offset' config variable at ~/.perfconfig, default v

[PATCH v9 5/7] perf config: Initialize ui_browser__colorsets with default config items

2016-11-28 Thread Taeung Song
Set default config values for 'colors' section with 'colors_config_items[]' instead of actual const char * type values. (e.g. using colors_config_item[CONFIG_COLORS_TOP].value.s instead of "red, default" string value for 'colors.top') Cc: Namhyung Kim Cc: Jiri Olsa Cc: Wang Nan Signed-off-by: T

[PATCH v9 4/7] perf config: Use combined {fore,back}ground colors value instead of each two color

2016-11-28 Thread Taeung Song
To easily set default config values into actual variables for 'colors' config, it would be better that actual variables for each 'colors' config have only one value like 'default_config_item' type. If we use combined {fore,back}ground colors values in ui_browser_colorset, it smoothly work to initi

[PATCH v9 6/7] perf config: Add default section and item arrays for 'annotate' config

2016-11-28 Thread Taeung Song
Actual values for default configs of 'annotate' section is like below. (at ui/browsers/annoate.c) static struct annotate_browser_opt { bool hide_src_code, use_offset, jump_arrows, show_linenr, show_nr_jumps, show_total_period

Re: [git pull] vfs fix

2016-11-28 Thread Yan, Zheng
> On 27 Nov 2016, at 10:51, Al Viro wrote: > > On Sun, Nov 27, 2016 at 02:25:09AM +, Al Viro wrote: > >> Anyway, leaving that BUG_ON() had been wrong; I can send a followup >> massaging that thing as you've suggested, if you are interested in >> that. But keep in mind that the whole iov_it

[PATCH v9 7/7] perf config: Initialize annotate_browser__opts with default config items

2016-11-28 Thread Taeung Song
Set default config values for 'annotate' section with 'annotate_config_items[]' instead of actual bool type values. (e.g. using annotate_config_items[CONFIG_ANNOTATE_USE_OFFSET].value.b instead of 'true' bool type value for 'annotate.use_offset'.) Cc: Namhyung Kim Cc: Jiri Olsa Cc: Wang Nan Sig

[PATCH v9 2/7] perf config: Add macros assigning key-value pairs to default_config_item

2016-11-28 Thread Taeung Song
In near future, default_config_item arrays will be added (e.g. const struct default_config_item colors_config_items[]) To simply assign config key-value pairs to default_config_item, add macros that are CONF_VAR() and CONF_*_VAR() for each type. Cc: Namhyung Kim Cc: Jiri Olsa Cc: Wang Nan Signe

[PATCH v9 3/7] perf config: Add default section and item arrays for 'colors' config

2016-11-28 Thread Taeung Song
Actual values for default configs of 'colors' section is like below. (at ui/browser.c) static struct ui_browser_colorset { const char *name, *fg, *bg; int colorset; } ui_browser__colorsets[] = { { .colorset = HE_COLORSET_TOP, .name = "top

Re: [PATCH v8 4/8] x86/sysctl: Add sysctl for ITMT scheduling feature

2016-11-28 Thread Borislav Petkov
On Tue, Nov 22, 2016 at 12:23:56PM -0800, Tim Chen wrote: > Intel Turbo Boost Max Technology 3.0 (ITMT) feature > allows some cores to be boosted to higher turbo > frequency than others. > > Add /proc/sys/kernel/sched_itmt_enabled so operator > can enable/disable scheduling of tasks that favor cor

Re: drivers/staging/greybus/bootrom.c:298:35-39: ERROR: fw is NULL but dereferenced.

2016-11-28 Thread Julia Lawall
On Mon, 28 Nov 2016, Fengguang Wu wrote: > On Sun, Nov 27, 2016 at 12:06:33PM +0100, Greg KH wrote: > > On Sun, Nov 27, 2016 at 07:11:46AM +0800, kbuild test robot wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > > master > > > head: a0d60e62ea5c88a98

Re: [PATCH 1/6] perf config: Add support for getting config key-value pairs

2016-11-28 Thread Taeung Song
Good morning!! Arnaldo :) On 11/15/2016 12:50 AM, Arnaldo Carvalho de Melo wrote: Em Fri, Nov 04, 2016 at 03:44:17PM +0900, Taeung Song escreveu: Add a functionality getting specific config key-value pairs. For the syntax examples, perf config [] [section.name ...] e.g. To query config i

Re: [kbuild-all] drivers/staging/greybus/bootrom.c:298:35-39: ERROR: fw is NULL but dereferenced.

2016-11-28 Thread Fengguang Wu
On Mon, Nov 28, 2016 at 09:59:52AM +0100, Julia Lawall wrote: On Mon, 28 Nov 2016, Fengguang Wu wrote: On Sun, Nov 27, 2016 at 12:06:33PM +0100, Greg KH wrote: > On Sun, Nov 27, 2016 at 07:11:46AM +0800, kbuild test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torv

Re: [PATCH 3/6] dax: add tracepoint infrastructure, PMD tracing

2016-11-28 Thread Dave Chinner
On Sun, Nov 27, 2016 at 04:58:43PM -0800, Linus Torvalds wrote: > On Sun, Nov 27, 2016 at 2:42 PM, Dave Chinner wrote: > > > > And that's exactly why we need a method of marking tracepoints as > > stable. How else are we going to know whether a specific tracepoint > > is stable if the kernel code

Fwd: [POC/RFC PATCH] overlayfs: constant inode numbers

2016-11-28 Thread Amir Goldstein
[Re-adding CC list] On Sat, Nov 26, 2016 at 10:14 AM, Amir Goldstein wrote: > > On Friday, November 25, 2016, Miklos Szeredi wrote: >> >> Here's a really preliminary patch to allow inode numbers to be constant >> across >> copy ups and be consistent between st_ino and d_ino. >> >> It only works

Re: [RFC 1/1] LSM ptags: Add tagging of processes

2016-11-28 Thread José Bollo
Le samedi 26 novembre 2016 à 13:25 +0900, Tetsuo Handa a écrit : > Jose Bollo wrote: > > +/** > > + * is_valid_utf8 - Is buffer a valid utf8 string? snip > Do we really need to check UTF-8 inside kernel? What do you do if > people start using UTF-32 in the future? There was a discussion > about use

Re: [PATCH 0/7] hv: CPU onlining/offlining fixes and improvements

2016-11-28 Thread Vitaly Kuznetsov
Dexuan Cui writes: >> From: Stephen Hemminger [mailto:step...@networkplumber.org] >> Sent: Sunday, November 27, 2016 01:06 >> To: Vitaly Kuznetsov >> Cc: de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; KY Srinivasan >> ; Haiyang Zhang ; Dexuan Cui >> >> Subject: Re: [PATCH 0/7] hv:

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-28 Thread Russell King - ARM Linux
On Mon, Nov 28, 2016 at 06:56:52AM +, Kuninori Morimoto wrote: > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get(). > This patch adds it. This is based on devm_clk_get() > > Signed-off-by: Kuninori Morimoto Please put this in drivers/clk/clk-devres.c, where you'll find that

Re: [PATCH v3] module: extend 'rodata=off' boot cmdline parameter to module mappings

2016-11-28 Thread AKASHI Takahiro
.) Rusty, Jessica, should I submit v4 to correct it? -Takahiro AKASHI > I noticed it by running 'scripts/checkkconfigsymbols -f --force -f > next-20161124..next-20161128', which is essentialy diffing the last two > linux-next releases and looks for undefined/unknown Kconfig

Re: [PATCH 1/1] net: macb: ensure ordering write to re-enable RX smoothly

2016-11-28 Thread Nicolas Ferre
Le 28/11/2016 à 08:57, Zumeng Chen a écrit : > When a hardware issue happened as described by inline comments, the register > write pattern looks like the following: > > > + wmb(); > > > There might be a memory barrier between these two write operations, so add wmb > to ensure an flip fro

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
Hi Russell > > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get(). > > This patch adds it. This is based on devm_clk_get() > > > > Signed-off-by: Kuninori Morimoto > > Please put this in drivers/clk/clk-devres.c, where you'll find that > we have devm_clk_release() which is iden

Re: [RFC PATCH 3/3] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-11-28 Thread Neil Armstrong
Hi Laurent, On 11/28/2016 09:33 AM, Laurent Pinchart wrote: > Hi Neil, > > Thank you for the patch. > > On Friday 25 Nov 2016 17:03:11 Neil Armstrong wrote: >> Signed-off-by: Neil Armstrong >> --- >> .../bindings/display/meson/meson-drm.txt | 134 + >> 1 file changed,

Re: [PATCH 07/22] mm/vmstat: Drop get_online_cpus() from init_cpu_node_state/vmstat_cpu_dead()

2016-11-28 Thread Michal Hocko
On Sun 27-11-16 00:13:35, Sebastian Andrzej Siewior wrote: > Both functions are called with protection against cpu hotplug already so > *_online_cpus() could be dropped. > > Cc: Andrew Morton > Cc: Vlastimil Babka > Cc: Mel Gorman > Cc: Johannes Weiner > Cc: linux...@kvack.org > Signed-off-by:

Re: [PATCH V4 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-28 Thread Jon Hunter
On 25/11/16 17:49, Laxman Dewangan wrote: > > On Friday 25 November 2016 10:59 PM, Jon Hunter wrote: >> On 25/11/16 12:04, Laxman Dewangan wrote: >>> Thanks Thierry for review. >>> >>> On Friday 25 November 2016 03:27 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Thu,

Re: [PATCH 08/22] mm/vmstat: Avoid on each online CPU loops

2016-11-28 Thread Michal Hocko
On Sun 27-11-16 00:13:36, Sebastian Andrzej Siewior wrote: [...] > static void __init init_cpu_node_state(void) > { > - int cpu; > + int node; > > - for_each_online_cpu(cpu) > - node_set_state(cpu_to_node(cpu), N_CPU); > + for_each_online_node(node) > + n

Re: [PATCH] vfio/pci: Support error recovery

2016-11-28 Thread Cao jin
On 11/28/2016 11:00 AM, Michael S. Tsirkin wrote: On Sun, Nov 27, 2016 at 07:34:17PM +0800, Cao jin wrote: It is user space driver's or device-specific driver's(in guest) responsbility to do a serious recovery when error happened. Link-reset is one part of recovery, when pci device is assigned

Re: [PATCH] net: macb: Write only necessary bits in NCR in macb reset

2016-11-28 Thread Nicolas Ferre
Le 28/11/2016 à 10:23, Harini Katakam a écrit : > In macb_reset_hw, use read-modify-write to disable RX and TX. > This way exiting settings and reserved bits wont be disturbed. Yes, indeed... but I would have liked a line about how you discovered it was an issue for you ; what did it break, etc..

Re: [PATCH V4 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-28 Thread Jon Hunter
On 25/11/16 17:45, Laxman Dewangan wrote: > > On Friday 25 November 2016 10:56 PM, Jon Hunter wrote: >> On 25/11/16 09:57, Thierry Reding wrote: >>> * PGP Signed by an unknown key >>> >>> On Thu, Nov 24, 2016 at 02:08:54PM +0530, Laxman Dewangan wrote: >> ... >> diff --git a/drivers/pinctrl/

[PATCH v3] clkdev: add devm_of_clk_get()

2016-11-28 Thread Kuninori Morimoto
From: Kuninori Morimoto Current Linux has of_clk_get(), but doesn't have devm_of_clk_get(). This patch adds it. Signed-off-by: Kuninori Morimoto --- v2 -> v3 - implement in clk-devres.c, and reused existing devm_clk_release() drivers/clk/clk-devres.c | 21 + include/lin

Re: [PATCH v3] cpufreq: brcmstb-cpufreq: CPUfreq driver for older Broadcom STB SoCs

2016-11-28 Thread Andreas Ziegler
after BRCM)? > > I noticed this mistake by running 'scripts/checkkconfigsymbols -f --force -f > next-20161124..next-20161128', which essentialy diffs the last two > linux-next releases and looks for undefined/unknown Kconfig symbols. > You can also run the script on single commits with -c to test them. > > Best regards, > > Andreas >

Re: [RFC PATCH 1/3] drm: Add support for Amlogic Meson Graphic Controller

2016-11-28 Thread Neil Armstrong
Hi Daniel, On 11/28/2016 09:16 AM, Daniel Vetter wrote: > On Fri, Nov 25, 2016 at 05:03:09PM +0100, Neil Armstrong wrote: >> The Amlogic Meson Display controller is composed of several components : >> >> DMC|---VPU (Video Processing >> Unit)|--HHI--| >>| vd

Linux kernel ABI tracker

2016-11-28 Thread Ponomarenko Andrey
Hello, This is a tracker of ABI changes in the new upstream releases of the Linux kernel (defconfig, x86_64): https://abi-laboratory.pro/tracker/timeline/linux/ The tracker performs backward binary compatibility analysis of all public exported symbols and data types (declared in the ".ksymtab"

Re: [RFC PATCH 3/3] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-11-28 Thread Laurent Pinchart
Hi Neil, On Monday 28 Nov 2016 10:23:43 Neil Armstrong wrote: > On 11/28/2016 09:33 AM, Laurent Pinchart wrote: > > On Friday 25 Nov 2016 17:03:11 Neil Armstrong wrote: > >> Signed-off-by: Neil Armstrong > >> --- > >> > >> .../bindings/display/meson/meson-drm.txt | 134 +++

Re: [PATCH V4 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-28 Thread Laxman Dewangan
On Monday 28 November 2016 02:56 PM, Jon Hunter wrote: On 25/11/16 17:49, Laxman Dewangan wrote: In the above dpaux driver, you used the pinctrl framework and its core functionality for the device tree interfacing and client interfacing. The same thing I am saying here, we should not avoid t

Re: [PATCH] net: macb: Write only necessary bits in NCR in macb reset

2016-11-28 Thread Harini Katakam
Hi Nicolas, On Mon, Nov 28, 2016 at 3:01 PM, Nicolas Ferre wrote: > Le 28/11/2016 à 10:23, Harini Katakam a écrit : >> In macb_reset_hw, use read-modify-write to disable RX and TX. >> This way exiting settings and reserved bits wont be disturbed. > > Yes, indeed... but I would have liked a line a

Re: [HMM v13 08/18] mm/hmm: heterogeneous memory management (HMM for short)

2016-11-28 Thread Jerome Glisse
> On 11/27/2016 06:40 PM, Jerome Glisse wrote: > > On Wed, Nov 23, 2016 at 09:33:35AM +0530, Anshuman Khandual wrote: > >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: > > > > [...] > > > >>> + * > >>> + * hmm_vma_migrate(vma, start, end, ops); > >>> + * > >>> + * With ops struct providing 2

Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs.

2016-11-28 Thread Miklos Szeredi
On Fri, Nov 25, 2016 at 08:28:47PM +0100, Quentin Casasnovas wrote: > On Fri, Nov 25, 2016 at 06:09:23PM +0100, Quentin Casasnovas wrote: > > If two overlayfs filesystems are stacked on top of each other, then we need > > to recurse when opening a file. This used to work and was first broken by: >

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.9-6 tag

2016-11-28 Thread Michael Ellerman
Linus Torvalds writes: > On Sat, Nov 26, 2016 at 12:11 AM, Michael Ellerman > wrote: >> >> powerpc fixes for 4.9 #6 >> >> Fixes marked for stable: >> - Set missing wakeup bit in LPCR on POWER9 (Benjamin Herrenschmidt) >> - Fix the early OPAL console wrappers (Oliver O'Halloran) >> - Fixup ke

[PATCH net-next v3 1/4] net: phy: add an option to disable EEE advertisement

2016-11-28 Thread Jerome Brunet
This patch adds an option to disable EEE advertisement in the generic PHY by providing a mask of prohibited modes corresponding to the value found in the MDIO_AN_EEE_ADV register. On some platforms, PHY Low power idle seems to be causing issues, even breaking the link some cases. The patch provide

[PATCH net-next v3 3/4] dt: bindings: add ethernet phy eee-broken-modes option documentation

2016-11-28 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- Documentation/devicetree/bindings/net/phy.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/phy.txt b/Documentation/devicetree/bindings/net/phy.txt index 4627da3d52c4..54749b60a466 100644 --- a/Documentation/devicetre

[PATCH net-next v3 0/4] Fix OdroidC2 Gigabit Tx link issue

2016-11-28 Thread Jerome Brunet
This patchset fixes an issue with the OdroidC2 board (DWMAC + RTL8211F). The platform seems to enter LPI on the Rx path too often while performing relatively high TX transfer. This eventually break the link (both Tx and Rx), and require to bring the interface down and up again to get the Rx path wo

[PATCH net-next v3 4/4] ARM64: dts: meson: odroidc2: disable advertisement EEE for GbE.

2016-11-28 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts index e6e3491d48a5..5624714d2b16 10

[PATCH net-next v3 2/4] dt-bindings: net: add EEE capability constants

2016-11-28 Thread Jerome Brunet
Signed-off-by: Jerome Brunet --- include/dt-bindings/net/mdio.h | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 include/dt-bindings/net/mdio.h diff --git a/include/dt-bindings/net/mdio.h b/include/dt-bindings/net/mdio.h new file mode 100644 index ..99c6

[RFC PATCH 2/2] Documentation: devictree: Add macb mdio bindings

2016-11-28 Thread Harini Katakam
Add documentations for macb mdio driver. Signed-off-by: Harini Katakam --- .../devicetree/bindings/net/macb-mdio.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/macb-mdio.txt diff --git a/Documentation/devicetr

Re: [PATCH 01/22] cpufreq/acpi-cpufreq: Convert to hotplug state machine

2016-11-28 Thread Sebastian Andrzej Siewior
On 2016-11-28 10:45:20 [+0530], Viresh Kumar wrote: > > diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c > > index 297e9128fe9f..2c29cbaca7b5 100644 > > --- a/drivers/cpufreq/acpi-cpufreq.c > > +++ b/drivers/cpufreq/acpi-cpufreq.c > > @@ -922,37 +909,47 @@ static struct

[RFC PATCH 1/2] net: macb: Add MDIO driver for accessing multiple PHY devices

2016-11-28 Thread Harini Katakam
This patch is to add support for the hardware with multiple ethernet MAC controllers and a single MDIO bus connected to multiple PHY devices. MDIO lines are connected to any one of the ethernet MAC controllers and all the PHY devices will be accessed using the PHY maintenance interface in that MAC

[PATCH 01/22 v2] cpufreq/acpi-cpufreq: Convert to hotplug state machine

2016-11-28 Thread Sebastian Andrzej Siewior
Install the callbacks via the state machine. Cc: "Rafael J. Wysocki" Cc: Viresh Kumar Cc: linux...@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- v1…v2: set msrs to NULL on error during init. drivers/cpufreq/acpi-cpufreq.c | 92 - 1 file

[PATCH v6] pwm: add pwm driver for HiSilicon BVT SOCs

2016-11-28 Thread Jian Yuan
From: yuanjian Add PWM driver for the PWM controller found on HiSilicon BVT SOCs, like Hi3519V100, Hi3516CV300, etc. The PWM controller is primarily in charge of controlling P-Iris lens. Reviewed-by: Jiancheng Xue Signed-off-by: Jian Yuan --- Acked-by: Rob Herring Change Log: v6: It support

[PATCH 02/22 v2] cpufreq/acpi-cpufreq: drop rdmsr_on_cpus() usage

2016-11-28 Thread Sebastian Andrzej Siewior
The online / pre_down callback is invoked on the target CPU since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu") which means for the hotplug callback we can use rmdsrl() instead of rdmsr_on_cpus(). This leaves us with set_boost() as the only user which still needs to read

Re: [PATCH 02/22 v2] cpufreq/acpi-cpufreq: drop rdmsr_on_cpus() usage

2016-11-28 Thread Viresh Kumar
On 28-11-16, 10:52, Sebastian Andrzej Siewior wrote: > The online / pre_down callback is invoked on the target CPU since commit > 1cf4f629d9d2 ("cpu/hotplug: Move online calls to hotplugged cpu") which means > for the hotplug callback we can use rmdsrl() instead of rdmsr_on_cpus(). > > This leaves

Re: [PATCH 01/22 v2] cpufreq/acpi-cpufreq: Convert to hotplug state machine

2016-11-28 Thread Viresh Kumar
On 28-11-16, 10:51, Sebastian Andrzej Siewior wrote: > Install the callbacks via the state machine. > > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux...@vger.kernel.org > Signed-off-by: Sebastian Andrzej Siewior > --- > v1…v2: set msrs to NULL on error during init. > > drivers/cpufre

Re: [RFC PATCH 3/3] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-11-28 Thread Neil Armstrong
Hi Laurent, On 11/28/2016 10:37 AM, Laurent Pinchart wrote: > Hi Neil, > > On Monday 28 Nov 2016 10:23:43 Neil Armstrong wrote: >> On 11/28/2016 09:33 AM, Laurent Pinchart wrote: >>> On Friday 25 Nov 2016 17:03:11 Neil Armstrong wrote: Signed-off-by: Neil Armstrong --- .../bi

Re: [RFC PATCH 3/3] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-11-28 Thread Laurent Pinchart
Hi Neil, On Monday 28 Nov 2016 10:56:30 Neil Armstrong wrote: > On 11/28/2016 10:37 AM, Laurent Pinchart wrote: > > On Monday 28 Nov 2016 10:23:43 Neil Armstrong wrote: > >> On 11/28/2016 09:33 AM, Laurent Pinchart wrote: > >>> On Friday 25 Nov 2016 17:03:11 Neil Armstrong wrote: > Signed-off

[RFC PATCH 0/2] Multi phy management

2016-11-28 Thread Harini Katakam
This series is to add support for the hardware with multiple ethernet MAC controllers and a single MDIO bus connected to multiple PHY devices. MDIO lines are connected to any one of the ethernet MAC controllers and all the PHY devices will be accessed using the PHY maintenance interface in that MAC

Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-28 Thread Chen-Yu Tsai
On Mon, Nov 28, 2016 at 5:59 PM, Icenowy Zheng wrote: > As there's currently a fork of U-Boot which provides simplefb support Please add it when its finalized... > for H3, a simplefb node can be added to the device tree. > > Signed-off-by: Icenowy Zheng > --- > > I'm still not sure which pipeli

Re: [PATCH v3] clkdev: add devm_of_clk_get()

2016-11-28 Thread Russell King - ARM Linux
On Mon, Nov 28, 2016 at 09:32:51AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > Current Linux has of_clk_get(), but doesn't have devm_of_clk_get(). > This patch adds it. > > Signed-off-by: Kuninori Morimoto > --- > v2 -> v3 > > - implement in clk-devres.c, and reused exist

Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2016-11-28 Thread Ziji Hu
Hi Ulf, On 2016/11/24 23:37, Ziji Hu wrote: > Hi Ulf, > > On 2016/11/24 22:33, Ulf Hansson wrote: >>> >>>As result, our SDHC driver has to implement the functionality to >>>send commands and check the results, in host layer. >>>If directly calling mmc_wait_for_cmd() is improper, coul

Re: [PATCH v3] cpufreq: brcmstb-cpufreq: CPUfreq driver for older Broadcom STB SoCs

2016-11-28 Thread Arnd Bergmann
On Tuesday, November 22, 2016 1:32:45 PM CET Markus Mayer wrote: > From: Markus Mayer > > This CPUfreq driver provides basic frequency scaling for older Broadcom > STB SoCs that do not use AVS firmware with DVFS support. There is no > support for voltage scaling. > > Signed-off-by: Markus Mayer

[tip:x86/cache] x86/intel_rdt: Fix setting of closid when adding CPUs to a group

2016-11-28 Thread tip-bot for Fenghua Yu
Commit-ID: 2659f46da8307871989f475accdcdfc4807e9e6c Gitweb: http://git.kernel.org/tip/2659f46da8307871989f475accdcdfc4807e9e6c Author: Fenghua Yu AuthorDate: Fri, 18 Nov 2016 15:18:03 -0800 Committer: Thomas Gleixner CommitDate: Mon, 28 Nov 2016 11:07:50 +0100 x86/intel_rdt: Fix settin

fwd, Re: [PATCH v3] cpufreq: brcmstb-cpufreq: CPUfreq driver for older Broadcom STB SoCs

2016-11-28 Thread Arnd Bergmann
[resending my mail, this time with devicetree, linux-clk, and linux-arm-kernel on cc] On Tuesday, November 22, 2016 1:32:45 PM CET Markus Mayer wrote: > From: Markus Mayer > > This CPUfreq driver provides basic frequency scaling for older Broadcom > STB SoCs that do not use AVS firmware with DVF

Re: [PATCH v3] clkdev: add devm_of_clk_get()

2016-11-28 Thread kbuild test robot
Hi Kuninori, [auto build test ERROR on clk/clk-next] [also build test ERROR on v4.9-rc7 next-20161128] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kuninori-Morimoto/clkdev-add

[tip:x86/cache] x86/intel_rdt: Update task closid immediately on CPU in rmdir and unmount

2016-11-28 Thread tip-bot for Fenghua Yu
Commit-ID: 0efc89be9471b152599d2db7eb47de8e0d71c59f Gitweb: http://git.kernel.org/tip/0efc89be9471b152599d2db7eb47de8e0d71c59f Author: Fenghua Yu AuthorDate: Fri, 18 Nov 2016 15:18:04 -0800 Committer: Thomas Gleixner CommitDate: Mon, 28 Nov 2016 11:07:50 +0100 x86/intel_rdt: Update tas

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Peter Zijlstra
On Mon, Nov 28, 2016 at 09:44:42AM +0100, Daniel Vetter wrote: > > > > Why change them? What was wrong with txt to begin with? > > In my opinion good docs matter, and one of the key things is to be able to > cross reference stuff. Well, good docs begin with useful content; and many docs lack th

Re: [Intel-gfx] [PATCH 0/4] Compact userptr object backing store allocation

2016-11-28 Thread Tvrtko Ursulin
On 14/11/2016 11:45, Tvrtko Ursulin wrote: Hi Andrew, On 11/11/2016 08:50, Tvrtko Ursulin wrote: From: Tvrtko Ursulin Userptr backing store with SWIOTBL active is currently allocated in the same inefficient manner, with one sg entry per object page, as what the commit 871dfbd67d4e ("drm/i91

Re: [PATCH 1/1] kthread: add __printf attributes

2016-11-28 Thread Petr Mladek
On Sat 2016-11-26 20:35:43, Nicolas Iooss wrote: > When commit fbae2d44aa1d ("kthread: add kthread_create_worker*()") > introduced some kthread_create_...() functions which were taking > printf-like parametter, it introduced __printf attributes to some > functions (e.g. kthread_create_worker()). Ne

Re: [PATCHv12 2/3] usb: USB Type-C connector class

2016-11-28 Thread Oliver Neukum
On Thu, 2016-11-24 at 11:57 +0200, Heikki Krogerus wrote: > On Wed, Nov 23, 2016 at 09:12:04PM -0800, Guenter Roeck wrote: > > In our implementation, the default preferred role is determined by the > > low level driver (as, in my understanding, is suggested by the standard). > > This means that th

Re: [RFC PATCH 3/3] dt-bindings: display: add Amlogic Meson DRM Bindings

2016-11-28 Thread Neil Armstrong
On 11/28/2016 11:02 AM, Laurent Pinchart wrote: > Hi Neil, > > On Monday 28 Nov 2016 10:56:30 Neil Armstrong wrote: >> On 11/28/2016 10:37 AM, Laurent Pinchart wrote: >>> On Monday 28 Nov 2016 10:23:43 Neil Armstrong wrote: On 11/28/2016 09:33 AM, Laurent Pinchart wrote: > On Friday 25 No

Re: [linux-sunxi] Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-28 Thread Chen-Yu Tsai
On Mon, Nov 28, 2016 at 6:19 PM, Icenowy Zheng wrote: > > > 28.11.2016, 18:07, "Chen-Yu Tsai" : >> On Mon, Nov 28, 2016 at 5:59 PM, Icenowy Zheng wrote: >>> As there's currently a fork of U-Boot which provides simplefb support >> >> Please add it when its finalized... >> >>> for H3, a simplefb

Re: [PATCH net-next v3 2/4] dt-bindings: net: add EEE capability constants

2016-11-28 Thread Yegor Yefremov
On Mon, Nov 28, 2016 at 10:46 AM, Jerome Brunet wrote: > Signed-off-by: Jerome Brunet Tested using Baltos ir2110 device (cpsw + at8035 PHY). Tested-by: Yegor Yefremov > --- > include/dt-bindings/net/mdio.h | 19 +++ > 1 file changed, 19 insertions(+) > create mode 100644 inc

Re: [PATCH net-next v3 1/4] net: phy: add an option to disable EEE advertisement

2016-11-28 Thread Yegor Yefremov
On Mon, Nov 28, 2016 at 10:46 AM, Jerome Brunet wrote: > This patch adds an option to disable EEE advertisement in the generic PHY > by providing a mask of prohibited modes corresponding to the value found in > the MDIO_AN_EEE_ADV register. > > On some platforms, PHY Low power idle seems to be cau

Re: [PATCH v3 14/30] perf clang: Support compile IR to BPF object and add testcase

2016-11-28 Thread Wangnan (F)
On 2016/11/28 14:32, Wangnan (F) wrote: On 2016/11/27 1:25, Alexei Starovoitov wrote: On Sat, Nov 26, 2016 at 07:03:38AM +, Wang Nan wrote: getBPFObjectFromModule() is introduced to compile LLVM IR(Module) to BPF object. Add new testcase for it. Test result: $ ./buildperf/perf test

  1   2   3   4   5   6   7   8   9   10   >