Re: [PATCH 4/4] ARM: dts: meson8b: Add Meson8b PWM Controller nodes

2016-06-20 Thread Neil Armstrong
On 06/17/2016 08:21 PM, kbuild test robot wrote: > Hi, > > [auto build test ERROR on next-20160617] > [cannot apply to pwm/for-next robh/for-next v4.7-rc3 v4.7-rc2 v4.7-rc1 > v4.7-rc3] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-20 Thread Vincent Guittot
On 20 June 2016 at 11:52, Peter Zijlstra wrote: > On Mon, Jun 20, 2016 at 11:23:39AM +0200, Vincent Guittot wrote: > >> > @@ -738,7 +739,20 @@ void post_init_entity_util_avg(struct sc >> > sa->util_sum = sa->util_avg * LOAD_AVG_MAX; >> > } >> > >> > - update_cfs_rq_load_avg(cfs_r

Re: [PATCH] x86/ptrace: Remove questionable TS_COMPAT usage in ptrace

2016-06-20 Thread Pedro Alves
On 06/18/2016 06:02 PM, Andy Lutomirski wrote: > Yuck. I should have dug in to the history. Why not just > unconditionally sign-extend eax when set by a 32-bit tracer? No idea. > > Do you know how to acquire a copy of erestartsys-trap.c? The old > links appear to be broken. That's part of t

[PATCH v2 1/2] staging: wilc1000: message_queue: Move code to host interface

2016-06-20 Thread Binoy Jayan
Move the contents of wilc_msgqueue.c and wilc_msgqueue.h into host_interface.c, remove 'wilc_msgqueue.c' and 'wilc_msgqueue.h'. This is done so as to restructure the implementation of the kthread 'hostIFthread' using a work queue. Signed-off-by: Binoy Jayan Reviewed-by: Arnd Bergmann --- driver

[PATCH v2 0/2] *** staging: wilc1000: Replace semaphores ***

2016-06-20 Thread Binoy Jayan
This is the second patch series for 'wilc1000'. The original patch series consisted 7 patches of which only the first 5 are good. The patch 6 and 7 are being worked on in this series in a different way. This patch series removes the semaphore 'sem' in 'wilc1000' and also restructures the implement

[PATCH v2 2/2] staging: wilc1000: Replace kthread with workqueue for host interface

2016-06-20 Thread Binoy Jayan
Deconstruct the kthread / message_queue logic, replacing it with create_singlethread_workqueue() / queue_work() setup, by adding a 'struct work_struct' to 'struct host_if_msg'. The current kthread hostIFthread() is converted to a work queue helper with the name 'host_if_work'. Signed-off-by: Binoy

Re: [PATCH] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Ricardo Ribalda Delgado
Good catch :) I will prepare the new version. Btw, can I also merge vb2_internal_dqbuf and vb2_dqbuf in one function? Seems a bit overkilled that split. Regarding v42l_compliance... I can take care of that if you dare :) Best regards! On Mon, Jun 20, 2016 at 11:53 AM, Hans Verkuil wrote: > On

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Roger Quadros
Hi, On 20/06/16 10:45, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> It provides APIs for the following tasks >> >> - Registering an OTG/dual-role capable controller >> - Registering Host and Gadget controllers to OTG core >> - Providing inputs to and kicking the OTG state machine >

Re: [RESEND PATCH v2 1/1] mmc: dw_mmc: Wait for data transfer after response errors.

2016-06-20 Thread Jaehoon Chung
Hi Enric, On 04/26/2016 05:03 PM, Enric Balletbo i Serra wrote: > From: Doug Anderson > > According to the DesignWare state machine description, after we get a > "response error" or "response CRC error" we move into data transfer > mode. That means that we don't necessarily need to special case

Re: [PATCH v8 3/5] perf config: Reimplement perf_config() using perf_config_set__it to

2016-06-20 Thread Taeung Song
Hi, Arnaldo :-D I also discussed this patchset with Namhyung at offline gathering. I sent v9 patchset that contains what Namhyung and you advice me to do. If having your spare time, please review the v9 patchset. If you do, I'd appreciate it :-) Thanks, Taeung On 06/12/2016 05:57 PM, Taeung Son

Re: Canonical has own Ubuntu driver for ALPS 73 03 28 devices

2016-06-20 Thread Christoph Hellwig
On Sun, Jun 19, 2016 at 01:43:46AM +0200, Pali Roh??r wrote: > I do not understand it... Why Canonical is hidden and don't communicate > with rest of world? Otherwise touchpads could work out-of-box on non > Ubuntu systems too with mainline kernel. Because Canonical doesn't collaborate with the up

Re: [PATCH] vb2: V4L2_BUF_FLAG_DONE is set after DQBUF

2016-06-20 Thread Hans Verkuil
On 06/20/2016 12:12 PM, Ricardo Ribalda Delgado wrote: > Good catch :) > > I will prepare the new version. Btw, can I also merge > vb2_internal_dqbuf and vb2_dqbuf in one function? Seems a bit > overkilled that split. No, that's not possible. vb2_internal_dqbuf is used in the threading code to im

