Email me back

2017-04-07 Thread Rose Adeh
Please do accept my apologies i do not wish to invade your privacy ,I had written an earlier mail to you but with a reply, In my first mail i said about my late client who bears the same surnames with you .Since his death i have received several letters from his bank were he made a deposit of

[PATCH v7 07/15] wireless: ipw2200: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/net/wireless/intel/ipw2x00/ipw2200.c |

[PATCH v7 08/15] scsi: be2iscsi: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v7 01/15] block: DAC960: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v7 00/15] Replace PCI pool by DMA pool API

2017-04-07 Thread Romain Perier
The current PCI pool API are simple macro functions direct expanded to the appropriate dma pool functions. The prototypes are almost the same and semantically, they are very similar. I propose to use the DMA pool API directly and get rid of the old API. This set of patches, replaces the old API

[PATCH v7 02/15] dmaengine: pch_dma: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v7 06/15] mlx5: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Doug Ledford

[PATCH v7 09/15] scsi: csiostor: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. It also updates the name of some variables and the content of comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna

[PATCH v7 05/15] mlx4: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

Re: [PATCH 2/4] mm: introduce memalloc_noreclaim_{save,restore}

2017-04-07 Thread Hillf Danton
On April 05, 2017 3:47 PM Vlastimil Babka wrote: > > The previous patch has shown that simply setting and clearing PF_MEMALLOC in > current->flags can result in wrongly clearing a pre-existing PF_MEMALLOC flag > and potentially lead to recursive reclaim. Let's introduce helpers that > support

linux-next: manual merge of the akpm tree with the arm64 tree

2017-04-07 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: arch/arm64/include/asm/cacheflush.h between commit: 9b0aa14e3155 ("arm64: mm: add set_memory_valid()") from the arm64 tree and patch: "treewide: move set_memory_* functions away from cacheflush.h" from the akpm

Re: [RESEND][PATCH] config: Add Fedora config fragments

2017-04-07 Thread Linus Walleij
On Tue, Apr 4, 2017 at 12:19 AM, Laura Abbott wrote: > Based on feedback, Fedora is a popular distribution for people who like > to build their own kernels. To make this easier, add a set of > reasonablly common config options for Fedora. > > fedora-core.config contains a

Re: [PATCH 09/24] kexec_file: Disable at runtime if securelevel has been set

2017-04-07 Thread Dave Young
On 04/07/17 at 08:07am, David Howells wrote: > Dave Young wrote: > > > > > > + /* Don't permit images to be loaded into trusted kernels if > > > > > we're not > > > > > + * going to verify the signature on them > > > > > + */ > > > > > + if

Re: [PATCH] ASoC: es8328: Remove extra blank lines

2017-04-07 Thread Romain Perier
Hello, Le 25/02/2017 à 11:42, Narcisa Ana Maria Vasile a écrit : > This was reported by checkpatch.pl > > Signed-off-by: Narcisa Ana Maria Vasile > --- > sound/soc/codecs/es8328.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/sound/soc/codecs/es8328.c

Re: [PATCH 09/24] kexec_file: Disable at runtime if securelevel has been set

2017-04-07 Thread Mimi Zohar
On Fri, 2017-04-07 at 08:09 +0100, David Howells wrote: > Mimi Zohar wrote: > > > > > + if (!IS_ENABLED(CONFIG_KEXEC_VERIFY_SIG) && > > > > kernel_is_locked_down()) > > > > + return -EPERM; > > > > + > > > > > > > > IMA can be used to verify file

Re: [patch] mm, swap_cgroup: reschedule when neeed in swap_cgroup_swapoff()

2017-04-07 Thread Michal Hocko
On Thu 06-04-17 13:16:24, David Rientjes wrote: > We got need_resched() warnings in swap_cgroup_swapoff() because > swap_cgroup_ctrl[type].length is particularly large. > > Reschedule when needed. > > Signed-off-by: David Rientjes Acked-by: Michal Hocko

[PATCH v2 4/4] net: dsa: LAN9303: add MDIO managed mode support

2017-04-07 Thread Juergen Borleis
When the LAN9303 device is in MDIO manged mode, all register accesses must be done via MDIO. Please note: this code is *untested* yet due to the absence of such configured hardware. It is based on a patch of Stefan Roese from 2014. Signed-off-by: Juergen Borleis ---

Re: [RFC][PATCHv2 2/8] printk: introduce printing kernel thread

2017-04-07 Thread Sergey Senozhatsky
Hello, On (04/07/17 09:21), Pavel Machek wrote: > > spin_dump() and trigger_all_cpu_backtrace() result in a bunch of > > additional printk()-s so CPU0 has even more job to do in console_unlock(), > > while it still holds the contended spin_lock. and so on; there are > > many other examples. > >

