Re: [PATCH 0/3] iopmem : A block device for PCIe memory

2016-10-18 Thread Dan Williams
[ adding Ashok and David for potential iommu comments ] On Tue, Oct 18, 2016 at 2:42 PM, Stephen Bates wrote: > This patch follows from an RFC we did earlier this year [1]. This > patchset applies cleanly to v4.9-rc1. > > Updates since RFC > - > Rebased. >

Re: [PATCH resend 4.9] hw_random: Don't use a stack buffer in add_early_randomness()

2016-10-18 Thread Herbert Xu
On Mon, Oct 17, 2016 at 10:06:27AM -0700, Andy Lutomirski wrote: > hw_random carefully avoids using a stack buffer except in > add_early_randomness(). This causes a crash in virtio_rng if > CONFIG_VMAP_STACK=y. > > Reported-by: Matt Mullins > Tested-by: Matt Mullins

Re: [PATCH 0/4] power: reset: Fix module autoload for some platform drivers

2016-10-18 Thread Sebastian Reichel
Hi Javier, On Mon, Oct 17, 2016 at 03:36:11PM -0300, Javier Martinez Canillas wrote: > I noticed that module autoload won't be working in a some of the reset > platform drivers This patch series contains the fixes for these. > > Best regards, > Javier > > > Javier Martinez Canillas (4): >

Re: [PATCH 0/2] power: supply: Fix module autoload for some platform drivers

2016-10-18 Thread Sebastian Reichel
Hi Javier, On Mon, Oct 17, 2016 at 04:13:34PM -0300, Javier Martinez Canillas wrote: > Hello Sebastian, > > I noticed that module autoload won't be working for some of the power > supply platform drivers. This patch series contains fixes for these. > > Best regards, > Javier > > > Javier

Re: [PATCH] staging: greybus: audio: Rename cport with intf_id

2016-10-18 Thread Vaibhav Agarwal
On Mon, Oct 17, 2016 at 9:01 PM, Johan Hovold wrote: > On Sun, Oct 16, 2016 at 03:29:14PM +0530, Pankaj Bharadiya wrote: >> gb_audio_manager_module_descriptor's cport field is actually used to >> manage and pass interface id to user space. >> >> Thus rename

[PATCH] i2c: uniphier[-f]: fix bool logic calculation

2016-10-18 Thread Masahiro Yamada
This code is working, but it should not depend on how "bool" is typedef'ed, or the bit position of I2C_M_RD. Signed-off-by: Masahiro Yamada --- drivers/i2c/busses/i2c-uniphier-f.c | 2 +- drivers/i2c/busses/i2c-uniphier.c | 2 +- 2 files changed, 2

Re: [PATCH] dt-bindings: usb: atmel: fix a couple of copy-paste style typos

2016-10-18 Thread Rob Herring
On Tue, Oct 18, 2016 at 01:05:18PM +0200, Peter Rosin wrote: > Signed-off-by: Peter Rosin > --- > Documentation/devicetree/bindings/usb/atmel-usb.txt | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) Acked-by: Rob Herring

Re: [PATCH] mm/hugetlb: Use the right pte val for compare in hugetlb_cow

2016-10-18 Thread Aneesh Kumar K.V
Andrew Morton writes: > On Tue, 18 Oct 2016 21:12:45 +0530 "Aneesh Kumar K.V" > wrote: > >> We cannot use the pte value used in set_pte_at for pte_same comparison, >> because archs like ppc64, filter/add new pte flag in set_pte_at.

Re: [RFC][PATCHv3 0/6] printk: use printk_safe to handle printk() recursive calls

2016-10-18 Thread Sergey Senozhatsky
On (10/19/16 00:40), Sergey Senozhatsky wrote: [..] > Deadlock scenarios that printk_safe can handle: > > a) printk recursion from logbuf_lock spin_lock section in printk() > printk() > raw_spin_lock(_lock); > WARN_ON(1); > raw_spin_unlock(_lock); > > b) printk from sem->lock

Re: tg3 BUG: spinlock lockup suspected

2016-10-18 Thread Siva Reddy Kallam
On Mon, Oct 17, 2016 at 6:35 PM, Meelis Roos wrote: >> > Now I reproduced the bug even with 4.7-rc1 so it is older than 4.7. Will >> > test further. >> >> It gets stranger and stranger - my old 4.7 image worked fine, freshly >> compiled 4.7 exhibits the same problem. >> >>

Re: [lkp] [tcp] 3613b3dbd1: netpipe.bigger_5M_Mbps.avg -5.5% regression

2016-10-18 Thread Eric Dumazet
On Wed, Oct 19, 2016 at 3:54 AM, kernel test robot wrote: > > FYI, we noticed a -5.5% regression of netpipe.bigger_5M_Mbps.avg due to > commit: > > commit 3613b3dbd1ade9a6a626dae1f608c57638eb5e8a ("tcp: prepare skbs for > better sack shifting") >

Intel H81 Chipset PCIe configuration question

2016-10-18 Thread Steve Kenton
A while back I posted about a motherboard network controller that disappeared when the firmware on a PCIe card was upgraded which converted the card from a 32-bit BAR to a 64-bit BAR. That seems to be a BIOS bug rather than a kernel issue. But, I would really like to be able to upgrade the systems