Re: Canonical has own Ubuntu driver for ALPS 73 03 28 devices

2016-06-20 Thread Pali Rohár
On Monday 20 June 2016 03:16:36 Christoph Hellwig wrote: > On Sun, Jun 19, 2016 at 01:43:46AM +0200, Pali Roh??r wrote: > > I do not understand it... Why Canonical is hidden and don't communicate > > with rest of world? Otherwise touchpads could work out-of-box on non > > Ubuntu systems too with ma

Re: [PATCH] clk: samsung: exynos5433: use clock_ignore_unused flag for SPI3 related clocks

2016-06-20 Thread Andi Shyti
> Unfortunately I have to NAK this patch. Please add proper support for > them to the SPI driver. I agree, this is quite a lazy solution. But your comment is giving me more work than what I was willing to have, also because in this driver the SPI1 is aslo using CLK_IGNORE_UNUSED :) Thanks for yo

[PATCH] kcm: fix /proc memory leak

2016-06-20 Thread Jiri Slaby
Every open of /proc/net/kcm leaks 16 bytes of memory as is reported by kmemleak: unreferenced object 0x88059c0e3458 (size 192): comm "cat", pid 1401, jiffies 4294935742 (age 310.720s) hex dump (first 32 bytes): 28 45 71 96 05 88 ff ff 00 10 00 00 00 00 00 00 (Eq. 00 00

Re: Stable -rc git trees and email headers

2016-06-20 Thread Fengguang Wu
On Mon, Jun 20, 2016 at 11:52:14AM +0200, Jiri Slaby wrote: > On 06/20/2016, 11:39 AM, Fengguang Wu wrote: > >> git://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux-stable.git > > > > It looks already in the testing pipeline. :) > > Oh, and it's there for a quite long already :). But I h

Re: [RFC PATCH 0/2] scpi: Add SCPI framework to handle vendors variants

2016-06-20 Thread Neil Armstrong
On 06/06/2016 07:10 PM, Sudeep Holla wrote: > > > On 30/05/16 09:30, Neil Armstrong wrote: >> On 05/27/2016 10:17 AM, Neil Armstrong wrote: > >> >> While looking for other ARMv8 based platform, I found that the RK3368 >> platform has the same SCPI implementation as Amlogic. >> >> They extended i

Re: [PATCH] x86/ptrace: Remove questionable TS_COMPAT usage in ptrace

2016-06-20 Thread Pedro Alves
On 06/19/2016 11:09 PM, Andy Lutomirski wrote: > > The latter bit is a mess and is probably broken on current kernels for > 64-bit gdb attached to a 32-bit process. (Is it? All of this stuff > is a bit of a pain to test.) The testcase at: https://sourceware.org/ml/gdb/2014-05/msg4.html s

RE: [PATCH 1/1] perf/x86/intel: Add extended event constraints for Knights Landing

2016-06-20 Thread Odzioba, Lukasz
On 08.06.2016 Peter Zijlstra wrote: > How does this work in the light of intel_alt_er() ? Hi Peter, If the constrained bit is valid on only one of the OCR MSRs (like in case of KNL), then OCR valid mask will forbid altering it by the other MSR in intel_alt_er. If constrained bit is valid on bo

[PATCH v3] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-06-20 Thread Stefan Mavrodiev
A33-OLinuXino is A33 development board designed by Olimex LTD. It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, headphone and mic jacks, connector for LiPo battery and optional 4GB NAND Flash. It has two 40-pin headers. One for LCD panel, and one for additional modules. Also t

Re: [PATCH] HID: i2c-hid: set power sleep before shutdown

2016-06-20 Thread Mika Westerberg
On Sat, Jun 18, 2016 at 06:50:30PM +0800, Guohua Zhong wrote: > Add i2c_hid_shutdown for i2c-hid driver to send suspend cmd & > disable irq before device shutdown. > > Some HW design is that the power to i2c hid device won't down > after device shutdown. Also the i2c-hid driver do not send suspend

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-20 Thread CK Hu
Hi, HS: One comment inline. On Mon, 2016-05-30 at 11:19 +0800, HS Liao wrote: > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > CMDQ is used to help read/write registers with critical time limitation, > such as updating display configuration during the vblank. It control

[PATCH v8 1/8] perf tools: Fix write_backwards fallback

2016-06-20 Thread Wang Nan
Commit b90dc17a5d14 "perf evsel: Add overwrite attribute and check write_backward" misunderstood the 'order' should be obeyed in __perf_evsel__open. Arnaldo in [1]: "But the way this was done for attr.write_backwards was buggy, as we need to check features in the inverse order of their introductio

[PATCH v8 7/8] perf tools: Don't warn about out of order event if write_backward is used

2016-06-20 Thread Wang Nan
If write_backward attribute is set, records are written into kernel ring buffer from end to beginning, but read from beginning to end. To avoid 'XX out of order events recorded' warning message (timestamps of records is in reverse order when using write_backward), suppress the warning message if wr

[PATCH v8 6/8] perf tools: Enable overwrite settings

2016-06-20 Thread Wang Nan
This patch allows following config terms and option: Globally setting events to overwrite; # perf record --overwrite ... Set specific events to be overwrite or no-overwrite. # perf record --event cycles/overwrite/ ... # perf record --event cycles/no-overwrite/ ... Add missing config terms a

[PATCH v8 5/8] perf record: Toggle overwrite ring buffer for reading

2016-06-20 Thread Wang Nan
overwrite_evt_state is introduced to reflect the state of overwritable ring buffers. It is a state machine with 3 states: RUNNING --(1)--> DATA_PENDING --(2)--> EMPTY ^ ^ | | |___(disallow)___/| ||

[PATCH v8 8/8] perf tools: Add --tail-synthesize option

2016-06-20 Thread Wang Nan
When working with overwritable ring buffer there's a inconvenience problem: if perf dumps data after a long period after it starts, non-sample events may lost, which makes following 'perf report' unable to identify proc name and mmap layout. For example: # perf record -m 4 -e raw_syscalls:* -g --

[PATCH v8 2/8] perf evlist: Introduce aux evlist

2016-06-20 Thread Wang Nan
An auxiliary evlist is created by perf_evlist__new_aux() using an existing evlist as its parent. An auxiliary evlist can have its own 'struct perf_mmap', but can't have any other data. User should use its parent instead when accessing other data. Auxiliary evlists are containers of 'struct perf_mm

[PATCH v8 3/8] perf tests: Add testcase for auxiliary evlist

2016-06-20 Thread Wang Nan
Improve test backward-ring-buffer, trace both enter and exit event of prctl() syscall, utilize auxiliary evlist to mmap enter and exit event into separated mmaps. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Zefan Li Cc: He Kuan

[PATCH v8 4/8] perf record: Introduce rec->overwrite_evlist for overwritable events

2016-06-20 Thread Wang Nan
Create an auxiliary evlist for overwritable events. Before mmap, build this evlist and set 'overwrite' and 'backward' attribute. Since perf_evlist__mmap_ex() only maps events when evsel->overwrite matches evlist's corresponding attributes, with these two evlists an event goes to either rec->evlist

[PATCH v8 0/8] perf tools: Support overwritable ring buffer

2016-06-20 Thread Wang Nan
This patch set enables daemonized perf recording by utilizing overwritable backward ring buffer. With this feature one can put perf background, and dump ring buffer records by a SIGUSR2 when he/she find something unusual. For example, following command record system calls, schedule events and sampl

[PATCH v4 4/5] ACPI: table upgrade: introduce ARCH_HAS_ACPI_TABLE_UPGRADE

2016-06-20 Thread Aleksey Makarov
We want to use the table upgrade feature in ARM64. Introduce a new configuration option that allows that. Signed-off-by: Aleksey Makarov --- arch/x86/Kconfig | 1 + drivers/acpi/Kconfig | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconf

[PATCH v4 3/5] ACPI: table upgrade: move arch-specific symbol to asm/acpi.h

2016-06-20 Thread Aleksey Makarov
The constant that defines max phys address where the new upgraded ACPI table should be allocated is arch-specific. Move it to Signed-off-by: Aleksey Makarov --- arch/x86/include/asm/acpi.h | 2 ++ drivers/acpi/tables.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH] tty: 8250, remove shadow and unused variables

