[PATCH 13/17] Documentation/serial-console.txt: convert it to ReST markup

2016-09-22 Thread Mauro Carvalho Chehab
- Fix identation for the document title; - use monotonic fonts for paths; - use quote blocks where needed; - adjust spaces to properly format paragraphs; - use :menuselection: for the menu item; - add it to the user book. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 09/17] Documentation/adding-syscalls.txt: convert it to ReST markup

2016-09-22 Thread Mauro Carvalho Chehab
Convert adding-syscalls.txt to ReST markup and add it to the development-process book: - add extra lines to make Sphinx to correctly parse paragraphs; - use quote blocks for examples; - use monotonic font for dirs, function calls, etc; - mark manpage pages using the right markup; - add

[PATCH 16/17] CodeOfConflict: add it to the development-process book

2016-09-22 Thread Mauro Carvalho Chehab
Add an extra blank line to improve its output and add it to the development-process bookset. Signed-off-by: Mauro Carvalho Chehab --- Documentation/CodeOfConflict | 1 + Documentation/development-process/CodeOfConflict.rst | 1 +

[PATCH 01/17] Documentation/applying-patches.txt: fix a bad external link

2016-09-22 Thread Mauro Carvalho Chehab
We can't use :ref: for external links. Signed-off-by: Mauro Carvalho Chehab --- Documentation/applying-patches.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/applying-patches.txt b/Documentation/applying-patches.txt index

[PATCH 00/17] More files converted to ReST format

2016-09-22 Thread Mauro Carvalho Chehab
This series contain conversion of other files that, IMHO, belong to the development-process book or to an user manual book. Patch 1 is actually just a fixup; Patch 2 is actually patch 28/29 from my past series that weren' t applied because it was merging file renames on it; Patch 3 add ReST

Re: [PATCH 1/3] virtio: Basic implementation of virtio pstore driver

2016-09-22 Thread Stefan Hajnoczi
On Sun, Sep 04, 2016 at 11:38:58PM +0900, Namhyung Kim wrote: > The virtio pstore driver provides interface to the pstore subsystem so > that the guest kernel's log/dump message can be saved on the host > machine. Users can access the log file directly on the host, or on the > guest at the next

Re: "CodingStyle: Clarify and complete chapter 7" in docs-next

2016-09-22 Thread Jean Delvare
On Thu, 22 Sep 2016 03:42:10 -0700, Joe Perches wrote: > On Thu, 2016-09-22 at 11:24 +0200, Jean Delvare wrote: > > I would rather suggest: > > > > ERROR -> MUST_FIX > > WARNING -> SHOULD_FIX > > CHECK -> MAY_FIX > > MUST is much stronger language than I would prefer. That's what error means,

RE: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 21 September 2016 21:18 > To: Gabriele Paoloni > Cc: zhichang; linux-arm-ker...@lists.infradead.org; > devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org; > linux-...@vger.kernel.org;

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Russell King - ARM Linux
On Thu, Sep 22, 2016 at 04:22:40AM -0700, Sean Paul wrote: > On Thu, Sep 22, 2016 at 3:51 AM, Russell King - ARM Linux > wrote: > > On Thu, Sep 22, 2016 at 11:39:18AM +0100, Brian Starkey wrote: > >> Actually, could you please hold off picking this up? We need to make > >>

Re: [PATCH 0/2 v3] cpu hotplug: Preserve topology directory after soft remove event

2016-09-22 Thread Borislav Petkov
On Thu, Sep 22, 2016 at 07:59:08AM -0400, Prarit Bhargava wrote: > System boots with (usually) with 2 threads/core. Some performance users want > one thread per core. Since there is no "noht" option anymore, users use /sys > to > disable a thread on each core. I see. > core_siblings and

Re: [PATCH v2 2/6] MIPS: tlb-r4k: If there are wired entries, don't use TLBINVF

2016-09-22 Thread Ralf Baechle
On Tue, Sep 20, 2016 at 09:47:25AM +0100, Matt Redfearn wrote: > When adding a wired entry to the TLB via add_wired_entry, the tlb is > flushed with local_flush_tlb_all, which on CPUs with TLBINV results in > the new wired entry being flushed again. > > Behavior of the TLBINV instruction applies

Re: [PATCH v2] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Baolin Wang
On 22 September 2016 at 20:23, Greg KH wrote: > On Thu, Sep 22, 2016 at 07:43:59PM +0800, Baolin Wang wrote: >> From: Badhri Jagan Sridharan >> >> Some USB managament on userspace (like Android system) rely on the uevents >> generated by the