Re: [PATCH] mm/hugetlb: Use the right pte val for compare in hugetlb_cow

2016-10-18 Thread Hillf Danton
On Tuesday, October 18, 2016 11:43 PM Aneesh Kumar K.V wrote: > > We cannot use the pte value used in set_pte_at for pte_same comparison, > because archs like ppc64, filter/add new pte flag in set_pte_at. Instead > fetch the pte value inside hugetlb_cow. We are comparing pte value to > make sure

Re: [patch] power: supply: lp8788: remove an unneeded NULL check

2016-10-18 Thread Sebastian Reichel
Hi Dan, On Fri, Oct 14, 2016 at 10:33:28AM +0300, Dan Carpenter wrote: > We checked that "pdata->chg_params" is non-NULL earlier in this function > so when we add "i" to it, it's still non-NULL. > > Signed-off-by: Dan Carpenter > > diff --git

[REVIEW][PATCH] mount: In propagate_umount handle overlapping mount propagation trees

2016-10-18 Thread Eric W. Biederman
Adrei Vagin pointed out that time to executue propagate_umount can go non-linear (and take a ludicrious amount of time) when the mount propogation trees of the mounts to be unmunted by a lazy unmount overlap. While investigating the horrible performance I realized that in the case overlapping

[PATCH 2/5] selftests: ftrace: Fix test cases to enable tracing

2016-10-18 Thread Masami Hiramatsu
Fix some test cases to enable tracing before starting trace test. This can avoid false-positive failure when previous testcase fails while disabling tracing. Signed-off-by: Masami Hiramatsu --- .../selftests/ftrace/test.d/event/event-enable.tc |1 +

[PATCH 5/5] selftests: ftrace: Add a testcase for types of kprobe event

2016-10-18 Thread Masami Hiramatsu
Add a testcase for types of kprobe event. This checks kprobe event can accept and correctly expressed the arguments typed as s32, u32, x32 and bitfield. Here is the test result. - # ./ftracetest test.d/kprobe/kprobe_args_type.tc === Ftrace unit tests === [1] Kprobes event arguments

[PATCH 4/5] selftests: ftrace: Add a testcase for function filter glob match

2016-10-18 Thread Masami Hiramatsu
Add function filter glob matching test case. This checks whether the kernel supports glob matching (front match, end match, middle match, side match, character class and '?'). Here is the test result. - ./ftracetest test.d/ftrace/func-filter-glob.tc === Ftrace unit tests === [1]

[PATCH 3/5] selftests: ftrace: Introduce TMPDIR for temporary files

2016-10-18 Thread Masami Hiramatsu
Introduce TMPDIR variable which is removed after each test is done, so that the test script can put their temporary files in that. Signed-off-by: Masami Hiramatsu --- tools/testing/selftests/ftrace/ftracetest |2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 1/5] ftrace: Support full glob matching

2016-10-18 Thread Masami Hiramatsu
Use glob_match() to support flexible glob wildcards (*,?) and character classes ([) for ftrace. Since the full glob matching is slower than the current partial matching routines(*pat, pat*, *pat*), this leaves those routines and just add MATCH_GLOB for complex glob expression. e.g.

[PATCH 0/5] ftrace: selftests: Add full glob matching and update ftracetest

2016-10-18 Thread Masami Hiramatsu
Hi, Here is a series of patches to add full glob matching support in ftrace and update ftracetest to test the glob matching and hexadecimal types. The first patch is same one as I sent before (https://lkml.org/lkml/2016/10/5/149) I've added patches for updating ftracetest to test this feature

Re: [PATCH] dmaengine: dmatest: Restore "memcpy" as default mode

2016-10-18 Thread Vinod Koul
On Tue, Oct 18, 2016 at 11:14:08AM -0700, Dave Jiang wrote: > On 09/15/2016 08:48 AM, Vinod Koul wrote: > > On Wed, Sep 14, 2016 at 08:40:38PM +0300, Eugeniy Paltsev wrote: > >> Commit 0d4cb44da6ca0e8 ("dmaengine: dmatest: Add support for > >> scatter-gather DMA mode") changes default "dmatest"

Re: [PATCH] crypto: ccm - avoid scatterlist for MAC encryption

2016-10-18 Thread Herbert Xu
On Mon, Oct 17, 2016 at 06:21:14PM +0100, Ard Biesheuvel wrote: > > Annoyingly, all this complication with scatterlists etc is for doing > asynchronous crypto via DMA capable crypto accelerators, and the > networking code (ipsec as well as mac80211, afaik) only allow > synchronous in the first

Re: [PATCH v2] ARM: dts: rockchip: temporarily remove emmc hs200 speed from rk3288-veyron-speedy.

2016-10-18 Thread Vagrant Cascadian
On 2016-10-18, Paul Kocialkowski wrote: > Le mardi 18 octobre 2016 à 11:21 +0200, Heiko Stübner a écrit : >> Am Sonntag, 16. Oktober 2016, 21:49:43 schrieb Paul Kocialkowski: >> > Le mardi 27 septembre 2016 à 13:53 -0700, Vagrant Cascadian a écrit : >> > > >> > > This essentially mimics what was

[PATCH] tools: hv: clean up code, remove unnecessary header files and link flags

2016-10-18 Thread Weibing Zhang
Remove unnecessary header files and netlink related code as the daemons do not use netlink to communicate with the kernel now. Fix a compile warning in snprintf. Pthread is also not needed. Signed-off-by: Weibing Zhang --- tools/hv/Makefile | 3 +--

Re: [PATCH 2/3] clk: hisilicon: add CRG driver for Hi3516CV300 SoC

2016-10-18 Thread Jiancheng Xue
在 2016/10/19 10:45, Rob Herring 写道: > On Tue, Oct 18, 2016 at 9:38 PM, Jiancheng Xue > wrote: >> >> >> 在 2016/10/18 23:58, Rob Herring 写道: >>> On Mon, Oct 17, 2016 at 08:07:04PM +0800, Pan Wen wrote: Add CRG driver for Hi3516CV300 SoC. CRG(Clock and Reset

Re: [lkp] [ipc/sem.c] 5864a2fd30: aim9.shared_memory.ops_per_sec -13.0%

2016-10-18 Thread Manfred Spraul
Hi, as discussed before: The root cause for the performance regression is the smp_mb() that was added into the fast path. I see two options: 1) switch to full spin_lock()/spin_unlock() for the rare codepath, then the fast path doesn't need the smp_mb() anymore. 2) confirm that no arch needs

[PATCH 2/2] ipc/sem: Add hysteresis.

2016-10-18 Thread Manfred Spraul
sysv sem has two lock modes: One with per-semaphore locks, one lock mode with a single global lock for the whole array. When switching from the per-semaphore locks to the global lock, all per-semaphore locks must be scanned for ongoing operations. The patch adds a hysteresis for switching from

[PATCH 1/2] ipc/sem.c: Avoid using spin_unlock_wait()

2016-10-18 Thread Manfred Spraul
a) The ACQUIRE in spin_lock() applies to the read, not to the store, at least for powerpc. This forces to add a smp_mb() into the fast path. b) The memory barrier provided by spin_unlock_wait() is right now arch dependent. Therefore: Use spin_lock()/spin_unlock() instead of spin_unlock_wait().