2016-06-20 Thread Jiri Slaby
The compiler complains about variables that are set, but never used: * intX variables in exar_handle_irq drivers/tty/serial/8250/8250_port.c:1864:34: warning: variable ‘int3’ set but not used [-Wunused-but-set-variable] * val variable in pci_quatech_wqopr drivers/tty/serial/8250/8250_pci.c:113

Re: [PATCH v3 1/5] ACPICA: Namespace: Fix a regression that MLC support triggers dead lock in dynamic table loading

2016-06-20 Thread Mika Westerberg
On Mon, Jun 20, 2016 at 05:07:22PM +0800, Lv Zheng wrote: > The new MLC approach invokes MLC per-table basis. But the dynamic loading > support of this is incorrect because of the lock order: > acpi_ns_evaluate >acpi_ex_enter_intperter > acpi_ns_load_table (triggered by Load opcode) >

[PATCH v4 5/5] ACPI: ARM64: support for ACPI_TABLE_UPGRADE

2016-06-20 Thread Aleksey Makarov
From: Jon Masters This patch adds support for ACPI_TABLE_UPGRADE for ARM64 To access initrd image we need to move initialization of linear mapping a bit earlier. The implementation of the feature acpi_table_upgrade() (drivers/acpi/tables.c) works with initrd data represented as an array in virt

[PATCH v4 0/5] ACPI: ARM64: support for ACPI_TABLE_UPGRADE

2016-06-20 Thread Aleksey Makarov
64 It was first sent by Jon Masters [3] to linaro-acpi in December 2015 Tested on QEMU (arm64 and x86) and ThunderX Should be applied to next-20160620 v4: - rebase to next-20160620 - add Acked-by: Will Deacon - add Acked-by: Lv Zheng for [2/5] v3: https://lkml.kernel.org/g/201606021749

[PATCH V7 0/8] Introduce ACPI world to ITS irqchip