Re: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-22 Thread Lorenzo Pieralisi
On Thu, Sep 22, 2016 at 11:10:13AM +, Gabriele Paoloni wrote: > Hi Lorenzo, Bjorn > > > -Original Message- > > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > > Sent: 22 September 2016 10:50 > > To: Bjorn Helgaas > > Cc: Ard Biesheuvel; Tomasz Nowicki; David Daney; Will

[PATCH v2 15/23] drm/omap: omap_display_timings: Use display_flags for pixel data edge

2016-09-22 Thread Peter Ujfalusi
In preparation to move the stack to use the generic videmode struct for display timing information use display_flags for pixel data edge. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 3 +--

[PATCH v2 19/23] drm/omap: Use consistent name for struct videomode

2016-09-22 Thread Peter Ujfalusi
Use 'vm' to refer to a struct videomode instead of 'p', 't', 'timings' or something else. The code will be easier to follow if we use consistent names. Signed-off-by: Peter Ujfalusi --- .../gpu/drm/omapdrm/displays/connector-analog-tv.c | 26 ++---

[PATCH v2 04/23] drm/omap: omap_display_timings: rename hfp to hfront_porch

2016-09-22 Thread Peter Ujfalusi
In preparation to move the stack to use the generic videmode struct for display timing information rename the hfp member to hfront_porch. Signed-off-by: Peter Ujfalusi --- .../gpu/drm/omapdrm/displays/connector-analog-tv.c | 2 +-

RE: [PATCH V6 3/5] PCI: thunder-pem: Allow to probe PEM-specific register range for ACPI case

2016-09-22 Thread Gabriele Paoloni
Hi Bjorn > -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 21 September 2016 19:59 > To: Gabriele Paoloni > Cc: Ard Biesheuvel; Tomasz Nowicki; David Daney; Will Deacon; Catalin > Marinas; Rafael Wysocki; Lorenzo Pieralisi; Arnd Bergmann; Hanjun Guo; > Sinan

[PATCH v2 00/23] drm/omap: Convert to use videomode from omap_video_timings

2016-09-22 Thread Peter Ujfalusi
Hi, Changes since v1: - separated the patches from the sync drive edge selection series [1] - commit messages updated as per Tomi's comments - other comments from Tomi for patch 10 (was 13) and 11 (was 14) addressed also The following series will convert the omapdrm stack to use the generic

Re: [PATCH net-next v2 3/3] net: ethernet: mediatek: add the dts property to set if TRGMII supported on GMAC0

2016-09-22 Thread Sergei Shtylyov
Hello. On 9/22/2016 5:33 AM, sean.w...@mediatek.com wrote: From: Sean Wang Add the dts property for the capability if TRGMII supported on GAMC0 Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/net/mediatek-net.txt | 5 - 1

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Daniel Vetter
On Thu, Sep 22, 2016 at 1:22 PM, Sean Paul wrote: > On Thu, Sep 22, 2016 at 3:51 AM, Russell King - ARM Linux > wrote: >> On Thu, Sep 22, 2016 at 11:39:18AM +0100, Brian Starkey wrote: >>> Actually, could you please hold off picking this up? We need

[PATCH 10/17] Documentation/bad_memory.txt: convert it to ReST markup

2016-09-22 Thread Mauro Carvalho Chehab
- promote the section level of the document name; - add/remove spaces/new lines where needed to format the output; - use quote blocks. - add it to the user book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/bad_memory.txt | 26 --

[PATCH 15/17] Documentation/BUG-HUNTING: convert to ReST markup

2016-09-22 Thread Mauro Carvalho Chehab
- Add a document title and remove its own index; - use monotonic fonts for paths; - use quote blocks where needed; - adjust/use spaces to properly format paragraphs; - add it to the user book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/BUG-HUNTING

[PATCH 0/2] NFS: Use complete() instead complete_all()

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner Hi, Using complete_all() is not wrong per se but it suggest that there might be more than one waiter. For -rt I am reviewing all complete_all() users and would like to leave only the real ones in the tree. The main problem for -rt about

[PATCH 2/2] NFS: cache_lib: use complete() instead of complete_all()

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). The generic caching code from sunrpc is calling revisit() only once. The usage

[PATCH v3] devicetree: bindings: uart: Add new compatible string for ZynqMP

2016-09-22 Thread Nava kishore Manne
From: Nava kishore Manne This patch Adds the new compatiable string for ZynqMP. Signed-off-by: Nava kishore Manne --- Changes for v3: -Added changeLog comment. Changes for v2: -None