Re: [Xen-devel] [PATCH 6/8] xen/pvh: Initialize grant table for PVH guests

2016-10-18 Thread Juergen Gross
On 18/10/16 18:40, Boris Ostrovsky wrote: > On 10/18/2016 12:08 PM, Juergen Gross wrote: >> On 14/10/16 22:02, Boris Ostrovsky wrote: >>> On 10/14/2016 03:51 PM, Konrad Rzeszutek Wilk wrote: On Fri, Oct 14, 2016 at 03:43:19PM -0400, Boris Ostrovsky wrote: > On 10/14/2016 03:19 PM, Konrad

Re: [RFC PATCH] mtd: nand: Add OX820 NAND Support

2016-10-18 Thread Rob Herring
On Tue, Oct 18, 2016 at 11:09:27AM +0200, Neil Armstrong wrote: > Add NAND driver to support the Oxford Semiconductor OX820 NAND Controller. > This is a simple memory mapped NAND controller with single chip select and > software ECC. > > Signed-off-by: Neil Armstrong >

Re: [PATCH v9 2/2] ARM: dts: add TOPEET itop elite based board

2016-10-18 Thread Krzysztof Kozlowski
On Wed, Oct 19, 2016 at 4:15 AM, Ayaka wrote: > > > 從我的 iPad 傳送 > >> Krzysztof Kozlowski 於 2016年10月19日 上午1:37 寫道: >> >>> On Wed, Oct 19, 2016 at 01:18:49AM +0800, Randy Li wrote: >>> The TOPEET itop exynos 4412 have three versions base board. The >>> Elite

Re: [PATCH 4/4] i2c: digicolor: Fix module autoload

2016-10-18 Thread Baruch Siach
Hi Javier Martinez Canillas, On Tue, Oct 18, 2016 at 06:01:48PM -0300, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. >

Re: [PATCH v6 3/6] mm/cma: populate ZONE_CMA