2016-06-20 Thread Tomasz Nowicki
The series builds the PCI/MSI domain stack based on initial IORT driver which is added in first place. As a reference please see IORT spec: http://infocenter.arm.com/help/topic/com.arm.doc.den0049b/DEN0049B_IO_Remapping_Table.pdf Tested on Cavium ThunderX server. The patches can be found here: htt

[PATCH V7 3/8] PCI/MSI: Setup MSI domain on a per-device basis using IORT ACPI table

2016-06-20 Thread Tomasz Nowicki
It is possible to provide information about which MSI controller to use on a per-device basis for DT. This patch supply this with ACPI support. Currently, IORT is the only one ACPI table which can provide such mapping. In order to plug IORT into MSI infrastructure we are adding ACPI equivalents fo

[PATCH v4 2/5] ACPI: table upgrade: refactor function definitions

2016-06-20 Thread Aleksey Makarov
Refer initrd_start, initrd_end directly from drivers/acpi/tables.c. This allows to use the table upgrade feature in architectures other than x86. Also this simplifies header files. The patch renames acpi_table_initrd_init() to acpi_table_upgrade() (what reflects the purpose of the function) and r

[PATCH V7 1/8] ACPI: I/O Remapping Table (IORT) initial support

2016-06-20 Thread Tomasz Nowicki
IORT shows representation of IO topology for ARM based systems. It describes how various components are connected together on parent-child basis e.g. PCI RC -> SMMU -> ITS. Also see IORT spec. Initial support allows to detect IORT table presence and save its root pointer obtained through acpi_get_

[PATCH V7 4/8] irqchip/gicv3-its: Cleanup for ITS domain initialization

2016-06-20 Thread Tomasz Nowicki
There is no point to initialize ITS without having msi-controller property in corresponding DT node. However, its_probe is checking msi-controller presence at the end, so we can save our time and do that check prior to its_probe call. Also, for the code clarity purpose, we put domain initialization

[PATCH V7 2/8] ACPI: Add new IORT functions to support MSI domain handling

2016-06-20 Thread Tomasz Nowicki
For ITS, MSI functionality consists on building domain stack and during that process we need to reference to domain stack components e.g. before we create new DOMAIN_BUS_PCI_MSI domain we need to specify its DOMAIN_BUS_NEXUS parent domain. In order to manage that process properly, maintain list whi

[PATCH V7 8/8] irqchip/gicv3-its: Use MADT ITS subtable to do PCI/MSI domain initialization

2016-06-20 Thread Tomasz Nowicki
Let ACPI build ITS PCI MSI domain. ACPI code is responsible for retrieving inner domain token and passing it on to its_pci_msi_init_one generic init call. IORT maintains list of registered domain tokens and allows to find corresponding domain based on MADT ITS subtable ID info. Signed-off-by: Tom

[PATCH V7 6/8] irqchip/gicv3-its: Probe ITS in the ACPI way

2016-06-20 Thread Tomasz Nowicki
ITS is prepared for being initialized different than DT, therefore we can initialize it in ACPI way. We collect register base address from MADT table and pass mandatory info to firmware-agnostic ITS init call. Use here IORT lib to register ITS domain which then can be found and used on to build an

[PATCH V7 5/8] irqchip/gicv3-its: Refactor ITS DT init code to prepare for ACPI

2016-06-20 Thread Tomasz Nowicki
In order to add ACPI support we need to isolate ACPI&DT common code and move DT logic to corresponding functions. To achieve this we are using firmware agnostic handle which can be unpacked to either DT or ACPI node. No functional changes other than a very minor one: 1. Terminate its_init call wit

[PATCH V7 7/8] irqchip/gicv3-its: Factor out code that might be reused for ACPI

2016-06-20 Thread Tomasz Nowicki
Firmware agnostic code lands in common functions which do necessary domain initialization based on unique domain handler. DT specific code goes to DT specific init call. Signed-off-by: Tomasz Nowicki Acked-by: Marc Zyngier --- drivers/irqchip/irq-gic-v3-its-pci-msi.c | 44 +-

[PATCH] HID: alps: match alps devices in core

2016-06-20 Thread Jiri Kosina
From: Jiri Kosina All devices with ALPS_JP VID are handled by hid-alps driver, hence they require an entry in hid_have_special_driver[]. Signed-off-by: Jiri Kosina --- Queued in hid.git#for-4.8/alps drivers/hid/hid-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-c

Re: [PATCH v4 1/9] [media] Add signed 16-bit pixel format

2016-06-20 Thread Hans Verkuil
On 06/17/2016 04:16 PM, Nick Dyer wrote: > This will be used for output of raw touch delta data. This format is > used by Atmel maXTouch (atmel_mxt_ts) and also Synaptics RMI4. > > Signed-off-by: Nick Dyer > --- > Documentation/DocBook/media/v4l/pixfmt-ys16.xml | 79 > +

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Pierre-Louis Bossart
Presentation time is either set by a) Local sound card performing capture (in which case it will be 'capture time') b) Local media application sending a stream accross the network (time when the sample should be played out remotely) c) Remote media application streaming data *to* host, in

Re: [PATCH] x86/ptrace: Remove questionable TS_COMPAT usage in ptrace

