Re: [PATCH 05/11] [media] s5p-mfc: Add support for HEVC decoder

2017-02-01 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > Add support for codec definition and corresponding buffer > requirements for HEVC decoder. > > Signed-off-by: Smitha T Murthy > --- > drivers/media/platform/s5p-mfc/regs-mfc-v10.h |3 +++ > drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v6.c |3

Re: [PATCH] staging: lustre: shut up clang warnings on CLASSERT()

2017-02-01 Thread Dilger, Andreas
On Feb 1, 2017, at 09:52, Arnd Bergmann wrote: > > lustre uses a fake switch() statement as a compile-time assert, but > unfortunately > each use of that causes a warning when building with clang: > > drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c:2907:2: warning: no case > matching const

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-02-01 Thread Michael Schmitz
Hi Finn, Am 01.02.2017 um 21:40 schrieb Finn Thain: > > On Fri, 27 Jan 2017, Michael Schmitz wrote: > >> Am 26.01.2017 um 21:47 schrieb Finn Thain: >> >>> This would imply CPU overhead that is half of that which mac_scsi >>> incurs. That's the best case, but I see no reason to expect worse >>

Re: [PATCH 09/33] Input: sun4i-lradc-keys - Drop unnecessary call to platform_set_drvdata and other changes

2017-02-01 Thread Chen-Yu Tsai
On Thu, Jan 19, 2017 at 1:46 AM, Guenter Roeck wrote: > There is no call to platform_get_drvdata() or dev_get_drvdata(). > Drop the unnecessary call to platform_set_drvdata(). > Other relevant changes: > Simplify error return > > This conversion was done automatically with coccinelle using the >

Re: [PATCH v3 1/1] x86, relocs: add printf attribute to die()

2017-02-01 Thread hpa
On February 1, 2017 11:16:00 PM PST, Ingo Molnar wrote: > >* Nicolas Iooss wrote: > >> With %Ld, my compiler (gcc 6.3.1 on x86_64) complains: >> >> arch/x86/tools/relocs.c:400:7: error: format ‘%Ld’ expects argument >of >> type ‘long long int’, but argument 2 has type ‘Elf64_Off {aka long >> uns

Re: [PATCH 12/33] Input: axp20x-pek - Use devm_add_action_or_reset and other changes

2017-02-01 Thread Chen-Yu Tsai
On Thu, Jan 19, 2017 at 1:46 AM, Guenter Roeck wrote: > Replace devm_add_action() followed by failure action with > devm_add_action_or_reset() > > This conversion was done automatically with coccinelle using the > following semantic patches. The semantic patches and the scripts > used to generate

Re: crash in perf_event_read

2017-02-01 Thread David Carrillo-Cisneros
On Tue, Jan 31, 2017 at 2:27 AM, Peter Zijlstra wrote: > On Mon, Jan 30, 2017 at 11:04:08PM -0800, Alexei Starovoitov wrote: >> Hi Peter, >> >> rarely I'm seeing the following crash: >> [40196.164255] BUG: unable to handle kernel paging request at >> a11a >> [40196.179636] IP: perf_ev

Re: [PATCH v2 00/10] serial: st-asc: Allow handling of RTS line

2017-02-01 Thread Lee Jones
Hi Greg, Jiri, > When hardware flow-control is disabled, manual toggling of the UART's > reset line (RTS) using userland applications (e.g. stty) is not > possible, since the ASC IP does not provide this functionality in the > same was as some other IPs do. Thus, we have to do this manually. > >

Re: [PATCH 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-01 Thread Chen-Yu Tsai
Hi, On Fri, Jan 27, 2017 at 5:27 AM, Rask Ingemann Lambertsen wrote: > The Suncip CX-A99 board is found in at least four brands of media players. > It features an Allwinner A80 ARM SoC and is found in two models: > > 1) 2 GiB DDR3 DRAM and 16 GB eMMC > 2) 4 GiB DDR3 DRAM and 32 GB eMMC > > For de

Re: [PATCH v5 1/4] mm/migration: make isolate_movable_page() return int type

2017-02-01 Thread Minchan Kim
On Wed, Feb 01, 2017 at 11:00:23AM +0100, Michal Hocko wrote: > On Wed 01-02-17 18:46:36, Minchan Kim wrote: > > On Wed, Feb 01, 2017 at 08:59:24AM +0100, Michal Hocko wrote: > > > On Wed 01-02-17 15:48:21, Minchan Kim wrote: > > > > Hi Yisheng, > > > > > > > > On Tue, Jan 31, 2017 at 09:06:18PM +

Re: [PATCH 4/5] regulator: axp20x: Add support for the AXP808 PMIC

2017-02-01 Thread Chen-Yu Tsai
On Fri, Jan 27, 2017 at 7:42 PM, Mark Brown wrote: > On Thu, Jan 26, 2017 at 10:18:11PM +0100, Rask Ingemann Lambertsen wrote: >> The regulators are the same as on the AXP806. > > Acked-by: Mark Brown Acked-by: Chen-Yu Tsai This probably needs to go in with the mfd patches adding the ID.