2016-10-18 Thread Vlastimil Babka
On 10/14/2016 05:03 AM, js1...@gmail.com wrote: @@ -145,6 +145,35 @@ static int __init cma_activate_area(struct cma *cma) static int __init cma_init_reserved_areas(void) { int i; + struct zone *zone; + pg_data_t *pgdat; + + if (!cma_area_count) + return

Re: [PATCH 02/19] phy: stih41x-usb: Remove usb phy driver and dt binding documentation.

2016-10-18 Thread Patrice Chotard
Hi On 09/23/2016 05:06 PM, Rob Herring wrote: > On Wed, Sep 14, 2016 at 02:27:40PM +0100, Peter Griffin wrote: >> This phy is only used on STiH415/6 based silicon, and support for >> these SoC's is being removed from the kernel. >> >> Signed-off-by: Peter Griffin >>

Re: [PATCH 03/19] MAINTAINERS: Remove phy-miphy365x.c entry from STi arch

2016-10-18 Thread Patrice Chotard
Hi On 09/14/2016 03:27 PM, Peter Griffin wrote: > Remove this driver as the IP is only found on STiH415/6 > silicon, and support for these SoC's is being removed > from the kernel. > > Signed-off-by: Peter Griffin > Cc: Acked-by: Patrice Chotard

Re: [PATCH 12/19] reset: sti: Remove obsolete platforms from dt binding doc.

2016-10-18 Thread Patrice Chotard
Hi On 09/23/2016 05:10 PM, Rob Herring wrote: > On Wed, Sep 14, 2016 at 02:27:50PM +0100, Peter Griffin wrote: >> STiH415/6 SoC support is being removed from the kernel. >> This patch updates the sti dt powerdown bindings and >> removes references to these obsolete platforms. >> >> Signed-off-by:

Re: [PATCH] cgroup: Add new capability to allow a process to migrate other tasks between cgroups

2016-10-18 Thread Michael Kerrisk (man-pages)
Hi John, On 18 October 2016 at 01:35, John Stultz wrote: > On Mon, Oct 17, 2016 at 3:40 PM, Andy Lutomirski wrote: >> On Mon, Oct 17, 2016 at 3:35 PM, John Stultz wrote: >>> This patch adds CAP_GROUP_MIGRATE and logic to

[PATCH 4/5] drm/sun4i: Compute TCON1 mode from tv mode

2016-10-18 Thread Maxime Ripard
Since the mode passed in mode_set is probably going to be a scaled down version of the TV mode, we cannot just use it. Instead, try to retrieve the actual mode we want to set, and generate a drm mode from that. Signed-off-by: Maxime Ripard ---

[PATCH 3/5] drm/sun4i: Add custom crtc state

2016-10-18 Thread Maxime Ripard
We'll need a custom CRTC state to deal with the overscan setup. We'll store in it the actual display size that can be used by the applications, and the size to use on the plane. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_backend.c | 18

[PATCH 2/5] drm/modes: Support modes names on the command line

2016-10-18 Thread Maxime Ripard
The drm subsystem also uses the video= kernel parameter, and in the documentation refers to the fbdev documentation for that parameter. However, that documentation also says that instead of giving the mode using its resolution we can also give a name. However, DRM doesn't handle that case at the

[PATCHv3] shmem: avoid huge pages for small files

2016-10-18 Thread Kirill A. Shutemov
Huge pages are detrimental for small file: they causes noticible overhead on both allocation performance and memory footprint. This patch aimed to address this issue by avoiding huge pages until file grown to specified size. This would cover most of the cases where huge pages causes regressions

Re: [PATCH 05/19] ARM: multi_v7_defconfig: Remove miphy365 phy.

2016-10-18 Thread Patrice Chotard
Hi On 09/14/2016 03:27 PM, Peter Griffin wrote: > This IP is only found on STiH415/6 silicon and support > for these SoCs is being removed from the kernel. > > Signed-off-by: Peter Griffin > Cc: Acked-by: Patrice Chotard

Re: [PATCH] bdi flusher should not be throttled here when it fall into buddy slow path

2016-10-18 Thread Hillf Danton
> @@ -1908,7 +1908,7 @@ void wb_workfn(struct work_struct *work) > long pages_written; > > set_worker_desc("flush-%s", dev_name(wb->bdi->dev)); > - current->flags |= PF_SWAPWRITE; If flags carries PF_LESS_THROTTLE before modified, then you have to restore it. > +

Re: [PATCH] bdi flusher should not be throttled here when it fall into buddy slow path

2016-10-18 Thread Mel Gorman
On Tue, Oct 18, 2016 at 03:12:45PM +0800, zhouxianr...@huawei.com wrote: > From: z00281421 > > bdi flusher may enter page alloc slow path due to writepage and kmalloc. > in that case the flusher as a direct reclaimer should not be throttled here > because it can

Re: [PATCH] ALSA: hda - allow 40 bit DMA mask for NVidia devices

2016-10-18 Thread Takashi Iwai
On Mon, 17 Oct 2016 18:23:59 +0200, Ard Biesheuvel wrote: > > Commit 49d9e77e72cf ("ALSA: hda - Fix system panic when DMA > 40 bits > for Nvidia audio controllers") simply disabled any DMA exceeding 32 > bits for NVidia devices, even though they are capable of performing > DMA up to 40 bits. On

Re: [PATCH 2/6] mm: mark all calls into the vmalloc subsystem as potentially sleeping

2016-10-18 Thread Christoph Hellwig
On Tue, Oct 18, 2016 at 11:33:59AM +0100, Chris Wilson wrote: > On Tue, Oct 18, 2016 at 08:56:07AM +0200, Christoph Hellwig wrote: > > This is how everyone seems to already use them, but let's make that > > explicit. > > mm/page_alloc.c: alloc_large_system_hash() is perhaps the exception to > the

Re: [v4.8-rc1 Regression] sched/fair: Apply more PELT fixes

2016-10-18 Thread Dietmar Eggemann
On 18/10/16 10:07, Peter Zijlstra wrote: > On Mon, Oct 17, 2016 at 11:52:39PM +0100, Dietmar Eggemann wrote: [...] >> Using for_each_online_cpu(i) instead of for_each_possible_cpu(i) in >> online_fair_sched_group() works on this machine, i.e. the .tg_load_avg >> of system.slice tg is 0 after

[PATCH v3 net-next 2/8] net: qca_debug: use net_device_ops instead of direct call

2016-10-18 Thread Stefan Wahren
There is no need to export qcaspi_netdev_open and qcaspi_netdev_close because they are also accessible via the net_device_ops. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/qca_debug.c | 5 +++-- drivers/net/ethernet/qualcomm/qca_spi.h | 3 --- 2 files

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-10-18 Thread Matt Fleming
On Tue, 18 Oct, at 01:10:17PM, Peter Zijlstra wrote: > > I'm entirely lost as to which patch we're talking about by now ;-) Heh, this one from Vincent, https://lkml.kernel.org/r/20161010173440.ga28...@linaro.org