2016-06-20 Thread Jan Kratochvil
On Mon, 20 Jun 2016 12:07:56 +0200, Pedro Alves wrote: > On 06/18/2016 06:02 PM, Andy Lutomirski wrote: > > Yuck. I should have dug in to the history. Why not just > > unconditionally sign-extend eax when set by a 32-bit tracer? > > No idea. Roland McGrath knows why he wrote it that way, Cced.

4.7-rc1: lockdep: inconsistent lock state kcompactd/aio_migratepage/mem_cgroup_migrate....

2016-06-20 Thread Christian Borntraeger
Has anyone seen this before? [ 335.384657] = [ 335.384659] [ INFO: inconsistent lock state ] [ 335.384663] 4.7.0-rc1+ #52 Tainted: GW [ 335.384666] - [ 335.384669] inconsistent {IN-SOFTIRQ-W} -> {SOFTIRQ-ON-W} usag

Re: kernel, mm: NULL deref in copy_process while OOMing

2016-06-20 Thread Michal Hocko
On Sun 19-06-16 12:06:53, Tetsuo Handa wrote: > On 2016/06/16 18:39, Michal Hocko wrote: > > On Wed 15-06-16 12:50:43, Sasha Levin wrote: > >> Hi all, > >> > >> I'm seeing the following NULL ptr deref in copy_process right after a bunch > >> of OOM killing activity on -next kernels: > >> > >> Out o

Re: [PATCHv9-rebased2 01/37] mm, thp: make swapin readahead under down_read of mmap_sem

2016-06-20 Thread Michal Hocko
On Sat 18-06-16 22:09:51, Ebru Akagunduz wrote: [...] > This changelog really seems poor. > Is there a way to update only changelog of the commit? git commit --amend would do that for the current commit. You can also tell git rebase -i to 'reword' a particular commits. > Could you please suggest m

Re: [PATCH v3 08/20] pwm: Add PWM Capture support

2016-06-20 Thread Lee Jones
On Fri, 10 Jun 2016, Thierry Reding wrote: > On Fri, Jun 10, 2016 at 03:38:54PM +0100, Lee Jones wrote: > > On Fri, 10 Jun 2016, Thierry Reding wrote: > > > > > On Wed, Jun 08, 2016 at 10:21:23AM +0100, Lee Jones wrote: > > > > Supply a PWM Capture call-back Op in order to pass back > > > > infor

Re: Reported regressions for 4.7 as of Sunday, 2016-06-19

2016-06-20 Thread Christoph Hellwig
Another important one is the rename regression in XFS and ext4 that I suspect is due the VFS changes in 4.7: http://oss.sgi.com/pipermail/xfs/2016-June/049138.html http://oss.sgi.com/pipermail/xfs/2016-June/049309.html possibly related: http://marc.info/?l=linux-kernel&m=146605889024559&w=2

Re: [PATCH v2] firmware: qcom: scm: Expose PAS command 10 as reset-controller

2016-06-20 Thread Srinivas Kandagatla
On 17/06/16 18:40, Bjorn Andersson wrote: PAS command 10 is used to assert and deassert the MSS reset via TrustZone, expose this as a reset-controller to mimic the direct access case. Cc: Stephen Boyd Acked-by: Rob Herring Signed-off-by: Bjorn Andersson --- Good stuff! Acked-by: Srinivas

Re: [BUG] mpt2sas: driver init fails on kernel >=4.2 for 9211-8i IT

2016-06-20 Thread Matthias Prager
Still tracking - small update: So far with the most current esxi 6 (build 3825889 - 2016-05-12) the fix is not there yet. Sidenote: the mpt driver seems to have learned to work around the irq handling issues (I tested kernel 4.6.2) whereas the e1000e ethernet driver still has trouble initializing.

Re: [PATCH] crypto : async implementation for sha1-mb