[PATCH 1/2] NFS: direct: use complete() instead of complete_all()

2016-09-22 Thread Daniel Wagner
From: Daniel Wagner There is only one waiter for the completion, therefore there is no need to use complete_all(). Let's make that clear by using complete() instead of complete_all(). nfs_file_direct_write() or nfs_file_direct_read() allocated a request object via

Re: [PATCH 0/2 v3] cpu hotplug: Preserve topology directory after soft remove event

2016-09-22 Thread Prarit Bhargava
On 09/21/2016 10:01 AM, Borislav Petkov wrote: > On Wed, Sep 21, 2016 at 09:32:47AM -0400, Prarit Bhargava wrote: >> This is not the right thing to do [1]. The topology directory should exist >> as >> long as the thread is present in the system. The thread (and its core) are >> still

[tip:sched/core] sched/core: Do not use smp_processor_id() with preempt enabled in smpboot_thread_fn()

2016-09-22 Thread tip-bot for Con Kolivas
Commit-ID: 4fa5cd5245b627db88c9ca08ae442373b02596b4 Gitweb: http://git.kernel.org/tip/4fa5cd5245b627db88c9ca08ae442373b02596b4 Author: Con Kolivas AuthorDate: Tue, 13 Sep 2016 16:27:05 +1000 Committer: Ingo Molnar CommitDate: Thu, 22 Sep 2016

ext4, f2fs: fscrypt_has_permitted_context() check in file open

