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-acpi-redef (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 prefixed by

Re: [PATCH] nfc: fix get_unaligned_...() misuses

2017-04-07 Thread kbuild test robot
Hi Al, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc5 next-20170406] [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/Al-Viro/nfc-fix-get_unaligned_-misuses/20170407

Re: [PATCH 17/24] acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down

2017-04-07 Thread David Howells
Dave Young wrote: > > > This option allows userspace to pass the RSDP address to the kernel, which > > > makes it possible for a user to circumvent any restrictions imposed on > > > loading modules. Ignore the option when the kernel is locked down. > > > > I'm not really sure here. > > > > Wha

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 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 threadirqs, RT works as well. > > > > > > -Mike > > > > Thanks a lot

[rbtree_test_init] ca92e6c7e6 [ 87.454390] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper:1]

2017-04-07 Thread Fengguang Wu
Greetings, FYI, here is a soft-lockup bug in linux-next that cannot be bisected due to noises. [ 39.808930] xz_dec_test: Create a device node with 'mknod xz_dec_test c 249 0' and write .xz files to it. [ 39.823932] glob: 64 self-tests passed, 0 failed [ 39.826494] rbtree testing [ 59.360

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

2017-04-07 Thread David Howells
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 (!IS_ENABLED(CONFIG_KEXEC_VERIFY_SIG) && > > > > kernel_is_locked_down()) > > > > +

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

2017-04-07 Thread David Howells
Mimi Zohar wrote: > > > + if (!IS_ENABLED(CONFIG_KEXEC_VERIFY_SIG) && kernel_is_locked_down()) > > > + return -EPERM; > > > + > > > > > IMA can be used to verify file signatures too, based on the LSM hooks > in  kernel_read_file_from_fd().  CONFIG_KEXEC_VERIFY_SIG should not be > requi

Re: [PATCH v2] ARM: zynq: Add #io-channel-cells to (x)adc node for iio-hwmon

2017-04-07 Thread Michal Simek
On 20.3.2017 16:34, Lars-Peter Clausen wrote: > On 03/20/2017 04:33 PM, Michal Simek wrote: >> On 17.3.2017 07:46, Michal Simek wrote: >>> On 16.3.2017 22:20, Lars-Peter Clausen wrote: On 03/16/2017 07:06 PM, Michal Simek wrote: > On 16.3.2017 17:51, Lars-Peter Clausen wrote: >> On 03/

Re: [RFC PATCH] kernel: sched: Provide a pointer to the valid CPU mask

2017-04-07 Thread Ingo Molnar
* Thomas Gleixner wrote: > On Thu, 6 Apr 2017, Ingo Molnar wrote: > > CPU hotplug and changing the affinity mask are the more complex cases, > > because > > there migrating or not migrating is a correctness issue: > > > > - CPU hotplug has to be aware of this anyway, regardless of whether it

Re: [PATCH v3 8/9] drm/rockchip: gem: Don't alloc/free gem buf when dev_private is invalid

2017-04-07 Thread Daniel Vetter
On Fri, Apr 07, 2017 at 02:44:05PM +0800, jeffy wrote: > Hi Daniel, > > On 04/07/2017 02:30 PM, Daniel Vetter wrote: > > On Thu, Apr 6, 2017 at 1:09 PM, jeffy wrote: > > > > > > On 04/06/2017 04:26 PM, Daniel Vetter wrote: > > > > > > > > On Wed, Apr 05, 2017 at 12:28:40PM -0400, Sean Paul wrot

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

2017-04-07 Thread Pavel Machek
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 trouble) which is IMHO > > > a good trade-off for lots of

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 > --- > > Changes in v5: None > C

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 $

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 i

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 threa

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 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 by

