Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-15 Thread Hannes Frederic Sowa
On 15.12.2016 13:03, Nicholas Piggin wrote: > On Thu, 15 Dec 2016 12:19:02 +0100 > Hannes Frederic Sowa wrote: > >> On 15.12.2016 03:06, Nicholas Piggin wrote: >>> On Wed, 14 Dec 2016 15:04:36 +0100 >>> Hannes Frederic Sowa wrote: >>> On 09.12.2016

[PATCH net 2/3] dpaa_eth: remove redundant dependency on FSL_SOC

2016-12-15 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/dpaa/Kconfig b/drivers/net/ethernet/freescale/dpaa/Kconfig index f3a3454..a654736 100644 ---

[PATCH v8] powerpc: Do not make the entire heap executable

2016-12-15 Thread Denys Vlasenko
On 32-bit powerpc the ELF PLT sections of binaries (built with --bss-plt, or with a toolchain which defaults to it) look like this: [17] .sbss NOBITS 0002aff8 01aff8 14 00 WA 0 0 4 [18] .plt NOBITS 0002b00c 01aff8 84 00 WAX 0 0 4

[PATCH] nvme-fabrics: simplify error handling of nvme_fc_create_hw_io_queues

2016-12-15 Thread Johannes Thumshirn
Simplify the error handling of nvme_fc_create_hw_io_queues(), this saves us one variable and one level of indentation. Signed-off-by: Johannes Thumshirn --- drivers/nvme/host/fc.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

[PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Geert Uytterhoeven
If CONFIG_PRINTK=n: kernel/printk/printk.c:1893: warning: ‘cont’ defined but not used Note that there are actually two different struct cont definitions and objects: the first one is used if CONFIG_PRINTK=y, the second one became unused by removing console_cont_flush(). Fixes:

[PATCH net 0/3] dpaa_eth: a couple of fixes

2016-12-15 Thread Madalin Bucur
This patch set introduces big endian accessors in the dpaa_eth driver making sure accesses to the QBMan HW are correct on little endian platforms. Removing a redundant Kconfig dependency on FSL_SOC. Adding myself as maintainer of the dpaa_eth driver. Claudiu Manoil (1): dpaa_eth: use big endian

Re: [PATCH v3] kvm: svm: Use the hardware provided GPA instead of page walk

2016-12-15 Thread Paolo Bonzini
On 15/12/2016 14:09, David Hildenbrand wrote: >>> >>> bool exception_gpa_valid(struct kvm_vcpu) >>> { >>> // check if svm >>> // check if exit code is NPF >>> // check ctxt >>> } >> >> No, this would be a layering violation. The emulator ops don't know >> about svm and exit codes

[PATCH -resend with CC] crypto: algif_hash, avoid zero-sized array

2016-12-15 Thread Jiri Slaby
With this reproducer: struct sockaddr_alg alg = { .salg_family = 0x26, .salg_type = "hash", .salg_feat = 0xf, .salg_mask = 0x5, .salg_name = "digest_null", }; int sock, sock2; sock = socket(AF_ALG, SOCK_SEQPACKET, 0); bind(sock, (struct

Re: [PATCH] crypto: algif_hash, avoid zero-sized array

2016-12-15 Thread Jiri Slaby
On 12/15/2016, 02:03 PM, Herbert Xu wrote: > On Thu, Dec 15, 2016 at 11:08:24AM +0100, Jiri Slaby wrote: >> Ping. > > Crypto patches need to go through linux-crypto. Resent with added CC. thanks, -- js suse labs

Re: [PATCH] MAINTAINERS: Add printk maintainers

2016-12-15 Thread Steven Rostedt
On Thu, 15 Dec 2016 11:47:58 +0100 Petr Mladek wrote: > I and Sergey would like to volunteer as printk code maintainers. > It is a code that everyone is using, various people fix bugs or > even add features but there is nobody really interested into > maintaining it. > > I and

[PATCH net 3/3] MAINTAINERS: net: add entry for Freescale QorIQ DPAA Ethernet driver

2016-12-15 Thread Madalin Bucur
Add record for Freescale QORIQ DPAA Ethernet driver adding myself as maintainer. Signed-off-by: Madalin Bucur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e2463ba..0ff9757 100644 --- a/MAINTAINERS +++

Re: [PATCH] vfio/pci: Support error recovery

2016-12-15 Thread Cao jin
On 12/15/2016 06:16 AM, Alex Williamson wrote: > On Wed, 14 Dec 2016 18:24:23 +0800 > Cao jin wrote: > >> Sorry for late. >> after reading all your comments, I think I will try the solution 1. >> >> On 12/13/2016 03:12 AM, Alex Williamson wrote: >>> On Mon, 12 Dec

Re: [PATCH 1/1] of: of_reserved_mem: Ensure cma reserved region not cross the low/high memory

2016-12-15 Thread Rob Herring
On Wed, Dec 14, 2016 at 4:21 PM, Laura Abbott wrote: > On 12/14/2016 12:45 PM, Rob Herring wrote: >> On Wed, Nov 23, 2016 at 5:37 AM, Jason Liu wrote: >>> Need ensure the cma reserved region not cross the low/high memory boundary >>> when using the

[PATCH 1/2] media: s5p-cec: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
s5p-cec: does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/staging/media/s5p-cec/exynos_hdmi_cec.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/media/s5p-cec/exynos_hdmi_cec.h

[PATCH 2/2] media: s5p-cec: Remove references to non-existent PLAT_S5P symbol

2016-12-15 Thread Corentin Labbe
Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. This patch remove the last occurrence of this symbol. Signed-off-by: Corentin Labbe --- drivers/staging/media/s5p-cec/Kconfig | 2 +- 1 file changed, 1

[PATCH 5/9] xfs: use memalloc_nofs_{save,restore} instead of memalloc_noio*

2016-12-15 Thread Michal Hocko
From: Michal Hocko kmem_zalloc_large and _xfs_buf_map_pages use memalloc_noio_{save,restore} API to prevent from reclaim recursion into the fs because vmalloc can invoke unconditional GFP_KERNEL allocations and these functions might be called from the NOFS contexts. The

RE: Big I/O requests are split into small ones due to unaligned ext4 partition boundary?

2016-12-15 Thread Dexuan Cui
> From: Ming Lei [mailto:tom.leim...@gmail.com] > Sent: Thursday, December 15, 2016 20:43 > > On Thu, Dec 15, 2016 at 7:47 PM, Dexuan Cui wrote: > > Hi, when I run "mkfs.ext4 /dev/sdc2" in a Linux virtual machine on Hyper-V, > > where a disk IOPS=500 limit is applied by me

[PATCH 9/9] Revert "ext4: fix wrong gfp type under transaction"

2016-12-15 Thread Michal Hocko
From: Michal Hocko This reverts commit 216553c4b7f3e3e2beb4981cddca9b2027523928. Now that the transaction context uses memalloc_nofs_save and all allocations within the this context inherit GFP_NOFS automatically, there is no reason to mark specific allocations explicitly. This

Re: [PATCH] trace: extend trace_clock to support arch_arm clock counter

2016-12-15 Thread Srinivas Ramana
On 12/12/2016 04:12 PM, Will Deacon wrote: On Mon, Dec 12, 2016 at 10:31:52AM +0530, Srinivas Ramana wrote: On 12/06/2016 05:43 PM, Will Deacon wrote: On Sun, Dec 04, 2016 at 02:06:23PM +0530, Srinivas Ramana wrote: On 12/02/2016 04:38 PM, Will Deacon wrote: On Fri, Dec 02, 2016 at

Re: [PATCH 33/37] ARM: dts: vf610m4-cosmic: Correct license text

2016-12-15 Thread Afzal Mohammed
Hi, On Thu, Dec 15, 2016 at 12:57:42AM +0100, Alexandre Belloni wrote: > The license test has been mangled at some point then copy pasted across The patch text has been mangled at this point ... ;) > multiple files. Restore it to what it should be. > Note that this is not intended as a

[PATCH net 1/4] fsl/fman: fix 1G support for QSGMII interfaces

2016-12-15 Thread Madalin Bucur
QSGMII ports were not advertising 1G speed. Signed-off-by: Madalin Bucur Reviewed-by: Camelia Groza --- drivers/net/ethernet/freescale/fman/mac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/freescale/fman/mac.c

[PATCH net 4/4] fsl/fman: enable compilation on ARM64

2016-12-15 Thread Madalin Bucur
Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/freescale/fman/Kconfig b/drivers/net/ethernet/freescale/fman/Kconfig index 79b7c84..dc0850b 100644 ---

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread Vitaly Kuznetsov
Olaf Hering writes: > On Thu, Dec 15, Vitaly Kuznetsov wrote: > >> We actually need to read the reply and empty the message slot to make >> unload happen. And reading on a different CPU may not work, see: >> >>

[PATCH net 2/4] fsl/fman: arm: call of_platform_populate() for arm64 platfrom

2016-12-15 Thread Madalin Bucur
From: Igal Liberman Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/fman.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/ethernet/freescale/fman/fman.c

RE: [PATCH] spi: fsl-lpspi: Pre-initialize ret in fsl_lpspi_transfer_one_msg()

2016-12-15 Thread Pandy Gao
> From: Geert Uytterhoeven [mailto:ge...@linux-m68k.org] > Sent: Wednesday, December 14, 2016 7:21 PM > To: Mark Brown ; Pandy Gao > > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Geert > Uytterhoeven > Subject: [PATCH]

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-15 Thread Stanislav Kozina
Yeah it's great work, so is Stanislav's checker. I wouldn't mind having a kernel-centric checker tool merged in the kernel if it is small, maintained, and does a sufficient job for distros. I'd be very happy to see the resulting tool in the kernel tree, as it needs to be kept in sync with

[PATCH net 1/3] dpaa_eth: use big endian accessors

2016-12-15 Thread Madalin Bucur
From: Claudiu Manoil Ensure correct access to the big endian QMan HW through proper accessors. Signed-off-by: Claudiu Manoil Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 71

[tip:x86/cache] Documentation, x86, resctrl: Recommend locking for resctrlfs

2016-12-15 Thread tip-bot for Marcelo Tosatti
Commit-ID: 3c2a769de7955ff81818b49d388dd771bf6ae29d Gitweb: http://git.kernel.org/tip/3c2a769de7955ff81818b49d388dd771bf6ae29d Author: Marcelo Tosatti AuthorDate: Wed, 14 Dec 2016 15:08:37 -0200 Committer: Thomas Gleixner CommitDate: Thu, 15 Dec

Re: move hyperv CHANNELMSG_UNLOAD from crashed kernel to kdump kernel

2016-12-15 Thread Olaf Hering
On Thu, Dec 15, Vitaly Kuznetsov wrote: > vmbus_wait_for_unload() may be receiving a message (not necessarily the > CHANNELMSG_UNLOAD_RESPONSE, we may see some other message) on the same > CPU it runs and in this case wrmsrl() makes sense. In other cases it > does nothing (neither good nor bad).

RE: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-15 Thread David Laight
From: Hannes Frederic Sowa > Sent: 15 December 2016 12:50 > On 15.12.2016 13:28, David Laight wrote: > > From: Hannes Frederic Sowa > >> Sent: 15 December 2016 12:23 > > ... > >> Hmm? Even the Intel ABI expects alignment of unsigned long long to be 8 > >> bytes on 32 bit. Do you question that? > >

Re: [PATCH 2/2] xilinx_dma: Add reset support

2016-12-15 Thread Laurent Pinchart
Hi Ramiro, (CC'ing Philipp Zabel) On Thursday 15 Dec 2016 11:26:54 Ramiro Oliveira wrote: > On 12/14/2016 8:16 PM, Laurent Pinchart wrote: > > Hi Ramiro, > > > > Thank you for the patch. > > > > On Wednesday 14 Dec 2016 17:18:24 Ramiro Oliveira wrote: > >> Add a DT property to control an

Re: [PATCH] genirq/affinity: fix node generation from cpumask

2016-12-15 Thread Guilherme G. Piccoli
On 12/15/2016 07:36 AM, Thomas Gleixner wrote: > On Thu, 15 Dec 2016, Gavin Shan wrote: >>> static int get_nodes_in_cpumask(const struct cpumask *mask, nodemask_t >>> *nodemsk) >>> { >>> - int n, nodes; >>> + int n, nodes = 0; >>> >>> /* Calculate the number of nodes in the supplied

[PATCH] afs, rxrpc: Update the MAINTAINERS file

2016-12-15 Thread David Howells
Update the MAINTAINERS file for AFS and AF_RXRPC to include a website pointer. Signed-off-by: David Howells --- MAINTAINERS |1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e5c17a951b7d..afd737e6e0ae 100644 --- a/MAINTAINERS +++

Re: [PATCH] MAINTAINERS, mm: add IRC info and update include file list

2016-12-15 Thread Kirill A. Shutemov
On Thu, Dec 15, 2016 at 09:08:48AM +0100, Vlastimil Babka wrote: > There's a new C: entry for IRC or similar chat, so add the OFTC #mm channel. > While at it, add more F: entries for least the more prominent include/ files > related to mm. > > Signed-off-by: Vlastimil Babka > ---

[PATCH v2 1/2] mfd: axp20x: Add a few missing defines for AXP288 specific registers

2016-12-15 Thread Hans de Goede
Add defines for the AXP288_POWER_REASON and AXP288_RT_BATT_V_H and AXP288_RT_BATT_V_L registers. While at it also move the AXP288_TS_ADC_H-AXP288_GP_ADC_L defines, which for some reason where in a different place, together with the rest of the AXP288 specific defines. Signed-off-by: Hans de Goede

[PATCH v2 2/2] mfd: axp20x: Fix axp288 volatile ranges

2016-12-15 Thread Hans de Goede
The axp288 pmic has a lot more volatile registers then we were listing in axp288_volatile_ranges, fix this. Signed-off-by: Hans de Goede --- Changes in v2: -Add the following extra regs to axp288_volatile_ranges: AXP288_POWER_REASON, AXP20X_TIMER_CTRL, AXP288_RT_BATT_V_H,

[PATCH] mptlan: Remove linux/miscdevice.h from mptlan.h

2016-12-15 Thread Corentin Labbe
This patch remove linux/miscdevice.h from mptlan.h since mptlan.h does not contain any miscdevice. The only user of it is mptctl.c which already include linux/miscdevice.h So no need to include it twice. Signed-off-by: Corentin Labbe ---

[PATCH 2/9] xfs: introduce and use KM_NOLOCKDEP to silence reclaim lockdep false positives

2016-12-15 Thread Michal Hocko
From: Michal Hocko Now that the page allocator offers __GFP_NOLOCKDEP let's introduce KM_NOLOCKDEP alias for the xfs allocation APIs. While we are at it also change KM_NOFS users introduced by b17cb364dbbb ("xfs: fix missing KM_NOFS tags to keep lockdep happy") and use the new

[PATCH 3/9] xfs: abstract PF_FSTRANS to PF_MEMALLOC_NOFS

2016-12-15 Thread Michal Hocko
From: Michal Hocko xfs has defined PF_FSTRANS to declare a scope GFP_NOFS semantic quite some time ago. We would like to make this concept more generic and use it for other filesystems as well. Let's start by giving the flag a more genric name PF_MEMALLOC_NOFS which is in line

[PATCH] misc: mic: Remove linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
linux/miscdevice.h include was added in commit 1da2b3eeef36 ("misc: mic: Remove COSM functionality from the MIC host driver") along with a struct miscdevice miscdev in struct mic_device. but the following commit ef39830c3583 ("misc: mic: Remove MIC X100 host virtio functionality") remove all

[PATCH 6/9] jbd2: mark the transaction context with the scope GFP_NOFS context

2016-12-15 Thread Michal Hocko
From: Michal Hocko now that we have memalloc_nofs_{save,restore} api we can mark the whole transaction context as implicitly GFP_NOFS. All allocations will automatically inherit GFP_NOFS this way. This means that we do not have to mark any of those requests with GFP_NOFS and

[PATCH 1/9] lockdep: allow to disable reclaim lockup detection

2016-12-15 Thread Michal Hocko
From: Michal Hocko The current implementation of the reclaim lockup detection can lead to false positives and those even happen and usually lead to tweak the code to silence the lockdep by using GFP_NOFS even though the context can use __GFP_FS just fine. See

[PATCH 4/9] mm: introduce memalloc_nofs_{save,restore} API

2016-12-15 Thread Michal Hocko
From: Michal Hocko GFP_NOFS context is used for the following 5 reasons currently - to prevent from deadlocks when the lock held by the allocation context would be needed during the memory reclaim - to prevent from stack overflows during the reclaim

Re: [PATCH V6 03/10] efi: parse ARM processor error

2016-12-15 Thread James Morse
Hi Tyler, On 07/12/16 21:48, Tyler Baicar wrote: > Add support for ARM Common Platform Error Record (CPER). > UEFI 2.6 specification adds support for ARM specific > processor error information to be reported as part of the > CPER records. This provides more detail on for processor error logs.

[PATCH 0/9 v2] scope GFP_NOFS api

2016-12-15 Thread Michal Hocko
Hi, I have posted the previous version here [1]. Since then I have added a support to suppress reclaim lockdep warnings (__GFP_NOLOCKDEP) to allow removing GFP_NOFS usage motivated by the lockdep false positives. On top of that I've tried to convert few KM_NOFS usages to use the new flag in the

[PATCH 8/9] Revert "ext4: avoid deadlocks in the writeback path by using sb_getblk_gfp"

2016-12-15 Thread Michal Hocko
From: Michal Hocko This reverts commit c45653c341f5c8a0ce19c8f0ad4678640849cb86 because sb_getblk_gfp is not really needed as sb_getblk __getblk_gfp __getblk_slow grow_buffers grow_dev_page gfp_mask = mapping_gfp_constraint(inode->i_mapping,

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-15 Thread Nicholas Piggin
On Thu, 15 Dec 2016 14:15:31 +0100 Hannes Frederic Sowa wrote: > On 15.12.2016 13:03, Nicholas Piggin wrote: > > On Thu, 15 Dec 2016 12:19:02 +0100 > > Hannes Frederic Sowa wrote: > > > >> On 15.12.2016 03:06, Nicholas Piggin wrote: > >>> On Wed, 14

[PATCH 7/9] jbd2: make the whole kjournald2 kthread NOFS safe

2016-12-15 Thread Michal Hocko
From: Michal Hocko kjournald2 is central to the transaction commit processing. As such any potential allocation from this kernel thread has to be GFP_NOFS. Make sure to mark the whole kernel thread GFP_NOFS by the memalloc_nofs_save. Suggested-by: Jan Kara

[GIT PULL] tracing: Updates for 4.10

2016-12-15 Thread Steven Rostedt
Linus, This release has a few updates: o STM can hook into the function tracer o Function filtering now supports more advance glob matching o Ftrace selftests updates and added tests o Softirq tag in traces now show only softirqs o ARM nop added to non traced locations at compile time o

[PATCH 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-15 Thread Kedareswara rao Appana
When VDMA is configured for more than one frame in the h/w for example h/w is configured for n number of frames and user Submits n number of frames and triggered the DMA using issue_pending API. In the current driver flow we are submitting one frame at a time but we should submit all the n number

Re: [PATCH 3/7] ALSA: hda - use dell_micmute_led_set() instead of dell_app_wmi_led_set()

2016-12-15 Thread Pali Rohár
On Thu Dec 15 15:46:28 2016 Michał Kępień wrote: > > On Thursday 08 December 2016 13:36:14 Michał Kępień wrote: > > > --- a/sound/pci/hda/dell_wmi_helper.c > > > +++ b/sound/pci/hda/dell_wmi_helper.c > > > @@ -6,7 +6,7 @@ > > > #include > > > > > > static int dell_led_value;

Re: [PATCH] printk: Remove no longer used second struct cont

2016-12-15 Thread Petr Mladek
On Thu 2016-12-15 13:53:58, Geert Uytterhoeven wrote: > If CONFIG_PRINTK=n: > > kernel/printk/printk.c:1893: warning: ‘cont’ defined but not used > > Note that there are actually two different struct cont definitions and > objects: the first one is used if CONFIG_PRINTK=y, the second one

Re: [PATCH 2/7] blk-mq: make mq_ops a const pointer

2016-12-15 Thread Bart Van Assche
On 12/15/2016 06:26 AM, Jens Axboe wrote: > We never change it, make that clear. Reviewed-by: Bart Van Assche

RE: [PATCH] drivers: staging: comedi: fix function prototypes

2016-12-15 Thread Hartley Sweeten
On Thursday, December 15, 2016 4:47 AM, Ian Abbott wrote: > On 14/12/16 16:14, Hartley Sweeten wrote: >> On December 14, 2016 6:42 AM, Piotr Gregor wrote: >>> -struct pci_dev *comedi_to_pci_dev(struct comedi_device *); >>> +struct pci_dev *comedi_to_pci_dev(struct comedi_device *dev); >> >> For

Re: [PATCH] net: sfc: use new api ethtool_{get|set}_link_ksettings

2016-12-15 Thread Bert Kenward
On 14/12/16 23:12, Philippe Reynes wrote: > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Tested-by: Bert Kenward Acked-by: Bert Kenward

[PATCH v5 4/9] media: venus: adding core part and helper functions

2016-12-15 Thread Stanimir Varbanov
* core.c has implemented the platform dirver methods, file operations and v4l2 registration. * helpers.c has implemented common helper functions for: - buffer management - vb2_ops and functions for format propagation, - functions for allocating and freeing buffers for internal

Re: [patch 1/3] x86/process: Optimize TIF checks in switch_to_extra()

2016-12-15 Thread Andy Lutomirski
On Thu, Dec 15, 2016 at 8:44 AM, Thomas Gleixner wrote: > - if (test_tsk_thread_flag(prev_p, TIF_BLOCKSTEP) ^ > - test_tsk_thread_flag(next_p, TIF_BLOCKSTEP)) { > + tifn = task_thread_info(next_p)->flags; > + tifp = task_thread_info(prev_p)->flags;

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Boris Ostrovsky
On 12/15/2016 12:17 PM, Borislav Petkov wrote: > On Thu, Dec 15, 2016 at 12:00:22PM -0500, Boris Ostrovsky wrote: >> There is an error on AMD as well. We end up being called at >> load_microcode_amd() with size=0 and crash soon after. > Does that fix it? > > diff --git a/arch/x86/Kconfig

[PATCH v5 7/9] media: venus: hfi: add Host Firmware Interface (HFI)

2016-12-15 Thread Stanimir Varbanov
This is the implementation of HFI. It is charged with the responsibility to comunicate with the firmware through an interface commands and messages. - hfi.c has interface functions used by the core, decoder and encoder parts to comunicate with the firmware. For example there are functions for

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Juergen Gross
On 15/12/16 17:46, Borislav Petkov wrote: > On Thu, Dec 15, 2016 at 05:12:04PM +0100, Juergen Gross wrote: >> with today's kernel the system isn't coming up when booted as Xen dom0: > > Remind me again pls, is dom0 even supposed to load microcode? Isn't the > hypervisor supposed to apply

[PATCH v5 9/9] media: venus: enable building of Venus video driver

2016-12-15 Thread Stanimir Varbanov
This adds Venus driver Makefile and changes v4l2 platform Makefile/Kconfig in order to enable building of the driver. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/Kconfig | 13 + drivers/media/platform/Makefile| 2

[PATCH v5 6/9] media: venus: venc: add video encoder files

2016-12-15 Thread Stanimir Varbanov
This adds encoder part of the driver plus encoder controls. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/venc.c | 1100 drivers/media/platform/qcom/venus/venc.h | 32 +

[PATCH v5 8/9] media: venus: hfi: add Venus HFI files

2016-12-15 Thread Stanimir Varbanov
Here is the implementation of Venus video accelerator low-level functionality. It contanins code which setup the registers and startup uthe processor, allocate and manipulates with the shared memory used for sending commands and receiving messages. Signed-off-by: Stanimir Varbanov

[PATCH v5 5/9] media: venus: vdec: add video decoder files

2016-12-15 Thread Stanimir Varbanov
This consists of video decoder implementation plus decoder controls. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/vdec.c | 952 + drivers/media/platform/qcom/venus/vdec.h | 32 +

Re: [PATCH 2/2] arm64: mm: enable CONFIG_HOLES_IN_ZONE for NUMA

2016-12-15 Thread Robert Richter
I was going to do some measurements but my kernel crashes now with a page fault in efi_rtc_probe(): [ 21.663393] Unable to handle kernel paging request at virtual address 20251000 [ 21.663396] pgd = 0909 [ 21.663401] [20251000] *pgd=01090003 [ 21.663402] ,

[PATCHv2] perf/x86/intel: Account interrupts for PEBS errors

2016-12-15 Thread Jiri Olsa
On Wed, Dec 14, 2016 at 08:32:39PM +0100, Peter Zijlstra wrote: > On Wed, Dec 14, 2016 at 07:16:36PM +0100, Jiri Olsa wrote: > > > > > +++ b/arch/x86/events/intel/ds.c > > > > @@ -1389,9 +1389,13 @@ static void intel_pmu_drain_pebs_nhm(struct > > > > pt_regs *iregs) > > > >

RE: [RFC PATCH] usb: host: xhci: plat: add support for otg_set_host() call

2016-12-15 Thread Manish Narani
Thanks Greg. I have send another patch with changes as per your suggestions. Please review it and let me know if you have any concerns. - Manish -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Thursday, December 15, 2016 2:29 AM To: Manish Narani

Re: [PATCH] staging : osc : Remove braces from single-line body

2016-12-15 Thread Greg KH
On Thu, Dec 15, 2016 at 08:09:16PM +0530, Tabrez Khan wrote: > On Thu, Dec 15, 2016 at 7:08 AM, Greg KH wrote: > > On Thu, Dec 15, 2016 at 07:03:52AM +0530, Tabrez khan wrote: > >> Remove unnecessary braces {} for single if statement block. > >> This warning is found

Re: [PATCH 2/3] dmaeninge: xilinx_dma: Fix bug in multiple frame stores scenario in vdma

2016-12-15 Thread Jose Abreu
Hi Kedar, On 15-12-2016 15:11, Kedareswara rao Appana wrote: > When VDMA is configured for more than one frame in the h/w > for example h/w is configured for n number of frames and user > Submits n number of frames and triggered the DMA using issue_pending API. > In the current driver flow we

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Borislav Petkov
On Thu, Dec 15, 2016 at 05:12:04PM +0100, Juergen Gross wrote: > with today's kernel the system isn't coming up when booted as Xen dom0: Remind me again pls, is dom0 even supposed to load microcode? Isn't the hypervisor supposed to apply microcode? > Looking into the state of cpu 1 I find the

[patch 1/3] x86/process: Optimize TIF checks in switch_to_extra()

2016-12-15 Thread Thomas Gleixner
Help the compiler to avoid reevaluating the thread flags for each checked bit by reordering the bit checks and providing an explicit xor for evaluation. x8664: arch/x86/kernel/process.o text data bss dec hex 3726 8505 16 122472fd7 Before 3694 8505 16

Re: [Xen-devel] Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Jan Beulich
>>> On 15.12.16 at 17:46, wrote: > On Thu, Dec 15, 2016 at 05:12:04PM +0100, Juergen Gross wrote: >> with today's kernel the system isn't coming up when booted as Xen dom0: > > Remind me again pls, is dom0 even supposed to load microcode? Isn't the > hypervisor supposed to apply

[PATCH] printk: Fix typo in CONSOLE_LOGLEVEL_DEFAULT help text

2016-12-15 Thread Borislav Petkov
From: Borislav Petkov s/prink/printk/ Signed-off-by: Borislav Petkov Cc: Olof Johansson Cc: Andrew Morton --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug

Re: Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Borislav Petkov
On Thu, Dec 15, 2016 at 12:00:22PM -0500, Boris Ostrovsky wrote: > There is an error on AMD as well. We end up being called at > load_microcode_amd() with size=0 and crash soon after. Does that fix it? diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index dd47e60aabf5..e238119b5dff 100644 ---

[PATCH v5 1/9] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management

2016-12-15 Thread Stanimir Varbanov
this add functions for: - remove buffers from src/dst queue by index - remove exact buffer from src/dst queue also extends m2m API to iterate over a list of src/dst buffers in safely and non-safely manner. Signed-off-by: Stanimir Varbanov ---

Re: [PATCH] MAINTAINERS: Add printk maintainers

2016-12-15 Thread Steven Rostedt
On Thu, 15 Dec 2016 18:23:36 +0100 Peter Zijlstra wrote: > > If all printks are asynchronous, that will be unreliable information. > > No, that will be _no_ information, since the 'later' part that does the > flush will never happen. I meant what would be unreliable,

Re: [PATCH 01/37] ARM: dts: imx6dl-aristainetos2: Correct license text

2016-12-15 Thread Rask Ingemann Lambertsen
On Thu, Dec 15, 2016 at 12:57:10AM +0100, Alexandre Belloni wrote: > The license test has been mangled at some point then copy pasted across s/test/text/ -- Rask Ingemann Lambertsen

[PATCH 2/2] ASoC: rt5677: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
sound/soc/codecs/rt5677-spi.c does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- sound/soc/codecs/rt5677-spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/rt5677-spi.c

[PATCH 1/2] ASoC: rt5514-spi: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
sound/soc/codecs/rt5514-spi.c does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- sound/soc/codecs/rt5514-spi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/rt5514-spi.c

[PATCH 1/1] mailbox: sti: add MODULE_DEVICE_TABLE for module autoload

2016-12-15 Thread Loic Pallardy
Signed-off-by: Loic Pallardy --- drivers/mailbox/mailbox-sti.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/mailbox-sti.c b/drivers/mailbox/mailbox-sti.c index a334db5..41bcd33 100644 --- a/drivers/mailbox/mailbox-sti.c +++

Re: [PATCH] dmaengine: xilinx_dma: Add support for multiple buffers

2016-12-15 Thread Jose Abreu
Hi Kedar, On 15-12-2016 15:19, Appana Durga Kedareswara Rao wrote: > Hi Jose Abreu, > > Thanks for the patch... > >> Xilinx VDMA supports multiple framebuffers. This patch adds correct handling >> for >> the scenario where multiple framebuffers are available in the HW and parking >> mode

RE: [PATCH] dmaengine: xilinx_dma: Add support for multiple buffers

2016-12-15 Thread Appana Durga Kedareswara Rao
Hi Jose Abreu, Thanks for the patch... I have just posted different patch series for fixing these issues just now... Please take a look into it... Regards, Kedar. > Subject: [PATCH] dmaengine: xilinx_dma: Add support for multiple buffers > > Xilinx VDMA supports multiple

[PATCH 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-15 Thread Kedareswara rao Appana
Add channel idle state to ensure that dma descriptor is not submitted when VDMA engine is in progress. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_dma.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/dma/xilinx/xilinx_dma.c

Re: [PATCH] ASoC: wm0010: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Richard Fitzgerald
On Thu, 2016-12-15 at 16:19 +0100, Corentin Labbe wrote: > sound/soc/codecs/wm0010.c does not use any miscdevice so this patch > remove this unnecessary inclusion. > > Signed-off-by: Corentin Labbe > --- > sound/soc/codecs/wm0010.c | 1 - > 1 file changed, 1

Re: [PATCH 1/3] dmaengine: xilinx_dma: Check for channel idle state before submitting dma descriptor

2016-12-15 Thread Jose Abreu
Hi Kedar, On 15-12-2016 15:11, Kedareswara rao Appana wrote: > Add channel idle state to ensure that dma descriptor is not > submitted when VDMA engine is in progress. > > Signed-off-by: Kedareswara rao Appana > --- > drivers/dma/xilinx/xilinx_dma.c | 9 + > 1 file

Re: [PATCH V5 00/11] megaraid_sas: Updates for scsi-next

2016-12-15 Thread Tomas Henzl
On 14.12.2016 23:12, Sasikumar Chandrasekaran wrote: > Sasikumar Chandrasekaran (11): > megaraid_sas: Add new pci device Ids for SAS3.5 Generic Megaraid > Controllers > megaraid_sas: 128 MSIX Support > megaraid_sas: EEDP Escape Mode Support for SAS3.5 Generic Megaraid > Controllers >

Re: [PATCH v4 2/6] [media] rc-main: split setup and unregister functions

2016-12-15 Thread Sean Young
Hi Andi, This patch breaks all rc devices, none of them have input devices any more (see below). On Wed, Dec 14, 2016 at 11:00:26PM +0900, Andi Shyti wrote: > Move the input device allocation, map and protocol handling to > different functions. > > Signed-off-by: Andi Shyti

Re: [PATCH v4 2/6] [media] rc-main: split setup and unregister functions

2016-12-15 Thread Andi Shyti
> > + /* rc_open will be called here */ > > + rc = input_register_device(dev->input_dev); > > + if (rc) > > + goto out_table; > > + > > + dev->input_dev->dev.parent = >dev; > > + memcpy(>input_dev->id, >input_id, sizeof(dev->input_id)); > > + dev->input_dev->phys =

Re: [PATCH v2] i2c: designware: Cleaning and comment style fixes.

2016-12-15 Thread Peter Rosin
On 2016-12-15 15:38, Luis Oliveira wrote: > diff --git a/drivers/i2c/busses/i2c-designware-core.h > b/drivers/i2c/busses/i2c-designware-core.h > index 26250b425e2f..3cb81fca7738 100644 > --- a/drivers/i2c/busses/i2c-designware-core.h > +++ b/drivers/i2c/busses/i2c-designware-core.h > @@ -36,7

Re: [Xen-devel] Can't boot as Xen dom0 due to commit fe055896

2016-12-15 Thread Andrew Cooper
On 15/12/16 16:53, Jan Beulich wrote: On 15.12.16 at 17:46, wrote: >> On Thu, Dec 15, 2016 at 05:12:04PM +0100, Juergen Gross wrote: >>> with today's kernel the system isn't coming up when booted as Xen dom0: >> Remind me again pls, is dom0 even supposed to load microcode?

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-12-15 Thread Stephane Eranian
On Thu, Dec 15, 2016 at 12:42 AM, Peter Zijlstra wrote: > On Wed, Dec 14, 2016 at 11:26:49PM -0800, Stephane Eranian wrote: >> On Wed, Dec 14, 2016 at 9:55 AM, Peter Zijlstra wrote: >> > >> > Just spotted this again, ping? >> > >> Ok, on what processor

[PATCH] tpm/st33zp24: Remove unneeded linux/miscdevice.h include

2016-12-15 Thread Corentin Labbe
tpm/st33zp24/st33zp24.c does not use any miscdevice so this patch remove this unnecessary inclusion. Signed-off-by: Corentin Labbe --- drivers/char/tpm/st33zp24/st33zp24.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/char/tpm/st33zp24/st33zp24.c

Re: [PATCH] kthread:fix coding style issue

2016-12-15 Thread Greg KH
On Thu, Dec 15, 2016 at 04:22:53PM +0800, Gaosheng Wu wrote: > From: GaoShengWu > > Line 28 of kthread.c violates chapter 3 of CodingStyle - put the opening > brace last on the line, and put the closing brace first. > > Signed-off-by: GaoShengWu Please

Re: Moratorium on coding style patches (was Re: [PATCH] include/linux/kernel.h: fixed coding style issues)

2016-12-15 Thread Greg KH
On Thu, Dec 15, 2016 at 11:54:54AM +, Måns Rullgård wrote: > Joe Perches writes: > > > On Wed, 2016-12-14 at 18:13 +, Måns Rullgård wrote: > >> Alexey Dobriyan writes: > >> > I call for a tree wide moratorium on pure coding style changes. > > [] >

Re: [patch 2/3] x86/process: Optimize TIF_BLOCKSTEP switch

2016-12-15 Thread Andy Lutomirski
On Thu, Dec 15, 2016 at 8:44 AM, Thomas Gleixner wrote: > Provide and use a seperate helper for toggling the DEBUGCTLMSR_BTF bit > instead of doing it open coded with a branch and eventually evaluating > boot_cpu_data twice. > > x86_64: > 3694 8505 16 12215

Re: [PATCH 5/8] linux: drop __bitwise__ everywhere

2016-12-15 Thread Krzysztof Kozlowski
On Thu, Dec 15, 2016 at 07:15:20AM +0200, Michael S. Tsirkin wrote: > __bitwise__ used to mean "yes, please enable sparse checks > unconditionally", but now that we dropped __CHECK_ENDIAN__ > __bitwise is exactly the same. > There aren't many users, replace it by __bitwise everywhere. > >

[PATCH v5 2/9] doc: DT: venus: binding document for Qualcomm video driver

2016-12-15 Thread Stanimir Varbanov
Add binding document for Venus video encoder/decoder driver Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Signed-off-by: Stanimir Varbanov --- .../devicetree/bindings/media/qcom,venus.txt | 68

Re: [patch 1/3] x86/process: Optimize TIF checks in switch_to_extra()

2016-12-15 Thread Thomas Gleixner
On Thu, 15 Dec 2016, Peter Zijlstra wrote: > On Thu, Dec 15, 2016 at 04:44:02PM -, Thomas Gleixner wrote: > > void __switch_to_xtra(struct task_struct *prev_p, struct task_struct > > *next_p, > > struct tss_struct *tss) > > { > > struct thread_struct *prev, *next; > >

Re: [PATCH RFC] [media] s5k6aa: set usleep_range greater 0

2016-12-15 Thread Sylwester Nawrocki
On 12/15/2016 02:14 AM, Nicholas Mc Guire wrote: > if its actually unused then it might be best to completely drop the code > raher than fixing up dead-code. Is the EXYNOS the only system that had > this device in use ? If it shold stay in then setting it to the above > proposed 3000, 4000 would

Re: [PATCH/RFC v2 3/7] spi: core: Add support for registering SPI slave controllers

2016-12-15 Thread Mark Brown
On Sun, Sep 18, 2016 at 11:04:18AM +0200, Geert Uytterhoeven wrote: > This is caused by moving the setup of master->dev.class. > To fix this, I can > 1) Introduce a separate spi_alloc_slave() function, which sets up > spi_slave_class instead of spi_master class, This seems more idiomatic.

  1   2   3   4   5   6   7   8   9   10   >