[PATCH 5/6] driver core: Fix handling of runtime PM flags in device_link_add()

2019-01-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit ead18c23c263 ("driver core: Introduce device links reference counting"), if if there is a link between the given supplier and the given consumer already, device_link_add() will refcount it and return it unconditionally without updating its flags. It is

[PATCH 3/6] driver core: Avoid careless re-use of existing device links

2019-01-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit ead18c23c263 ("driver core: Introduce device links reference counting"), if there is a link between the given supplier and the given consumer already, device_link_add() will refcount it and return it unconditionally. However, if the flags passed to it on the

[PATCH 2/6] driver core: Reorder actions in __device_links_no_driver()

2019-01-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki All links to suppliers have to be either "available" or in the "supplier unbind in progress" state after __device_links_no_driver() and the kref_put() may not actually delete them, so change the state of each link in __device_links_no_driver() before attempting to drop

[PATCH 1/6] driver core: Fix DL_FLAG_AUTOREMOVE_SUPPLIER device link flag handling

2019-01-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki First, if the kref_put() in device_links_driver_cleanup() added by commit 1689cac5b32a ("driver core: Add flag to autoremove device link on supplier unbind") actually causes the link object to be freed, the subsequent attempt to change the state of the link can crash the

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Koenig, Christian
Am 24.01.19 um 10:59 schrieb Ard Biesheuvel: > [SNIP] > This is *exactly* my point the whole time. > > The current code has > > static inline bool drm_arch_can_wc_memory(void) > { > #if defined(CONFIG_PPC) && !defined(CONFIG_NOT_COHERENT_CACHE) > return false; > > which means the optimization

Re: [PATCH v6 05/16] sched/core: uclamp: Update CPU's refcount on clamp changes

2019-01-24 Thread Patrick Bellasi
On 23-Jan 19:59, Peter Zijlstra wrote: > On Wed, Jan 23, 2019 at 02:14:26PM +, Patrick Bellasi wrote: > > > > > Consider also that the uclamp_task_update_active() added by this patch > > > > not only has lower overhead but it will be use also by cgroups where > > > > we want to force update

Re: [PATCH 1/3] regulator: bd70528: Constify regulator_linear_range and regulator_ops

2019-01-24 Thread Matti Vaittinen
Thanks Axel, On Thu, Jan 24, 2019 at 06:02:07PM +0800, Axel Lin wrote: > Signed-off-by: Axel Lin > --- > drivers/regulator/bd70528-regulator.c | 17 - > 1 file changed, 8 insertions(+), 9 deletions(-) This looks good to me =) -- Matti Vaittinen ROHM Semiconductors ~~~ "I

Re: [PATCH v8 1/3] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2019-01-24 Thread Balakrishna Godavarthi
Hi Matthias, On 2019-01-17 01:52, Matthias Kaehlcke wrote: On Wed, Jan 16, 2019 at 05:16:01PM +0530, Balakrishna Godavarthi wrote: wcn3990 requires a power pulse to turn ON/OFF along with regulators. Sometimes we are observing the power pulses are sent out with some time delay, due to queuing

Re: [PATCH] arm64: dts: hikey: Revert "Enable HS200 mode on eMMC"

2019-01-24 Thread Robin Murphy
Hi John, On 23/01/2019 20:06, John Stultz wrote: From: Alistair Strachan This reverts commit abd7d0972a192ee653efc7b151a6af69db58f2bb. This change was already partially reverted by John Stultz in commit 9c6d26df1fae ("arm64: dts: hikey: Fix eMMC corruption regression"). This change appears

linux-next: Fixes tag needs some work in the drm-intel-fixes tree

2019-01-24 Thread Stephen Rothwell
Hi all, In commit 0f7555121609 ("drm/i915/gvt: release shadow batch buffer and wa_ctx before destroy one workload") Fixes tag Fixes: 0cce2823ed37 ("drm/i915/gvt/kvmgt:Refine error handling for prepare_execlist_workload") has these problem(s): - Subject does not match target commit

Re: [PATCHv4 1/4] arm64: dts: qcom: sdm845: Add Coresight support

2019-01-24 Thread Suzuki K Poulose
Hi Sai, On 23/01/2019 12:11, Sai Prakash Ranjan wrote: Hi Suzuki, On 1/23/2019 1:42 AM, Suzuki K Poulose wrote: Hi Sai, On 01/22/2019 04:48 PM, Sai Prakash Ranjan wrote: Hi Suzuki, [..] SDM845 has 4 Kryo 385 Gold (ARM A75) + 4 Kryo 385 Silver (ARM A55), so the PID values should be same

Re: [PATCH 06/22] x86/fpu: Don't save fxregs for ia32 frames in copy_fpstate_to_sigframe()

2019-01-24 Thread Borislav Petkov
On Wed, Jan 09, 2019 at 12:47:28PM +0100, Sebastian Andrzej Siewior wrote: > Why does copy_fpstate_to_sigframe() do copy_fxregs_to_kernel() in the > ia32_fxstate case? I don't know. It just does. > Maybe it was required at some point, maybe it was added by accident and > nobody noticed it because

linux-next: Fixes tag needs some work in the input-current tree

2019-01-24 Thread Stephen Rothwell
Hi Dmitry, In commit ec87da107d11 ("Input: olpc_apsp - assign priv->dev earlier") Fixes tag Fixes: commit af518342effd ("Input: olpc_apsp - check FIFO status on open(), not probe()") has these problem(s): - No SHA1 recognised The "commit" at the start of the tag value was unexpected.

