Re: [PATCH 8/9] irqchip/ls-scfg-msi: add LS1043a v1.1 MSI support

2017-01-03 Thread Rob Herring
On Tue, Dec 27, 2016 at 05:13:04PM +0800, Minghuan Lian wrote: > A MSI controller of LS1043a v1.0 only includes one MSIR and > is assigned one GIC interrupt. In order to support affinity, > LS1043a v1.1 MSI is assigned 4 MSIRs and 4 GIC interrupts. > But the MSIR has the different offset and only s

Re: [PATCH 7/9] irqchip/ls-scfg-msi: add LS1046a MSI support

2017-01-03 Thread Rob Herring
On Tue, Dec 27, 2016 at 05:13:03PM +0800, Minghuan Lian wrote: > LS1046a includes 4 MSIRs, each MSIR is assigned a dedicate GIC > SPI interrupt and provides 32 MSI interrupts. Compared to previous > MSI, LS1046a's IBS(interrupt bit select) shift is changed to 2 and > total MSI interrupt number is c

Re: [PATCH v3 5/6] mfd: dt: Add bindings for the Aspeed SoC Display Controller (GFX)

2017-01-03 Thread Lee Jones
On Tue, 06 Dec 2016, Andrew Jeffery wrote: > The Aspeed SoC Display Controller is presented as a syscon device to > arbitrate access by display and pinmux drivers. Video pinmux > configuration on fifth generation SoCs depends on bits in both the > System Control Unit and the Display Controller. >

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

2017-01-03 Thread Stefan Agner
On 2017-01-03 04:46, Boris Brezillon wrote: >> > Well, regarding the imx_pwm_apply_v2() suggested by Stefan, I think we >> > both agreed that most of the code was unneeded when all we want to do >> > is disable the PWM. >> >> So for the PATCH 7/11 we fix the issue with recalculating clocks >> when

Re: [PATCH v3 4/6] mfd: dt: Add bindings for the Aspeed LPC Host Controller (LHC)

2017-01-03 Thread Lee Jones
On Tue, 06 Dec 2016, Andrew Jeffery wrote: > The LPC bus pinmux configuration on fifth generation Aspeed SoCs depends > on bits in both the System Control Unit and the LPC Host Controller. > > The Aspeed LPC Host Controller is described as a child node of the > LPC host-range syscon device for ar

Re: [PATCH v3 2/6] mfd: dt: ranges, #address-cells and #size-cells as optional properties

2017-01-03 Thread Lee Jones
On Tue, 06 Dec 2016, Andrew Jeffery wrote: > Whilst describing a device and not a bus, simple-mfd is modelled on > simple-bus where child nodes are iterated and registered as platform > devices. Some complex devices, e.g. the Aspeed LPC controller, can > benefit from address space mapping such tha

Re: [PATCH v2 3/6] staging: fbtft: fallback to usual allocation when DMA fails

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 17:12, skrev Andy Shevchenko: On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: Fall back to usual allocation method if DMA coherent allocation fails. SPI framework will map and use DMA mapped memory when possible. Locally I have re-done DMA approach and thus this patch

[PATCH v4 06/15] mtd: nand: kill the MTD_NAND_IDS Kconfig option

2017-01-03 Thread Boris Brezillon
MTD_NAND_IDS is selected by MTD_NAND, which makes it useless. Remove the Kconfig option and link nand_ids.o into the nand.o object file. Doing that also prevents adding an extra nand_ids.ko module when MTD_NAND is activated as a module. Signed-off-by: Boris Brezillon --- arch/cris/arch-v32/drive

[GIT PULL] Immutable branch between MFD and MTD due for the v4.11 merge window

2017-01-03 Thread Lee Jones
MTD Maintainers, Enjoy! The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ib-mfd-mtd-v4.11 for you to fetch changes up to

[PATCH] iommu: Drop the of_iommu_{set/get}_ops() interface

2017-01-03 Thread Lorenzo Pieralisi
With the introduction of the new iommu_{register/get}_instance() interface in commit e4f10ffe4c9b ("iommu: Make of_iommu_set/get_ops() DT agnostic") (based on struct fwnode_handle as look-up token, so firmware agnostic) to register IOMMU instances with the core IOMMU layer there is no reason to kee

Re: [PATCH v6 6/8] IIO: add STM32 timer trigger driver

2017-01-03 Thread Jonathan Cameron
On 3 January 2017 12:59:20 GMT+00:00, Benjamin Gaignard wrote: >2017-01-03 10:23 GMT+01:00 Benjamin Gaignard >: >> 2017-01-02 19:22 GMT+01:00 Jonathan Cameron : >>> On 02/01/17 08:46, Benjamin Gaignard wrote: 2016-12-30 22:12 GMT+01:00 Jonathan Cameron : > On 09/12/16 14:15, Benjamin G

[PATCHv6 03/11] arm64: Move some macros under #ifndef __ASSEMBLY__

2017-01-03 Thread Laura Abbott
Several macros for various x_to_y exist outside the bounds of an __ASSEMBLY__ guard. Move them in preparation for support for CONFIG_DEBUG_VIRTUAL. Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott --- arch/arm64/include/asm/memory.h | 38 +++---

[PATCHv6 08/11] kexec: Switch to __pa_symbol