[PATCH v3 net-next 0/8] net: qualcomm: add QCA7000 UART driver

2016-10-18 Thread Stefan Wahren
The Qualcomm QCA7000 HomePlug GreenPHY supports two interfaces: UART and SPI. This patch series adds the missing support for UART. This driver based on the Qualcomm code [1], but contains some changes: * use random MAC address per default * use net_device_stats from device * share frame decoding

[PATCH v3 net-next 7/8] net: qualcomm: make qca_common a separate kernel module

2016-10-18 Thread Stefan Wahren
In order to share common functions between QCA7000 SPI and UART protocol driver the qca_common needs to be a separate kernel module. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 8 +++- drivers/net/ethernet/qualcomm/Makefile | 5

Re: [RFC PATCH] mtd: nand: Add OX820 NAND Support

2016-10-18 Thread Daniel Golle
Hi Neil, great to see progress towards supporting OX820! The NAND driver I hacked up for Kernel 4.1 and 4.4 in OpenWrt/LEDE looks very similar, see

[PATCH v3 net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-10-18 Thread Stefan Wahren
This patch adds the Ethernet over UART driver for the Qualcomm QCA7000 HomePlug GreenPHY. Signed-off-by: Stefan Wahren --- drivers/net/ethernet/qualcomm/Kconfig | 12 + drivers/net/ethernet/qualcomm/Makefile | 2 + drivers/net/ethernet/qualcomm/qca_common.h |

Re: [PATCH v2 8/9] ARM: sunxi: Remove useless allwinner,pull property

2016-10-18 Thread Chen-Yu Tsai
On Tue, Oct 11, 2016 at 11:46 PM, Maxime Ripard wrote: > The allwinner,pull property set to NO_PULL was really considered our > default (and wasn't even changing the default value in the code). > > Remove these properties to make it obvious that we do not set

Re: [PATCH v2 6/9] dt-bindings: pinctrl: Deprecate sunxi pinctrl bindings

2016-10-18 Thread Chen-Yu Tsai
On Tue, Oct 11, 2016 at 11:46 PM, Maxime Ripard wrote: > The generic pin configuration and multiplexing should be preferred now, > even though we still support the old one. > > Signed-off-by: Maxime Ripard Acked-by: Chen-Yu

Re: [PATCH 08/19] thermal: sti: Remove obsolete platforms from the DT doc.

2016-10-18 Thread Patrice Chotard
Hi On 09/23/2016 05:08 PM, Rob Herring wrote: > On Wed, Sep 14, 2016 at 02:27:46PM +0100, Peter Griffin wrote: >> STiH415/6 SoC's are being removed from the kernel. This >> patch removes the compatibles from the dt doc and also >> updates the example to a supported platform. >> >> Signed-off-by:

Re: [PATCH v4 0/4] Add support for cros-ec-sensors

2016-10-18 Thread Enric Balletbo Serra
Hi Jonathan, 2016-09-03 19:21 GMT+02:00 Jonathan Cameron : > On 01/09/16 08:24, Lee Jones wrote: Given this dependency I'm assuming the best route for these is via the MFD tree... Lee, shout if you want them to go a different route. >>>

Re: [STLinux Kernel] [PATCH 02/19] phy: stih41x-usb: Remove usb phy driver and dt binding documentation.

2016-10-18 Thread Patrice Chotard
On 10/18/2016 09:47 AM, Patrice Chotard wrote: > Hi > > On 09/23/2016 05:06 PM, Rob Herring wrote: >> On Wed, Sep 14, 2016 at 02:27:40PM +0100, Peter Griffin wrote: >>> This phy is only used on STiH415/6 based silicon, and support for >>> these SoC's is being removed from the kernel. >>> >>>

Re: [STLinux Kernel] [PATCH 02/19] phy: stih41x-usb: Remove usb phy driver and dt binding documentation.

2016-10-18 Thread Kishon Vijay Abraham I
On Tuesday 18 October 2016 02:22 PM, Patrice Chotard wrote: > > > On 10/18/2016 09:47 AM, Patrice Chotard wrote: >> Hi >> >> On 09/23/2016 05:06 PM, Rob Herring wrote: >>> On Wed, Sep 14, 2016 at 02:27:40PM +0100, Peter Griffin wrote: This phy is only used on STiH415/6 based silicon, and

[RESEND PATCH v10 00/11] Add support for FDMA DMA controller and slim core rproc found on STi chipsets

2016-10-18 Thread Peter Griffin
Hi Vinod and Bjorn, This patchset adds support for the Flexible Direct Memory Access (FDMA) core found on STi chipsets from STMicroelectronics. The FDMA is a slim core CPU with a dedicated firmware. It is a general purpose DMA controller supporting 16 independent channels and data can be moved

[PATCH v10 01/11] remoteproc: st_slim_rproc: add a slimcore rproc driver

2016-10-18 Thread Peter Griffin
slim core is used as a basis for many IPs in the STi chipsets such as fdma and demux. To avoid duplicating the elf loading code in each device driver a slim rproc driver has been created. This driver is designed to be used by other device drivers such as fdma, or demux whose IP is based around a

Re: [PATCH] partitions/efi: Ignore errors when alternate GPT is not at the end of disk

2016-10-18 Thread Karel Zak
On Mon, Oct 17, 2016 at 12:20:30PM +0200, Hannes Reinecke wrote: > The GPT specification requires that the alternate GPT is at the > end of the disk. However, if a Software RAID1 is enabled the RAID > metadata typically placed at the end of the disk, and the actual > size of the disk is decreased

Re: [PATCH] partitions/efi: Ignore errors when alternate GPT is not at the end of disk

2016-10-18 Thread Hannes Reinecke
On 10/18/2016 11:56 AM, Karel Zak wrote: > On Mon, Oct 17, 2016 at 12:20:30PM +0200, Hannes Reinecke wrote: >> The GPT specification requires that the alternate GPT is at the >> end of the disk. However, if a Software RAID1 is enabled the RAID >> metadata typically placed at the end of the disk,

[PATCH v3.1 2/3] Limit dump_pipe program's permission to init for container

2016-10-18 Thread Cao Shufeng
From: Zhao Lei Currently when we set core_pattern to a pipe, the pipe program is forked by kthread running with root's permission, and write dumpfile into host's filesystem. Same thing happened for container, the dumper and dumpfile are also in host(not in container). It

[PATCH v3.1 1/3] Make call_usermodehelper_exec possible to set pid namespace

2016-10-18 Thread Cao Shufeng
From: Zhao Lei Current call_usermodehelper_exec() can not set pid namespace for the executed program, because we need addition fork to make pid namespace active. This patch add above function for call_usermodehelper_exec(). When init_intermediate callback return -EAGAIN,

[PATCH v3.1 3/3] Make core_pattern support namespace

2016-10-18 Thread Cao Shufeng
From: Zhao Lei Currently, each container shared one copy of coredump setting with the host system, if host system changed the setting, each running containers will be affected. Same story happened when container changed core_pattern, both host and other container will be

[PATCH v3.1 0/3] Make core_pattern support namespace

2016-10-18 Thread Cao Shufeng
This patchset includes following function points: 1: Let usermodehelper function possible to set pid namespace done by: [PATCH v3.1 1/3] Make call_usermodehelper_exec possible to set pid namespace. 2: Let pipe_type core_pattern write dump into container's rootfs done by: [PATCH v3.1 2/3]

Re: [v12, 0/8] Fix eSDHC host version register bug

2016-10-18 Thread Ulf Hansson
On 21 September 2016 at 08:57, Yangbo Lu wrote: > This patchset is used to fix a host version register bug in the > T4240-R1.0-R2.0 > eSDHC controller. To match the SoC version and revision, 10 previous version > patchsets had tried many methods but all of them were rejected

Re: [PATCH v4 13/18] x86/intel_rdt: Add mkdir to resctrl file system

2016-10-18 Thread Thomas Gleixner
On Mon, 17 Oct 2016, Luck, Tony wrote: > On Tue, Oct 18, 2016 at 01:20:36AM +0200, Thomas Gleixner wrote: > > It's certainly not perfect (missing L2 etc.), but clearly avoids exactly > > the above issues. And it would allow you to utilize the 256 groups in an > > understandable way. > > If you

How to make warn_alloc() reliable?

2016-10-18 Thread Tetsuo Handa
Commit 63f53dea0c9866e9 ("mm: warn about allocations which stall for too long") is a great step for reducing possibility of silent hang up problem caused by memory allocation stalls. For example, below is a report where write() request got stuck because it cannot invoke the OOM killer due to

[PATCH v4 1/4] net: phy: dp83867: Add documentation for optional impedance control

2016-10-18 Thread Mugunthan V N
Add documention of ti,min-output-impedance and ti,max-output-impedance which can be used to correct MAC impedance mismatch using phy extended registers. Signed-off-by: Mugunthan V N --- Documentation/devicetree/bindings/net/ti,dp83867.txt | 12 1 file changed,

Re: [PATCH v2 7/9] ARM: sunxi: Remove useless allwinner,drive property

2016-10-18 Thread Chen-Yu Tsai
On Tue, Oct 11, 2016 at 11:46 PM, Maxime Ripard wrote: > The allwinner,drive property set to 10mA was really considered as our > default. Remove all those properties entirely to make that obvious. > > Signed-off-by: Maxime Ripard

Re: [PATCH 06/19] ARM: multi_v7_defconfig: Remove stih41x phy Kconfig symbol.

2016-10-18 Thread Patrice Chotard
Hi On 09/14/2016 03:27 PM, Peter Griffin wrote: > This IP is only found on STiH415/6 silicon and support > for these SoCs is being removed from the kernel. > > Signed-off-by: Peter Griffin > Cc: Acked-by: Patrice Chotard

Re: [PATCH 05/19] ARM: multi_v7_defconfig: Remove miphy365 phy.

2016-10-18 Thread Patrice Chotard
Hi On 09/14/2016 03:27 PM, Peter Griffin wrote: > This IP is only found on STiH415/6 silicon and support > for these SoCs is being removed from the kernel. > > Signed-off-by: Peter Griffin > Cc: Acked-by: Patrice Chotard

Re: [PATCH v6 3/6] mm/cma: populate ZONE_CMA

2016-10-18 Thread Joonsoo Kim
On Tue, Oct 18, 2016 at 09:42:57AM +0200, Vlastimil Babka wrote: > On 10/14/2016 05:03 AM, js1...@gmail.com wrote: > >@@ -145,6 +145,35 @@ static int __init cma_activate_area(struct cma *cma) > > static int __init cma_init_reserved_areas(void) > > { > > int i; > >+struct zone *zone; > >+

Re: [alsa-devel] [PATCH 0/23] ASoC: add OF graph base simple-card

2016-10-18 Thread Kuninori Morimoto
Hi Jean-Francois > > These are OF graph base simple-card patch-set. > > 1) - 3) : simple-scu-card cleanup > > 4) - 10) : soc-core prepare for OF graph card > > 11) - 17) : OF graph new feature > > 18) - 23) : OF graph base simple-card (snip) > > 11) Documentation: of: add type property