Re: [PATCH 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-01 Thread Chen-Yu Tsai
On Fri, Jan 27, 2017 at 5:25 AM, Rask Ingemann Lambertsen wrote: > The X-Powers AXP808 is a PMIC which, like the very similar AXP806, is > used on boards featuring Allwinner's A80 SoC. Unlike the AXP806, it > doesn't support address space extension and its associated registers, > but the two are o

linux-next: Tree for Feb 2

2017-02-01 Thread Stephen Rothwell
Hi all, Changes since 20170201: Dropped tree: vfs-miklos (build failure and out of date) The vfs-miklos tree still had its build failure, so I just dropped it again for today. The v4l-dvb tree still had its build failure so I used the version from next-20170130. The net-next tree gained a

Re: [PATCH 2/5] DT: mfd: axp20x: Add binding for the AXP808

2017-02-01 Thread Chen-Yu Tsai
On Wed, Feb 1, 2017 at 9:27 PM, Rob Herring wrote: > On Thu, Jan 26, 2017 at 10:16:13PM +0100, Rask Ingemann Lambertsen wrote: >> The AXP808 does not support address space extension, but is otherwise >> identical to the AXP806, including the chip ID, so add a compatible >> string for it to the bin

Re: [PATCH 03/11] [media] s5p-mfc: Use min scratch buffer size

2017-02-01 Thread Andrzej Hajda
On 18.01.2017 11:02, Smitha T Murthy wrote: > After MFC v8.0, mfc f/w lets the driver know how much scratch buffer > size is required for decoder. If mfc f/w has the functionality, > E_MIN_SCRATCH_BUFFER_SIZE, driver can know how much scratch buffer size > is required for encoder too. Subject says

Re: [PATCH v3 1/1] x86, relocs: add printf attribute to die()

2017-02-01 Thread Ingo Molnar
* Nicolas Iooss wrote: > With %Ld, my compiler (gcc 6.3.1 on x86_64) complains: > > arch/x86/tools/relocs.c:400:7: error: format ‘%Ld’ expects argument of > type ‘long long int’, but argument 2 has type ‘Elf64_Off {aka long > unsigned int}’ [-Werror=format=] How did it pick up that type as an

[tip:x86/mm] x86/mpx: Re-add MPX to selftests Makefile

2017-02-01 Thread tip-bot for Dave Hansen
Commit-ID: e64d5fbe56259c94df504af8ce804cfc6a022adb Gitweb: http://git.kernel.org/tip/e64d5fbe56259c94df504af8ce804cfc6a022adb Author: Dave Hansen AuthorDate: Wed, 1 Feb 2017 14:56:29 -0800 Committer: Ingo Molnar CommitDate: Thu, 2 Feb 2017 08:09:18 +0100 x86/mpx: Re-add MPX to selftes

Re: [PATCH v2] ARM: dts: i.MX25: add AIPS control registers

2017-02-01 Thread Sascha Hauer
Hi Martin, On Wed, Feb 01, 2017 at 11:16:18PM +0100, Martin Kaiser wrote: > The i.MX25 contains two AHB to IP bridges (AIPS), each of which has a set of > control registers. Add the memory regions for the control registers to > the Device Tree. > > Signed-off-by: Martin Kaiser > --- > v2: >r

Re: [PATCH] x86, mpx: re-add MPX to selftests Makefile

2017-02-01 Thread Ingo Molnar
* Dave Hansen wrote: > > From: Dave Hansen > > Ingo pointed out that the MPX tests were no longer in the selftests > Makefile. It appears that I shot myself in the foot on this one > and accidentally removed them when I added the pkeys tests, probably > from bungling a merge conflict. Note,

Re: [PATCH] pinctrl: samsung: mark PM functions as __maybe_unused

2017-02-01 Thread Marek Szyprowski
Hi Arnd, On 2017-02-01 17:16, Arnd Bergmann wrote: The rework of the suspend/resume handling uses the wrong #ifdef check, leading to a build warning without CONFIG_PM_SLEEP: drivers/pinctrl/samsung/pinctrl-samsung.c:1142:12: error: 'samsung_pinctrl_resume' defined but not used [-Werror=unused-

linux-next: build warning after merge of the akpm-current tree

2017-02-01 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig and x86_64 allmodconfig) produced this warning: fs/ext4/file.c:279:1: warning: 'ext4_dax_huge_fault' defined but not used [-Wunused-function] ext4_dax_huge_fault(struct vm_fault *vmf) ^ Introduce

Re: [PATCH v2 3/4] phy: Add USB3 PHY support for Broadcom NSP SoC

2017-02-01 Thread Rafał Miłecki
[Resending with fixed/complete Cc-s] On Tue, 17 Jan 2017 11:14:29 -0500, Yendapally Reddy Dhananjaya Reddy wrote:> This patch adds support for Broadcom NSP USB3 PHY > > Signed-off-by: Yendapally Reddy Dhananjaya Reddy Seriously?! I really dislike what you did there. NACK. You are aware th

[PATCH 3/4] tools lib feature: Do not redefine compiler configuration

2017-02-01 Thread David Carrillo-Cisneros
Feature detection redefines CC, CCX and PKG_CONFIG, making the output of feature detection inconsistent with the actual features available during compilation when the above variables are used. Fix it by using conditional assignment. Signed-off-by: David Carrillo-Cisneros --- tools/build/feature

[PATCH 1/4] perf tools: pass PYTHON config to feature detection

2017-02-01 Thread David Carrillo-Cisneros
Python's CC and link Makefile variables were not passed to feature detection, causing feature detection to use system's Python rather than PYTHON_CONFIG's one. This created a mismatch between the detected Python support and the one actually used by perf when PYTHON_CONFIG is specified. Fix it by m