Re: [PATCH 2/6] clocksource: tegra: add Tegra210 timer driver

2019-01-24 Thread Jon Hunter
On 07/01/2019 03:28, Joseph Lo wrote: > Add support for the Tegra210 timer that runs at oscillator clock > (TMR10-TMR13). We need these timers to work as clock event device and to > replace the ARMv8 architected timer due to it can't survive across the > power cycle of the CPU core or CPUPORESET

[PATCH] net: dev_is_mac_header_xmit() true for ARPHRD_RAWIP

2019-01-24 Thread Maciej Żenczykowski
From: Maciej Żenczykowski __bpf_redirect() and act_mirred checks this boolean to determine whether to prefix an ethernet header. Signed-off-by: Maciej Żenczykowski --- include/linux/if_arp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/if_arp.h b/include/linux/if_arp.h

Re: [PATCH] irqchip/gic-v4: fix occasional VLPI drop

2019-01-24 Thread Heyi Guo
On 2019/1/24 18:33, Marc Zyngier wrote: On Wed, 23 Jan 2019 08:59:08 +, Heyi Guo wrote: 1. In current implementation, every VLPI will temporarily be mapped to the first CPU in system (normally CPU0) and then moved to the real scheduled CPU later. 2. So there is a time window and a VLPI

Re: [for next][PATCH 1/2] platform/x86: Fix unmet dependency warning for ACPI_CMPC

2019-01-24 Thread Rafael J. Wysocki
On Monday, January 21, 2019 11:46:43 PM CET Sinan Kaya wrote: > Add BACKLIGHT_LCD_SUPPORT for ACPI_CMPC to fix the > warning: unmet direct dependencies detected for BACKLIGHT_CLASS_DEVICE. > > ACPI_CMPC selects BACKLIGHT_LCD_SUPPORT but BACKLIGHT_LCD_SUPPORT > depends on BACKLIGHT_LCD_SUPPORT. >

Re: [for next][PATCH 1/2] mfd: Fix unmet dependency warning for MFD_TPS68470

2019-01-24 Thread Rafael J. Wysocki
On Tuesday, January 22, 2019 12:19:57 AM CET Sinan Kaya wrote: > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. >

Re: [for next][PATCH 2/2] x86/Kconfig: Select PCI_LOCKLESS_CONFIG if PCI is enabled

2019-01-24 Thread Rafael J. Wysocki
On Tuesday, January 22, 2019 12:19:58 AM CET Sinan Kaya wrote: > After 'commit 5d32a66541c4 ("PCI/ACPI: Allow ACPI to be built without > CONFIG_PCI set")' dependencies on CONFIG_PCI that previously were > satisfied implicitly through dependencies on CONFIG_ACPI have to be > specified directly. >

Re: [PATCH v5 1/4] tee: add bus driver framework for TEE based devices

2019-01-24 Thread Bhupesh Sharma
On Thu, Jan 24, 2019 at 3:49 PM Sumit Garg wrote: > > On Thu, 24 Jan 2019 at 15:15, Daniel Thompson > wrote: > > > > On Thu, Jan 24, 2019 at 11:24:36AM +0530, Sumit Garg wrote: > > > Introduce a generic TEE bus driver concept for TEE based kernel drivers > > > which would like to communicate

[PATCH] phy: ti-pipe3: Add set_mode callback to configure usb3 phy as pcie phy

2019-01-24 Thread Kishon Vijay Abraham I
DRA72 platform has the second instance of PHY shared between USB3 controller and PCIe controller with default as USB3 controller. Since it is used with USB3 controller by default, it uses the compatible specific to USB (ti,omap-usb3). Populate set_mode callback so that the USB3 PHY can be

[PATCH 1/2] kconfig: rename zconf.l to lexer.l

2019-01-24 Thread Masahiro Yamada
Use a more logcal name. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 6 +++--- scripts/kconfig/{zconf.l => lexer.l} | 0 scripts/kconfig/lkc.h| 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename scripts/kconfig/{zconf.l => lexer.l}

[PATCH 2/2] kconfig: rename zconf.y to parser.y

2019-01-24 Thread Masahiro Yamada
Use a more logical name. Signed-off-by: Masahiro Yamada --- scripts/kconfig/Makefile | 7 --- scripts/kconfig/expr.h| 2 +- scripts/kconfig/lexer.l | 2 +- scripts/kconfig/{zconf.y => parser.y} | 0 4 files changed, 6 insertions(+), 5 deletions(-)

Re: [PATCH v2] PM / EM: Expose the Energy Model in debugfs

2019-01-24 Thread Rafael J. Wysocki
On Wednesday, January 23, 2019 10:28:36 AM CET Quentin Perret wrote: > On Tuesday 22 Jan 2019 at 19:41:36 (+0100), Greg KH wrote: > > On Tue, Jan 22, 2019 at 04:42:47PM +, Quentin Perret wrote: > > > The recently introduced Energy Model (EM) framework manages power cost > > > tables of CPUs.

[PATCH 1/2] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2019-01-24 Thread shun-chih.yu
From: Shun-Chih Yu Document the devicetree bindings for MediaTek Command-Queue DMA controller which could be found on MT6765 SoC or other similar Mediatek SoCs. Signed-off-by: Shun-Chih Yu Reviewed-by: Rob Herring --- .../devicetree/bindings/dma/mtk-cqdma.txt | 31