Re: [PATCH 25/28] s390: pci: don't print uninitialized data for debugging

2016-10-18 Thread Sebastian Ott
On Tue, 18 Oct 2016, Martin Schwidefsky wrote: > On Tue, 18 Oct 2016 00:16:13 +0200 > Arnd Bergmann wrote: > > > gcc correctly warns about an incorrect use of the 'pa' variable > > in case we pass an empty scatterlist to __s390_dma_map_sg: > > > > arch/s390/pci/pci_dma.c: In

Re: [PATCH] mmc: core: Check regulator pointer

2016-10-18 Thread Baolin Wang
Hi, On 18 October 2016 at 16:43, Maxime Ripard wrote: > mmc_regulator_get_supply might silently fail if the regulators are not > found, which is the right thing to do since both these regulators are > optional. > > However, the drivers then have no way to know

Re: [STLinux Kernel] [PATCH 18/19] stmmac: dwmac-sti: Remove obsolete STi platforms

2016-10-18 Thread Patrice Chotard
On 10/18/2016 10:05 AM, Patrice Chotard wrote: > > > On 09/23/2016 05:11 PM, Rob Herring wrote: >> On Wed, Sep 14, 2016 at 02:27:56PM +0100, Peter Griffin wrote: >>> This patch removes support for STiH415/6 SoC's from the >>> dwmac-sti driver and dt binding doc, as support for these >>>

