Re: [PATCH] zram: Fix unbalanced idr management at hot removal

2016-11-21 Thread Sergey Senozhatsky
On (11/22/16 10:33), Minchan Kim wrote: > On Tue, Nov 22, 2016 at 10:28:12AM +0900, Sergey Senozhatsky wrote: > > On (11/22/16 10:22), Minchan Kim wrote: > > [..] > > > > > Acked-by: Minchan Kim > > > > > > > > Link: lkml.kernel.org/r/20161121132140.12683-1-ti...@suse.de > > > > Fixes: 17ec4cd985

Re: [PATCH v2 1/5] ARM: memory: da8xx-ddrctl: new driver

2016-11-21 Thread Frank Rowand
Hi Sekhar, (And adding Sudeep since he becomes involved in this further down thread and at that point says he will re-work this proposed work around in a manner that is incorrect in a manner that is similar to this proposed work around.) On 11/21/16 08:33, Sekhar Nori wrote: > On Monday 31 Octobe

linux-next: build warning after merge of the drm-misc tree

2016-11-21 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/linux/pci.h:30:0, from drivers/gpu/vga/vgaarb.c:40: drivers/gpu/vga/vgaarb.c: In function 'vga_arb_device_init': include/linux/device.h:

[PATCH] PCI: iproc: Fix incorrect MSI address alignment

2016-11-21 Thread Ray Jui
In the code to handle PAXB v2 based MSI steering, the logic aligns the MSI register address to the size of supported inbound mapping range. This is incorrect since it rounds "up" the starting address to the next aligned address, but what we want is the starting address to be rounded "down" to the a

Re: [PATCH 2/3] thermal: rockchip: improve conversion error messages

2016-11-21 Thread Caesar Wang
在 2016年11月19日 11:31, Caesar Wang 写道: Brian, 在 2016年11月19日 07:52, Brian Norris 写道: These error messages don't give much information about what went wrong. It would be nice, for one, to see what invalid temperature was being requested when conversion fails. It's also good to return an error when

Re: [PATCH 2/3] thermal: rockchip: improve conversion error messages

2016-11-21 Thread Brian Norris
On Tue, Nov 22, 2016 at 09:51:23AM +0800, Caesar Wang wrote: > CHECK: Alignment should match open parenthesis > #428: FILE: drivers/thermal/rockchip_thermal.c:428: > +pr_err("%s: invalid temperature, temp=%d error=%d\n", > +__func__, temp, error); > > CHECK: Alignment should match open

Re: [HMM v13 06/18] mm/ZONE_DEVICE/unaddressable: add special swap for unaddressable

2016-11-21 Thread Balbir Singh
On 21/11/16 16:05, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 01:06:45PM +1100, Balbir Singh wrote: >> >> >> On 19/11/16 05:18, Jérôme Glisse wrote: >>> To allow use of device un-addressable memory inside a process add a >>> special swap type. Also add a new callback to handle page fault on >

Re: [PATCH v10 2/8] power: add power sequence library

2016-11-21 Thread Rafael J. Wysocki
On Mon, Nov 14, 2016 at 2:35 AM, Peter Chen wrote: > We have an well-known problem that the device needs to do some power > sequence before it can be recognized by related host, the typical > example like hard-wired mmc devices and usb devices. > > This power sequence is hard to be described at de

Re: [PATCH 2/3] thermal: rockchip: improve conversion error messages

2016-11-21 Thread Caesar Wang
在 2016年11月22日 10:15, Brian Norris 写道: On Tue, Nov 22, 2016 at 09:51:23AM +0800, Caesar Wang wrote: CHECK: Alignment should match open parenthesis #428: FILE: drivers/thermal/rockchip_thermal.c:428: +pr_err("%s: invalid temperature, temp=%d error=%d\n", +__func__, temp, error); CHECK

Re: [PATCH 2/2] MAINTAINERS: Add myself as co-maintainer to fpga mgr framework.

2016-11-21 Thread atull
On Mon, 21 Nov 2016, Moritz Fischer wrote: > Add myself as co-maintainer to fpga mgr framework. > > Signed-off-by: Moritz Fischer > Cc: Alan Tull > Cc: Greg Kroah-Hartman > Cc: linux-kernel@vger.kernel.org > Cc: linux-f...@vger.kernel.org > --- > Hi all, > > Lately we've fallen behind a bit o

Re: [PATCH] ACPI: Override rev for DELL Latitude 3350

2016-11-21 Thread AceLan Kao
Hi Rafael, The patch you mentioned is pretty the same as mine, I'm happy to see that patch goes into upstream. Please keep doing this, thanks. Best regards, AceLan Kao. 2016-11-22 6:43 GMT+08:00 Rafael J. Wysocki : > On Monday, November 21, 2016 10:07:05 AM AceLan Kao wrote: >> The ethernet net

Re: [PATCH 1/6] apalis-tk1: remove spurious new lines

2016-11-21 Thread Linus Torvalds
.Marcel, your git-sendemail emails get marked as spam, because: dmarc=fail (p=QUARANTINE dis=NONE) header.from=toradex.com which is probably because the toradex.com dmarc rule requires DKIM, but you lack a DKIM signature. The most common case is that you've misconfigured your git-send-em