[PATCH] PCI: dra7xx: Invoke phy_set_mode API to set PHY mode to PHY_MODE_PCIE

2019-01-24 Thread Kishon Vijay Abraham I
Certain PHYs used with PCIe controller can also be used with other controllers such as USB or SATA. In order to configure the PHY to work with PCIe controller, invoke phy_set_mode API with mode set to PHY_MODE_PCIE. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH] remove redundant queue structure for Mediatek Command-Queue DMA controller

2019-01-24 Thread shun-chih.yu
This patchset introduces support for MediaTek Command-Queue DMA controller in dt-bindings, and simplifies the controller by removing redundant structures. Main changes to the initial version: - remove redundant queue structure in mtk_cqdma_pchan - remove redundant completion management - remove

[PATCH 2/2] dmaengine: mediatek-cqdma: remove redundant queue structure

2019-01-24 Thread shun-chih.yu
From: Shun-Chih Yu This patch introduces active_vdec to indicate the virtual descriptor under processing by the CQDMA dmaengine, and simplify the control logic by removing redundant queue structure, tasklets, and completion management. Also, wrong residue assignment in mtk_cqdma_tx_status and

Re: [RFC PATCH v1 13/13] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-01-24 Thread Matti Vaittinen
On Wed, Jan 23, 2019 at 06:47:28PM +0100, Sebastian Reichel wrote: > Hi, > > On Tue, Jan 22, 2019 at 08:03:09PM +0200, Matti Vaittinen wrote: > > On Tue, Jan 22, 2019 at 09:40:56AM -0800, Guenter Roeck wrote: > > > On Tue, Jan 22, 2019 at 07:10:23PM +0200, Matti Vaittinen wrote: > > > > On Tue,

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2019-01-24 Thread Uwe Kleine-König
On Thu, Jan 24, 2019 at 11:12:12AM +0100, Michal Vokáč wrote: > On 24.1.2019 10:22, Uwe Kleine-König wrote: > > I think it might be beneficial to allow (or require) that disable acts > > immediately. But this is not how it used to be and in my discussion with > > Thierry (IIRC) he required to

Re: [PATCH] power: qos: no need to check return value of debugfs_create functions

2019-01-24 Thread Rafael J. Wysocki
On Tuesday, January 22, 2019 4:21:47 PM CET Greg Kroah-Hartman wrote: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. > > Cc: "Rafael J. Wysocki" > Cc: Len

Re: [PATCH] power: domain: no need to check return value of debugfs_create functions

2019-01-24 Thread Rafael J. Wysocki
On Wednesday, January 23, 2019 1:49:00 PM CET Ulf Hansson wrote: > On Tue, 22 Jan 2019 at 16:23, Greg Kroah-Hartman > wrote: > > > > When calling debugfs functions, there is no need to ever check the > > return value. The function can work or not, but the code logic should > > never do something

Re: [PATCH] cpuidle: use BIT() for idle state flags and remove CPUIDLE_DRIVER_FLAGS_MASK

2019-01-24 Thread Rafael J. Wysocki
On Tuesday, January 15, 2019 6:22:10 PM CET Yangtao Li wrote: > Use BIT() macro to do a small tidy-up. The CPUIDLE_DRIVER_FLAGS_MASK > is not being used, so remove it. > > Signed-off-by: Yangtao Li > --- > include/linux/cpuidle.h | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-)

Re: [PATCH 0/6] Fix issues with Python3 scripting