Re: [4.9-rc1] Build-time 2x slower

2016-10-18 Thread Sedat Dilek
On Tue, Oct 18, 2016 at 3:38 AM, Ming Lei wrote: > On Tue, Oct 18, 2016 at 12:04 AM, Sedat Dilek wrote: >> Hi Linus, >> >> not sure whom to address on this issue. >> >> I have built Linux v4.9-rc1, v4.8.2 and v4.4.25 kernels (in this >> order) this

Re: [PATCH 05/28] ext2: avoid bogus -Wmaybe-uninitialized warning

2016-10-18 Thread Jan Kara
On Mon 17-10-16 22:15:29, Christoph Hellwig wrote: > Thanks Arnd, this looks fine to me: > > Reviewed-by: Christoph Hellwig Thanks! I have pulled the patch into my tree and will push it to Linus. Honza -- Jan Kara

commit 6556bdacf6 (mfd: tps65217: Add support for IRQs) causes allmodconfig build failure on pcc64le

2016-10-18 Thread Markus Trippelsdorf
Since: commit 6556bdacf646fcaa0586123ba85412de1c8f0eee Author: Marcin Niestroj Date: Fri Sep 9 10:42:02 2016 +0200 mfd: tps65217: Add support for IRQs I get an build failure on pcc64le for allmodconfig: ERROR: "irq_set_parent" [drivers/mfd/tps65217.ko]

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-10-18 Thread Matt Fleming
On Tue, 11 Oct, at 11:39:57AM, Matt Fleming wrote: > On Tue, 11 Oct, at 10:44:25AM, Dietmar Eggemann wrote: > > > > [...] > > > > Yeah, you're right. But I can't see any significant difference. IMHO, > > it's all in the noise. > > > > (A) Performance counter stats for 'perf bench sched

[PATCH v4] mmc: sdhci-msm: Add pm_runtime and system PM support

2016-10-18 Thread Pramod Gurav
Provides runtime PM callbacks to enable and disable clock resources when idle. Also support system PM callbacks to be called during system suspend and resume. Signed-off-by: Pramod Gurav --- Tested on DB410C. Changes in v4: - Remove calls to

Re: [PATCH] mmc: core: Check regulator pointer

2016-10-18 Thread Ulf Hansson
On 18 October 2016 at 11:47, Maxime Ripard wrote: > Hi, > > On Tue, Oct 18, 2016 at 11:03:02AM +0200, Ulf Hansson wrote: >> On 18 October 2016 at 10:43, Maxime Ripard >> wrote: >> > mmc_regulator_get_supply might silently fail

Re: [PATCH] sched/fair: Do not decay new task load on first enqueue