2016-09-22 Thread Richard Weinberger
Hi! Both ext4 and f2fs check in the file open code the context of the parent directory too: ext4: if (ext4_encrypted_inode(d_inode(dir)) && !fscrypt_has_permitted_context(d_inode(dir), inode)) { ext4_warning(inode->i_sb,

Re: [PATCH 0/2] BQL support and fix for a regression issue

2016-09-22 Thread David Miller
From: sunil.kovv...@gmail.com Date: Thu, 22 Sep 2016 14:35:19 +0530 > From: Sunil Goutham > > These patches add byte queue limit support and also fixes a regression > issue introduced by commit > 'net: thunderx: Use netdev's name for naming VF's interrupts' The correct way

Re: [PATCH 7/7 v3] sched: fix wrong utilization accounting when switching to fair class

2016-09-22 Thread Peter Zijlstra
On Tue, Sep 20, 2016 at 03:06:04PM +0200, Vincent Guittot wrote: > > Also, even it things magically worked out, its still very icky to mix > > the normalized vruntime into things. > > I agree In any case, I pushed out a bunch of patches to:

Re: [PATCH resend 2] xen-netback: switch to threaded irq for control ring

2016-09-22 Thread David Miller
From: Juergen Gross Date: Thu, 22 Sep 2016 11:06:25 +0200 > Instead of open coding it use the threaded irq mechanism in > xen-netback. > > Signed-off-by: Juergen Gross Applied to net-next, thanks.

Re: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 01:14:27PM +, vad...@mellanox.com wrote: > From: Vadim Pasternak > > Enable system support for the Mellanox Technologies hotplug platform > driver, which provides support for the next Mellanox basic systems: > "msx6710", "msx6720", "msb7700",

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

2016-09-22 Thread Michal Marek
On 2016-09-15 08:08, Stephen Rothwell wrote: > Hi all, > > After merging the dax-misc tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > arch/powerpc/kernel/built-in.o: In function `__ksymtab_clear_pages': > (___ksymtab+clear_pages+0x0): undefined reference to

Re: [PATCH 2/4] mm, compaction: more reliably increase direct compaction priority

2016-09-22 Thread Vlastimil Babka
On 09/21/2016 07:13 PM, Michal Hocko wrote: > On Tue 06-09-16 15:52:56, Vlastimil Babka wrote: > [...] >> @@ -3204,6 +3199,15 @@ should_compact_retry(struct alloc_context *ac, int >> order, int alloc_flags, >> if (compaction_retries <= max_retries) >> return true; >> >> +

Re: [PATCH] drm/i2c: tda998x: don't register the connector

2016-09-22 Thread Russell King - ARM Linux
On Thu, Sep 22, 2016 at 05:32:35AM -0700, Sean Paul wrote: > On Thu, Sep 22, 2016 at 5:09 AM, Russell King - ARM Linux > wrote: > > On Thu, Sep 22, 2016 at 04:22:40AM -0700, Sean Paul wrote: > >> On Thu, Sep 22, 2016 at 3:51 AM, Russell King - ARM Linux > >>

Re: [PATCH] crypto: sun4i-ss: mark sun4i_hash() static

2016-09-22 Thread Herbert Xu
On Sun, Sep 18, 2016 at 08:52:44PM +0800, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/crypto/sunxi-ss/sun4i-ss-hash.c:168:5: warning: no previous prototype > for 'sun4i_hash' [-Wmissing-prototypes] > > In fact, this function is only used in the file in which it

[PATCH v2 23/23] drm/omap: panel-lgphilips-lb035q02: Add note for incorrect data drive edge and DE level

2016-09-22 Thread Peter Ujfalusi
According to the datasheet of the panel, both data, DEN and sync signals are expected to be driven on the falling edge of the DOTCLK. The DE is active low according to the documentation. Signed-off-by: Peter Ujfalusi ---

[PATCH v2 21/23] drm/omap: panel-tpo-td028ttec1: Add note for incorrect sync drive edge

2016-09-22 Thread Peter Ujfalusi
According to the datasheet of the panel, both data, DEN and sync signals are expected to be driven on the falling edge of the DOTCLK. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 4 1 file changed, 4 insertions(+) diff

[PATCH v2 17/23] drm/omap: Change the types of struct omap_video_timings members

2016-09-22 Thread Peter Ujfalusi
omap_video_timings struct have the same members as struct videomode, but their types are different. As first step change the types of the omap_video_timings struct members to match their counterpart in struct videomode to catch any type cast related issues. Signed-off-by: Peter Ujfalusi

[PATCH v2 16/23] drm/omap: omap_display_timings: Use display_flags for sync edge

2016-09-22 Thread Peter Ujfalusi
In preparation to move the stack to use the generic videmode struct for display timing information use display_flags for sync edge. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/connector-dvi.c | 5 ++---

[PATCH v2 18/23] drm/omap: Replace struct omap_video_timings with videomode

2016-09-22 Thread Peter Ujfalusi
omap_video_timings can be replaced with the generic videomode in omapdrm and the omap_video_timings can be removed. This patch will replace the omap_video_timings with videomode. With the change we no longer need the functions to convert to/from videomode and drm_display_mode to

Re: strace lockup when tracing exec in go

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 12:09:05, Mike Galbraith wrote: > On Thu, 2016-09-22 at 11:53 +0200, Michal Hocko wrote: > > On Thu 22-09-16 11:40:09, Mike Galbraith wrote: > > > > This patch doesn't help, nor does the previous patch... but with both > > > applied, all is well. All you have to do now is figure

[PATCH v2 02/23] drm/omap: omap_display_timings: rename y_res to vactive

2016-09-22 Thread Peter Ujfalusi
In preparation to move the stack to use the generic videmode struct for display timing information rename the y_res member to vactive. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 2 +-

[PATCH v2 05/23] drm/omap: omap_display_timings: rename hbp to hback_porch

2016-09-22 Thread Peter Ujfalusi
In preparation to move the stack to use the generic videmode struct for display timing information rename the hbp member to hback_porch. Signed-off-by: Peter Ujfalusi --- .../gpu/drm/omapdrm/displays/connector-analog-tv.c| 2 +-

Re: [PATCH] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Baolin Wang
On 22 September 2016 at 18:58, Mark Brown wrote: > On Thu, Sep 22, 2016 at 06:53:12PM +0800, Baolin Wang wrote: >> From: Badhri Jagan Sridharan >> >> Some USB managament on userspace (like Android system) rely on the uevents >> generated by the composition

[PATCH v2 10/23] drm/omap: omap_display_timings: Use display_flags for interlace mode

2016-09-22 Thread Peter Ujfalusi
Remove the interlace member and add display_flags to omap_video_timings to configure the interlace mode. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/connector-analog-tv.c | 2 +- drivers/gpu/drm/omapdrm/displays/connector-hdmi.c | 2 --

[PATCH v2 22/23] drm/omap: panel-sharp-ls037v7dw01: Add note for incorrect data drive edge

2016-09-22 Thread Peter Ujfalusi
According to the datasheet of the panel, both data, DEN and sync signals are expected to be driven on the falling edge of the DOTCLK. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/panel-sharp-ls037v7dw01.c | 4 1 file changed, 4 insertions(+)

[PATCH v2 20/23] drm/omap: panel-tpo-td043mtea1: Add note for incorrect sync drive edge

2016-09-22 Thread Peter Ujfalusi
According to the datasheet of the panel, both data, DEN and sync signals are expected to be driven on the falling edge of the DOTCLK. Signed-off-by: Peter Ujfalusi --- drivers/gpu/drm/omapdrm/displays/panel-tpo-td043mtea1.c | 4 1 file changed, 4 insertions(+) diff

Re: [PATCH 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-09-22 Thread Peter Ujfalusi
On 09/22/16 13:45, Mugunthan V N wrote: >>> + if (!dma->chan) >>> + return -ENODEV; >>> + >>> + /* RX buffer */ >>> + dma->buf = dma_alloc_coherent(dma->chan->device->dev, DMA_BUFFER_SIZE, >>> + >addr, GFP_KERNEL); >>> + if (!dma->buf) >>> +

Re: [PATCH net-next v2 1/3] net: ethernet: mediatek: add extension of phy-mode for TRGMII

2016-09-22 Thread Sergei Shtylyov
Hello. On 9/22/2016 5:33 AM, sean.w...@mediatek.com wrote: From: Sean Wang adds PHY-mode "trgmii" as an extension for the operation mode of the PHY interface for PHY_INTERFACE_MODE_TRGMII. and adds a variable trgmii inside mtk_mac as the indication to make the

[PATCH v2] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Baolin Wang
From: Badhri Jagan Sridharan Some USB managament on userspace (like Android system) rely on the uevents generated by the composition driver to generate user notifications. Thus this patch adds uevents to be generated whenever USB changes its state: connected, disconnected,

[tip:x86/boot] x86/boot: Fix kdump, cleanup aborted E820_PRAM max_pfn manipulation

2016-09-22 Thread tip-bot for Dan Williams
Commit-ID: 917db484dc6a69969d317b3e57add4208a8d9d42 Gitweb: http://git.kernel.org/tip/917db484dc6a69969d317b3e57add4208a8d9d42 Author: Dan Williams AuthorDate: Wed, 21 Sep 2016 12:50:45 -0700 Committer: Ingo Molnar CommitDate: Thu, 22 Sep

Re: [PATCH net-next 0/9] rxrpc: Preparation for slow-start algorithm [ver #2]

2016-09-22 Thread David Miller
From: David Howells <dhowe...@redhat.com> Date: Thu, 22 Sep 2016 09:22:00 +0100 > Tagged thusly: > > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git > rxrpc-rewrite-20160922-v2 Pulled, thanks David.

Re: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread Arnd Bergmann
On Thursday, September 22, 2016 11:55:45 AM CEST Gabriele Paoloni wrote: > > > I think extending of_empty_ranges_quirk() may be a reasonable > > solution. > > > What do you think Arnd? > > > > I don't really like that idea, that quirk is meant to work around > > broken DTs, but we can just make

Re: [PATCH v2] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Greg KH
On Thu, Sep 22, 2016 at 07:43:59PM +0800, Baolin Wang wrote: > From: Badhri Jagan Sridharan > > Some USB managament on userspace (like Android system) rely on the uevents > generated by the composition driver to generate user notifications. Thus this > patch adds uevents to be

Re: [PATCH net-next] net: ethernet: mediatek: get out of potential invalid pointer access

2016-09-22 Thread David Miller
From: Date: Thu, 22 Sep 2016 16:44:16 +0800 > From: Sean Wang > > Potential dangerous invalid pointer might be accessed if > the error happens when couple phy_device to net_device so > cleanup the error path. > > Signed-off-by: Sean Wang

Re: [PATCH] rtc: cmos: avoid unused function warning

2016-09-22 Thread Alexandre Belloni
On 22/09/2016 at 11:48:00 +0200, Arnd Bergmann wrote : > A bug fix for the ACPI side of this driver caused a harmless > build warning: > > drivers/rtc/rtc-cmos.c:1115:13: error: 'cmos_check_acpi_rtc_status' defined > but not used [-Werror=unused-function] > static void

Re: [PATCH net-next] net: ethernet: mediatek: use phydev from struct net_device

2016-09-22 Thread David Miller
From: Date: Thu, 22 Sep 2016 16:33:35 +0800 > From: Sean Wang > > reuse phydev already in struct net_device instead of creating > another new one in private structure. > > Signed-off-by: Sean Wang Applied.

Re: [PATCH net-next] net: ethernet: mediatek: remove superfluous local variable for phy address

2016-09-22 Thread David Miller
From: Date: Thu, 22 Sep 2016 16:36:15 +0800 > From: Sean Wang > > remove the unused variable for parsing PHY address > and the related logic for sanity test which would > be all already handled done when of_mdiobus_register > was called > >

Re: [PATCH net-next v2 0/3] add support for RGMII on GMAC0 through TRGMII hardware module

2016-09-22 Thread David Miller
From: Date: Thu, 22 Sep 2016 10:33:53 +0800 > By default, GMAC0 is connected to built-in switch called > MT7530 through the proprietary interface called Turbo RGMII > (TRGMII). TRGMII also supports well for RGMII as generic external > PHY uses but requires some slight

Re: [PATCH 3/5] mm/vmalloc.c: correct lazy_max_pages() return value

2016-09-22 Thread Michal Hocko
On Thu 22-09-16 09:13:50, zijun_hu wrote: > On 09/22/2016 08:35 AM, David Rientjes wrote: [...] > > The intent is as it is implemented; with your change, lazy_max_pages() is > > potentially increased depending on the number of online cpus. This is > > only a heuristic, changing it would need

Re: [PATCH 1/1] lib/ioremap.c: avoid endless loop under ioremapping page unaligned ranges

2016-09-22 Thread Michal Hocko
On Wed 21-09-16 12:19:53, zijun_hu wrote: > From: zijun_hu > > endless loop maybe happen if either of parameter addr and end is not > page aligned for kernel API function ioremap_page_range() Does this happen in practise or this you found it by reading the code? > in order to

Re: [PATCH] ipvlan: fix building without netfilter

2016-09-22 Thread Arnd Bergmann
On Thursday, September 22, 2016 8:32:05 AM CEST David Miller wrote: > From: Arnd Bergmann > Date: Thu, 22 Sep 2016 11:40:52 +0200 > > > The new l3s mode in ipvlan relies on netfilter interfaces, but > > the ipvlan driver can be configured when CONFIG_NETFILTER is disabled, > >

Re: [PATCH v2] usb: gadget: Add uevent to notify userspace

2016-09-22 Thread Felipe Balbi
Hi, Baolin Wang writes: >>> static const struct usb_gadget_driver configfs_driver_template = { >>> .bind = configfs_composite_bind, >>> .unbind = configfs_composite_unbind, >>> >>> +#ifdef CONFIG_USB_CONFIGFS_UEVENT >>> + .setup

[PATCH 52/57] perf c2c report: Recalc width of global sort entries

2016-09-22 Thread Jiri Olsa
Using resort callbacks to compute the columns' width. Computing only the global ones, c2c entries have fixed width only. Link: http://lkml.kernel.org/n/tip-zyayvq2u3dzyf3y7i9jza...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 12 1 file

[PATCH v2 3/5] soc/bman: Add self-test for BMan driver

2016-09-22 Thread Claudiu Manoil
Add a self test for the DPAA 1.x Buffer Manager driver. This test ensures that the driver can properly acquire and release buffers using the BMan portal infrastructure. Signed-off-by: Roy Pledge Signed-off-by: Claudiu Manoil --- v2: none

[PATCH 45/57] perf c2c report: Add global stats stdio output

2016-09-22 Thread Jiri Olsa
Display global stats table as part of the stdio output or when --stats option is speicified: $ perf c2c report --stats = Trace Event Information = Total records

[PATCH 49/57] perf c2c report: Limit the cachelines table entries

2016-09-22 Thread Jiri Olsa
Add a limit for entries number of the cachelines table entries. By default now it's the 0.0005% minimum of remote HITMs. Also display only cachelines with remote hitm or store data. Link: http://lkml.kernel.org/n/tip-inykbom2f19difvsu1e18...@git.kernel.org Signed-off-by: Jiri Olsa

[PATCH 51/57] perf c2c report: Allow to set cacheline sort fields

2016-09-22 Thread Jiri Olsa
Allowing user to configure the way the single cacheline data are sorted after being sorted by offset. Adding 'c' option to specify sorting fields for single cacheline: -c, --coalesce coalesce fields: pid,tid,iaddr,dso It's allowed to use following combination of

[PATCH 53/57] perf c2c report: Add cacheline index entry

2016-09-22 Thread Jiri Olsa
It's convenient to have an index for each cacheline to help discussions about results over the phone. Add new 'Index' and 'Num' fields in main and single cacheline tables. $ perf c2c report = Shared Data Cache Line Table

Re: [PATCH] Bluetooth: Add a new 04ca:3011 QCA_ROME device

2016-09-22 Thread Marcel Holtmann
Hi Dmitry, > BugLink: https://bugs.launchpad.net/bugs/1535802 > > T: Bus=01 Lev=02 Prnt=02 Port=04 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=04ca ProdID=3011 Rev=00.01 > C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA > I: If#= 0 Alt= 0

[PATCH 37/57] perf c2c report: Add stats related sort keys

2016-09-22 Thread Jiri Olsa
Adding statistic dimension key wrapper. It is to be displayed in the single cacheline output: median, mean_rmt, mean_lcl, mean_load, stddev It displays statistics hits related to cacheline accesses. Link: http://lkml.kernel.org/n/tip-m1r4uc9lcykf1jhpvwk2g...@git.kernel.org Signed-off-by:

Re: [PATCH V3 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-22 Thread zhichang.yuan
On 09/22/2016 11:20 PM, Gabriele Paoloni wrote: -Original Message- From: Arnd Bergmann [mailto:a...@arndb.de] Sent: 22 September 2016 15:59 To: Gabriele Paoloni Cc: zhichang; linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; lorenzo.pieral...@arm.com; miny...@acm.org;

[PATCH 36/57] perf c2c report: Add node sort key

2016-09-22 Thread Jiri Olsa
Adding node dimension key wrapper. It is to be displayed in the single cacheline output: node It displays nodes hits related to cacheline accesses. The node filed comes in 3 flavors: - node IDs separated by ',' - node IDs with stats for each ID, in following format: Node{cpus

[PATCH 34/57] perf c2c report: Add tid sort key

2016-09-22 Thread Jiri Olsa
Adding tid dimension key wrapper. It is to be displayed in the single cacheline output: tid It's a wrapper for global sort_thread sort entry with c2c specific header. Link: http://lkml.kernel.org/n/tip-fr0socae5skzvz5qbkl85...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 33/57] perf c2c report: Add pid sort key

2016-09-22 Thread Jiri Olsa
Adding pid dimension key wrapper. It is to be displayed in the single cacheline output: pid We currently don't have a single 'pid' sort/display entry, which would output just pid number, hence adding it into c2c code. Link: http://lkml.kernel.org/n/tip-3o23qrspxc99b04ci1swl...@git.kernel.org

[PATCH 25/57] perf c2c report: Add loads related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 3 loads related dimension key wrappers. They are to be displayed in the main cachelines overall output: ld_fbhit, ld_l1hit, ld_l2hit They all display bare numbers of loads for FB (Fill Buffer), L1 and L2 cache. Link: http://lkml.kernel.org/n/tip-wxrzhy74zl8fvkvgjae3w...@git.kernel.org

[PATCH 30/57] perf c2c report: Add hitm percent sort key

2016-09-22 Thread Jiri Olsa
Adding HITM percent dimension key wrapper. It is to be displayed in the main cachelines overall output: percent_hitm It displays HITMs percentage for cacheline. It counts remote HITMs at the moment, but it is changed later to support local as well, based on the sort configuration. Link:

[PATCH 16/57] perf c2c report: Add sample processing

2016-09-22 Thread Jiri Olsa
Adding basic sample processing specific hist_entry allocation callbacks (via hists__add_entry_ops). Overloading 'struct hist_entry' object with new 'struct c2c_hist_entry'. The new hist entry object will carry specific stats and nested hists objects. Link:

[PATCH 05/57] perf tools: Make output_field_add and sort_dimension__add global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-15488tnxcj4rtteksy79y...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 8 tools/perf/util/sort.h | 4 2 files changed, 8 insertions(+), 4

Re: [PATCH 01/57] perf tools: Add __hist_entry__snprintf function

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:29PM +0200, Jiri Olsa escreveu: > Add __hist_entry__snprintf to take perf_hpp_list as an argument > instead of using he->hists->hpp_list. This way we can display > arbitrary list of entries regardles of the hists setup, which > will be useful in following patches.

Re: [PATCH 06/57] perf tools: Make several sorting functions global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:34PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-4jyvw21cac7yuqsdkzdo5...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH 24/57] perf c2c report: Add stores related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 5 stores related dimension key wrappers. First 3 are to be displayed in the main cachelines overall output: stores, stores_l1hit, stores_l1miss The latter 2 are to be displayed within single cacheline output: cl_stores_l1hit, cl_stores_l1miss They all display bare numbers of stores

Re: [PATCH 09/57] perf tools: Make hists__fprintf_headers function global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:37PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-ydj205bfen9fgflnv39hn...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH v2 4/5] soc/qman: Add self-test for QMan driver

2016-09-22 Thread Claudiu Manoil
Add self tests for the DPAA 1.x Queue Manager driver. The tests ensure that the driver can properly enqueue and dequeue to/from frame queues using the QMan portal infrastructure. Signed-off-by: Roy Pledge Signed-off-by: Claudiu Manoil --- v2: none

[PATCH 21/57] perf c2c report: Add offset dimension key

2016-09-22 Thread Jiri Olsa
Adding cacheline offset dimension key support. It displays cacheline offset as hex number. Link: http://lkml.kernel.org/n/tip-m0424ye98lqveg5nopto8...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 35 +++ 1 file changed,

[PATCH 14/57] perf c2c report: Add sort_entry dimension support

2016-09-22 Thread Jiri Olsa
Allow to reuse 'struct sort_entry' objects within c2c dimension support. In case the 'struct sort_entry' object meets the need of c2c report we will use it directly in following patches. Link: http://lkml.kernel.org/n/tip-a4jraum43uwhhnp91je2j...@git.kernel.org Signed-off-by: Jiri Olsa

Re: [PATCH] Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR.

2016-09-22 Thread Tejun Heo
On Thu, Sep 22, 2016 at 01:18:31AM +0530, Harman Kalra wrote: > Signed-off-by: Harman Kalra Fixed up subject and applied to libata/for-4.9. Thanks. -- tejun

[PATCH 11/57] perf c2c: Add record subcommand

2016-09-22 Thread Jiri Olsa
Adding c2c record subcommand. It setups options related to HITM cacheline analysis and calls standard perf record command. $ sudo perf c2c record -v -- -a calling: record -W -d --sample-cpu -e cpu/mem-loads,ldlat=30/P -e cpu/mem-stores/P -a ... It produces perf.data, which is to be

Re: [PATCH 1/6] mtd: spi-nor: Add quad page program support

2016-09-22 Thread Cyrille Pitchen
Hi Jagan, The support of Quad Page Program is already addressed by the series for SPI x-2-2 and x-4-4 protocols and SFDP parsing: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068212.html especially patch 5 and 9 http://lists.infradead.org/pipermail/linux-mtd/2016-June/068217.html

[PATCH 22/57] perf c2c report: Add iaddr dimension key

2016-09-22 Thread Jiri Olsa
Adding iaddr dimension key support. It displays code address (as hex number) responsible for the accesses. Using c2c wrapper to standard 'symbol_iaddr' object to define own header and simple (just address) code address output. Link:

Re: [PATCH 05/57] perf tools: Make output_field_add and sort_dimension__add global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:33PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-15488tnxcj4rtteksy79y...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

[PATCH 09/57] perf tools: Make hists__fprintf_headers function global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-ydj205bfen9fgflnv39hn...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/ui/stdio/hist.c | 2 +- tools/perf/util/hist.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)

[PATCH 04/57] perf tools: Make reset_dimensions global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-7garqfmx5izaqysde9jik...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 2 +- tools/perf/util/sort.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff

[PATCH 06/57] perf tools: Make several sorting functions global

2016-09-22 Thread Jiri Olsa
Will be used from external places in following patches. Link: http://lkml.kernel.org/n/tip-4jyvw21cac7yuqsdkzdo5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/sort.c | 6 +++--- tools/perf/util/sort.h | 6 ++ 2 files changed, 9 insertions(+), 3

[PATCH 15/57] perf c2c report: Fallback to standard dimensions

2016-09-22 Thread Jiri Olsa
Fallback to standard dimensions in case we don't find the dimension within c2c ones. Link: http://lkml.kernel.org/n/tip-w3yrcawal0dr1w9pcu4gy...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-c2c.c | 12 1 file changed, 8 insertions(+), 4

[PATCH 23/57] perf c2c report: Add hitm related dimension keys

2016-09-22 Thread Jiri Olsa
Adding 5 hitm related dimension key wrappers. First 3 are to be displayed in the main cachelines overall output: tot_hitm, lcl_hitm, rmt_hitm The latter 2 are to be displayed within single cacheline output: cl_rmt_hitm, cl_lcl_hitm They all display bare numbers of remote/local/total HITMs

[PATCH 17/57] perf c2c report: Add cacheline hists processing

2016-09-22 Thread Jiri Olsa
Store cacheline related entries in nested hist object for each cacheline data. Nested entries are sorted by 'offset' within related cacheline. We will allow specific sort keys to be configured for nested cacheline data entries in following patches. Link:

Re: [PATCH 08/57] perf tools: Make __hist_entry__snprintf function global

2016-09-22 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 22, 2016 at 05:36:36PM +0200, Jiri Olsa escreveu: > Will be used from external places in following patches. > > Link: http://lkml.kernel.org/n/tip-uip4x9u74t3dcz8sh4mei...@git.kernel.org > Signed-off-by: Jiri Olsa Thanks, applied, - Arnaldo

<    4   5   6   7   8   9   10   11   12   13   >