[PATCH 4/4] tools include: Fix include path for uapi/asm-generic/mman.h

2017-02-01 Thread David Carrillo-Cisneros
commit f3539c12d819 ("tools include: Add uapi mman.h for each architecture") copied include/uapi/linux/mman.h into tools/include/uapi/linux/mman.h but did not update the include path for uapi/asm-generic/mman.h. Fix it. Signed-off-by: David Carrillo-Cisneros --- tools/include/uapi/linux/mman.h

[PATCH 0/4] Fixes for perf build and feature detection

2017-02-01 Thread David Carrillo-Cisneros
Fixes for minor problems with Makefiles and libs that I found while building perf. David Carrillo-Cisneros (4): perf tools: pass PYTHON config to feature detection tools lib traceevent: Robustify do_generate_dynamic_list_file tools lib feature: Do not redefine compiler configuration tools

[PATCH 2/4] tools lib traceevent: Robustify do_generate_dynamic_list_file

2017-02-01 Thread David Carrillo-Cisneros
The dynamic-list-file used to export dynamic symbols introduced in commit e3d09ec8126f ("tools lib traceevent: Export dynamic symbols used by traceevent plugins") is generated without any sort of error checking. I experienced problems due to an old version of nm (v 0.158) that outputs in a forma

Re: [PATCH] drm/amdgpu: shut up #warning for compile testing

2017-02-01 Thread Michel Dänzer
On 02/02/17 12:59 AM, Arnd Bergmann wrote: > My randconfig tests on linux-next showed a newly introduced warning: > > drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function > 'amdgpu_bo_create_restricted': > drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:377:2: error: #warning Please > enable CONFI

Re: [PATCH v2] staging: rtl8188eu: remove not necessary braces {} (checkpatch fix)

2017-02-01 Thread Martin Karamihov
On 02/01/2017 08:11 PM, Joe Perches wrote: ...and clarifying the code for a human reader is much more important than making a file not have any checkpatch warnings. I agree. I respect the developers' own coding style and believe that some things (>80 characters long lines, name conventions, et

Re: [PATCHv7 4/8] printk: always use deferred printk when flush printk_safe lines