2017-01-03 Thread Laura Abbott
__pa_symbol is the correct api to get the physical address of kernel symbols. Switch to it to allow for better debug checking. Reviewed-by: Mark Rutland Tested-by: Mark Rutland Acked-by: "Eric W. Biederman" Signed-off-by: Laura Abbott --- kernel/kexec_core.c | 2 +- 1 file changed, 1 insertio

Re: [PATCH v2 1/6] staging: fbtft: convert fbtft_reset() to be non-atomic

2017-01-03 Thread Noralf Trønnes
Den 02.01.2017 12:35, skrev Andy Shevchenko: First of all, fbtft in current state doesn't allow to override GPIOs to be optional, like "reset" one. It might be a bug somewhere, but rather out of scope of this fix. Second, not all GPIOs available on the board would be SoC based, some of them mig

[PATCHv6 09/11] mm/kasan: Switch to using __pa_symbol and lm_alias

2017-01-03 Thread Laura Abbott
__pa_symbol is the correct API to find the physical address of symbols. Switch to it to allow for debugging APIs to work correctly. Other functions such as p*d_populate may call __pa internally. Ensure that the address passed is in the linear region by calling lm_alias. Reviewed-by: Mark Rutland

[PATCHv6 05/11] mm: Introduce lm_alias

2017-01-03 Thread Laura Abbott
Certain architectures may have the kernel image mapped separately to alias the linear map. Introduce a macro lm_alias to translate a kernel image symbol into its linear alias. This is used in part with work to add CONFIG_DEBUG_VIRTUAL support for arm64. Reviewed-by: Mark Rutland Tested-by: Mark

[PATCH PoCv2 0/2] mmc: add blk-mq support

2017-01-03 Thread Bartlomiej Zolnierkiewicz
Hi, It prints a lot of scheduling while atomic warnings during boot, lacks error handling and is otherwise incomplete but boots successully on my Odroid-XU3 board. I hope that it is useful to somebody. The differences between these patches and Linus' RFD patch: - request completion is handled fr

[PATCHv6 10/11] mm/usercopy: Switch to using lm_alias

2017-01-03 Thread Laura Abbott
The usercopy checking code currently calls __va(__pa(...)) to check for aliases on symbols. Switch to using lm_alias instead. Reviewed-by: Mark Rutland Tested-by: Mark Rutland Acked-by: Kees Cook Signed-off-by: Laura Abbott --- mm/usercopy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deleti

[PATCHv6 04/11] arm64: Add cast for virt_to_pfn

2017-01-03 Thread Laura Abbott
virt_to_pfn lacks a cast at the top level. Don't rely on __virt_to_phys and explicitly cast to unsigned long. Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott --- arch/arm64/include/asm/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a

[PATCHv6 07/11] drivers: firmware: psci: Use __pa_symbol for kernel symbol

2017-01-03 Thread Laura Abbott
__pa_symbol is technically the macro that should be used for kernel symbols. Switch to this as a pre-requisite for DEBUG_VIRTUAL which will do bounds checking. Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott --- drivers/firmware/psci.c | 2 +- 1 file changed, 1 i

[PATCHv6 06/11] arm64: Use __pa_symbol for kernel symbols

2017-01-03 Thread Laura Abbott
__pa_symbol is technically the marcro that should be used for kernel symbols. Switch to this as a pre-requisite for DEBUG_VIRTUAL which will do bounds checking. Reviewed-by: Mark Rutland Tested-by: Mark Rutland Signed-off-by: Laura Abbott --- arch/arm64/include/asm/kvm_mmu.h | 4 ++--

[PATCH PoCv2 1/2] Revert "mmc: queue: Share mmc request array between partitions"

2017-01-03 Thread Bartlomiej Zolnierkiewicz
Shared mmc queue changes break mmc-mq ones currently. This reverts commit 6540ce8420b7790ef0696ccfd6e911df7ba84c33. Conflicts: drivers/mmc/core/queue.c Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/core/block.c | 11 +-- drivers/mmc/core/queue.c | 252 +++---

[PATCH PoCv2 2/2] mmc-mq: initial blk-mq support

2017-01-03 Thread Bartlomiej Zolnierkiewicz
Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/mmc/core/block.c| 104 -- drivers/mmc/core/block.h| 3 +- drivers/mmc/core/bus.c | 3 +- drivers/mmc/core/core.c | 120 +--- drivers/mmc/core/mmc_t

[PATCHv6 02/11] mm/cma: Cleanup highmem check

2017-01-03 Thread Laura Abbott
6b101e2a3ce4 ("mm/CMA: fix boot regression due to physical address of high_memory") added checks to use __pa_nodebug on x86 since CONFIG_DEBUG_VIRTUAL complains about high_memory not being linearlly mapped. arm64 is now getting support for CONFIG_DEBUG_VIRTUAL as well. Rather than add an explosion

Re: [PATCH v2 5/6] staging: fbtft: fb_ssd1306: Support smaller screen sizes

2017-01-03 Thread Noralf Trønnes
Den 02.01.2017 12:35, skrev Andy Shevchenko: There is 64x48 display exists. In order to support that set multiplexer to 48 pixels and window address to proper position in the graphic display data RAM. Signed-off-by: Andy Shevchenko --- Patches 5 and 6: Acked-by: Noralf Trønnes drivers/

Re: [PATCH 0/4 v2] of/overlay: sysfs based ABI for dt overlays