2019-01-24 Thread Jiri Olsa
On Wed, Jan 23, 2019 at 04:52:23PM -0800, Tony Jones wrote: > Seeteena posted, earlier this week, some patches to add Python3 support > to scripts/python/*.py. Unfortunately there were some issues with these > patches (such as: https://lkml.org/lkml/2019/1/17/351) > > Since I already had a

Re: [PATCH v3 0/2] Document memory-to-memory video codec interfaces

2019-01-24 Thread Hans Verkuil
On 01/24/19 11:04, Tomasz Figa wrote: > Late happy new year everyone. It's been a while, but here is the v3 of > the stateful mem2mem codec interfaces documentation. Sorry for taking so > long time to respin. (Again.) > > This series attempts to add the documentation of what was discussed >

Re: [linux-sunxi] [PATCH v2 1/2] media: v4l: Add definitions for the HEVC slice format and controls

2019-01-24 Thread Paul Kocialkowski
Hi, On Tue, 2019-01-08 at 18:00 +0800, Ayaka wrote: > > Sent from my iPad > > > On Jan 8, 2019, at 4:38 PM, Paul Kocialkowski > > wrote: > > > > Hi, > > > > > On Tue, 2019-01-08 at 09:16 +0800, Ayaka wrote: > > > > > > Sent from my iPad > > > > > > > On Jan 7, 2019, at 5:57 PM, Paul

Re: [PATCH][RESEND] arm64: dts: hikey: Add DMA entries for Bluetooth UART

2019-01-24 Thread Manivannan Sadhasivam
On Wed, Jan 23, 2019 at 12:30:37PM -0800, John Stultz wrote: > Add dma0 references for bluetooth uart to enable dma > for bt transfers. > > Cc: Manivannan Sadhasivam > Cc: Ryan Grachek > Cc: Wei Xu > Cc: Rob Herring > Cc: Mark Rutland > Cc: linux-arm-ker...@lists.infradead.org > Cc:

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2019-01-24 Thread Hans de Goede
Hi, On 21-01-19 06:55, Mogens Jensen wrote: ‐‐‐ Original Message ‐‐‐ On Friday, January 18, 2019 3:35 PM, Hans de Goede wrote: Hi, On 1/17/19 8:30 PM, Mogens Jensen wrote: ‐‐‐ Original Message ‐‐‐ On Thursday, January 17, 2019 12:05 PM, Hans de Goede hdego...@redhat.com

Re: [PATCH] cpufreq: e_powersaver: Use struct_size() in kzalloc()

2019-01-24 Thread Rafael J. Wysocki
On Tuesday, January 8, 2019 6:00:56 AM CET Viresh Kumar wrote: > On 07-01-19, 11:33, Gustavo A. R. Silva wrote: > > One of the more common cases of allocation size calculations is finding the > > size of a structure that has a zero-sized array at the end, along with > > memory > > for some number

Re: [PATCH 6/8] power: reset: at91-reset: add support for sam9x60 SoC

2019-01-24 Thread Nicolas.Ferre
Hi Sebastian, On 23/01/2019 at 19:34, Sebastian Reichel wrote: > Hi, > > On Wed, Jan 16, 2019 at 10:57:42AM +0100, Nicolas Ferre wrote: >> Add support for additional reset causes and the proper compatibility >> string for sam9x60 SoC. The restart function is the same as the samx7. >> >>

Re: [PATCH] irqchip/gic-v4: fix occasional VLPI drop

2019-01-24 Thread Marc Zyngier
On Wed, 23 Jan 2019 08:59:08 +, Heyi Guo wrote: > > 1. In current implementation, every VLPI will temporarily be mapped to > the first CPU in system (normally CPU0) and then moved to the real > scheduled CPU later. > > 2. So there is a time window and a VLPI may be sent to CPU0 instead of >

Re: [PATCH] Revert "media: cedrus: Allow using the current dst buffer as reference"

2019-01-24 Thread Greg KH
On Thu, Jan 24, 2019 at 10:55:42AM +0100, Paul Kocialkowski wrote: > This reverts commit cf20ae1535eb690a87c29b9cc7af51881384e967. > > The vb2_find_timestamp helper was modified to allow finding buffers > regardless of their current state in the queue. This means that we > no longer have to take

Re: [PATCH 10/13] gpio: max77650: add GPIO support

2019-01-24 Thread Linus Walleij
On Mon, Jan 21, 2019 at 6:07 PM Bartosz Golaszewski wrote: > Thank you for your review. While I think you're right about the issue > being present in this driver, I'm not sure it's really a problem. Do > we actually require every gpio-controller to also be a stand-alone > interrupt-controller?

Re: [PATCH 1/6] dt-bindings: timer: add Tegra210 timer

2019-01-24 Thread Jon Hunter
On 07/01/2019 03:28, Joseph Lo wrote: > The Tegra210 timer provides fourteen 29-bit timer counters and one 32-bit > timestamp counter. The TMRs run at either a fixed 1 MHz clock rate derived > from the oscillator clock (TMR0-TMR9) or directly at the oscillator clock > (TMR10-TMR13). Each TMR can

[PATCH] blk-mq: fix the cmd_flag_name array

2019-01-24 Thread Jianchao Wang
Swap REQ_NOWAIT and REQ_NOUNMAP and add REQ_HIPRI. Signed-off-by: Jianchao Wang --- block/blk-mq-debugfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/block/blk-mq-debugfs.c b/block/blk-mq-debugfs.c index 90d6876..f812083 100644 --- a/block/blk-mq-debugfs.c +++

Re: [PATCH perf] perf tools: fix synthesized PERF_RECORD_KSYMBOL/BPF_EVENT

2019-01-24 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 24, 2019 at 10:49:46AM +0100, Arnaldo Carvalho de Melo escreveu: > Em Tue, Jan 22, 2019 at 01:02:18PM -0800, Song Liu escreveu: > > Added missing machine->id_hdr_size to event->header.size. Also fixed size > > of PERF_RECORD_KSYMBOL by removing extra bytes for name. > > Ok, noticed

[PATCH 1/2] blk-mq: save queue mapping result into ctx directly

2019-01-24 Thread Jianchao Wang
Currelty, the queue mapping result is saved in a two-dimensional array. In hot path, to get a hctx, we need do following, q->queue_hw_ctx[q->tag_set->map[type].mq_map[cpu]] This looks not efficient. Actually, we could save the queue mapping result into ctx directly with different hctx type,

[PATCH 0/2] small optimization for accessing queue map

2019-01-24 Thread Jianchao Wang
Hi Jens These two patches are small optimization for accessing the queue mapping in hot path. It saves the queue mapping results into blk_mq_ctx directly, then we needn't do the complicated bounce on queue_hw_ctx[] map[] and mq_map[]. Jianchao Wang (2) blk-mq: save queue mapping result into ctx

[PATCH 2/2] blk-mq: save default hctx into ctx->hctxs for not-supported type

2019-01-24 Thread Jianchao Wang
Currently, we check whether the hctx type is supported every time in hot path. Actually, this is not necessary, we could save the default hctx into ctx->hctxs if the type is not supported when map swqueues and use it directly with ctx->hctxs[type]. We also needn't check whether the poll is

Re: [linux-sunxi] [PATCH v2 1/2] media: v4l: Add definitions for the HEVC slice format and controls

2019-01-24 Thread Paul Kocialkowski
Hi, On Thu, 2019-01-10 at 21:32 +0800, ayaka wrote: > I forget a important thing, for the rkvdec and rk hevc decoder, it would > requests cabac table, scaling list, picture parameter set and reference > picture storing in one or various of DMA buffers. I am not talking about > the data been

[PATCH] ACPI: debug: Clean up acpi_aml_init()

2019-01-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The err_exit label in acpi_aml_init() is not used any more after commit 9ec6dbfbdc0a ("ACPI: no need to check return value of debugfs_create functions"), but the other label in there is not necessary too, so rearrange the code to get rid of them both. No intentional

Re: [RFC PATCH v1 03/13] regulator: bd718x7 use chip specific and generic data structs

2019-01-24 Thread Mark Brown
On Thu, Jan 24, 2019 at 09:16:35AM +0200, Matti Vaittinen wrote: > Yes. If we don't want to break the compilation between commits then > the patches 2, 3 and 4 should be squashed into one. I sent them as > separare changes for easier review. I can squash them and send them > squashed if they are

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-01-24 Thread Stanimir Varbanov
Hi Malathi, On 1/21/19 1:20 PM, mgot...@codeaurora.org wrote: > On 2019-01-17 21:50, Stanimir Varbanov wrote: >> This refactored code for start/stop streaming vb2 operations and >> adds a state machine handling similar to the one in stateful codec >> API documentation. One major change is that

Re: [PATCH 00/15] Habana Labs kernel driver

2019-01-24 Thread Dave Airlie
> I know I won't be able to convince you but I want to say that I think > your arguments for full userspace open source are not really > technical. There is more to keeping a kernel going than technical argument unfortunately. I guess the question for Greg, Olof etc, is do we care about Linux

[PATCH v2 2/2] Input: st1232 - add support for st1633

2019-01-24 Thread Martin Kepplinger
From: Martin Kepplinger Add support for the Sitronix ST1633 touchscreen controller to the st1232 driver. A protocol spec can be found here: www.ampdisplay.com/documents/pdf/AM-320480B6TZQW-TC0H.pdf Signed-off-by: Martin Kepplinger --- while this works, I'm not totally convinced by how the i2c

[PATCH v2 1/2] dt-bindings: input: sitronix-st1232: add compatible string for ST1633

2019-01-24 Thread Martin Kepplinger
From: Martin Kepplinger The st1232 driver gains support for the ST1633 controller too; update the bindings doc accordingly. Signed-off-by: Martin Kepplinger --- .../bindings/input/touchscreen/sitronix-st1232.txt | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [RFC/RFT PATCH 00/15] crypto: improved skcipher, aead, and hash tests

2019-01-24 Thread Herbert Xu
On Thu, Jan 24, 2019 at 11:16:23AM +0100, Ard Biesheuvel wrote: > > OK, so how many adjacent physical pages is a scatterlist entry > permitted to cover? Unbounded? Well the network stack is limited by packet size so it's less than 64K for practical purposes. However, the API itself doesn't

Re: [PATCH v4 07/13] irqchip: ti-sci-intr: Add support for Interrupt Router driver

2019-01-24 Thread Lokesh Vutla
Hi Marc, On 16/01/19 10:46 PM, Marc Zyngier wrote: > [Still in the process of sorting out my email - don't ask] > > On 27/12/2018 06:13, Lokesh Vutla wrote: >> Texas Instruments' K3 generation SoCs has an IP Interrupt Router >> that does allows for redirection of input interrupts to host >>

Re: [RFC PATCH v4 08/13] genirq/msi: Add support for allocating single MSI for a device

2019-01-24 Thread Lokesh Vutla
Hi Marc, Sorry for the delayed response. Just back from vacation. On 17/01/19 12:00 AM, Marc Zyngier wrote: > On 27/12/2018 06:13, Lokesh Vutla wrote: >> Previously all msi for a device are allocated in one go >> by calling msi_domain_alloc_irq() from a bus layer. This might >> not be the

Re: [PATCH v5 1/4] tee: add bus driver framework for TEE based devices

2019-01-24 Thread Sumit Garg
On Thu, 24 Jan 2019 at 15:15, Daniel Thompson wrote: > > On Thu, Jan 24, 2019 at 11:24:36AM +0530, Sumit Garg wrote: > > Introduce a generic TEE bus driver concept for TEE based kernel drivers > > which would like to communicate with TEE based devices/services. Also > > add support in module

Re: [PATCH 4/6] ARM: dts: sunxi: h3-h5: Add pinmux setting for CSI MCLK on PE1

2019-01-24 Thread Chen-Yu Tsai
On Mon, Dec 3, 2018 at 5:46 PM Jagan Teki wrote: > > On Fri, Nov 30, 2018 at 1:28 PM Chen-Yu Tsai wrote: > > > > Some camera modules have the SoC feeding a master clock to the sensor > > instead of having a standalone crystal. This clock signal is generated > > from the clock control unit and

Re: [RFC/RFT PATCH 00/15] crypto: improved skcipher, aead, and hash tests

2019-01-24 Thread Ard Biesheuvel
On Thu, 24 Jan 2019 at 10:24, Herbert Xu wrote: > > On Thu, Jan 24, 2019 at 09:50:35AM +0100, Ard Biesheuvel wrote: > > > > Thanks for yet another round of cleanup > > > > I'll look into these, but I'd like to clarify one thing first. > > > > IIUC, you are trying to deal with the case where a

[PATCH] DTS: CI20: Fix bugs in ci20's device tree.

2019-01-24 Thread Zhou Yanjie
From: Zhou Yanjie According to the Schematic, the hardware of ci20 leads to uart3, but not to uart2. Uart2 is miswritten in the original code. Signed-off-by: Zhou Yanjie --- arch/mips/boot/dts/ingenic/ci20.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 3/6] ARM: dts: sunxi: h3/h5: Drop A31 fallback compatible for CSI controller

2019-01-24 Thread Chen-Yu Tsai
On Mon, Dec 3, 2018 at 5:44 PM Jagan Teki wrote: > > On Fri, Nov 30, 2018 at 1:29 PM Chen-Yu Tsai wrote: > > > > The CSI controller found on the H3 (and H5) is a reduced version of the > > one found on the A31. It only has 1 channel, instead of 4 channels for > > time-multiplexed BT.656. Since

Re: [PATCH v5 3/4] tee: optee: add TEE bus device enumeration support

2019-01-24 Thread Daniel Thompson
On Thu, Jan 24, 2019 at 11:24:38AM +0530, Sumit Garg wrote: > OP-TEE provides a pseudo TA to enumerate TAs which can act as devices/ > services for TEE bus. So implement device enumeration using invoke > function: PTA_CMD_GET_DEVICES provided by pseudo TA to fetch array of > device UUIDs. Also

Re: [PATCH 00/10] Venus stateful Codec API

2019-01-24 Thread Stanimir Varbanov
Hi Alex, Thank you for review and valuable comments! On 1/24/19 10:43 AM, Alexandre Courbot wrote: > Hi Stanimir, > > On Fri, Jan 18, 2019 at 1:20 AM Stanimir Varbanov > wrote: >> >> Hello, >> >> This aims to make Venus decoder compliant with stateful Codec API [1]. >> The patches 1-9 are

Re: [RFC PATCH v3 2/2] pwm: imx: Configure output to GPIO in disabled state

2019-01-24 Thread Michal Vokáč
On 24.1.2019 10:22, Uwe Kleine-König wrote: On Thu, Jan 24, 2019 at 09:59:47AM +0100, Michal Vokáč wrote: On 12.12.2018 13:12, Uwe Kleine-König wrote: On Wed, Dec 12, 2018 at 11:42:17AM +, Vokáč Michal wrote: On 12.12.2018 09:01, Uwe Kleine-König wrote: On Thu, Dec 06, 2018 at 01:41:31PM

Re: [PATCH v3 1/3] firmware: xilinx: Add reset API's

2019-01-24 Thread Philipp Zabel
On Thu, 2019-01-24 at 10:49 +0100, Michal Simek wrote: > On 24. 01. 19 10:43, Philipp Zabel wrote: > > On Fri, 2019-01-25 at 13:16 +0530, Nava kishore Manne wrote: > > > This Patch Adds reset API's to support release, assert > > > and status functionalities by using firmware interface. > > > > >

Re: [linux-sunxi] [PATCH v3 2/2] arm64: dts: allwinner: a64: Enable A64 timer workaround

2019-01-24 Thread Chen-Yu Tsai
On Sun, Jan 13, 2019 at 10:17 AM Samuel Holland wrote: > > As instability in the architectural timer has been observed on multiple > devices using this SoC, inluding the Pine64 and the Orange Pi Win, > enable the workaround in the SoC's device tree. > > Acked-by: Maxime Ripard > Signed-off-by:

Re: [PATCH 09/10] venus: vdec: allow bigger sizeimage set by clients

2019-01-24 Thread Stanimir Varbanov
Hi Alex, Thanks for the comments! On 1/24/19 10:43 AM, Alexandre Courbot wrote: > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > wrote: >> >> In most of the cases the client will know better what could be >> the maximum size for compressed data buffers. Change the driver >> to permit the

[PATCH v3 1/2] media: docs-rst: Document memory-to-memory video decoder interface

2019-01-24 Thread Tomasz Figa
Due to complexity of the video decoding process, the V4L2 drivers of stateful decoder hardware require specific sequences of V4L2 API calls to be followed. These include capability enumeration, initialization, decoding, seek, pause, dynamic resolution change, drain and end of stream. Specifics of

[PATCH v3 0/2] Document memory-to-memory video codec interfaces

2019-01-24 Thread Tomasz Figa
Late happy new year everyone. It's been a while, but here is the v3 of the stateful mem2mem codec interfaces documentation. Sorry for taking so long time to respin. (Again.) This series attempts to add the documentation of what was discussed during Media Workshops at LinuxCon Europe 2012 in

[PATCH v3 2/2] media: docs-rst: Document memory-to-memory video encoder interface

2019-01-24 Thread Tomasz Figa
Due to complexity of the video encoding process, the V4L2 drivers of stateful encoder hardware require specific sequences of V4L2 API calls to be followed. These include capability enumeration, initialization, encoding, encode parameters change, drain and reset. Specifics of the above have been

Re: [PATCH v2 3/3] crypto: s5p: add AES support for Exynos5433

2019-01-24 Thread Krzysztof Kozlowski
On Wed, 23 Jan 2019 at 17:55, Kamil Konieczny wrote: > > Add AES crypto HW acceleration for Exynos5433, with the help of SlimSSS IP. > > Signed-off-by: Kamil Konieczny > --- > drivers/crypto/s5p-sss.c | 50 > 1 file changed, 46 insertions(+), 4

[PATCH 2/3] regulator: bd718x7: Constify regulator_ops

2019-01-24 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/bd718x7-regulator.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/regulator/bd718x7-regulator.c b/drivers/regulator/bd718x7-regulator.c index b8dcdc21dc22..ccea133778c8 100644 ---

[PATCH 1/3] regulator: bd70528: Constify regulator_linear_range and regulator_ops

2019-01-24 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/bd70528-regulator.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/regulator/bd70528-regulator.c b/drivers/regulator/bd70528-regulator.c index 0cf261c469b9..72c7f9aa84f3 100644 ---

[PATCH 3/3] regulator: bd9571mwv: Constify regulator_ops

2019-01-24 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/bd9571mwv-regulator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/bd9571mwv-regulator.c b/drivers/regulator/bd9571mwv-regulator.c index e12dd1f750f3..e690c2ce5b3c 100644 ---

Re: [PATCH v2 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS

2019-01-24 Thread Krzysztof Kozlowski
On Wed, 23 Jan 2019 at 17:55, Kamil Konieczny wrote: > > Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security > SubSystem) IP. > > Signed-off-by: Kamil Konieczny > --- > .../devicetree/bindings/crypto/samsung-sss.txt | 14 +++--- > 1 file changed, 11

Re: linux-next not picking up latest clockevents/next

2019-01-24 Thread Daniel Lezcano
mer: Workaround for Allwinner A64 timer instability >>> >>> Any idea where these ended up? >> >> Yeah, I have a rough idea. They are now in linux-next via the >> clockevents/next branch. > > Thanks, Daniel. > > Stephen, > > Looks like linux

Re: [PATCH v5 2/7] x86, olpc: Use a correct version when making up a battery node

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 10, 2019 at 06:40:00PM +0100, Lubomir Rintel wrote: > The XO-1 and XO-1.5 batteries apparently differ in an ability to report > ambient temperature. Add a different compatible string to the 1.5 > battery. > > Signed-off-by: Lubomir Rintel > Acked-by: Pavel Machek > > --- I

Re: [RFC PATCH] drm: disable WC optimization for cache coherent devices on non-x86

2019-01-24 Thread Ard Biesheuvel
On Thu, 24 Jan 2019 at 10:45, Koenig, Christian wrote: > > Am 24.01.19 um 10:28 schrieb Ard Biesheuvel: > > On Thu, 24 Jan 2019 at 10:25, Koenig, Christian > > wrote: > >> Am 24.01.19 um 10:13 schrieb Christoph Hellwig: > >>> On Wed, Jan 23, 2019 at 05:52:50PM +0100, Ard Biesheuvel wrote: >

linux-next not picking up latest clockevents/next

2019-01-24 Thread Chen-Yu Tsai
u Tsai > >>> --- > >> > >> Applied thanks. > > > > I'm not seeing this in linux-next, nor the patch > > > > arm64: arch_timer: Workaround for Allwinner A64 timer instability > > > > Any idea where these ended up? > > Yeah,

Re: [PATCH 08/10] venus: vdec_ctrls: get real minimum buffers for capture

2019-01-24 Thread Stanimir Varbanov
Hi Alex, Thanks for the comments! On 1/24/19 10:43 AM, Alexandre Courbot wrote: > On Fri, Jan 18, 2019 at 1:21 AM Stanimir Varbanov > wrote: >> >> Until now we returned num_output_bufs set during reqbuf but >> that could be wrong when we implement stateful Codec API. So >> get the minimum

Re: [PATCH v5 4/7] power: supply: olpc_battery: Move priv data to a struct

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 10, 2019 at 06:40:02PM +0100, Lubomir Rintel wrote: > The global variables for private data are not too nice. I'd like some > more, and that would clutter the global name space even further. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Andy Shevchenko [...] > - ret =

Re: [PATCH 6/8] power: reset: at91-reset: add support for sam9x60 SoC

2019-01-24 Thread Sebastian Reichel
Hi, On Wed, Jan 16, 2019 at 10:57:42AM +0100, Nicolas Ferre wrote: > Add support for additional reset causes and the proper compatibility > string for sam9x60 SoC. The restart function is the same as the samx7. > > Signed-off-by: Nicolas Ferre > --- > drivers/power/reset/at91-reset.c | 13

Re: [PATCH v5 7/7] power: supply: olpc_battery: Add OLPC XO 1.75 support

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 10, 2019 at 06:40:05PM +0100, Lubomir Rintel wrote: > The battery and the protocol are essentially the same as OLPC XO 1.5, > but the responses from the EC are LSB first. > > Signed-off-by: Lubomir Rintel > Acked-by: Pavel Machek > > --- > Changes since v2: > - Fix the version

Re: [PATCH v5 3/7] power: supply: olpc_battery: Use DT to get battery version

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 10, 2019 at 06:40:01PM +0100, Lubomir Rintel wrote: > Avoid using the x86 OLPC platform specific call to get the board > version. That wouldn't work on FDT-based ARM MMP2 platform. > > Add the XO 1.5 compatible string too. This is actually not completely > necessary as the

Re: [PATCH v5 6/7] power: supply: olpc_battery: Avoid using platform_info

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 10, 2019 at 06:40:04PM +0100, Lubomir Rintel wrote: > This wouldn't work on the DT-based ARM platform. Let's read the EC version > directly from the EC driver instead. > > This removes x86 specific bits that would prevent this driver from being > used with the EC of ARM-based

Re: [PATCH 1/4] dt-bindings: power: sc27xx: Add one IIO channel to read charge voltage

2019-01-24 Thread Sebastian Reichel
Hi, On Tue, Jan 15, 2019 at 06:32:34PM +0800, Baolin Wang wrote: > Add one IIO channel named "charge_vol" to read the charge voltage for > the SC27XX fuel gauge controller. > > Signed-off-by: Baolin Wang > --- Thanks, patchset is queued to power-supply-next. -- Sebastian >

Re: [PATCH -next] power: supply: core: remove duplicated include from power_supply_core.c

2019-01-24 Thread Sebastian Reichel
Hi, On Thu, Jan 17, 2019 at 03:11:43PM +0800, YueHaibing wrote: > Remove duplicated include. > > Signed-off-by: YueHaibing > --- Thanks, but I already merged the same patch from Yangtao Li (who sent it a bit earlier). -- Sebastian > drivers/power/supply/power_supply_core.c | 2 -- > 1 file

Re: [PATCH 09/13] power: supply: max77650: add support for battery charger

2019-01-24 Thread Sebastian Reichel
Hi Bartosz, Looks mostly ok, I have a few comments inline towards the end. On Fri, Jan 18, 2019 at 02:42:40PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Add basic support for the battery charger for max77650 PMIC. > > Signed-off-by: Bartosz Golaszewski > --- >

Re: [RFC PATCH v1 13/13] watchdog: bd70528: Initial support for ROHM BD70528 watchdog block

2019-01-24 Thread Sebastian Reichel
Hi, On Tue, Jan 22, 2019 at 08:03:09PM +0200, Matti Vaittinen wrote: > On Tue, Jan 22, 2019 at 09:40:56AM -0800, Guenter Roeck wrote: > > On Tue, Jan 22, 2019 at 07:10:23PM +0200, Matti Vaittinen wrote: > > > On Tue, Jan 22, 2019 at 07:47:50AM -0800, Guenter Roeck wrote: > > > > On Tue, Jan 22,

[PATCH] Revert "media: cedrus: Allow using the current dst buffer as reference"

2019-01-24 Thread Paul Kocialkowski
This reverts commit cf20ae1535eb690a87c29b9cc7af51881384e967. The vb2_find_timestamp helper was modified to allow finding buffers regardless of their current state in the queue. This means that we no longer have to take particular care of references to the current capture buffer. ---

Re: [kbuild-all] proc.c:undefined reference to `strcmp'

2019-01-24 Thread Rong Chen
On 1/22/19 7:44 PM, Geert Uytterhoeven wrote: On Tue, Jan 22, 2019 at 11:11 AM kbuild test robot wrote: It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47bfa6d9dc8c060bf56554a465c9031e286d2f80

Re: [PATCH v3 1/2] irqchip: Add driver for Loongson-1 interrupt controller

2019-01-24 Thread Marc Zyngier
On Thu, 24 Jan 2019 03:27:29 +, Jiaxun Yang wrote: > > This controller appeared on Loongson-1 family MCUs > including Loongson-1B and Loongson-1C. > > Signed-off-by: Jiaxun Yang > --- > drivers/irqchip/Kconfig| 9 ++ > drivers/irqchip/Makefile | 1 + > drivers/irqchip/irq-ls1x.c

[PATCH 1/2] media: vb2: Keep dma-buf buffers mapped until they are freed

2019-01-24 Thread Paul Kocialkowski
From: Pawel Osciak When using vb2 for video decoding, dequeued capture buffers may still be accessed by the hardware: this is the case when they are used as reference frames for decoding subsequent frames. When the buffer is imported with dma-buf, it needs to be mapped before access. Until now,

[PATCH 2/2] media: cedrus: Remove completed item from TODO list (dma-buf references)

2019-01-24 Thread Paul Kocialkowski
Access to reference frames that were imported from dma-buf was taken care of and is no longer a pending item on the driver's TODO list. Signed-off-by: Paul Kocialkowski --- drivers/staging/media/sunxi/cedrus/TODO | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH 5/5] virtio-blk: Consider virtio_max_dma_size() for maximum segment size

2019-01-24 Thread Joerg Roedel
On Thu, Jan 24, 2019 at 09:42:21AM +0100, Christoph Hellwig wrote: > Yes. But more importantly it would fix the limit for all other block > drivers that set large segment sizes when running over swiotlb. True, so it would be something like the diff below? I havn't worked on the block layer, so I

Re: [PATCH v3 1/3] firmware: xilinx: Add reset API's

2019-01-24 Thread Michal Simek
On 24. 01. 19 10:43, Philipp Zabel wrote: > On Fri, 2019-01-25 at 13:16 +0530, Nava kishore Manne wrote: >> This Patch Adds reset API's to support release, assert >> and status functionalities by using firmware interface. >> >> Signed-off-by: Nava kishore Manne > > Michal, Should I merge this

Re: [PATCH perf] perf tools: fix synthesized PERF_RECORD_KSYMBOL/BPF_EVENT

2019-01-24 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 22, 2019 at 01:02:18PM -0800, Song Liu escreveu: > Added missing machine->id_hdr_size to event->header.size. Also fixed size > of PERF_RECORD_KSYMBOL by removing extra bytes for name. Ok, noticed this now, thanks, - Arnaldo > Fixes: 7b612e291a5a ("perf tools: Synthesize

<    9   10   11   12   13   14   15   16   >