2017-02-01 Thread Sergey Senozhatsky
On (02/01/17 11:06), Steven Rostedt wrote: [..] > > static void printk_safe_flush_line(const char *text, int len) > > { > > /* > > -* The buffers are flushed in NMI only on panic. The messages must > > -* go only into the ring buffer at this stage. Consoles will get > > -* expli

Re: [PATCH 3/6] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-01 Thread Dan Williams
On Wed, Feb 1, 2017 at 8:47 PM, Anup Patel wrote: > The DMAENGINE framework assumes that if PQ offload is supported by a > DMA device then all 256 PQ coefficients are supported. This assumption > does not hold anymore because we now have BCM-SBA-RAID offload engine > which supports PQ offload with

Re: [PATCH v9 6/8] drivers:input:ads7846(+tsc2046): fix spi module table

2017-02-01 Thread H. Nikolaus Schaller
Hi, > Am 01.02.2017 um 23:28 schrieb Dmitry Torokhov : > > On Wed, Feb 01, 2017 at 06:14:39PM -0300, Javier Martinez Canillas wrote: >> Hello Nikolaus, >> >> On 02/01/2017 05:20 PM, H. Nikolaus Schaller wrote: >>> Hi Dmitry, Javier, >>> Am 29.01.2017 um 19:25 schrieb H. Nikolaus Schaller :

Re: [PATCH] gpio: aspeed: Remove dependence on GPIOF_* macros

2017-02-01 Thread Joel Stanley
On Thu, Feb 2, 2017 at 2:58 PM, Andrew Jeffery wrote: > 1736f75d35e47409ad776273133d0f558a4c8253 is a (v2) patch which had > unresolved review comments[1]. Address the comments by removing the use > of macros from the consumer header (this patch represents the diff > between v2 and v3[2]). > > [1]

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-02-01 Thread Jens Axboe
On 02/01/2017 04:56 AM, Paolo Valente wrote: >> +/* >> + * add rq to rbtree and fifo >> + */ >> +static void dd_insert_request(struct blk_mq_hw_ctx *hctx, struct request >> *rq, >> + bool at_head) >> +{ >> +struct request_queue *q = hctx->queue; >> +struct deadline

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-02-01 Thread Jens Axboe
On 02/01/2017 04:11 AM, Paolo Valente wrote: >> +static bool dd_bio_merge(struct blk_mq_hw_ctx *hctx, struct bio *bio) >> +{ >> +struct request_queue *q = hctx->queue; >> +struct deadline_data *dd = q->elevator->elevator_data; >> +int ret; >> + >> +spin_lock(&dd->lock); >> +ret

Re: [RFC 0/6]mm: add new LRU list for MADV_FREE pages

2017-02-01 Thread Minchan Kim
Hi Johannes, On Tue, Jan 31, 2017 at 04:38:10PM -0500, Johannes Weiner wrote: > On Tue, Jan 31, 2017 at 11:45:47AM -0800, Shaohua Li wrote: > > On Tue, Jan 31, 2017 at 01:59:49PM -0500, Johannes Weiner wrote: > > > Hi Shaohua, > > > > > > On Sun, Jan 29, 2017 at 09:51:17PM -0800, Shaohua Li wrote

Re: [PATCH v5 1/3] dt: bindings: add documentation for zx2967 family thermal sensor

2017-02-01 Thread Eduardo Valentin
Hey Bao, On Wed, Jan 18, 2017 at 12:42:00PM +0800, Baoyou Xie wrote: > This patch adds dt-binding documentation for zx2967 family thermal sensor. > > Signed-off-by: Baoyou Xie > Acked-by: Rob Herring > Reviewed-by: Shawn Guo > --- > .../devicetree/bindings/thermal/zx2967-thermal.txt | 109 >

Re: [PATCH] prctl: implement PR_GET_ENDIAN for all architectures

2017-02-01 Thread Andy Lutomirski
On Wed, Feb 1, 2017 at 3:12 PM, James Bottomley wrote: > On Tue, 2017-01-31 at 16:26 -0800, Andrew Morton wrote: >> On Sat, 28 Jan 2017 12:13:10 +0100 Helge Deller >> wrote: >> >> > The prctl(PR_GET_ENDIAN) syscall was added to Kernel 2.6.18, but >> > implemented for PowerPC only. This trivial pa

Re: [PATCH v5 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-02-01 Thread Eduardo Valentin
Hey Bao, On Wed, Jan 18, 2017 at 12:42:02PM +0800, Baoyou Xie wrote: > This patch adds thermal driver for ZTE's zx2967 family. > > Signed-off-by: Baoyou Xie > + > + /* > + * Calculate temperature > + * 922initial value of calibration cure > + * 1.951 slope

Re: [PATCH] printk: fix printk.devkmsg sysctl

2017-02-01 Thread Sergey Senozhatsky
Hello, sorry, catching up with the emails. there seems to be two independent patches. I'll just comment in one thread. On (01/31/17 14:55), Petr Mladek wrote: [..] > From 0ce6125caf314270cb48202390d8a0938fdf316e Mon Sep 17 00:00:00 2001 > From: Petr Mladek > Date: Tue, 31 Jan 2017 12:00:13 +0

[PATCH 6/6] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver

2017-02-01 Thread Anup Patel
This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/dma/brcm,iproc-sba.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644

[PATCH 4/6] async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()

2017-02-01 Thread Anup Patel
The DMA_PREP_FENCE is to be used when preparing Tx descriptor if output of Tx descriptor is to be used by next/dependent Tx descriptor. The DMA_PREP_FENSE will not be set correctly in do_async_gen_syndrome() when calling dma->device_prep_dma_pq() under following conditions: 1. ASYNC_TX_FENCE not s

[PATCH 5/6] dmaengine: Add Broadcom SBA RAID driver

2017-02-01 Thread Anup Patel
The Broadcom stream buffer accelerator (SBA) provides offloading capabilities for RAID operations. This SBA offload engine is accessible via Broadcom SoC specific ring manager. This patch adds Broadcom SBA RAID driver which provides one DMA device with RAID capabilities using one or more Broadcom

[PATCH 0/6] Broadcom SBA RAID support

2017-02-01 Thread Anup Patel
The Broadcom SBA RAID is a stream-based device which provides RAID5/6 offload. It requires a SoC specific ring manager (such as Broadcom FlexRM ring manager) to provide ring-based programming interface. Due to this, the Broadcom SBA RAID driver (mailbox client) implements DMA device having one DMA

[PATCH 3/6] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-01 Thread Anup Patel
The DMAENGINE framework assumes that if PQ offload is supported by a DMA device then all 256 PQ coefficients are supported. This assumption does not hold anymore because we now have BCM-SBA-RAID offload engine which supports PQ offload with limited number of PQ coefficients. This patch extends asy

[PATCH 2/6] lib/raid6: Add log-of-2 table for RAID6 HW requiring disk position

2017-02-01 Thread Anup Patel
The raid6_gfexp table represents {2}^n values for 0 <= n < 256. The Linux async_tx framework pass values from raid6_gfexp as coefficients for each source to prep_dma_pq() callback of DMA channel with PQ capability. This creates problem for RAID6 offload engines (such as Broadcom SBA) which take dis

[PATCH 1/6] mailbox: Add new API mbox_channel_device() for clients

2017-02-01 Thread Anup Patel
The remote processor can have DMAENGINE capabilities and client can pass data to be processed via main memory. In such cases, the client will require DMAble memory for remote processor. This patch adds new API mbox_channel_device() which can be used by clients to get struct device pointer of under

Re: ibmvtpm byteswapping inconsistency

2017-02-01 Thread Vicky
> On Jan 26, 2017, at 5:58 PM, Ashley Lai wrote: > > Adding Vicky from IBM. > > > On 01/26/2017 04:05 PM, Jason Gunthorpe wrote: >> On Thu, Jan 26, 2017 at 09:22:48PM +0100, Michal Such??nek wrote: >> >>> This is repeated a few times in the driver so I added memset to quiet >>> gcc and make b

[GIT PULL] Thermal-SoC management updates for v4.10-rc7

2017-02-01 Thread Eduardo Valentin
Hello Rui, Please consider the following four small fixes on TI and MTK thermal drivers. BR, Eduardo The following changes since commit a4685d2f58e2230d4e27fb2ee581d7ea35e5d046: Merge branch 'stable' of git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile (2017-01-23 13:51:59 -

[PATCH] gpio: aspeed: Remove dependence on GPIOF_* macros

2017-02-01 Thread Andrew Jeffery
1736f75d35e47409ad776273133d0f558a4c8253 is a (v2) patch which had unresolved review comments[1]. Address the comments by removing the use of macros from the consumer header (this patch represents the diff between v2 and v3[2]). [1] https://lkml.org/lkml/2017/1/26/337 [2] https://lkml.org/lkml/201

Re: [RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing values of multiple controls in one go (at once)

2017-02-01 Thread Takashi Sakamoto
Hi, On Feb 2 2017 12:14, Satendra Singh Thakur wrote: From: satendra singh thakur -Added 2 ioctls in alsa driver's control interface -Added an ioctl to read values of multiple elements at once -Added an ioctl to write values of multiple elements at once -In the absence of above ioctls user nee

Re: [PATCH] printk: use console_trylock() in console_cpu_notify()

2017-02-01 Thread Sergey Senozhatsky
Hello, thanks for taking a look, Petr. On (01/25/17 16:02), Petr Mladek wrote: [..] > > Signed-off-by: Sergey Senozhatsky > > --- > > kernel/printk/printk.c | 11 ++- > > 1 file changed, 6 insertions(+), 5 deletions(-) > > > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.

Re: [PATCH 2/4] mm: Fix checkpatch warnings, whitespace

2017-02-01 Thread Tobin Harding
On Wed, Feb 01, 2017 at 04:48:28PM -0800, David Rientjes wrote: > On Thu, 2 Feb 2017, Tobin C. Harding wrote: > > > @@ -3696,8 +3695,8 @@ int handle_mm_fault(struct vm_area_struct *vma, > > unsigned long address, > > * VM_FAULT_OOM), there is no need to kill anything. > >

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: properly retrieve P-state upon suspend

2017-02-01 Thread Viresh Kumar
On 02-02-17, 00:44, Rafael J. Wysocki wrote: > On Tuesday, January 31, 2017 10:53:01 AM Markus Mayer wrote: > > On 5 January 2017 at 20:11, Viresh Kumar wrote: > > > On 19-12-16, 12:10, Markus Mayer wrote: > > >> From: Markus Mayer > > >> > > >> The AVS GET_PMAP command does return a P-state alon

[RFC] [ALSA][CONTROL] Restructured the code for read/write of a single control

2017-02-01 Thread Satendra Singh Thakur
From: satendra singh thakur -Restructured/Combined two functions snd_ctl_elem_read_user and snd_ctl_elem_write_user into a single function snd_ctl_elem_rw_user -These functions were having most of the code which was similar to each other -Thus, there was redundant/duplicate code which was remov

Re: [PATCH v2 1/2] Documentation: mtk-quadspi: update DT bindings

2017-02-01 Thread Guochun Mao
On Mon, 2017-01-30 at 13:49 +0100, Cyrille Pitchen wrote: > Le 27/01/2017 à 23:29, Rob Herring a écrit : > > On Wed, Jan 25, 2017 at 11:38:34AM +0800, Guochun Mao wrote: > >> Add "mediatek,mt2701-nor" for nor flash node's compatible. > >> > >> Signed-off-by: Guochun Mao > >> --- > >> .../devicetr

Re: [PATCH V8 09/10] trace, ras: add ARM processor error trace event

2017-02-01 Thread Steven Rostedt
On Wed, 1 Feb 2017 10:16:52 -0700 Tyler Baicar wrote: > Currently there are trace events for the various RAS > errors with the exception of ARM processor type errors. > Add a new trace event for such errors so that the user > will know when they occur. These trace events are > consistent with th

[RFC] [ALSA][CONTROL] Added 2 ioctls for reading/writing values of multiple controls in one go (at once)

2017-02-01 Thread Satendra Singh Thakur
From: satendra singh thakur -Added 2 ioctls in alsa driver's control interface -Added an ioctl to read values of multiple elements at once -Added an ioctl to write values of multiple elements at once -In the absence of above ioctls user needs to call N ioctls to read/write value of N elements wh

Re: [PATCH] kprobes: move kprobe declarations to asm-generic/kprobes.h

2017-02-01 Thread Steven Rostedt
On Wed, 1 Feb 2017 22:46:04 +0100 "Luis R. Rodriguez" wrote: > On Thu, Jan 19, 2017 at 03:47:35PM +0900, Masami Hiramatsu wrote: > > OK, then it is OK to me. > > > > Acked-by: Masami Hiramatsu > > Aha, actually I *did* send this out separately already :) -- > who's tree should this go throug

[PATCH] drm: change connector disconnected debug message to an error

2017-02-01 Thread Shuah Khan
Change drm_helper_probe_single_connector_modes() to print an error to report connector disconnected status instead of a debug message. When this condition occurs, application doesn't know the real error and reports it as driver lacking support for mode setting. Change it to an error to make it eas

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

2017-02-01 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/block/nbd.c between commit: c9f2b6aeb922 ("[nbd] pass iov_iter to nbd_xmit()") from the vfs tree and commit: 09fc54ccc427 ("nbd: move request validity checking into nbd_send_cmd") aebf526b53ae ("block: fold

Re: [PATCH 1/2] perf diff: Fix segfault on perf diff -o N option

2017-02-01 Thread Namhyung Kim
Hi Arnaldo, Could you please consider merging it to the perf/urgent? Thanks, Namhyung On Wed, Jan 18, 2017 at 02:14:56PM +0900, Namhyung Kim wrote: > The -o/--order option is to select column number to sort a diff result. > It does the job by adding a hpp field at the beginning of the sort list

Re: [PATCH v3 3/3] reset: zx2967: add reset controller driver for ZTE's zx2967 family

2017-02-01 Thread Paul Gortmaker
On Mon, Jan 16, 2017 at 10:22 PM, Baoyou Xie wrote: > This patch adds reset controller driver for ZTE's zx2967 family. > > Signed-off-by: Baoyou Xie > --- > drivers/reset/Kconfig| 6 +++ > drivers/reset/Makefile | 1 + > drivers/reset/reset-zx2967.c | 106 > +++

Re: [PATCH V8 09/10] trace, ras: add ARM processor error trace event

2017-02-01 Thread kbuild test robot
Hi Tyler, [auto build test ERROR on pm/linux-next] [also build test ERROR on v4.10-rc6 next-20170201] [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/Tyler-Baicar/Add-UEFI-2-6-and-ACPI-6-1

Re: [PATCH] [media] exynos-gsc: Avoid spamming the log on VIDIOC_TRY_FMT

2017-02-01 Thread Shuah Khan
On 01/24/2017 02:42 PM, Javier Martinez Canillas wrote: > There isn't an ioctl to enum the supported field orders, so a user-space > application can call VIDIOC_TRY_FMT using different field orders to know > if one is supported. For example, GStreamer does this so during playback > dozens of the fo

Re: [PATCH v2 1/3] locking/spinlock_debug: Reduce lockup suspected message clutter

2017-02-01 Thread kbuild test robot
Hi Waiman, [auto build test ERROR on tip/locking/core] [also build test ERROR on v4.10-rc6 next-20170201] [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/Waiman-Long/locking-spinlock_debug

Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

2017-02-01 Thread Sergey Senozhatsky
On (02/01/17 12:04), Steven Rostedt wrote: > > [..] > > > > Signed-off-by: Sergey Senozhatsky > > Reviewed-by: Petr Mladek > > --- > > Reviewed-by: Steven Rostedt (VMware) here and in other patches: thanks for taking a look, Steven. -ss

Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

2017-02-01 Thread Sergey Senozhatsky
On (02/01/17 16:39), Petr Mladek wrote: [..] > I guess that you are talking about the introduction of > #define SCHED_WARN_ON(x) WARN_ONCE(x, #x) my guess would be that Jan was talking about printk_deferred() patch. it's on my TODO list. I want to entirely remove console_sem and scheduler ou

Re: [PATCHv7 5/8] printk: report lost messages in printk safe/nmi contexts

2017-02-01 Thread Sergey Senozhatsky
On (02/01/17 11:37), Steven Rostedt wrote: > This looks fine, but I'm curious if you tested it. That is, added a > bunch of printks to overflow the buffer. IIRC, I did it to the original > nmi code. If you haven't you may want to just to make sure it works. I > can also test it too if I get some ti

Re: [PATCHv7 6/8] printk: use printk_safe buffers in printk

2017-02-01 Thread Sergey Senozhatsky
Hello Ross, I was offline for a week for personal reasons. On (01/31/17 10:27), Ross Zwisler wrote: [..] > [ 13.090634] == > [ 13.090634] [ INFO: possible circular locking dependency detected ] > [ 13.090635] 4.10.0-rc5-mm1-00313-g5c0c3d7-

Re: [PATCH] jbd2: Fix use after free in kjournald2()

2017-02-01 Thread Theodore Ts'o
On Wed, Feb 01, 2017 at 11:01:51PM +0530, Sahitya Tummala wrote: > Below is the synchronization issue between unmount and kjournald2 > contexts, which results into use after free issue in kjournald2(). > Fix this issue by using journal->j_state_lock to synchronize the > wait_event() done in journal

Re: [PATCH] net: phy: dp83867: Port mirroring support in the DP83867 TI's PHY driver

2017-02-01 Thread Andrew Lunn
On Wed, Feb 01, 2017 at 11:13:23PM +0100, Lukasz Majewski wrote: > Hi Andrew, > > > > We would need a tri-state device tree properly: > > > > > > 1. Not defined - do nothing > > > 2. Defined as 0 -> explicitly disable port mirroring > > > 3. Defined as 1 -> explicitly enable port mirriring > > >

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

2017-02-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/sched/cls_matchall.c between commit: fd62d9f5c575 ("net/sched: matchall: Fix configuration race") from Linus' tree and commit: ec2507d2a306 ("net/sched: cls_matchall: Fix error path") from the net-next tree.

Re: [PATCH V7 3/4] drm/bridge: Add driver for GE B850v3 LVDS/DP++ Bridge

2017-02-01 Thread Emil Velikov
On 1 February 2017 at 11:35, Daniel Vetter wrote: > On Wed, Feb 01, 2017 at 10:58:43AM +, Peter Senna Tschudin wrote: >> Hi Archit, >> >> On 01 February, 2017 10:44 CET, Archit Taneja wrote: >> >> > >> > >> > On 01/30/2017 10:35 PM, Jani Nikula wrote: >> > > On Sat, 28 Jan 2017, Peter Senna T

Re: [PATCH v3 1/1] x86, relocs: add printf attribute to die()

2017-02-01 Thread hpa
On January 31, 2017 10:52:11 AM PST, Nicolas Iooss wrote: >Hello, > >As I have not received any comment on the patch I sent in December, I >am >wondering whether I did anything wrong with it. How can I get it queued >for the next merge window? > >Thanks, >Nicolas > >On 18/12/16 20:47, Nicolas Ioo

[tip:efi/urgent] efi/fdt: Avoid FDT manipulation after ExitBootServices()

2017-02-01 Thread tip-bot for Ard Biesheuvel
Commit-ID: c8f325a59cfc718d13a50fbc746ed9b415c25e92 Gitweb: http://git.kernel.org/tip/c8f325a59cfc718d13a50fbc746ed9b415c25e92 Author: Ard Biesheuvel AuthorDate: Wed, 1 Feb 2017 17:45:02 + Committer: Ingo Molnar CommitDate: Wed, 1 Feb 2017 21:17:49 +0100 efi/fdt: Avoid FDT manipula

RE: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-01 Thread Yu, Fenghua
> From: Andi Kleen [mailto:a...@firstfloor.org] > "Luck, Tony" writes: > > 9) Measure per logical CPU (pick active RMID in same precedence for > task/cpu as CAT picks CLOSID) > > 10) Put multiple CPUs into a group > > I'm not sure this is a real requirement. It's just an optimization, right? If

[PATCH] [linux-next]mm:page_alloc: Remove duplicate page_ext.h

2017-02-01 Thread Masanari Iida
This patch removes duplicate page_ext.h from page_alloc.c Signed-off-by: Masanari Iida --- mm/page_alloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 11b4cd48a355..4da0b5febf0d 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -59,7 +59,6 @@ #

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-01 Thread Andi Kleen
> > I'm not sure this is a real requirement. It's just an optimization, > > right? If you can assign policies to threads, you can implicitly set it > > per CPU through affinity (or the other way around). > > That's difficult when distinct users/systems do monitoring and system > management. What

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-01 Thread David Carrillo-Cisneros
On Wed, Feb 1, 2017 at 4:35 PM, Andi Kleen wrote: > "Luck, Tony" writes: >> 9)Measure per logical CPU (pick active RMID in same precedence for >> task/cpu as CAT picks CLOSID) >> 10) Put multiple CPUs into a group > > I'm not sure this is a real requirement. It's just an optimization, > ri

[PATCH 3/3] MIPS: BMIPS: enable CPUfreq

2017-02-01 Thread Markus Mayer
From: Markus Mayer Enable all applicable CPUfreq options. Signed-off-by: Markus Mayer --- arch/mips/configs/bmips_stb_defconfig | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/mips/configs/bmips_stb_defconfig b/arch/mips/configs/bmips_stb_defconfig index 4eb5d6e..6fda604

[PATCH 2/3] cpufreq: bmips-cpufreq: CPUfreq driver for Broadcom's BMIPS SoCs

2017-02-01 Thread Markus Mayer
From: Markus Mayer Add the MIPS CPUfreq driver. This driver currently supports CPUfreq on BMIPS5xxx-based SoCs. Signed-off-by: Markus Mayer --- drivers/cpufreq/Kconfig | 10 ++ drivers/cpufreq/Makefile| 1 + drivers/cpufreq/bmips-cpufreq.c | 205 +

[PATCH 1/3] BMIPS: Enable prerequisites for CPUfreq in MIPS Kconfig.

2017-02-01 Thread Markus Mayer
From: Markus Mayer Turn on CPU_SUPPORTS_CPUFREQ and MIPS_EXTERNAL_TIMER for BMIPS. Signed-off-by: Markus Mayer --- arch/mips/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index b3c5bde..e137eed 100644 --- a/arch/mips/Kconfig +++ b/arch/mips

[PATCH 0/3] cpufreq: bmips-cpufreq: CPUfreq driver for Broadcom's BMIPS SoCs

2017-02-01 Thread Markus Mayer
From: Markus Mayer This series adds a CPUfreq driver for the BMIPS SoCs. In the first iteration only BMIPS5xxx SoCs are supported. This series is based on 4.10-rc1. Markus Mayer (3): BMIPS: Enable prerequisites for CPUfreq in MIPS Kconfig. cpufreq: bmips-cpufreq: CPUfreq driver for Broadcom

[PATCH] clocksource: arc_timer: RTC: allow registration despite SMP

2017-02-01 Thread Vineet Gupta
So far we didn't allow CPU private 64-bit RTC timer to register in SMP as the individual counters may not be synchronized across cores. However there is a situation when we build SMP kernel but want to use the same image on UP as well as SMP hardware. Here we would certainly want to use RTC, but c

Re: [PATCH 2/4] mm: Fix checkpatch warnings, whitespace

2017-02-01 Thread David Rientjes
On Thu, 2 Feb 2017, Tobin C. Harding wrote: > @@ -3696,8 +3695,8 @@ int handle_mm_fault(struct vm_area_struct *vma, > unsigned long address, > * VM_FAULT_OOM), there is no need to kill anything. > * Just clean up the OOM state peacefully. > */

[PATCH 0/3 v2] PM / docs: linux/pm.h kerneldocs update and conversion of two docs to reST

2017-02-01 Thread Rafael J. Wysocki
Hi Jon, This is a new (and hopefully final) iteration of the series of patches starting the conversion of power management driver API documentation. Patch [1/3] updates kerneldoc comments in include/linux/pm.h (to make the documentation generated out of them look better), patch [2/3] converts Doc

[PATCH 2/3 v2] PM / core / docs: Convert sleep states API document to reST

2017-02-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move the document describing the system sleep state transitions API for devices to Documentation/driver-api/pm/, convert it to reST and update it to use current terminology. Also remove the remaining reference to the old version of it from pm.h. The new document still co

[PATCH 3/3 v2] PM / sleep / docs: Convert PM notifiers document to reST

2017-02-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Move the document describing PM notifiers (used during system sleep state transitions) to Documentation/driver-api/pm/, convert it to reST and update it to use current terminology. Also replace the remaining references to the old version of it in .txt documents with refer

[PATCH 1/3 v2] PM / core: Update kerneldoc comments in pm.h

2017-02-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Refresh the struct dev_pm_ops kerneldoc comment, so that it looks better and is more readable after processing by Sphinx, and drop the kerneldoc marker from a few other comments ("PM_EVENT_ messages" and a couple of enum types declarations) which are not proper kerneldoc a

Re: [PATCH] initity: try to improve __nocapture annotations

2017-02-01 Thread Kees Cook
On Wed, Feb 1, 2017 at 8:11 AM, Arnd Bergmann wrote: > There are some additional declarations that got missed in the original patch, > and some annotated functions that use the pointer is a correct but nonobvious > way: > > mm/kasan/kasan.c: In function 'memmove': > mm/kasan/kasan.c:346:7: error:

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-02-01 Thread Andi Kleen
"Luck, Tony" writes: > 9)Measure per logical CPU (pick active RMID in same precedence for > task/cpu as CAT picks CLOSID) > 10) Put multiple CPUs into a group I'm not sure this is a real requirement. It's just an optimization, right? If you can assign policies to threads, you can implicitl

Re: [PATCH] initity: try to improve __nocapture annotations

2017-02-01 Thread Kees Cook
On Wed, Feb 1, 2017 at 3:38 PM, Rafael J. Wysocki wrote: > On Wed, Feb 1, 2017 at 11:44 PM, Kees Cook wrote: >> On Wed, Feb 1, 2017 at 1:05 PM, Rafael J. Wysocki wrote: >>> On Wed, Feb 1, 2017 at 5:11 PM, Arnd Bergmann wrote: diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica

Re: [PATCH 1/2] net: ethernet: bgmac: init sequence bug

2017-02-01 Thread Zac Schroff
How about BCMA_IOCTL_PRESERVE_ACROSS_INIT? On Wed, Feb 1, 2017 at 6:06 PM, Rafał Miłecki wrote: > On 02/01/2017 11:39 PM, Jon Mason wrote: >> >> From: Zac Schroff >> >> Fix a bug in the 'bgmac' driver init sequence that blind writes for init >> sequence where it should preserve most bits other t

Re: [PATCH 2/2] net: ethernet: bgmac: mac address change bug

2017-02-01 Thread Rafał Miłecki
On 02/01/2017 11:39 PM, Jon Mason wrote: From: Hari Vyas ndo_set_mac_address() passes struct sockaddr * as 2nd parameter to bgmac_set_mac_address() but code assumed u8 *. This caused two bytes chopping and the wrong mac address was configured. Signed-off-by: Hari Vyas Signed-off-by: Jon Maso

Re: [PATCH v3 00/24] i.MX Media Driver

2017-02-01 Thread Steve Longerbeam
On 02/01/2017 01:30 AM, Philipp Zabel wrote: On Tue, 2017-01-31 at 17:26 -0800, Steve Longerbeam wrote: [...] # Set pad formats media-ctl --set-v4l2 "'tc358743 1-000f':0[fmt:UYVY/1920x1080]" media-ctl --set-v4l2 "'imx6-mipi-csi2':1[fmt:UYVY2X8/1920x1080]" media-ctl --set-v4l2 "'ipu1_csi0_mux':

[PATCH v6] sparc64: Multi-page size support

2017-02-01 Thread Nitin Gupta
Add support for using multiple hugepage sizes simultaneously on mainline. Currently, support for 256M has been added which can be used along with 8M pages. Page tables are set like this (e.g. for 256M page): VA + (8M * x) -> PA + (8M * x) (sz bit = 256M) where x in [0, 31] and TSB is set simi

[PATCH 1/2] ARCv2: IDU-intc: Delete deprecated parameters in Device Trees

2017-02-01 Thread Yuriy Kolerov
No need for specifying a list of interrupts in the declaration of IDU interrupt controller anymore since the kernel can obtain a number of supported interrupts from the build register. Also delete support of the second parameter for devices which are connected to IDU because it is not used anywher

[PATCH 0/2] Delete deprecated parameters in Device Trees

2017-02-01 Thread Yuriy Kolerov
* Remove support of the second argument in IDU interrupts (it is deprecated and not used anymore). * Remove useless declaration of interrupts list in IDU intc because it is not used anymore and the kernel can obtain information about supported interrupts from build registers. * So

[PATCH 2/2] ARCv2: intc: Delete useless comments in Device Trees

2017-02-01 Thread Yuriy Kolerov
Signed-off-by: Yuriy Kolerov --- arch/arc/boot/dts/haps_hs_idu.dts | 1 - arch/arc/boot/dts/nsimosci_hs_idu.dts | 1 - 2 files changed, 2 deletions(-) diff --git a/arch/arc/boot/dts/haps_hs_idu.dts b/arch/arc/boot/dts/haps_hs_idu.dts index 0a857fa..215cddd 100644 --- a/arch/arc/boot/dts/hap

  1   2   3   4   5   6   7   8   9   10   >