2017-01-03 Thread Heinrich Schuchardt
On 01/03/2017 01:11 PM, Pantelis Antoniou wrote: > Hi Frank, Heinrich, > >> On Dec 22, 2016, at 21:00 , Frank Rowand wrote: >> >> Hi Heinrich, >> >> On 12/20/16 11:04, Heinrich Schuchardt wrote: >>> Currently the kernel only supplies an internal API for creating >>> and destroying device tree ove

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-03 Thread Paolo Bonzini
On 03/01/2017 13:06, David Hildenbrand wrote: >> >> switch (cap->cap) { >> case KVM_CAP_HYPERV_SYNIC: >> -return kvm_hv_activate_synic(vcpu); >> +if (!irqchip_in_kernel(vcpu->kvm)) >> +return -EINVAL; >> +else > > You can simply drop the else and ret

[PATCHv6 01/11] lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL

2017-01-03 Thread Laura Abbott
DEBUG_VIRTUAL currently depends on DEBUG_KERNEL && X86. arm64 is getting the same support. Rather than add a list of architectures, switch this to ARCH_HAS_DEBUG_VIRTUAL and let architectures select it as appropriate. Acked-by: Ingo Molnar Reviewed-by: Mark Rutland Tested-by: Mark Rutland Sugg

[PATCHv6 00/11] CONFIG_DEBUG_VIRTUAL for arm64

2017-01-03 Thread Laura Abbott
Happy New Year! This is a very minor rebase from v5. It only moves a few headers around. I think this series should be ready to be queued up for 4.11. Thanks, Laura Laura Abbott (11): lib/Kconfig.debug: Add ARCH_HAS_DEBUG_VIRTUAL mm/cma: Cleanup highmem check arm64: Move some macros under

Re: [PATCH 3/7] mm, vmscan: show the number of skipped pages in mm_vmscan_lru_isolate

2017-01-03 Thread Vlastimil Babka
On 12/28/2016 04:30 PM, Michal Hocko wrote: --- a/mm/vmscan.c +++ b/mm/vmscan.c @@ -1428,6 +1428,7 @@ static unsigned long isolate_lru_pages(unsigned long nr_to_scan, unsigned long nr_taken = 0; unsigned long nr_zone_taken[MAX_NR_ZONES] = { 0 }; unsigned long nr_skipped[M

[next PATCH v3 3/3] mm: Add documentation for page fragment APIs

2017-01-03 Thread Alexander Duyck
From: Alexander Duyck This is a first pass at trying to add documentation for the page_frag APIs. They may still change over time but for now I thought I would try to get these documented so that as more network drivers and stack calls make use of them we have one central spot to document how the

[PATCH v4 00/15] mtd: nand: allow vendor specific detection/initialization

2017-01-03 Thread Boris Brezillon
Hello, This patch series is a step forward in supporting vendor-specific functionalities. This series is mainly moving vendor-specific initialization or detection code out of the core, but also introduces an infrastructure allowing support for vendor-specific features. While those features might

[next PATCH v3 2/3] mm: Rename __page_frag functions to __page_frag_cache, drop order from drain

2017-01-03 Thread Alexander Duyck
From: Alexander Duyck This patch does two things. First it goes through and renames the __page_frag prefixed functions to __page_frag_cache so that we can be clear that we are draining or refilling the cache, not the frags themselves. Second we drop the order parameter from __page_frag_cache_dr

Re: [PATCH v6 6/8] IIO: add STM32 timer trigger driver

2017-01-03 Thread Jonathan Cameron
On 3 January 2017 09:23:34 GMT+00:00, Benjamin Gaignard wrote: >2017-01-02 19:22 GMT+01:00 Jonathan Cameron : >> On 02/01/17 08:46, Benjamin Gaignard wrote: >>> 2016-12-30 22:12 GMT+01:00 Jonathan Cameron : On 09/12/16 14:15, Benjamin Gaignard wrote: > Timers IPs can be used to generat

Re: [PATCH 2/2] mm: add PageWaiters indicating tasks are waiting for a page bit

2017-01-03 Thread Mel Gorman
On Tue, Jan 03, 2017 at 10:29:58PM +1000, Nicholas Piggin wrote: > > kernel building showed nothing unusual on any machine > > > > git checkout in a loop showed; > > o minor gains with Nick's patch > > o no impact from Linus's patch > > o flat performance from PeterZ's > > > > git tes

Re: [PATCH] USB: ohci-omap: defer probe if PHY is missing

2017-01-03 Thread Greg Kroah-Hartman
On Mon, Jan 02, 2017 at 10:53:55PM +0200, Aaro Koskinen wrote: > Defer probe if PHY is missing. E.g. on Nokia 770 several modules needs > to be loaded to get the PHY going and ohci-omap should wait for those. > > Signed-off-by: Aaro Koskinen Is this a new bug? The 770 has been around for foreve

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 14:58, skrev Andy Shevchenko: On Tue, 2017-01-03 at 12:51 +0200, Andy Shevchenko wrote: On Mon, 2017-01-02 at 19:14 +0100, Noralf Trønnes wrote: Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider, in part

Re: [PATCH] mfd:rtsx: do retry when dma transfer error

2017-01-03 Thread Lee Jones
On Fri, 09 Dec 2016, steven_f...@realsil.com.cn wrote: > From: steven_feng > > the request should be reissued when dma transfer error. > for rts5227, the clock freq need to step reduce when error occurred. > > Signed-off-by: steven_feng > --- > drivers/mfd/rtsx_pcr.c | 15 +-

Re: [PATCH 2/2] printk: always report lost messages on serial console

2017-01-03 Thread Petr Mladek
On Wed 2017-01-04 00:47:45, Sergey Senozhatsky wrote: > On (01/03/17 15:55), Petr Mladek wrote: > [..] > > This causes the opposite problem. We might print a message that was supposed > > to be suppressed. > > so what? yes, we print a message that otherwise would have been suppressed. > not a big

Re: [PATCH 6/9] arm64: dts: ls1046a: add MSI dts node

2017-01-03 Thread Rob Herring
On Tue, Dec 27, 2016 at 05:13:02PM +0800, Minghuan Lian wrote: > LS1046a includes 3 MSI controllers. > Each controller supports 128 interrupts. > > Signed-off-by: Minghuan Lian > --- > .../interrupt-controller/fsl,ls-scfg-msi.txt | 1 + > arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi

[next PATCH v3 1/3] mm: Rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_free

2017-01-03 Thread Alexander Duyck
From: Alexander Duyck This patch renames the page frag functions to be more consistent with other APIs. Specifically we place the name page_frag first in the name and then have either an alloc or free call name that we append as the suffix. This makes it a bit clearer in terms of naming. In ad

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: Handle 64-bit resource in crb_check_resource()

2017-01-03 Thread Jarkko Sakkinen
On Tue, Dec 20, 2016 at 12:19:27AM -0600, Jiandi An wrote: > The control area buffer is specified in the TPM2.0 static ACPI table. TPM > CRB driver maps the control area address and reads out cmd and rsp buffer > addresses and maps them. There is no requirement in the TCG TPM ACPI spec > for spec

Re: [PATCH 1/9] irqchip/ls-scfg-msi: fix typo of MSI compatible strings

2017-01-03 Thread Rob Herring
On Tue, Dec 27, 2016 at 05:12:57PM +0800, Minghuan Lian wrote: > The patch is to fix typo of the Layerscape SCFG MSI dts compatible > strings. "1" is replaced by "l". > > Signed-off-by: Minghuan Lian > --- > .../devicetree/bindings/interrupt-controller/fsl,ls-scfg-msi.txt| 6 > +++--- > dri

[next PATCH v3 0/3] Page fragment updates

2017-01-03 Thread Alexander Duyck
This patch series takes care of a few cleanups for the page fragments API. First we do some renames so that things are much more consistent. First we move the page_frag_ portion of the name to the front of the functions names. Secondly we split out the cache specific functions from the other pag

Re: [PATCH 4/7] mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint

2017-01-03 Thread Vlastimil Babka
On 12/28/2016 04:30 PM, Michal Hocko wrote: From: Michal Hocko mm_vmscan_lru_isolate currently prints only whether the LRU we isolate from is file or anonymous but we do not know which LRU this is. It is useful to know whether the list is file or anonymous as well. Change the tracepoint to show

[PATCH v4 02/15] mtd: nand: store nand ID in struct nand_chip

2017-01-03 Thread Boris Brezillon
Store the NAND ID in struct nand_chip to avoid passing id_data and id_len as function parameters. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 55 include/linux/mtd/nand.h | 13 +++ 2 files changed, 43 insertions(+), 2

Re: [v2, 1/4] ARM: davinci: da8xx-dt: Add ti-aemif lookup for clock matching

2017-01-03 Thread David Lechner
On 01/03/2017 02:58 AM, Sekhar Nori wrote: On Monday 02 January 2017 01:34 PM, Sekhar Nori wrote: On Saturday 31 December 2016 06:22 AM, David Lechner wrote: On 08/10/2016 06:00 AM, Karl Beldan wrote: Many davinci boards (da830 and da850 families) don't have their clocks in DT yet and won't be

Re: [RESEND 1/2] document: dt: add binding for Hi3660 SoC

2017-01-03 Thread Rob Herring
On Mon, Dec 26, 2016 at 05:36:11PM +0800, Chen Feng wrote: > Add binding for hisilicon Hi3660 SoC and HiKey960 Board. > > Signed-off-by: Chen Feng > --- > Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 > 1 file changed, 4 insertions(+) Acked-by: Rob Herring

Re: [PATCH RESEND] dmaengine: stm32-dma: Rework starting transfer management

2017-01-03 Thread M'boumba Cedric Madianga
Hi Vinod, > ah sorry, i missed to push topic/stm32-dma. can you rebase onnthis and > resend again. Btw this fails as as well.. I have tried again and I don't have any issue. Please see below my way of working and let me know if there is something I don't understand: slave-dma git://git.infradead.

Re: [PATCH 4/4] arm64: dts: exynos: Add tm2 touchkey node

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 03, 2017 at 04:57:17PM +0900, Jaechul Lee wrote: > Add DT node support for TM2 touchkey device. > > Signed-off-by: Jaechul Lee > Signed-off-by: Beomho Seo > Signed-off-by: Andi Shyti The order of sign-offs should follow the order of "who touched it". I assume that the real order wa

Re: [PATCH 2/4] input: tm2-touchkey: Add touchkey driver support for TM2

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 03, 2017 at 04:57:15PM +0900, Jaechul Lee wrote: > This patch adds support for the TM2 touch key and led > functionlity. > > The driver interfaces with userspace through an input device and > reports KEY_PHONE and KEY_BACK event types. LED brightness can be > controlled by "/sys/class/

Re: multi-threads libvmmalloc fork test hang

2017-01-03 Thread Ross Zwisler
On Thu, Oct 27, 2016 at 03:37:20PM +0200, Jan Kara wrote: > Thanks for the report. I'll try to reproduce it... > > Honza > > On Thu 27-10-16 19:22:30, Xiong Zhou wrote: > > # description > > > > nvml test suite vmmalloc_fork test hang

Re: [PATCH] drm: add fourcc codes for 16bit R and GR

2017-01-03 Thread Rainer Hochecker
On Mon, Jan 2, 2017 at 3:31 PM, Rainer Hochecker wrote: > > I chose GR16 because that matches with Mesa texture formats. Unfortunately > RG16 is already taken by DRM_FORMAT_RGB565 > So GR32 / RG32 might be better. All other codes in fourcc.h seem to sum up > all planes. > > (sorry, gmail included

Re: [PATCH 1/2] pwm: sunxi: allow the pwm to finish its pulse before disable

2017-01-03 Thread Alexandre Belloni
On 03/01/2017 at 16:59:57 +0100, Olliver Schinagl wrote : > On 12-12-16 13:24, Maxime Ripard wrote: > > On Thu, Dec 08, 2016 at 02:23:39PM +0100, Olliver Schinagl wrote: > > > Hey Maxime, > > > > > > first off, also sorry for the slow delay :) (pun not intended) > > > > > > On 27-08-16 00:19, Max

Re: [PATCH] fbcon: Fix vc attr at deinit

2017-01-03 Thread Takashi Iwai
On Tue, 03 Jan 2017 17:49:05 +0100, Greg Kroah-Hartman wrote: > > On Tue, Jan 03, 2017 at 04:03:22PM +0100, Takashi Iwai wrote: > > fbcon can deal with vc_hi_font_mask (the upper 256 chars) and adjust > > the vc attrs dynamically when vc_hi_font_mask is changed at > > fbcon_init(). When the vc_hi

Re: LTP rwtest01 blocks on DAX mountpoint

2017-01-03 Thread Ross Zwisler
On Tue, Jan 03, 2017 at 02:49:22PM +0800, Xiong Zhou wrote: > On Mon, Jan 02, 2017 at 02:49:41PM -0700, Ross Zwisler wrote: > > On Mon, Jan 02, 2017 at 06:16:17PM +0100, Jan Kara wrote: > > > On Fri 30-12-16 17:33:53, Xiong Zhou wrote: > > > > On Sat, Dec 24, 2016 at 07:07:14PM +0800, Xiong Zhou wr

Re: [PATCH v4 1/5] devicetree: mfd: Add binding for the TI LM3533

2017-01-03 Thread Rob Herring
On Mon, Dec 26, 2016 at 10:11:49AM -0800, Bjorn Andersson wrote: > From: Bjorn Andersson > > Add the binding for the Texas Instruments LM3533 lighting power > solution. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Bjorn Andersson > --- > > I had Acks from Jonathan and Rob on v3, but dr

[PATCH v4 03/15] mtd: nand: get rid of busw parameter

2017-01-03 Thread Boris Brezillon
Auto-detection functions are passed a busw parameter to retrieve the actual NAND bus width and eventually set the correct value in chip->options. Rework the nand_get_flash_type() function to get rid of this extra parameter and let detection code directly set the NAND_BUSWIDTH_16 flag in chip->optio

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Krzysztof Kozlowski
On Wed, Jan 04, 2017 at 12:29:23AM +0900, Chanwoo Choi wrote: > Hi Andi, > > 2017-01-03 23:40 GMT+09:00 Andi Shyti : > > Hi, > > > >> FWIW, I also agree with Chanwoo that the difference is too small to > >> need a common .dtsi file. > > > > in principle I don't like "switching on and off" properti

Re: [PATCHv3] mfd: cpcap: Add minimal support

2017-01-03 Thread Lee Jones
On Mon, 05 Dec 2016, Tony Lindgren wrote: > Many Motorola phones like droid 4 are using a custom PMIC called CPCAP > or 6556002. We can support it's core features quite easily with regmap_spi > and regmap_irq. > > The children of cpcap, such as regulators, ADC and USB, can be just regular > devic

Re: [PATCH] fbcon: Fix vc attr at deinit

2017-01-03 Thread Greg Kroah-Hartman
On Tue, Jan 03, 2017 at 04:03:22PM +0100, Takashi Iwai wrote: > fbcon can deal with vc_hi_font_mask (the upper 256 chars) and adjust > the vc attrs dynamically when vc_hi_font_mask is changed at > fbcon_init(). When the vc_hi_font_mask is set, it remaps the attrs in > the existing console buffer w

Re: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2017-01-03 Thread Greg KH
On Tue, Dec 06, 2016 at 06:10:38PM +, Stuart Yoder wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Tuesday, December 06, 2016 11:56 AM > > To: Stuart Yoder > > Cc: Ruxandra Ioana Radulescu ; > > de...@driverdev.osuosl.org; linux- > >

Re: [PATCH v2 0/2] trace-cmd record: add --cpu-list option

2017-01-03 Thread Steven Rostedt
On Tue, 3 Jan 2017 11:32:58 -0500 Luiz Capitulino wrote: > On Tue, 22 Nov 2016 15:20:50 -0500 > Luiz Capitulino wrote: > > > This series adds support for a --cpu-list option, which is > > much more human friendly than -M: > > > > # trace-cmd record --cpu-list 1,4,10-15 [...] > > > > The fir

Re: [PATCH] pwm: sunxi: wait for the READY bit

2017-01-03 Thread Alexandre Belloni
On 03/01/2017 at 16:56:16 +0100, Olliver Schinagl wrote : > Hey Alexandre, > > I've sent several patches regarding pwm a while ago, sadly you never > responded [0]. So I guess this is a follow up from that? > Well, we had the issue and I just had a bit of time to look at it. As I remembered you

Re: [PATCH v1 12/54] dm: limit the max bio size as BIO_MAX_PAGES * PAGE_SIZE

2017-01-03 Thread Mike Snitzer
On Tue, Dec 27 2016 at 10:56am -0500, Ming Lei wrote: > For BIO based DM, some targets aren't ready for dealing with > bigger incoming bio than 1Mbyte, such as crypt target. > > Signed-off-by: Ming Lei > --- > drivers/md/dm.c | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-)

Re: [v2 2/7] x86/mpx: Fail when implicit zero-displacement is used along with R/EBP

2017-01-03 Thread Dave Hansen
On 12/27/2016 02:33 PM, Ricardo Neri wrote: >>> diff --git a/arch/x86/mm/mpx.c b/arch/x86/mm/mpx.c >>> index 6a75a75..71681d0 100644 >>> --- a/arch/x86/mm/mpx.c >>> +++ b/arch/x86/mm/mpx.c >>> @@ -120,6 +120,13 @@ static int get_reg_offset(struct insn *insn, struct >>> pt_regs *regs, >>> >>>

Re: [PATCH v2] locking/pvqspinlock: Relax cmpxchg's to improve performance on some archs

2017-01-03 Thread Peter Zijlstra
On Sun, Dec 25, 2016 at 03:26:01PM -0500, Waiman Long wrote: > A number of cmpxchg calls in qspinlock_paravirt.h were replaced by more > relaxed versions to improve performance on architectures that use LL/SC. Claim without numbers ;-) > > All the locking related cmpxchg's are replaced with the

Re: [v2 3/7] x86/mpx, x86/insn: Relocate insn util functions to a new insn-utils

2017-01-03 Thread Dave Hansen
On 12/23/2016 05:37 PM, Ricardo Neri wrote: > Other kernel submodules can benefit from using the utility functions > defined in mpx.c to obtain the addresses and values of operands contained > in the general purpose registers. An instance of this is the emulation code > used for instructions protec

Re: [PATCH v3 3/3] nfc: trf7970a: Prevent repeated polling from crashing the kernel

2017-01-03 Thread Mark Greer
[Please stop top-posting. Bottom-post only to these lists.] Hi Geoff & happy new year. On Tue, Dec 27, 2016 at 09:18:32AM -0500, Geoff Lansberry wrote: > Mark - I will split this off soon. OK > In the meantime - here is some more info about how we use it. > > We do use NFC structures.I di

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-03 Thread James Bottomley
On Tue, 2017-01-03 at 15:51 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 02, 2017 at 01:40:48PM -0800, James Bottomley wrote: > > On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: > > > On Mon, Jan 02, 2017 at 08:36:20AM -0800, James Bottomley wrote: > > > > On Mon, 2017-01-02 at 15:22 +0200

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 03, 2017 at 07:25:48PM +0900, Andi Shyti wrote: > > >> > Currently tm2e dts includes tm2 but there are some differences > > >> > between the two boards and tm2 has some properties that tm2e > > >> > doesn't have. > > >> > > > >> > That's why it's important to keep the two dts files inde

Re: [PATCH net 9/9] virtio-net: XDP support for small buffers

2017-01-03 Thread John Fastabend
On 17-01-02 10:16 PM, Jason Wang wrote: > > > On 2017年01月03日 06:43, John Fastabend wrote: >> On 16-12-23 06:37 AM, Jason Wang wrote: >>> Commit f600b6905015 ("virtio_net: Add XDP support") leaves the case of >>> small receive buffer untouched. This will confuse the user who want to >>> set XDP bu

[GIT PULL] parisc architecture updates for v4.10-rc3

2017-01-03 Thread Helge Deller
Hi Linus, please pull three updates for the parisc architecture for kernel 4.10-rc3 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-4.10-2 Changes include: - Limit usage of processor-internal cr16 clocksource to UP systems only - Segfault info lines in sysl

[PATCH v4 07/15] mtd: nand: move Samsung specific init/detection logic in nand_samsung.c

2017-01-03 Thread Boris Brezillon
Move Samsung specific initialization and detection logic into nand_samsung.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c| 52 ++-- d

Re: [PATCH 1/8] ARM: dts: armada-370-rd: Utilize new DSA binding

2017-01-03 Thread Andrew Lunn
> + > + switch: switch@10 { > + compatible = "marvell,mv88e6085"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <16>; Hummm, a device tree question. switch@10, reg = <16>. Is there an implicit understanding that the 10 is hex?

Re: [PATCH] mfd: axp20x: correct a typo in axp20x_device_remove documentation

2017-01-03 Thread Lee Jones
On Mon, 05 Dec 2016, Corentin Labbe wrote: > The documentation of axp20x_device_remove() have a typo and use > axp20x_device_probe() as name. > This patch fix this typo. > > Signed-off-by: Corentin Labbe > --- > include/linux/mfd/axp20x.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH RFC V2] purgatory: fix up declarations

2017-01-03 Thread Nicholas Mc Guire
On Tue, Jan 03, 2017 at 10:38:14AM -0500, Vivek Goyal wrote: > On Fri, Dec 23, 2016 at 12:43:07PM +0100, Nicholas Mc Guire wrote: > > Add the missing declarations of basic purgatory functions and variables > > used with kexec_purgatory_get_set_symbol() to allow a clean build. > > > > Fixes: commit

Re: [PATCH v2 0/2] trace-cmd record: add --cpu-list option

2017-01-03 Thread Luiz Capitulino
On Tue, 22 Nov 2016 15:20:50 -0500 Luiz Capitulino wrote: > This series adds support for a --cpu-list option, which is > much more human friendly than -M: > > # trace-cmd record --cpu-list 1,4,10-15 [...] > > The first patch is a small refectoring needed to > make --cpu-list support fit nicel

Re: [PATCH 0/8] ARM: dts: Switch to new DSA binding

2017-01-03 Thread Andrew Lunn
> The series looks OK. However I would like to have a reviewed by from > Andrew who know well the mvebu platform and the DSA subsystem. Hi Gregory Yes, i was planning on reviewing, and testing on at least three of these platforms. Since this is mvebu/arm-soc and not netdev, i may take a week or

Re: [PATCH v4 0/5] thermal: fixes the rockchip thermal

2017-01-03 Thread ayaka
On 01/03/2017 09:13 AM, Randy Li wrote: On 01/03/2017 09:02 AM, Caesar Wang wrote: 在 2017年01月03日 07:57, Randy Li 写道: On 01/02/2017 09:16 PM, Caesar Wang wrote: 在 2016年12月31日 00:11, ayaka 写道: BTW, Caesar have you ever met this at RK3288 at booting time? [8.430582] thermal thermal_zo

Re: [PATCH 0/3] usb: xhci: Add broken port disable quirk

2017-01-03 Thread Mathias Nyman
On 03.01.2017 14:53, Felipe Balbi wrote: Hi, Roger Quadros writes: Mathias & Felipe, On 17/11/16 17:01, Roger Quadros wrote: Hi, Some XHCI controllers e.g. dwc3 based have a broken Port disable [1]. If the attached high-speed device is misbehaving, the USB stack typically disables the por

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 08:33:35AM -0700, David Ahern escreveu: > On 1/3/17 1:19 AM, Jiri Olsa wrote: > > It's now possible to specify the threshold size for > > perf.data like: > > > > $ perf record --switch-output=2G ... > > > > Once it's reached, the current data are dumped in to the > > per

Re: [PATCH] x86: fix kaslr and memmap collision

2017-01-03 Thread Ross Zwisler
On Tue, Jan 03, 2017 at 04:31:37PM +0800, Baoquan He wrote: > Hi Dan, > > On 11/22/16 at 09:26am, Dan Williams wrote: > > [ replying for Dave since he's offline today and tomorrow ] > > > > On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote: > > > > > > * Dave Jiang wrote: > > > > > >> CONFIG_

Re: [PATCH 0/3 -v3] GFP_NOFAIL cleanups

2017-01-03 Thread Vlastimil Babka
On 01/03/2017 03:38 PM, Tetsuo Handa wrote: Michal Hocko wrote: On Tue 03-01-17 10:36:31, Tetsuo Handa wrote: [...] > I'm OK with "[PATCH 1/3] mm: consolidate GFP_NOFAIL checks in the allocator > slowpath" given that we describe that we make __GFP_NOFAIL stronger than > __GFP_NORETRY with this p

Re: [PATCH 6/7] perf record: Add switch-output size option argument

2017-01-03 Thread David Ahern
On 1/3/17 9:12 AM, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 03, 2017 at 08:33:35AM -0700, David Ahern escreveu: >> On 1/3/17 1:19 AM, Jiri Olsa wrote: >>> It's now possible to specify the threshold size for >>> perf.data like: >>> >>> $ perf record --switch-output=2G ... >>> >>> Once it's re

[PATCH v4 09/15] mtd: nand: move Toshiba specific init/detection logic in nand_toshiba.c

2017-01-03 Thread Boris Brezillon
Move Toshiba specific initialization and detection logic into nand_toshiba.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c| 19 ++-- drivers/m

Re: [PATCH 0/8] ARM: dts: Switch to new DSA binding

2017-01-03 Thread Gregory CLEMENT
Hi Florian, On lun., janv. 02 2017, Florian Fainelli wrote: > Hi all, > > This patch series converts the in-tree users to utilize the new (relatively) > DSA binding that was introduced with commit 8c5ad1d6179d ("net: dsa: Document > new binding"). The legacy binding node is kept included, but

[PATCH] char: lack of bool string made CONFIG_DEVPORT always on

2017-01-03 Thread Max Bires
Without a bool string present, using "# CONFIG_DEVPORT is not set" in defconfig files would not actually unset devport. This esnured that /dev/port was always on, but there are reasons a user may wish to disable it (smaller kernel, attack surface reduction) if it's not being used. Adding a message

[PATCH v4 08/15] mtd: nand: move Hynix specific init/detection logic in nand_hynix.c

2017-01-03 Thread Boris Brezillon
Move Hynix specific initialization and detection logic into nand_hynix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 114 +++--

Re: [PATCH v2 3/6] staging: fbtft: fallback to usual allocation when DMA fails

2017-01-03 Thread Andy Shevchenko
On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: > Fall back to usual allocation method if DMA coherent allocation fails. > > SPI framework will map and use DMA mapped memory when possible. Locally I have re-done DMA approach and thus this patch became optional. Should I leave or remove

Re: [tpmdd-devel] [PATCH RFC 0/4] RFC: in-kernel resource manager

2017-01-03 Thread James Bottomley
On Tue, 2017-01-03 at 15:41 +0200, Jarkko Sakkinen wrote: > On Mon, Jan 02, 2017 at 09:26:58PM -0800, James Bottomley wrote: > > On Mon, 2017-01-02 at 13:40 -0800, James Bottomley wrote: > > > On Mon, 2017-01-02 at 21:33 +0200, Jarkko Sakkinen wrote: > > > > On Mon, Jan 02, 2017 at 08:36:20AM -0800

Re: [PATCH V9 0/3] irqchip: qcom: Add IRQ combiner driver

2017-01-03 Thread Agustin Vega-Frias
Hi, Is there any more feedback on this beyond Lorenzo's suggestion to drop the conditional check on the first patch? How can we move forward on this series? Thanks. On 2016-12-14 17:10, Agustin Vega-Frias wrote: Add support for IRQ combiners in the Top-level Control and Status Registers (TCSR)

Re: [PATCH v2 3/6] KVM: x86: make pic setup code look like ioapic setup

2017-01-03 Thread Paolo Bonzini
On 03/01/2017 14:04, David Hildenbrand wrote: > Am 16.12.2016 um 16:10 schrieb Radim Krčmář: >> We don't treat kvm->arch.vpic specially anymore, so the setup can look >> like ioapic. This gets a bit more information out of return values. > > This originally saved us from a race condition as far

Re: [PATCH 2/8] ARM: dts: armada-38x: Utilize new DSA binding

2017-01-03 Thread Gregory CLEMENT
Hi Florian, You should use the board name in the topic, ie: "ARM: dts: armada-385-linksys: Utilize new DSA binding" Thanks, Gregory On lun., janv. 02 2017, Florian Fainelli wrote: > Utilize the new DSA binding, introduced with commit 8c5ad1d6179d ("net: dsa: > Document new binding"). The le

Re: [PATCH v3] iommu/vt-d: Flush old iommu caches for kdump when the device gets context mapped

2017-01-03 Thread Joerg Roedel
On Tue, Jan 03, 2017 at 08:23:23AM -0700, Myron Stowe wrote: > This didn't seem to make the 4.10 merge window. Was that on purpose? > Any idea when you might include this in a pull request for Linus? I will collect fixes this week and send them to Linus, they will also include this patch.

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-03 Thread David Miller
From: Neil Horman Date: Tue, 3 Jan 2017 11:04:43 -0500 > On Tue, Jan 03, 2017 at 09:54:19AM -0500, David Miller wrote: >> From: Reiter Wolfgang >> Date: Tue, 3 Jan 2017 01:39:10 +0100 >> >> > Final nlmsg_len field update must reflect inserted net_dm_drop_point >> > data. >> > >> > This patch

Re: [PATCH] staging: octeon: Call SET_NETDEV_DEV()

2017-01-03 Thread Greg KH
On Tue, Dec 27, 2016 at 02:15:57PM -0800, Florian Fainelli wrote: > On 12/20/2016 07:20 PM, David Miller wrote: > > From: Florian Fainelli > > Date: Tue, 20 Dec 2016 17:02:37 -0800 > > > >> On 12/14/2016 05:13 PM, Florian Fainelli wrote: > >>> The Octeon driver calls into PHYLIB which now checks

Re: [PATCH] pwm: sunxi: wait for the READY bit

2017-01-03 Thread Olliver Schinagl
Hey Alexandre, I've sent several patches regarding pwm a while ago, sadly you never responded [0]. So I guess this is a follow up from that? I couldn't quickly find the resubmitted version however. Anyway, see below for my comments. On 03-01-17 15:57, Alexandre Belloni wrote: Most of the ca

Re: [PATCH] drop_monitor: consider inserted data in genlmsg_end

2017-01-03 Thread Neil Horman
On Tue, Jan 03, 2017 at 09:54:19AM -0500, David Miller wrote: > From: Reiter Wolfgang > Date: Tue, 3 Jan 2017 01:39:10 +0100 > > > Final nlmsg_len field update must reflect inserted net_dm_drop_point > > data. > > > > This patch depends on previous patch: > > "drop_monitor: add missing call to

Re: [PATCH v2 2/5] arm64: Work around Falkor erratum 1003

2017-01-03 Thread Mark Rutland
Hi, On Thu, Dec 29, 2016 at 05:43:32PM -0500, Christopher Covington wrote: > +config QCOM_FALKOR_E1003_RESERVED_ASID > + int > + default 1 > + depends on QCOM_FALKOR_ERRATUM_1003 > + I don't think this needs to be configurable, so let's drop this into a header, e.g. drop: #define FAL

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