Re: Build regressions/improvements in v4.8-rc6

2016-09-12 Thread Peter Zijlstra
On Mon, Sep 12, 2016 at 10:23:22AM +0200, Geert Uytterhoeven wrote: > On Mon, Sep 12, 2016 at 10:22 AM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v4.8-rc6[1] to v4.8-rc5[3], the summaries are: > > - build errors: +3/-1 > > +

Re: [PATCH] staging: dgnc: dgnc_sysfs *_ATTR() macros convert

2016-09-12 Thread Greg Kroah-Hartman
On Fri, Sep 09, 2016 at 12:42:33PM -0300, Matias Mucciolo wrote: > > Convert DRIVER_ATTR() macro with DRIVER_ATTR_RO/RW and > DEVICE_ATTR() macro with DEVICE_ATTR_RO() Nice, I like seeing this type of change. greg k-h

RE: [patch v1] x86/platform/mellanox: introduce support for Mellanox systems platform

2016-09-12 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Monday, September 12, 2016 10:41 AM > To: Vadim Pasternak > Cc: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > da...@davemloft.net; ge...@linux-m68k.org;

Re: [PATCH 08/26] iwlegacy: constify local structures

2016-09-12 Thread Stanislaw Gruszka
On Sun, Sep 11, 2016 at 03:05:50PM +0200, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level

Re: [PATCH 1/1] ARM: keystone: defconfig: Fix USB configuration

2016-09-12 Thread Roger Quadros
Hi, On 25/08/16 19:39, Santosh Shilimkar wrote: > Ping !! > > On 8/17/2016 9:23 AM, Santosh Shilimkar wrote: >> Hi Arnd, Olof, >> >> Can you please pick-up the fix for 4.8-rcx ? >> Roger reported that USB ports are broken on Keystone2 boards >> since v4.8-rc1 because USB_HPY config option got

[PATCH] mfd: intel-lpss: Add default I2C device properties for Apollo Lake

2016-09-12 Thread Jarkko Nikula
Default I2C device properties for Intel Broxton, especially SDA hold time may not be enough on Intel Apollo Lake. These properties are used in case we don't get timing parameters from ACPI. The default SDA hold time for Broxton may fail with arbitration lost errors on Apollo Lake:

Re: [GIT PULL 00/29] EFI changes for v4.9

2016-09-12 Thread Ingo Molnar
* Matt Fleming wrote: > On Fri, 09 Sep, at 04:18:22PM, Matt Fleming wrote: > > Folks, please queue up the following patches for v4.9. There's more > > work on refactoring EFI code to be architecture independent and the > > largest number of patches is spent cleaning up

[PATCH] tracing/syscalls: add in missing white space in error message text

2016-09-12 Thread Colin King
From: Colin Ian King pr_info message spans two lines and the literal string is missing a white space between words. Add the white space. Signed-off-by: Colin Ian King --- kernel/trace/trace_syscalls.c | 4 ++-- 1 file changed, 2

Re: [PATCH 2/2] mm: split gfp_mask and mapping flags into separate fields

2016-09-12 Thread Michal Hocko
Errr, the gfp_mask move behind private_lock didn't make it into the commit. Here is the updated patch. Btw. with this patch we can drop mm-check-that-we-havent-used-more-than-32-bits-in-address_spaceflags.patch --- >From a8200e0de375886bbb41bbae4df7fa65ec619d05 Mon Sep 17 00:00:00 2001 From:

Re: [PATCH] net: dsa: add FIB support