2016-06-20 Thread Herbert Xu
On Fri, Jun 17, 2016 at 12:28:30PM -0700, Megha Dey wrote: > > -static void sha1_mb_async_exit_tfm(struct crypto_tfm *tfm) > -{ > - struct sha1_mb_ctx *ctx = crypto_tfm_ctx(tfm); > + ahash_request_set_tfm(areq, child); > + ahash_request_set_callback(areq, CRYPTO_TFM_REQ_MAY_SLEEP, NULL,

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-20 Thread Horng-Shyang Liao
On Mon, 2016-06-20 at 18:41 +0800, CK Hu wrote: > Hi, HS: > > One comment inline. > > On Mon, 2016-05-30 at 11:19 +0800, HS Liao wrote: > > This patch is first version of Mediatek Command Queue(CMDQ) driver. The > > CMDQ is used to help read/write registers with critical time limitation, > > such

[PATCH v4 1/5] ACPI: table upgrade: use cacheable map for tables

2016-06-20 Thread Aleksey Makarov
The new memory allocated in acpi_table_initrd_init() is used to copy the upgraded tables to it. So it should be mapped with early_memunmap() instead of early_ioremap(). This is critical for ARM. Signed-off-by: Aleksey Makarov Acked-by: Lv Zheng --- drivers/acpi/tables.c | 6 +++--- 1 file cha

Re: [PATCH V2 47/63] clocksource/drivers/timer-stm32: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
2016-06-16 23:27 GMT+02:00 Daniel Lezcano : > The init functions do not return any error. They behave as the following: > > - panic, thus leading to a kernel crash while another timer may work and >make the system boot up correctly > > or > > - print an error and let the caller unawar

Re: [PATCH V2 18/63] clocksource/drivers/arm_global_timer: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
On 06/16/2016 11:26 PM, Daniel Lezcano wrote: The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware i

Re: [PATCH v2 0/2] Add SHA-3 algorithm and test vectors.

2016-06-20 Thread Herbert Xu
On Fri, Jun 17, 2016 at 10:30:34AM +0530, Raveendra Padasalagi wrote: > This patchset adds the implementation of SHA-3 algorithm > in software and it's based on original implementation > pushed in patch https://lwn.net/Articles/518415/ with > additional changes to match the padding rules specified

Re: [PATCH] crypto: caam: fix misspelled upper_32_bits

2016-06-20 Thread Herbert Xu
On Thu, Jun 16, 2016 at 11:05:46AM +0200, Arnd Bergmann wrote: > An endianess fix mistakenly used higher_32_bits() instead of > upper_32_bits(), and that doesn't exist: > > drivers/crypto/caam/desc_constr.h: In function 'append_ptr': > drivers/crypto/caam/desc_constr.h:84:75: error: implicit decla

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Henrik Austad
On Mon, Jun 20, 2016 at 01:08:27PM +0200, Pierre-Louis Bossart wrote: > > >Presentation time is either set by > >a) Local sound card performing capture (in which case it will be 'capture > > time') > >b) Local media application sending a stream accross the network > > (time when the sample sho

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-20 Thread Dietmar Eggemann
On 17/06/16 17:18, Peter Zijlstra wrote: > On Fri, Jun 17, 2016 at 06:02:39PM +0200, Peter Zijlstra wrote: >> So yes, ho-humm, how to go about doing that bestest. Lemme have a play. > > This is what I came up with, not entirely pretty, but I suppose it'll > have to do. > > --- > --- a/kernel/sc

Re: [PATCH v4 1/9] [media] Add signed 16-bit pixel format

2016-06-20 Thread Nick Dyer
Hi Hans- On 20/06/2016 12:00, Hans Verkuil wrote: > On 06/17/2016 04:16 PM, Nick Dyer wrote: >> This will be used for output of raw touch delta data. This format is >> used by Atmel maXTouch (atmel_mxt_ts) and also Synaptics RMI4. >> >> Signed-off-by: Nick Dyer >> --- >> Documentation/DocBook/me

Re: [PATCH v7 1/4] usb: dwc3: core.h: add some register definitions

2016-06-20 Thread Roger Quadros
On 20/06/16 12:28, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> Add OTG and GHWPARAMS6 register definitions >> >> Signed-off-by: Roger Quadros >> --- >> drivers/usb/dwc3/core.h | 84 >> - >> 1 file changed, 83 insertions(+), 1 deleti

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Peter Chen
On Mon, Jun 20, 2016 at 10:45:31AM +0300, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: > > It provides APIs for the following tasks > > > > - Registering an OTG/dual-role capable controller > > - Registering Host and Gadget controllers to OTG core > > - Providing inputs to and kicking t

Re: [PATCH v4 2/9] [media] v4l2-core: Add VFL_TYPE_TOUCH_SENSOR

2016-06-20 Thread Hans Verkuil
On 06/17/2016 04:16 PM, Nick Dyer wrote: > Some touch controllers send out raw touch data in a similar way to a > greyscale frame grabber. Add a new device type for these devices. > > Use a new device prefix v4l-touch for these devices, to stop generic > capture software from treating them as webc

Re: [patch] crypto: drbg - fix an error code in drbg_init_sym_kernel()

2016-06-20 Thread Herbert Xu
On Fri, Jun 17, 2016 at 12:16:19PM +0300, Dan Carpenter wrote: > We accidentally return PTR_ERR(NULL) which is success but we should > return -ENOMEM. > > Fixes: 355912852115 ('crypto: drbg - use CTR AES instead of ECB AES') > Signed-off-by: Dan Carpenter Patch applied. Thanks. -- Email: Herbe

Re: [PATCH v3 1/4] reset: hisilicon: Add media reset controller binding

2016-06-20 Thread Philipp Zabel
Am Montag, den 20.06.2016, 11:50 +0800 schrieb Xinliang Liu: > > Required properties: > -- compatible: may be "hisilicon,hi6220-sysctrl" > +- compatible: should be one of the following: > + - "hisilicon,hi6220-sysctrl", "syscon" : For peripheral reset controller. > + - "hisilicon,hi6220-mediac

Re: [PATCH 2/2] mtd: nand: sunxi: add reset line support

2016-06-20 Thread Philipp Zabel
Am Sonntag, den 19.06.2016, 14:06 +0200 schrieb Boris Brezillon: > +Philipp > > On Sun, 19 Jun 2016 19:37:39 +0800 > Icenowy Zheng wrote: > > > The NAND controller on some sun8i chips needs its reset line to be > > deasserted > > before they can enter working state. This commit added the reset

Re: [PATCH 1/7] reset: Reorder inline reset_control_get*() wrappers

2016-06-20 Thread Philipp Zabel
Am Montag, den 06.06.2016, 16:56 +0100 schrieb Lee Jones: > We're about to split the current API into two, where consumers will > be forced to be explicit when requesting reset lines. The choice > will be to either the call the *_exclusive or *_shared variant > depending on whether they can actual

Re: [PATCH V2 08/63] clocksource/drivers/st_lpc: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
On 06/16/2016 11:26 PM, Daniel Lezcano wrote: The init functions do not return any error. They behave as the following: - panic, thus leading to a kernel crash while another timer may work and make the system boot up correctly or - print an error and let the caller unaware if the s

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Felipe Balbi
Hi, Peter Chen writes: >> Roger Quadros writes: >> > It provides APIs for the following tasks >> > >> > - Registering an OTG/dual-role capable controller >> > - Registering Host and Gadget controllers to OTG core >> > - Providing inputs to and kicking the OTG state machine >> >> I think I have

Re: [PATCH v7 1/4] usb: dwc3: core.h: add some register definitions

2016-06-20 Thread Felipe Balbi
Hi, Roger Quadros writes: >> Roger Quadros writes: >>> Add OTG and GHWPARAMS6 register definitions >>> >>> Signed-off-by: Roger Quadros >>> --- >>> drivers/usb/dwc3/core.h | 84 >>> - >>> 1 file changed, 83 insertions(+), 1 deletion(-) >>> >>>

Re: [alsa-devel] [very-RFC 0/8] TSN driver for the kernel

2016-06-20 Thread Richard Cochran
On Mon, Jun 20, 2016 at 01:08:27PM +0200, Pierre-Louis Bossart wrote: > The ALSA API provides support for 'audio' timestamps (playback/capture rate > defined by audio subsystem) and 'system' timestamps (typically linked to > TSC/ART) with one option to take synchronized timestamps should the hardwa

[RFC 0/4] sched/fair: Rebalance tasks based on affinity

2016-06-20 Thread Jiri Olsa
hi, please consider this to be more of a question for opinions on how to solve this issue ;-) I'm following up on my previous post: http://marc.info/?t=14597583741&r=1&w=2 The patchset is working for my testcase and our other tests looks good so far, but I'm not sure I haven't broken someth