2016-10-18 Thread Matt Fleming
On Tue, 11 Oct, at 11:24:53AM, Matt Fleming wrote: > > That's a lot more costly cross-DIE migrations. I think this patch is > along the right lines, but there's something fishy happening on this > box. I wasn't really able to track down why this machine regressed, and the patch shows enough

Re: [PATCH V2 3/4] ACPI,PCI,IRQ: separate ISA penalty calculation

2016-10-18 Thread Bjorn Helgaas
Hi Sinan, On Wed, Jun 29, 2016 at 04:27:37AM -0400, Sinan Kaya wrote: > Since commit 103544d86976 ("ACPI,PCI,IRQ: reduce resource requirements") > the penalty values are calculated on the fly rather than boot time. > > This works fine for PCI interrupts but not so well for the ISA interrupts. >

Re: [PATCH v5 0/5] Functional dependencies between devices

2016-10-18 Thread Marek Szyprowski
Hi Rafael, On 2016-10-10 14:36, Rafael J. Wysocki wrote: [...] One more update after some conversations during LinuxCon Europe. The main point was to make it possible for device_link_add() to figure out the initial state of the link instead of expecting the caller to provide it which might

Re: [RFC] reduce latency in __purge_vmap_area_lazy

2016-10-18 Thread Jisheng Zhang
On Tue, 18 Oct 2016 08:56:05 +0200 Christoph Hellwig wrote: > Hi all, > > this is my spin at sorting out the long lock hold times in > __purge_vmap_area_lazy. It is based on the patch from Joel sent this > week. I don't have any good numbers for it, but it survived an > xfstests run on XFS

Re: [PATCH v2 4/4] cpufreq: pxa: convert to clock API

2016-10-18 Thread Viresh Kumar
On 15-10-16, 21:57, Robert Jarzmik wrote: > As the clock settings have been introduced into the clock pxa drivers, > which are now available to change the CPU clock by themselves, remove > the clock handling from this driver, and rely on pxa clock drivers. > > Signed-off-by: Robert Jarzmik

Re: [PATCH v3 net-next 4/8] net: qualcomm: rename qca_framing.c to qca_common.c

2016-10-18 Thread Greg Kroah-Hartman
On Tue, Oct 18, 2016 at 01:27:30PM +0200, Stefan Wahren wrote: > As preparation for the upcoming UART driver we need a module > which contains common functions for both interfaces. The module > qca_framing is a good candidate but renaming to qca_common would > make it clear. > > Signed-off-by:

Re: [PATCH v2 2/4] ARM: dts: pxa: add pxa25x cpu operating points

2016-10-18 Thread Viresh Kumar
On 15-10-16, 21:57, Robert Jarzmik wrote: > Add the relevant data taken from the PXA 25x Electrical, Mechanical, and > Thermal Specfication. This will be input data for cpufreq-dt driver. > > Signed-off-by: Robert Jarzmik > --- > arch/arm/boot/dts/pxa25x.dtsi | 25

Re: [PATCH 5/5] [media] st-cec: Fix module autoload

2016-10-18 Thread Benjamin Gaignard
Thanks, Acked-by: Benjamin Gaignard 2016-10-17 17:44 GMT+02:00 Javier Martinez Canillas : > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the

Re: [RFC] Vendor events file/dir names

2016-10-18 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi, > > Ingo pointed out to me that in the kernel sources we do not use > file/dir names with uppercase chars (look, for instance, at arch/), so I > mostly scripted a conversion to lowercase and what I got is at: > >

[PATCH V7 3/3] stm: Mark the functions of writing buffer with notrace

2016-10-18 Thread Chunyan Zhang
If CONFIG_STM_SOURCE_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Signed-off-by: Chunyan Zhang

[PATCH 1/5] drm/modes: Rewrite the command line parser

2016-10-18 Thread Maxime Ripard
Rewrite the command line parser in order to get away from the state machine parsing the video mode lines. Hopefully, this will allow to extend it more easily to support named modes and / or properties set directly on the command line. Signed-off-by: Maxime Ripard

[PATCH 0/5] drm/sun4i: Handle TV overscan

2016-10-18 Thread Maxime Ripard
Hi, The Allwinner display engine doesn't have any kind of hardware help to deal with TV overscan. This means that if we use the only mode the hardware provides (either PAL or NTSC, or something else), most of the screens will crop the borders of the image, which is bad. We can however use

Re: [PATCH 03/28] [v2] infiniband: shut up a maybe-uninitialized warning

2016-10-18 Thread Haggai Eran
On 10/18/2016 1:05 AM, Arnd Bergmann wrote: > @@ -1309,7 +1311,7 @@ static bool validate_net_dev(struct net_device *net_dev, > static struct net_device *cma_get_net_dev(struct ib_cm_event *ib_event, > const struct cma_req_info *req) > { > - struct

Re: [PATCH v2] console: Don't prefer first registered if DT specifies stdout-path

2016-10-18 Thread Paul Burton
On Monday, 17 October 2016 19:39:57 BST Andreas Schwab wrote: > On Okt 17 2016, Paul Burton wrote: > > Could you share the device tree from your system? > > This is the contents of chosen/linux,stdout-path on the systems I have: > > chosen/linux,stdout-path >

  1   2   3   4   5   6   7   8   9   >