2016-09-12 Thread kbuild test robot
Hi John, [auto build test ERROR on net-next/master] [also build test ERROR on next-20160912] [cannot apply to v4.8-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=a

Re: [PATCH 1/3] Documentation: devicetree: add qca8k binding

2016-09-12 Thread Sergei Shtylyov
On 9/12/2016 11:35 AM, John Crispin wrote: Add device-tree binding for ar8xxx switch families. Cc: devicet...@vger.kernel.org Signed-off-by: John Crispin --- .../devicetree/bindings/net/dsa/qca8k.txt | 53 1 file changed, 53 insertions(+)

[PATCH] video: fbdev: i810: add in missing white space in error message text

2016-09-12 Thread Colin King
From: Colin Ian King A printk message spans two lines and the literal string is missing a white space between words. Add the white space. Signed-off-by: Colin Ian King --- drivers/video/fbdev/i810/i810_main.c | 2 +- 1 file changed, 1

Re: [RFC] scripts: Include postprocessing script for memory allocation tracing

2016-09-12 Thread Michal Hocko
Hi, I am sorry I didn't follow up on the previous submission. I find this _really_ helpful. It is great that you could build on top of existing tracepoints but one thing is not entirely clear to me. Without a begin marker in __alloc_pages_nodemask we cannot really tell how long the whole

Re: [PATCH 25/26] pch_gbe: constify local structures

2016-09-12 Thread Julia Lawall
On Sun, 11 Sep 2016, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level macro call > 4. No

Re: [PATCH 3/4] dt-bindings: mmc: sdhci-st: Mention the discretionary "icn" clock

2016-09-12 Thread Ulf Hansson
On 8 September 2016 at 11:11, Lee Jones wrote: > The interconnect (ICN) clock is required for functional working of > MMC on some ST platforms. When not supplied it can result in > broken MMC and the following output: > > [ 13.916949] mmc0: Timeout waiting for

[PATCH v2] arm-cci: add cci_enable_port_for_self() declaration in arm-cci.h

2016-09-12 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/bus/arm-cci.c:2027:25: warning: no previous prototype for 'cci_enable_port_for_self' [-Wmissing-prototypes] In fact, this function is used in a few files, but should be declared in a header file. So this patch adds the declaration in

Re: [PATCH 1/2] staging: sm750fb: fix line length coding style issues in ddk750_chip.c

2016-09-12 Thread Greg KH
On Sun, Sep 04, 2016 at 09:03:27PM +0300, Moshe Green wrote: > Fix multiple line length warnings found by the checkpatch.pl tool > in ddk750_chip.c. > > Signed-off-by: Moshe Green > --- > drivers/staging/sm750fb/ddk750_chip.c | 18 -- > 1 file changed, 12

[PATCH 0/2] do not squash mapping flags and gfp_mask together (was: Re: [PATCH -v2] mm: Don't use radix tree writeback tags for pages in)

2016-09-12 Thread Michal Hocko
On Thu 01-09-16 11:13:47, Michal Hocko wrote: > On Wed 31-08-16 14:30:31, Andrew Morton wrote: > > On Wed, 31 Aug 2016 10:14:59 +0100 Mel Gorman > > wrote: [...] > > > I didn't see anything wrong with the patch but it's worth highlighting > > > that this hunk means

[PATCH] PM / AVS: SmartReflex: add in missing white space in error message text

2016-09-12 Thread Colin King
From: Colin Ian King Several line wrapped literal strings are missing white spaces, add the whitespace to fix this. Signed-off-by: Colin Ian King --- drivers/power/avs/smartreflex.c | 20 ++-- 1 file changed, 10

Re: [PATCH] x86/xen: add missing \n at end of printk warning message

2016-09-12 Thread Juergen Gross
On 12/09/16 12:20, Colin King wrote: > From: Colin Ian King > > The message is missing a \n, add it. > > Signed-off-by: Colin Ian King Reviewed-by: Juergen Gross > --- > arch/x86/xen/platform-pci-unplug.c | 2 +- > 1 file

[PATCH] net: r6040: add in missing white space in error message text

2016-09-12 Thread Colin King
From: Colin Ian King A couple of dev_err messages span two lines and the literal string is missing a white space between words. Add the white space. Signed-off-by: Colin Ian King --- drivers/net/ethernet/rdc/r6040.c | 4 ++-- 1 file changed,

Re: [PATCH 2/3] net-next: dsa: add Qualcomm tag RX/TX handler

2016-09-12 Thread Andrew Lunn
Hi John > + > +static inline int reg_to_port(int reg) > +{ > + if (reg < 5) > + return reg + 1; > + > + return -1; > +} > + > +static inline int port_to_reg(int port) > +{ > + if (port >= 1 && port <= 6) > + return port - 1; > + > + return -1; > +} No need

Re: [PATCH 11/26] can: constify local structures

2016-09-12 Thread Julia Lawall
On Sun, 11 Sep 2016, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level macro call > 4. No

Re: [PATCH for-next 09/20] IB/hns: Optimize code of aeq and ceq interrupt handle and fix the bug of qpn

2016-09-12 Thread Leon Romanovsky
On Fri, Sep 09, 2016 at 06:30:40PM +0800, Salil Mehta wrote: > + HNS_ROCE_AEQE_EVENT_QP_EVENT_QP_QPN_M, > + HNS_ROCE_AEQE_EVENT_QP_EVENT_QP_QPN_S); > + phy_port = roce_get_field(aeqe->event.qp_event.qp, > +

Re: [PATCH v5 2/3] mfd: add support for Allwinner SoCs ADC

2016-09-12 Thread Lee Jones
On Mon, 12 Sep 2016, Maxime Ripard wrote: > On Mon, Sep 12, 2016 at 10:59:23AM +0100, Lee Jones wrote: > > > >> +static const struct of_device_id sun4i_gpadc_mfd_of_match[] = { > > > >> + { > > > >> + .compatible = "allwinner,sun4i-a10-ts", > > > >> + .data =

Re: [PATCHv2 3/3] tty/serial: at91: fix hardware handshake on SAM9x5 (without GPIOs)

2016-09-12 Thread Richard Genoud
2016-09-12 11:53 GMT+02:00 Alexandre Belloni : > On 12/09/2016 at 11:47:33 +0200, Richard Genoud wrote : >> Commit 1cf6e8fc8341 ("tty/serial: at91: fix RTS line management when >> hardware handshake is enabled") broke the hardware handshake on SAM9x5 >>

Re: ima: BUG: spinlock bad magic

2016-09-12 Thread Mimi Zohar
Hi Dmitry, On Fri, 2016-09-09 at 21:19 +0200, Dmitry Vyukov wrote: > Hello, > > While booting linux-next on 4affa544adb8077403893e62b9e327fcf87de6f7 > (Sep 8), I've got the following BUG: > > BUG: spinlock bad magic on CPU#3, swapper/0/1 > lock: template_list+0x0/0x60, .magic: ,

Re: [patch v1] x86/platform/mellanox: introduce support for Mellanox systems platform

2016-09-12 Thread Ingo Molnar
* Greg KH wrote: > On Mon, Sep 12, 2016 at 11:14:26AM +0200, Geert Uytterhoeven wrote: > > On Mon, Sep 12, 2016 at 10:34 AM, Greg KH > > wrote: > > >> This is LPC to I2C bridge. > > > > > > "LPC"? > > > >

Re: [PATCH v5 2/3] mfd: add support for Allwinner SoCs ADC

2016-09-12 Thread Quentin Schulz
On 12/09/2016 11:59, Lee Jones wrote: > On Mon, 12 Sep 2016, Quentin Schulz wrote: > >> On 12/09/2016 11:18, Lee Jones wrote: >>> On Thu, 08 Sep 2016, Quentin Schulz wrote: >>> >> [...] > > [...] > +++ b/drivers/mfd/sun4i-gpadc-mfd.c > > [...] > +static struct mfd_cell

Re: [PATCH] Staging: wlan-ng: improve code aspect in p80211req_mibset_mibget()

2016-09-12 Thread Greg KH
On Tue, Sep 06, 2016 at 07:30:50PM +0300, Claudiu Beznea wrote: > This patch improves code aspect in p80211req_mibset_mibget() function > by removing accolades which followed case statements. To do so, > some data variable ware declared at the beginning of the > function and also pstr and key

[PATCH v2] usb: core: setup dma_pfn_offset for USB devices and, interfaces

2016-09-12 Thread Roger Quadros
If dma_pfn_offset is not inherited correctly from the host controller, it might result in sub-optimal configuration as bounce buffer limit might be set to less than optimal level. Consider the mass storage device case. USB storage driver creates a scsi host for the mass storage interface in

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-12 Thread Peter Zijlstra
On Sat, Sep 10, 2016 at 04:52:12PM +0800, Cheng Chao wrote: > For CONFIG_PREEMPT_NONE=y, when sched_exec() needs migration, sched_exec() > calls stop_one_cpu(task_cpu(p), migration_cpu_stop, ). > > If the migration_cpu_stop() can not migrate,why do we call stop_one_cpu()? > It just makes the task

Re: [PATCH 0/9] tty: tty_struct dependency clean-ups

2016-09-12 Thread One Thousand Gnomes
On Sun, 11 Sep 2016 22:05:07 -0500 Rob Herring wrote: > On Sun, Sep 11, 2016 at 4:14 PM, One Thousand Gnomes > wrote: > > On Fri, 9 Sep 2016 17:37:01 -0500 > > Rob Herring wrote: > > > >> This patch series removes or prepares to

lockdep: incorrect deadlock warning with two GPIO expanders

2016-09-12 Thread Bartosz Golaszewski
I'm trying to figure out a way of getting rid of an incorrect lockdep deadlock warning, but the issue is not trivial. In our hardware an I2C multiplexer is controlled by a GPIO provided by an expander. There's a second expander using the same device driver (pca953x) on one of the I2C bus

Re: [PATCH net-next] xen-netfront: avoid packet loss when ethernet header crosses page boundary

2016-09-12 Thread Vitaly Kuznetsov
David Vrabel writes: > On 22/08/16 16:42, Vitaly Kuznetsov wrote: >> Small packet loss is reported on complex multi host network configurations >> including tunnels, NAT, ... My investigation led me to the following check >> in netback which drops packets: >> >>

Re: [PATCH] add Advantech cpci-1502 hard disk swap button driver

2016-09-12 Thread Greg KH
On Mon, Sep 12, 2016 at 09:42:20AM +, Tommy Lo wrote: > > > > >Thanks for the patch, but can you resend it with a Signed-off-by: line, as > >described by Documentation/SubmittingPatches? We need that before we can > >take anything. > > >Also, you should run the code through

Re: [PATCH] atm: iphase: fix newline escape and minor tweak to source formatting

2016-09-12 Thread Sergei Shtylyov
Hello. On 9/12/2016 12:29 PM, Colin King wrote: From: Colin Ian King The newline escape is incorrect and needs fixing. Also adjust source formatting / indentation and remove trailing white space. Signed-off-by: Colin Ian King ---

Re: [PATCH] atm: iphase: fix newline escape and minor tweak to source formatting

2016-09-12 Thread Sergei Shtylyov
Hello. On 9/12/2016 12:29 PM, Colin King wrote: From: Colin Ian King The newline escape is incorrect and needs fixing. Also adjust source formatting / indentation and remove trailing white space. Signed-off-by: Colin Ian King ---

[PATCH v8 5/9] drm/mediatek: cleaning up and refine

2016-09-12 Thread YT Shen
cleaning up unused define and refine function name and variable Signed-off-by: shaoming chen Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 77 -- drivers/gpu/drm/mediatek/mtk_mipi_tx.c | 8

[PATCH v8 3/9] drm/mediatek: add shadow register support

2016-09-12 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 -

[PATCH v8 1/9] drm/mediatek: rename macros, add chip prefix

2016-09-12 Thread YT Shen
Add MT8173 prefix for hardware related macros. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 60 +- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c

[PATCH v8 6/9] drm/mediatek: add dsi interrupt control

2016-09-12 Thread YT Shen
From: shaoming chen add dsi interrupt control Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 78 ++ 1 file changed, 78 insertions(+) diff --git

Re: [PATCHv9 2/2] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2016-09-12 Thread Heikki Krogerus
On Fri, Sep 09, 2016 at 01:19:57PM -0700, Guenter Roeck wrote: > On Fri, Sep 09, 2016 at 04:48:33PM +0300, Heikki Krogerus wrote: > > This adds driver for the USB Type-C PHY on Intel WhiskeyCove > > PMIC which is available on some of the Intel Broxton SoC > > based platforms. > > > >

[PATCH v8 2/9] drm/mediatek: add *driver_data for different hardware settings

2016-09-12 Thread YT Shen
There are some hardware settings changed, between MT8173 & MT2701: DISP_OVL address offset changed, color format definition changed. DISP_RDMA fifo size changed. DISP_COLOR offset changed. MIPI_TX pll setting changed. And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod. Signed-off-by: YT

Re: [PATCH 14/26] spi: dw-pci: constify local structures

2016-09-12 Thread Julia Lawall
On Sun, 11 Sep 2016, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level macro call > 4. No

Re: [PATCH 20/26] stmmac: pci: constify local structures

2016-09-12 Thread Julia Lawall
On Sun, 11 Sep 2016, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level macro call > 4. No

Re: [PATCH v16 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-09-12 Thread Mark Brown
On Sat, Sep 10, 2016 at 07:57:26AM +1000, NeilBrown wrote: > On Fri, Sep 09 2016, Mark Brown wrote: > > The wm831x driver in the patch series is an example of such hardware - > > it is purely a power manager, it has no USB PHY hardware at all. It's a > The "probe" routine calls > +

Re: [PATCH 05/26] ARCNET: constify local structures

2016-09-12 Thread Julia Lawall
On Sun, 11 Sep 2016, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level macro call > 4. No

Re: [RFC PATCH v2 14/20] x86: DMA support for memory encryption

2016-09-12 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:38:07PM -0500, Tom Lendacky wrote: > Since DMA addresses will effectively look like 48-bit addresses when the > memory encryption mask is set, SWIOTLB is needed if the DMA mask of the > device performing the DMA does not support 48-bits. SWIOTLB will be > initialized to

Re: [PATCH v5 2/3] mfd: add support for Allwinner SoCs ADC

2016-09-12 Thread Quentin Schulz
On 12/09/2016 12:49, Lee Jones wrote: > On Mon, 12 Sep 2016, Maxime Ripard wrote: > >> On Mon, Sep 12, 2016 at 10:59:23AM +0100, Lee Jones wrote: >> +static const struct of_device_id sun4i_gpadc_mfd_of_match[] = { >> +{ >> +.compatible =

Re: [GIT PULL 00/29] EFI changes for v4.9

2016-09-12 Thread Matt Fleming
On Fri, 09 Sep, at 04:18:22PM, Matt Fleming wrote: > Folks, please queue up the following patches for v4.9. There's more > work on refactoring EFI code to be architecture independent and the > largest number of patches is spent cleaning up the EFI memory map code > and allowing drivers on x86 to

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-12 Thread Oleg Nesterov
On 09/10, Cheng Chao wrote: > > @@ -126,6 +126,17 @@ int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, > void *arg) > cpu_stop_init_done(, 1); > if (!cpu_stop_queue_work(cpu, )) > return -ENOENT; > + > +#if defined(CONFIG_PREEMPT_NONE) > + /* > + * Makes the

Re: [PATCH] staging: comedi: comedi_fops: coding style fixes

2016-09-12 Thread Greg Kroah-Hartman
On Thu, Sep 08, 2016 at 03:27:49PM -0300, Matias Mucciolo wrote: > > - Fixed coding style in comedi_fops.c Symbolic to octal permission. > > Signed-off-by: Matias Mucciolo > Reviewed-by: Ian Abbott > --- > drivers/staging/comedi/comedi_fops.c | 6

Re: [PATCH 1/1] Staging:dgnc:dgnc_neo: fixed 80 character line limit coding style issue

2016-09-12 Thread Greg KH
On Sat, Sep 03, 2016 at 04:16:29PM +0530, Nadim Almas wrote: > Fixed coding style issue > > Signed-off-by: Nadim Almas > --- > drivers/staging/dgnc/dgnc_neo.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/dgnc/dgnc_neo.c

Re: [PATCH] PM / Hibernate: allow hibernation with PAGE_POISONING_ZERO

2016-09-12 Thread Pavel Machek
On Fri 2016-09-09 10:43:32, Anisse Astier wrote: > PAGE_POISONING_ZERO disables zeroing new pages on alloc, they are > poisoned (zeroed) as they become available. > In the hibernate use case, free pages will appear in the system without > being cleared, left there by the loading kernel. > > This

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-09-12 Thread Roger Quadros
Hi Santosh & Russell, On 19/08/16 19:38, Santosh Shilimkar wrote: > > On 8/19/2016 12:30 AM, Roger Quadros wrote: >> Hi Santosh, >> > So I'm 99.9% convinced that the proposed change is correct. >>> I will got with that then :-) and take my objection back. Just >>> saying that if there

Re: [PATCH] xen: consolidate swiotbl_xen dma_ops

2016-09-12 Thread Ingo Molnar
* Christoph Hellwig wrote: > +struct dma_map_ops xen_swiotlb_dma_ops = { > + .mapping_error = xen_swiotlb_dma_mapping_error, > + .alloc = xen_swiotlb_alloc_coherent, > + .free = xen_swiotlb_free_coherent, > + .sync_single_for_cpu = xen_swiotlb_sync_single_for_cpu, >

Re: [RFC PATCH v2 15/20] iommu/amd: AMD IOMMU support for memory encryption

2016-09-12 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:38:20PM -0500, Tom Lendacky wrote: > Add support to the AMD IOMMU driver to set the memory encryption mask if > memory encryption is enabled. > > Signed-off-by: Tom Lendacky > --- > arch/x86/include/asm/mem_encrypt.h |2 ++ >

[PATCH v8 0/9] MT2701 DRM support

2016-09-12 Thread YT Shen
This is MT2701 DRM support PATCH v8, based on 4.8-rc1. We add DSI interrupt control, transfer function for MIPI DSI panel support. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size

[PATCH v8 8/9] drm/mediatek: update DSI sub driver flow

2016-09-12 Thread YT Shen
This patch update enable/disable flow of DSI module and MIPI TX module. Original flow works on there is a bridge chip: DSI -> bridge -> panel. In this case: DSI -> panel, the DSI sub driver flow should be updated. We need to initialize DSI first so that we can send commands to panel.

[PATCH][V2] atm: iphase: fix newline escape and minor tweak to source formatting Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit

2016-09-12 Thread Colin King
From: Colin Ian King The newline escape is incorrect and needs fixing. Also adjust source formatting / indentation and add { } to trailing else. Signed-off-by: Colin Ian King --- drivers/atm/iphase.c | 6 +++--- 1 file changed, 3

[PATCH v8 7/9] drm/mediatek: add dsi transfer function

2016-09-12 Thread YT Shen
From: shaoming chen add dsi read/write commands for transfer function Signed-off-by: shaoming chen --- drivers/gpu/drm/mediatek/mtk_dsi.c | 183 + 1 file changed, 183 insertions(+) diff --git

[PATCH v8 9/9] drm/mediatek: add support for Mediatek SoC MT2701

2016-09-12 Thread YT Shen
This patch add support for the Mediatek MT2701 DISP subsystem. There is only one OVL engine in MT2701. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 6 ++ drivers/gpu/drm/mediatek/mtk_disp_rdma.c| 6 ++

Re: Observing Softlockup's while running heavy IOs

2016-09-12 Thread Neil Horman
On Mon, Sep 12, 2016 at 01:48:39PM +0530, Sreekanth Reddy wrote: > On Thu, Sep 8, 2016 at 7:09 PM, Neil Horman wrote: > > On Thu, Sep 08, 2016 at 11:12:40AM +0530, Sreekanth Reddy wrote: > >> On Wed, Sep 7, 2016 at 6:54 PM, Neil Horman wrote: > >> >

Re: lockdep: incorrect deadlock warning with two GPIO expanders

2016-09-12 Thread Peter Zijlstra
On Mon, Sep 12, 2016 at 01:51:55PM +0200, Bartosz Golaszewski wrote: > I'm trying to figure out a way of getting rid of an incorrect lockdep > deadlock warning, but the issue is not trivial. > > In our hardware an I2C multiplexer is controlled by a GPIO provided by > an expander. There's a second

Re: [patch v1] x86/platform/mellanox: introduce support for Mellanox systems platform

2016-09-12 Thread Geert Uytterhoeven
On Mon, Sep 12, 2016 at 12:21 PM, Greg KH wrote: > On Mon, Sep 12, 2016 at 11:14:26AM +0200, Geert Uytterhoeven wrote: >> On Mon, Sep 12, 2016 at 10:34 AM, Greg KH wrote: >> >> This is LPC to I2C bridge. >> > >> > "LPC"? >> >>

Re: [PATCH 2/2] staging: sm750fb: fix block comment style and spelling issues in ddk750_chip.c

2016-09-12 Thread Greg KH
On Sun, Sep 04, 2016 at 09:04:10PM +0300, Moshe Green wrote: > Fix the following warning types: > - line length > - block comment line * prefix > - trailing */ on a separate line > found by the checkpatch.pl tool in multiple block comments. > > Fix a single spelling error in a comment. > >

[PATCH 2/2] mm: split gfp_mask and mapping flags into separate fields

2016-09-12 Thread Michal Hocko
From: Michal Hocko mapping->flags currently encodes two different things into a single flag. It contains sticky gfp_mask for page cache allocations and AS_ codes used to report errors/enospace and other states which are mapping specific. Condensing the two semantically unrelated

[PATCH 1/2] fs: use mapping_set_error instead of opencoded set_bit

2016-09-12 Thread Michal Hocko
From: Michal Hocko mapping_set_error helper sets the correct AS_ flag for the mapping so there is no reason to open code it. Use the helper directly. Signed-off-by: Michal Hocko --- drivers/staging/lustre/lustre/llite/vvp_page.c | 5 + fs/afs/write.c

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-12 Thread Peter Zijlstra
On Mon, Sep 12, 2016 at 01:37:27PM +0200, Peter Zijlstra wrote: > So what you're saying is that migration_stop_cpu() doesn't work because > wait_for_completion() dequeues the task. > > True I suppose. Not sure I like your solution, nor your implementation > of the solution much though. > > I

Re: [PATCH] pinctrl: Add SX150X GPIO Extender Pinctrl Driver

2016-09-12 Thread Peter Rosin
Hi! Sorry for the delay, other stuff interfered... As I stated previously, we have an sx1502, and this seems /almost/ good. Comments inline. On 2016-09-06 14:56, Neil Armstrong wrote: > Since the I2C sx150x GPIO expander driver uses platform_data to manage > the pins configurations, rewrite the

[PATCH 2/5] ipc/sem: rework task wakeups

2016-09-12 Thread Davidlohr Bueso
Our sysv sems have been using the notion of lockless wakeups for a while, ever since 0a2b9d4c796 (ipc/sem.c: move wake_up_process out of the spinlock section), in order to reduce the sem_lock hold times. This in-house pending queue can be replaced by wake_q (just like all the rest of ipc now), in

[PATCH 5/5] ipc/sem: use proper list api for pending_list wakeups

2016-09-12 Thread Davidlohr Bueso
... saves some LoC and looks cleaner than re-implementing the calls. Signed-off-by: Davidlohr Bueso --- ipc/sem.c | 38 +- 1 file changed, 13 insertions(+), 25 deletions(-) diff --git a/ipc/sem.c b/ipc/sem.c index 3774b21c54d4..64c9d143b300

[PATCH 1/5] ipc/sem: do not call wake_sem_queue_do() prematurely

2016-09-12 Thread Davidlohr Bueso
... as this call should obviously be paired with its _prepare() counterpart. At least whenever possible, as there is no harm in calling it bogusly as we do now in a few places. Immediate error semop(2) paths that are far from ever having the task block can be simplified and avoid a few unnecessary

[PATCH 4/5] ipc/sem: explicitly inline check_restart

2016-09-12 Thread Davidlohr Bueso
The compiler already does this, but make it explicit. This helper is really small and also used in update_queue's main loop, which is O(N^2) scanning. Inline and avoid the function overhead. Signed-off-by: Davidlohr Bueso --- ipc/sem.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3/5] ipc/sem: optimize perform_atomic_semop()

2016-09-12 Thread Davidlohr Bueso
This is the main workhorse that deals with semop user calls such that the waitforzero or semval update operations, on the set, can complete on not as the sma currently stands. Currently, the set is iterated twice (setting semval, then backwards for the sempid value). Slowpaths, and particularly

[PATCH -next 0/5] ipc/sem: semop(2) improvements

2016-09-12 Thread Davidlohr Bueso
Hi, Here are a few updates around the semop syscall handling that I noticed while reviewing Manfred's simple vs complex ops fixes. Changes are on top of -next, which means that Manfred's pending patches to ipc/sem.c that remove the redundant barrier(s) would probably have to be rebased. The

Re: [PATCH v5 0/3] mm, proc: Implement /proc//totmaps

2016-09-12 Thread Michal Hocko
On Mon 05-09-16 16:14:06, robert.f...@collabora.com wrote: > From: Robert Foss > > This series provides the /proc/PID/totmaps feature, which > summarizes the information provided by /proc/PID/smaps for > improved performance and usability reasons. > > A use case is to

[PATCH v8 4/9] drm/mediatek: update display module connections

2016-09-12 Thread YT Shen
update connections for OVL, RDMA, BLS, DSI Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 25 + drivers/gpu/drm/mediatek/mtk_drm_ddp_comp.h | 1 + 2 files changed, 26 insertions(+) diff --git

Re: [PATCH] net: dsa: add FIB support

2016-09-12 Thread kbuild test robot
Hi John, [auto build test WARNING on net-next/master] [also build test WARNING on next-20160912] [cannot apply to v4.8-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=a

Re: [RFC PATCH v2 16/20] x86: Check for memory encryption on the APs

2016-09-12 Thread Borislav Petkov
On Mon, Aug 22, 2016 at 05:38:29PM -0500, Tom Lendacky wrote: > Add support to check if memory encryption is active in the kernel and that > it has been enabled on the AP. If memory encryption is active in the kernel > but has not been enabled on the AP then do not allow the AP to continue > start

Re: [PATCH] pinctrl/at91: Don't provide a default trigger type

2016-09-12 Thread Linus Walleij
On Tue, Sep 6, 2016 at 3:58 PM, Marc Zyngier wrote: > at91 used to set a default trigger type for GPIO interrupts in > order to cope with the old board files. These days are long gone, > and it all gets probed through DT. > > Andras Szemzo reported that the Ethernet device

Re: ARM,SoC: About the use DT-defined properties by 3rd-party drivers

2016-09-12 Thread Sebastian Frias
Hi Timur, On 08/28/2016 10:36 PM, Timur Tabi wrote: > On Wed, Aug 24, 2016 at 9:29 AM, Sebastian Frias wrote: >> >> If this is really not possible, it forces the SoC manufacturer to expose >> those properties in a different way, thus wasting a (seemingly) perfectly >> fine way

[PATCH] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h

2016-09-12 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/char/mem.c:220:12: warning: no previous prototype for 'phys_mem_access_prot_allowed' [-Wmissing-prototypes] int __weak phys_mem_access_prot_allowed(struct file *file, In fact, its declaration is spreading to several header files in

Re: [PATCH 4/4] mmc: sdhci-st: Handle interconnect clock

2016-09-12 Thread Ulf Hansson
On 8 September 2016 at 13:58, Lee Jones wrote: > Sorry Adrian, left you of the list. Rectifying. > > FYI, this patch is due for the v4.8 -rcs: > > http://www.spinics.net/lists/kernel/msg2338219.html > >> Some ST platforms contain interconnect (ICN) clocks which must be

Re: [PATCH 12/26] [SCSI] hptiop: constify local structures

2016-09-12 Thread Julia Lawall
On Sun, 11 Sep 2016, Julia Lawall wrote: > For structure types defined in the same file or local header files, find > top-level static structure declarations that have the following > properties: > 1. Never reassigned. > 2. Address never taken > 3. Not passed to a top-level macro call > 4. No

Re: [UPDATE PATCH V10 1/8] ACPI: I/O Remapping Table (IORT) initial support

2016-09-12 Thread Tomasz Nowicki
Hi Rafael, On 09.09.2016 11:20, Lorenzo Pieralisi wrote: Hi Rafael, On Wed, Sep 07, 2016 at 01:56:52PM +0200, Tomasz Nowicki wrote: IORT shows representation of IO topology for ARM based systems. It describes how various components are connected together on parent-child basis e.g. PCI RC ->

Re: [PATCH v6 1/5] gpio: pca953x: code shrink

2016-09-12 Thread Linus Walleij
On Fri, Sep 9, 2016 at 11:17 AM, Bartosz Golaszewski wrote: > There are multiple places in the driver code where a > switch (chip->chip_type) is used to determine the proper register > offset. > > Unduplicate the code by adding a simple structure holding the possible >

Re: [PATCH v2 3/4] ARM: dts: Add NextThing GR8 dtsi

2016-09-12 Thread Laurent Pinchart
Hi Linus, On Monday 12 Sep 2016 14:40:15 Linus Walleij wrote: > On Thu, Sep 8, 2016 at 9:37 AM, Maxime Ripard wrote: > > On Thu, Sep 08, 2016 at 12:46:14PM +0800, Chen-Yu Tsai wrote: > >> Also, I think we are needlessly using pin groups, 1 pin per group. > >> Can pinconf/pinctrl work without

Re: [PATCH v6 5/5] gpio: pca953x: coding style fixes

2016-09-12 Thread Linus Walleij
On Fri, Sep 9, 2016 at 11:17 AM, Bartosz Golaszewski wrote: > pca953x_gpio_set_multiple() has some coding style issues that make it > harder to read. Tweak the code a bit. > > Signed-off-by: Bartosz Golaszewski > Reviewed-by: Andy Shevchenko

Re: [PATCH v4 6/9] pinctrl: Add IRQ support to STM32 gpios

2016-09-12 Thread Linus Walleij
On Thu, Sep 8, 2016 at 5:47 PM, Alexandre Torgue wrote: > Just one question, when you say "super-complex irqchip in use", do you mean > I could use another (simplest) solution to handle this EXTI controller? I don't know, GPIOLIB_IRQCHIP is to be used for some specific

[PATCH V2 04/10] dmaengine: qcom_hidma: configure DMA and MSI for OF

2016-09-12 Thread Sinan Kaya
Configure the DMA bindings for the device tree based firmware. Signed-off-by: Sinan Kaya --- drivers/dma/qcom/hidma_mgmt.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/dma/qcom/hidma_mgmt.c b/drivers/dma/qcom/hidma_mgmt.c index

[PATCH V2 03/10] of: irq: make of_msi_configure accessible from modules

2016-09-12 Thread Sinan Kaya
The of_msi_configure routine is only accessible by the built-in kernel drivers. Export this function so that modules can use it too. This function is useful for configuring MSI on child device tree nodes on hierarchical objects. Acked-by: Rob Herring Signed-off-by: Sinan Kaya

[PATCH v3 2/4] tmp/tpm_crb: fix Intel PTT hw bug during idle state

2016-09-12 Thread Tomas Winkler
There is a HW bug in Skylake, and Broxton PCH Intel PTT device, where most of the registers in the control area except START, REQUEST, CANCEL, and LOC_CTRL lost retention when the device is in the idle state. Hence we need to bring the device to ready state before accessing the other registers.

[PATCH] power: reset: add in missing white space in error message text

2016-09-12 Thread Colin King
From: Colin Ian King A dev_err message spans two lines and the literal string is missing a white space between words. Add the white space. Signed-off-by: Colin Ian King --- drivers/power/reset/keystone-reset.c | 2 +- 1 file changed, 1

[PATCH v3 0/4] tpm/tpm_crb: implement power management.

2016-09-12 Thread Tomas Winkler
Te overall platform ability to enter a low power state is also conditioned on the ability of a tpm device to go to idle state. This series should provide this feature. Unfortunately, there is a HW bug on Intel PTT devices on Skylake, Kabylake, and Broxton devices, where certain registers lost

[PATCH v4 4/4] tmp/tpm_crb: implement runtime pm for tpm_crb

2016-09-12 Thread Tomas Winkler
Utilize runtime_pm for driving tpm crb idle states. The framework calls cmd_ready from the pm_runtime_resume handler and go idle from the pm_runtime_suspend handler. The TPM framework should wake the device before transmit and receive. In case the runtime_pm framework is not enabled, the device

[PATCH V2 02/10] Documentation: DT: qcom_hidma: correct spelling mistakes

2016-09-12 Thread Sinan Kaya
Fix the spelling mistakes and extra and statements in the sentences. Acked-by: Rob Herring Signed-off-by: Sinan Kaya --- Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V2 01/10] Documentation: DT: qcom_hidma: update binding for MSI

2016-09-12 Thread Sinan Kaya
Adding a new binding for qcom,hidma-1.1 to distinguish HW supporting MSI interrupts from the older revision. Signed-off-by: Sinan Kaya --- Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-12 Thread Oleg Nesterov
On 09/12, Peter Zijlstra wrote: > > --- a/kernel/stop_machine.c > +++ b/kernel/stop_machine.c > @@ -121,6 +121,11 @@ int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, > void *arg) > cpu_stop_init_done(, 1); > if (!cpu_stop_queue_work(cpu, )) > return -ENOENT; > +

<    1   2   3   4   5   6   7   8   9   10   >