[PATCH 1/4] sched/fair: Introduce sched_entity::dont_balance

2016-06-20 Thread Jiri Olsa
Adding dont_balance bool into struct sched_entity, to mark tasks which are rebalanced based on affinity. It's used only when REBALANCE_AFFINITY feature is switched on. The code functionality of this feature is introduced in following patch. Signed-off-by: Jiri Olsa --- include/linux/sched.h |

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Felipe Balbi
Hi, Roger Quadros writes: >> Roger Quadros writes: >>> It provides APIs for the following tasks >>> >>> - Registering an OTG/dual-role capable controller >>> - Registering Host and Gadget controllers to OTG core >>> - Providing inputs to and kicking the OTG state machine >> >> I think I have a

RE: [PATCH] staging: unisys: visorbus: Replace semaphore with mutex

2016-06-20 Thread Sell, Timothy C
> -Original Message- > From: Binoy Jayan [mailto:binoy.ja...@linaro.org] > Sent: Monday, June 20, 2016 1:07 AM > To: Kershner, David A; Greg Kroah-Hartman > Cc: Arnd Bergmann; *S-Par-Maintainer; de...@driverdev.osuosl.org; linux- > ker...@vger.kernel.org; Binoy Jayan > Subject: [PATCH] stag

Re: [PATCH v4 3/7] max8903: cleans up confusing relationship between dc_valid, dok and dcm.

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > The max8903_charger.h file indicated that dcm and dok were not optional > when dc_valid is set. > > It makes sense to have dok as a compulsory pin when dc_valid is given. > However dcm can be optionally wired to a fixed level espec

Re: [PATCH v4 2/7] max8903: store pointer to pdata instead of copying it.

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > Stores pointer to pdata because it easily allows pdata to reference > either platform data or in the future device tree data. > > Signed-off-by: Chris Lapa > --- > drivers/power/max8903_charger.c | 20 +--- > 1 fi

Re: [PATCH v4 1/7] max8903: adds documentation for device tree bindings.

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > Signed-off-by: Chris Lapa I already reviewed this patch. When resubmitting please include gathered tags (reviewed, acked, tested) after your signed-off-by. Just put them in chronological order: Signed-off-by: Chris Lapa Reviewed

Re: [PATCH v4 4/7] max8903: adds requesting of gpios.

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > This change ensures all gpios are available for the driver to use and also > splits off gpio setup into its own function for readability. > > Signed-off-by: Chris Lapa > --- > drivers/power/max8903_charger.c | 136 >

Re: ktime_get_ts64() splat during resume