[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 | 13 +++-- 1 file changed, 7 insertions(+), 6 del

[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 --- drivers/scsi/be2iscsi/be_iscsi.c | 6 +++--- drivers/scsi/be2iscsi/be_mai

[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 --- drivers/block/DAC960.c | 38 ++ drive

[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 +++--- drivers/scsi/mvsas/mv_sas.c | 6 +++--- 2 files changed, 6 in

[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 --- drivers/scsi/megaraid/megaraid_mbox.c | 33 +++ drivers/scsi/

[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 + 1 file changed, 34 inse

[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 --- drivers/scsi/pmcraid.c | 10 +- drivers/scsi/pmcraid.h | 2 +- 2

[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 a/include/linux/pci.h b/include/linux/pci.h index 2dbd6d2..

Re: [PATCH] nfc: fix get_unaligned_...() misuses

2017-04-07 Thread kbuild test robot
Hi Al, [auto build test ERROR on linus/master] [also build test ERROR on v4.11-rc5 next-20170406] [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/Al-Viro/nfc-fix-get_unaligned_-misuses/20170407

[PATCH v7 10/15] scsi: lpfc: 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 some comments, accordingly. Signed-off-by: Romain Perier Reviewed-by: Peter Senna Tschudin --- drivers/scsi/lpfc/lpfc.h | 14 +++--- drivers/scsi/l

[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 --- drivers/dma/pch_dma.c | 12 ++-- 1 file changed, 6 insertions(+),

[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 Tested-by: Doug Ledford --- drivers/net/ethernet/mellanox/mlx5/core/cmd.c | 11 +++

[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 Tschudin --- drivers/scsi/csios

[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 Reviewed-by: Leon Romanovsky Acked-by: Doug Ledford Tested-by: Doug Ledford

[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 Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++

[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 Acked-by: Doug Ledford Tested-by: Doug Ledford --- drivers/infiniband/hw/mt

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. Therefore >>> avoid writing to

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 PF_M

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 >

Re: [RFC PATCH 2/2] drm/vgem: Enable dmabuf import interfaces

2017-04-07 Thread Chris Wilson
On Thu, Apr 06, 2017 at 04:18:33PM -0700, Laura Abbott wrote: > > Enable the GEM dma-buf import interfaces in addition to the export > interfaces. This lets vgem be used as a test source for other allocators > (e.g. Ion). > > +int vgem_gem_get_pages(struct drm_vgem_gem_object *obj) > +{ > + s

Re: [PATCH 17/24] acpi: Ignore acpi_rsdp kernel param when the kernel has been locked down

2017-04-07 Thread Dave Young
On 04/07/17 at 08:05am, David Howells wrote: > Dave Young wrote: > > > > > This option allows userspace to pass the RSDP address to the kernel, > > > > which > > > > makes it possible for a user to circumvent any restrictions imposed on > > > > loading modules. Ignore the option when the kernel

Re: [PATCH] [media] media-entity: only call dev_dbg_obj if mdev is not NULL

2017-04-07 Thread Sakari Ailus
Hi Helen, On Thu, Apr 06, 2017 at 04:32:00PM -0300, Helen Koike wrote: > Fix kernel Oops NULL pointer deference > Call dev_dbg_obj only after checking if gobj->mdev is not NULL > > Signed-off-by: Helen Koike > --- > drivers/media/media-entity.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 del

Re: [PATCH 2/9] mm: support __GFP_REPEAT in kvmalloc_node for >32kB

2017-04-07 Thread Michal Hocko
On Thu 06-04-17 17:45:23, Shakeel Butt wrote: > On Mon, Mar 6, 2017 at 2:30 AM, Michal Hocko wrote: > > From: Michal Hocko > > > > vhost code uses __GFP_REPEAT when allocating vhost_virtqueue resp. > > vhost_vsock because it would really like to prefer kmalloc to the > > vmalloc fallback - see 23

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 tre

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 base set of options that

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 b/sound/soc/codecs/es8328.c > in

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 (!IS_ENABLED(CONFIG_KEXEC_VERIFY_SIG)

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 not enabled, kernel shoul

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 trou

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 signatures too, based on t

Re: [PATCH V2 11/16] block, bfq: reduce idling only in symmetric scenarios

2017-04-07 Thread Paolo Valente
> Il giorno 31 mar 2017, alle ore 17:20, Bart Van Assche > ha scritto: > > On Fri, 2017-03-31 at 14:47 +0200, Paolo Valente wrote: >> + entity->weight_counter = kzalloc(sizeof(struct bfq_weight_counter), >> +GFP_ATOMIC); >> + entity->weight_co

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 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: [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 is

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 c

[PATCH] RDS: IB: ensure an initialized ret is printed in pr_warn message

2017-04-07 Thread Colin King
From: Colin Ian King There is a path where ibmr is null and ret has not been initialized and hence a pr_warn message is printing an uninitialized value in ret. Fix this by initializing ret to zero. Detected by CoverityScan, CID#1357946 ("Uninitialized scalar variable") Signed-off-by: Colin Ian

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 > --- > mm/swap_cgroup.c | 2 ++ > 1 f

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 03:45am, Mimi Zohar wrote: > 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 > > > > > > >

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. > > A

[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 100644 Documentation/devicetree/bindings/in

[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 outsi

[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 8037210..5daacfe 100644 --- a/arch/arm/

[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. Th

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. I

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 data > that is either onl

[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 changed, 319 insertions(+) create mode 100644 arch

[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 often probe these keybits

[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 u

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 bounde

[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 d

[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 --- .../devicetree/bindings/net/

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 ifdeffery around this code here (with obvio

[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 drivers/net/dsa/Kconfig

[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 your

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 > --- a/arch/x86/kvm/x86.c > +++

Re: dwc2_hc_chhltd_intr_dma - ChHltd set errors?

2017-04-07 Thread Felipe Balbi
Hi, John Stultz writes: mailto:minas.harutyun...@synopsys.com>> 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 Interrupt: currently in Host mode >> twice. (You'll see it 4

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 5

[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 changed, 1 insertion(+), 1 d

[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 2 files changed,

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 100

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. >

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 a

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 them > > > > > > +

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 minor > device-to-device variations).

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

2017-04-07 Thread Smitha T Murthy
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 > > P-Frame QP Value"; > > case V4L2_CID_MPE

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 all based off a common >> set of hardware IP so have a common

[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 applied. Thank you, Oleksandr Oleksan

[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 Stabellini Signed-off-by: Oleksandr Andrushchenko --- include/x

[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 functionality is supported with the intention

[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 --- include/xen/interface/io/kbdif.h | 258 +++

[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: depending on the use-case backend can

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 plat_data->inp

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

2017-04-07 Thread 冯伟linux
HI lee.jones I submitted my patch a few months ago, but the patch was not merged. I want to know what causes this, so that I can update the patch and make the patch merged. steven feng Realsil Microelectronics CO. LTD. Mobile:181-6899-0403 Ext:57594 On 2017年01月05日 17:01, 冯伟linux wrote: >

Re: [PATCH 4.4 25/26] blk: Ensure users for current->bio_list can see the full list.

2017-04-07 Thread Jinpu Wang
On Thu, Apr 6, 2017 at 8:17 PM, Ben Hutchings wrote: > On Thu, 2017-04-06 at 10:38 +0200, Greg Kroah-Hartman wrote: >> 4.4-stable review patch. If anyone has any objections, please let me know. >> >> -- >> >> From: NeilBrown >> >> commit f5fe1b51905df7cfe4fdfd85c5fb7bc5b71a094f u

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

2017-04-07 Thread Mathias Krause
On 6 April 2017 at 17:59, Andy Lutomirski wrote: > On Wed, Apr 5, 2017 at 5:14 PM, Kees Cook wrote: >> On Wed, Apr 5, 2017 at 4:57 PM, Andy Lutomirski wrote: >>> On Wed, Mar 29, 2017 at 6:41 PM, Kees Cook wrote: On Wed, Mar 29, 2017 at 3:38 PM, Andy Lutomirski wrote: > On Wed, M

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 build it and check befo

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 defau

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: [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 > > > > > > > + * g

[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 connecting with the remote

[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 ++ 1 file changed, 92 insertions(+) create mode 100644 Documentat

  1   2   3   4   5   6   7   8   >