[GIT PULL] clk fixes for v4.9-rc6

2016-11-21 Thread Stephen Boyd
The following changes since commit 10f2bfb092e3b49000526c02cfe8b2abbbdbb752: clk: mmp: pxa910: fix return value check in pxa910_clk_init() (2016-11-01 17:41:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git tags/clk-fixes-for-linu

Re: [PATCH v6 0/3] Add Mediatek JPEG Decoder

2016-11-21 Thread Rick Chang
Hi Hans, Ok, I will include it in patch v7. On Mon, 2016-11-21 at 15:53 +0100, Hans Verkuil wrote: > I'm missing a MAINTAINERS patch for this new driver. > > Can you post a patch for that? > > It's the only thing preventing this from being merged. > > Regards, > > Hans > > On 17/11/16

Re: [PATCH 1/2] PM / Domains: Introduce domain-performance-state binding

2016-11-21 Thread Viresh Kumar
On 21-11-16, 09:07, Rob Herring wrote: > On Fri, Nov 18, 2016 at 02:53:12PM +0530, Viresh Kumar wrote: > > Some platforms have the capability to configure the performance state of > > their Power Domains. The performance levels are represented by positive > > integer values, a lower value represent

Re: [PATCH v6 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-21 Thread Rick Chang
Hi Hans, On Mon, 2016-11-21 at 15:51 +0100, Hans Verkuil wrote: > On 17/11/16 04:38, Rick Chang wrote: > > Signed-off-by: Rick Chang > > Signed-off-by: Minghsiu Tsai > > --- > > This patch depends on: > > CCF "Add clock support for Mediatek MT2701"[1] > > iommu and smi "Add the dtsi node of

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

2016-11-21 Thread Viresh Kumar
On 21-11-16, 17:06, Markus Mayer wrote: > From: Markus Mayer > > This CPUfreq driver provides basic frequency scaling for older Broadcom > STB SoCs that do not use AVS firmware with DVFS support. There is no > support for voltage scaling. > > Signed-off-by: Markus Mayer > --- > drivers/cpufreq

Re: [RFC][PATCH 3/3] usb: dwc2: Make sure we disconnect the gadget state

2016-11-21 Thread John Youn
On 11/15/2016 1:47 PM, John Stultz wrote: > I had seen some odd behavior with HiKey's usb-gadget interface > that I finally seemed to have chased down. Basically every other > time I pluged in the OTG port, the gadget interface would > properly initialize. The other times, I'd get a big WARN_ON > i

Re: [PATCH v2 3/6] mfd: dt: Add bindings for the Aspeed LPC Host Controller (LPCHC)

2016-11-21 Thread Andrew Jeffery
On Fri, 2016-11-18 at 18:45 +, Lee Jones wrote: > [Sending Arnd this time!] > > > Arnd, > > > > Do you have a preference? > > > > > The Aspeed LPC Host Controller is presented as a syscon device to > > > arbitrate access by LPC and pinmux drivers. LPC pinmux configuration on > > > fifth gene

Re: [PATCH] bfa: turn bfa_mem_{kva,dma}_setup into inline functions

2016-11-21 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> These two macros cause lots of warnings with gcc-7: Arnd> drivers/scsi/bfa/bfa_svc.c: In function 'bfa_fcxp_meminfo': Arnd> drivers/scsi/bfa/bfa_svc.c:521:103: error: '*' in boolean context, Arnd> suggest '&&' instead [-Werror=int-in-bool-context] Arnd

Re: [PATCH] xen-scsifront: Add a missing call to kfree

2016-11-21 Thread Martin K. Petersen
> "Juergen" == Juergen Gross writes: Juergen, Juergen> On 19/11/16 19:22, Quentin Lambert wrote: >> Most error branches following the call to kmalloc contain a call to >> kfree. This patch add these calls where they are missing. >> >> This issue was found with Hector. >> >> Signed-off-by:

Re: [PATCH v2] ufs: qcom: Properly clear hba priv on failure

2016-11-21 Thread Martin K. Petersen
> "Bjorn" == Bjorn Andersson writes: Bjorn> ufs_qcom_init() sets the hba priv data before attempting to Bjorn> acquire the phy handle, so make sure to clear this in the case of Bjorn> an error. Failing to do this will make ufs_qcom_setup_clocks() Bjorn> operate on the uninitalized host object

linux-next: manual merge of the block tree with the f2fs tree

2016-11-21 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/f2fs/segment.c between commit: 792b84b74b54 ("f2fs: support multiple devices") from the f2fs tree and commit: 70fd76140a6c ("block,fs: use REQ_* flags directly") from the block tree. I fixed it up (see below) an

Re: [PATCH 2/3] thermal: rockchip: improve conversion error messages

2016-11-21 Thread Brian Norris
On Tue, Nov 22, 2016 at 10:33:27AM +0800, Caesar Wang wrote: > 在 2016年11月22日 10:15, Brian Norris 写道: > >On Tue, Nov 22, 2016 at 09:51:23AM +0800, Caesar Wang wrote: > >>CHECK: Alignment should match open parenthesis > >>#428: FILE: drivers/thermal/rockchip_thermal.c:428: > >>+pr_err("%s: invali

Re: [PATCH v2 2/2] trace: Add an option for boot clock as trace clock

2016-11-21 Thread kbuild test robot
Hi Joel, [auto build test ERROR on tip/timers/core] [also build test ERROR on v4.9-rc6 next-20161117] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Joel-Fernandes/timekeeping-Introduce-a-fast-b

Re: [PATCH v2] mm: support anonymous stable page

2016-11-21 Thread Hugh Dickins
On Mon, 21 Nov 2016, Minchan Kim wrote: > From: Minchan Kim > Date: Fri, 11 Nov 2016 15:02:57 +0900 > Subject: [PATCH v2] mm: support anonymous stable page > > For developemnt for zram-swap asynchronous writeback, I found > strange corruption of compressed page. With investigation, it > reveals c

[PATCH v7 0/4] Add Mediatek JPEG Decoder

2016-11-21 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPEG image and Motion JPEG bitstream. changes since v6: - fix kbuild test fail - Add patch for MAINTAINERS changes since v5: - remove redundant name from struct mtk_jpeg_fmt - Set state of all buffers to VB

[PATCH v7 4/4] vcodec: mediatek: Add Maintainers entry for Mediatek JPEG driver

2016-11-21 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 93e9f42..a9e7ee0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7818,6 +7818,13 @@ L: net...@vger.kernel.org S: Maintained

[PATCH v7 2/4] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-11-21 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 + drivers/media/platform/mtk-jpeg/Makefile |2 + drivers/media/pla

[PATCH v7 1/4] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-21 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai Acked-by: Rob Herring --- .../bindings/media/mediatek-jpeg-decoder.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documen

[PATCH v7 3/4] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-21 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[2] [1] http://lists.infradead.org/pipermail/linux-mediatek/2016-October/007271.html [2] https://patc

Re: [PATCH V3 0/9] PM / OPP: Multiple regulator support

2016-11-21 Thread Viresh Kumar
On 18-11-16, 10:43, Mark Brown wrote: > On Fri, Nov 18, 2016 at 08:36:36AM +0530, Viresh Kumar wrote: > > > Can we please get this series reviewed quickly and come to a conclusion? It > > has > > already taken a lot of time getting this merged and the present code seems > > to be > > the best po

Re: [PATCH v10 2/8] power: add power sequence library

2016-11-21 Thread Peter Chen
On Tue, Nov 22, 2016 at 03:23:12AM +0100, Rafael J. Wysocki wrote: > > @@ -0,0 +1,237 @@ > > +/* > > + * core.c power sequence core file > > + * > > + * Copyright (C) 2016 Freescale Semiconductor, Inc. > > + * Author: Peter Chen > > + * > > + * This program is free software: you can redistrib

Re: [PATCH/RFC] add "failfast" support for raid1/raid10.

2016-11-21 Thread Shaohua Li
On Fri, Nov 18, 2016 at 04:16:11PM +1100, Neil Brown wrote: > Hi, > > I've been sitting on these patches for a while because although they > solve a real problem, it is a fairly limited use-case, and I don't > really like some of the details. > > So I'm posting them as RFC in the hope that a

linux-next: manual merge of the lightnvm tree with Linus' tree

2016-11-21 Thread Stephen Rothwell
Hi Matias, Today's linux-next merge of the lightnvm tree got a conflict in: drivers/nvme/host/lightnvm.c between commit: 409ae5a76e05 ("lightnvm: invalid offset calculation for lba_shift") from Linus' tree and commit: 2db3cb58a3dd ("nvme: lightnvm: attach lightnvm sysfs to nvme block de

Re: [PATCH v4] xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing

2016-11-21 Thread Hugh Dickins
On Mon, 21 Nov 2016, Boris Ostrovsky wrote: > Commit 9c17d96500f7 ("xen/gntdev: Grant maps should not be subject to > NUMA balancing") set VM_IO flag to prevent grant maps from being > subjected to NUMA balancing. > > It was discovered recently that this flag causes get_user_pages() to > always f

Re: [PATCH 3/3] locking/percpu-rwsem: Avoid unnecessary writer wakeups

2016-11-21 Thread Davidlohr Bueso
On Mon, 21 Nov 2016, Oleg Nesterov wrote: On 11/21, Oleg Nesterov wrote: No, no, I meant that afaics both readers can see per_cpu_sum() != 0 and thus the writer won't be woken up. Till the next down_read/up_read. Suppose that we have 2 CPU's, both counters == 1, both readers decrement. its co

[no subject]

2016-11-21 Thread Mehmet Kayaalp
>From e8196ab86d10c24a9ebc87a1007a4047dc77bab8 Mon Sep 17 00:00:00 2001 From: Mehmet Kayaalp Date: Mon, 21 Nov 2016 15:46:20 -0500 Subject: [PATCH v3 0/4] Certificate insertion support for x86 bzImages These patches add support for modifying the reserved space for extra certificates in a compress

[PATCH 2/4] KEYS: Add ELF class-independent certificate insertion support

2016-11-21 Thread Mehmet Kayaalp
Use ELF class-independent GElf API for processing the kernel binary. Signed-off-by: Mehmet Kayaalp --- scripts/Makefile | 1 + scripts/insert-sys-cert.c | 215 +++--- 2 files changed, 109 insertions(+), 107 deletions(-) diff --git a/scripts/Mak

[PATCH 3/4] KEYS: Support for inserting a certificate into x86 bzImage

2016-11-21 Thread Mehmet Kayaalp
The config option SYSTEM_EXTRA_CERTIFICATE (introduced in c4c361059585) reserves space in vmlinux file, which is compressed to create the self-extracting bzImage. This patch adds the capability of extracting the vmlinux, inserting the certificate, and repackaging the result into a bzImage. It only

[PATCH 1/4] KEYS: Insert incompressible bytes to reserve space in bzImage

2016-11-21 Thread Mehmet Kayaalp
Include a random filled binary in vmlinux at the space reserved with CONFIG_SYSTEM_EXTRA_CERTIFICATE. This results in an uncompressed reserved area inside the bzImage as well, so that it can be replaced with an actual certificate later (after the bzImage is distributed). Signed-off-by: Mehmet Kaya

[PATCH 4/4] KEYS: Print insert-sys-cert information to stdout instead of stderr

2016-11-21 Thread Mehmet Kayaalp
Detailed INFO output should go to stdout instead of stderr. Signed-off-by: Mehmet Kayaalp --- scripts/insert-sys-cert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/insert-sys-cert.c b/scripts/insert-sys-cert.c index 3d9018f..0516b2e 100644 --- a/scripts/insert-sys

[PATCH] spi: use sg_next for walking through the allocated scatterlist table

2016-11-21 Thread Juan Gutierrez
A null dereference or Oops exception might occurs when reading at once the whole content of an spi-nor of big enough size that requires an scatterlist table that does not fit into one single page. The spi_map_buf function is ignoring the chained sg case by dereferenceing the scatterlist elements i

[PATCH v3 0/4] Certificate insertion support for x86 bzImages

2016-11-21 Thread Mehmet Kayaalp
These patches add support for modifying the reserved space for extra certificates in a compressed bzImage in x86. This allows separating the system keyring certificate from the kernel build process. After the kernel image is distributed, the insert-sys-cert script can be used to insert the certific

Re: [HMM v13 03/18] mm/ZONE_DEVICE/free_hot_cold_page: catch ZONE_DEVICE pages

2016-11-21 Thread Anshuman Khandual
On 11/21/2016 06:20 PM, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 01:48:26PM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: >>> Catch page from ZONE_DEVICE in free_hot_cold_page(). This should never >>> happen as ZONE_DEVICE page must always have an elevated re

Re: [PATCH v2] mm: support anonymous stable page

2016-11-21 Thread Minchan Kim
Hi Hugh, On Mon, Nov 21, 2016 at 07:46:28PM -0800, Hugh Dickins wrote: > On Mon, 21 Nov 2016, Minchan Kim wrote: > > From: Minchan Kim > > Date: Fri, 11 Nov 2016 15:02:57 +0900 > > Subject: [PATCH v2] mm: support anonymous stable page > > > > For developemnt for zram-swap asynchronous writeback,

Re: [HMM v13 06/18] mm/ZONE_DEVICE/unaddressable: add special swap for unaddressable

2016-11-21 Thread Anshuman Khandual
On 11/21/2016 06:12 PM, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 04:28:04PM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: >>> To allow use of device un-addressable memory inside a process add a >>> special swap type. Also add a new callback to handle page fau

linux-next: manual merge of the md tree with the block tree

2016-11-21 Thread Stephen Rothwell
Hi Shaohua, Today's linux-next merge of the md tree got a conflict in: drivers/md/raid5-cache.c between commit: 70fd76140a6c ("block,fs: use REQ_* flags directly") from the block tree and commits: b4c625c67362 ("md/r5cache: r5cache recovery: part 1") 3bddb7f8f264 ("md/r5cache: handle

Re: [HMM v13 05/18] mm/ZONE_DEVICE/devmem_pages_remove: allow early removal of device memory

2016-11-21 Thread Anshuman Khandual
On 11/21/2016 06:09 PM, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 04:07:46PM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: >>> HMM wants to remove device memory early before device tear down so add an >>> helper to do that. >> >> Could you please explain why H

Re: linux-next: manual merge of the lightnvm tree with Linus' tree

2016-11-21 Thread Jens Axboe
On 11/21/2016 08:59 PM, Stephen Rothwell wrote: Hi Matias, Today's linux-next merge of the lightnvm tree got a conflict in: drivers/nvme/host/lightnvm.c between commit: 409ae5a76e05 ("lightnvm: invalid offset calculation for lba_shift") from Linus' tree and commit: 2db3cb58a3dd ("nvme

Re: [HMM v13 04/18] mm/ZONE_DEVICE/free-page: callback when page is freed

2016-11-21 Thread Anshuman Khandual
On 11/21/2016 06:04 PM, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 01:56:02PM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: >>> When a ZONE_DEVICE page refcount reach 1 it means it is free and nobody >>> is holding a reference on it (only device to which the me

Re: [RFC PATCH net v2 1/3] net: phy: add an option to disable EEE advertisement

2016-11-21 Thread Anand Moon
Hi Jerome, On 21 November 2016 at 21:05, Jerome Brunet wrote: > This patch adds an option to disable EEE advertisement in the generic PHY > by providing a mask of prohibited modes corresponding to the value found in > the MDIO_AN_EEE_ADV register. > > On some platforms, PHY Low power idle seems t

[PATCH] cpuidle/powernv: staticise powernv_idle_driver

2016-11-21 Thread Andrew Donnellan
powernv_idle_driver isn't exported, it can be made static. Found by sparse. Signed-off-by: Andrew Donnellan --- drivers/cpuidle/cpuidle-powernv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpuidle/cpuidle-powernv.c b/drivers/cpuidle/cpuidle-powernv.c index 7fe44

Re: [GIT PULL 1/4] bcm2835-dt-next-2016-11-18

2016-11-21 Thread Florian Fainelli
Le 18/11/2016 à 10:58, Eric Anholt a écrit : > Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-dt-next-2016-11-18 > > for you to fetch changes up to 3a1689ea752436917c5ce4487527ed6c444630ee: > > ARM: bc

Re: [GIT PULL 2/4] bcm2835-dt-64-next-2016-11-18

2016-11-21 Thread Florian Fainelli
Le 18/11/2016 à 10:58, Eric Anholt a écrit : > Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-dt-64-next-2016-11-18 > > for you to fetch changes up to a44e87b47148c6ee6b78509f47e6a15c0fae890a: > > ARM6

Re: [HMM v13 02/18] mm/ZONE_DEVICE/unaddressable: add support for un-addressable device memory

2016-11-21 Thread Anshuman Khandual
On 11/21/2016 06:03 PM, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 01:36:57PM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: >>> This add support for un-addressable device memory. Such memory is hotpluged >>> only so we can have struct page but should never be m

Re: [PATCH] xen-scsifront: Add a missing call to kfree

2016-11-21 Thread Juergen Gross
On 22/11/16 04:40, Martin K. Petersen wrote: >> "Juergen" == Juergen Gross writes: > > Juergen, > > Juergen> On 19/11/16 19:22, Quentin Lambert wrote: >>> Most error branches following the call to kmalloc contain a call to >>> kfree. This patch add these calls where they are missing. >>> >>>

Re: [PATCH v4] xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing

2016-11-21 Thread Juergen Gross
On 22/11/16 04:59, Hugh Dickins wrote: > On Mon, 21 Nov 2016, Boris Ostrovsky wrote: > >> Commit 9c17d96500f7 ("xen/gntdev: Grant maps should not be subject to >> NUMA balancing") set VM_IO flag to prevent grant maps from being >> subjected to NUMA balancing. >> >> It was discovered recently that

Re: [GIT PULL 3/4] bcm2835-defconfig-next-2016-11-18

2016-11-21 Thread Florian Fainelli
Le 18/11/2016 à 10:58, Eric Anholt a écrit : > Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-defconfig-next-2016-11-18 > > for you to fetch changes up to bab0cb90550467c71f4e1b73da406a2280c4f418: > >

Re: [GIT PULL 4/4] bcm2835-defconfig-64-next-2016-11-18

2016-11-21 Thread Florian Fainelli
Le 18/11/2016 à 10:58, Eric Anholt a écrit : > Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) > > are available in the git repository at: > > https://github.com/anholt/linux tags/bcm2835-defconfig-64-next-2016-11-18 > > for you to fetch changes up to ac178e4280e65f4d0d14b13a7bfec3a43ff90e66: > >

linux-next: manual merge of the audit tree with Linus' tree

2016-11-21 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the audit tree got a conflict in: include/uapi/linux/audit.h between commit: 7ff89ac608d9 ("audit: add exclude filter extension to feature bitmap") from Linus' tree and commit: 0489410368df ("audit: add support for session ID user filter") from the

[PATCH 1/1] ACPI: Document _OSI and _REV for Linux BIOS writers

2016-11-21 Thread Len Brown
From: Len Brown Based on a recent session at the Linux Plumber's Conference, we need to be more clear about how a BIOS should use _OSI to properly support Linux. Signed-off-by: Len Brown --- Documentation/acpi/osi.txt | 187 + 1 file changed, 187 ins

Re: [HMM v13 01/18] mm/memory/hotplug: convert device parameter bool to set of flags

2016-11-21 Thread Anshuman Khandual
On 11/21/2016 05:57 PM, Jerome Glisse wrote: > On Mon, Nov 21, 2016 at 12:11:50PM +0530, Anshuman Khandual wrote: >> On 11/18/2016 11:48 PM, Jérôme Glisse wrote: > > [...] > >>> @@ -956,7 +963,7 @@ kernel_physical_mapping_remove(unsigned long start, >>> unsigned long end) >>> remove_pagetabl

Re: [RFC PATCH net v2 2/3] dt: bindings: add ethernet phy eee-disable-advert option documentation

2016-11-21 Thread Florian Fainelli
Le 21/11/2016 à 08:47, Andrew Lunn a écrit : >> What I did not realize when doing this patch for the realtek driver is >> that there is already 6 valid modes defined in the kernel >> >> #define MDIO_EEE_100TX MDIO_AN_EEE_ADV_100TX /* >> 100TX EEE cap */ >> #define MDIO_EEE_1000T

linux-next: manual merge of the tip tree with the pm tree

2016-11-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/idle/Kconfig drivers/idle/i7300_idle.c between commits: f2f31bb3f50b ("idle / i7300: Add CONFIG_PCI dependency") ccd29e2ed6bc ("i7300_idle: avoid theoretical uninitialized data usage") 881ef1847b2d ("i7300_idl

[PATCH 0/2] virtio: fix complaint by sparse

2016-11-21 Thread Gonglei
I found some warnings reported by sparse in the virtio code when I checked virtio-crypto's driver stuff. Let's fix them. Gonglei (2): virtio_pci_modern: fix complaint by sparse virtio_ring: fix complaint by sparse drivers/virtio/virtio_pci_modern.c | 8 drivers/virtio/virtio_ring.c

Re: [PATCH] zram: Fix unbalanced idr management at hot removal

2016-11-21 Thread Takashi Iwai
On Tue, 22 Nov 2016 02:39:13 +0100, Sergey Senozhatsky wrote: > > On (11/22/16 10:33), Minchan Kim wrote: > > On Tue, Nov 22, 2016 at 10:28:12AM +0900, Sergey Senozhatsky wrote: > > > On (11/22/16 10:22), Minchan Kim wrote: > > > [..] > > > > > > Acked-by: Minchan Kim > > > > > > > > > > Link: l

[PATCH 1/2] virtio_pci_modern: fix complaint by sparse

2016-11-21 Thread Gonglei
drivers/virtio/virtio_pci_modern.c:66:40: warning: incorrect type in argument 2 (different base types) drivers/virtio/virtio_pci_modern.c:66:40:expected unsigned int [noderef] [usertype] *addr drivers/virtio/virtio_pci_modern.c:66:40:got restricted __le32 [noderef] [usertype] *lo drivers

[PATCH 2/2] virtio_ring: fix complaint by sparse

2016-11-21 Thread Gonglei
# make C=2 CF="-D__CHECK_ENDIAN__" ./drivers/virtio/ drivers/virtio/virtio_ring.c:423:19: warning: incorrect type in assignment (different base types) drivers/virtio/virtio_ring.c:423:19:expected unsigned int [unsigned] [assigned] i drivers/virtio/virtio_ring.c:423:19:got restricted __v

Re: [PATCH v10 04/10] kexec_file: Add support for purgatory built as PIE.

2016-11-21 Thread Michael Ellerman
Thiago Jung Bauermann writes: > Am Sonntag, 20. November 2016, 10:45:46 BRST schrieb Dave Young: >> On 11/10/16 at 01:27am, Thiago Jung Bauermann wrote: >> > powerpc's purgatory.ro has 12 relocation types when built as >> > a relocatable object. To implement support for them requires >> > arch_kex

[GIT PULL] extcon next for v4.10

2016-11-21 Thread Chanwoo Choi
Dear Greg, This is extcon-next pull request for v4.10. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit a25f0944ba9b1d8a6813fd6f1a86f1bd59ac25a6: Linux 4.9-rc5 (2016-11-13 10:32:3

Re: [PATCH 00/36] cputime: Convert core use of cputime_t to nsecs

2016-11-21 Thread Martin Schwidefsky
On Mon, 21 Nov 2016 17:20:06 +0100 Frederic Weisbecker wrote: > On Mon, Nov 21, 2016 at 07:59:56AM +0100, Martin Schwidefsky wrote: > > On Fri, 18 Nov 2016 15:47:02 +0100 > > Frederic Weisbecker wrote: > > > > The do_account_vtime function is called once per jiffy and once per task > > > > switc

Re: [PATCH v10 04/10] kexec_file: Add support for purgatory built as PIE.

2016-11-21 Thread Dave Young
Hi Michael On 11/22/16 at 05:01pm, Michael Ellerman wrote: > Thiago Jung Bauermann writes: > > Am Sonntag, 20. November 2016, 10:45:46 BRST schrieb Dave Young: > >> On 11/10/16 at 01:27am, Thiago Jung Bauermann wrote: > >> > powerpc's purgatory.ro has 12 relocation types when built as > >> > a rel

Re: [PATCH v2 2/4] spi: spi-fsl-dspi: Fix continuous selection format

2016-11-21 Thread maitysanchayan
On 16-11-21 15:15:41, Stefan Agner wrote: > On 2016-11-20 21:54, Sanchayan Maity wrote: > > Current DMA implementation was not handling the continuous selection > > format viz. SPI chip select would be deasserted even between sequential > > serial transfers. Use the cs_change variable and correctly

Re: [PATCH v2 4/4] spi: spi-fsl-dspi: Minor code cleanup and error path fixes

2016-11-21 Thread maitysanchayan
On 16-11-21 15:22:09, Stefan Agner wrote: > On 2016-11-20 21:54, Sanchayan Maity wrote: > > Code cleanup for improving code readability and error path fixes > > and cleanup removing use of devm_kfree. > > Two things in one, not very nice. Especially the dma_free_coherent is > really a bug and the

Re: [PATCH] Lock down drivers that can have io ports, io mem, irqs and dma changed

2016-11-21 Thread Dominik Brodowski
On Mon, Nov 21, 2016 at 11:10:52PM +, David Howells wrote: > One Thousand Gnomes wrote: > > > You need to filter or lock down kernel module options because a lot of > > modules let you set the I/O port or similar (eg mmio) which means you can > > hack the entire machine with say the 8250 driv

Re: [PATCH v2 1/5] ARM: memory: da8xx-ddrctl: new driver

2016-11-21 Thread Sekhar Nori
Hi Frank, On Tuesday 22 November 2016 07:13 AM, Frank Rowand wrote: > On 11/21/16 08:33, Sekhar Nori wrote: >> On Monday 31 October 2016 08:15 PM, Bartosz Golaszewski wrote: >>> +static int da8xx_ddrctl_probe(struct platform_device *pdev) >>> +{ >>> + const struct da8xx_ddrctl_config_knob *knob;

[GIT PULL] SCSI fixes for 4.9-rc6

2016-11-21 Thread James Bottomley
Two small fixes. One prevents timeouts on mpt3sas when trying to use the secure erase protocol which causes the erase protocol to be aborted. The second is a regression in a prior fix which causes all commands to abort during PCI extended error recovery, which is incorrect because PCI EEH is inde

Re: [mm PATCH v3 21/23] mm: Add support for releasing multiple instances of a page

2016-11-21 Thread Andrew Morton
On Mon, 21 Nov 2016 08:21:39 -0800 Alexander Duyck wrote: > >> + __free_pages_ok(page, order); > >> + } > >> +} > >> +EXPORT_SYMBOL(__page_frag_drain); > > > > It's an exported-to-modules library function. It should be documented, > > please? The page-frag API is only p

[PATCH] ipv6:ipv6_pinfo dereferenced after NULL check

2016-11-21 Thread Manjeet Pawar
From: Rohit Thapliyal np checked for NULL and then dereferenced. It should be modified for NULL case. Signed-off-by: Rohit Thapliyal Signed-off-by: Manjeet Pawar --- net/ipv6/ip6_output.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net/ipv6/ip6_output.c b/net/

Re: [PATCH] zram: Fix unbalanced idr management at hot removal

2016-11-21 Thread Sergey Senozhatsky
A correction, On (11/22/16 10:09), Sergey Senozhatsky wrote: [..] > > > Bugzilla: https://bugzilla.opensuse.org/show_bug.cgi?id=1010970 > > > Reported-and-tested-by: David Disseldorp > > > Reviewed-by: David Disseldorp > > > Cc: > > > Signed-off-by: Takashi Iwai > > > > Acked-by: Minchan Kim

[PATCH] Input: elan_i2c - Add new ic and modify some functions for new IC infomation Signed-off-by: KT Liao

2016-11-21 Thread KT Liao
--- drivers/input/mouse/elan_i2c.h | 6 ++- drivers/input/mouse/elan_i2c_core.c | 40 +-- drivers/input/mouse/elan_i2c_i2c.c | 74 drivers/input/mouse/elan_i2c_smbus.c | 9 - 4 files changed, 108 insertions(+), 21 deletions(-) di

Re: [RFC][PATCH 3/3] usb: dwc2: Make sure we disconnect the gadget state

2016-11-21 Thread John Stultz
On Mon, Nov 21, 2016 at 7:23 PM, John Youn wrote: > On 11/15/2016 1:47 PM, John Stultz wrote: >> I had seen some odd behavior with HiKey's usb-gadget interface >> that I finally seemed to have chased down. Basically every other >> time I pluged in the OTG port, the gadget interface would >> proper

Re: [PATCH 2/2] mmc: sdhci-pci: Use ACPI to get max frequency for Intel byt sdio controller sub-vended by NI

2016-11-21 Thread Adrian Hunter
On 22/11/16 01:04, Zach Brown wrote: > On NI 9037 boards the max SDIO frequency is limited by trace lengths > and other layout choices. The max SDIO frequency is stored in an ACPI > table. > > The driver reads the ACPI entry MXFQ during sdio_probe_slot and sets the > f_max field of the host. > >

Re: [PATCH 1/2] tools lib traceevent: Add retrieval of preempt count and latency flags

2016-11-21 Thread Namhyung Kim
Hi Steve, On Fri, Nov 18, 2016 at 05:54:00PM -0500, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Add a way to retrieve the preempt count as well as the latency flags from a > pevent_record. > > int pevent_data_pc(pevent, record); I think pevent_data_preempt_count() is better..

Re: [PATCH 2/2] tools lib traceevent: Use USECS_PER_SEC instead of hardcoded number

2016-11-21 Thread Namhyung Kim
On Mon, Nov 21, 2016 at 11:41:49AM -0500, Steven Rostedt wrote: > On Fri, 18 Nov 2016 20:40:22 -0300 > Arnaldo Carvalho de Melo wrote: > > > Em Fri, Nov 18, 2016 at 05:54:01PM -0500, Steven Rostedt escreveu: > > > From: "Steven Rostedt (Red Hat)" > > > > > > Instead of using 100, define a U

Re: [PATCHSET 0/7] perf sched: Introduce timehist command, again (v2)

2016-11-21 Thread Namhyung Kim
Hi Jiri, On Wed, Nov 16, 2016 at 04:34:28PM +0100, Jiri Olsa wrote: > On Wed, Nov 16, 2016 at 03:06:26PM +0900, Namhyung Kim wrote: > > Hello, > > > > This patchset is a rebased version of David's sched timehist work [1]. > > I plan to improve perf sched command more and think that having > > tim

Re: [PATCHSET 0/7] perf sched: Introduce timehist command, again (v2)

2016-11-21 Thread Namhyung Kim
Hi Arnaldo, Could you please take a look at this? Thanks, Namhyung On Wed, Nov 16, 2016 at 03:06:26PM +0900, Namhyung Kim wrote: > Hello, > > This patchset is a rebased version of David's sched timehist work [1]. > I plan to improve perf sched command more and think that having > timehist comm

[PATCH v3 0/3] Fixes for Vybrid SPI DMA implementation

2016-11-21 Thread Sanchayan Maity
Hello, This v3 set of patches have fixes for Vybrid SPI DMA implementation and is rebased on top of latest topic/fsl-dspi. http://git.kernel.org/cgit/linux/kernel/git/broonie/spi.git/log/?h=topic/fsl-dspi The patches have been tested on a Toradex Colibri Vybrid VF61 module and now incoporate fe

[PATCH v3 3/3] spi: spi-fsl-dspi: Fix incorrect freeing of DMA allocated buffers

2016-11-21 Thread Sanchayan Maity
Buffers allocated with a call to dma_alloc_coherent should be freed with dma_free_coherent instead of the currently used devm_kfree. Signed-off-by: Sanchayan Maity --- drivers/spi/spi-fsl-dspi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-fsl-dspi.c

[PATCH v3 1/3] spi: spi-fsl-dspi: Fix incorrect DMA setup

2016-11-21 Thread Sanchayan Maity
Currently dmaengine_prep_slave_single was being called with length set to the complete DMA buffer size. This resulted in unwanted bytes being transferred to the SPI register leading to clock and MOSI lines having unwanted data even after chip select got deasserted and the required bytes having been

[PATCH v3 2/3] spi: spi-fsl-dspi: Fix continuous selection format

2016-11-21 Thread Sanchayan Maity
Current DMA implementation was not handling the continuous selection format viz. SPI chip select would be deasserted even between sequential serial transfers. Use existing dspi_data_to_pushr function to restructure the transmit code path and set or reset the CONT bit on same lines as code path in

Re: [PATCH v2] iio: adc: New driver for TI ADS7950 chips

2016-11-21 Thread Jonathan Cameron
On 21 November 2016 22:54:24 GMT+00:00, Peter Meerwald-Stadler wrote: > >> > +static int ti_ads7950_read_raw(struct iio_dev *indio_dev, >> > + struct iio_chan_spec const *chan, >> > + int *val, int *val2, long m) >> > +{ >> > + struct ti_ads7950_

Re: [PATCH] spi: spi-ti-qspi: reinit of completion variable

2016-11-21 Thread prahlad venkata
Did anybody got chance to review this patch? I feel this is a trivial yet required fix. On Tue, Nov 15, 2016 at 11:56 PM, Prahlad V wrote: > > completion variable should be reinitialized before reusing. > > Signed-off-by: Prahlad V > --- > drivers/spi/spi-ti-qspi.c | 1 + > 1 file changed, 1 in

Re: fsldma: t4240qds: drop "SG" CAP for DMA3

2016-11-21 Thread Scott Wood
On Mon, Nov 21, 2016 at 12:52:49PM +0800, yanjiang@windriver.com wrote: > From: Yanjiang Jin > > T4240QDS DMA controller uses the external DMA control signals to start or > restart a paused DMA transfer, acknowledge a DMA transfer in progress and > also indicates a transfer completion. > "sca

Re: [PATCH 07/12] dm: use bvec iterator helpers to implement .get_page and .next_page

2016-11-21 Thread Christoph Hellwig
Jens, can you apply the non-dm patches?

linux-next: manual merge of the char-misc tree with the lightnvm tree

2016-11-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the char-misc tree got a conflict in: drivers/lightnvm/core.c between commit: 7b0d392f6957 ("lightnvm: remove sysfs configuration interface") from the lightnvm tree and commit: 389b2a1c0e90 ("lightnvm: make core.c explicitly non-modular") from the ch

Re: [PATCH 05/12] bcache: debug: avoid to access .bi_io_vec directly

2016-11-21 Thread Christoph Hellwig
On Fri, Nov 11, 2016 at 08:05:33PM +0800, Ming Lei wrote: > Instead we use standard iterator way to do that. > > Signed-off-by: Ming Lei Looks fine, Reviewed-by: Christoph Hellwig

[PATCH] devicetree: bindings: Add vendor prefix for Andes Technology Corporation

2016-11-21 Thread Greentime Hu
Add vendor-prefix for Andes Technology Corporation Signed-off-by: Greentime Hu --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.

RE: [PATCH V5 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-21 Thread Gabriele Paoloni
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: 21 November 2016 22:32 > To: Gabriele Paoloni > Cc: liudongdong (C); a...@arndb.de; raf...@kernel.org; > lorenzo.pieral...@arm.com; t...@semihalf.com; Wangzhou (B); > pratyush.an...@gmail.com; linux-...@vger.kern

  1   2   3   4   5   6   7   8   9   >