Re: [tip:x86/platform 1/1] platform_bt.c:undefined reference to `gpiod_add_lookup_table'

2017-04-07 Thread Linus Walleij
On Tue, Apr 4, 2017 at 5:27 PM, Andy Shevchenko wrote: > On Mon, 2017-04-03 at 12:44 +0300, Andy Shevchenko wrote: >> ...and they should not. So, there are two ways of fix this: >> - add a stub for gpiod_add_lookup_table() for !GPIOLIB case, or >> - add

[PATCH v2 3/4] net: dsa: LAN9303: add I2C managed mode support

2017-04-07 Thread Juergen Borleis
In this mode the switch device and the internal phys will be managed via I2C interface. The MDIO interface is still supported, but for the (emulated) CPU port only. Signed-off-by: Juergen Borleis --- .../devicetree/bindings/net/dsa/lan9303.txt| 64

[PATCH v2 1/4] net: dsa: add support for the SMSC-LAN9303 tagging format

2017-04-07 Thread Juergen Borleis
To define the outgoing port and to discover the incoming port a regular VLAN tag is used by the LAN9303. But its VID meaning is 'special'. This tag handler/filter depends on some hardware features which must be enabled in the device to provide and make use of this special VLAN tag to control the

Re: [PATCH 01/16] mfd: madera: Add register definitions for Cirrus Logic Madera codecs

2017-04-07 Thread Linus Walleij
On Fri, Apr 7, 2017 at 10:27 AM, Linus Walleij wrote: > On Wed, Apr 5, 2017 at 12:07 PM, Richard Fitzgerald > wrote: > >> This patch adds a header file of register definitions for Cirrus >> Logic "Madera" class codecs. These codecs are

[PATCH net-next v4 0/5] net-next: dsa: add Mediatek MT7530 support

2017-04-07 Thread sean.wang
From: Sean Wang MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on Mediatek router platforms such as MT7623A or MT7623N which includes 7-port Gigabit Ethernet MAC and 5-port Gigabit Ethernet PHY. Among these ports, The port from 0 to 4 are the user ports

[PATCH] cgroup: avoid attaching a cgroup root to two different superblocks

2017-04-07 Thread Zefan Li
Run this: touch file0 for ((; ;)) { mount -t cpuset xxx file0 } And this concurrently: touch file1 for ((; ;)) { mount -t cpuset xxx file1 } We'll trigger a warning like this: [ cut here ] WARNING: CPU: 1 PID: 4675 at

Re: [Intel-gfx] [PATCH 1/5] i915: avoid kernel hang caused by synchronize rcu struct_mutex deadlock

2017-04-07 Thread Joonas Lahtinen
On pe, 2017-04-07 at 01:23 +0200, Andrea Arcangeli wrote: > synchronize_rcu/synchronize_sched/synchronize_rcu_expedited() will > hang until its own workqueues are run. The i915 gem workqueues will > wait on the struct_mutex to be released. So we cannot wait for a > quiescent state using those rcu

Re: [PATCH] drm: bridge: dw-hdmi: fix input format/encoding from plat_data

2017-04-07 Thread Neil Armstrong
On 04/07/2017 10:37 AM, Neil Armstrong wrote: > On 04/07/2017 10:32 AM, Archit Taneja wrote: >> >> >> On 04/06/2017 03:04 PM, Neil Armstrong wrote: >>> The plat_data->input_bus_format and plat_data->input_bus_encoding >>> are unsigned long and are alsways >=0, but the value 0 was still >> >>

Re: [PATCH v4 04/14] GPIO: Add gpio-ingenic driver

2017-04-07 Thread Linus Walleij
On Sun, Apr 2, 2017 at 10:42 PM, Paul Cercueil wrote: > This driver handles the GPIOs of all the Ingenic JZ47xx SoCs > currently supported by the upsteam Linux kernel. > > Signed-off-by: Paul Cercueil I guess you saw the Kconfig complaint from the

[PATCH] imx-serial: Reduce RX DMA startup latency when opening for reading

2017-04-07 Thread Peter Senna Tschudin
Reduce RX DMA start latency for the first reception when port is opened for reading. Instead of waiting for an interrupt signaling data on RX FIFO or data too old on RX FIFO, start RX DMA immediately when the serial port is opened for reading. Before this patch, the average RX DMA latency for the

Re: [PATCH v4 06/14] MIPS: jz4740: DTS: Add nodes for ingenic pinctrl and gpio drivers

2017-04-07 Thread Linus Walleij
On Sun, Apr 2, 2017 at 10:42 PM, Paul Cercueil wrote: > For a description of the pinctrl devicetree node, please read > Documentation/devicetree/bindings/pinctrl/ingenic,pinctrl.txt > > For a description of the gpio devicetree nodes, please read >

Re: [RFC][PATCH] spin loop arch primitives for busy waiting

2017-04-07 Thread Peter Zijlstra
On Thu, Apr 06, 2017 at 10:31:46AM -0700, Linus Torvalds wrote: > But maybe "monitor" is really cheap. I suspect it's microcoded, > though, which implies "no". On my IVB-EP (will also try on something newer): MONITOR ~332 cycles MWAIT ~224 cycles (C0, explicitly invalidated MONITOR) So yes,

Re: [PATCH] irqchip/gic: Don't write to GICD_ICFGR0

2017-04-07 Thread Marc Zyngier
On 07/04/17 07:49, Mikko Perttunen wrote: > On 06.04.2017 12:26, Marc Zyngier wrote: >> On 06/04/17 09:17, Mikko Perttunen wrote: >>> From: Matt Craighead >>> >>> According to the GICv2 specification, the GICD_ICFGR0, >>> or GIC_DIST_CONFIG[0] register is read-only.

Re: [PATCH 1/4] mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC

2017-04-07 Thread Hillf Danton
On April 05, 2017 3:47 PM Vlastimil Babka wrote: > > The function __alloc_pages_direct_compact() sets PF_MEMALLOC to prevent > deadlock during page migration by lock_page() (see the comment in > __unmap_and_move()). Then it unconditionally clears the flag, which can clear > a > pre-existing

Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage

2017-04-07 Thread Sergey Senozhatsky
On (04/07/17 09:15), Pavel Machek wrote: > On Fri 2017-04-07 13:44:40, Sergey Senozhatsky wrote: > > Hello, > > > > On (04/06/17 19:33), Pavel Machek wrote: > > > > This patch set gives up part of the printk() reliability for bounded > > > > latency (at least unless we detect we are really in

Re: [PATCH 09/24] kexec_file: Disable at runtime if securelevel has been set

2017-04-07 Thread Mimi Zohar
On Fri, 2017-04-07 at 14:19 +0800, Dave Young wrote: > On 04/06/17 at 11:49pm, Mimi Zohar wrote: > > On Fri, 2017-04-07 at 11:05 +0800, Dave Young wrote: > > > On 04/05/17 at 09:15pm, David Howells wrote: > > > > From: Chun-Yi Lee > > > > > > > > When KEXEC_VERIFY_SIG is

Re: [PATCH] of: Make of_match_node() an inline stub for CONFIG_OF=n

2017-04-07 Thread kbuild test robot
-Fainelli/of-Make-of_match_node-an-inline-stub-for-CONFIG_OF-n/20170407-111805 config: x86_64-randconfig-ne0-04071359 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones

Re: [PATCH V4 4/4] pwm: tegra: Add support to configure pin state in suspends/resume

2017-04-07 Thread Jon Hunter
On 06/04/17 17:40, Laxman Dewangan wrote: > Oops, it was actually v2. > > On Thursday 06 April 2017 08:47 PM, Jon Hunter wrote: >> On 06/04/17 15:21, Laxman Dewangan wrote: >>> In some of NVIDIA Tegra's platform, PWM controller is used to >>> control the PWM controlled regulators. PWM signal is

Re: [RFC v2][PATCH 01/11] Introduce rare_write() infrastructure

2017-04-07 Thread Ho-Eun Ryu
> On 30 Mar 2017, at 3:15 AM, Kees Cook wrote: > > Several types of data storage exist in the kernel: read-write data (.data, > .bss), read-only data (.rodata), and RO-after-init. This introduces the > infrastructure for another type: write-rarely, which is intended for

[PATCH v2 2/4] net: dsa: add new DSA switch driver for the SMSC-LAN9303

2017-04-07 Thread Juergen Borleis
The SMSC/Microchip LAN9303 is an ethernet switch device with one CPU port and two external ethernet ports with built-in phys. This driver uses the DSA framework, but is currently only capable of separating the two external ports. There is no offload support yet. Signed-off-by: Juergen Borleis

Re: [PATCH v3 00/18] clocksource/arch_timer: Errata workaround infrastructure rework

2017-04-07 Thread Thomas Gleixner
On Thu, 6 Apr 2017, Daniel Lezcano wrote: > On 06/04/2017 18:27, Catalin Marinas wrote: > > Are you happy to take the arch_timer patches above? If yes, Marc can > > create a common branch with the first 5 patches which I will merge in > > the arm64 tree. You can then pull the whole series into

[For Linux 2/4] xen/kbdif: add multi-touch support

2017-04-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Multi-touch fields re-use the page that is used by the other features which means that you can interleave multi-touch, motion, and key events. Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Stefano

[For Linux 4/4] xen/displif: add ABI for para-virtual display

2017-04-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko This is the ABI for the two halves of a para-virtualized display driver. This protocol aims to provide a unified protocol which fits more sophisticated use-cases than a framebuffer device can handle. At the moment basic

[For Linux 1/4] xen/kbdif: update protocol description

2017-04-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko The patch clarifies the protocol that is used by the PV keyboard drivers. Reviewed-by: Konrad Rzeszutek Wilk Reviewed-by: Stefano Stabellini Signed-off-by: Oleksandr Andrushchenko

[For Linux 3/4] xen/sndif: add sound-device ABI

2017-04-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Add ABI for the two halves of a para-virtualized sound driver to communicate with each other. The ABI allows implementing audio playback and capture as well as volume control and possibility to mute/unmute audio sources. Note:

Re: [PATCH] drm: bridge: dw-hdmi: fix input format/encoding from plat_data

2017-04-07 Thread Archit Taneja
On 04/06/2017 03:04 PM, Neil Armstrong wrote: The plat_data->input_bus_format and plat_data->input_bus_encoding are unsigned long and are alsways >=0, but the value 0 was still s/alsways/always considered as RGB888 like the default behaviour. Is RGB888 default behaviour for

[For Linux 0/4] PV protocol headers for Linux Kernel

2017-04-07 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hi, all! This patch series adds/updates para-virtual device protocols for Linux Kernel (headers): o kbdif (multitouch support added) o sndif - sound (new) o displif - display (new) No changes, but Linux Kernel coding style

Re: [PATCH] Revert "arm64: Increase the max granular size"

2017-04-07 Thread Catalin Marinas
On Fri, Apr 07, 2017 at 10:06:31AM +0800, Ganesh Mahendran wrote: > 2017-04-06 23:58 GMT+08:00 Catalin Marinas : > > On Thu, Apr 06, 2017 at 12:52:13PM +0530, Imran Khan wrote: > >> On 4/5/2017 10:13 AM, Imran Khan wrote: > >> >> We may have to revisit this logic and

Re: [PATCH] kvm: pass the virtual SEI syndrome to guest OS

2017-04-07 Thread Laszlo Ersek
On 04/07/17 04:52, gengdongjiu wrote: > > On 2017/4/7 2:55, Laszlo Ersek wrote: >> I'm unsure if, by "not fixed", you are saying >> >> the number of CPER entries that fits in Error Status Data Block N is >> not *uniform* across 0 <= N <= 10 [1] >> >> or >> >> the number of CPER entries

Re: [PATCH 1/4] mm: prevent potential recursive reclaim due to clearing PF_MEMALLOC

2017-04-07 Thread Vlastimil Babka
On 04/05/2017 01:40 PM, Andrey Ryabinin wrote: > On 04/05/2017 10:46 AM, Vlastimil Babka wrote: >> The function __alloc_pages_direct_compact() sets PF_MEMALLOC to prevent >> deadlock during page migration by lock_page() (see the comment in >> __unmap_and_move()). Then it unconditionally clears the

Re: [PATCH] arm64: dts: Add coresight DT nodes for hi6220-hikey

2017-04-07 Thread Leo Yan
Hi Pengcheng, [ + Mathieu ] On Fri, Apr 07, 2017 at 04:06:58PM +0800, Li Pengcheng wrote: > Add coresight DT nodes for hikey board. > > Signed-off-by: Li Pengcheng > Signed-off-by: Li Zhong > --- >

Re: [RFC PATCH 0/6] Unify the Interrupt Mode and setup it as soon as possible

2017-04-07 Thread Dou Liyang
Hi Thomas, At 04/06/2017 04:43 PM, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: The purpose of this patchset is Unifing these setup steps and executing as soon as possible as follows: start_kernel ---+ | | | | init_IRQ +>---++ || ||

[PATCH v7 12/15] scsi: mpt3sas: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mpt3sas/mpt3sas_base.c | 73

[PATCH v7 14/15] scsi: pmcraid: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v7 13/15] scsi: mvsas: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/mvsas/mv_init.c | 6 +++---

[PATCH v7 11/15] scsi: megaraid: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin Acked-by: Sumit Saxena

[PATCH v7 15/15] PCI: Remove PCI pool macro functions

2017-04-07 Thread Romain Perier
Now that all the drivers use dma pool API, we can remove the macro functions for PCI pool. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- include/linux/pci.h | 9 - 1 file changed, 9 deletions(-) diff --git

Re: [PATCH v5 12/12] drm/drm_ioctl.c: Break ioctl when drm device not registered

2017-04-07 Thread Daniel Vetter
On Thu, Apr 06, 2017 at 08:31:25PM +0800, Jeffy Chen wrote: > After unbinding drm, the user space may still owns the drm dev fd, > and may still be able to call drm ioctl. > > Add a sanity check here to prevent that from happening. > > Signed-off-by: Jeffy Chen > ---

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-04-07 Thread Mike Galbraith
On Fri, 2017-04-07 at 09:05 +0200, Mike Galbraith wrote: > On Fri, 2017-04-07 at 08:44 +0200, Mike Galbraith wrote: > > On Fri, 2017-04-07 at 09:24 +0300, Michael S. Tsirkin wrote: > > > On Fri, Apr 07, 2017 at 08:03:19AM +0200, Mike Galbraith wrote: > > > > > > Test tag works fine here w/wo

Re: [RFC][PATCHv2 2/8] printk: introduce printing kernel thread

2017-04-07 Thread Pavel Machek
Hi! > spin_dump() and trigger_all_cpu_backtrace() result in a bunch of > additional printk()-s so CPU0 has even more job to do in console_unlock(), > while it still holds the contended spin_lock. and so on; there are > many other examples. > > so should we declare a "we can spend only 2 seconds

Re: Random guest crashes since 5c34d002dcc7 ("virtio_pci: use shared interrupts for virtqueues")

2017-04-07 Thread Mike Galbraith
On Fri, 2017-04-07 at 09:22 +0200, Mike Galbraith wrote: > On Fri, 2017-04-07 at 09:05 +0200, Mike Galbraith wrote: > > On Fri, 2017-04-07 at 08:44 +0200, Mike Galbraith wrote: > > > On Fri, 2017-04-07 at 09:24 +0300, Michael S. Tsirkin wrote: > > > > On Fri, Apr 07, 2017 at 08:03:19AM +0200, Mike

[PATCH v7 03/15] IB/mthca: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin

[PATCH v7 04/15] net: e100: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher

[PATCH] arm64: dts: Add coresight DT nodes for hi6220-hikey

2017-04-07 Thread Li Pengcheng
Add coresight DT nodes for hikey board. Signed-off-by: Li Pengcheng Signed-off-by: Li Zhong --- .../arm64/boot/dts/hisilicon/hi6220-coresight.dtsi | 318 + arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 1 + 2 files

Re: [printk] fbc14616f4: BUG:kernel_reboot-without-warning_in_test_stage

2017-04-07 Thread Pavel Machek
On Fri 2017-04-07 16:46:34, Sergey Senozhatsky wrote: > On (04/07/17 09:15), Pavel Machek wrote: > > On Fri 2017-04-07 13:44:40, Sergey Senozhatsky wrote: > > > Hello, > > > > > > On (04/06/17 19:33), Pavel Machek wrote: > > > > > This patch set gives up part of the printk() reliability for

[PATCHv2] net: dsa: add SMSC/Microchip LAN9303 three port ethernet switch driver

2017-04-07 Thread Juergen Borleis
The LAN9303 is a three port 10/100 ethernet switch with integrated phys for the two external ethernet ports. The third port is an RMII/MII interface to a host master network interface (e.g. fixed link). While the LAN9303 device itself supports offload packet processing, this driver does not make

Re: [PATCH 3/6] KVM: x86: use kvm_make_request instead of set_bit

2017-04-07 Thread David Hildenbrand
On 06.04.2017 22:20, Radim Krčmář wrote: > Signed-off-by: Radim Krčmář > --- > arch/x86/kvm/x86.c | 10 ++ > 1 file changed, 2 insertions(+), 8 deletions(-) > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > index 71a019832df9..57e9989232e5 100644 > ---

Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors?

2017-04-07 Thread Felipe Balbi
Hi, John Stultz writes: > wrote: > On 4/4/2017 11:03 PM, John Stultz wrote: >> >> I did notice when cating the regdump file, I saw: >> dwc2 f72c.usb: Mode Mismatch

RE: [PATCH 2/5] media: Add support for CXD2880 SPI I/F

2017-04-07 Thread Takiguchi, Yasunari
Dear All Our patches consists of the following items. [PATCH 1/5] dt-bindings: media: Add document file for CXD2880 SPI I/F [PATCH 2/5] media: Add support for CXD2880 SPI I/F [PATCH 3/5] media: Add suppurt for CXD2880 [PATCH 4/5] media: Add suppurt for CXD2880 DVB-T2/T functions [PATCH

[PATCH] arm64: dts: rockchip: fix the memory size of PX5 Evaluation board

2017-04-07 Thread Andy Yan
Commit 122682b2abb6 ("arm64: dts: rockchip: Add PX5 Evaluation board") sets the memory size to 2 GB, but this board only has 1 GB DRAM, so change it to the correct value here. Signed-off-by: Andy Yan --- arch/arm64/boot/dts/rockchip/rk3368-px5-evb.dts | 2 +- 1 file

[PATCH] ACPI / tables: Cleanup the obsolete acpi_parse_entries

2017-04-07 Thread Baoquan He
Function acpi_parse_entries is not used any more. And the being used function, acpi_table_parse_entries can substitute it if really needed. So clean it up in this patch. Signed-off-by: Baoquan He --- drivers/acpi/tables.c | 16 include/linux/acpi.h | 4

linux-next: Tree for Apr 7

2017-04-07 Thread Stephen Rothwell
Hi all, Changes since 20170406: The vfs tree gained a conflict against the s390 tree. The net-next tree gained conflicts against the net and vfs trees The kvm-ppc tree gained a conflict against the kvm tree and a build failure for which I reverted 4 commits. The kvms390 tree gained conflicts

Re: [PATCH 09/24] kexec_file: Disable at runtime if securelevel has been set

2017-04-07 Thread Mimi Zohar
On Fri, 2017-04-07 at 15:41 +0800, Dave Young wrote: > On 04/07/17 at 08:07am, David Howells wrote: > > Dave Young wrote: > > > > > > > > + /* Don't permit images to be loaded into trusted kernels if > > > > > > we're not > > > > > > +* going to verify the signature on

Re: [PATCH RFC 5/6] KVM: mark requests that do not need a wakeup

2017-04-07 Thread Marc Zyngier
On 06/04/17 21:20, Radim Krčmář wrote: > Some operations must ensure that the guest is not running with stale > data, but if the guest is halted, then the update can wait until another > event happens. kvm_make_all_requests() currently doesn't wake up, so we > can mark all requests used with it.

Re: [PATCH 01/16] mfd: madera: Add register definitions for Cirrus Logic Madera codecs

2017-04-07 Thread Linus Walleij
On Wed, Apr 5, 2017 at 12:07 PM, Richard Fitzgerald wrote: > This patch adds a header file of register definitions for Cirrus > Logic "Madera" class codecs. These codecs are all based off a common > set of hardware IP so have a common register map (with a few

Re: [Patch v4 12/12] Documention: v4l: Documentation for HEVC CIDs

2017-04-07 Thread Smitha T Murthy
On Thu, 2017-04-06 at 15:33 +0200, Hans Verkuil wrote: > On 04/06/2017 08:11 AM, Smitha T Murthy wrote: > > Added V4l2 controls for HEVC encoder > > > > Signed-off-by: Smitha T Murthy > > General comment: don't forget to build the pdf and check that as well. > Yes I will

Re: [PATCH 09/24] kexec_file: Disable at runtime if securelevel has been set

2017-04-07 Thread Dave Young
On 04/07/17 at 04:28am, Mimi Zohar wrote: > On Fri, 2017-04-07 at 15:41 +0800, Dave Young wrote: > > On 04/07/17 at 08:07am, David Howells wrote: > > > Dave Young wrote: > > > > > > > > > > + /* Don't permit images to be loaded into trusted kernels if > > > > > > > we're not

Re: [PATCH 35/38] Annotate hardware config module parameters in sound/drivers/

2017-04-07 Thread Takashi Iwai
On Wed, 05 Apr 2017 19:01:59 +0200, David Howells wrote: > > When the kernel is running in secure boot mode, we lock down the kernel to > prevent userspace from modifying the running kernel image. Whilst this > includes prohibiting access to things like /dev/mem, it must also prevent > access by

Re: linux-next: manual merge of the akpm tree with the arm64 tree

2017-04-07 Thread Catalin Marinas
Hi Stephen, On Fri, Apr 07, 2017 at 05:41:20PM +1000, Stephen Rothwell wrote: > Today's linux-next merge of the akpm tree got a conflict in: > > arch/arm64/include/asm/cacheflush.h > > between commit: > > 9b0aa14e3155 ("arm64: mm: add set_memory_valid()") > > from the arm64 tree and

Re: [PATCH v4 0/3] Add Mediatek CIRQ interrupt controller

2017-04-07 Thread Marc Zyngier
On 07/04/17 09:06, Youlin Pei wrote: > In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to > works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. > > The CIRQ controller is integrated in between MCUSYS and interrupt sources > as the second level interrupt

Re: [RFC v2][PATCH 04/11] x86: Implement __arch_rare_write_begin/unmap()

2017-04-07 Thread Peter Zijlstra
On Wed, Mar 29, 2017 at 11:15:56AM -0700, Kees Cook wrote: > +static __always_inline unsigned long __arch_rare_write_end(void) > +{ > + unsigned long cr0; > + > + barrier(); > + cr0 = read_cr0() ^ X86_CR0_WP; > + BUG_ON(!(cr0 & X86_CR0_WP)); > + write_cr0(cr0); > +

Re: [RFC v2][PATCH 08/11] ARM: Implement __arch_rare_write_begin/end()

2017-04-07 Thread Peter Zijlstra
On Wed, Mar 29, 2017 at 11:16:00AM -0700, Kees Cook wrote: > +static inline unsigned long __arch_rare_write_end(void) > +{ > + BUG_ON(test_domain(DOMAIN_WR_RARE, DOMAIN_CLIENT)); > + modify_domain(DOMAIN_WR_RARE, DOMAIN_CLIENT); > + preempt_enable_no_resched(); NAK > + return 0;

Re: [RFC PATCH 3/6] x86/apic: Extract APIC timer related code from apic_bsp_setup()

2017-04-07 Thread Dou Liyang
Hi Thomas, At 04/05/2017 07:56 PM, Thomas Gleixner wrote: On Wed, 29 Mar 2017, Dou Liyang wrote: +/* Setup local APIC timer and get the Id*/ +static int __init apic_bsp_timer_setup(void) This does not make sense. The id and the timers have nothing to do with each other. Yes, Indeed. Here

Re: [PATCH V3 3/4] pwm: tegra: Add DT binding details to configure pin in suspends/resume

2017-04-07 Thread Jon Hunter
On 06/04/17 17:48, Laxman Dewangan wrote: > > On Thursday 06 April 2017 08:56 PM, Jon Hunter wrote: >> On 06/04/17 15:21, Laxman Dewangan wrote: >>> In some of NVIDIA Tegra's platform, PWM controller is used to >>> control the PWM controlled regulators. PWM signal is connected to >>> the VID pin

Re: [PATCH] Rename tsk_restore_flags() to current_restore_flags()

2017-04-07 Thread Michal Hocko
On Fri 07-04-17 10:03:26, NeilBrown wrote: > > It is not safe for one thread to modify the ->flags > of another thread as there is no locking that can protect > the update. > So tsk_restore_flags(), which takes a task pointer and modifies > the flags, is an invitation to do the wrong thing. > >

[PATCH v4 1/3] binding: irqchip: mtk-cirq: Add binding document

2017-04-07 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei Acked-by: Rob Herring --- .../interrupt-controller/mediatek,cirq.txt | 35 1 file changed, 35 insertions(+) create mode

[PATCH v4 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2017-04-07 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index

[PATCH v4 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-04-07 Thread Youlin Pei
In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. The CIRQ controller is integrated in between MCUSYS( include Cortex-Ax, CCI and GIC ) and interrupt sources as the second level interrupt controller.

Re: [PATCH 4.10 00/81] 4.10.9-stable review

2017-04-07 Thread Greg Kroah-Hartman
On Thu, Apr 06, 2017 at 02:53:01PM -0700, Guenter Roeck wrote: > On Thu, Apr 06, 2017 at 10:37:52AM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.9 release. > > There are 81 patches in this series, all will be posted as a response > > to this one.

[PATCH v4 0/3] Add Mediatek CIRQ interrupt controller

2017-04-07 Thread Youlin Pei
In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. The CIRQ controller is integrated in between MCUSYS and interrupt sources as the second level interrupt controller. The external interrupts which

[PATCH] HID: magicmouse: Set multi-touch keybits for Magic Mouse

2017-04-07 Thread Thierry Escande
From: Che-Liang Chiou The driver emits multi-touch events for Magic Trackpad as well as Magic Mouse, but it does not set keybits that are related to multi-touch event for Magic Mouse; so set these keybits. The keybits that are not set cause trouble because user programs

Re: [PATCH v2] Extend pca9532 device tree support

2017-04-07 Thread Felix Brack
Hello Jacek, On 06.04.2017 21:00, Jacek Anaszewski wrote: > Hi Pavel, > > On 04/06/2017 05:50 PM, Pavel Machek wrote: >> Hi! >> diff --git a/Documentation/devicetree/bindings/leds/leds-pca9532.txt b/Documentation/devicetree/bindings/leds/leds-pca9532.txt index 198f3ba..8374075

Re: [PATCH] drm: bridge: dw-hdmi: fix input format/encoding from plat_data

2017-04-07 Thread Neil Armstrong
On 04/07/2017 10:32 AM, Archit Taneja wrote: > > > On 04/06/2017 03:04 PM, Neil Armstrong wrote: >> The plat_data->input_bus_format and plat_data->input_bus_encoding >> are unsigned long and are alsways >=0, but the value 0 was still > > s/alsways/always > >> considered as RGB888 like the

[PATCH net-next v4 1/5] dt-bindings: net: dsa: add Mediatek MT7530 binding

2017-04-07 Thread sean.wang
From: Sean Wang Add device-tree binding for Mediatek MT7530 switch. Cc: devicet...@vger.kernel.org Signed-off-by: Sean Wang Acked-by: Rob Herring --- .../devicetree/bindings/net/dsa/mt7530.txt | 92

[PATCH net-next v4 4/5] net-next: ethernet: mediatek: add device_node of GMAC pointing into the netdev instance

2017-04-07 Thread sean.wang
From: Sean Wang the patch adds the setup of the corresponding device node of GMAC into the netdev instance which could allow other modules such as DSA to find the instance through the node in dt-bindings using of_find_net_device_by_node() call. Signed-off-by: Sean Wang

[PATCH net-next v4 5/5] net-next: dsa: add dsa support for Mediatek MT7530 switch

2017-04-07 Thread sean.wang
From: Sean Wang MT7530 is a 7-ports Gigabit Ethernet Switch that could be found on Mediatek router platforms such as MT7623A or MT7623N platform which includes 7-port Gigabit Ethernet MAC and 5-port Gigabit Ethernet PHY. Among these ports, The port from 0 to 4 are the

Re: [Patch v4 10/12] [media] v4l2: Add v4l2 control IDs for HEVC encoder

2017-04-07 Thread Sylwester Nawrocki
On 04/07/2017 10:31 AM, Smitha T Murthy wrote: On Thu, 2017-04-06 at 15:14 +0200, Sylwester Nawrocki wrote: On 04/06/2017 08:11 AM, Smitha T Murthy wrote: @@ -775,6 +832,47 @@ const char *v4l2_ctrl_get_name(u32 id) case V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP:return "VPX

Re: [PATCH v5 12/12] drm/drm_ioctl.c: Break ioctl when drm device not registered

2017-04-07 Thread jeffy
Hi Daniel, On 04/07/2017 03:16 PM, Daniel Vetter wrote: On Thu, Apr 06, 2017 at 08:31:25PM +0800, Jeffy Chen wrote: After unbinding drm, the user space may still owns the drm dev fd, and may still be able to call drm ioctl. Add a sanity check here to prevent that from happening.

Re: [PATCH v3 2/2] Input: add support for the STMicroelectronics FingerTip touchscreen

2017-04-07 Thread Andi Shyti
Hi Dmitry, just a kind ping, do you have any comment about this? Thanks, Andi On Mon, Mar 27, 2017 at 10:07:43PM +0900, Andi Shyti wrote: > The stmfts (ST-Microelectronics FingerTip S) touchscreen device > is a capacitive multi-touch controller mainly for mobile use. > > It's connected through

Re: [PATCH v4 03/14] pinctrl-ingenic: add a pinctrl driver for the Ingenic jz47xx SoCs

2017-04-07 Thread Linus Walleij
On Sun, Apr 2, 2017 at 10:42 PM, Paul Cercueil wrote: > This driver handles pin configuration and pin muxing for the > JZ4740 and JZ4780 SoCs from Ingenic. > > Signed-off-by: Paul Cercueil (...) > + select MFD_CORE (...) > +#include That's

Re: [kernel-hardening] Re: [RFC v2][PATCH 04/11] x86: Implement __arch_rare_write_begin/unmap()

2017-04-07 Thread Thomas Gleixner
On Fri, 7 Apr 2017, Mathias Krause wrote: > On 6 April 2017 at 17:59, Andy Lutomirski wrote: > > On Wed, Apr 5, 2017 at 5:14 PM, Kees Cook wrote: > >> static __always_inline rare_write_begin(void) > >> { > >> preempt_disable(); > >>

Re: [RFC 6/8] nvmet: Be careful about using iomem accesses when dealing with p2pmem

2017-04-07 Thread Stephen Bates
On 2017-04-06, 6:33 AM, "Sagi Grimberg" wrote: > Say it's connected via 2 legs, the bar is accessed from leg A and the > data from the disk comes via leg B. In this case, the data is heading > towards the p2p device via leg B (might be congested), the completion > goes directly

  1   2   3   4   5   6   7   8   9   10   >