2016-06-20 Thread Rafael J. Wysocki
On Monday, June 20, 2016 04:17:13 PM chenyu wrote: > On Fri, Jun 17, 2016 at 11:28 PM, Rafael J. Wysocki wrote: > > On Fri, Jun 17, 2016 at 4:33 PM, Borislav Petkov wrote: > >> Ok, > >> > >> bisect is done, full log below. > >> > >> Rafael, that fix > >> > >> 70595b479ce1 ("x86/power/64: Fix cr

Re: [PATCH v4 6/7] max8903: remove unnecessary 'out of memory' error message.

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > Remove the 'out of memory' error message as it is printed by the core. > > Signed-off-by: Chris Lapa The same as in #1, I already reviewed it. For the record: Reviewed-by: Krzysztof Kozlowski BR. Krzysztof

[PATCH 4/4] sched/fair: Add schedstat debug values for REBALANCE_AFFINITY

2016-06-20 Thread Jiri Olsa
It was helpful to watch several stats when testing this feature. Adding the most useful. Signed-off-by: Jiri Olsa --- include/linux/sched.h | 2 ++ kernel/sched/debug.c | 4 kernel/sched/fair.c | 15 ++- kernel/sched/sched.h | 5 + 4 files changed, 25 insertions(+), 1

Re: [PATCH 02/13] irq: Introduce IRQD_AFFINITY_MANAGED flag

2016-06-20 Thread Christoph Hellwig
On Thu, Jun 16, 2016 at 05:39:07PM +0200, Bart Van Assche wrote: > On 06/16/2016 05:20 PM, Christoph Hellwig wrote: >> On Wed, Jun 15, 2016 at 09:36:54PM +0200, Bart Van Assche wrote: >>> Do you agree that - ignoring other interrupt assignments - that the latter >>> interrupt assignment scheme woul

[PATCH] thermal: hisilicon: Add dependency on the clock driver to allow frequency scaling

2016-06-20 Thread Amit Kucheria
The Hisilicon clock stub driver is needed to allow the thermal drivers to actually scale the frequency. Make it an automatic dependency. Signed-off-by: Amit Kucheria --- drivers/thermal/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig

[PATCH 2/4] sched/fair: Introduce idle enter/exit balance callbacks

2016-06-20 Thread Jiri Olsa
Introducing idle enter/exit balance callbacks to keep balance.idle_cpus_mask cpumask of current idle cpus in system. It's used only when REBALANCE_AFFINITY feature is switched on. The code functionality of this feature is introduced in following patch. Signed-off-by: Jiri Olsa --- kernel/sched/

[PATCH 3/4] sched/fair: Add REBALANCE_AFFINITY rebalancing code

2016-06-20 Thread Jiri Olsa
Adding rebalance_affinity function that place tasks based on their cpus_allowed with following logic. Current load balancing places tasks on runqueues based on their weight to achieve balance within sched domains. Sched domains are defined at the start and can't be changed during runtime. If user

Re: [PATCH v4 5/7] max8903: removes non zero validity checks on gpios.

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > Prior to this commit a zero gpio was treated as invalid. Whereas > gpio_is_valid() will treat a zero gpio as valid. > > This commit removes the confusion and explicitly uses gpio_is_valid() > throughout. Which in turn results in se

Re: [PATCH v8 4/4] serial: pl011: add console matching function

2016-06-20 Thread Aleksey Makarov
On 06/02/2016 09:02 PM, Aleksey Makarov wrote: > > On 05/20/2016 04:03 PM, Aleksey Makarov wrote: Hi Russell, Can you review this patch please? Thank you Aleksey Makarov >> This patch adds function pl011_console_match() that implements >> method match of struct console. It allows to match co

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-20 Thread Roger Quadros
On 20/06/16 15:03, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >>> Roger Quadros writes: It provides APIs for the following tasks - Registering an OTG/dual-role capable controller - Registering Host and Gadget controllers to OTG core - Providing inputs to and

Re: [PATCH v4 7/7] max8903: adds support for initiation via device tree

2016-06-20 Thread Krzysztof Kozlowski
On 06/20/2016 12:27 AM, Chris Lapa wrote: > From: Chris Lapa > > Adds support for device tree to setup a max8903 battery charger. DC and USB > validity are determined by looking the presence of the dok and uok gpios. > > Signed-off-by: Chris Lapa Reviewed-by: Krzysztof Kozlowski BR, Krzyszto

Re: [PATCH V2 12/63] clocksource/drivers/armv7m_systick: Convert init function to return error

2016-06-20 Thread Maxime Coquelin
2016-06-16 23:26 GMT+02:00 Daniel Lezcano : > The init functions do not return any error. They behave as the following: > > - panic, thus leading to a kernel crash while another timer may work and >make the system boot up correctly > > or > > - print an error and let the caller unaware if th

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-20 Thread Vincent Guittot
On 20 June 2016 at 13:35, Dietmar Eggemann wrote: > > > On 17/06/16 17:18, Peter Zijlstra wrote: >> On Fri, Jun 17, 2016 at 06:02:39PM +0200, Peter Zijlstra wrote: >>> So yes, ho-humm, how to go about doing that bestest. Lemme have a play. >> >> This is what I came up with, not entirely pretty, bu

<    1   2   3   4   5   6   7   8   9   10   >